@import url('https://fonts.googleapis.com/css2?family=Michroma&display=swap');

/* Header Title Refinement */
.logo-text {
    font-size: 0.75rem !important;
    /* Smaller size (12px) */
    letter-spacing: 0.25em !important;
    font-weight: 400;
    /* Regular weight */
    display: inline-block;
    vertical-align: middle;
}

/* Global Iridescent Borders & Accents */
.glass-panel,
.product-card,
.feature-card,
.nav-dropdown,
.redeem-input,
.btn-matte,
.user-dropdown {
    position: relative;
}

/* Iridescent Border Overlay */
.glass-panel::after,
.product-card::after,
.feature-card::after,
.nav-dropdown::after,
.redeem-input::after,
.btn-matte::after,
.user-dropdown::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: var(--accent-iridescent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.2;
    transition: opacity 0.3s ease;
}

.glass-panel:hover::after,
.product-card:hover::after,
.feature-card:hover::after,
.btn-matte:hover::after {
    opacity: 0.6;
}

/* Active Nav Item Iridescence */
.nav-item a:hover {
    background: var(--accent-iridescent);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal-premium {
    animation: fadeIn 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Header States */
header {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

header.scrolled-down {
    transform: translateY(-100%);
}

header.scrolled-up {
    transform: translateY(0);
    background: rgba(5, 0, 17, 0.8);
    backdrop-filter: blur(20px);
}

/* 3D Orb Enhancements */
#cosmic-renderer {
    transition: opacity 2s ease-in-out;
}

:root {
    --font-heading: 'Michroma', sans-serif;
    --font-body: 'Michroma', sans-serif;
    /* Unified font for zen minimalism */

    /* Light Theme (Monochrome + Iridescent) */
    --bg-primary: #ffffff;
    --bg-secondary: #f4f4f5;
    --text-primary: #000000;
    --text-secondary: #52525b;
    --border-color: rgba(0, 0, 0, 0.1);

    /* Iridescent Accents (KOZNEO Palette) */
    --accent-iridescent: linear-gradient(135deg, #B388FF 0%, #00E5FF 35%, #76FF03 70%, #FFFFFF 100%);
    --accent-purple: #000000;
    /* Replaced with black for structure */
    --accent-muted: #71717a;
    --glass-bg: rgba(255, 255, 255, 0.4);
    --glass-border: rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] {
    /* Dark Theme (Strict Black & White + Iridescent) */
    --bg-primary: #000000;
    --bg-secondary: #050505;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --border-color: rgba(255, 255, 255, 0.15);

    /* Iridescent Accents (KOZNEO Palette) */
    --accent-iridescent: linear-gradient(135deg, #B388FF 0%, #00E5FF 35%, #76FF03 70%, #FFFFFF 100%);
    --accent-purple: #ffffff;
    --accent-muted: #52525b;
    --glass-bg: rgba(0, 0, 0, 0.2);
    --glass-border: rgba(255, 255, 255, 0.1);
}

/* Replaces Lemon Milk completely */
body {
    font-family: var(--font-body);
}

/* Utilities */
.clip-path-polygon {
    clip-path: polygon(10% 0, 100% 0, 100% 70%, 90% 100%, 0 100%, 0 30%);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #050011;
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #7000ff;
}

/* Global Font Weights - Reset to default */
h1,
h2,
h3,
h4,
h5,
h6,
strong,
b {
    font-weight: inherit;
}

body,
p,
span,
a,
div {
    font-weight: inherit;
}

/* Enhanced Reactive Background - Iridescent Glassmorphism */
/* Enhanced gradient-mesh */
/* Background Particles Container */
.particles-container {
    position: fixed;
    inset: 0;
    z-index: -50;
    background-color: var(--bg-primary);
    overflow: hidden;
}

.gradient-mesh::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(circle at 50% 50%, rgba(139, 0, 255, 0.15), transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(0, 240, 255, 0.1), transparent 40%);
    animation: mesh-move 20s ease-in-out infinite alternate;
    opacity: 0.7;
}

@keyframes mesh-move {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(-10%, 10%) scale(1.1);
    }
}

/* Global Font Weight Enforcement */
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
button,
span,
div {
    font-weight: 400 !important;
}

.font-bold,
.font-semibold,
.font-medium {
    font-weight: 700 !important;
}

/* Glassmorphism Utilities */
/* Premium Glassmorphism */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid var(--glass-border);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .glass-panel {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.05);
}

.glass-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 1px;
    /* border width */
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.2));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.8;
}

.glass-panel:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6);
}

.glass-panel:hover::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.03), transparent 50%);
    pointer-events: none;
}

.glass-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

