/* =========================================================
   BASE STYLES & DESKTOP LAYOUT
========================================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    /* 1. The dark gradient overlay (85% to 95% black) to fade it out */
    /* 2. The path to your background image */
    background: 
        linear-gradient(rgba(10, 10, 10, 0.85), rgba(5, 5, 5, 0.95)),
        url('../assets/bg bs.jpg'); 
        
    background-size: cover; 
    background-position: center; 
    background-attachment: fixed; 
    background-color: #050505; 
    overflow-x: hidden;
    min-height: 100vh;
}

/* =========================================================
   NAVBAR STYLES (Obsidian & Gold Theme)
========================================================= */
.navbar {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: max-content; 
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 18px;
    border-radius: 999px;
    background: rgba(10, 10, 10, 0.6); 
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 215, 0, 0.2); 
    overflow: hidden;
    isolation: isolate;
    z-index: 1000;
    animation: 
        navbarFloat 7s ease-in-out infinite, 
        ambient 8s ease-in-out infinite;
    box-shadow: 
        0 10px 40px rgba(0,0,0,0.8),
        inset 0 1px 0 rgba(255, 215, 0, 0.1);
}

@keyframes navbarFloat {
    0%, 100% { 
        transform: translateX(-50%) translateY(0px); 
    }
    50% { 
        transform: translateX(-50%) translateY(-10px); 
    }
}

@keyframes ambient {
    0%, 100% {
        box-shadow:
            0 0 40px rgba(255, 215, 0, 0.15), 
            0 10px 40px rgba(0, 0, 0, 0.8),
            inset 0 1px 0 rgba(255, 215, 0, 0.1);
    }
    50% {
        box-shadow:
            0 0 80px rgba(184, 134, 11, 0.2), 
            0 10px 40px rgba(0, 0, 0, 0.8),
            inset 0 1px 0 rgba(255, 215, 0, 0.1);
    }
}

.navbar::before {
    content: "";
    position: relative;
    inset: -2px;
    border-radius: inherit;
    background: conic-gradient(from 0deg, #FFD700, transparent, #B8860B, transparent, #FFD700);
    animation: spin 6s linear infinite;
    z-index: -2;
    opacity: 0.5;
}

.liquid {
    position: absolute;
    inset: -60px;
    background: conic-gradient(from 0deg, #FFD700, transparent, #B8860B, transparent, #FFD700);
    filter: blur(60px);
    opacity: 0.35;
    animation: spin 10s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.navbar::after {
    content: "";
    position: absolute;
    top: 0;
    left: -150%;
    width: 70%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.15), transparent);
    transform: skewX(-20deg);
    animation: shine 6s linear infinite;
}

@keyframes shine {
    from { left: -150%; }
    to { left: 220%; }
}

nav {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 10px;
}

.indicator {
    position: absolute;
    width: 110px;
    height: 52px;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.4), rgba(184, 134, 11, 0.35));
    filter: blur(10px);
    animation: pulseBlob 4s ease-in-out infinite;
    z-index: -1;
}

@keyframes pulseBlob {
    0%, 100% { transform: translateY(-50%) scale(1); }
    50% { transform: translateY(-50%) scale(1.08); }
}

.nav-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    text-decoration: none;
    color: #e0e0e0;
    font-size: 15px;
    font-weight: 600;
    border-radius: 999px;
    overflow: hidden;
    transition: transform .35s ease, text-shadow .35s ease, box-shadow .35s ease, background .35s ease, color .35s ease;
}

.nav-link::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: rgba(255, 215, 0, 0.15);
    transform: scale(0);
    transition: .35s ease;
    z-index: -1;
}

.nav-link:hover::before {
    transform: scale(1);
}

.nav-link:hover {
    color: #ffffff;
    transform: translateY(-4px) scale(1.04);
    text-shadow: 0 0 12px rgba(255, 215, 0, 0.9);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.15);
}

