/* =============================================================================
   VALKYRIE CORPORATION — OFFICIAL DESIGN SYSTEM & CORPORATE MOTION ENGINE
   Identity: Deep Black (#080808) • Charcoal Graphite • Controlled Crimson Red (#d91b24)
   Target: 60 FPS Rendering • Hardware Accelerated Transitions • Zero Clutter
   ============================================================================= */

/* Fonts loaded non-blocking in header.php for instant First Contentful Paint */

:root {
    /* Color Palette - Dark Mode Foundation */
    --bg-black: #080808;
    --bg-body: #060608;
    --bg-surface: #0a0a0d;
    --bg-card: #08080b;          /* Hitam Pekat for all product shapes & cards */
    --bg-card-hover: #0e0e13;
    --bg-elevated: #111116;
    --bg-input: #08080b;
    --bg-input-focus: #0e0e13;

    /* Crimson Accent Hierarchy - Controlled & Restrained */
    --accent-red: #d91b24;
    --accent-red-hover: #ef232d;
    --accent-red-dark: #a8131a;
    --accent-red-subtle: rgba(217, 27, 36, 0.12);
    --accent-red-glow: rgba(217, 27, 36, 0.28);

    /* Button Tokens */
    --btn-primary-bg: var(--accent-red);
    --btn-primary-text: #ffffff;
    --btn-outline-bg: rgba(255, 255, 255, 0.02);
    --btn-outline-border: rgba(255, 255, 255, 0.22);
    --btn-outline-text: #f4f4f6;

    /* Text Hierarchy */
    --text-white: #ffffff;
    --text-primary: #f4f4f6;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    --text-dim: #52525b;

    /* Borders & Dividers */
    --border-subtle: rgba(255, 255, 255, 0.05);
    --border-card: #15151c;      /* Fine sleek dark border */
    --border-hover: #262633;
    --border-focus: #d91b24;

    /* Status Colors */
    --status-active: #10b981;
    --status-pending: #f59e0b;
    --status-failed: #ef4444;

    /* Header, Drawer & Navigation (Translucent Glassmorphism • Uncolored Frosted Blur) */
    --header-bg: rgba(8, 8, 11, 0.45);
    --header-scrolled-bg: rgba(8, 8, 11, 0.75);
    --header-border: rgba(255, 255, 255, 0.08);
    --drawer-bg: rgba(10, 10, 14, 0.98);
    --drawer-header-bg: #070709;
    --modal-backdrop: rgba(0, 0, 0, 0.85);
    --footer-bg: #050507;
    --footer-border: rgba(255, 255, 255, 0.06);

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.5);
    --shadow-card: 0 6px 20px rgba(0, 0, 0, 0.55);
    --shadow-elevated: 0 14px 40px rgba(0, 0, 0, 0.7);

    /* Typography */
    --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', Consolas, monospace;

    /* Dimensions & Spacing */
    --radius-xs: 4px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-pill: 9999px;

    --header-height: 72px;
    --container-max: 1240px;

    /* Motion Tokens */
    --duration-instant: 80ms;
    --duration-fast: 150ms;
    --duration-standard: 220ms;
    --duration-entrance: 240ms;
    --duration-smooth: 320ms;
    --duration-reveal: 340ms;

    --ease-standard: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
}

/* =============================================================================
   VALKYRIE LIGHT MODE TOKEN OVERRIDES (Soft, Glare-Free, Eye-Friendly Slate & Neutral)
   ============================================================================= */
[data-theme="light"] {
    --bg-black: #dfe3e8;
    --bg-body: #e2e6eb;          /* Soft non-glare slate gray */
    --bg-surface: #eaedf2;       /* Soft elevated gray */
    --bg-card: #ffffff;          /* Crisp high-contrast white card */
    --bg-card-hover: #f8fafc;    /* Soft hover */
    --bg-elevated: #ffffff;
    --bg-input: #ffffff;
    --bg-input-focus: #f8fafc;

    --accent-red: #c91820;
    --accent-red-hover: #b0141b;
    --accent-red-dark: #8b0f15;
    --accent-red-subtle: rgba(201, 24, 32, 0.08);
    --accent-red-glow: rgba(201, 24, 32, 0.16);

    --btn-primary-bg: var(--accent-red);
    --btn-primary-text: #ffffff;
    --btn-outline-bg: #ffffff;
    --btn-outline-border: #cbd5e1;
    --btn-outline-text: #0f172a;

    --text-white: #0f172a;        /* Adapts titles and hero labels to deep slate */
    --text-primary: #0f172a;      /* Deep Slate 900 */
    --text-secondary: #334155;    /* Slate 700 */
    --text-muted: #64748b;        /* Slate 500 */
    --text-dim: #94a3b8;          /* Slate 400 */

    --border-subtle: #cbd5e1;     /* Clearly visible Slate 300 divider/subtle border */
    --border-card: #c4cdd8;       /* Defined, clean gray borders */
    --border-hover: #94a3b8;
    --border-focus: #c91820;

    --status-active: #059669;
    --status-pending: #d97706;
    --status-failed: #dc2626;

    --header-bg: rgba(226, 230, 235, 0.85);
    --header-scrolled-bg: rgba(226, 230, 235, 0.98);
    --header-border: rgba(15, 23, 42, 0.08);
    --drawer-bg: #ffffff;
    --drawer-header-bg: #f1f5f9;
    --modal-backdrop: rgba(15, 23, 42, 0.58);
    --footer-bg: #d8dde4;
    --footer-border: #c4cdd8;

    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
    --shadow-card: 0 4px 16px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.04);
    --shadow-elevated: 0 12px 30px rgba(15, 23, 42, 0.1);
}

/* -----------------------------------------------------------------------------
   Reset & Baseline
   ----------------------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-body);
    color: var(--text-primary);
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-body);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1400px;
    height: 180px;
    background: radial-gradient(50% 100% at 50% 0%, rgba(255, 255, 255, 0.035) 0%, transparent 100%);
    pointer-events: none;
    z-index: 0;
}

[data-theme="light"] body::before {
    background: radial-gradient(50% 100% at 50% 0%, rgba(203, 213, 225, 0.35) 0%, transparent 100%);
}

/* -----------------------------------------------------------------------------
   GLOBAL PRIMARY LOADING SYSTEM (PROFESSIONAL MINIMAL SPINNER • ZERO TEXT)
   ----------------------------------------------------------------------------- */
.page-loader-overlay {
    display: none !important;
}

.valkyrie-spinner-white {
    width: 38px;
    height: 38px;
    border: 2.5px solid rgba(255, 255, 255, 0.12);
    border-top-color: #ffffff;
    border-right-color: rgba(255, 255, 255, 0.65);
    border-radius: 50%;
    -webkit-animation: valkyrieSpinWhite 0.75s linear infinite !important;
    animation: valkyrieSpinWhite 0.75s linear infinite !important;
    will-change: transform;
}

@-webkit-keyframes valkyrieSpinWhite {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
}

@keyframes valkyrieSpinWhite {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* -----------------------------------------------------------------------------
   60FPS HARDWARE-ACCELERATED ENTRANCE MOTION (CALM, SMOOTH, ZERO FLICKER)
   Apple & Linear Spring Deceleration Curve: cubic-bezier(0.16, 1, 0.3, 1)
   ----------------------------------------------------------------------------- */
@keyframes valkyrieSmoothSlideUp {
    0% {
        opacity: 0;
        transform: translate3d(0, 30px, 0);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* Unified Page Canvas Entrance (Glides smoothly as one razor-sharp layer) */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    animation: valkyrieSmoothSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
    will-change: transform, opacity;
}

/* Staggered entrance for product cards & catalog items */
.store-grid > *:nth-child(1),
.store-franchise-grid > *:nth-child(1),
.announcements-grid > *:nth-child(1) {
    animation: valkyrieSmoothSlideUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: 0.06s;
    will-change: transform, opacity;
}

.store-grid > *:nth-child(2),
.store-franchise-grid > *:nth-child(2),
.announcements-grid > *:nth-child(2) {
    animation: valkyrieSmoothSlideUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: 0.12s;
    will-change: transform, opacity;
}

.store-grid > *:nth-child(3),
.store-franchise-grid > *:nth-child(3),
.announcements-grid > *:nth-child(3) {
    animation: valkyrieSmoothSlideUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: 0.18s;
    will-change: transform, opacity;
}

.store-grid > *:nth-child(4),
.store-franchise-grid > *:nth-child(4),
.announcements-grid > *:nth-child(4) {
    animation: valkyrieSmoothSlideUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: 0.24s;
    will-change: transform, opacity;
}

.store-grid > *:nth-child(n+5),
.announcements-grid > *:nth-child(n+5) {
    animation: valkyrieSmoothSlideUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: 0.30s;
    will-change: transform, opacity;
}

/* Smooth motion defaults */

/* -----------------------------------------------------------------------------
   Typography
   ----------------------------------------------------------------------------- */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-white);
    letter-spacing: -0.02em;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--duration-fast) var(--ease-standard);
}

p {
    color: var(--text-secondary);
}

ul,
ol {
    list-style: none;
}

button,
input,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

/* Layout Containers */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.section-pad {
    padding-top: 5.5rem;
    padding-bottom: 5.5rem;
}

.section-pad-sm {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
}

/* Section Tag / Kicker (▶ OUR PRODUCTS) */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent-red);
    margin-bottom: 0.875rem;
}

.section-tag svg {
    width: 10px;
    height: 10px;
    fill: currentColor;
}

.text-red {
    color: var(--accent-red);
}

/* -----------------------------------------------------------------------------
   BUTTON SYSTEM & MICRO-INTERACTIONS
   ----------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1;
    padding: 12px 24px;
    border-radius: var(--radius-pill);
    border: 1px solid transparent;
    cursor: pointer;
    transition: background-color var(--duration-fast) var(--ease-standard),
        border-color var(--duration-fast) var(--ease-standard),
        transform var(--duration-fast) var(--ease-standard),
        box-shadow var(--duration-fast) var(--ease-standard),
        filter var(--duration-fast) var(--ease-standard);
    white-space: nowrap;
    user-select: none;
    will-change: transform, box-shadow;
}

.btn:active {
    transform: scale(0.98) translateY(1px);
}

.btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px #080808, 0 0 0 4px var(--accent-red);
}

.btn:disabled,
.btn[disabled] {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
    transform: none !important;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.8125rem;
}

.btn-lg {
    padding: 14px 30px;
    font-size: 0.9375rem;
}

.btn-block {
    width: 100%;
}

/* Primary Crimson Red Pill Button (Restrained, Crisp) */
.btn-primary {
    background-color: var(--btn-primary-bg);
    color: var(--btn-primary-text) !important;
    border-color: var(--btn-primary-bg);
    box-shadow: 0 2px 10px rgba(201, 24, 32, 0.22);
}

.btn-primary:hover {
    background-color: var(--accent-red-hover);
    border-color: var(--accent-red-hover);
    box-shadow: 0 4px 16px rgba(201, 24, 32, 0.35);
    transform: translateY(-1px);
    filter: brightness(1.05);
}

/* Secondary Outlined Pill Button */
.btn-outline {
    background-color: var(--btn-outline-bg);
    color: var(--btn-outline-text);
    border-color: var(--btn-outline-border);
}

.btn-outline:hover {
    background-color: var(--bg-card-hover);
    border-color: var(--border-hover);
    color: var(--text-primary);
    transform: translateY(-1px);
}

/* Ghost Button */
.btn-ghost {
    background-color: transparent;
    color: var(--text-secondary);
    border-color: transparent;
}

.btn-ghost:hover {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.06);
}

/* Localized Button Loading State */
.btn.btn-loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

.btn.btn-loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: calc(50% - 8px);
    left: calc(50% - 8px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: btnSpin 0.75s linear infinite;
}

@keyframes btnSpin {
    to {
        transform: rotate(360deg);
    }
}

/* -----------------------------------------------------------------------------
   NAVIGATION BAR & HEADER TRANSITIONS
   ----------------------------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--header-height);
    background-color: var(--header-bg);
    backdrop-filter: blur(24px) saturate(190%);
    -webkit-backdrop-filter: blur(24px) saturate(190%);
    border-bottom: 1px solid var(--header-border);
    display: flex;
    align-items: center;
    transition: background-color var(--duration-standard) var(--ease-standard),
        border-color var(--duration-standard) var(--ease-standard),
        box-shadow var(--duration-standard) var(--ease-standard),
        backdrop-filter var(--duration-standard) var(--ease-standard);
}

.site-header.scrolled {
    background-color: var(--header-scrolled-bg);
    border-bottom-color: var(--header-border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    transition: transform var(--duration-fast) var(--ease-standard);
}

.brand-logo:hover {
    transform: translateY(-1px);
}

.brand-emblem-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-emblem-img {
    height: 34px;
    width: auto;
    display: block;
    object-fit: contain;
}

.brand-text-block {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.0625rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--text-white);
    line-height: 1;
}

.brand-tagline {
    font-family: var(--font-heading);
    font-size: 0.5625rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    color: var(--accent-red);
    line-height: 1;
    margin-top: 3px;
    text-transform: uppercase;
}

/* Nav Menu (Center Links) */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.25rem;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 8px 0;
    transition: color var(--duration-fast) var(--ease-standard);
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link.active {
    color: var(--text-primary);
    font-weight: 600;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -18px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--accent-red);
    border-radius: 2px;
    animation: lineSlide 0.2s ease forwards;
}

@keyframes lineSlide {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}

/* Right Nav Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

/* Theme Toggle Button Component (Clean Frameless Icon Logo) */
.theme-toggle-btn {
    background: transparent;
    border: none;
    outline: none;
    box-shadow: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all var(--duration-fast) var(--ease-standard);
}

.theme-toggle-btn:hover {
    color: var(--text-primary);
    background: var(--bg-card-hover);
    transform: scale(1.05);
}

.theme-toggle-btn:focus-visible {
    outline: none;
    color: var(--text-primary);
}

.theme-icon-moon,
.theme-icon-sun {
    transition: transform var(--duration-standard) var(--ease-standard), opacity var(--duration-fast) ease;
}

:root .theme-icon-sun {
    display: block;
}
:root .theme-icon-moon {
    display: none;
}

[data-theme="light"] .theme-icon-sun {
    display: none;
}
[data-theme="light"] .theme-icon-moon {
    display: block;
}

/* Mobile Theme Segment Switch in Drawer */
.mobile-theme-segment {
    display: inline-flex;
    align-items: center;
    background: var(--bg-surface);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-pill);
    padding: 2px;
    gap: 2px;
}

.theme-seg-btn {
    width: 30px;
    height: 26px;
    border-radius: var(--radius-pill);
    background: transparent;
    border: none;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--duration-fast) ease;
}

.theme-seg-btn.active {
    background: var(--accent-red);
    color: #ffffff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.search-trigger-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--duration-fast) var(--ease-standard);
}

.search-trigger-btn:hover {
    color: var(--text-primary);
    background: var(--bg-card-hover);
    transform: scale(1.05);
}

.nav-login-btn {
    background-color: transparent !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.28) !important; /* Stroke agak gelap & tenang */
    padding: 7px 20px;
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    border-radius: 4px; /* Bentuk kotak */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    line-height: 1.2;
    transition: all var(--duration-fast) var(--ease-standard);
}

.nav-login-btn:hover {
    background-color: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(255, 255, 255, 0.55) !important;
    color: #ffffff !important;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.12);
    transform: translateY(-1px);
}

