/* --- CSS VARIABLES --- */
:root {}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

/* Lenis Scroll Rules */
html.lenis {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
}

/* --- LOADER STYLES --- */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--bg-dark);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

#loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top: 4px solid var(--btn-peach);
    border-radius: 50%;
    animation: spin 1s cubic-bezier(0.55, 0.15, 0.45, 0.85) infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#loader-text {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: #fff;
}

/* --- Fixed Global Canvas --- */
.global-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
}

#animation-spacer {
    width: 100%;
    position: relative;
    z-index: 1;
}

/* --- Content Section --- */
.content-section {
    position: relative;
    z-index: 10;
    /* Solid background to hide the video frames behind it */
    background-color: var(--bg-dark);
    padding: 80px 20px 100px 20px;
    min-height: 100vh;
}

/* Smooth fade gradient bridging the video to the solid dark background */
.content-section::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 0;
    width: 100%;
    height: 40vh;
    background: linear-gradient(to bottom, transparent 0%, var(--bg-dark) 100%);
    pointer-events: none;
}

.content-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.text-block {
    margin-bottom: 50px;
}

/* --- Typography --- */
.gradient-text {
    background: var(--gradient-text-pink);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.gradient-text-light {
    background: var(--gradient-text-light);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pink-title {
    font-size: 4.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.description {
    color: var(--text-muted);
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1.4;
    max-width: 900px;
}

/* --- cardx Base Design --- */
.cardx-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.cardx {
    position: relative;
    width: 100%;
    aspect-ratio: 21 / 9;
    border-radius: var(--radius-card);
    background-color: var(--card-bg);
    border: var(--border-subtle);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease;
    cursor: pointer;
}

.cardx:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

/* --- cardx Overlays --- */
.cardx-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.overlay-bottom {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 60%);
}

.overlay-left {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.9) 0%, transparent 60%);
}

.overlay-right {
    background: linear-gradient(to left, rgba(0, 0, 0, 0.9) 0%, transparent 60%);
}

/* --- Text Alignments --- */
.cardx-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 50px;
    display: flex;
    flex-direction: column;
}

.align-bottom-left {
    justify-content: flex-end;
    align-items: flex-start;
    text-align: left;
}

.align-middle-left {
    justify-content: center;
    align-items: flex-start;
    text-align: left;
}

.align-middle-right {
    justify-content: center;
    align-items: flex-end;
    text-align: right;
}

/* --- Text Inside cardxs --- */
.subtitle {
    font-size: 0.9rem;
    font-weight: bold;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin-bottom: 5px;
    text-transform: uppercase;
}

.cardx h3 {
    font-size: 3.5rem;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--text-main);
    margin-bottom: 10px;
    line-height: 1;
}

.cardx-desc {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-main);
    max-width: 50%;
    margin-bottom: 25px;
    line-height: 1.4;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* --- Buttons --- */
.custom-btn {
    border: none;
    border-radius: var(--radius-btn);
    padding: 14px 32px;
    font-size: 1.1rem;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.3s ease, transform 0.2s ease;
    color: #000;
}

.custom-btn:hover {
    transform: scale(1.05);
    background: #fff !important;
}

.peach-btn {
    background: var(--btn-peach);
}

.lime-btn {
    background: var(--btn-lime);
}

/* --- Animations --- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 900px) {
    .content-section {
        padding: 40px 15px 80px 15px;
    }

    .pink-title {
        font-size: 2.5rem;
        line-height: 1.1;
        margin-bottom: 15px;
    }

    .description {
        font-size: 1.2rem;
    }

    .cardx {
        aspect-ratio: 4 / 5;
        border-radius: 15px;
    }

    .cardx h3 {
        font-size: 2.2rem;
    }

    .cardx-content {
        padding: 25px;
    }

    .cardx-desc {
        max-width: 100%;
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .align-middle-right,
    .align-middle-left {
        align-items: flex-start;
        justify-content: flex-end;
        text-align: left;
    }

    .overlay-right,
    .overlay-left {
        background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, transparent 60%);
    }

    .custom-btn {
        padding: 12px 24px;
        font-size: 1rem;
    }
}

/* --- Footer Container --- */
.site-footer {
    width: 100%;
    padding: 30px 40px 80px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}



.logo-vi {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 1px;
}

.hamburger-menu {
    font-size: 24px;
    cursor: pointer;
}

/* --- Main Content Wrapper --- */
.footer-content {
    max-width: 800px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* --- Game Logo --- */
.game-logo img {
    height: 100px;
    /* Adjust based on your actual logo */
    margin-bottom: 40px;
}

/* --- Wishlist Section --- */
.wishlist-section {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.wishlist-section h3 {
    font-size: 1.2rem;
    font-weight: 700;
}

.platform-buttons {
    display: flex;
    gap: 15px;
}

.platform-btn {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    /* Pill shape */
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s ease;
}

.platform-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* --- Newsletter / Propaganda Box --- */
.newsletter-box {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    /* Big pill shape */
    display: flex;
    align-items: center;
    padding: 20px 40px;
    margin-bottom: 60px;
}

.newsletter-left {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 15px;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    padding-right: 20px;
}

.newsletter-left h4 {
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.newsletter-left i {
    font-size: 1.5rem;
}

.newsletter-right {
    flex: 2;
    padding-left: 30px;
    text-align: left;
}

.newsletter-right p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

/* --- Social Icons --- */
.social-icons {
    display: flex;
    gap: 25px;
    margin-bottom: 40px;
}

.social-icons a {
    color: white;
    font-size: 1.2rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #ff509e;
    /* Subtle hover color */
}

/* --- Legal Links --- */
.legal-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}

.legal-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 500;
}

.legal-links a:hover {
    color: white;
}

/* --- ESRB Section --- */
.esrb-section {
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: left;
}

.esrb-logo img {
    height: 60px;
    /* Adjust based on your ESRB image */
}

.esrb-text p {
    font-size: 0.8rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.9);
}

.esrb-text a {
    color: white;
    text-decoration: underline;
    font-weight: bold;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    .wishlist-section {
        flex-direction: column;
    }

    .newsletter-box {
        flex-direction: column;
        border-radius: 20px;
        padding: 30px 20px;
        gap: 20px;
    }

    .newsletter-left {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        padding-right: 0;
        padding-bottom: 20px;
        width: 100%;
        justify-content: center;
    }

    .newsletter-right {
        padding-left: 0;
        text-align: center;
    }

    .esrb-section {
        flex-direction: column;
        text-align: center;
    }
}

body {
    background-color: #0b0b13;
    /* Dark background matching the image */
    color: #ffffff;
}