.active {
    background: rgba(255, 215, 0, 0.1);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3), 0 0 40px rgba(184, 134, 11, 0.2);
    color: #ffffff;
}

.nav-link::after {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,.2), transparent);
    transform: skewX(-20deg);
    transition: .6s ease;
}

.nav-link:hover::after {
    left: 150%;
}

/* =========================================================
   HERO SECTION LAYOUT (index.html)
========================================================= */
.hero {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.massive-text {
    position: absolute;
    text-align: center;
    display: flex;
    flex-direction: column;
    line-height: 0.85;
    z-index: 1;
    width: 100%;
}

.solid-text {
    font-size: 18vw;
    color: #FFD700;
    text-transform: uppercase;
    letter-spacing: -5px;
}

.outline-text {
    font-size: 18vw;
    color: transparent;
    -webkit-text-stroke: 3px #FFD700;
    text-transform: uppercase;
    letter-spacing: -5px;
}

.character-img {
    position: absolute;
    z-index: 5;
    bottom: 0px;
    height: 85vh;
    object-fit: contain;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.8));
}

.bottom-banner {
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: #FFD700;
    color: #000000;
    padding: 5px 0;
    text-align: center;
    font-weight: 900;
    font-size: 1rem;
    letter-spacing: 2px;
    z-index: 10;
    
    /* Dedicated Banner Animation */
    opacity: 0;
    filter: blur(10px);
    transform: translateY(100%); /* Hides it just below the screen edge */
    animation: bannerReveal 0.8s ease-out 0.6s forwards; /* 0.6s delay creates a nice staggered load! */
}

@keyframes bannerReveal {
    to {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0);
    }
}
/* =========================================================
   STANDARD SHOWCASE CARDS (Weapons Base)
========================================================= */
.showcase-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 5% 50px 5%;
}

.character-showcase-card {
    width: 100%;
    max-width: 1400px;
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 215, 0, 0.2); 
    border-radius: 30px; 
    padding: 60px 80px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8), inset 0 0 20px rgba(255, 215, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.character-showcase-card.reverse {
    flex-direction: row-reverse;
}

.character-showcase-card.reverse .character-text {
    align-items: flex-end;
    text-align: right;
}

.character-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 10;
}

.outline-text-left {
    font-size: 7vw; 
    color: transparent;
    -webkit-text-stroke: 2px #FFD700;
    text-transform: uppercase;
    letter-spacing: -2px;
    line-height: 0.9;
}

.solid-text-left {
    font-size: 7vw;
    color: #ffffff; 
    text-transform: uppercase;
    letter-spacing: -2px;
    line-height: 0.9;
    margin-bottom: 20px;
}

.character-tags {
    color: #FFD700;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 25px;
}

.character-desc {
    color: #a0a0a0;
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 500px;
    font-weight: 500;
}

.character-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    position: relative;
}

.showcase-img {
    max-height: 70vh; 
    max-width: 100%; 
    object-fit: contain;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.8));
}

/* =========================================================
   UNIVERSAL POP-OUT LAYOUT (Creators, Strikers, etc.)
========================================================= */
.popout-card {
    position: relative;
    overflow: visible; /* Lets the PNG pop out the top */
    display: block; /* Turns off side-by-side flexbox to constrain card height */
}

/* Restricts the text to one side */
.popout-card .character-text {
    width: 60%;
    position: relative;
    z-index: 10; 
}

/* The Overlapping Image Container */
.popout-visual {
    position: absolute;
    bottom: 0; 
    right: 0; 
    width: 65%; 
    height: 120%; /* Makes the image pop out the top */
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    padding-right: 30px;
    pointer-events: none; 
    z-index: 5; 
}

.popout-img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.8));
}

/* Reverse Pop-out Layout */
.popout-card.reverse .character-text {
    margin-left: 40%; 
    text-align: right;
    align-items: flex-end;
}