[data-theme="light"] .nav-login-btn {
    color: #0f172a !important;
    border-color: #0f172a !important;
}

[data-theme="light"] .nav-login-btn:hover {
    background-color: rgba(15, 23, 42, 0.06) !important;
    color: #0f172a !important;
    border-color: #0f172a !important;
}

.nav-user-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: all var(--duration-fast) var(--ease-standard);
}

.nav-user-pill:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-1px);
}

.nav-brand-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-dots-container {
    display: none;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    padding: 8px;
}

/* Mobile Navigation Dashboard Drawer Backdrop */
.mobile-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 99998;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s;
}

.mobile-drawer-backdrop.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Mobile Navigation Dashboard Drawer — Smooth Sliding Architecture (No Instant Pop/Flicker) */
.mobile-drawer {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 320px;
    max-width: 86vw;
    height: 100vh;
    height: 100dvh;
    bottom: 0;
    background: var(--drawer-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 99999;
    flex-direction: column;
    transform: translateX(-100%);
    visibility: hidden;
    opacity: 0;
    box-shadow: 4px 0 35px rgba(0, 0, 0, 0.75);
    border-right: 1px solid var(--border-subtle);
    transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.28s ease, visibility 0.38s;
    pointer-events: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-drawer.open {
    transform: translateX(0);
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border-subtle);
    background: var(--drawer-header-bg);
}

.mobile-drawer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-drawer-logo {
    width: 26px;
    height: 26px;
    object-fit: contain;
}

.mobile-drawer-title-block {
    display: flex;
    flex-direction: column;
}

.mobile-drawer-title {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--text-white);
}

.mobile-drawer-sub {
    font-size: 0.6875rem;
    color: var(--text-muted);
}

.mobile-drawer-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
    padding: 4px 8px;
    transition: color 0.15s ease;
}

.mobile-drawer-close:hover {
    color: var(--text-primary);
}

.mobile-drawer-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.mobile-nav-group-title {
    font-family: var(--font-heading);
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: var(--radius-xs);
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.875rem;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    transition: all var(--duration-fast) var(--ease-standard);
}

.mobile-nav-link svg {
    color: var(--text-muted);
    transition: color var(--duration-fast) ease;
}

.mobile-nav-link:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.04) !important;
    border: none !important;
}

.mobile-nav-link.active {
    color: #ffffff !important;
    font-weight: 700 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.mobile-nav-link.active svg {
    color: var(--accent-red) !important;
}

.mobile-drawer-socials {
    display: flex;
    gap: 12px;
    align-items: center;
    padding-top: 0.5rem;
}

.mobile-social-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.mobile-social-icon:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
}

.mobile-social-icon img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

/* -----------------------------------------------------------------------------
   HERO SECTION (Cinematic Project Artwork Background with Fade Shadow)
   ----------------------------------------------------------------------------- */
.hero-section {
    position: relative;
    min-height: 580px;
    display: flex;
    align-items: center;
    margin-top: calc(-1 * var(--header-height));
    padding-top: calc(5rem + var(--header-height));
    padding-bottom: 5.5rem;
    background-color: transparent;
    overflow: hidden;
    border-bottom: none;
}

.hero-artwork-backdrop {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 60%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.35) 15%, rgba(0, 0, 0, 0.95) 45%, black 100%);
    mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.35) 15%, rgba(0, 0, 0, 0.95) 45%, black 100%);
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), visibility 1.2s ease;
    will-change: opacity;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-backdrop-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
    display: block;
    opacity: 0.9;
}

/* Comprehensive Multi-Layer Fade Shadow Overlay */
.hero-fade-overlay {
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(90deg, 
            #080808 0%, 
            #080808 25%, 
            rgba(8, 8, 8, 0.75) 45%, 
            transparent 70%, 
            rgba(8, 8, 8, 0.5) 100%),
        linear-gradient(180deg, 
            rgba(8, 8, 8, 0.5) 0%, 
            transparent 20%, 
            transparent 70%, 
            #080808 100%);
    pointer-events: none;
    z-index: 2;
}

[data-theme="light"] .hero-fade-overlay {
    background: 
        linear-gradient(90deg, 
            #e2e6eb 0%, 
            #e2e6eb 25%, 
            rgba(226, 230, 235, 0.85) 45%, 
            transparent 70%, 
            rgba(226, 230, 235, 0.6) 100%),
        linear-gradient(180deg, 
            rgba(226, 230, 235, 0.5) 0%, 
            transparent 20%, 
            transparent 70%, 
            #e2e6eb 100%);
}

.hero-container {
    position: relative;
    z-index: 3;
    width: 100%;
}

.hero-content {
    max-width: 660px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 700;
    color: #e4e4e7;
    letter-spacing: 0.06em;
    margin-bottom: 1.5rem;
}

.hero-badge .badge-dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent-red);
    border-radius: 50%;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 4.4vw, 3.875rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--text-white);
    margin-bottom: 1.25rem;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.85);
}

.hero-title-logo {
    height: 1.06em;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 14px rgba(239, 68, 68, 0.35));
    flex-shrink: 0;
}

.hero-title-text {
    margin-left: -0.14em;
    letter-spacing: -0.03em;
    display: inline-block;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.4vw, 1.125rem);
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 2.25rem;
    max-width: 580px;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.85);
}

[data-theme="light"] .hero-title {
    color: #0f172a !important;
    text-shadow: none !important;
}

[data-theme="light"] .hero-subtitle {
    color: #334155 !important;
    text-shadow: none !important;
}

/* Hero Community Social Links (Adaptive Dark / Light Mode) */
.hero-social-group {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 1.65rem;
}

.hero-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    text-decoration: none;
    color: #ffffff;
    opacity: 0.8;
    transition: transform 0.15s ease, opacity 0.15s ease, color 0.2s ease;
    flex-shrink: 0;
}

.hero-social-link:hover {
    opacity: 1;
    transform: scale(1.12);
}

.hero-social-link svg {
    display: block;
    width: 26px;
    height: 26px;
    fill: currentColor;
    transition: fill 0.2s ease;
}

/* Light Mode: 3 Logos Turn Solid Black */
[data-theme="light"] .hero-social-link {
    color: #000000 !important;
}

[data-theme="light"] .hero-social-link svg {
    fill: #000000 !important;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

/* -----------------------------------------------------------------------------
   PRODUCT SHOWCASE SECTION (Clean Enterprise Grid)
   ----------------------------------------------------------------------------- */
.product-showcase-section {
    padding-top: 5rem;
    padding-bottom: 5.5rem;
    background-color: var(--bg-black);
}

.section-header-block {
    margin-bottom: 2.75rem;
}

.section-title {
    font-size: clamp(2rem, 3.2vw, 2.5rem);
    font-weight: 800;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.section-desc {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.6;
}

.product-corporate-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.home-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

@media (max-width: 1024px) {
    .home-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 540px) {
    .home-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    .home-products-grid .product-body {
        padding: 0.875rem !important;
    }
    .home-products-grid .product-name {
        font-size: 0.875rem !important;
    }
    .home-products-grid .product-category-tag {
        font-size: 0.625rem !important;
    }
    .home-products-grid .product-description {
        display: none !important;
    }
}

@media (max-width: 992px) {
    .product-corporate-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 640px) {
    .product-corporate-grid {
        grid-template-columns: 1fr;
    }
}

/* Clean Enterprise Product Card */
.product-corporate-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
    transition: transform var(--duration-fast) var(--ease-standard),
                border-color var(--duration-fast) var(--ease-standard),
                background-color var(--duration-fast) var(--ease-standard),
                box-shadow var(--duration-fast) var(--ease-standard);
    will-change: transform;
}

.product-corporate-card:hover {
    border-color: rgba(255, 255, 255, 0.18);
    background-color: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5);
}

.product-cover-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #050507;
    overflow: hidden;
}

.product-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform var(--duration-smooth) var(--ease-standard);
    display: block;
}

.product-corporate-card:hover .product-cover-img {
    transform: scale(1.04);
}

.product-cover-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(16, 16, 21, 0.88) 100%);
    pointer-events: none;
}

.product-cover-logo {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    z-index: 2;
    pointer-events: none;
}

.product-cover-logo img {
    max-width: 68%;
    max-height: 44px;
    object-fit: contain;
    filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.85));
    transition: transform var(--duration-smooth) var(--ease-standard);
}

.product-corporate-card:hover .product-cover-logo img {
    transform: scale(1.06);
}

.btn-card-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #14141c;
    border: 1px solid #272733;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: all var(--duration-fast) var(--ease-standard);
    flex-shrink: 0;
}

.btn-card-circle:hover,
.product-corporate-card:hover .btn-card-circle {
    background: var(--accent-red);
    border-color: var(--accent-red);
    color: #ffffff;
    transform: translateX(2px);
}

.product-platform-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(8, 8, 11, 0.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-pill);
    padding: 3px 10px;
    font-size: 0.6875rem;
    font-weight: 600;
    color: #e4e4e7;
    z-index: 2;
}

.product-platform-badge .platform-icon {
    width: 12px;
    height: 12px;
    object-fit: contain;
}

.product-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-category-tag {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-red);
    margin-bottom: 0.375rem;
}

.product-name {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

.product-description {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 1.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-footer {
    margin-top: auto;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.product-price-block {
    display: flex;
    flex-direction: column;
}

.price-prefix {
    font-size: 0.6875rem;
    color: var(--text-muted);
    line-height: 1;
}

.price-amount {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin-top: 2px;
}

/* Clean Text Link with Arrow (Replaces Button Shape) */
.product-text-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    transition: color var(--duration-fast) ease;
}

.product-text-link .link-arrow {
    display: inline-block;
    transition: transform var(--duration-fast) ease;
    font-size: 1rem;
    line-height: 1;
}

.product-text-link:hover {
    color: var(--accent-red);
}

.product-text-link:hover .link-arrow {
    transform: translateX(4px);
}

/* -----------------------------------------------------------------------------
   GAME HUB SELECTION CARDS (Progressive 3-Game Disclosure)
   ----------------------------------------------------------------------------- */
.game-hub-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

@media (max-width: 992px) {
    .game-hub-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .game-hub-grid {
        grid-template-columns: 1fr;
    }
}

.game-hub-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
    transition: transform var(--duration-fast) var(--ease-standard),
                border-color var(--duration-fast) var(--ease-standard),
                background-color var(--duration-fast) var(--ease-standard),
                box-shadow var(--duration-fast) var(--ease-standard);
    user-select: none;
    outline: none;
}

.game-hub-card:hover {
    border-color: rgba(255, 255, 255, 0.25);
    background-color: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.5);
}

.game-hub-card.selected {
    border-color: var(--accent-red);
    background-color: var(--bg-card-hover);
    box-shadow: 0 0 0 1px var(--accent-red), 0 16px 36px rgba(0, 0, 0, 0.6);
}

.game-hub-cover-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #050507;
    overflow: hidden;
}

.game-hub-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform var(--duration-smooth) var(--ease-standard);
    display: block;
}

.game-hub-card:hover .game-hub-cover-img {
    transform: scale(1.05);
}

.game-hub-cover-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(16, 16, 21, 0.90) 100%);
    pointer-events: none;
}

.game-hub-cover-logo {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    z-index: 2;
    pointer-events: none;
}

.game-hub-cover-logo img {
    max-width: 75%;
    max-height: 52px;
    object-fit: contain;
    filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.85));
    transition: transform var(--duration-smooth) var(--ease-standard);
}

.game-hub-card:hover .game-hub-cover-logo img {
    transform: scale(1.06);
}

.game-hub-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(8, 8, 11, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-pill);
    padding: 3px 10px;
    font-size: 0.6875rem;
    font-weight: 600;
    color: #e4e4e7;
    z-index: 2;
}

.game-hub-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.game-hub-meta {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 0.375rem;
}

.game-hub-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 0.375rem;
}

.game-hub-tagline {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    line-height: 1.45;
    margin-bottom: 1.25rem;
}

.game-hub-action {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--border-subtle);
}

.game-hub-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 600;
    color: #ffffff;
    transition: color var(--duration-fast) ease;
}

.game-hub-card.selected .game-hub-link {
    color: var(--status-active);
}

.game-hub-card:hover .link-arrow {
    transform: translateX(4px);
}

/* -----------------------------------------------------------------------------
   ANNOUNCEMENTS SECTION (Clean Editorial Presentation • No Text in Shapes)
   ----------------------------------------------------------------------------- */
.announcements-section {
    padding-top: 5rem;
    padding-bottom: 7.5rem;
    margin-bottom: 2rem;
    background-color: var(--bg-base);
    border-top: none;
}

.announcements-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2.75rem;
}

.announcements-title {
    font-size: clamp(2rem, 3.2vw, 2.5rem);
    font-weight: 800;
    color: var(--text-white);
}

.announcements-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.announcement-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    padding: 2rem 2.25rem;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: transform var(--duration-fast) var(--ease-standard),
        border-color var(--duration-fast) var(--ease-standard),
        background-color var(--duration-fast) var(--ease-standard),
        box-shadow var(--duration-fast) var(--ease-standard);
}

.announcement-card:hover {
    border-color: var(--border-hover);
    background-color: var(--bg-card-hover);
    box-shadow: var(--shadow-card);
    transform: translateY(-3px);
}

.announcement-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.75rem;
}

/* Unboxed Meta Text */
.announcement-category {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

.announcement-date {
    color: var(--text-muted);
}

.announcement-heading {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-white);
    line-height: 1.35;
    margin-bottom: 0.75rem;
}

.announcement-snippet {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
}

.announcement-read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #3b82f6 !important;
    text-decoration: none;
    transition: all var(--duration-fast) ease;
}

.announcement-read-more:hover {
    color: #60a5fa !important;
    text-shadow: 0 0 10px rgba(59, 130, 246, 0.45);
}

.announcement-read-more .link-arrow {
    display: inline-block;
    transition: transform var(--duration-fast) ease;
    color: #3b82f6 !important;
}

.announcement-read-more:hover .link-arrow {
    transform: translateX(4px);
    color: #60a5fa !important;
}

.announcement-archive-link {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--duration-fast) ease;
}

.announcement-archive-link:hover {
    color: #ffffff;
}

/* Suppression of unneeded elements */
.mobile-bottom-bar {
    display: none !important;
}

/* -----------------------------------------------------------------------------
   ABOUT SECTION
   ----------------------------------------------------------------------------- */
.about-section {
    padding-top: 5.5rem;
    padding-bottom: 5.5rem;
    background-color: var(--bg-black);
    border-top: 1px solid var(--border-subtle);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-specs-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 2rem;
}

.about-spec-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.about-spec-icon {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    background: var(--accent-red-subtle);
    color: var(--accent-red);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
    transition: transform var(--duration-fast) var(--ease-standard);
}

.about-spec-item:hover .about-spec-icon {
    transform: scale(1.1);
}

.about-spec-title {
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2px;
}

