/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    height: 100vh;
    background: linear-gradient(135deg, #141e30, #243b55);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    color: #fff;
}

/* Hero Section */
.hero {
    text-align: center;
    animation: fadeIn 1.2s ease-in-out;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero button {
    padding: 15px 40px;
    border: none;
    border-radius: 40px;
    background: linear-gradient(45deg, #00f5a0, #00d9f5);
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.4s;
    box-shadow: 0 0 20px rgba(0, 255, 200, 0.6);
}

.hero button:hover {
    transform: scale(1.1);
    box-shadow: 0 0 40px rgba(0, 255, 200, 0.9);
}

/* Popup Overlay */
.popup {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.5s ease;
}

/* Popup Box */
.popup-content {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 25px;
    width: 350px;
    backdrop-filter: blur(25px);
    box-shadow: 0 0 30px rgba(0, 255, 200, 0.3);
    animation: slideUp 0.5s ease;
}

.popup-content h2 {
    text-align: center;
    margin-bottom: 20px;
}

.popup-content input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 10px;
    border: none;
    outline: none;
    font-size: 14px;
}

.popup-content button {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: none;
    background: linear-gradient(45deg, #00f5a0, #00d9f5);
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.popup-content button:hover {
    box-shadow: 0 0 20px #00f5a0;
}

/* Animations */
@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}

@keyframes slideUp {
    from {transform: translateY(40px); opacity: 0;}
    to {transform: translateY(0); opacity: 1;}
}

/* Responsive */
@media(max-width: 480px) {
    .hero h1 {
        font-size: 32px;
    }
    .popup-content {
        width: 90%;
    }
}


/* ===== Mobile Optimization ===== */
@media (max-width: 768px) {

    body {
        padding: 20px;
        height: auto;
        text-align: center;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero button {
        padding: 12px 25px;
        font-size: 16px;
    }

    .popup-content {
        width: 95%;
        padding: 25px;
    }

    .popup-content h2 {
        font-size: 20px;
    }

    .popup-content input {
        font-size: 14px;
        padding: 10px;
    }

    .popup-content button {
        font-size: 14px;
    }
}