        /* --- CSS Variables --- */
        :root {
            --bg-dark: #0a012d; 
            --neon-border-color: #fa214e; 
            --neon-secondary-color: #225eeb; 
            --text-light: #f0f0f0;
            --text-secondary: #b0b0b0;
            --button-bg-dark: #2c005e; 
            --button-border-neon: #fa214e; 
            --font-primary: 'Space Mono', sans-serif;
            --font-secondary: 'Space Grotesk', sans-serif;
            --border-padding: 20px;
            --lore-highlight-color: #FF66CC; 
            --lore-text-color: #C0C0C0; 
            --gallery-filter-bg: #1c0a40; 
            --gallery-nft-bg: #1c0a40; 
            --about-highlight-color: #ccff00; 
            --partnerships-highlight: #CCFF00; 
        }

        /* --- Global Resets & Base Styles --- */
        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        body {
            font-family: var(--font-secondary);
            color: var(--text-light);
            overflow: hidden; 
            position: relative;
            padding: var(--border-padding); 
            background-color: var(--bg-dark); 
            background-size: cover; 
            background-position: center; 
            background-attachment: fixed; 
            height: 100vh;
            transition: background-image 0.5s ease-in-out; 
        }

        h1, h2, h3, h4, h5, h6 {
            font-family: var(--font-primary);
        }

        #root {
            min-height: 100%; 
            height: 100%;
            background-color: transparent; 
            position: relative;
            display: flex;
        }

        /* --- RETRO / CRT EFFECTS --- */
        @keyframes crt-flicker {
            0% { opacity: 0.97; }
            5% { opacity: 0.95; }
            10% { opacity: 0.9; }
            15% { opacity: 0.95; }
            20% { opacity: 0.99; }
            25% { opacity: 0.95; }
            30% { opacity: 0.9; }
            35% { opacity: 0.96; }
            40% { opacity: 0.98; }
            45% { opacity: 0.95; }
            50% { opacity: 0.99; }
            55% { opacity: 0.93; }
            60% { opacity: 0.9; }
            65% { opacity: 0.96; }
            70% { opacity: 1; }
            75% { opacity: 0.97; }
            80% { opacity: 0.95; }
            85% { opacity: 0.93; }
            90% { opacity: 0.96; }
            95% { opacity: 0.99; }
            100% { opacity: 0.94; }
        }

        .retro-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            z-index: 9999;
            pointer-events: none; 
            opacity: 0;
            transition: opacity 0.5s ease;
            mix-blend-mode: overlay;
        }

        .retro-overlay.active {
            opacity: 1;
            background: linear-gradient(
                to bottom,
                rgba(255, 255, 255, 0),
                rgba(255, 255, 255, 0) 50%,
                rgba(0, 0, 0, 0.4) 50%,
                rgba(0, 0, 0, 0.4)
            );
            background-size: 100% 4px;
            box-shadow: inset 0 0 150px rgba(0,0,0,0.7);
            animation: crt-flicker 0.15s infinite;
        }

        body.retro-mode {
            text-shadow: 2px 0 1px rgba(250, 33, 78, 0.5), -2px 0 1px rgba(34, 94, 235, 0.5);
            filter: contrast(1.2) saturate(1.2) sepia(0.1);
        }

        body.retro-mode img {
            filter: contrast(1.1) brightness(1.1);
        }

        body.retro-mode .header-btn,
        body.retro-mode .content-area,
        body.retro-mode .about-nav-item,
        body.retro-mode .lore-nav-image,
        body.retro-mode .lore-content-image,
        body.retro-mode .gallery-filter-container,
        body.retro-mode .gallery-filter-header,
        body.retro-mode .gallery-filter-header button,
        body.retro-mode .gallery-grid-container,
        body.retro-mode .gallery-collection-select,
        body.retro-mode .nft-card,
        body.retro-mode .nft-card img,
        body.retro-mode .nft-card-overlay,
        body.retro-mode .showcase-image,
        body.retro-mode .selector-logo,
        body.retro-mode .visit-site-btn,
        body.retro-mode .connect-btn,
        body.retro-mode .emission-item img,
        body.retro-mode .brew-nft-display,
        body.retro-mode .brew-input-group,
        body.retro-mode .brew-input-group .max-btn,
        body.retro-mode .brew-presets button,
        body.retro-mode .claim-input-group,
        body.retro-mode .claim-input-group .max-btn,
        body.retro-mode .team-card,
        body.retro-mode .nav-links.active {
            border-radius: 0 !important;
        }

        /* --- Animated Starfield --- */
        @keyframes animateStars {
            from { transform: translateY(0px); }
            to { transform: translateY(-2000px); }
        }

        .boku-labz-container::before, .boku-labz-container::after, body::after {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 1; 
        }

        .boku-labz-container::before {
            background-image: radial-gradient(1px 1px at 20px 30px, #eee, rgba(0,0,0,0)), radial-gradient(1px 1px at 40px 70px, #fff, rgba(0,0,0,0)), radial-gradient(1px 1px at 50px 160px, #ddd, rgba(0,0,0,0)), radial-gradient(1px 1px at 90px 40px, #fff, rgba(0,0,0,0)), radial-gradient(1px 1px at 130px 80px, #fff, rgba(0,0,0,0)), radial-gradient(1px 1px at 160px 120px, #ddd, rgba(0,0,0,0));
            background-size: 200px 200px;
            animation: animateStars 50s linear infinite;
        }

        .boku-labz-container::after {
            background-image: radial-gradient(2px 2px at 50px 150px, #fff, rgba(0,0,0,0)), radial-gradient(2px 2px at 100px 250px, #ddd, rgba(0,0,0,0)), radial-gradient(2px 2px at 250px 60px, #fff, rgba(0,0,0,0));
            background-size: 300px 300px;
            animation: animateStars 100s linear infinite;
        }

        body::after {
            background-image: radial-gradient(2px 2px at 10px 200px, #fff, rgba(0,0,0,0)), radial-gradient(2px 2px at 300px 320px, #ddd, rgba(0,0,0,0)), radial-gradient(3px 3px at 400px 100px, #fff, rgba(0,0,0,0));
            background-size: 400px 400px;
            animation: animateStars 150s linear infinite;
        }

        .boku-labz-container {
            height: 100%;
            display: flex;
            flex-direction: column;
            position: relative;
            background-color: transparent;
            padding: 1px;
            width: 100%;
            max-width: 1800px;
            max-height: 1200px;
            margin: auto;
        }

        .border-top, .border-right, .border-bottom, .border-left {
            position: absolute; 
            background: var(--neon-border-color);
            box-shadow: 0 0 5px var(--neon-border-color),
                        0 0 10px var(--neon-border-color),
                        0 0 15px var(--neon-border-color);
            z-index: 10;
        }

        .border-top { top: 0; left: 0; width: 100%; height: 3px; }
        .border-right { top: 0; right: 0; width: 3px; height: 100%; }
        .border-bottom { bottom: 0; left: 0; width: 100%; height: 3px; }
        .border-left { top: 0; left: 0; width: 3px; height: 100%; }

        /* --- Header Styling --- */
        .header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1.5rem 2rem; 
            position: relative;
            z-index: 20;
            flex-shrink: 0;
        }
        
        .header-logo {
            height: 55px;
            width: auto;
            margin-right: 2rem;
        }

        .main-nav {
            display: flex;
            align-items: center;
            flex-grow: 1;
        }

        .main-nav ul {
            list-style: none;
            display: flex;
            gap: 1.5rem;
            margin-left: 0; 
        }

        .main-nav a {
            color: var(--text-light);
            text-decoration: none;
            font-family: var(--font-primary);
            font-weight: 700;
            font-size: 1rem;
            letter-spacing: 1px;
            transition: color 0.3s ease;
        }

        .main-nav a:hover {
            color: var(--neon-secondary-color); 
        }

        .main-nav a.active {
            color: var(--neon-border-color);
        }

        .header-buttons {
            display: flex;
            gap: 0.8rem;
        }

        .header-btn {
            background-color: var(--button-bg-dark);
            color: var(--text-light);
            border: 1px solid var(--button-border-neon);
            padding: 0.6rem 1rem;
            border-radius: 8px; 
            font-family: var(--font-secondary);
            font-size: 0.85rem;
            cursor: pointer;
            box-shadow: 0 0 5px rgba(250, 33, 78, 0.5);
            white-space: nowrap;
            transition: all 0.3s ease;
        }
        
        .header-btn:hover {
             border-color: var(--neon-secondary-color); 
             color: var(--neon-secondary-color);
             box-shadow: 0 0 10px var(--neon-secondary-color);
        }
        
        .hamburger {
            display: none;
            font-size: 2rem;
            cursor: pointer;
            color: var(--neon-border-color);
            position: absolute;
            right: 1.5rem;
            top: 1.5rem;
        }
        
        .mobile-header-buttons {
            display: none;
            flex-direction: column;
            gap: 1rem;
            align-items: center;
            margin-top: 1.5rem;
            padding: 0 1rem 1rem 1rem;
        }

        /* --- GENERAL SECTION LAYOUTS --- */
        .about-section, .lore-section, .gallery-section, .home-section {
            padding: 4rem; 
            position: relative;
            z-index: 15;
            display: flex;
            gap: 30px; 
            align-items: stretch; 
            overflow: hidden;
            flex-grow: 1;
            min-height: 0;
            height: 100%; 
        }

        .boku-pub-section {
            padding: 4rem; 
            position: relative;
            z-index: 15;
            display: flex;
            gap: 0; 
            align-items: stretch; 
            overflow: hidden;
            flex-grow: 1;
            min-height: 0;
            height: 100%; 
        }

        .partnerships-section {
            padding: 4rem; 
            position: relative;
            z-index: 15;
            display: flex;
            gap: 0; 
            align-items: stretch; 
            overflow: hidden;
            flex-grow: 1;
            min-height: 0;
            height: 100%; 
        }
        
        .about-nav-container, .lore-nav-container, .gallery-filter-container {
            flex-basis: 350px; 
            flex-shrink: 0;
            display: flex;
            flex-direction: column;
            gap: 15px; 
            height: 100%; 
        }
        
        .about-nav-container {
            justify-content: space-between;
        }
        
        .content-area {
            flex-grow: 1;
            padding: 30px;
            border: 1px solid var(--neon-border-color);
            box-shadow: 0 0 10px rgba(250, 33, 78, 0.2);
            border-radius: 8px; 
            background-color: rgba(10, 1, 45, 0.5); 
            position: relative; 
            display: flex;
            flex-direction: column;
            overflow-y: auto;
            height: 100%; 
        }
        
        .home-section > .content-area, .partnerships-section > .content-area, .boku-pub-section > .content-area {
            flex-basis: 100%;
        }

        .home-content-area {
            background-image: url('assets/images/general/home-hero-bg.png'); 
            background-size: contain; 
            background-position: center;
            background-repeat: no-repeat;
            padding: 0;
        }
        
        /* --- ABOUT PAGE SPECIFIC STYLES --- */
        
        .about-nav-item {
            width: 100%;
            height: 108px; /* Adjusted height to fit 5 items comfortably */
            display: flex;
            justify-content: center;
            align-items: center;
            font-family: var(--font-primary);
            font-size: 1.3rem;
            font-weight: 700;
            letter-spacing: 2px;
            text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
            color: var(--text-light);
            position: relative;
            border: 2px solid var(--neon-border-color);
            box-shadow: 0 0 10px rgba(250, 33, 78, 0.4);
            cursor: pointer;
            transition: all 0.3s ease; 
            border-radius: 8px; 
            z-index: 1; 
            background-color: rgba(0, 0, 0, 0.5);
            background-size: cover;
            background-position: center;
            background-blend-mode: multiply;
        }

        .about-nav-item:nth-child(3) {
            margin-top: 0;
        }
        
        .about-nav-item:hover {
             box-shadow: 0 0 15px var(--neon-border-color);
             transform: scale(1.02);
             opacity: 0.9;
        }
        
        .about-nav-item.active {
             border: 2px solid var(--about-highlight-color);
             color: var(--about-highlight-color);
             box-shadow: 0 0 10px var(--about-highlight-color);
        }
        
        .about-nav-item.active::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 100%;
            width: 30px;
            height: 2px;
            background: var(--about-highlight-color);
            box-shadow: 0 0 10px var(--about-highlight-color);
            transform: translateY(-50%);
            z-index: 5; 
        }

        .about-nav-item span {
            padding: 5px 10px;
            background-color: rgba(10, 1, 45, 0.4);
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
            text-align: center;
        }

        .about-content-area {
            background-image: url('assets/images/about/about-content-bg.jpg');
            background-size: cover;
            background-position: center;
            padding: 30px; 
        }

        .about-content-area h2 {
            font-size: 2.5rem;
            color: var(--text-light);
            margin-bottom: 1.5rem;
            line-height: 1.1;
        }
        .about-content-area p strong, .about-content-area li strong, .lore-content p strong, .lore-content li strong {
            color: var(--about-highlight-color); 
            font-weight: 700;
            text-shadow: 0 0 5px rgba(204, 255, 0, 0.5);
        }
        .about-content-area p, .lore-content p {
            font-size: 0.95rem;
            line-height: 1.7;
            color: var(--text-secondary);
            text-align: justify;
            margin-bottom: 1rem;
        }
        .about-content-area ul, .lore-content ul {
            list-style: none;
            padding-left: 0;
            margin-bottom: 1.5rem;
        }
        .about-content-area li, .lore-content li {
            font-size: 0.95rem;
            line-height: 1.7;
            color: var(--text-secondary);
            position: relative;
            padding-left: 1.5rem;
            margin-bottom: 0.5rem;
        }
        .about-content-area li::before, .lore-content li::before {
            content: '▶';
            color: var(--about-highlight-color);
            position: absolute;
            left: 0;
            font-size: 0.8rem;
            line-height: 1.7;
        }
        
        .about-content-tabs {
            display: flex;
            gap: 30px;
            margin-bottom: 2rem; 
            padding-bottom: 5px;
            font-family: var(--font-primary);
            font-size: 0.9rem;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1); 
        }
        .about-content-tab {
            color: var(--text-secondary);
            cursor: pointer;
            padding: 5px 0; 
            text-transform: uppercase;
            letter-spacing: 1px;
            transition: color 0.3s;
            position: relative;
        }
        .about-content-tab.active {
            color: var(--text-light);
        }
        .about-content-tab.active::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: -3px;
            width: 100%;
            height: 3px;
            background-color: var(--about-highlight-color);
            box-shadow: 0 0 5px var(--about-highlight-color);
        }
        
        .journey-tagline {
            font-family: var(--font-primary);
            font-size: 0.9rem;
            color: var(--text-light);
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 2rem;
            padding-bottom: 5px;
            position: relative;
            display: inline-block;
            align-self: flex-start;
        }
        .journey-tagline::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: -3px; 
            width: 100%;
            height: 3px;
            background-color: var(--about-highlight-color);
            box-shadow: 0 0 5px var(--about-highlight-color);
        }

        /* --- TEAM SECTION SPECIFIC STYLES --- */
        .team-grid-container {
            background-image: none;
            background-color: transparent;
            padding: 20px;
            display: flex;
            flex-direction: column;
            height: 100%;
        }
        .team-grid {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            padding: 10px 0;
            justify-content: center;
            align-items: center; 
            flex-grow: 1; 
        }
        .team-card {
            border: 1px solid var(--neon-border-color);
            box-shadow: 0 0 10px rgba(250, 33, 78, 0.3);
            border-radius: 8px; 
            position: relative;
            overflow: hidden;
            text-align: center;
            transition: all 0.3s ease;
            aspect-ratio: 1 / 1.2;
            background-color: var(--bg-dark);
            flex-basis: calc(20% - 16px);
            min-width: 150px;
        }
        .team-card-img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center 20%;
            z-index: 1;
        }
        .team-card-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(180deg, rgba(10, 1, 45, 0.0) 0%, rgba(10, 1, 45, 0.7) 40%, rgba(10, 1, 45, 0.95) 100%);
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease, visibility 0.3s ease;
            z-index: 2;
            display: flex;
            flex-direction: column;
            padding: 20px;
            text-align: left;
            justify-content: flex-end;
            gap: 12px;
        }
        
        .team-card:hover .team-card-overlay {
            opacity: 1;
            visibility: visible;
        }
        
        .team-card-name-overlay {
            font-family: var(--font-primary);
            font-size: 1.4rem;
            color: var(--text-light);
            font-weight: 700;
            text-shadow: 0 0 10px rgba(240, 240, 240, 0.7);
            letter-spacing: 1px;
            line-height: 1.2;
            margin: 0;
        }
        .team-card-title {
            font-family: var(--font-primary);
            font-size: 0.9rem;
            color: var(--about-highlight-color);
            text-transform: uppercase;
            text-shadow: 0 0 8px var(--about-highlight-color);
            letter-spacing: 1px;
        }

        .team-card-twitter {
            display: flex;
            align-items: center;
            gap: 8px;
            color: var(--neon-secondary-color);
            text-decoration: none;
            font-size: 0.9rem;
            font-family: var(--font-primary);
            margin-top: 8px;
            transition: all 0.3s ease;
        }
        .team-card-twitter:hover {
            color: var(--text-light);
            transform: scale(1.05);
            text-shadow: 0 0 10px var(--neon-secondary-color);
        }
        .team-card-twitter svg {
            width: 16px;
            height: 16px;
            fill: currentColor;
        }

        /* --- LORE & BOKU PUB PAGE SPECIFIC STYLES (SHARED) --- */
        .lore-nav-container { justify-content: flex-start; }
        
        .lore-nav-image {
            width: 100%; 
            height: 100%; 
            background-size: cover; 
            background-repeat: no-repeat;
            background-position: center; 
            border: 2px solid var(--neon-border-color);
            box-shadow: 0 0 10px rgba(250, 33, 78, 0.4), 0 0 20px rgba(250, 33, 78, 0.2);
            border-radius: 8px; 
            position: relative;
        }
        
        .lore-nav-image::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 100%;
            width: 30px;
            height: 2px;
            background: var(--about-highlight-color);
            box-shadow: 0 0 10px var(--about-highlight-color);
            transform: translateY(-50%);
            z-index: 5;
        }

        .lore-content-area { padding: 20px 40px 20px 30px; }

        .lore-content p strong {
            color: var(--about-highlight-color);
            font-weight: 700;
            text-shadow: 0 0 5px rgba(204, 255, 0, 0.5);
            font-size: 1.05rem;
        }
        .lore-content p {
            font-size: 0.95rem;
            line-height: 1.7;
            color: var(--text-secondary);
            text-align: justify;
            margin-bottom: 1rem;
        }
        
        .lore-main-title {
            font-size: 2.5rem;
            color: var(--text-light);
            margin-bottom: 1.5rem;
            line-height: 1.1;
            padding-bottom: 15px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }
        
        .lore-image-text-container {
            display: flex;
            gap: 40px; 
            align-items: flex-start; 
            margin-bottom: 1.5rem;
        }
        
        .lore-content-image {
            flex-shrink: 0;
            width: 350px; 
            height: 350px; 
            background-size: cover;
            background-position: center;
            border-radius: 8px;
            border: 2px solid var(--neon-secondary-color);
            box-shadow: 0 0 8px rgba(0, 255, 255, 0.6);
            overflow: hidden;
            margin-top: 0; 
        }
        .lore-text-block {
            flex-grow: 1;
        }

        .lore-category-nav, .gallery-grid-nav {
            display: flex;
            gap: 30px;
            margin-bottom: 1rem; 
            padding-bottom: 5px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            background-color: transparent;
            flex-wrap: nowrap;
            overflow-x: auto;
            scrollbar-width: none;
            -ms-overflow-style: none;
            flex-shrink: 0;
        }
        
        .lore-category-nav::-webkit-scrollbar, .gallery-grid-nav::-webkit-scrollbar {
            display: none;
        }

        .lore-nav-link {
            color: var(--text-secondary);
            cursor: pointer;
            padding: 5px 0; 
            text-transform: uppercase;
            letter-spacing: 1px;
            transition: color 0.3s;
            position: relative;
            font-family: var(--font-primary);
            font-size: 0.9rem;
            flex-shrink: 0;
            white-space: nowrap;
        }
        .lore-nav-link.active {
            color: var(--text-light);
        }
        .lore-nav-link.active::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: -3px;
            width: 100%;
            height: 3px;
            background-color: var(--about-highlight-color);
            box-shadow: 0 0 5px var(--about-highlight-color);
        }

        /* --- GALLERY PAGE SPECIFIC STYLES --- */
        .gallery-filter-container {
            background-color: rgba(10, 1, 45, 0.5); 
            border: 1px solid var(--neon-border-color);
            box-shadow: 0 0 10px rgba(250, 33, 78, 0.2);
            border-radius: 8px; 
            padding: 0; 
            gap: 0; 
            overflow-y: auto;
        }
        .gallery-filter-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 20px;
            font-family: var(--font-primary);
            font-size: 1.2rem;
            color: var(--text-light);
            border-bottom: 3px solid var(--neon-border-color); 
            background-color: var(--bg-dark);
            box-shadow: 0 0 10px rgba(250, 33, 78, 0.5);
            margin-bottom: 20px;
            border-top-left-radius: 8px;
            border-top-right-radius: 8px;
        }
        .gallery-filter-header button {
            background: none;
            border: 1px solid var(--neon-secondary-color);
            color: var(--neon-secondary-color);
            font-size: 0.7rem;
            padding: 3px 8px;
            border-radius: 5px;
            cursor: pointer;
            transition: all 0.2s ease;
        }
        .gallery-filter-header button:hover {
            background-color: var(--neon-secondary-color);
            color: var(--bg-dark);
        }
        .gallery-search { padding: 0 20px 20px 20px; }
        .filter-category {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 10px 20px;
            font-size: 0.9rem;
            font-family: var(--font-primary);
            color: var(--text-secondary);
            cursor: pointer;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05); 
            border-top: 1px solid rgba(255, 255, 255, 0.05);
            transition: background-color 0.2s;
        }
        .filter-category.active {
            color: var(--neon-border-color);
            background-color: rgba(250, 33, 78, 0.1);
        }
        .filter-options {
            padding: 0px 20px 10px 30px;
            background-color: rgba(0,0,0,0.2);
        }
        .filter-option {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 8px 0;
            font-size: 0.85rem;
            color: var(--text-light);
            cursor: pointer;
        }
        .filter-option:hover span:first-child {
            color: var(--neon-secondary-color);
        }
        .filter-option .option-count {
            font-size: 0.8rem;
            color: var(--text-secondary);
        }
        .filter-option.selected {
             font-weight: bold;
             color: var(--neon-border-color);
        }
        .selected-trait-value {
            font-size: 0.8rem;
            color: var(--neon-secondary-color);
            margin-left: 5px;
        }
        .clear-trait-btn {
            font-size: 0.7rem;
            color: var(--text-secondary);
            margin-left: 8px;
            cursor: pointer;
        }
        .clear-trait-btn:hover { color: var(--neon-border-color); }
        
        .gallery-grid-container {
            flex-grow: 1;
            padding: 20px;
            border: 1px solid var(--neon-border-color);
            box-shadow: 0 0 10px rgba(250, 33, 78, 0.2);
            border-radius: 8px; 
            background-color: rgba(10, 1, 45, 0.5); 
            position: relative; 
            display: flex;
            flex-direction: column;
            min-height: 0;
            height: 100%; 
        }
        .gallery-grid-container::before { content: none; }

        .gallery-grid-info {
             padding: 10px 0;
             color: var(--text-secondary);
             font-size: 0.9rem;
             flex-shrink: 0;
        }

        .gallery-collection-select {
            width: 100%;
            background-color: var(--button-bg-dark);
            color: var(--text-light);
            border: 1px solid var(--neon-secondary-color);
            padding: 0.6rem 1.2rem;
            border-radius: 8px;
            font-family: var(--font-primary);
            font-size: 1rem;
            cursor: pointer;
            margin-bottom: 20px;
            -webkit-appearance: none;
            -moz-appearance: none;
            appearance: none;
            background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23f0f0f0%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E');
            background-repeat: no-repeat;
            background-position: right 1rem center;
            background-size: .65em auto;
        }
        .gallery-collection-select option {
            background-color: var(--bg-dark);
            color: var(--text-light);
        }

        .nft-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, 130px);
			grid-auto-rows: 130px;
            gap: 15px;
            padding: 10px 10px 10px 0;
            overflow-y: auto;
            flex-grow: 1;
            min-height: 0;
        }
        .nft-card {
            aspect-ratio: 1 / 1; 
            background-color: var(--gallery-nft-bg);
            border: 1px solid rgba(250, 33, 78, 0.5); 
            border-radius: 8px; 
            position: relative;
            overflow: hidden; 
        }
       
        .nft-card img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 8px;
        }

        .nft-card-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(10, 1, 45, 0.9);
            border-radius: 8px;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease, visibility 0.3s ease;
            z-index: 2;
            display: flex;
            flex-direction: column;
            padding: 8px;
            overflow-y: auto;
        }

        .nft-card:hover .nft-card-overlay {
            opacity: 1;
            visibility: visible;
        }

        .nft-card-details {
            list-style: none;
            padding: 0;
            margin: 0;
            display: flex;
            flex-direction: column;
            gap: 4px;
        }

        .nft-card-trait {
            display: flex;
            justify-content: space-between;
            font-family: var(--font-secondary);
            font-size: 0.7rem;
        }

        .nft-card-trait .trait-type {
            color: var(--text-secondary);
            margin-right: 5px;
            flex-shrink: 0;
        }

        .nft-card-trait .trait-value {
            color: var(--text-light);
            text-align: right;
            font-weight: bold;
        }
        
        .nft-card-overlay::-webkit-scrollbar {
            width: 5px;
        }
        .nft-card-overlay::-webkit-scrollbar-track {
            background: rgba(0, 0, 0, 0.2);
        }
        .nft-card-overlay::-webkit-scrollbar-thumb {
            background-color: var(--neon-secondary-color);
            border-radius: 3px;
        }

        /* --- Custom Scrollbar Styles --- */
        .gallery-filter-container::-webkit-scrollbar, 
        .nft-grid::-webkit-scrollbar,
        .content-area::-webkit-scrollbar {
            width: 8px;
        }

        .gallery-filter-container::-webkit-scrollbar-track, 
        .nft-grid::-webkit-scrollbar-track,
        .content-area::-webkit-scrollbar-track {
            background: rgba(0, 0, 0, 0.2);
            border-radius: 4px;
        }

        .gallery-filter-container::-webkit-scrollbar-thumb, 
        .nft-grid::-webkit-scrollbar-thumb,
        .content-area::-webkit-scrollbar-thumb {
            background-color: var(--neon-secondary-color);
            border-radius: 4px;
            border: 1px solid var(--neon-secondary-color);
            box-shadow: 0 0 5px var(--neon-secondary-color);
        }

        .gallery-filter-container::-webkit-scrollbar-thumb:hover, 
        .nft-grid::-webkit-scrollbar-thumb:hover,
        .content-area::-webkit-scrollbar-thumb:hover {
            background-color: #66a1ff; 
            box-shadow: 0 0 10px var(--neon-secondary-color);
        }


        /* --- Partnerships Showcase Styles --- */
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }
        .partnership-content-area {
            padding: 20px 30px; 
            background-color: rgba(10, 1, 45, 0.7); 
            display: flex; 
            flex-direction: column;
            height: 100%; 
            justify-content: center; 
        }
        .partnership-showcase {
            display: flex;
            gap: 40px;
            align-items: center;
            flex-grow: 1;
            animation: fadeIn 0.5s ease-in-out;
        }
        .showcase-image {
            flex-basis: 300px;
            height: 300px;
            flex-shrink: 0;
            background-size: cover;
            background-position: center;
            border: 2px solid var(--partnerships-highlight);
            box-shadow: 0 0 15px var(--partnerships-highlight);
            border-radius: 8px;
        }
        .showcase-details {
            position: relative;
            flex-grow: 1;
        }
        .showcase-details h2 {
            font-size: 2.5rem;
            color: var(--text-light);
            margin-bottom: 0.2rem;
            line-height: 1.1;
        }
        .showcase-details .tagline {
            font-family: var(--font-primary);
            font-size: 1.1rem;
            color: var(--neon-secondary-color);
            margin-bottom: 1rem; 
            text-transform: uppercase;
            letter-spacing: 1px;
        }
        .partnership-selector {
            display: flex;
            justify-content: center;
            gap: 25px;
            margin-bottom: 10px;
            flex-shrink: 0;
            flex-wrap: wrap;
        }
        
        .selector-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 5px; 
            cursor: pointer;
            transition: transform 0.3s ease;
        }
        .selector-item:hover {
            transform: scale(1.05);
        }
        .selector-logo {
            width: 140px; 
            height: 60px; 
            object-fit: contain;
            background-color: rgba(0,0,0,0.3);
            border: 2px solid var(--neon-border-color);
            border-radius: 8px;
            transition: all 0.3s ease;
            opacity: 0.6;
            filter: brightness(0.7);
        }
        .selector-label {
            font-family: var(--font-primary);
            font-size: 0.8rem;
            color: var(--text-secondary);
            transition: all 0.3s ease;
            text-transform: uppercase;
            position: relative;
            padding-bottom: 5px;
        }
        .selector-item:hover .selector-logo {
            opacity: 1;
            filter: brightness(1);
        }
        .selector-item:hover .selector-label {
            color: var(--text-light);
        }
        .selector-item.active .selector-logo {
            opacity: 1;
            filter: brightness(1);
            border-color: var(--partnerships-highlight);
            box-shadow: 0 0 10px var(--partnerships-highlight);
        }
        .selector-item.active .selector-label {
            color: var(--partnerships-highlight);
            text-shadow: 0 0 5px var(--partnerships-highlight);
        }
        
        .selector-item.active .selector-label::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: 0;
            width: 100%;
            height: 2px;
            background-color: var(--partnerships-highlight);
            box-shadow: 0 0 8px var(--partnerships-highlight);
        }
        
        .visit-site-btn {
            background-color: var(--button-bg-dark);
            color: var(--partnerships-highlight);
            border: 1px solid var(--partnerships-highlight);
            padding: 0.7rem 1.5rem;
            border-radius: 8px; 
            font-family: var(--font-primary);
            font-size: 0.9rem;
            cursor: pointer;
            box-shadow: 0 0 8px rgba(204, 255, 0, 0.5);
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 5px;
            transition: all 0.3s ease;
            margin-top: 1rem; 
        }
        .visit-site-btn:hover {
            background-color: rgba(204, 255, 0, 0.1);
            color: var(--text-light);
            box-shadow: 0 0 15px var(--partnerships-highlight);
        }

        /* --- Boku Pub Section Styles --- */
        .boku-pub-section > .content-area {
            background-image: 
                linear-gradient(rgba(10, 1, 45, 0.8), rgba(10, 1, 45, 0.8)),
                url('assets/images/boku-pub/boku-pub-bg.png');
            background-size: cover;
            background-position: center;
            padding: 1.5rem 2.5rem;
            height: 100%; 
        }
        .pub-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-bottom: 1rem;
            margin-bottom: 1.5rem;
            border-bottom: 1px solid rgba(255,255,255,0.1);
        }
        .pub-title {
            display: flex;
            align-items: center;
            gap: 1rem;
        }
        .pub-title img {
            height: 40px;
        }
        .pub-title h2 {
            font-size: 2.5rem;
            color: var(--about-highlight-color);
            text-shadow: 0 0 8px var(--about-highlight-color);
        }
        .pub-category-nav {
            display: flex;
            gap: 1.5rem;
        }
        .pub-nav-link {
            font-family: var(--font-primary);
            font-size: 1.2rem;
            color: var(--text-secondary);
            cursor: pointer;
            transition: color 0.3s ease;
            position: relative;
            padding-bottom: 5px;
        }
        .pub-nav-link.active, .pub-nav-link:hover {
            color: var(--about-highlight-color);
        }
        
        .pub-nav-link.active::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: -3px;
            width: 100%;
            height: 3px;
            background-color: var(--about-highlight-color);
            box-shadow: 0 0 8px var(--about-highlight-color);
        }

        .pub-main-content {
            flex-grow: 1;
            display: flex;
            gap: 2rem;
            min-height: 0;
        }
        .pub-connect-column {
            flex-basis: 25%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 1.5rem;
        }
        .pub-beer-mug {
            width: 100%;
            max-width: 220px;
            filter: drop-shadow(0 0 15px #ccff00);
        }
        .connect-btn {
            background-color: var(--about-highlight-color);
            color: var(--bg-dark);
            border: none;
            padding: 0.8rem 1.8rem;
            font-family: var(--font-primary);
            font-size: 1.1rem;
            font-weight: 700;
            border-radius: 8px;
            cursor: pointer;
            box-shadow: 0 0 15px var(--about-highlight-color);
            transition: all 0.3s ease;
        }
        .connect-btn:hover {
            transform: scale(1.05);
            box-shadow: 0 0 25px var(--about-highlight-color);
        }
        .pub-stats-column, .pub-emissions-column {
            flex-basis: 37.5%;
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }
        .pub-stats-block h3, .pub-emissions-block h3 {
            font-size: 1.3rem;
            margin-bottom: 1rem;
            color: var(--text-light);
        }
        .pub-stats-list .stat-item, .emissions-list .emission-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0.6rem 0;
            border-bottom: 1px solid rgba(255,255,255,0.1);
        }
        .stat-item span, .emission-item span {
            font-family: var(--font-primary);
            font-size: 1rem;
            color: var(--text-light);
        }
        .stat-item span:first-child, .emission-details .name {
            color: var(--about-highlight-color);
        }
        .emission-item {
            gap: 1rem;
        }
        .emission-item img {
            width: 64px;
            height: 64px;
            border-radius: 8px;
            border: 1px solid var(--neon-secondary-color);
        }
        .emission-details {
            flex-grow: 1;
        }
        .emission-details .value {
            font-size: 0.9rem;
            color: var(--text-light);
        }
        .emission-details .daily {
            font-size: 0.8rem;
            color: var(--about-highlight-color);
            opacity: 0.7;
        }
        /* --- Boku Pub "Brew" Tab Styles --- */
        .brew-content {
            align-items: center;
        }
        .brew-nft-column {
            flex-basis: 40%;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        .brew-nft-display {
            width: 100%;
            max-width: 400px;
            aspect-ratio: 1 / 1;
            border: 3px solid var(--about-highlight-color);
            border-radius: 15px;
            box-shadow: 0 0 20px var(--about-highlight-color);
            background-color: rgba(0,0,0,0.3);
            background-image: url('assets/images/boku-pub/brew-nft-placeholder.png'); 
            background-size: contain;
            background-repeat: no-repeat;
            background-position: center;
        }
        .brew-controls-column {
            flex-basis: 60%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 1rem;
            padding: 0 2rem;
        }
        .brew-controls-column .pub-beer-mug {
             max-width: 160px;
        }
        .brew-input-group {
            display: flex;
            width: 100%;
            max-width: 500px;
            border: 1px solid var(--text-secondary);
            border-radius: 8px;
            overflow: hidden;
            align-items: stretch;
        }
        .brew-input-group .boku-label {
            padding: 0.75rem 1.5rem;
            font-family: var(--font-primary);
            font-size: 1.1rem;
            background-color: rgba(0,0,0,0.2);
            flex-grow: 1;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .brew-input-group .max-btn, .claim-input-group .max-btn {
            background: transparent;
            border: 1px solid var(--text-secondary);
            color: var(--text-secondary);
            font-size: 0.7rem;
            padding: 2px 5px;
            border-radius: 4px;
            cursor: pointer;
            margin-left: auto;
        }
        .brew-input-group .connect-btn {
            border-radius: 0;
            padding: 0 2.5rem;
        }

        .brew-presets {
            display: flex;
            gap: 1rem;
            width: 100%;
            max-width: 500px;
        }
        .brew-presets button {
            flex-grow: 1;
            background: transparent;
            border: 1px solid var(--text-secondary);
            color: var(--text-light);
            padding: 0.75rem 1rem;
            border-radius: 8px;
            font-family: var(--font-primary);
            font-size: 1rem;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        .brew-presets button:hover {
            border-color: var(--about-highlight-color);
            color: var(--about-highlight-color);
        }
        .quick-brew-info {
            text-align: center;
            font-size: 0.8rem;
            color: var(--text-secondary);
            width: 100%;
            max-width: 500px;
        }
        .quick-brew-info span {
            color: var(--text-light);
            font-family: var(--font-primary);
        }
        .brewed-status {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            font-family: var(--font-primary);
            color: var(--text-light);
            font-size: 1.1rem;
        }
        .brewed-status img {
            width: 32px;
            filter: drop-shadow(0 0 8px #ccff00);
        }
        .claim-btn {
            width: 100%;
            max-width: 500px;
        }

        /* --- Boku Pub "Claim" Tab Styles --- */
        .claim-input-group {
            display: flex;
            width: 100%;
            max-width: 500px;
            border: 2px solid var(--about-highlight-color);
            border-radius: 8px;
            overflow: hidden;
            align-items: stretch;
            box-shadow: 0 0 10px var(--about-highlight-color);
        }
        .claim-input-group .boku-label {
            padding: 0.75rem 1rem;
            font-family: var(--font-primary);
            font-size: 1rem;
            background-color: var(--bg-dark);
            flex-grow: 1;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
            color: var(--text-light);
        }
        .claim-input-group .connect-btn {
            border-radius: 0;
            font-size: 1.1rem;
            padding: 0 2rem;
            flex-shrink: 0;
        }


		/* --- FOOTER STYLES --- */
		#app-footer {
			padding: 1rem 4rem;
			text-align: right;
			background-color: transparent;
			color: var(--text-secondary);
			z-index: 10;
            flex-shrink: 0;
		}
		#app-footer p {
			margin: 0;
			line-height: 1.5;
			display: flex;
			justify-content: space-between;
			align-items: flex-end;
		}
		#app-footer a {
			color: var(--text-secondary);
			text-decoration: none;
			display: flex;
			align-items: center;
			transition: color 0.3s ease, transform 0.2s ease;
		}
		#app-footer a:hover {
			color: var(--neon-border-color);
			transform: translateY(-2px);
		}
		#app-footer i { 
			font-size: 24px;
		}
        .social-links {
            display: flex;
            gap: 1.5rem;
            align-items: center;
        }
        .social-icon-img {
            height: 24px;
            width: auto;
            filter: grayscale(1) brightness(1.5);
            opacity: 0.7;
            transition: all 0.3s ease;
        }
        #app-footer a:hover .social-icon-img {
            filter: drop-shadow(0 0 5px var(--neon-border-color));
            opacity: 1;
        }
        
        .footer-options-container {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            gap: 0.25rem;
        }
        .footer-category {
            display: flex;
            align-items: center;
            gap: 12px;
        }
        .category-label {
            font-family: var(--font-primary);
            color: var(--text-light);
            text-transform: uppercase;
            font-size: 0.85rem;
        }

        .footer-options-container button {
            background: none;
            border: none;
            color: var(--text-secondary);
            font-family: var(--font-primary);
            font-size: 0.8rem;
            cursor: pointer;
            transition: color 0.3s;
            padding: 5px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .footer-options-container button:hover {
            color: var(--text-light);
        }
        .footer-options-container button.active {
            color: var(--neon-border-color);
            text-shadow: 0 0 5px var(--neon-border-color);
        }
        .footer-options-container button i {
            font-size: 18px; 
            line-height: 1;
        }

        /* --- CONSOLIDATED & FINALIZED MOBILE MEDIA QUERIES --- */
        @media (max-width: 1280px) {
            body {
                height: auto;
                overflow-y: auto;
                padding: 0;
                --is-mobile: 1;
            }
            .boku-labz-container {
                height: auto;
                min-height: 100vh;
                max-height: none; 
            }
            .about-section, .lore-section, .gallery-section, .home-section, .boku-pub-section {
                overflow: visible;
                flex-direction: column;
                gap: 20px;
                padding: 2rem;
                height: auto; 
            }
            
            .partnerships-section {
                overflow: visible;
                flex-direction: column;
                gap: 20px;
                padding: 2rem;
                height: auto;
            }
            
            .boku-pub-section .pub-main-content {
                display: block !important;
            }
            .pub-connect-column,
            .pub-stats-column,
            .pub-emissions-column,
            .brew-nft-column,
            .brew-controls-column {
                width: 100%;
                max-width: 500px;
                min-width: 280px;
                margin: 0 auto 2.5rem auto;
                padding: 0;
                flex-basis: auto !important;
            }
            .pub-main-content > div:last-of-type {
                margin-bottom: 0;
            }
            
            .content-area, 
            .gallery-grid-container,
            .about-content-area, 
            .lore-content-area,
            .about-section.team-section-active .about-content-area,
            .team-grid-container {
                overflow-y: visible;
                height: auto;
                min-height: unset;
            }
            
            .gallery-grid-container, .about-nav-container, .lore-nav-container, .gallery-filter-container {
                width: 100%;
                flex-basis: auto;
                max-height: none;
                overflow-y: visible;
                height: auto; 
            }
            
            .about-nav-container, .lore-nav-container, .gallery-filter-container {
                flex-direction: column;
            }
            
            .about-nav-container {
                align-items: stretch; 
                gap: 15px;              
            }

            /* --- UPDATED MOBILE ABOUT NAV STYLES --- */
            .about-nav-item {
                width: 100%;
                height: 60px; /* Base height for inactive items */
                font-size: 1rem;
                transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Snappy bounce effect */
                opacity: 0.7;
            }

            .about-nav-item.active {
                height: 130px; /* Significantly larger height for the active button */
                font-size: 1.6rem; /* Larger font for the active button */
                opacity: 1;
                box-shadow: 0 0 20px var(--about-highlight-color);
                border: 2px solid var(--about-highlight-color);
            }
            /* --------------------------------------- */

            .about-nav-item:nth-child(3) {
                margin-top: 0;
            }
            .about-nav-item.active::after {
                display: none;
            }
            .about-content-area::before, .lore-content-area::before, .home-content-area::before {
                content: none;
            }
            .lore-nav-image {
                display: none;
            }
            .filter-category {
                border-top: none;
            }
            .team-card {
                flex-basis: 100%;
                max-width: 400px;
            }
            .partnership-showcase {
                flex-direction: column;
                flex-grow: 0; 
            }
            .showcase-image {
                width: 100%;
                height: 250px;
            }
            .partnership-selector {
                flex-wrap: wrap;
            }
            .selector-logo {
                width: 100px;
            }
            .lore-image-text-container {
                flex-direction: column;
                align-items: center;
                gap: 10px;
            }
            .lore-content-image {
                margin-top: 0;
                width: 100%;
                height: 300px; 
            }
            .header {
                padding: 1.5rem 2rem;
            }
            .main-nav ul {
                display: none;
            }
            .hamburger {
                display: block;
            }
            .nav-links.active {
                display: flex;
                flex-direction: column;
                position: absolute;
                top: 80px;
                left: 2rem;
                right: 2rem;
                width: auto;
                background-color: var(--bg-dark);
                border: 1px solid var(--neon-border-color);
                border-top: none;
                box-shadow: 0 0 5px 10px rgba(0, 0, 0, 0.5);
                z-index: 100;
                padding: 1rem 0;
                border-bottom-left-radius: 8px;
                border-bottom-right-radius: 8px;
            }
            .nav-links.active li {
                text-align: center;
                margin: 10px 0;
            }
            .nav-links.active a {
                font-size: 1.25rem;
            }
            .header-buttons {
                display: none;
            }
            .nav-links.active .mobile-header-buttons {
                display: flex;
            }
            .pub-header {
                flex-direction: column;
                gap: 1rem;
            }
            .home-content-area {
                min-height: 40vh;
            }
            .about-content-area, .lore-content-area, .gallery-grid-container {
                padding: 20px;
            }
            .about-content-area h2, .lore-content-area h2, .showcase-details h2, .pub-title h2 {
                font-size: 2rem;
            }
            .about-content-area p, .lore-content-area p, .showcase-details p {
                font-size: 0.85rem;
            }
            .nft-grid {
                grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
                gap: 10px;
                height: auto;
                overflow-y: visible;
            }
            .team-grid {
                gap: 15px;
            }
            .showcase-details .tagline {
                font-size: 0.9rem;
            }
            .visit-site-btn {
                padding: 0.6rem 1rem;
                font-size: 0.8rem;
            }
            
            #app-footer {
                padding: 2rem;
                text-align: center;
            }
			#app-footer p {
                flex-direction: column-reverse;
                align-items: center; 
                gap: 1.5rem;
            }
            .social-links {
                align-self: center; 
                justify-content: center;
                width: 100%;
            }
            .footer-options-container {
                align-items: center; 
                width: 100%;
            }
            .footer-category {
                justify-content: center; 
                width: 100%;
            }
        }