.about-spec-desc {
    font-size: 0.8125rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* -----------------------------------------------------------------------------
   DISCOVERY CTA BANNER
   ----------------------------------------------------------------------------- */
.cta-banner-section {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
    background: linear-gradient(180deg, #0b0b0e 0%, #080808 100%);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.cta-banner-card {
    background: radial-gradient(circle at center, rgba(217, 27, 36, 0.12) 0%, rgba(18, 18, 22, 0.85) 75%);
    border: 1px solid rgba(217, 27, 36, 0.28);
    border-radius: var(--radius-lg);
    padding: 3.5rem 2rem;
    text-align: center;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
}

.cta-banner-title {
    font-size: clamp(1.875rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
}

.cta-banner-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
}

/* -----------------------------------------------------------------------------
   CARDS & FORMS
   ----------------------------------------------------------------------------- */
.card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    transition: border-color var(--duration-fast) var(--ease-standard),
        background-color var(--duration-fast) var(--ease-standard);
}

.card:hover {
    border-color: var(--border-hover);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 1.25rem;
}

.form-label {
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    background-color: var(--bg-input);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-sm);
    padding: 11px 16px;
    font-size: 0.875rem;
    color: #ffffff;
    transition: border-color var(--duration-fast) var(--ease-standard),
        background-color var(--duration-fast) var(--ease-standard),
        box-shadow var(--duration-fast) var(--ease-standard);
    outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--border-focus);
    background-color: var(--bg-surface);
    box-shadow: 0 0 0 3px rgba(217, 27, 36, 0.15);
}

/* Tables */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
    text-align: left;
}

.data-table th {
    background-color: #121216;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 14px 18px;
    border-bottom: 1px solid var(--border-subtle);
}

.data-table td {
    padding: 14px 18px;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-primary);
    vertical-align: middle;
    transition: background-color var(--duration-instant) ease;
}

.data-table tr:hover td {
    background-color: var(--bg-card-hover);
}

/* Badges - Clean Unboxed Status Indicator */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1;
    background: transparent !important;
    border: none !important;
}

.badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block;
}

.badge-active {
    color: #10b981;
}

.badge-active::before {
    background-color: #10b981;
}

.badge-pending {
    color: #f59e0b;
}

.badge-pending::before {
    background-color: #f59e0b;
}

.badge-expired,
.badge-failed {
    color: #ef4444;
}

.badge-expired::before,
.badge-failed::before {
    background-color: #ef4444;
}

/* License Key Clean Container */
.license-key-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #0b0b0e;
    border: 1px solid var(--border-card);
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    color: #ffffff;
    transition: border-color var(--duration-fast) var(--ease-standard);
}

.license-key-pill:hover {
    border-color: rgba(255, 255, 255, 0.25);
}

.btn-copy-key {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 2px;
    display: flex;
    align-items: center;
    transition: color var(--duration-fast) var(--ease-standard), transform var(--duration-fast) var(--ease-standard);
}

.btn-copy-key:hover {
    color: #ffffff;
    transform: scale(1.1);
}

.btn-copy-key:active {
    transform: scale(0.95);
}

/* -----------------------------------------------------------------------------
   WORKSPACE NAVIGATION — EXECUTIVE LEFT SIDEBAR & TWO-COLUMN PORTAL LAYOUT
   ----------------------------------------------------------------------------- */
.workspace-tabs {
    display: none !important;
}

.workspace-layout {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
    width: 100%;
}

.workspace-sidebar {
    position: sticky;
    top: 96px;
    z-index: 20;
}

.workspace-sidebar-card {
    position: relative;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.22);
}

.workspace-sidebar-card::before {
    content: '';
    position: absolute;
    bottom: -15px;
    right: -15px;
    width: 160px;
    height: 160px;
    background-image: url('../img/shape-bg-ring.jpg');
    background-repeat: no-repeat;
    background-position: bottom right;
    background-size: contain;
    opacity: 0.18;
    mix-blend-mode: screen;
    pointer-events: none;
    z-index: 0;
}

[data-theme="light"] .workspace-sidebar-card {
    background: #ffffff !important;
    border-color: #cbd5e1 !important;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06) !important;
}

[data-theme="light"] .workspace-sidebar-card::before {
    opacity: 0.06;
    mix-blend-mode: multiply;
}

.workspace-sidebar-card > * {
    position: relative;
    z-index: 1;
}

.workspace-user-mini {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border-subtle);
}

.workspace-user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--bg-surface);
    border: 2px solid var(--border-subtle);
    flex-shrink: 0;
}

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

.workspace-user-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.workspace-user-title {
    font-size: 0.875rem;
    font-weight: 800;
    color: var(--text-white);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

[data-theme="light"] .workspace-user-title {
    color: #0f172a;
}

.workspace-user-role {
    font-size: 0.625rem;
    font-weight: 700;
    color: #10b981;
    letter-spacing: 0.06em;
}

.workspace-nav-section-title {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 8px;
    padding-left: 8px;
}

.workspace-sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.workspace-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.workspace-nav-item svg {
    opacity: 0.65;
    transition: opacity 0.2s ease;
    flex-shrink: 0;
}

.workspace-nav-item:hover {
    color: var(--text-white);
    background: var(--bg-surface);
    border-color: rgba(255, 255, 255, 0.08);
}

.workspace-nav-item:hover svg {
    opacity: 1;
}

.workspace-nav-item.active {
    color: #ffffff !important;
    background: #18181b !important;
    border-color: #3f3f46 !important;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.workspace-nav-item.active svg {
    opacity: 1;
    color: #ffffff !important;
}

[data-theme="light"] .workspace-nav-item {
    color: #475569;
}

[data-theme="light"] .workspace-nav-item:hover {
    color: #0f172a;
    background: #f1f5f9;
}

[data-theme="light"] .workspace-nav-item.active {
    background: #0f172a !important;
    border-color: #0f172a !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12) !important;
}

.workspace-sidebar-footer {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-subtle);
}

.workspace-sidebar-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    color: var(--text-white);
    font-size: 0.75rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.workspace-sidebar-cta:hover {
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.05);
}

[data-theme="light"] .workspace-sidebar-cta {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #0f172a;
}

.workspace-main {
    flex: 1;
    min-width: 0;
}

@media (max-width: 992px) {
    .workspace-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .workspace-sidebar {
        position: static;
    }
    .workspace-sidebar-nav {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 6px;
    }
    .workspace-nav-item {
        white-space: nowrap;
    }
    .workspace-sidebar-footer {
        display: none;
    }
}

/* -----------------------------------------------------------------------------
   SEARCH MODAL WITH SMOOTH ENTRANCE TRANSITIONS
   ----------------------------------------------------------------------------- */
.search-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    align-items: flex-start;
    justify-content: center;
    padding-top: 10vh;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--duration-fast) var(--ease-standard), visibility var(--duration-fast) ease;
}

.search-modal-overlay.open {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.search-modal-box {
    background: var(--bg-card);
    border: 1px solid var(--border-hover);
    border-radius: var(--radius-md);
    width: 100%;
    max-width: 600px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.8);
    transform: scale(0.96) translateY(-8px);
    transition: transform var(--duration-standard) var(--ease-standard);
    will-change: transform;
}

.search-modal-overlay.open .search-modal-box {
    transform: scale(1) translateY(0);
}

.search-modal-input-row {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-subtle);
    gap: 12px;
}

.search-modal-input {
    background: transparent;
    border: none;
    width: 100%;
    font-size: 1.0625rem;
    color: #ffffff;
    outline: none;
}

.search-modal-results {
    max-height: 380px;
    overflow-y: auto;
    padding: 10px 0;
}

.search-result-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    transition: background-color var(--duration-fast) var(--ease-standard);
}

.search-result-item:hover {
    background-color: var(--bg-card-hover);
}

/* -----------------------------------------------------------------------------
   AI SUPPORT CHAT WIDGET & CONSOLE STYLES
   ----------------------------------------------------------------------------- */
.floating-ai-trigger {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 990;
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: var(--accent-red);
    color: #ffffff;
    border: none;
    padding: 12px 22px;
    border-radius: var(--radius-pill);
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 25px rgba(217, 27, 36, 0.45);
    transition: transform var(--duration-fast) var(--ease-standard),
        background-color var(--duration-fast) var(--ease-standard),
        box-shadow var(--duration-fast) var(--ease-standard);
}

.floating-ai-trigger:hover {
    background-color: var(--accent-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(217, 27, 36, 0.6);
}

.floating-ai-trigger:active {
    transform: translateY(0);
}

.ai-modal {
    display: none;
    position: fixed;
    bottom: 84px;
    right: 24px;
    width: 380px;
    max-width: calc(100vw - 32px);
    height: 520px;
    background: #0f0f13;
    border: 1px solid var(--border-hover);
    border-radius: var(--radius-md);
    z-index: 995;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.85);
    transform: translateY(12px) scale(0.97);
    opacity: 0;
    transition: transform var(--duration-standard) var(--ease-standard), opacity var(--duration-standard) var(--ease-standard);
}

.ai-modal.open,
.ai-modal.active {
    display: flex;
    transform: translateY(0) scale(1);
    opacity: 1;
}

.ai-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    background: #141419;
    border-bottom: 1px solid var(--border-subtle);
}

.ai-chat-body {
    flex: 1;
    overflow-y: auto;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ai-msg {
    padding: 11px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.8125rem;
    line-height: 1.6;
    max-width: 86%;
    word-break: break-word;
    animation: msgIn 0.2s var(--ease-standard) forwards;
}

@keyframes msgIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

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

.ai-msg-assistant {
    background-color: #17171e;
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    align-self: flex-start;
}

.ai-msg-user {
    background-color: var(--accent-red);
    color: #ffffff;
    align-self: flex-end;
}

.ai-chat-footer {
    padding: 10px 14px;
    background: #141419;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    gap: 8px;
}

/* -----------------------------------------------------------------------------
   TOAST & NOTIFICATION SYSTEM
   ----------------------------------------------------------------------------- */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
}

.toast-item {
    pointer-events: all;
    background-color: #141418;
    border: 1px solid var(--border-hover);
    color: #ffffff;
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 280px;
    max-width: 420px;
    transform: translateY(12px) scale(0.96);
    opacity: 0;
    transition: transform var(--duration-standard) var(--ease-standard),
        opacity var(--duration-standard) var(--ease-standard);
    will-change: transform, opacity;
}

.toast-item.is-visible {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.toast-item.is-leaving {
    transform: translateY(-8px) scale(0.96);
    opacity: 0;
}

.toast-item.toast-success {
    border-color: rgba(16, 185, 129, 0.4);
}

.toast-item.toast-error {
    border-color: rgba(217, 27, 36, 0.45);
}

/* -----------------------------------------------------------------------------
   SKELETON SHIMMER (Performance-Conscious Content Placeholders)
   ----------------------------------------------------------------------------- */
.skeleton-box {
    background: linear-gradient(90deg, #131317 25%, #1c1c24 50%, #131317 75%);
    background-size: 200% 100%;
    animation: skeletonShimmer 1.5s infinite ease-in-out;
    border-radius: var(--radius-sm);
}

@keyframes skeletonShimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* -----------------------------------------------------------------------------
   CORPORATE FOOTER
   ----------------------------------------------------------------------------- */
.site-footer {
    background-color: #070709;
    border-top: 1px solid var(--border-subtle);
    padding-top: 4.5rem;
    padding-bottom: 2.5rem;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3.5rem;
}

.footer-col-title {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #ffffff;
    margin-bottom: 1.25rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link {
    font-size: 0.875rem;
    color: var(--text-muted);
    transition: color var(--duration-fast) var(--ease-standard);
}

.footer-link:hover {
    color: #ffffff;
}

.footer-bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.25rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-subtle);
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* -----------------------------------------------------------------------------
   RESPONSIVE BREAKPOINTS (Mobile-First)
   ----------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta-group {
        justify-content: center;
    }

    .hero-artwork-wrap {
        order: -1;
    }

    .hero-artwork-img {
        max-width: 420px;
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem 1.5rem;
    }

    .product-showcase-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .product-cards-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .announcements-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

@media (max-width: 992px) {
    .container {
        padding-left: 1.125rem !important;
        padding-right: 1.125rem !important;
    }

    .nav-menu {
        display: none !important;
    }

    .nav-brand-group {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
    }

    /* Hide Valkyrie VL Logo on Mobile & Tablet Navbar */
    .brand-logo {
        display: none !important;
    }

    /* Dashboard Menu Toggle: Frameless Icon (No Bulky Box Shape) */
    .mobile-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        color: var(--text-primary);
        padding: 4px;
        cursor: pointer;
        margin-right: 0;
    }

    /* Hide "VALKYRIE CORPORATION" text on mobile */
    .brand-text-block {
        display: none !important;
    }

    /* Hide Cart, Search, Theme toggle direct buttons on mobile header */
    .nav-cart-btn,
    .search-trigger-btn,
    .theme-toggle-btn {
        display: none !important;
    }

    /* Show Three Dots Menu Button on mobile (Frameless Icon • No Bulky Shape) */
    .mobile-dots-container {
        display: inline-flex !important;
        position: relative;
    }

    .mobile-dots-btn {
        width: 32px;
        height: 32px;
        border: none !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        color: var(--text-primary);
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: color 0.2s ease;
    }

    .mobile-dots-btn:hover,
    .mobile-dots-btn:focus {
        background: transparent !important;
        color: var(--accent-red);
    }

    .mobile-drawer-dash-link {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 9px 12px;
        border-radius: var(--radius-sm);
        color: var(--text-white);
        background: transparent;
        font-size: 0.8125rem;
        font-weight: 600;
        text-decoration: none;
        transition: background 0.15s ease, color 0.15s ease;
    }

    .mobile-drawer-dash-link:hover {
        background: rgba(255, 255, 255, 0.06);
        color: var(--accent-red);
    }

    .mobile-dots-popup {
        position: absolute;
        top: calc(100% + 8px);
        right: 0;
        min-width: 170px;
        background: var(--bg-card);
        border: 1px solid var(--border-card);
        border-radius: var(--radius-sm);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
        padding: 6px;
        z-index: 9999;
        display: flex;
        flex-direction: column;
        gap: 4px;
        animation: dotsFadeIn 0.18s cubic-bezier(0.16, 1, 0.3, 1);
    }

    [data-theme="light"] .mobile-dots-popup {
        background: #eaedf2;
        border-color: #c4cdd8;
        box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12);
    }

    .dots-popup-item {
        display: flex;
        align-items: center;
        gap: 10px;
        width: 100%;
        padding: 8px 12px;
        background: transparent;
        border: none;
        border-radius: var(--radius-xs);
        color: var(--text-primary);
        font-size: 0.8125rem;
        font-weight: 600;
        text-align: left;
        cursor: pointer;
        transition: all 0.15s ease;
    }

    .dots-popup-item:hover {
        background: var(--bg-card-hover);
        color: var(--accent-red);
    }

    .dots-popup-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--accent-red);
    }

    /* Mobile Hero Section: Grand Majestic Artwork Backdrop with Unzoomed Top Banner & Clean Bottom Typography */
    .hero-section {
        min-height: auto !important;
        margin-top: 0 !important;
        padding-top: 0.5rem !important;
        padding-bottom: 2.25rem !important;
        display: block !important;
        position: relative !important;
        overflow: hidden !important;
        background-color: #080808 !important;
    }

    .hero-artwork-backdrop {
        position: absolute !important;
        top: 12px !important;
        left: 0 !important;
        right: 0 !important;
        bottom: auto !important;
        width: 100% !important;
        height: 330px !important;
        max-height: 48vh !important;
        opacity: 0.95 !important;
        -webkit-mask-image: linear-gradient(to bottom,
            rgba(0, 0, 0, 1) 0%,
            rgba(0, 0, 0, 1) 50%,
            rgba(0, 0, 0, 0.75) 75%,
            rgba(8, 8, 8, 0) 100%
        ) !important;
        mask-image: linear-gradient(to bottom,
            rgba(0, 0, 0, 1) 0%,
            rgba(0, 0, 0, 1) 50%,
            rgba(0, 0, 0, 0.75) 75%,
            rgba(8, 8, 8, 0) 100%
        ) !important;
    }

    .hero-backdrop-img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center top !important;
        display: block !important;
    }

    .hero-fade-overlay {
        position: absolute !important;
        top: 12px !important;
        left: 0 !important;
        right: 0 !important;
        height: 330px !important;
        background: linear-gradient(to bottom,
            rgba(8, 8, 8, 0.15) 0%,
            rgba(8, 8, 8, 0) 25%,
            rgba(8, 8, 8, 0.45) 60%,
            rgba(8, 8, 8, 0.95) 88%,
            #080808 100%
        ) !important;
        pointer-events: none !important;
    }

    .hero-container {
        position: relative !important;
        z-index: 2 !important;
        padding-top: 235px !important;
        margin-top: 0 !important;
        width: 100% !important;
    }

    .hero-content {
        max-width: 100% !important;
        text-align: left !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    .hero-content > div:first-child {
        margin-bottom: 0.5rem !important;
        font-size: 0.8125rem !important;
        letter-spacing: 0.12em !important;
        font-style: normal !important;
    }

    .hero-title {
        font-size: clamp(2.4rem, 7.5vw, 2.9rem) !important;
        font-weight: 800 !important;
        line-height: 1.08 !important;
        margin-bottom: 0.75rem !important;
        letter-spacing: -0.03em !important;
        text-align: left !important;
        font-style: normal !important;
        display: inline-flex !important;
        align-items: center !important;
    }

    .hero-title-logo {
        height: 1.06em !important;
        width: auto !important;
    }

    .hero-title-text {
        margin-left: -0.14em !important;
    }

    .hero-subtitle {
        font-size: 0.9375rem !important;
        line-height: 1.6 !important;
        color: #94a3b8 !important;
        margin-bottom: 1rem !important;
        max-width: 100% !important;
        text-align: left !important;
        font-style: normal !important;
    }

    /* Community Logos on Mobile */
    .hero-social-group {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 14px !important;
        margin-top: 0 !important;
        margin-bottom: 1.25rem !important;
        padding-left: 0 !important;
    }

    .hero-social-group .hero-social-link {
        flex: none !important;
        width: 26px !important;
        height: 26px !important;
        padding: 0 !important;
        background: transparent !important;
        border: none !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .hero-social-group .hero-social-link svg {
        width: 24px !important;
        height: 24px !important;
        display: block !important;
    }

    .hero-social-group .hero-social-link img {
        width: 24px !important;
        height: 24px !important;
        object-fit: contain !important;
        display: block !important;
    }

    .hero-cta-group {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 8px !important;
        flex-wrap: nowrap !important;
        width: 100% !important;
    }

    .hero-cta-group .btn {
        flex: 1 1 0 !important;
        width: auto !important;
        min-width: 0 !important;
        justify-content: center !important;
        padding: 8px 12px !important;
        font-size: 0.8125rem !important;
        border-radius: var(--radius-pill) !important;
        height: 38px !important;
        white-space: nowrap !important;
    }

    .store-hero-header {
        margin-bottom: 1.75rem !important;
    }

    .store-hero-title {
        font-size: 1.85rem !important;
        line-height: 1.2 !important;
    }

    .store-hero-subtitle {
        font-size: 0.875rem !important;
    }

    .flat-category-bar {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
    }

    .flat-category-tabs {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        display: flex !important;
        gap: 6px !important;
    }

    .flat-category-tabs::-webkit-scrollbar {
        display: none !important;
    }

    .flat-tab-item {
        white-space: nowrap !important;
        padding: 6px 12px !important;
        font-size: 0.8125rem !important;
    }

    .flat-search-wrap {
        width: 100% !important;
    }

    .flat-secondary-bar {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 10px !important;
    }

    .flat-platform-group {
        overflow-x: auto !important;
        white-space: nowrap !important;
        width: 100% !important;
        padding-bottom: 2px !important;
    }

    .store-franchise-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    .store-products-grid {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
    }

    .announcements-grid {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
    }

    .announcements-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.75rem !important;
    }

    .announcements-title {
        font-size: 1.75rem !important;
    }

    .announcement-card {
        padding: 1.5rem 1.25rem !important;
    }

    .about-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .footer-bottom-bar {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.75rem !important;
    }

    .toast-container {
        left: 16px;
        right: 16px;
        bottom: 16px;
    }

    .toast-item {
        min-width: auto;
        width: 100%;
    }

    .trust-features-grid {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
    }
}

