@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&family=Poppins:wght@300;400;600&display=swap');

/* General Styles */
body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(to top, #6a11cb, #2575fc);
    /* Cool gradient */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

header {
    background: rgba(0, 0, 0, 0.7);
    /* Slight transparency for a futuristic vibe */
    color: #fff;
    text-align: center;
    padding: 20px 0;
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 1.5px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 20px;
    text-align: center;
}

.hero-image {
    max-width: 600px;
    width: 100%;
    margin-bottom: 20px;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.welcome-text {
    font-size: 32px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 15px;
    letter-spacing: 1px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.username-text {
    font-size: 20px;
    color: #fff;
    margin-bottom: 30px;
    font-weight: 300;
}

.description {
    font-size: 18px;
    color: #f5f5f5;
    max-width: 700px;
    margin-bottom: 40px;
    line-height: 1.7;
}

.btn-group {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 18px 40px;
    background-color: #ff5e62;
    /* Vibrant coral color for contrast */
    color: white;
    border: 5px solid white;
    border-radius: 50px;
    font-size: 20px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.btn:hover {
    background-color: rgb(223, 235, 223);
    border: 5px solid black;
    color: black;
    /* Slightly darker on hover */
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.success {
    background-color: green;
}

footer {
    text-align: center;
    padding: 20px 0;
    background-color: rgba(0, 0, 0, 0.8);
    /* Dark background for footer */
    color: #fff;
    font-size: 16px;
}

/* Media Queries for responsiveness */
@media (max-width: 800px) {
    .welcome-text {
        font-size: 28px;
    }

    .username-text {
        font-size: 18px;
    }

    .btn {
        font-size: 18px;
        padding: 14px 30px;
    }
}

@media (max-width: 500px) {
    .welcome-text {
        font-size: 24px;
    }

    .description {
        font-size: 16px;
    }

    .btn {
        font-size: 16px;
        padding: 12px 25px;
    }
}

  /* === Header & Popup Menu Styling === */
        header {
            position: relative;
            padding: 15px 40px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: linear-gradient(135deg, #005eff, #00aaff);
            color: #fff;
        }

        .logo {
            font-weight: bold;
            letter-spacing: 1px;
            font-size: 1.6rem;
        }

        .menu-btn {
            font-size: 1.8rem; /* slightly bigger */
            cursor: pointer;
            color: #fff;
            user-select: none;
        }

        .popup-menu {
            display: none;
            position: absolute;
            top: 60px; /* below menu button */
            right: 40px; /* aligned with header padding */
            background: rgba(0, 0, 0, 0.85);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 12px;
            padding: 15px 0;
            width: 220px;
            box-shadow: 0 0 15px rgba(0, 255, 136, 0.2);
            z-index: 1000;
        }

        .popup-menu a {
            display: block;
            padding: 12px 25px;
            font-size: 1.1rem; /* larger and readable */
            text-decoration: none;
            color: #fff;
            transition: all 0.3s ease;
        }

        .popup-menu a:hover {
            background: whitesmoke;
            color: #000;
            border-radius: 5%;
        }
        