@font-face {
    font-family: 'Inter Tight';
    src: url('../assets/Inter_Tight/InterTight-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
}

@font-face {
    font-family: 'Inter Tight';
    src: url('../assets/Inter_Tight/InterTight-Italic-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: italic;
}


@font-face {
    font-family: 'Playfair Display';
    src: url('../assets/Playfair_Display/static/PlayfairDisplay-MediumItalic.ttf') format('truetype');
    font-weight: 500;
    font-style: italic;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter Tight', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: #000000;
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Pink highlight for text selection */
::selection {
    background-color: rgba(255, 122, 171, 0.35);
    color: #ffffff;
}

::-moz-selection {
    background-color: rgba(255, 122, 171, 0.35);
    color: #ffffff;
}

/* Navbar */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 48px;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 32px;
}

.logo {
    text-decoration: none;
    transition: transform 0.2s ease;
    display: flex;
    align-items: center;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-img {
    height: 32px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 999px;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.nav-links a:hover {
    background-color: transparent;
    color: rgba(255, 255, 255, 1);
}

.nav-right {
    display: flex;
    gap: 12px;
    align-items: center;
}

.btn {
    padding: 10px 20px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    font-family: 'Inter Tight', sans-serif;
    transition: transform 0.2s ease, background-color 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.btn:hover {
    transform: scale(1.05);
}

.btn-signin {
    background-color: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.btn-signin:hover {
    background-color: rgba(255, 255, 255, 0.20);
}

/* Pink gradient button with glassy 3D effect - gradual horizontal gradient */
.pink-gradient-button {
    position: relative;
    /* More gradual horizontal gradient: slower transition */
    background: linear-gradient(90deg, #ffb3d1 0%, #ffa8ca 20%, #ff9dc3 40%, #ff92bc 60%, #ff87b5 80%, #ff7aab 100%);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    overflow: hidden;
    padding: 0;
    /* More rounded like sign in button */
    border-radius: 999px;
    transition: all 0.3s cubic-bezier(0.2, 0, 0, 1);
    /* Complex layered shadows for depth */
    box-shadow: 
        0 10px 30px rgba(255, 122, 171, 0.4),
        0 6px 20px rgba(255, 122, 171, 0.3),
        0 3px 10px rgba(255, 122, 171, 0.25),
        0 1px 4px rgba(255, 122, 171, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -2px 4px rgba(0, 0, 0, 0.1);
}

/* Internal white/gray haze effect - ethereal glow, especially at bottom and sides */
.pink-gradient-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Internal haze - strongest at bottom edge and curved sides - MORE INTENSE */
    background: 
        /* Bottom edge haze - most prominent - enhanced */
        linear-gradient(180deg, 
            transparent 0%,
            transparent 55%,
            rgba(255, 255, 255, 0.35) 80%,
            rgba(255, 255, 255, 0.5) 90%,
            rgba(255, 255, 255, 0.45) 98%,
            rgba(255, 255, 255, 0.4) 100%),
        /* Left curved side haze - enhanced */
        radial-gradient(ellipse 45% 220% at 0% 50%, 
            rgba(255, 255, 255, 0.3) 0%,
            rgba(255, 255, 255, 0.2) 25%,
            rgba(255, 255, 255, 0.12) 45%,
            rgba(255, 255, 255, 0.06) 60%,
            transparent 75%),
        /* Right curved side haze - enhanced */
        radial-gradient(ellipse 45% 220% at 100% 50%, 
            rgba(255, 255, 255, 0.3) 0%,
            rgba(255, 255, 255, 0.2) 25%,
            rgba(255, 255, 255, 0.12) 45%,
            rgba(255, 255, 255, 0.06) 60%,
            transparent 75%),
        /* Center subtle glow - enhanced */
        radial-gradient(ellipse 85% 65% at 50% 50%, 
            rgba(255, 255, 255, 0.2) 0%,
            rgba(255, 255, 255, 0.12) 35%,
            rgba(255, 255, 255, 0.06) 55%,
            transparent 75%);
    border-radius: inherit;
    pointer-events: none;
    z-index: 1;
    /* Blur for ethereal haze effect */
    filter: blur(3.5px);
    opacity: 1;
    /* Blend mode for internal glow */
    mix-blend-mode: overlay;
}

/* Outer soft glow/halo effect - subtle */
.pink-gradient-button .blurred-border {
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    opacity: 0.5;
    z-index: 0;
    background: radial-gradient(ellipse at center, 
        rgba(255, 122, 171, 0.25) 0%,
        rgba(255, 122, 171, 0.12) 40%,
        transparent 70%);
    border-radius: 999px;
    filter: blur(6px);
    pointer-events: none;
}

/* Inner glassy depth with complex shadows */
.pink-gradient-button::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    /* Complex inset shadows for internal gray/white haze - like reference button */
    box-shadow: 
        /* Bottom edge haze - multiple layers */
        inset 0px -16px 24px -12px rgba(255, 255, 255, 0.18),
        inset 0px -3px 3.4px -3px rgba(255, 255, 255, 0.12),
        inset 0px -32px 24px -32px rgba(255, 255, 255, 0.12),
        inset 0px -1px 8px 0px rgba(255, 255, 255, 0.05),
        /* Top edge highlight */
        inset 0px 0.5px 0.5px 0px rgba(255, 255, 255, 0.25),
        /* Side edge haze */
        inset -8px 0 16px -8px rgba(255, 255, 255, 0.1),
        inset 8px 0 16px -8px rgba(255, 255, 255, 0.1),
        /* General depth */
        inset 0 2px 4px rgba(255, 255, 255, 0.2),
        inset 0 0 60px rgba(255, 122, 171, 0.05);
    pointer-events: none;
    z-index: 1;
    /* Subtle vertical gradient overlay for extra depth */
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0.06) 0%,
        transparent 50%,
        rgba(0, 0, 0, 0.02) 100%);
}

.pink-gradient-button .button-content {
    position: relative;
    z-index: 3;
    display: block;
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.13px;
    color: #ffffff;
    text-shadow: 
        0 1px 2px rgba(0, 0, 0, 0.15),
        0 0 4px rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

@media (min-width: 768px) {
    .pink-gradient-button .button-content {
        font-size: 16px;
        padding: 12px 24px;
    }
}

/* Hover state with enhanced inner light/glow effect */
.pink-gradient-button:hover {
    transform: translateY(-1px);
    filter: brightness(1.06);
    border-color: rgba(255, 255, 255, 0.3);
    /* Even more complex shadows on hover */
    box-shadow: 
        0 14px 40px rgba(255, 122, 171, 0.5),
        0 8px 24px rgba(255, 122, 171, 0.4),
        0 4px 12px rgba(255, 122, 171, 0.3),
        0 2px 6px rgba(255, 122, 171, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.35),
        inset 0 -2px 4px rgba(0, 0, 0, 0.1);
}

/* Enhanced internal haze on hover - ethereal effect intensifies */
.pink-gradient-button:hover::before {
    background: 
        /* Enhanced bottom edge haze */
        linear-gradient(180deg, 
            transparent 0%,
            transparent 55%,
            rgba(255, 255, 255, 0.35) 80%,
            rgba(255, 255, 255, 0.5) 92%,
            rgba(255, 255, 255, 0.45) 100%),
        /* Enhanced left curved side */
        radial-gradient(ellipse 45% 220% at 0% 50%, 
            rgba(255, 255, 255, 0.3) 0%,
            rgba(255, 255, 255, 0.2) 25%,
            rgba(255, 255, 255, 0.12) 45%,
            transparent 65%),
        /* Enhanced right curved side */
        radial-gradient(ellipse 45% 220% at 100% 50%, 
            rgba(255, 255, 255, 0.3) 0%,
            rgba(255, 255, 255, 0.2) 25%,
            rgba(255, 255, 255, 0.12) 45%,
            transparent 65%),
        /* Enhanced center glow */
        radial-gradient(ellipse 85% 65% at 50% 50%, 
            rgba(255, 255, 255, 0.2) 0%,
            rgba(255, 255, 255, 0.1) 35%,
            transparent 65%);
    opacity: 1;
    filter: blur(3.5px);
    mix-blend-mode: overlay;
}

/* Enhanced outer glow on hover */
.pink-gradient-button:hover .blurred-border {
    opacity: 0.75;
    background: radial-gradient(ellipse at center, 
        rgba(255, 122, 171, 0.4) 0%,
        rgba(255, 122, 171, 0.2) 40%,
        transparent 70%);
}

/* Enhanced glassy effect on hover - more internal haze */
.pink-gradient-button:hover::after {
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0.12) 0%,
        transparent 45%,
        rgba(0, 0, 0, 0.04) 100%);
    /* Enhanced inset shadows on hover - more internal gray haze */
    box-shadow: 
        /* Stronger bottom edge haze */
        inset 0px -20px 28px -10px rgba(255, 255, 255, 0.22),
        inset 0px -4px 4px -2px rgba(255, 255, 255, 0.15),
        inset 0px -36px 28px -30px rgba(255, 255, 255, 0.15),
        inset 0px -1px 10px 0px rgba(255, 255, 255, 0.08),
        /* Top edge highlight */
        inset 0px 0.5px 0.5px 0px rgba(255, 255, 255, 0.3),
        /* Enhanced side edge haze */
        inset -10px 0 20px -6px rgba(255, 255, 255, 0.12),
        inset 10px 0 20px -6px rgba(255, 255, 255, 0.12),
        /* General depth */
        inset 0 3px 6px rgba(255, 255, 255, 0.25),
        inset 0 0 70px rgba(255, 122, 171, 0.08);
}

.pink-gradient-button:hover .button-content {
    text-shadow: 
        0 1px 3px rgba(0, 0, 0, 0.2),
        0 0 6px rgba(255, 255, 255, 0.15);
}

.pink-gradient-button:active {
    transform: translateY(0);
    filter: brightness(0.96);
    box-shadow: 
        0 6px 20px rgba(255, 122, 171, 0.35),
        0 3px 10px rgba(255, 122, 171, 0.25),
        0 1px 4px rgba(255, 122, 171, 0.2),
        inset 0 4px 8px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
        filter: blur(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

/* Hero Section */
.hero {
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 60px 48px 80px;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    gap: 48px;
}

.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    max-width: 600px;
}

.hero-headline {
    font-size: 72px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    color: #ffffff;
}


.hero-headline .debate-text {
    font-weight: 500;
    display: inline-block;
}

.hero-headline .word-1 {
    animation: fadeInUp 0.5s ease-out 0s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.hero-headline .word-2 {
    animation: fadeInUp 0.5s ease-out 0.2s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.hero-headline .word-3 {
    animation: fadeInUp 0.5s ease-out 0.4s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.hero-headline .italic {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 84px;
    font-weight: 500;
}

.hero-headline .pink-period {
    color: #ff7aab;
}

.hero-subheadline {
    font-size: 20px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 48px;
    line-height: 1.5;
    animation: fadeInUp 0.5s ease-out 0.8s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.debate-now-btn {
    padding: 16px 48px;
    border-radius: 999px;
    border: none;
    background-color: #ff7aab;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    font-family: 'Inter Tight', sans-serif;
    cursor: pointer;
    box-shadow: 0 0 16px rgba(255, 122, 171, 0.5),
                0 0 32px rgba(255, 122, 171, 0.4),
                0 0 48px rgba(255, 122, 171, 0.3),
                0 4px 14px rgba(255, 122, 171, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    animation: fadeInUp 0.5s ease-out 1s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.debate-now-btn:hover {
    background-color: #ff6ba0;
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 122, 171, 0.6),
                0 0 40px rgba(255, 122, 171, 0.5),
                0 0 60px rgba(255, 122, 171, 0.4),
                0 6px 18px rgba(255, 122, 171, 0.4);
}

/* (Removed) Right-side flower animation + placeholder */

/* Interactive cursor effect for hoverable elements */
.interactive {
    cursor: pointer;
}

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal {
    background-color: #0b0b0b;
    border-radius: 16px;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    display: flex;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.65);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
    position: relative;
}

.modal-overlay.active .modal {
    transform: scale(1) translateY(0);
}

.modal-left {
    flex: 1;
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-logo {
    width: 70px;
    height: auto;
    margin-bottom: 32px;
    display: block;
}

.modal-title {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.modal-subtitle {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 32px;
}

.modal-subtitle a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
}

.modal-subtitle a:hover {
    text-decoration: underline;
}

.social-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.social-btn {
    padding: 14px 20px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background-color: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
    font-family: 'Inter Tight', sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: background-color 0.2s ease, transform 0.2s ease;
    text-decoration: none;
}

.social-btn:hover {
    background-color: rgba(255, 255, 255, 0.12);
    transform: scale(1.02);
}

.social-btn .social-icon {
    width: 20px;
    height: 20px;
}

/* Apple SVG is black by default; invert for dark theme */
.social-btn .social-icon--apple {
    filter: invert(1) brightness(2);
}

.divider {
    display: flex;
    align-items: center;
    margin: 24px 0;
    color: rgba(255, 255, 255, 0.45);
    font-size: 14px;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.12);
}

.divider span {
    padding: 0 16px;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.modal-input {
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    font-size: 15px;
    font-family: 'Inter Tight', sans-serif;
    background-color: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.modal-input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.3);
    background-color: rgba(255, 255, 255, 0.10);
}

.modal-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.modal-continue-btn {
    padding: 16px 24px;
    border-radius: 999px;
    border: none;
    background-color: #2a2a2a;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Inter Tight', sans-serif;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
    margin-top: 8px;
    width: 100%;
}

.modal-continue-btn:hover {
    background-color: #ff7aab;
    transform: scale(1.02);
}

.modal-forgot {
    text-align: center;
    margin-top: 16px;
}

.modal-forgot a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: opacity 0.2s ease;
}

.modal-forgot a:hover {
    opacity: 0.7;
}

.modal-right {
    flex: 1;
    background-color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    position: relative;
    overflow: hidden;
    min-height: 500px;
}

.modal-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.modal-wrapper {
    position: relative;
    width: 100%;
    max-width: 1000px;
    display: flex;
}

.password-requirements {
    display: none;
    margin-top: 12px;
    margin-bottom: 8px;
}

.password-requirements.active {
    display: block;
}

.password-requirement {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

.password-requirement-icon {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.password-requirement-icon.checked {
    background-color: #2a2a2a;
    border-color: #2a2a2a;
}

.password-requirement-icon.checked::after {
    content: '✓';
    color: white;
    font-size: 10px;
    font-weight: bold;
}

/* Responsive */
@media (max-width: 768px) {
    nav {
        padding: 20px 24px;
    }

    .nav-links {
        display: none;
    }

    .hero {
        flex-direction: column;
        padding: 60px 24px 40px;
        gap: 32px;
    }

    .hero-content {
        text-align: center;
        align-items: center;
        max-width: 100%;
    }

    .hero-headline {
        font-size: 48px;
    }

    .hero-headline .italic {
        font-size: 56px;
    }

    .hero-subheadline {
        font-size: 18px;
    }

    .hero-input-container {
        max-width: 100%;
    }
}


#toastContainer {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toast {
    padding: 14px 20px;
    border-radius: 18px;
    color: white;
    font-size: 15px;
    font-weight: 500;
    box-shadow: 0px 4px 12px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideIn 0.3s ease-out;
    opacity: 0.95;
}

.toast.error {
    background: #0b0b0b;
    color: #ffffff;
}

.toast.success {
    background: #67c23a;
}

.toast .icon {
    font-size: 14px;
    background-color: #ff7aab; /* pink circle */
    color: #ffffff; /* white thin X */
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 400; /* thinner look */
    line-height: 1;
}

@keyframes slideIn {
    from {
        transform: translateX(40px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Verification code inputs */
.verification-code-inputs {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin: 24px 0;
}

.verification-input {
    width: 56px;
    height: 56px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    font-family: 'Inter Tight', sans-serif;
    background-color: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    transition: all 0.2s ease;
}

.verification-input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.3);
    background-color: rgba(255, 255, 255, 0.10);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08);
}

.verification-input::placeholder {
    color: transparent;
}