@media (min-width: 581px) and (max-width: 992px) {
    .trust-features-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem !important;
    }
}

/* =============================================================================
   ENTERPRISE STOREFRONT & PRODUCT ECOSYSTEM (Zero AI Slop)
   ============================================================================= */

.store-page-wrapper {
    padding-top: 2rem;
    padding-bottom: 5rem;
}

/* 1. Store Hero & Authoritative Telemetry Strip */
.store-hero-header {
    margin-bottom: 2.75rem;
}

.store-hero-title {
    font-size: clamp(2.25rem, 4vw, 3.25rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.store-hero-subtitle {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    max-width: 680px;
    line-height: 1.6;
    margin-bottom: 1.75rem;
}

.store-telemetry-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.25rem;
    background: #0d0d12;
    border: 1px solid #1c1d26;
    border-radius: var(--radius-md);
    padding: 0.875rem 1.5rem;
    width: fit-content;
    max-width: 100%;
}

.telemetry-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.telemetry-divider {
    width: 1px;
    height: 24px;
    background: #232530;
}

.telemetry-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.telemetry-dot.pulse-green {
    background-color: #10b981;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: telemetryPulse 2s infinite;
}

.telemetry-dot.dot-green {
    background-color: #10b981;
}

@keyframes telemetryPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        box-shadow: 0 0 0 7px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.telemetry-data {
    display: flex;
    flex-direction: column;
}

.telemetry-val {
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}

.telemetry-lbl {
    font-size: 0.6875rem;
    color: var(--text-muted);
    line-height: 1.2;
}

/* 2. Franchise Selection Strip */
.store-franchise-section {
    margin-bottom: 2.75rem;
}

.franchise-strip-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.franchise-strip-title {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

.franchise-strip-note {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: normal;
    color: var(--text-muted);
}

.btn-clear-franchise {
    background: transparent;
    border: 1px solid #232530;
    color: var(--text-secondary);
    padding: 0.375rem 0.875rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: all var(--duration-fast) ease;
}

.btn-clear-franchise:hover,
.btn-clear-franchise.is-active {
    background: #171822;
    border-color: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

.store-franchise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 992px) {
    .store-franchise-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .store-franchise-grid {
        grid-template-columns: 1fr;
    }
}

.franchise-hero-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: transform var(--duration-fast) var(--ease-standard),
                border-color var(--duration-fast) var(--ease-standard),
                background-color var(--duration-fast) var(--ease-standard),
                box-shadow var(--duration-fast) var(--ease-standard);
    user-select: none;
    position: relative;
}

.franchise-hero-card:hover {
    border-color: var(--border-hover);
    background-color: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.franchise-hero-card.is-selected {
    border-color: rgba(255, 255, 255, 0.22);
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45), 0 0 16px rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .franchise-hero-card {
    background-color: #ffffff !important;
    border: 1px solid #c8d1dc !important;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.03) !important;
}

[data-theme="light"] .franchise-hero-card:hover {
    border-color: #94a3b8 !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12) !important;
    background-color: #ffffff !important;
}

[data-theme="light"] .franchise-hero-card.is-selected {
    border-color: var(--accent-red) !important;
    background-color: #ffffff !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 24px rgba(201, 24, 32, 0.15), 0 0 0 2px var(--accent-red) !important;
}

[data-theme="light"] .franchise-hero-name {
    color: #0f172a !important;
}

[data-theme="light"] .franchise-hero-count {
    background: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    color: #475569 !important;
}

[data-theme="light"] .franchise-hero-platform {
    color: #64748b !important;
}

[data-theme="light"] .franchise-hero-tagline {
    color: #475569 !important;
}

[data-theme="light"] .franchise-strip-title span {
    color: #0f172a !important;
}

.franchise-hero-visual {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: var(--bg-card);
    overflow: hidden;
}

.franchise-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform var(--duration-smooth) var(--ease-standard);
}

.franchise-hero-card:hover .franchise-hero-img {
    transform: scale(1.05);
}

.franchise-hero-vignette {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(16, 16, 21, 0.85) 100%);
    pointer-events: none;
}

.franchise-hero-info {
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.franchise-info-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.25rem;
}

.franchise-hero-name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-white);
    line-height: 1.2;
}

.franchise-hero-count {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
}

.franchise-hero-platform {
    font-size: 0.75rem;
    color: #a1a1aa;
    font-weight: 500;
    margin-bottom: 0.625rem;
}

.franchise-hero-tagline {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    line-height: 1.45;
    margin-bottom: 1.125rem;
}

.franchise-hero-action {
    margin-top: auto;
    padding-top: 0.875rem;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.action-caption {
    font-family: var(--font-body, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
    font-size: 0.8125rem;
    font-weight: 500;
    text-transform: none;
    letter-spacing: normal;
    color: #3b82f6;
    transition: color var(--duration-fast) ease;
}

.franchise-hero-card:hover .action-caption {
    color: #60a5fa;
}

.franchise-hero-card.is-selected .action-caption {
    color: var(--text-white, #ffffff);
    font-weight: 600;
}

.franchise-hero-card.is-selected .action-chevron {
    transform: translateX(4px);
    color: var(--text-white, #ffffff);
}

.action-chevron {
    color: #3b82f6;
    transition: transform var(--duration-fast) ease, color var(--duration-fast) ease;
}

.franchise-hero-card:hover .action-chevron {
    transform: translateX(4px);
    color: #60a5fa;
}

/* 3. Flat Minimalist Category & Platform Controls (Zero Heavy Shapes) */
.store-flat-controls {
    margin-bottom: 2.25rem;
    border-bottom: 1px solid #1c1d26;
    padding-bottom: 1.25rem;
}

.flat-category-bar {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.25rem;
}

.flat-category-tabs {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.flat-tab-item {
    background: none;
    border: none;
    padding: 0 0 10px 0;
    margin: 0;
    color: #8e90a6;
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    position: relative;
    transition: color 0.15s ease;
}

.flat-tab-item:hover {
    color: #ffffff;
}

.flat-tab-item.active {
    color: #ffffff;
    font-weight: 700;
}

.flat-tab-item.active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    background: var(--accent-red, #dc2626);
}

.flat-tab-item .tab-num {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #71717a;
    transition: color 0.15s ease;
}

.flat-tab-item.active .tab-num {
    color: #ef4444;
}

/* Flat Search (No Pill/Capsule Shape) */
.flat-search-wrap {
    position: relative;
    display: flex;
    align-items: center;
    min-width: 240px;
    flex-grow: 1;
    max-width: 320px;
}

.flat-search-icon {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #71717a;
    pointer-events: none;
}

.flat-search-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid #272835;
    border-radius: 0;
    padding: 6px 24px 6px 24px;
    color: #ffffff;
    font-size: 0.875rem;
    outline: none;
    transition: border-color 0.2s ease;
}

.flat-search-input:focus {
    border-bottom-color: var(--accent-red, #dc2626);
}

.flat-search-input::placeholder {
    color: #52525b;
    font-size: 0.8125rem;
}

.flat-search-clear {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #71717a;
    cursor: pointer;
    font-size: 1.125rem;
    line-height: 1;
    display: none;
}

.flat-search-clear:hover {
    color: #ffffff;
}

/* Secondary Row: Platform Filter (Clean Flat Text Links) */
.flat-secondary-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.flat-platform-group {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.flat-platform-title {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #71717a;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-right: 4px;
}

.flat-platform-btn {
    background: none;
    border: none;
    padding: 2px 4px;
    margin: 0;
    color: #8e90a6;
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.15s ease;
}

.flat-platform-btn:hover {
    color: #ffffff;
}

.flat-platform-btn.active {
    color: #ffffff;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-color: var(--accent-red, #dc2626);
}

.flat-platform-divider {
    color: #3f3f46;
    font-size: 0.75rem;
}

.flat-right-tools {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.flat-counter-text {
    font-size: 0.8125rem;
    color: #71717a;
    font-weight: 500;
}

.flat-sort-select {
    background: transparent;
    border: none;
    border-bottom: 1px solid #272835;
    border-radius: 0;
    color: #8e90a6;
    font-size: 0.75rem;
    padding: 4px 6px;
    outline: none;
    cursor: pointer;
}

.flat-sort-select:focus {
    color: #ffffff;
    border-bottom-color: var(--accent-red);
}

/* Active Filter Chips */
.active-chips-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 0.875rem;
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #151620;
    border: 1px solid #2a2c3a;
    border-radius: 4px;
    padding: 2px 8px;
    font-size: 0.6875rem;
    color: #d1d5db;
}

.filter-chip-remove {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.875rem;
    line-height: 1;
    padding: 0;
}

.filter-chip-remove:hover {
    color: #ffffff;
}

/* 4. Product Catalog Grid & Enterprise Product Cards */
.store-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1.25rem;
}

@media (max-width: 1024px) {
    .store-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

@media (max-width: 640px) {
    .store-products-grid {
        grid-template-columns: 1fr;
    }
}

.store-product-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
    cursor: pointer;
    transition: transform var(--duration-fast) var(--ease-standard),
                border-color var(--duration-fast) var(--ease-standard),
                background-color var(--duration-fast) var(--ease-standard),
                box-shadow var(--duration-fast) var(--ease-standard);
    will-change: transform;
    position: relative;
}

.store-product-card.is-maintenance {
    order: 9999 !important;
}

.store-product-card:hover {
    border-color: var(--border-hover);
    background-color: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.6);
}

[data-theme="light"] .store-product-card {
    background-color: #ffffff !important;
    border: 1px solid #c8d1dc !important;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.04) !important;
}

[data-theme="light"] .store-product-card:hover {
    background-color: #ffffff !important;
    border-color: #94a3b8 !important;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12) !important;
}

[data-theme="light"] .card-product-title {
    color: #0f172a !important;
}

[data-theme="light"] .card-product-desc {
    color: #475569 !important;
}

[data-theme="light"] .price-value {
    color: #0f172a !important;
}

[data-theme="light"] .card-footer-action {
    border-top: 1px solid #e2e8f0 !important;
}

[data-theme="light"] .btn-store-action {
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
}

[data-theme="light"] .btn-store-action:hover,
[data-theme="light"] .store-product-card:hover .btn-store-action {
    background: var(--accent-red) !important;
    border-color: var(--accent-red) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(201, 24, 32, 0.35) !important;
}

.card-media-banner {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #050507;
    overflow: hidden;
}

.card-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform var(--duration-smooth) var(--ease-standard);
}

.store-product-card:hover .card-banner-img {
    transform: scale(1.05);
}

.card-banner-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.02) 0%, rgba(8, 8, 11, 0.95) 100%);
    pointer-events: none;
}

.card-body-content {
    padding: 1.25rem 1.375rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-category-strip {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.category-name {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

.platform-meta {
    font-size: 0.6875rem;
    color: var(--text-muted);
    font-weight: 500;
}

.card-product-title {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-white);
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

.card-product-title a {
    color: inherit;
    text-decoration: none;
    transition: color var(--duration-fast) ease;
}

.card-product-title a:hover {
    color: var(--accent-red);
}

.card-product-desc {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-duration-tiers {
    margin-top: auto;
    margin-bottom: 1.125rem;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.tiers-label {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--text-muted);
}

.tiers-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.tier-pill {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 0;
    font-size: 0.6875rem;
    font-weight: 500;
}

.tier-pill:not(:last-child)::after {
    content: "•";
    margin: 0 4px;
    color: rgba(255, 255, 255, 0.25);
}

.card-footer-action {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-subtle);
}

.card-price-block {
    display: flex;
    flex-direction: column;
}

.price-caption {
    font-size: 0.6875rem;
    color: var(--text-muted);
    line-height: 1.2;
}

.price-value {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--text-white);
    line-height: 1.2;
}

.btn-store-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-card-hover);
    border: 1px solid var(--border-card);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: all var(--duration-fast) ease;
}