/* Glassmorphism Orbs */
.glassmorphism-orb {
    position: fixed;
    border-radius: 50% !important;
    /* Override squared design */
    backdrop-filter: blur(60px);
    pointer-events: none;
    mix-blend-mode: screen;
    animation: float-orb 25s ease-in-out infinite;
    z-index: -10;
}


.glassmorphism-orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 0, 255, 0.2), transparent 70%);
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.glassmorphism-orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(107, 0, 217, 0.15), transparent 70%);
    top: 60%;
    right: 10%;
    animation-delay: 8s;
}

.glassmorphism-orb-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(147, 51, 234, 0.12), transparent 70%);
    bottom: 15%;
    left: 40%;
    animation-delay: 16s;
}

@keyframes float-orb {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(30px, -40px) scale(1.1);
    }

    50% {
        transform: translate(-20px, 30px) scale(0.9);
    }

    75% {
        transform: translate(40px, 20px) scale(1.05);
    }
}

/* Navbar Scroll Fade */
header {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

header.scrolled-down {
    opacity: 0;
    transform: translateY(-100%);
    pointer-events: none;
}

header.scrolled-up {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

/* 3D Hero Element */
.hero-3d-element {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1200px;
    height: 1200px;
    background:
        conic-gradient(from 0deg at 50% 50%,
            rgba(112, 0, 255, 0.3) 0deg,
            rgba(0, 240, 255, 0.1) 90deg,
            rgba(112, 0, 255, 0.2) 180deg,
            rgba(0, 240, 255, 0.1) 270deg,
            rgba(112, 0, 255, 0.3) 360deg);
    border-radius: 50%;
    filter: blur(180px);
    animation: rotate-3d 40s linear infinite;
    z-index: -15;
    pointer-events: none;
    mix-blend-mode: screen;
    opacity: 0.8;
}


@keyframes rotate-3d {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Typewriter Animation */
.typewriter {
    display: inline-block;
    border-right: 2px solid rgba(168, 85, 247, 0.8);
    padding-right: 5px;
    animation: blink-caret 0.75s step-end infinite;
    min-height: 1.2em;
    white-space: normal;
    word-break: break-word;
}

@keyframes blink-caret {

    from,
    to {
        border-color: transparent;
    }

    50% {
        border-color: rgba(168, 85, 247, 0.8);
    }
}

.typing {
    animation: typing 2s steps(40, end);
}

@keyframes typing {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

/* Slow Pulse Animation */
@keyframes pulse-slow {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.1);
    }
}

.animate-pulse-slow {
    animation: pulse-slow 8s ease-in-out infinite;
}

/* Floating Orbs - Updated Colors */
.floating-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    mix-blend-mode: screen;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 0, 255, 0.5) 0%, rgba(139, 0, 255, 0.15) 40%, transparent 70%);
    filter: blur(80px);
    top: 20%;
    left: 10%;
    animation: float-1 25s infinite ease-in-out;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(75, 0, 130, 0.4) 0%, rgba(75, 0, 130, 0.1) 40%, transparent 70%);
    filter: blur(90px);
    top: 60%;
    right: 15%;
    animation: float-2 30s infinite ease-in-out;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(107, 0, 217, 0.35) 0%, rgba(107, 0, 217, 0.08) 40%, transparent 70%);
    filter: blur(70px);
    bottom: 10%;
    left: 50%;
    animation: float-3 20s infinite ease-in-out;
}

@keyframes float-1 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(50px, -80px) scale(1.1);
    }

    66% {
        transform: translate(-30px, 60px) scale(0.95);
    }
}

@keyframes float-2 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(-60px, 70px) scale(1.05);
    }

    66% {
        transform: translate(40px, -50px) scale(0.9);
    }
}

@keyframes float-3 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-40px, -60px) scale(1.15);
    }
}

/* Parallax Elements */
.parallax {
    transition: transform 0.1s ease-out;
}

.parallax-slow {
    transition: transform 0.2s ease-out;
}

.parallax-fast {
    transition: transform 0.05s ease-out;
}

/* Smooth Scroll Parallax */
.scroll-parallax {
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Clean Partners Carousel */
.partners-carousel .marquee-content>div {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}

.partners-carousel .marquee-content span {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.4);
    transition: color 0.3s ease;
}

.partners-carousel .marquee-content>div:hover span {
    color: rgba(255, 255, 255, 0.7);
}

/* Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    filter: blur(10px);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

/* Marquee / Auto-Scroll */
@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.marquee-container {
    display: flex;
    overflow: hidden;
    user-select: none;
    gap: 1.5rem;
}

.marquee-content {
    flex-shrink: 0;
    display: flex;
    gap: 1.5rem;
    min-width: 100%;
    animation: scroll-left 40s linear infinite;
}

