/* Hero Section */
.hero-wrapper {
    position: sticky;
    top: 0;
    z-index: 1;
    width: 100%;
    height: 100dvh;
    overflow: hidden;
    background-color: #000;
}

.hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    z-index: 1;
    filter: brightness(0.8);
    transform: translateZ(0);
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.hero-lighting-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 4;
    pointer-events: none;
    background: linear-gradient(rgba(0, 0, 0, 0.5), transparent, #7DB8CC);
}

.hero-container {
    position: relative;
    z-index: 5;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    margin-inline: auto;
    max-width: 1400px;
    padding-left: 32px;
    padding-right: 32px;
    /* Position content above and close to bounce indicator */
    justify-content: center;
    align-items: flex-start;
    padding-top: 0;
    padding-bottom: 80px;
}

.hero-content-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 12px;
    padding-bottom: 16px;
    width: 100%;
}

.hero-title {
    font-family: 'Comfortaa', -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    font-size: 2.6rem !important;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
    text-align: left;
    margin: 0;
}

.hero-subtitle {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 500;
    color: #FFFFFF;
    letter-spacing: 0.5px;
    text-align: left;
    max-width: 500px;
    margin: 0;
}

.hero-cta-stack {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: stretch;
    gap: 24px;
    padding-top: 8px;
    margin-top: 16px;
}

.cta-try-wrapper,
.cta-discord-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: auto;
}

.cta-try-wrapper {
    gap: 2px;
}

.cta-discord-wrapper {
    gap: 4px;
}

.cta-try-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 240px;
    padding: 21px 21px;
    white-space: nowrap;
    color: #FFFFFF;
    background: #72a7b9;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    font-weight: 600;
    border-radius: 10px;
    font-size: 18px;
    border: 1px solid #72a7b9;
    transition: all 0.2s ease;
}

.cta-try-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.cta-discord-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 52px;
    width: auto;
    min-width: 240px;
    padding: 0 24px;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.92);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.2s;
}

.cta-discord-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.cta-subtext,
.cta-discord-subtext {
    font-size: 12px;
    font-weight: 700;
    color: #FFFFFF;
    text-align: center;
    margin: 0;
}

.cta-subtext {
    margin-top: 2px;
}

.cta-discord-subtext {
    margin-top: 4px;
}

.hero-social-proof {
    font-size: 14px;
    font-weight: 700;
    color: #FFFFFF;
    padding-top: 16px;
    text-align: left;
    margin: 0;
}

.bounce-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    width: 20px;
    height: 20px;
    color: white;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translate(-50%, 0);
    }

    40% {
        transform: translate(-50%, -10px);
    }

    60% {
        transform: translate(-50%, -5px);
    }
}

/* Responsive Hero */
@media screen and (max-width: 1024px) {
    .hero-title {
        font-size: 36px !important;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 16px;
        line-height: 1.3;
    }

    .hero-social-proof {
        text-align: center;
    }
}

@media screen and (max-width: 768px) {
    .hero-container {
        padding-left: 16px;
        padding-right: 16px;
        justify-content: flex-end;
        padding-bottom: 100px;
    }

    .hero-title {
        font-size: 28px !important;
        line-height: 1.25;
    }

    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.3;
        letter-spacing: 0.25px;
    }

    .hero-social-proof {
        display: none;
    }

    .hero-cta-stack {
        flex-direction: column;
        align-items: center;
        gap: 16px;
        width: 100%;
        padding-bottom: 32px;
    }

    .cta-try-wrapper,
    .cta-discord-wrapper {
        width: 100%;
        max-width: 320px;
    }

    .cta-try-btn,
    .cta-discord-btn {
        width: 100%;
        min-width: 0;
    }
}

.hero-white-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #FFFFFF;
    opacity: 0;
    z-index: 10;
    pointer-events: none;
}

.hero-bg-video.mobile-only {
    display: none;
}

@media screen and (max-width: 768px) {
    .hero-bg-video.desktop-only {
        display: none;
    }
    .hero-bg-video.mobile-only {
        display: block;
    }
}