.btn-store-action:hover,
.store-product-card:hover .btn-store-action {
    background: var(--accent-red);
    border-color: var(--accent-red);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(185, 28, 28, 0.4);
}

/* 5. Point Blank Maintenance Banner */
.store-maintenance-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    padding: 2.25rem 2rem;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    margin-top: 1.5rem;
}

[data-theme="light"] .store-maintenance-card {
    background: #ffffff !important;
    border: 1px solid #fecaca !important;
    box-shadow: 0 4px 16px rgba(239, 68, 68, 0.08) !important;
}

[data-theme="light"] .maint-title {
    color: #0f172a !important;
}

[data-theme="light"] .store-empty-card {
    background: #ffffff !important;
    border: 1.5px dashed #cbd5e1 !important;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05) !important;
}

[data-theme="light"] .empty-title {
    color: #0f172a !important;
}

@media (max-width: 640px) {
    .store-maintenance-card {
        flex-direction: column;
        padding: 1.5rem;
    }
}

.maint-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.maint-badge {
    font-family: var(--font-heading);
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--accent-red);
    margin-bottom: 0.375rem;
}

.maint-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.625rem;
}

.maint-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 760px;
    margin-bottom: 1.25rem;
}

.maint-actions {
    display: flex;
    gap: 0.875rem;
    flex-wrap: wrap;
}

/* 6. Empty Search State */
.store-empty-card {
    text-align: center;
    padding: 4rem 1.5rem;
    background: #0d0d12;
    border: 1px dashed #232530;
    border-radius: var(--radius-md);
    margin-top: 1.5rem;
}

.empty-icon-box {
    margin-bottom: 1rem;
}

.empty-title {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.empty-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    max-width: 480px;
    margin: 0 auto 1.5rem auto;
}

/* Category Selection Prompt */
.store-category-prompt {
    margin: 2rem 0 3.5rem;
    text-align: center;
    padding: 2.25rem 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 255, 255, 0.12);
    border-radius: 12px;
}

.store-category-prompt .prompt-icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    margin-bottom: 0.75rem;
    color: var(--text-muted);
}

.store-category-prompt .prompt-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 0.35rem;
}

.store-category-prompt .prompt-desc {
    font-size: 0.84rem;
    color: var(--text-secondary);
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.5;
}

[data-theme="light"] .store-category-prompt {
    background: #ffffff !important;
    border: 1.5px dashed #cbd5e1 !important;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05) !important;
}

[data-theme="light"] .store-category-prompt .prompt-icon-circle {
    background: #f1f5f9 !important;
    color: #64748b !important;
}

[data-theme="light"] .store-category-prompt .prompt-title {
    color: #0f172a !important;
}

/* =============================================================================
   VALKYRIE STORE DASHBOARD & REFERENCE DESIGN SYSTEM
   ============================================================================= */

/* App Shell (Desktop Dock + Viewport) */
.store-app-shell {
    display: flex;
    gap: 1.75rem;
    align-items: flex-start;
    width: 100%;
}

.store-app-dock {
    width: 60px;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    padding: 12px 8px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    position: sticky;
    top: 92px;
    flex-shrink: 0;
    box-shadow: var(--shadow-card);
    z-index: 20;
}

[data-theme="light"] .store-app-dock {
    background: #ffffff !important;
    border: 1px solid #c8d1dc !important;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08) !important;
}

[data-theme="light"] .dock-item {
    color: #64748b !important;
}

[data-theme="light"] .dock-item:hover {
    color: #0f172a !important;
    background: #f1f5f9 !important;
}

.dock-item {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all var(--duration-fast) var(--ease-standard);
    position: relative;
    text-decoration: none;
}

.dock-item:hover {
    color: var(--text-white);
    background: var(--bg-card-hover);
    transform: translateY(-1px);
}

.dock-item.active {
    background: var(--accent-red) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(201, 24, 32, 0.4);
}

.store-app-viewport {
    flex: 1;
    min-width: 0;
    width: 100%;
}

@media (max-width: 1024px) {
    .store-app-dock {
        display: none;
    }
}

/* Header Cart Button & User Avatar */
.nav-cart-btn {
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all var(--duration-fast) var(--ease-standard);
}

.nav-cart-btn:hover {
    color: var(--text-primary);
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: scale(1.05);
}

.nav-cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    background: var(--accent-red);
    color: #ffffff;
    font-size: 0.625rem;
    font-weight: 800;
    font-family: var(--font-heading);
    border-radius: var(--radius-pill);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    border: 2px solid var(--bg-body);
}

.nav-user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--border-card);
    overflow: visible;
    flex-shrink: 0;
}

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

.nav-avatar-initial {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--accent-red);
    color: #ffffff;
    font-weight: 800;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-status-dot {
    position: absolute;
    bottom: -1px;
    right: -1px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #10b981;
    border: 2px solid var(--bg-body);
}

/* Cart Drawer (Matching Reference Bottom Center) */
.cart-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: var(--modal-backdrop);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    display: flex;
    justify-content: flex-end;
}

.cart-drawer-backdrop.open {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.cart-drawer-box {
    width: 100%;
    max-width: 440px;
    height: 100%;
    background: var(--bg-card);
    border-left: 1px solid var(--border-card);
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 35px rgba(0, 0, 0, 0.4);
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.cart-drawer-backdrop.open .cart-drawer-box {
    transform: translateX(0);
}

.cart-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
}

.cart-drawer-title {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--text-white);
    margin: 0;
}

.cart-drawer-close {
    background: none;
    border: none;
    font-size: 1.75rem;
    line-height: 1;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    transition: color 0.15s ease;
}

.cart-drawer-close:hover {
    color: var(--text-white);
}

.cart-drawer-body {
    padding: 1.5rem;
    overflow-y: auto;
    flex: 1;
}

.cart-empty-message {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.cart-items-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cart-item-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    display: flex;
    gap: 12px;
    align-items: center;
}

.cart-item-thumb {
    width: 52px;
    height: 52px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid var(--border-subtle);
}

.cart-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details {
    flex: 1;
    min-width: 0;
}

.cart-item-name {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-white);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-item-plan {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.cart-item-price {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--accent-red);
    margin-top: 2px;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    flex-shrink: 0;
}

.cart-item-stepper {
    display: inline-flex;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    padding: 2px 6px;
    gap: 6px;
}

.cart-stepper-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 700;
    cursor: pointer;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: color 0.15s ease, background 0.15s ease;
}

.cart-stepper-btn:hover {
    color: var(--text-white);
    background: var(--bg-surface-hover);
}

.cart-stepper-val {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-primary);
    min-width: 14px;
    text-align: center;
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: color 0.15s ease, background 0.15s ease;
}

.cart-item-remove:hover {
    color: var(--status-failed);
    background: rgba(239, 68, 68, 0.1);
}

.cart-drawer-footer {
    padding: 1.25rem 1.5rem;
    border-top: 1px solid var(--border-subtle);
    background: var(--bg-surface);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

.cart-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 8px;
    border-top: 1px solid var(--border-subtle);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-white);
}

.cart-total-price {
    font-size: 1.25rem;
    color: var(--accent-red);
}

/* Featured Hero Banner (Matching Reference Top Section) */
.store-featured-hero {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 2.25rem;
    min-height: 250px;
    display: flex;
    align-items: center;
    border: 1px solid var(--border-card);
    background-color: var(--bg-card);
    box-shadow: var(--shadow-card);
}

.featured-hero-visual {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.store-hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), visibility 1.2s ease;
    will-change: opacity;
}

.store-hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.featured-hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    opacity: 0.88;
}

.featured-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, 
        rgba(10, 11, 14, 0.95) 0%, 
        rgba(10, 11, 14, 0.85) 40%, 
        rgba(10, 11, 14, 0.35) 70%, 
        transparent 100%),
        linear-gradient(180deg, transparent 60%, rgba(10, 11, 14, 0.85) 100%);
    pointer-events: none;
}

[data-theme="light"] .featured-hero-bg {
    opacity: 0.72;
}

[data-theme="light"] .featured-hero-overlay {
    background: linear-gradient(90deg, 
        rgba(226, 230, 235, 0.98) 0%, 
        rgba(226, 230, 235, 0.90) 40%, 
        rgba(226, 230, 235, 0.40) 70%, 
        transparent 100%),
        linear-gradient(180deg, transparent 60%, rgba(226, 230, 235, 0.85) 100%);
}

.featured-hero-content {
    position: relative;
    z-index: 2;
    padding: 2.25rem 2.5rem;
    max-width: 620px;
}

.featured-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-heading);
    font-size: 0.6875rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent-red);
    margin-bottom: 0.75rem;
}

.badge-dot-live {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-red);
    box-shadow: 0 0 8px var(--accent-red);
    animation: livePulse 2s infinite;
}

.featured-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(1.85rem, 3.2vw, 2.5rem);
    font-weight: 800;
    color: var(--text-white);
    line-height: 1.15;
    margin-bottom: 0.625rem;
    letter-spacing: -0.02em;
}

.featured-hero-desc {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

[data-theme="light"] .featured-hero-title {
    color: #0f172a !important;
    text-shadow: none !important;
}

[data-theme="light"] .featured-hero-desc {
    color: #334155 !important;
    text-shadow: none !important;
}

[data-theme="light"] .franchise-hero-vignette,
[data-theme="light"] .card-banner-gradient {
    background: linear-gradient(180deg, rgba(240, 243, 247, 0) 0%, rgba(240, 243, 247, 0.88) 100%) !important;
}

[data-theme="light"] .card-media-banner,
[data-theme="light"] .franchise-hero-visual,
[data-theme="light"] .product-cover-wrap,
[data-theme="light"] .game-hub-cover-wrap {
    background-color: #dce1e7;
}

.featured-hero-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}

.featured-hero-dots {
    display: flex;
    align-items: center;
    gap: 6px;
}

.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.25);
    transition: all 0.25s ease;
}

[data-theme="light"] .hero-dot {
    background: rgba(15, 23, 42, 0.25);
}

.hero-dot.active {
    width: 22px;
    background: var(--accent-red);
}

@media (max-width: 768px) {
    .store-featured-hero {
        width: 100% !important;
        height: auto !important;
        min-height: 290px !important;
        aspect-ratio: unset !important;
        max-height: unset !important;
        margin-bottom: 1.5rem !important;
        border-radius: var(--radius-sm) !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-end !important;
        position: relative !important;
        overflow: hidden !important;
        background: #090a0f !important;
    }

    .featured-hero-visual {
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
    }

    .featured-hero-bg {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center center !important;
        transform: none !important;
    }

    .featured-hero-overlay {
        background: linear-gradient(180deg, rgba(9, 10, 15, 0.4) 0%, rgba(9, 10, 15, 0.85) 55%, rgba(9, 10, 15, 0.98) 100%) !important;
    }

    [data-theme="light"] .featured-hero-overlay {
        background: linear-gradient(180deg, rgba(240, 243, 247, 0.35) 0%, rgba(240, 243, 247, 0.88) 55%, rgba(240, 243, 247, 0.98) 100%) !important;
    }

    .featured-hero-content {
        position: relative !important;
        inset: auto !important;
        z-index: 2 !important;
        padding: 1.75rem 1.25rem 1.25rem 1.25rem !important;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-end !important;
        align-items: flex-start !important;
        text-align: left !important;
        pointer-events: auto !important;
    }

    .featured-hero-badge {
        display: inline-flex !important;
        font-size: 0.65rem !important;
        margin-bottom: 0.4rem !important;
    }

    .featured-hero-title {
        display: block !important;
        font-size: 1.625rem !important;
        font-weight: 800 !important;
        line-height: 1.2 !important;
        margin-bottom: 0.5rem !important;
        color: #ffffff !important;
    }

    [data-theme="light"] .featured-hero-title {
        color: #0f172a !important;
    }

    .featured-hero-desc {
        display: block !important;
        font-size: 0.8125rem !important;
        line-height: 1.5 !important;
        margin-bottom: 1.125rem !important;
        color: #d1d5db !important;
        max-width: 100% !important;
    }

    [data-theme="light"] .featured-hero-desc {
        color: #334155 !important;
    }

    .featured-hero-actions {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 0.625rem !important;
        width: 100% !important;
        margin-bottom: 1rem !important;
        pointer-events: auto !important;
    }

    .featured-hero-actions .btn {
        flex: 1 1 calc(50% - 0.5rem) !important;
        min-width: 130px !important;
        padding: 0.65rem 0.875rem !important;
        font-size: 0.8125rem !important;
        justify-content: center !important;
        white-space: nowrap !important;
    }

    .featured-hero-dots {
        margin: 0 !important;
        gap: 6px !important;
        pointer-events: auto !important;
        align-self: center !important;
    }

    .hero-dot {
        width: 7px !important;
        height: 7px !important;
    }

    .hero-dot.active {
        width: 20px !important;
    }
}

/* Corner Game Badge Overlay on Cards (Matching Reference) */
.card-game-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(12, 13, 18, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
    transition: transform var(--duration-fast) ease;
}

.card-game-badge img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.store-product-card:hover .card-game-badge,
.franchise-hero-card:hover .card-game-badge {
    transform: scale(1.08);
}

[data-theme="light"] .card-game-badge {
    background: rgba(234, 237, 242, 0.95);
    border-color: rgba(15, 23, 42, 0.12);
    box-shadow: 0 3px 10px rgba(15, 23, 42, 0.08);
}

.card-platform-chip {
    display: none !important;
}