.popout-card.reverse .popout-visual {
    right: auto;
    left: 0; 
    justify-content: flex-start; /* Keeps it anchored to the left */
    padding-right: 0; /* Resets the right padding */
    padding-left: 30px; /* Nudges the image exactly 30px away from the left edge! */
}

/* =========================================================
   WEAPONS PAGE ADDITIONS
========================================================= */

@keyframes hoverWeapon {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); } 
    100% { transform: translateY(0px) rotate(0deg); }
}

.floating-weapon {
    animation: hoverWeapon 5s ease-in-out infinite;
}

.weapon-stats {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 400px; 
    margin-top: 10px;
}

.stat-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left; 
}

.character-showcase-card.reverse .stat-row {
    text-align: right;
}

.stat-row span {
    color: #a0a0a0;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.stat-bar {
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.5);
}

.fill {
    height: 100%;
    background: #FFD700; 
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
    transition: width 1s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Arsenal Notice Layout */
.arsenal-notice-spacing {
    padding-top: 140px;
}

.notice-card-layout {
    justify-content: center !important;
    text-align: center;
    padding: 40px 60px !important;
}

/* =========================================================
   COLLABS PAGE (Vertical Timeline)
========================================================= */
.timeline-section {
    padding: 120px 5% 50px 5%;
    min-height: 100vh;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline {
    position: relative;
    margin-top: 60px;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background: rgba(255, 215, 0, 0.2); 
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 10px;
}

.timeline-item {
    padding: 60px 0;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    z-index: 5;
}

.timeline-item.reverse {
    flex-direction: row-reverse;
}

.timeline-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
}

.timeline-dot {
    width: 24px;
    height: 24px;
    background: #000;
    border: 4px solid #FFD700; 
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
}

.timeline-date {
    color: #FFD700;
    font-weight: 900;
    margin-top: 15px;
    background: rgba(10, 10, 10, 0.8);
    padding: 6px 16px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 20px;
    font-size: 0.85rem;
    letter-spacing: 2px;
    backdrop-filter: blur(5px);
}

.timeline-content {
    width: 42%; 
    position: relative;
}

.collab-card {
    background: rgba(10, 10, 10, 0.6);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 15px;
    padding: 30px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.collab-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 215, 0, 0.6);
}

.collab-title {
    color: #ffffff;
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.collab-img {
    width: 100%;
    border-radius: 15px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    box-shadow: 0 20px 40px rgba(0,0,0,0.8);
}





/* =========================================================
   CREATOR SOCIAL BUTTONS
========================================================= */
.creator-socials {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 999px;
    color: #e0e0e0;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* The SVG Icons */
.social-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    transition: transform 0.3s ease;
}

/* Hover Effects */
.social-btn:hover {
    background: #FFD700;
    color: #050505; /* Dark text for contrast against the gold */
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.25);
    border-color: #FFD700;
}

.social-btn:hover svg {
    transform: scale(1.15); /* Icon scales up slightly on hover */
}


