/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* BODY & BACKGROUND */
body {
    min-height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
                url('../Image/activity.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #fff;
}

/* Overlay gelap supaya teks mudah baca */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: -1;
}

/* HEADER */
.home-header {
    background: rgba(255,30,30,0.8);
    text-align: center;
    padding: 25px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.home-header h1 {
    font-size: 40px;
    letter-spacing: 2px;
}

.home-header p {
    font-size: 16px;
}

/* SIDEBAR */
.sidebar {
    position: fixed;
    top: 0;
    left: -250px; /* Hidden initially */
    width: 250px;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    padding-top: 120px;
    transition: left 0.3s ease;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.4);
    border-top-right-radius: 25px;
    border-bottom-right-radius: 25px;
    z-index: 150;
}

.sidebar.active {
    left: 0;
}

.sidebar a {
    display: block;
    padding: 18px 25px;
    margin: 8px 12px;
    text-decoration: none;
    color: #fff;
    font-size: 18px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.sidebar a:hover {
    background: linear-gradient(135deg, #ff5252, #ff1744);
    color: white;
    transform: translateX(5px);
}

/* HAMBURGER */
.hamburger {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 200;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 30px;
    height: 3px;
    background: white;
    margin: 6px 0;
    transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* MAIN CONTENT */
.main-content {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 25px;
    padding-top: 120px; /* for header */
}

/* BUTTONS */
.pass-btn {
    width: 280px;
    padding: 18px;
    text-align: center;
    background: rgba(255, 255, 255, 0.15);
    color: #ff1e1e;
    font-size: 20px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.pass-btn:hover {
    background: linear-gradient(135deg, #ff5252, #ff1744);
    color: white;
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5);
}

/* RESPONSIVE */
@media (max-width:768px) {
    .sidebar {
        width: 200px;
        transform: translateX(-100%);
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .pass-btn {
        width: 220px;
        font-size: 18px;
        padding: 15px;
    }
}