/* Card Circular Cart Button (Matching Reference) */
.btn-card-cart {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #0d0d12;
    border: 1px solid var(--border-card);
    color: var(--text-white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all var(--duration-fast) var(--ease-standard);
    cursor: pointer;
    flex-shrink: 0;
    text-decoration: none;
}

[data-theme="light"] .btn-card-cart {
    background: #ffffff;
    border-color: #cbd5e1;
    color: #0f172a;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.btn-card-cart:hover,
.store-product-card:hover .btn-card-cart {
    background: var(--accent-red);
    border-color: var(--accent-red);
    color: #ffffff;
    transform: scale(1.08);
    box-shadow: 0 4px 14px rgba(201, 24, 32, 0.4);
}

/* Pill-Based Filter Toolbar (Matching Reference Top Right) */
.store-controls-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.store-pill-tabs {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.store-pill-tab {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-pill);
    padding: 7px 18px;
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all var(--duration-fast) var(--ease-standard);
    user-select: none;
}

.store-pill-tab:hover {
    color: var(--text-white);
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
}

.store-pill-tab.active {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.22) !important;
    color: #ffffff !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25), 0 0 12px rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .store-pill-tab {
    background: #ffffff !important;
    border: 1px solid #c8d1dc !important;
    color: #475569 !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04) !important;
}

[data-theme="light"] .store-pill-tab:hover {
    background: #f8fafc !important;
    border-color: #94a3b8 !important;
    color: #0f172a !important;
}

[data-theme="light"] .store-pill-tab.active {
    background: #0f172a !important;
    border-color: #0f172a !important;
    color: #ffffff !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.15) !important;
}

.pill-badge-num {
    font-size: 0.6875rem;
    font-weight: 700;
    opacity: 0.85;
}

[data-theme="light"] .store-pill-tab .pill-badge-num {
    background: rgba(0, 0, 0, 0.06);
    padding: 1px 6px;
    border-radius: 999px;
}

[data-theme="light"] .store-pill-tab.active .pill-badge-num {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

.store-pill-search {
    position: relative;
    display: flex;
    align-items: center;
    min-width: 260px;
    flex-grow: 1;
    max-width: 360px;
}

.search-pill-icon {
    position: absolute;
    left: 14px;
    color: var(--text-muted);
    pointer-events: none;
}

.search-pill-input {
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-pill);
    padding: 8px 36px 8px 38px;
    color: var(--text-primary);
    font-size: 0.875rem;
    outline: none;
    transition: all var(--duration-fast) var(--ease-standard);
}

[data-theme="light"] .search-pill-input {
    background: #ffffff !important;
    border: 1px solid #c8d1dc !important;
    color: #0f172a !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04) !important;
}

.search-pill-input:focus {
    border-color: var(--accent-red);
    box-shadow: 0 0 0 3px rgba(201, 24, 32, 0.15);
    background: var(--bg-surface);
}

[data-theme="light"] .search-pill-input:focus {
    border-color: var(--accent-red) !important;
    box-shadow: 0 0 0 3px rgba(201, 24, 32, 0.15) !important;
    background: #ffffff !important;
}

.search-pill-clear {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.125rem;
    line-height: 1;
    cursor: pointer;
    display: none;
}

.search-pill-clear:hover {
    color: var(--text-white);
}

.store-platform-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-subtle);
}

.platform-pill-group {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.platform-filter-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-right: 4px;
}

.platform-pill-btn {
    background: transparent;
    border: 1px solid var(--border-card);
    border-radius: var(--radius-pill);
    padding: 4px 12px;
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--duration-fast) ease;
}

.platform-pill-btn:hover {
    color: var(--text-white);
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
}

.platform-pill-btn.active {
    background: var(--accent-red);
    border-color: var(--accent-red);
    color: #ffffff;
}

[data-theme="light"] .platform-pill-btn {
    background: #ffffff !important;
    border: 1px solid #c8d1dc !important;
    color: #475569 !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03) !important;
}

[data-theme="light"] .platform-pill-btn:hover {
    background: #f8fafc !important;
    border-color: #94a3b8 !important;
    color: #0f172a !important;
}

[data-theme="light"] .platform-pill-btn.active {
    background: var(--accent-red) !important;
    border-color: var(--accent-red) !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(201, 24, 32, 0.3) !important;
}

.store-tools-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.store-counter-text {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.store-sort-dropdown {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-pill);
    color: var(--text-primary);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 14px;
    outline: none;
    cursor: pointer;
}

[data-theme="light"] .store-sort-dropdown {
    background: #ffffff !important;
    border: 1px solid #c8d1dc !important;
    color: #0f172a !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04) !important;
}

/* Product Detail Page Layout & High-Tier Interface */
.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
}

@media (min-width: 992px) {
    .product-detail-layout {
        grid-template-columns: 1.15fr 1fr;
        gap: 3rem;
    }
}

.product-gallery-container {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.product-gallery-main {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 16 / 9;
    max-height: 400px;
    background: #07090e;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.product-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.2s ease;
}

.gallery-thumbs-row {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.gallery-thumbs-row::-webkit-scrollbar {
    display: none;
}

.gallery-thumb-item {
    width: 80px;
    height: 54px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    background: rgba(255, 255, 255, 0.03);
    flex-shrink: 0;
    transition: all var(--duration-fast) ease;
    padding: 0;
    position: relative;
}

.gallery-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.gallery-thumb-item:hover {
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
}

.gallery-thumb-item.active {
    border-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.8), 0 4px 14px rgba(0, 0, 0, 0.45);
}

.gallery-thumb-video {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-muted);
}

.gallery-thumb-video:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.08);
}

.product-detail-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0.75rem;
}

.product-detail-badge {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
    background: var(--bg-surface);
}

.product-detail-badge img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-rating-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.rating-stars {
    display: flex;
    gap: 3px;
    color: #f59e0b;
}

.rating-score {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-white);
}

.verified-build-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.95);
    background: none;
    border: none;
    padding: 0;
    line-height: 1;
}

.verified-build-label .verified-icon {
    width: 17px;
    height: 17px;
    object-fit: contain;
    flex-shrink: 0;
    display: inline-block;
    vertical-align: middle;
}

.rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.95);
    background: none;
    border: none;
    padding: 0;
}

/* Plan Selection Cards (Clean Flat Typography • Zero Shape Clutter) */
.plan-flat-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 1.5rem;
}

.plan-flat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
    cursor: pointer;
    transition: all 0.15s ease;
    user-select: none;
}

.plan-flat-row:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.18);
}

.plan-flat-row.selected {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.plan-flat-main {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.plan-flat-name {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-white);
}

.plan-flat-duration {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.plan-flat-price {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-white);
}

[data-theme="light"] .plan-flat-row {
    background: #ffffff;
    border-color: #e2e8f0;
}

[data-theme="light"] .plan-flat-row:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

[data-theme="light"] .plan-flat-row.selected {
    background: #ffffff;
    border-color: #0f172a;
    box-shadow: 0 0 0 1px #0f172a;
}

[data-theme="light"] .plan-flat-name,
[data-theme="light"] .plan-flat-price {
    color: #0f172a !important;
}

[data-theme="light"] .plan-flat-duration {
    color: #64748b !important;
}

.plan-cards-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 1.5rem;
}

.plan-selection-card {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(255, 255, 255, 0.02);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    user-select: none;
    box-sizing: border-box;
}

.plan-selection-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.22);
    transform: translateY(-1px);
}

/* Selected state: Elegant Crisp White */
.plan-selection-card.selected {
    border-color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35), 0 8px 24px rgba(0, 0, 0, 0.45);
}

.plan-info-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.plan-radio-circle {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.28);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
    background: transparent;
}

.plan-selection-card:hover .plan-radio-circle {
    border-color: rgba(255, 255, 255, 0.5);
}

.plan-selection-card.selected .plan-radio-circle {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
}

.plan-radio-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.9);
    opacity: 0;
    transform: scale(0.3);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.plan-selection-card.selected .plan-radio-dot {
    opacity: 1;
    transform: scale(1);
}

.plan-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.plan-name {
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.9375rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    transition: color 0.15s ease;
}

.plan-selection-card.selected .plan-name {
    color: #ffffff;
}

.plan-duration {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.plan-price-tag {
    font-family: var(--font-heading);
    font-size: 1.0625rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: -0.01em;
    transition: color 0.15s ease;
}

.plan-selection-card.selected .plan-price-tag {
    color: #ffffff;
}

/* Dedicated Product Page Elements Styling */
.product-card-surface {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.product-spec-title {
    color: var(--text-white);
}

.feature-title-item {
    color: var(--text-white);
}

.feature-desc-item {
    color: var(--text-secondary);
}

.product-main-title {
    color: var(--text-white);
}

.product-description-text {
    color: var(--text-secondary);
}

.product-plan-title {
    color: var(--text-white);
}

.product-plan-subtitle {
    color: var(--text-muted);
}

.product-total-box {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.product-total-label {
    color: var(--text-muted);
}

.product-total-price {
    color: var(--text-white);
}

.product-compat-box {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
}

.product-compat-title {
    color: var(--text-white);
}

.product-compat-desc {
    color: var(--text-muted);
}

.product-active-license-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #94a3b8;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 3px 9px;
    border-radius: 9999px;
}

.product-active-license-pill svg {
    color: #22c55e;
}

/* Light Theme Overrides for Product Detail Page */
[data-theme="light"] .product-card-surface {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.02) !important;
}

[data-theme="light"] .product-spec-title,
[data-theme="light"] .feature-title-item,
[data-theme="light"] .product-main-title,
[data-theme="light"] .product-plan-title,
[data-theme="light"] .product-total-price,
[data-theme="light"] .product-compat-title,
[data-theme="light"] .rating-score,
[data-theme="light"] .verified-build-label {
    color: #0f172a !important;
}

[data-theme="light"] .feature-desc-item,
[data-theme="light"] .product-description-text {
    color: #334155 !important;
}

[data-theme="light"] .product-plan-subtitle,
[data-theme="light"] .product-total-label,
[data-theme="light"] .product-compat-desc {
    color: #64748b !important;
}

[data-theme="light"] .product-total-box,
[data-theme="light"] .product-compat-box {
    border-top: 1px solid #e2e8f0 !important;
}

[data-theme="light"] .product-active-license-pill {
    color: #334155;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
}

[data-theme="light"] .plan-selection-card {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .plan-selection-card:hover {
    background: #f8fafc;
    border-color: #94a3b8;
    transform: translateY(-1px);
}

[data-theme="light"] .plan-selection-card.selected {
    background: #ffffff;
    border: 2px solid #0f172a;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .plan-name {
    color: #0f172a !important;
}

[data-theme="light"] .plan-duration {
    color: #64748b !important;
}

[data-theme="light"] .plan-price-tag {
    color: #0f172a !important;
}

[data-theme="light"] .plan-radio-circle {
    border-color: #94a3b8;
    background: #ffffff;
}

[data-theme="light"] .plan-selection-card.selected .plan-radio-circle {
    border-color: #0f172a;
    background: #0f172a;
}

[data-theme="light"] .plan-selection-card.selected .plan-radio-dot {
    background: #ffffff;
    box-shadow: none;
}

[data-theme="light"] .btn-product-buy {
    background: #10b981 !important;
    color: #ffffff !important;
    border-color: #059669 !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
}

[data-theme="light"] .btn-product-buy:hover {
    background: #059669 !important;
    border-color: #047857 !important;
    color: #ffffff !important;
}

[data-theme="light"] .btn-product-wishlist {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #334155;
}

[data-theme="light"] .btn-product-wishlist:hover {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #94a3b8;
}

[data-theme="light"] .product-features-strip {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

[data-theme="light"] .feature-strip-item {
    color: #475569;
}

[data-theme="light"] .gallery-thumb-item {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
}

[data-theme="light"] .gallery-thumb-item.active {
    border-color: #0f172a;
}

/* =============================================================================
   Profile Dropdown Popup Menu (Top Right User Avatar)
   ============================================================================= */
.nav-profile-menu-container {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.profile-dropdown-popup {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 240px;
    background: rgba(18, 18, 22, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 8px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    animation: popupFadeIn 0.15s ease-out;
}

@keyframes popupFadeIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.profile-popup-header {
    padding: 8px 12px 10px;
}

.profile-popup-name {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-white);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.profile-popup-email {
    font-size: 0.75rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 2px;
}

.profile-popup-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 4px 6px;
}

.profile-popup-items {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.profile-popup-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.15s ease;
}

.profile-popup-item svg {
    color: var(--text-muted);
    flex-shrink: 0;
    transition: color 0.15s ease;
}

.profile-popup-item:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-white);
}

.profile-popup-item:hover svg {
    color: var(--text-white);
}

.profile-popup-logout {
    color: #f87171 !important;
}

.profile-popup-logout svg {
    color: #f87171 !important;
}

.profile-popup-logout:hover {
    background: rgba(239, 68, 68, 0.12) !important;
    color: #ef4444 !important;
}

/* Light Theme Overrides for Profile Popup */
[data-theme="light"] .profile-dropdown-popup {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12), 0 1px 3px rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] .profile-popup-name {
    color: #0f172a !important;
}

[data-theme="light"] .profile-popup-email {
    color: #64748b !important;
}

[data-theme="light"] .profile-popup-divider {
    background: #e2e8f0 !important;
}

[data-theme="light"] .profile-popup-item {
    color: #334155 !important;
}

[data-theme="light"] .profile-popup-item svg {
    color: #64748b !important;
}

[data-theme="light"] .profile-popup-item:hover {
    background: #f1f5f9 !important;
    color: #0f172a !important;
}

[data-theme="light"] .profile-popup-item:hover svg {
    color: #0f172a !important;
}

/* Purchase Actions */
.product-cta-group {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.5rem;
}

.btn-product-buy {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #10b981 !important;
    color: #ffffff !important;
    border: 1px solid #059669 !important;
    padding: 14px 24px;
    border-radius: 8px !important;
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(16, 185, 129, 0.35);
    transition: all var(--duration-fast) var(--ease-standard);
}

.btn-product-buy:hover {
    background: #059669 !important;
    border-color: #047857 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(16, 185, 129, 0.5);
}

.btn-product-wishlist {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--duration-fast) ease;
    flex-shrink: 0;
}

.btn-product-wishlist:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.08);
    transform: scale(1.05);
}

.btn-product-wishlist.active {
    color: #f59e0b;
    border-color: rgba(245, 158, 11, 0.4);
    background: rgba(245, 158, 11, 0.1);
}

.product-features-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    margin-bottom: 1.75rem;
}

.feature-strip-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.feature-strip-item svg {
    color: #ffffff !important;
    stroke: #ffffff;
    flex-shrink: 0;
}

@media (max-width: 640px) {
    .product-features-strip {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

/* =============================================================================
   VALKYRIE AI ASSISTANT — FULL SCREEN DESKTOP & BALANCED MOBILE WORKSPACE
   ============================================================================= */
html:has(body.page-ai-assistant),
body.page-ai-assistant {
    height: 100vh !important;
    height: 100dvh !important;
    width: 100vw !important;
    max-width: 100vw !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #0d0e12 !important;
}

body.page-ai-assistant .site-header,
body.page-ai-assistant .site-footer,
body.page-ai-assistant .mobile-drawer,
body.page-ai-assistant .drawer-backdrop,
body.page-ai-assistant .valkyrie-page-loader {
    display: none !important;
}

body.page-ai-assistant .main-content {
    margin: 0 !important;
    padding: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    max-width: 100vw !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    animation: none !important;
}

.ai-workspace-container {
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    max-width: 100vw;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.ai-workspace-shell {
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    min-height: 100%;
    border-radius: 0;
    background: #0d0e12;
    border: none;
    display: flex;
    overflow: hidden;
    position: relative;
    box-shadow: none;
    animation: none;
}

/* Sidebar — Flush Left Dock (260px) */
.ai-sidebar {
    width: 260px;
    height: 100%;
    flex-shrink: 0;
    background: #131417;
    border-right: 1px solid rgba(255, 255, 255, 0.07);
    display: flex;
    flex-direction: column;
    padding: 14px 12px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
    transition: transform var(--duration-standard) var(--ease-standard);
    z-index: 50;
}
.ai-sidebar::-webkit-scrollbar { width: 4px; }
.ai-sidebar::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.12); border-radius: 4px; }

.ai-sidebar-brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding: 0 4px;
}
.ai-sidebar-brand-left {
    display: flex;
    align-items: center;
    gap: 8px;
}
.ai-sidebar-brand-logo {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.ai-sidebar-brand-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.01em;
}
.ai-sidebar-icon-btn {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--duration-fast) ease;
}
.ai-sidebar-icon-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.16);
}

/* Primary Action: New Chat (Reference Claude Style) */
.ai-sidebar-new-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 9px 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.09);
    color: #ffffff;
    font-size: 0.84rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    margin-bottom: 12px;
}
.ai-sidebar-new-btn:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.18);
}