.marquee-container:hover .marquee-content {
    animation-play-state: paused;
}

/* Purple Matte Button */
.btn-matte {
    background-color: #7000ff;
    color: white;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 4px 20px rgba(112, 0, 255, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-matte:hover {
    background-color: #8a2be2;
    transform: translateY(-2px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        0 8px 30px rgba(112, 0, 255, 0.6);
}

.zoom-in {
    opacity: 0;
    transform: scale(0.95);
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.zoom-in.active {
    opacity: 1;
    transform: scale(1);
}

/* Enhancements */
@keyframes orbPulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.4;
        filter: blur(100px);
    }

    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.6;
        filter: blur(120px);
    }

    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.4;
        filter: blur(100px);
    }
}

.animate-orb-premium {
    animation: orbPulse 12s infinite ease-in-out;
}

/* FAQ Accordion */
details>summary {
    list-style: none;
}

details>summary::-webkit-details-marker {
    display: none;
}

details[open] summary~* {
    animation: fadeIn 0.3s ease-in-out;
}

/* Mobile Hamburger Menu */
.hamburger {
    cursor: pointer;
    z-index: 101;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: white;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    max-width: 350px;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(80px);
    -webkit-backdrop-filter: blur(80px);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 100;
    overflow-y: auto;
    padding: 120px 40px 40px;
    display: flex;
    flex-direction: column;
}

.mobile-menu::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 2px;
    height: 100%;
    background: var(--accent-iridescent);
    opacity: 0.5;
}


.mobile-menu.active {
    left: 0;
}

.mobile-menu nav a {
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu.active nav a {
    opacity: 1;
    transform: translateX(0);
}

.mobile-menu.active nav a:nth-child(1) {
    transition-delay: 0.1s;
}

.mobile-menu.active nav a:nth-child(2) {
    transition-delay: 0.15s;
}

.mobile-menu.active nav a:nth-child(3) {
    transition-delay: 0.2s;
}

.mobile-menu.active nav a:nth-child(4) {
    transition-delay: 0.25s;
}

.mobile-menu.active nav a:nth-child(5) {
    transition-delay: 0.3s;
}

.mobile-menu.active nav a:nth-child(6) {
    transition-delay: 0.35s;
}

.mobile-menu.active nav a:nth-child(7) {
    transition-delay: 0.4s;
}

.mobile-menu-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 99;
}

.mobile-menu-backdrop.active {
    opacity: 1;
    pointer-events: all;
}

/* Sandbox App Grid */
.app-card {
    display: block;
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.app-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(112, 0, 255, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(112, 0, 255, 0.1);
}

.app-card-inner {
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
}

.app-icon-wrapper {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
}

.app-card:hover .app-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    filter: brightness(1.2);
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
}

/* Re-styled Animated Hamburger */
.hamburger {
    position: relative;
    width: 24px;
    height: 14px;
    /* More compact */
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 101;
    padding: 0;
}

.hamburger div {
    width: 100%;
    height: 1px;
    background-color: white;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 10px rgba(112, 0, 255, 0);
    /* Preset shadow */
}

.hamburger:hover div {
    background-color: #7000ff;
    box-shadow: 0 0 10px rgba(112, 0, 255, 0.8);
}

.hamburger.active div:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}

.hamburger.active div:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active div:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

/* Navigation Enhancements */
.wallet-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(112, 0, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 0.15em;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.wallet-btn:hover {
    background: rgba(112, 0, 255, 0.2);
    border-color: #7000ff;
    box-shadow: 0 0 20px rgba(112, 0, 255, 0.2);
}

.lang-selector {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 16px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    margin-right: 8px;
}

.lang-btn {
    opacity: 0.4;
    transition: all 0.3s ease;
}

.lang-btn:hover,
.lang-btn.active {
    opacity: 1;
    color: white;
}

.cart-icon {
    position: relative;
    width: 24px;
    height: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #7000ff;
    color: white;
    font-size: 9px;
    font-weight: bold;
    padding: 2px 5px;
    border-radius: 10px;
    min-width: 16px;
    text-align: center;
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50% !important;
    /* Circular override */
    background: linear-gradient(135deg, #7000ff, #a855f7);
    border: 2px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    box-shadow: 0 0 15px rgba(112, 0, 255, 0.4);
}

.user-avatar:hover {
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 25px rgba(112, 0, 255, 0.7);
    transform: scale(1.05);
}

/* Matte Black Footer */
footer {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 1) 100%) !important;
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
}

footer a:hover {
    text-shadow: 0 0 10px rgba(112, 0, 255, 0.6);
}

/* Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    /* Responsive Typography */
    h1 {
        font-size: clamp(2.5rem, 8vw, 4.5rem) !important;
        letter-spacing: 0.1em !important;
    }

    .hero-title-main {
        font-size: clamp(2rem, 10vw, 5rem) !important;
    }
}

/* Navigation Dropdown Menus */
.nav-item {
    position: relative;
    padding-bottom: 10px;
    /* Bridge gap for hover */
    margin-bottom: -10px;
}

.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(5, 0, 17, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 0;
    min-width: 220px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 100;
}

.nav-item:hover .nav-dropdown {
    opacity: 1;
    pointer-events: all;
    transform: translateX(-50%) translateY(0);
}

/* Dropdown Bridge to prevent hover loss */
.nav-item::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 15px;
    /* Bridge the 10px gap plus safety buffer */
    background: transparent;
    z-index: 90;
}


.nav-dropdown a {
    display: block;
    padding: 10px 20px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 10px;
    letter-spacing: 0.15em;
    transition: all 0.2s ease;
    border-left: 2px solid transparent;
}

.nav-dropdown a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.05);
    border-left-color: #7000ff;
    padding-left: 24px;
}

/* Scroll Animations */
[data-scroll] {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-scroll="left"] {
    transform: translateX(-60px);
}

[data-scroll="right"] {
    transform: translateX(60px);
}

[data-scroll="up"] {
    transform: translateY(40px);
}

[data-scroll="scale"] {
    transform: scale(0.9);
}

[data-scroll].animate-in {
    opacity: 1 !important;
    transform: translate(0, 0) scale(1) !important;
}

/* Stagger animation delays */
[data-scroll][data-delay="1"] {
    transition-delay: 0.1s;
}

[data-scroll][data-delay="2"] {
    transition-delay: 0.2s;
}

[data-scroll][data-delay="3"] {
    transition-delay: 0.3s;
}

[data-scroll][data-delay="4"] {
    transition-delay: 0.4s;
}

[data-scroll][data-delay="5"] {
    transition-delay: 0.5s;
}

/* Japanese Minimalist Design Elements */
.zen-divider {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #7000ff, transparent);
    margin: 40px auto;
}

.japanese-corner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
    border-left: 2px solid rgba(255, 255, 255, 0.1);
}

/* Enhanced spacing for Ma (negative space) */
section {
    padding-top: 80px;
    padding-bottom: 80px;
}

/* Clean form inputs - Japanese minimalism */
input[type="text"],
input[type="email"],
input[type="file"],
textarea,
select {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 0;
    color: white;
    font-size: 14px;
    transition: all 0.3s ease;
    width: 100%;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-bottom-color: #7000ff;
    box-shadow: 0 1px 0 0 rgba(112, 0, 255, 0.3);
}

/* Game Hero Slider */
.hero-slider {
    position: relative;
    width: 100%;
    height: 85vh;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 8s ease-out;
}

.hero-slide.active .hero-slide-bg {
    transform: scale(1.1);
}

/* Slider Navigation Dots */
.slider-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.slider-dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: #7000ff;
    width: 30px;
}

.slider-dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

