* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #0f0f11;
    color: #f0f0f0;
}

/* ── HEADER ── */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 90px;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.logo-img {
    height: 80px;
    width: auto;
}

/* Navigation */
.nav-list {
    display: flex;
    list-style: none;
    gap: 50px;
}

.nav-link {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
    padding: 8px 4px;
    transition: color 0.25s;
    position: relative;
}

.nav-link:hover {
    color: #ff99cc;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(20,20,30,0.95);
    backdrop-filter: blur(8px);
    min-width: 180px;
    border-radius: 10px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.5);
    padding: 12px 0;
    margin-top: 8px;
    border: 1px solid rgba(255,255,255,0.1);
}

.dropdown-content a {
    display: block;
    padding: 10px 24px;
    color: #ddd;
    text-decoration: none;
    font-size: 0.95rem;
}

.dropdown-content a:hover {
    background: rgba(255,255,255,0.08);
    color: #ff99cc;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Login button */
.auth .btn-login {
    background: rgba(255,255,255,0.1);
    color: white;
    padding: 10px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.25s;
}

.btn-login:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

/* ── HERO / Main background ── */
.hero {
    height: 100vh;
    min-height: 680px;
    background: url('images/background.png') center center / 90% no-repeat fixed; /* change 70% to whatever you like */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.45), rgba(0,0,0,0.75));
}

/* Content on top of background */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 0 4px 12px rgba(0,0,0,0.7);
    color: transparent;
    background-clip: text;
    background-image: linear-gradient(45deg, #ff3366, #cc33ff);
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    color: #ddd;
    font-weight: 300;
    font-family: 'Georgia', 'Times New Roman', serif;     /* classic elegant */
}

/* Big CTA button with icon inside */
.big-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: linear-gradient(135deg, #ff3366, #cc33ff);
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    padding: 20px 48px;
    border-radius: 60px;
    text-decoration: none;
    box-shadow: 0 10px 40px rgba(255,51,102,0.4);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    animation: 
        pulseGlow 3s ease-in-out infinite,
        subtleScale 4s ease-in-out infinite 1s;
}

.big-cta-btn:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 20px 60px rgba(255,51,102,0.5);
}

.btn-icon {
    height: 36px;
    width: 36px;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.5));
}

/* Hero fade-in animation - reliable version */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp 2.4s ease-out forwards;
}

/* Staggered delays */
.hero-content h1.fade-in   { animation-delay: 0.4s; }
.hero-content p.fade-in    { animation-delay: 1.2s; }
.hero-content .big-cta-btn { animation-delay: 2.0s; }

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Optional gentle pulse after appear (only on button) */
.big-cta-btn.fade-in {
    animation: fadeUp 1.4s ease-out forwards, pulseGlow 4s ease-in-out infinite 3.5s;
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 10px 40px rgba(255,51,102,0.4); }
    50%      { box-shadow: 0 15px 60px rgba(255,51,102,0.6); }
}
/* Login Modal */
.login-modal {
    border: none;
    border-radius: 16px;
    background: #1a1a1a;
    color: #eee;
    width: 90%;
    max-width: 420px;
    padding: 0;
    box-shadow: 0 20px 60px rgba(0,0,0,0.7);

    /* Center perfectly */
    margin: auto;                    /* native <dialog> centering */
    position: fixed;                 /* ensure it's fixed in viewport */
    inset: 0;                        /* fill full viewport for backdrop effect */
    height: fit-content;             /* auto height */
    max-height: 90vh;                /* prevent overflow on small screens */
    overflow-y: auto;                /* scroll if content is very long */
}

.login-modal::backdrop {
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(8px);
}

.modal-content {
    position: relative;
    padding: 32px 24px;
    text-align: center;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2.2rem;
    color: #aaa;
    cursor: pointer;
    transition: color 0.2s;
}

.modal-close:hover {
    color: #ff99cc;
}

.modal-content h2 {
    margin-bottom: 8px;
    font-size: 1.8rem;
}

.modal-content p {
    margin-bottom: 24px;
    color: #bbb;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 14px;
    margin: 10px 0;
    background: #333;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.social-btn:hover {
    background: #444;
}

.google { background: #4285f4; }
.google:hover { background: #357ae8; }

.facebook { background: #1877f2; }
.facebook:hover { background: #166fe5; }

.twitter { background: #1da1f2; }
.twitter:hover { background: #0d95e8; }

.divider {
    display: flex;
    align-items: center;
    margin: 24px 0;
    color: #777;
}

.divider span {
    padding: 0 16px;
    background: #1a1a1a;
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #444;
}

.email-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.email-form input {
    padding: 14px;
    border: 1px solid #444;
    background: #111;
    color: #eee;
    border-radius: 10px;
    font-size: 1rem;
}

.submit-btn {
    padding: 14px;
    background: #ff3366;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
}

.submit-btn:hover {
    background: #ff4d7a;
}

.signup-text {
    margin-top: 16px;
    color: #bbb;
}

.signup-text a {
    color: #ff99cc;
    cursor: pointer;
}

.error-msg {
    color: #ff4d4d;
    margin-top: 12px;
}