/* Sidebar Search Box */
.ai-sidebar-search-box {
    position: relative;
    margin-bottom: 8px;
}
.ai-sidebar-search-box svg {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}
.ai-sidebar-search-input {
    width: 100%;
    padding: 7px 10px 7px 30px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 8px;
    color: #ffffff;
    font-size: 0.8rem;
    outline: none;
    transition: all var(--duration-fast) ease;
}
.ai-sidebar-search-input:focus {
    border-color: rgba(239, 68, 68, 0.5);
    background: rgba(255, 255, 255, 0.06);
}

/* Sidebar Nav Links */
.ai-sidebar-nav-group {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-bottom: 12px;
}
.ai-nav-pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 10px;
    border-radius: 8px;
    font-size: 0.825rem;
    font-weight: 500;
    color: #a1a1aa;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all var(--duration-fast) ease;
    user-select: none;
}
.ai-nav-pill-left {
    display: flex;
    align-items: center;
    gap: 10px;
}
.ai-nav-pill:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}
.ai-nav-pill.active {
    background: rgba(239, 68, 68, 0.12);
    color: #ffffff !important;
    border-color: rgba(239, 68, 68, 0.3);
}
.ai-nav-pill.active svg {
    color: #ef4444 !important;
}

.ai-sidebar-section-title {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #71717a;
    padding: 0 4px;
}

/* Recents Threads List */
.ai-conv-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    overflow-y: auto;
    margin-bottom: 12px;
    scrollbar-width: thin;
}
.ai-conv-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 10px;
    border-radius: 6px;
    font-size: 0.8125rem;
    color: #a1a1aa;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    user-select: none;
}
.ai-conv-item:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.04);
}
.ai-conv-item.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    font-weight: 600;
}

/* User Profile Card */
.ai-sidebar-user-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: auto;
}
.ai-sidebar-user-info {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow: hidden;
}
.ai-sidebar-user-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ef4444 0%, #991b1b 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 800;
    flex-shrink: 0;
}
.ai-sidebar-user-text {
    overflow: hidden;
    line-height: 1.25;
}
.ai-sidebar-user-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}
.ai-sidebar-user-email {
    font-size: 0.6875rem;
    color: #71717a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

/* Main Workspace Area */
.ai-main-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    background: #0b0c10;
    overflow: hidden;
}

.ai-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 50px;
    min-height: 50px;
    padding: 0 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(11, 12, 16, 0.9);
    backdrop-filter: blur(12px);
    z-index: 20;
}

.ai-header-title-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    transition: background var(--duration-fast) ease;
}
.ai-header-title-btn:hover {
    background: rgba(255, 255, 255, 0.05);
}

.ai-header-plan-badge {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #f87171;
    letter-spacing: 0.02em;
}

.ai-header-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Messages Viewport */
.ai-chat-viewport {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem 1.5rem 1rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.ai-chat-track {
    max-width: 820px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
}

/* Empty State Composition */
.ai-empty-state-wrapper {
    margin: auto 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 1rem;
}
.ai-empty-spark-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.15rem;
}
.ai-empty-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 18px rgba(239, 68, 68, 0.45));
}
.ai-empty-title {
    font-size: 1.65rem;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: -0.02em;
    margin-bottom: 0.4rem;
    font-family: inherit;
}
.ai-empty-subtitle {
    font-size: 0.85rem;
    color: #a1a1aa;
    max-width: 500px;
    line-height: 1.55;
    margin-bottom: 1.75rem;
}
.ai-suggestions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    max-width: 660px;
    width: 100%;
}
.ai-suggestion-card {
    text-align: left;
    padding: 11px 14px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    cursor: pointer;
    transition: all var(--duration-fast) ease;
    user-select: none;
}
.ai-suggestion-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(239, 68, 68, 0.35);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}
.ai-suggestion-card-title {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #ffffff;
    display: block;
    margin-bottom: 3px;
}
.ai-suggestion-card-desc {
    font-size: 0.72rem;
    color: #71717a;
    line-height: 1.35;
}

/* User Message Pill Bubble */
.ai-user-msg-bubble {
    align-self: flex-end;
    background: #27272a;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 10px 18px;
    max-width: 78%;
    font-size: 0.9rem;
    line-height: 1.55;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
    word-break: break-word;
}

/* Assistant Message Card */
.ai-assistant-msg-card {
    align-self: flex-start;
    max-width: 96%;
    width: 100%;
    color: #e4e4e7;
    font-size: 0.9rem;
    line-height: 1.65;
    word-break: break-word;
}

/* Code Editor Card inside AI Message */
.ai-code-card {
    margin: 12px 0;
    border-radius: 12px;
    overflow: hidden;
    background: #111216;
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
.ai-code-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 14px;
    background: #16171d;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.ai-code-tabs {
    display: flex;
    gap: 6px;
}
.ai-code-tab {
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 600;
    border: none;
    background: transparent;
    color: #71717a;
    cursor: pointer;
    font-family: var(--font-mono);
}
.ai-code-tab.active {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
}
.ai-code-copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: transparent;
    border: none;
    color: #a1a1aa;
    font-size: 0.72rem;
    font-weight: 600;
    cursor: pointer;
    transition: color var(--duration-fast) ease;
}
.ai-code-copy-btn:hover {
    color: #ffffff;
}
.ai-code-body {
    display: flex;
    padding: 12px 0;
    overflow-x: auto;
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    line-height: 1.55;
}
.ai-code-line-numbers {
    padding: 0 12px;
    color: #52525b;
    text-align: right;
    user-select: none;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    flex-shrink: 0;
}
.ai-code-pre {
    margin: 0;
    padding: 0 16px;
    overflow-x: auto;
    flex: 1;
    color: #e4e4e7;
}

/* External Link Reference Card */
.ai-external-link-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    color: #ffffff;
    text-decoration: none;
    font-size: 0.8125rem;
    font-weight: 500;
    margin-top: 10px;
    transition: all var(--duration-fast) ease;
}
.ai-external-link-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(239, 68, 68, 0.35);
    color: #f87171;
}

/* AI Message Actions Row */
.ai-msg-action-row {
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: flex-end;
    margin-top: 8px;
}
.ai-action-icon-btn {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--duration-fast) ease;
}
.ai-action-icon-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
}

/* Regenerate Floating Pill */
.ai-regenerate-pill-wrapper {
    display: flex;
    justify-content: center;
    margin: 6px 0 10px 0;
}
.ai-regenerate-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.09);
    color: var(--text-secondary);
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--duration-fast) ease;
}
.ai-regenerate-pill:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.18);
    transform: translateY(-1px);
}

/* Bottom Composer Shell */
.ai-composer-container {
    padding: 0 20px 18px 20px;
    position: relative;
    z-index: 30;
    max-width: 820px;
    width: 100%;
    margin: 0 auto;
}
.ai-composer-pill {
    width: 100%;
    border-radius: 20px;
    background: rgba(22, 24, 30, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(16px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    transition: border-color var(--duration-fast) ease, box-shadow var(--duration-fast) ease;
    position: relative;
}
.ai-composer-pill:focus-within {
    border-color: rgba(239, 68, 68, 0.45);
    box-shadow: 0 10px 30px rgba(239, 68, 68, 0.12);
}

.ai-composer-btn-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: transparent;
    border: none;
    color: #a1a1aa;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: all var(--duration-fast) ease;
}
.ai-composer-btn-circle:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.ai-composer-input {
    flex: 1;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 0.92rem;
    outline: none;
    resize: none;
    max-height: 120px;
    padding: 6px 0;
    line-height: 1.45;
    font-family: inherit;
}
.ai-composer-input::placeholder {
    color: #71717a;
}

.ai-composer-spark-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 9px;
    border-radius: 12px;
    font-size: 0.72rem;
    font-weight: 600;
    color: #a1a1aa;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

.ai-composer-send-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #ef4444;
    border: none;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    box-shadow: 0 2px 10px rgba(239, 68, 68, 0.35);
    transition: all var(--duration-fast) ease;
}
.ai-composer-send-btn:hover {
    background: #dc2626;
    transform: scale(1.05);
}
.ai-composer-send-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}

/* Staged Attachment Previews in Composer */
.ai-composer-staged-tray {
    display: none;
    padding: 8px 14px;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px 14px 0 0;
    margin: 0 8px;
}
.ai-staged-img-thumb {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
}
.ai-staged-img-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ai-staged-del-btn {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    cursor: pointer;
}

/* Attachment Popover */
.ai-attach-popover {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 20px;
    background: #181920;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 6px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
    display: none;
    flex-direction: column;
    min-width: 180px;
    z-index: 100;
}
.ai-attach-popover-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #e4e4e7;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background var(--duration-fast) ease;
}
.ai-attach-popover-item:hover {
    background: rgba(255, 255, 255, 0.08);
}
.ai-attach-popover-item.highlight {
    color: #f87171;
}

/* Upload Dropzone Modal */
.ai-upload-dropzone-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}
.ai-upload-box {
    width: 100%;
    max-width: 520px;
    background: #14151b;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8);
}
.ai-upload-box-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}
.ai-upload-box-title {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
}
.ai-upload-box-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.4rem;
    cursor: pointer;
    line-height: 1;
}
.ai-dropzone-dashed-area {
    border: 2px dashed rgba(239, 68, 68, 0.4);
    background: rgba(239, 68, 68, 0.03);
    border-radius: 12px;
    padding: 2.25rem 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all var(--duration-fast) ease;
}
.ai-dropzone-dashed-area:hover {
    border-color: rgba(239, 68, 68, 0.7);
    background: rgba(239, 68, 68, 0.06);
}
.ai-dropzone-dashed-icon {
    width: 36px;
    height: 36px;
    color: #ef4444;
    margin: 0 auto 10px auto;
}
.ai-dropzone-dashed-text {
    font-size: 0.85rem;
    color: #d4d4d8;
}
.ai-dropzone-dashed-link {
    color: #ef4444;
    font-weight: 700;
    text-decoration: underline;
}
.ai-dropzone-footer-row {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
    font-size: 0.72rem;
    color: #71717a;
}

/* Light Mode Overrides */
[data-theme="light"] body.page-ai-assistant {
    background: #f8fafc !important;
}
[data-theme="light"] .ai-workspace-shell {
    background: #f8fafc;
}
[data-theme="light"] .ai-sidebar {
    background: #f1f5f9;
    border-color: rgba(0, 0, 0, 0.08);
}
[data-theme="light"] .ai-sidebar-brand-name,
[data-theme="light"] .ai-sidebar-user-name,
[data-theme="light"] .ai-empty-title,
[data-theme="light"] .ai-header-title-btn,
[data-theme="light"] .ai-suggestion-card-title {
    color: #0f172a;
}
[data-theme="light"] .ai-main-area {
    background: #ffffff;
}
[data-theme="light"] .ai-header-bar {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 0, 0, 0.06);
}
[data-theme="light"] .ai-composer-pill {
    background: #f8fafc;
    border-color: rgba(0, 0, 0, 0.12);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}
[data-theme="light"] .ai-composer-input {
    color: #0f172a;
}
[data-theme="light"] .ai-suggestion-card {
    background: #f8fafc;
    border-color: rgba(0, 0, 0, 0.08);
}

/* =============================================================================
   MOBILE VIEWPORT & ANTI-ZOOM RESPONSIVE SYSTEM (HP MODE)
   ============================================================================= */
@media (max-width: 1024px) {
    .ai-sidebar {
        position: fixed !important;
        left: -290px !important;
        top: 0 !important;
        bottom: 0 !important;
        width: 275px !important;
        height: 100vh !important;
        height: 100dvh !important;
        background: #111215 !important;
        box-shadow: 10px 0 30px rgba(0, 0, 0, 0.8) !important;
        z-index: 1000 !important;
        transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    }
    .ai-sidebar.drawer-open {
        transform: translateX(290px) !important;
    }
}