/* =========================================================
   GLOBAL FOOTER
========================================================= */
.global-footer {
    width: 100%;
    text-align: center;
    padding: 10px 0;
    margin-top: 30px;
    background: rgba(3, 7, 18, 0.6);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.global-footer p {
    margin: 0 auto;
    font-size: 0.65rem;
    color: #64748b;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.global-footer .highlight {
    color: #FFD700;
    font-weight: 400;
}

/* =========================================================
   SCROLL FADE-IN ANIMATIONS
========================================================= */
.scroll-hidden {
    opacity: 0;
    filter: blur(15px);
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

.scroll-show {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}

/* =========================================================
   MOBILE RESPONSIVENESS (Screens under 768px)
========================================================= */
@media (max-width: 768px) {
    
   body {
        /* Removed overflow-y: auto; because it breaks scroll animations on phones! */
        overflow-x: hidden;
    }

    /* 1. Swipeable Navbar Fix */
    /* 1. Swipeable Navbar Fix */
    .navbar {
        width: 90%;
        padding: 8px 10px;
        top: 10px;
        overflow-x: auto !important; 
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-x; 
        justify-content: flex-start !important; /* CRITICAL: Stops the left side (Home) from being cut off */
    }

    .navbar::-webkit-scrollbar {
        display: none; /* Hides the ugly scrollbar */
    }

    nav {
        display: flex;
        justify-content: flex-start !important; /* CRITICAL: Stops the buttons from being pinned to the center */
        gap: 0.5rem;
        width: max-content; 
        padding-right: 15px; 
    }

    .nav-link {
        font-size: 0.85rem;
        padding: 8px 14px;
        white-space: nowrap !important; /* Forces text to stay on one line */
        flex-shrink: 0 !important; /* Stops buttons from squishing */
    }

    /* Hero Fixes */
    .massive-text {
        line-height: 0.9;
        top: 15%; 
    }

    .solid-text, .outline-text {
        font-size: 24vw; 
        letter-spacing: -2px;
        -webkit-text-stroke: 1.5px #FFD700;
    }

    .character-img {
        height: 60vh; 
        bottom: 0; 
    }

    .bottom-banner {
        font-size: 0.8rem;
        padding: 8px 10px;
        line-height: 1.4;
    }

    /* Arsenal Spacing Fix */
    .arsenal-notice-spacing {
        padding-top: 100px;
    }

    /* Standard Card Mobile Fix */
    .character-showcase-card, .character-showcase-card.reverse {
        flex-direction: column; 
        padding: 40px 20px; 
        border-radius: 20px;
        gap: 30px;
    }

    .character-showcase-card.reverse .character-text, .character-text {
        align-items: center; 
        text-align: center;
    }

    .outline-text-left, .solid-text-left {
        font-size: 15vw; 
    }

    .character-visual {
        width: 100%;
        justify-content: center;
    }

    .showcase-img {
        max-width: 100%; 
        max-height: 35vh; 
        object-fit: contain;
    }

    .weapon-stats {
        align-items: center;
    }

    .stat-row, .character-showcase-card.reverse .stat-row {
        width: 100%;
        text-align: center;
    }

    /* Timeline Mobile Fixes */
    .timeline::after {
        left: 20px; 
    }

    .timeline-item, .timeline-item.reverse {
        flex-direction: column;
        align-items: flex-start;
        padding: 30px 0 30px 50px; 
    }

    .timeline-center {
        left: 20px;
        top: 30px;
        flex-direction: row; 
        gap: 15px;
        transform: translateX(-50%);
    }

    .timeline-date {
        margin-top: 0; 
    }

    .timeline-content {
        width: 100%;
        margin-top: 30px;
    }

   /* Universal Pop-Out Layout Mobile Fix */
    .popout-card, .popout-card.reverse {
        display: flex; 
        flex-direction: column;
        padding-bottom: 0 !important; /* Removes the bottom padding so the image touches the floor */
        overflow: hidden; /* Clips the bottom of the image to perfectly match the rounded corners of the glass */
    }

    .popout-card .character-text, .popout-card.reverse .character-text {
        width: 100%;
        margin-left: 0;
        text-align: center;
        align-items: center;
        padding-bottom: 20px; /* Keeps your text from touching the image */
    }

    .popout-visual, .popout-card.reverse .popout-visual {
        position: relative; 
        width: 100%;
        height: auto;
        right: auto;
        left: auto;
        justify-content: center;
        padding-left: 0; /* Resets the 30px side padding we added on desktop */
        padding-right: 0;
    }

    .popout-img {
        max-height: 45vh; 
        display: block;
        margin-bottom: -5px; /* Kills the tiny invisible gap browsers automatically add under images */
    }


    /* Centers social buttons on mobile */
    .creator-socials {
        justify-content: center;
        width: 100%;
    }
}