/* Red accent for CTAs (Japanese flag inspiration) */
.btn-accent-red {
    background: linear-gradient(135deg, #E63946, #C1121F);
    color: white;
    border: none;
    padding: 12px 32px;
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 0.15em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(230, 57, 70, 0.3);
}

.btn-accent-red:hover {
    background: linear-gradient(135deg, #F4A261, #E63946);
    box-shadow: 0 6px 30px rgba(230, 57, 70, 0.5);
    transform: translateY(-2px);
}

/* Iridescent Hero Graphic */
.iridescent-hero {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1600px;
    height: 100vh;
    background:
        radial-gradient(ellipse at 30% 40%, rgba(138, 43, 226, 0.4), transparent 50%),
        radial-gradient(ellipse at 70% 60%, rgba(0, 240, 255, 0.3), transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(255, 105, 180, 0.2), transparent 60%);
    filter: blur(120px);
    opacity: 0.7;
    pointer-events: none;
    z-index: -1;
    mix-blend-mode: screen;
}

/* Theme Toggle */
.theme-toggle {
    position: relative;
    width: 60px;
    height: 30px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.theme-toggle-slider {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    background: white;
    transition: all 0.3s ease;
}

.theme-toggle.active .theme-toggle-slider {
    left: 33px;
    background: #7000ff;
}

/* User Avatar & Wallet */
.user-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.user-avatar:hover {
    border-color: #7000ff;
    box-shadow: 0 0 15px rgba(112, 0, 255, 0.3);
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* User Dropdown */
.user-dropdown {
    position: absolute;
    top: calc(100% + 15px);
    right: 0;
    width: 200px;
    background: rgba(10, 5, 32, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
}

.user-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown a {
    font-size: 10px;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.6);
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.user-dropdown a:hover {
    color: white;
    background: rgba(112, 0, 255, 0.1);
    border-color: rgba(112, 0, 255, 0.3);
}

.wallet-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 10px;
    letter-spacing: 0.15em;
    color: white;
    transition: all 0.3s ease;
}

.wallet-btn:hover {
    background: rgba(112, 0, 255, 0.15);
    border-color: #7000ff;
}

/* Light Theme Overrides */
[data-theme="light"] {
    background: var(--bg-primary);
    color: var(--text-primary);
}

[data-theme="light"] .mesh-gradient-saturated {
    background: linear-gradient(135deg, #e8e8f0 0%, #d0d0e0 50%, #c0c0d5 100%);
}

[data-theme="light"] .floating-orb {
    opacity: 0.3;
}

/* Social Icons */
.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: rgba(112, 0, 255, 0.2);
    border-color: #7000ff;
    transform: translateY(-2px);
}

/* Merch Filters */
.merch-filter {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 10px;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.merch-filter:hover,
.merch-filter.active {
    background: rgba(112, 0, 255, 0.15);
    border-color: #7000ff;
}

.redeem-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 16px;
    color: white;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.redeem-input:focus {
    outline: none;
    border-color: #7000ff;
    box-shadow: 0 0 0 2px rgba(112, 0, 255, 0.2);
}

/* ========================================
   SCROLL INDICATOR
======================================== */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    z-index: 20;
    opacity: 0;
    animation: fadeInScroll 1s ease-out 1.5s forwards;
}

.scroll-text {
    font-size: 10px;
    letter-spacing: 0.3em;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.3s ease;
}

.scroll-arrow {
    animation: bounceArrow 2s ease-in-out infinite;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.scroll-indicator:hover .scroll-text,
.scroll-indicator:hover .scroll-arrow {
    color: #7000ff;
}

@keyframes fadeInScroll {
    to {
        opacity: 1;
    }
}

@keyframes bounceArrow {

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

    40% {
        transform: translateY(10px);
    }

    60% {
        transform: translateY(5px);
    }
}

/* ========================================
   HERO 3D IRIDESCENT CONTAINER
======================================== */
.hero-3d-iridescent-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -20;
    pointer-events: none;
    overflow: hidden;
}

.hero-3d-iridescent-container canvas {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* ========================================
   VIDEO PLAYER MODAL
======================================== */
.video-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-modal.active {
    opacity: 1;
    visibility: visible;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    aspect-ratio: 16/9;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-modal.active .video-modal-content {
    transform: scale(1);
}

.video-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.video-modal-close:hover {
    background: #7000ff;
    border-color: #7000ff;
}

.video-modal iframe,
.video-modal video {
    width: 100%;
    height: 100%;
    border: none;
}

/* ========================================
   AUTHENTICATION PAGE STYLES
======================================== */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.auth-card {
    width: 100%;
    max-width: 440px;
    padding: 48px;
    /* Glass styles handled by .glass-panel class */
}

.auth-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 32px;
}

.auth-tab {
    flex: 1;
    padding: 16px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 0.15em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.auth-tab:first-child {
    border-right: none;
}

.auth-tab.active {
    background: rgba(112, 0, 255, 0.2);
    border-color: #7000ff;
    color: white;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.auth-input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.auth-label {
    font-size: 10px;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.5);
}

.auth-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 14px 16px;
    color: white;
    font-size: 14px;
    transition: all 0.3s ease;
}

.auth-input:focus {
    outline: none;
    border-color: #7000ff;
    background: rgba(112, 0, 255, 0.1);
}

.auth-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.auth-submit {
    margin-top: 12px;
    padding: 16px;
    background: #7000ff;
    border: 1px solid #7000ff;
    color: white;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 0.2em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.auth-submit:hover {
    background: #8a2be2;
    box-shadow: 0 0 30px rgba(112, 0, 255, 0.5);
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
}

.auth-divider-line {
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.auth-divider-text {
    font-size: 10px;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.4);
}

.auth-social-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.auth-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.auth-social-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.auth-social-btn.google:hover {
    border-color: #4285f4;
    background: rgba(66, 133, 244, 0.1);
}

.auth-social-btn.discord:hover {
    border-color: #5865f2;
    background: rgba(88, 101, 242, 0.1);
}

.auth-social-btn.apple:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.auth-social-btn.twitter:hover {
    border-color: #1da1f2;
    background: rgba(29, 161, 242, 0.1);
}

.auth-footer {
    margin-top: 24px;
    text-align: center;
}

.auth-footer-text {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.1em;
}

.auth-footer-link {
    color: #7000ff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.auth-footer-link:hover {
    color: #a855f7;
}

/* ========================================
   ADVANCED MERCH FILTERS
======================================== */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
}

.filter-dropdown {
    position: relative;
}

.filter-dropdown-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 10px;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-dropdown-btn:hover,
.filter-dropdown-btn.active {
    background: rgba(112, 0, 255, 0.15);
    border-color: #7000ff;
    color: white;
}

.filter-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 180px;
    background: rgba(10, 5, 32, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
}

.filter-dropdown.open .filter-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.filter-option {
    display: block;
    padding: 10px 16px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 10px;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-option:hover,
.filter-option.selected {
    background: rgba(112, 0, 255, 0.2);
    color: white;
}

.filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
    justify-content: center;
}

.filter-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(112, 0, 255, 0.2);
    border: 1px solid #7000ff;
    font-size: 9px;
    letter-spacing: 0.1em;
}

.filter-tag-remove {
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.filter-tag-remove:hover {
    opacity: 1;
}

/* ========================================
   COMPLETE LIGHT THEME SYSTEM
======================================== */
[data-theme="light"] body {
    background: #fafafa;
    color: #0a0a0b;
}

[data-theme="light"] .mesh-gradient-saturated {
    background: linear-gradient(135deg, #f0f0f5 0%, #e8e8f0 50%, #f5f5fa 100%);
}

[data-theme="light"] .mesh-gradient-saturated::before,
[data-theme="light"] .mesh-gradient-saturated::after {
    opacity: 0.3;
}

[data-theme="light"] header .absolute {
    background: rgba(255, 255, 255, 0.8) !important;
    border-bottom-color: rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] header a,
[data-theme="light"] header span,
[data-theme="light"] header button {
    color: #0a0a0b;
}

[data-theme="light"] header a:hover,
[data-theme="light"] .nav-dropdown a:hover {
    color: #7000ff;
}

[data-theme="light"] .nav-dropdown {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .nav-dropdown a {
    color: #4a4a4f;
}

[data-theme="light"] .mobile-menu {
    background: rgba(255, 255, 255, 0.95);
}

[data-theme="light"] .mobile-menu a {
    color: #0a0a0b;
}

[data-theme="light"] .mobile-menu a:hover {
    color: #7000ff;
}

[data-theme="light"] .floating-orb {
    opacity: 0.15;
}

[data-theme="light"] h1,
[data-theme="light"] h2,
[data-theme="light"] h3,
[data-theme="light"] h4,
[data-theme="light"] h5,
[data-theme="light"] h6 {
    color: #0a0a0b;
}

[data-theme="light"] p,
[data-theme="light"] span:not(.cart-badge) {
    color: #4a4a4f;
}

[data-theme="light"] .text-white {
    color: #0a0a0b !important;
}

[data-theme="light"] .text-white\/70,
[data-theme="light"] .text-white\/60,
[data-theme="light"] .text-white\/50,
[data-theme="light"] .text-white\/40,
[data-theme="light"] .text-white\/30 {
    color: rgba(74, 74, 79, 0.8) !important;
}

[data-theme="light"] .bg-white\/5,
[data-theme="light"] .bg-white\/10 {
    background: rgba(0, 0, 0, 0.03) !important;
}

[data-theme="light"] .border-white\/5,
[data-theme="light"] .border-white\/10,
[data-theme="light"] .border-white\/20 {
    border-color: rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .backdrop-blur-xl,
[data-theme="light"] .backdrop-blur-md {
    background: rgba(255, 255, 255, 0.7);
}

[data-theme="light"] footer {
    background: linear-gradient(180deg, #f5f5f5 0%, #eaeaea 100%) !important;
    border-top-color: rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] footer h4,
[data-theme="light"] footer span,
[data-theme="light"] footer p {
    color: #0a0a0b;
}

[data-theme="light"] footer a {
    color: #4a4a4f;
}

[data-theme="light"] footer a:hover {
    color: #7000ff;
}

[data-theme="light"] .wallet-btn,
[data-theme="light"] .cart-icon,
[data-theme="light"] .user-avatar {
    color: #0a0a0b;
    border-color: rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .wallet-btn:hover {
    border-color: #7000ff;
    background: rgba(112, 0, 255, 0.1);
}

[data-theme="light"] .theme-toggle {
    background: rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .theme-toggle-slider {
    background: #7000ff;
}

[data-theme="light"] .user-dropdown {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .user-dropdown a {
    color: #4a4a4f;
    background: rgba(0, 0, 0, 0.02);
}

[data-theme="light"] .user-dropdown a:hover {
    color: #7000ff;
    background: rgba(112, 0, 255, 0.1);
}

[data-theme="light"] .scroll-text,
[data-theme="light"] .scroll-arrow {
    color: rgba(0, 0, 0, 0.5);
}

[data-theme="light"] .scroll-indicator:hover .scroll-text,
[data-theme="light"] .scroll-indicator:hover .scroll-arrow {
    color: #7000ff;
}

[data-theme="light"] .hamburger div {
    background-color: #0a0a0b;
}

[data-theme="light"] .hamburger:hover div {
    background-color: #7000ff;
}

[data-theme="light"] .merch-filter,
[data-theme="light"] .filter-dropdown-btn {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.1);
    color: #4a4a4f;
}

[data-theme="light"] .merch-filter:hover,
[data-theme="light"] .merch-filter.active,
[data-theme="light"] .filter-dropdown-btn:hover {
    background: rgba(112, 0, 255, 0.1);
    border-color: #7000ff;
    color: #7000ff;
}

[data-theme="light"] .product-card,
[data-theme="light"] .app-card {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .product-card:hover,
[data-theme="light"] .app-card:hover {
    box-shadow: 0 8px 40px rgba(112, 0, 255, 0.15);
}

[data-theme="light"] .social-icon {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
    color: #0a0a0b;
}

[data-theme="light"] .social-icon:hover {
    background: rgba(112, 0, 255, 0.1);
    border-color: #7000ff;
    color: #7000ff;
}

[data-theme="light"] .lang-btn {
    color: rgba(0, 0, 0, 0.5);
}

[data-theme="light"] .lang-btn:hover,
[data-theme="light"] .lang-btn.active {
    color: #7000ff;
}

[data-theme="light"] details {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] details summary {
    color: #0a0a0b;
}

[data-theme="light"] details[open] div {
    color: #4a4a4f;
}

/* ========================================
   ENHANCED MOBILE RESPONSIVE DESIGN
======================================== */
@media (max-width: 1024px) {
    .filter-bar {
        padding: 0 16px;
    }

    .auth-card {
        padding: 32px 24px;
    }
}

@media (max-width: 768px) {

    /* Hero Section Mobile */
    .hero-3d-iridescent-container {
        display: none;
    }

    main.relative {
        padding-top: 100px;
        padding-bottom: 60px;
    }

    .scroll-indicator {
        bottom: 20px;
    }

    /* Typography Mobile */
    h1 {
        font-size: clamp(2rem, 8vw, 4rem) !important;
        letter-spacing: 0.08em !important;
    }

    h2 {
        font-size: clamp(1.5rem, 6vw, 2.5rem) !important;
    }

    /* Navigation Mobile */
    header .relative {
        padding: 0 16px;
        height: 70px;
    }

    .mobile-menu {
        max-width: 100%;
        padding: 80px 24px 24px;
    }

    .mobile-menu nav a {
        font-size: 14px;
        padding: 12px 0;
    }

    /* Cards Mobile */
    .product-card {
        height: 450px !important;
    }

    .app-card-inner {
        padding: 1.5rem;
    }

    /* Filters Mobile */
    .filter-bar {
        flex-direction: column;
        gap: 8px;
    }

    .filter-dropdown,
    .merch-filter {
        width: 100%;
    }

    .filter-dropdown-btn {
        width: 100%;
        justify-content: space-between;
    }

    .filter-dropdown-menu {
        width: 100%;
    }

    /* Bento Grid Mobile */
    .grid.grid-cols-1.md\\:grid-cols-4 {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .grid.grid-cols-1.md\\:grid-cols-4>a {
        min-height: 250px;
    }

    /* Pricing Cards Mobile */
    .flex.flex-col.md\\:flex-row {
        gap: 24px;
    }

    .flex.flex-col.md\\:flex-row>div {
        transform: none !important;
    }

    /* Partners Carousel Mobile */
    .partners-carousel .marquee-content span {
        font-size: 1rem;
    }

    /* Section Spacing Mobile */
    section {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    /* Footer Mobile */
    footer {
        padding-top: 60px;
    }

    footer .grid {
        gap: 32px;
    }

    /* Auth Mobile */
    .auth-card {
        padding: 24px 16px;
    }

    .auth-social-buttons {
        gap: 8px;
    }

    /* Video Modal Mobile */
    .video-modal-content {
        width: 95%;
    }

    .video-modal-close {
        top: -45px;
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.75rem !important;
    }

    .btn-matte,
    button {
        padding: 12px 20px;
        font-size: 9px;
    }

    .hero-slider {
        height: 70vh;
    }

    .slider-dots {
        bottom: 20px;
    }

    .slider-dot {
        width: 8px;
        height: 8px;
    }

    .slider-dot.active {
        width: 24px;
    }
}

/* ========================================
   PREMIUM UI MICRO-INTERACTIONS
======================================== */
/* Enhanced button hover */
.btn-matte {
    position: relative;
    overflow: hidden;
}

.btn-matte::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-matte:hover::before {
    left: 100%;
}

/* Enhanced card hover with perspective */
.product-card,
.app-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover,
.app-card:hover {
    transform: translateY(-8px) scale(1.02);
}

/* Smooth link underlines */
a:not(.btn-matte):not(.auth-social-btn) {
    position: relative;
}

footer a::after,
.nav-dropdown a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: #7000ff;
    transition: width 0.3s ease;
}

footer a:hover::after,
.nav-dropdown a:hover::after {
    width: 100%;
}

/* Focus states for accessibility */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
    outline: 2px solid #7000ff;
    outline-offset: 2px;
}

/* Smooth image loading */
img {
    opacity: 0;
    animation: fadeInImg 0.5s ease-out forwards;
}

@keyframes fadeInImg {
    to {
        opacity: 1;
    }
}

/* Premium text selection */
::selection {
    background: rgba(112, 0, 255, 0.3);
    color: white;
}

[data-theme="light"] ::selection {
    background: rgba(112, 0, 255, 0.3);
    color: #0a0a0b;
}

/* Dark Theme Strict Overrides */
[data-theme="dark"] .gradient-mesh {
    background: #000000 !important;
    background-image: none !important;
}

[data-theme="dark"] .gradient-mesh::before {
    display: none !important;
}

[data-theme="dark"] .bg-purple-600,
[data-theme="dark"] .bg-purple-500,
[data-theme="dark"] .hover\:bg-purple-700:hover {
    background-color: #333333 !important;
    border-color: #666666 !important;
}

[data-theme="dark"] .text-purple-400,
[data-theme="dark"] .text-purple-500,
[data-theme="dark"] .text-accent-secondary {
    color: #ffffff !important;
}

[data-theme="dark"] .text-cyan-400 {
    color: #cccccc !important;
}

[data-theme="dark"] .border-purple-500 {
    border-color: #ffffff !important;
}

[data-theme="dark"] .hero-3d-iridescent-container {
    filter: grayscale(100%) !important;
    opacity: 0.8;
}

[data-theme="dark"] .glass-panel:hover {
    border-color: #ffffff !important;
    box-shadow: 0 8px 40px rgba(255, 255, 255, 0.1) !important;
}

/* =========================================
   NEW ADDITIONS: CART & THEME FIXES
   ========================================= */

/* Shopping Cart Modal Overlay */
#cart-modal {
    z-index: 200;
    /* Above everything */
}

/* Cart Slide-out Panel */
.cart-panel {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
}

/* Cart Item */
.cart-item {
    animation: fadeIn 0.3s ease;
}

/* White Theme Auth Page Fixes */
[data-theme="light"] .auth-card {
    background: rgba(255, 255, 255, 0.85) !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1) !important;
}

[data-theme="light"] .auth-label {
    color: #000000 !important;
    font-weight: 600 !important;
}

[data-theme="light"] .auth-input {
    background: #f4f4f5 !important;
    border: 1px solid #e4e4e7 !important;
    color: #000000 !important;
}

[data-theme="light"] .auth-input:focus {
    background: #ffffff !important;
    border-color: #7000ff !important;
}

[data-theme="light"] .auth-input::placeholder {
    color: #a1a1aa !important;
}

[data-theme="light"] .auth-tab {
    color: #71717a !important;
}

[data-theme="light"] .auth-tab.active {
    color: #7000ff !important;
    border-bottom: 2px solid #7000ff !important;
}

[data-theme="light"] .auth-divider-text {
    color: #71717a !important;
    background: #ffffff !important;
    /* Mask line behind text */
    padding: 0 10px;
}

[data-theme="light"] .auth-divider-line {
    background: #e4e4e7 !important;
}

[data-theme="light"] .auth-footer-text,
[data-theme="light"] .auth-footer-link {
    color: #71717a !important;
}

[data-theme="light"] .text-white {
    color: #000000 !important;
}

[data-theme="light"] .text-white\/30,
[data-theme="light"] .text-white\/40,
[data-theme="light"] .text-white\/50,
[data-theme="light"] .text-white\/60,
[data-theme="light"] .text-white\/70 {
    color: #52525b !important;
}

/* Fix for Blank Space / Height Issues */
html,
body {
    height: 100%;
    margin: 0;
    overflow-x: hidden;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1 0 auto;
}

footer {
    flex-shrink: 0;
}

/* Ensure background covers everything */
.particles-container,
.gradient-mesh {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: -50;
}