@media (max-width: 768px) {
    html:has(body.page-ai-assistant),
    body.page-ai-assistant {
        height: 100dvh !important;
        position: fixed !important;
        inset: 0 !important;
        width: 100vw !important;
        overflow: hidden !important;
    }

    body.page-ai-assistant .ai-workspace-container {
        position: fixed !important;
        inset: 0 !important;
        width: 100vw !important;
        height: 100dvh !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    body.page-ai-assistant .ai-workspace-shell {
        position: fixed !important;
        inset: 0 !important;
        width: 100vw !important;
        height: 100dvh !important;
        min-height: 100% !important;
        border-radius: 0 !important;
    }

    /* MANDATORY ANTI-ZOOM: strictly 16px on mobile inputs & textarea to prevent browser auto-zoom */
    body.page-ai-assistant input,
    body.page-ai-assistant textarea,
    body.page-ai-assistant .ai-composer-input {
        font-size: 16px !important;
        line-height: 1.4 !important;
    }

    /* Mobile Header */
    .ai-header-bar {
        height: 46px !important;
        min-height: 46px !important;
        padding: 0 12px !important;
    }
    .ai-header-title-btn {
        font-size: 0.875rem !important;
    }
    .ai-header-plan-badge {
        display: none !important;
    }

    /* Balanced Mobile Empty State — Not Over-Zoomed */
    .ai-empty-state-wrapper {
        padding: 1rem 0.75rem !important;
    }
    .ai-empty-spark-icon {
        width: 36px !important;
        height: 36px !important;
        border: none !important;
        background: transparent !important;
        margin-bottom: 0.65rem !important;
    }
    .ai-empty-title {
        font-size: 1.25rem !important;
        font-weight: 700 !important;
        margin-bottom: 0.35rem !important;
        letter-spacing: -0.01em !important;
    }
    .ai-empty-subtitle {
        font-size: 0.8125rem !important;
        line-height: 1.4 !important;
        margin-bottom: 1.25rem !important;
        max-width: 90% !important;
    }
    .ai-suggestions-grid {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
        width: 100% !important;
    }
    .ai-suggestion-card {
        padding: 9px 12px !important;
        border-radius: 9px !important;
    }
    .ai-suggestion-card-title {
        font-size: 0.8rem !important;
        margin-bottom: 2px !important;
    }
    .ai-suggestion-card-desc {
        font-size: 0.7rem !important;
    }

    /* Mobile Chat & Composer Spacing */
    .ai-chat-viewport {
        padding: 10px 10px 8px 10px !important;
    }
    .ai-composer-container {
        padding: 0 8px 10px 8px !important;
    }
    .ai-composer-pill {
        border-radius: 16px !important;
        padding: 6px 8px 6px 10px !important;
        gap: 6px !important;
    }
    .ai-composer-btn-circle {
        width: 32px !important;
        height: 32px !important;
    }
    .ai-composer-spark-badge {
        display: none !important;
    }
    .ai-composer-send-btn {
        width: 34px !important;
        height: 34px !important;
    }
}

/* -----------------------------------------------------------------------------
   ACCESSIBILITY: Gentle Reduced Motion (Never breaks spinners or transitions)
   ----------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    .reveal-on-scroll {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* =============================================================================
   VALKYRIE Smooth Entrance Animation System (Fluid Slide-In on Every Page Load)
   ============================================================================= */
@keyframes valkyriePageSlideIn {
    0% {
        opacity: 0;
        transform: translateY(18px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.main-content {
    animation: valkyriePageSlideIn 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
    will-change: transform, opacity;
}

/* Subtle staggered glide for prominent page components */
.hero-content,
.product-detail-layout,
.store-header,
.store-grid,
.announcements-header,
.announcements-grid,
.ai-workspace-shell,
.card {
    animation: valkyriePageSlideIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.product-cta-group,
.btn-product-buy {
    animation: valkyriePageSlideIn 0.45s cubic-bezier(0.16, 1, 0.3, 1) 0.08s both;
}

/* ==========================================================================
   Checkout Verification & Pending Invoice Modal Architecture
   Zero-Shape, Clean Flat Borders, Fluid Slide-In Transitions
   ========================================================================== */

.valkyrie-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.valkyrie-modal-overlay.is-active {
    display: flex;
    opacity: 1;
}

.valkyrie-modal-dialog {
    background: var(--bg-surface, #0c0c10);
    border: 1px solid var(--border-subtle, #1f1f28);
    border-radius: 12px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.7);
    overflow: hidden;
    transform: translateY(16px) scale(0.98);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
    opacity: 0;
}

.valkyrie-modal-overlay.is-active .valkyrie-modal-dialog {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.valkyrie-modal-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-subtle, #1f1f28);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.valkyrie-modal-title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--text-primary, #ffffff);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.valkyrie-modal-close {
    background: transparent;
    border: none;
    color: var(--text-muted, #71717a);
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: color 0.15s ease;
}

.valkyrie-modal-close:hover {
    color: var(--text-primary, #ffffff);
}

.valkyrie-modal-body {
    padding: 1.5rem;
}

.valkyrie-modal-footer {
    padding: 1.25rem 1.5rem;
    border-top: 1px solid var(--border-subtle, #1f1f28);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    background: rgba(0, 0, 0, 0.15);
}

/* Modal details summary card */
.modal-order-summary {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle, #1f1f28);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.modal-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
}

.modal-summary-label {
    color: var(--text-secondary, #a1a1aa);
}

.modal-summary-val {
    color: var(--text-primary, #ffffff);
    font-weight: 600;
}

/* Terms verification agreement checkbox */
.modal-terms-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.8125rem;
    color: var(--text-secondary, #a1a1aa);
    line-height: 1.5;
    cursor: pointer;
    user-select: none;
}

.modal-terms-check input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--accent, #ef4444);
    margin-top: 2px;
    cursor: pointer;
}

/* Pending Warning specific styling */
.pending-alert-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.25);
    border-radius: 8px;
    margin-bottom: 1.25rem;
    color: #ef4444;
    font-size: 0.875rem;
    font-weight: 600;
}

/* =============================================================================
   Pure White Page Transition Spinner (No text, Zero Clutter)
   ============================================================================= */
.valkyrie-page-loader {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: rgba(9, 9, 11, 0.78) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.18s ease, visibility 0.18s ease;
}

[data-theme="light"] .valkyrie-page-loader {
    background: rgba(15, 23, 42, 0.72) !important;
}

.valkyrie-page-loader.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

body.no-page-loader .valkyrie-page-loader,
body[data-no-page-loader="true"] .valkyrie-page-loader,
.no-page-loader .valkyrie-page-loader {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.valkyrie-white-spinner {
    width: 44px;
    height: 44px;
    border: 3.5px solid rgba(255, 255, 255, 0.22) !important;
    border-top-color: #ffffff !important;
    border-radius: 50% !important;
    animation: valkyrieSpinWhite 0.65s linear infinite !important;
    display: block;
}

[data-theme="light"] .valkyrie-white-spinner {
    border: 3.5px solid rgba(255, 255, 255, 0.25) !important;
    border-top-color: #ffffff !important;
}

@keyframes valkyrieSpinWhite {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* =============================================================================
   Zero Shadows on Announcement Images (Dark & Light Theme)
   ============================================================================= */
.announcements-grid .franchise-hero-visual,
.announcements-grid .franchise-hero-img,
.announcements-grid .franchise-hero-vignette,
.announcements-section .franchise-hero-visual,
.announcements-section .franchise-hero-img,
.announcements-section .franchise-hero-vignette,
.announcement-media-viewport,
.announcement-media-viewport img,
.announcement-media-viewport video {
    box-shadow: none !important;
    filter: none !important;
    text-shadow: none !important;
    -webkit-box-shadow: none !important;
}

.announcements-grid .franchise-hero-vignette,
.announcements-section .franchise-hero-vignette {
    display: none !important;
    background: none !important;
    opacity: 0 !important;
}

[data-theme="light"] .announcements-grid .franchise-hero-visual,
[data-theme="light"] .announcements-grid .franchise-hero-img,
[data-theme="light"] .announcements-grid .franchise-hero-vignette,
[data-theme="light"] .announcements-section .franchise-hero-visual,
[data-theme="light"] .announcements-section .franchise-hero-img,
[data-theme="light"] .announcements-section .franchise-hero-vignette,
[data-theme="light"] .announcement-media-viewport,
[data-theme="light"] .announcement-media-viewport img,
[data-theme="light"] .announcement-media-viewport video {
    box-shadow: none !important;
    filter: none !important;
    text-shadow: none !important;
    -webkit-box-shadow: none !important;
    background-image: none !important;
}

/* =============================================================================
   High-Contrast Modal Cancel & Secondary Buttons (Dark & Light Theme Safe)
   ============================================================================= */
.modal-btn-cancel,
.btn-secondary {
    background-color: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    color: #ffffff !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: 600 !important;
    opacity: 1 !important;
    visibility: visible !important;
    cursor: pointer !important;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease !important;
}

.modal-btn-cancel:hover,
.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.16) !important;
    border-color: rgba(255, 255, 255, 0.38) !important;
    color: #ffffff !important;
}

[data-theme="light"] .modal-btn-cancel,
[data-theme="light"] .btn-secondary {
    background-color: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
}

[data-theme="light"] .modal-btn-cancel:hover,
[data-theme="light"] .btn-secondary:hover {
    background-color: #e2e8f0 !important;
    border-color: #94a3b8 !important;
    color: #0f172a !important;
}

/* Compact Campaign Game Cards & Detail Containers (Dark & Light Theme) */
.campaign-detail-card,
.campaign-game-card {
    background: #0c0c10;
    border: 1px solid #1a1a22;
    border-radius: 12px;
    overflow: hidden;
    transition: transform var(--duration-fast) var(--ease-standard),
                border-color var(--duration-fast) var(--ease-standard),
                box-shadow var(--duration-fast) var(--ease-standard);
}

.campaign-game-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.22) !important;
}

[data-theme="light"] .campaign-detail-card,
[data-theme="light"] .campaign-game-card {
    background: #ffffff !important;
    border: 1px solid #c8d1dc !important;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.04) !important;
}

[data-theme="light"] .campaign-game-card:hover {
    border-color: #94a3b8 !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12) !important;
}

[data-theme="light"] .campaign-game-card h3,
[data-theme="light"] .campaign-detail-card h1,
[data-theme="light"] .campaign-detail-card h3,
[data-theme="light"] .campaign-detail-card strong {
    color: #0f172a !important;
}

.campaign-feature-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

[data-theme="light"] .campaign-feature-pill {
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    color: #1e293b !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03) !important;
}

.campaign-requirements-box {
    margin-top: 1.5rem;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
}

[data-theme="light"] .campaign-requirements-box {
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
}

[data-theme="light"] .campaign-card-footer {
    border-top: 1px solid #e2e8f0 !important;
}

[data-theme="light"] .campaign-meta-strip {
    border-bottom: 1px solid #e2e8f0 !important;
}

/* ==========================================================================
   GAME PLATFORM / DEVICE SELECTION MODAL (TRUE FROSTED GLASS BLUR • NO STROKE)
   ========================================================================== */
.game-device-modal-backdrop {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    z-index: 999999 !important;
    background: rgba(0, 0, 0, 0.65) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    display: none;
    align-items: center !important;
    justify-content: center !important;
    padding: 1.5rem !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    overflow-y: auto !important;
    opacity: 0;
    transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.game-device-modal-backdrop.is-active {
    display: flex !important;
    opacity: 1 !important;
}

.game-device-modal-dialog {
    position: relative !important;
    margin: auto !important;
    width: 100% !important;
    max-width: 400px !important;
    background: rgba(22, 22, 26, 0.72) !important;
    backdrop-filter: blur(36px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(36px) saturate(180%) !important;
    border: none !important;
    outline: none !important;
    border-radius: 20px !important;
    padding: 1.65rem 1.5rem !important;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.75) !important;
    transform: scale(0.96) !important;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.game-device-modal-backdrop.is-active .game-device-modal-dialog {
    transform: scale(1) !important;
}

.game-device-modal-close {
    position: absolute !important;
    top: 1.25rem !important;
    right: 1.25rem !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.07) !important;
    border: none !important;
    color: var(--text-muted) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.16s ease !important;
}

.game-device-modal-close:hover {
    background: rgba(239, 68, 68, 0.2) !important;
    color: #ef4444 !important;
    transform: scale(1.06) !important;
}

.game-device-modal-header {
    text-align: left !important;
    margin-bottom: 1.35rem !important;
    padding-right: 2rem !important;
}

.game-device-options-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    margin-bottom: 1.15rem !important;
}

.game-device-opt-card {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding: 14px 16px !important;
    border-radius: 14px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    border: none !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18) !important;
    color: #ffffff !important;
    text-align: left !important;
    cursor: pointer !important;
    text-decoration: none !important;
    transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.game-device-opt-card:hover {
    background: rgba(239, 68, 68, 0.18) !important;
    border: none !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(239, 68, 68, 0.22) !important;
}

.game-device-opt-card:active {
    transform: scale(0.98) !important;
}

.game-device-opt-left {
    display: flex !important;
    align-items: center !important;
    gap: 13px !important;
}

.game-device-opt-icon {
    width: 44px !important;
    height: 44px !important;
    border-radius: 12px !important;
    background: rgba(255, 255, 255, 0.07) !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    transition: all 0.18s ease !important;
}

.game-device-opt-card:hover .game-device-opt-icon {
    background: rgba(239, 68, 68, 0.22) !important;
}

.game-device-opt-icon img {
    width: 26px !important;
    height: 26px !important;
    object-fit: contain !important;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.35)) !important;
}

.game-device-opt-icon img.icon-emulator {
    width: 28px !important;
    height: 20px !important;
    object-fit: contain !important;
}

.game-device-opt-meta {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
}

.game-device-opt-name {
    font-family: var(--font-heading) !important;
    font-size: 0.925rem !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
}

.game-device-opt-desc {
    font-size: 0.775rem !important;
    color: #94a3b8 !important;
    line-height: 1.35 !important;
}

.game-device-opt-arrow {
    color: var(--text-muted) !important;
    transition: all 0.18s ease !important;
    flex-shrink: 0 !important;
}

.game-device-opt-card:hover .game-device-opt-arrow {
    transform: translateX(3px) !important;
    color: #ef4444 !important;
}

.game-device-modal-footer {
    padding-top: 0.95rem !important;
    border: none !important;
    border-top: none !important;
    text-align: center !important;
}

.btn-device-view-all {
    background: none !important;
    border: none !important;
    color: #94a3b8 !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: color 0.15s ease !important;
    padding: 4px 8px !important;
}

.btn-device-view-all:hover {
    color: #ef4444 !important;
    text-decoration: underline !important;
}

[data-theme="light"] .game-device-modal-backdrop {
    background: rgba(0, 0, 0, 0.4) !important;
}

[data-theme="light"] .game-device-modal-dialog {
    background: rgba(255, 255, 255, 0.78) !important;
    border: none !important;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.15) !important;
}

[data-theme="light"] .game-device-modal-header h3 {
    color: #0f172a !important;
}

[data-theme="light"] .game-device-opt-card {
    background: rgba(255, 255, 255, 0.65) !important;
    border: none !important;
}

[data-theme="light"] .game-device-opt-card:hover {
    background: rgba(239, 68, 68, 0.1) !important;
    border: none !important;
}

[data-theme="light"] .game-device-opt-name {
    color: #0f172a !important;
}

[data-theme="light"] .game-device-opt-desc {
    color: #64748b !important;
}

[data-theme="light"] .game-device-opt-icon {
    background: rgba(0, 0, 0, 0.04) !important;
    border: none !important;
}

@media (max-width: 480px) {
    .game-device-modal-dialog {
        padding: 1.35rem 1.15rem !important;
        border-radius: 18px !important;
    }
    .game-device-opt-card {
        padding: 12px 14px !important;
    }
}


/* =============================================================================
   VALKYRIE LIVE HUB — 2.5D ISOMETRIC VIRTUAL GAME ENVIRONMENT STYLES
   ============================================================================= */
.live-hub-section {
    padding: 3.5rem 0 2.5rem 0;
    position: relative;
    background: linear-gradient(180deg, rgba(8, 12, 18, 0.4) 0%, rgba(13, 18, 26, 0.85) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.live-hub-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.live-hub-title-group h2 {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 800;
    color: var(--text-white);
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.live-hub-meta-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.live-hub-scene-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: #cbd5e1;
    background: rgba(30, 41, 59, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 4px 12px;
    border-radius: 9999px;
}

.live-hub-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 9999px;
    font-size: 0.72rem;
    font-weight: 700;
    font-family: var(--font-mono, monospace);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.live-hub-badge.live-sync {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.35);
}

.live-hub-badge.connecting {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.35);
}

.live-hub-badge.polling {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.35);
}

.live-hub-count {
    font-family: var(--font-mono, monospace);
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 600;
}

.live-hub-camera-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 0.85rem;
    flex-wrap: wrap;
    background: rgba(12, 17, 26, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    padding: 8px 10px;
}

.live-hub-cam-tabs {
    display: flex;
    align-items: center;
    gap: 6px;
    overflow-x: auto;
    max-width: 100%;
    scrollbar-width: none;
}

.live-hub-cam-tabs::-webkit-scrollbar {
    display: none;
}

.live-hub-cam-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 8px;
    background: rgba(24, 33, 47, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: #94a3b8;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.18s ease;
}

.live-hub-cam-btn:hover {
    color: #ffffff;
    background: rgba(38, 52, 73, 0.9);
    border-color: rgba(255, 255, 255, 0.18);
}

.live-hub-cam-btn.active {
    color: #ffffff;
    background: linear-gradient(135deg, rgba(225, 29, 72, 0.85), rgba(159, 18, 57, 0.9));
    border-color: rgba(251, 113, 133, 0.5);
    box-shadow: 0 2px 10px rgba(225, 29, 72, 0.35);
}

.live-hub-cam-btn .cam-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 16px;
    padding: 0 5px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.35);
    font-size: 0.68rem;
    font-family: var(--font-mono, monospace);
    color: #e2e8f0;
}

.live-hub-zoom-controls {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.live-hub-zoom-btn {
    padding: 5px 10px;
    border-radius: 7px;
    background: rgba(24, 33, 47, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
}

.live-hub-zoom-btn:hover {
    color: #ffffff;
    background: rgba(45, 60, 82, 0.95);
    border-color: rgba(255, 255, 255, 0.22);
}

.live-hub-canvas-wrapper {
    position: relative;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    background: #0d131d;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.live-hub-canvas {
    display: block;
    width: 100%;
    height: auto;
    cursor: grab;
}

.live-hub-hud-Overlay {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
}

.live-hub-ticker {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 8px;
    background: rgba(9, 13, 22, 0.82);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.75rem;
    color: #cbd5e1;
}

.live-hub-rooms-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 1.15rem;
    justify-content: center;
}

.live-hub-room-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 8px;
    background: rgba(18, 24, 34, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.07);
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    transition: all 0.2s ease;
}

.live-hub-room-pill:hover {
    color: var(--text-white);
    border-color: rgba(255, 255, 255, 0.22);
    transform: translateY(-1px);
}

.live-hub-room-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
