/**
 * GilGamez Platform — Unified SPA Layout & Dynamic Header Grid Stylesheet
 * Enforces Rule #1 (CSS separation), Rule #5 (SemVer v1.3.0), and Rule #6 (5-tier responsiveness).
 */

:root {
    /* Header dynamic grid ratios */
    --header-left-ratio: 2.5;
    --header-mid-ratio: 5.0;
    --header-right-ratio: 2.5;

    /* Theme Variable Contract (GGZ-THEME-SPEC v1.0) with safe fallback defaults */
    --theme-bg-primary: #0a0b0e;
    --theme-bg-secondary: #12141d;
    --theme-bg-card: rgba(18, 20, 29, 0.85);
    --theme-bg-card-hover: rgba(30, 33, 48, 0.9);
    --theme-text-primary: #f8fafc;
    --theme-text-secondary: #cbd5e1;
    --theme-text-muted: #94a3b8;
    --theme-accent: #6366f1;
    --theme-accent-hover: #818cf8;
    --theme-accent-glow: rgba(99, 102, 241, 0.4);
    --theme-border: rgba(255, 255, 255, 0.08);
    --theme-glass-bg: rgba(255, 255, 255, 0.04);
    --theme-glass-border: rgba(255, 255, 255, 0.08);
    --theme-header-bg: rgba(10, 11, 14, 0.85);
    --theme-header-border: rgba(255, 255, 255, 0.06);
    --theme-footer-bg: rgba(10, 11, 14, 0.95);
    --theme-modal-bg: rgba(15, 17, 25, 0.95);
    --theme-input-bg: rgba(255, 255, 255, 0.05);
    --theme-input-border: rgba(255, 255, 255, 0.1);
    --theme-font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    --theme-font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --theme-radius-sm: 6px;
    --theme-radius-md: 10px;
    --theme-radius-lg: 16px;

    /* Legacy CSS Variable Aliases for Backward Compatibility */
    --primary-color: var(--theme-accent);
    --primary-glow: var(--theme-accent-glow);
    --bg-dark: var(--theme-bg-primary);
    --bg-card: var(--theme-bg-card);
    --border-subtle: var(--theme-border);
    --text-main: var(--theme-text-primary);
    --text-muted: var(--theme-text-muted);
}

/* ─── Global Utility Helpers ──────────────────────────────────────── */
.initially-hidden {
    display: none !important;
}

/* ─── Global Reset & Body ─────────────────────────────────────────── */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    overflow-x: clip;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: auto;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: clip;
    position: relative;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: auto;
}

/* ─── Particle Physics & FX Canvases ────────────────────────────── */
.particle-background-canvas,
.particle-fx-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    display: block;
}

.particle-background-canvas {
    z-index: 0;
}

.particle-fx-canvas {
    z-index: 9998;
}

/* ─── 1. Header (In-Place Initially, Sticky Top on Scroll) ────────── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    max-width: 100vw;
    padding: 0 20px;
    height: 72px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    transition: background 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.35s ease,
                box-shadow 0.35s ease,
                height 0.35s ease,
                backdrop-filter 0.35s ease;
}

.site-header--sticky {
    position: sticky;
}

/* Header Height & Density Presets */
.site-header--compact {
    height: 56px;
}
.site-header--normal {
    height: 72px;
}
.site-header--spacious {
    height: 84px;
}

/* Header Style Presets */
.site-header--glassmorphism {
    background: var(--theme-header-bg, rgba(10, 11, 16, 0.88));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--theme-header-border, rgba(255, 255, 255, 0.08));
}
.site-header--cyber {
    background: linear-gradient(180deg, rgba(10, 12, 20, 0.96) 0%, rgba(5, 6, 12, 0.98) 100%);
    border-bottom: 1px solid rgba(0, 240, 255, 0.35);
    box-shadow: 0 4px 25px rgba(0, 240, 255, 0.12);
}
.site-header--cyber.is-scrolled {
    box-shadow: 0 8px 30px rgba(0, 240, 255, 0.25), 0 0 15px rgba(255, 0, 128, 0.15);
}
.site-header--solid {
    background: #090b10;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.site-header--minimal {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: none;
}

/* Scrolled state */
.site-header.is-scrolled {
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.site-header .header-inner {
    max-width: 1440px;
    margin: 0 auto;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    min-width: 0;
    box-sizing: border-box;
}

.site-header .header-grid,
.site-header-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    width: 100%;
    gap: 16px;
    height: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.header-col-left {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    min-width: 0;
}

.header-col-mid {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 0 8px;
}

.header-col-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    min-width: 0;
}

.header-user-actions-group {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-shrink: 0;
}

/* Left Zone: Brand Logo & Title */
.brand-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
    font-weight: 700;
    white-space: nowrap;
    transition: transform 0.2s ease;
}

.brand-link:hover {
    transform: scale(1.02);
}

.brand-logo-icon,
.brand-logo {
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 0 10px var(--primary-glow, rgba(99, 102, 241, 0.4)));
    flex-shrink: 0;
}

.brand-logo-img {
    height: 34px;
    width: 34px;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.brand-link:hover .brand-logo-img {
    transform: scale(1.06);
}

.brand-title,
.brand-title-text {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #ffffff;
    white-space: nowrap;
}

.brand-badge,
.header-brand-badge {
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 12px;
    color: #ffffff;
    letter-spacing: 0.04em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    line-height: 1.2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
}

/* Mid Zone: Navigation Pills */
.nav-pill-list {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--theme-glass-bg, rgba(255, 255, 255, 0.04));
    padding: 4px 6px;
    border-radius: 30px;
    border: 1px solid var(--theme-glass-border, var(--theme-border, rgba(255, 255, 255, 0.08)));
    list-style: none;
    margin: 0;
    flex-shrink: 0;
}

.nav-pill-item {
    list-style: none;
    margin: 0;
    padding: 0;
    display: inline-flex;
}

.nav-pill-item a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--theme-text-muted, #94a3b8);
    text-decoration: none;
    border-radius: 20px;
    white-space: nowrap;
    line-height: 1;
    transition: all 0.2s ease;
}

.nav-pill-item a:hover {
    color: var(--theme-text-primary, #ffffff);
    background: var(--theme-glass-bg, rgba(255, 255, 255, 0.08));
}

.nav-pill-item a.is-active {
    color: #ffffff;
    background: linear-gradient(135deg, var(--theme-accent, #6366f1), var(--theme-accent-hover, #a855f7));
    box-shadow: 0 2px 10px var(--theme-accent-glow, rgba(99, 102, 241, 0.35));
}

.nav-pill-badge {
    font-size: 0.62rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 8px;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: #ffffff;
    letter-spacing: 0.02em;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

/* Header Dynamic Search Bar */
.header-search-box {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--theme-input-bg, rgba(255, 255, 255, 0.05));
    border: 1px solid var(--theme-input-border, rgba(255, 255, 255, 0.1));
    border-radius: 999px;
    padding: 6px 14px;
    width: 150px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
    box-sizing: border-box;
}

.header-search-box:hover {
    background: var(--theme-input-focus, rgba(255, 255, 255, 0.08));
    border-color: var(--theme-accent-glow, rgba(255, 255, 255, 0.2));
}

.header-search-box:focus-within {
    background: var(--theme-bg-secondary, rgba(15, 23, 42, 0.9));
    border-color: var(--theme-accent, #6366f1);
    width: 190px;
    box-shadow: 0 0 16px var(--theme-accent-glow, rgba(99, 102, 241, 0.35));
}

.header-search-icon {
    color: var(--theme-text-muted, #94a3b8);
    flex-shrink: 0;
    transition: color 0.2s ease;
}

.header-search-box:focus-within .header-search-icon {
    color: var(--theme-accent, #818cf8);
}

.header-search-input,
.header-search-input:focus,
.header-search-input:focus-visible {
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    color: var(--theme-text-primary, #f8fafc);
    font-size: 0.82rem;
    font-weight: 500;
    width: 100%;
    padding: 0;
    margin: 0;
}

.header-search-input::placeholder {
    color: var(--theme-text-muted, #64748b);
    font-size: 0.82rem;
}

.btn-header-primary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--theme-accent, #6366f1), var(--theme-accent-hover, #a855f7));
    color: #ffffff;
    font-weight: 600;
    font-size: 0.88rem;
    border-radius: var(--theme-radius-md, 10px);
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px var(--theme-accent-glow, rgba(99, 102, 241, 0.3));
}

.btn-header-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px var(--theme-accent-glow, rgba(99, 102, 241, 0.45));
}

/* Right Zone: Action Controls & User Auth */
.header-col-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.btn-header-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: linear-gradient(135deg, var(--theme-accent, #6366f1), var(--theme-accent-hover, #a855f7));
    color: #ffffff;
    font-weight: 600;
    font-size: 0.88rem;
    border-radius: var(--theme-radius-md, 10px);
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 15px var(--theme-accent-glow, rgba(99, 102, 241, 0.3));
}

.btn-header-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px var(--theme-accent-glow, rgba(99, 102, 241, 0.45));
}

.btn-header-outline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--theme-glass-bg, rgba(255, 255, 255, 0.05));
    color: var(--theme-text-primary, var(--text-main));
    font-weight: 500;
    font-size: 0.88rem;
    border-radius: var(--theme-radius-md, 10px);
    text-decoration: none;
    border: 1px solid var(--theme-glass-border, var(--border-subtle));
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-header-outline:hover {
    background: var(--theme-glass-bg, rgba(255, 255, 255, 0.1));
    border-color: var(--theme-accent, rgba(255, 255, 255, 0.2));
    color: #ffffff;
}

/* Mixed / Unified Auth Trigger Button */
.btn-header-unified-auth {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.16), rgba(168, 85, 247, 0.16));
    color: #ffffff;
    font-weight: 600;
    font-size: 0.86rem;
    border-radius: var(--theme-radius-md, 12px);
    text-decoration: none;
    border: 1px solid rgba(99, 102, 241, 0.45);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-header-unified-auth::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--theme-accent, #6366f1), var(--theme-accent-hover, #a855f7));
    opacity: 0;
    transition: opacity 0.25s ease;
    z-index: 0;
}

.btn-header-unified-auth:hover::before {
    opacity: 1;
}

.btn-header-unified-auth:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.45);
    color: #ffffff;
}

.btn-header-unified-auth .btn-unified-icon,
.btn-header-unified-auth .btn-unified-text {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
}

.btn-header-unified-auth .btn-unified-icon {
    color: #818cf8;
    transition: color 0.25s ease;
}

.btn-header-unified-auth:hover .btn-unified-icon {
    color: #ffffff;
}

/* ── Header Menu Treatments (Maintenance & Under Construction Modes) ── */
.site-header.header-menu-disabled .header-col-mid .nav-pill-list,
.site-header.header-menu-disabled #header-user-actions {
    opacity: 0.45;
    cursor: not-allowed;
    user-select: none;
}

.site-header.header-menu-disabled .nav-pill-item a,
.site-header.header-menu-disabled #btn-auth-trigger {
    cursor: not-allowed !important;
    pointer-events: auto;
}

.site-header.header-menu-disabled .nav-pill-item a:hover,
.site-header.header-menu-disabled #btn-auth-trigger:hover {
    background: transparent !important;
    color: var(--text-muted) !important;
    transform: none !important;
}

.site-header.header-menu-hidden .header-col-mid,
.site-header.header-menu-hidden #header-user-actions {
    display: none !important;
}

.site-header.header-menu-hidden .site-header-grid {
    grid-template-columns: 1fr;
    justify-content: center;
}

/* Header Status Badge Mode */
.header-status-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.header-status-badge-pill.maint-badge {
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.35);
    color: #fbbf24;
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.15);
}

.header-status-badge-pill.uc-badge {
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.35);
    color: #a5b4fc;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.15);
}

.header-badge-pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    position: relative;
}

.maint-badge .header-badge-pulse-dot {
    background: #f59e0b;
    box-shadow: 0 0 8px #f59e0b;
    animation: badgePulseMaint 2s infinite;
}

.uc-badge .header-badge-pulse-dot {
    background: #6366f1;
    box-shadow: 0 0 8px #6366f1;
    animation: badgePulseUc 2s infinite;
}

@keyframes badgePulseMaint {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.6; }
}

@keyframes badgePulseUc {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.6; }
}

/* ─── Superadmin Live Status Bypass Ambient Dock ─── */
.status-bypass-ambient-dock {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10002;
    background: linear-gradient(90deg, rgba(8, 14, 26, 0.96) 0%, rgba(13, 20, 36, 0.98) 100%);
    border-bottom: 1px solid rgba(0, 240, 255, 0.45);
    box-shadow: 0 4px 20px rgba(0, 240, 255, 0.18), inset 0 1px 0 rgba(0, 240, 255, 0.2);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 7px 20px;
    font-size: 0.85rem;
    color: #f1f5f9;
    box-sizing: border-box;
}

.status-bypass-dock-inner {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.status-bypass-dock-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.status-bypass-beacon {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #00f0ff;
    box-shadow: 0 0 12px #00f0ff;
    animation: badgePulseUc 1.6s infinite ease-in-out;
}

.status-bypass-pill {
    background: rgba(0, 240, 255, 0.15);
    border: 1px solid rgba(0, 240, 255, 0.45);
    color: #00f0ff;
    padding: 3px 9px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.status-bypass-explanation {
    color: #cbd5e1;
    font-size: 0.83rem;
}

.status-bypass-explanation strong {
    color: #f8fafc;
}

.status-bypass-dock-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-bypass-action-btn {
    padding: 5px 13px;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    border: none;
}

.status-bypass-action-btn.primary {
    background: linear-gradient(135deg, #00f0ff, #0284c7);
    color: #020617;
    font-weight: 700;
    box-shadow: 0 2px 10px rgba(0, 240, 255, 0.35);
}

.status-bypass-action-btn.primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0, 240, 255, 0.5);
}

.status-bypass-action-btn.secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.status-bypass-action-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

/* ─── Platform Services Refined Micro-Launcher & Dropdown ─── */
.services-handler-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.btn-services-handler {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 9px;
    color: var(--text-muted, #94a3b8);
    cursor: pointer;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-services-handler:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(99, 102, 241, 0.45);
    color: #ffffff;
    box-shadow: 0 0 14px rgba(99, 102, 241, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

.services-trigger-icon {
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.2s ease;
}

.btn-services-handler:hover .services-trigger-icon {
    transform: rotate(45deg);
    color: #ffffff;
}

.services-dot {
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.services-handler-dropdown.is-open .btn-services-handler {
    background: rgba(99, 102, 241, 0.18);
    border-color: var(--theme-accent, #6366f1);
    box-shadow: 0 0 16px rgba(99, 102, 241, 0.45);
    color: #a5b4fc;
}

.services-handler-dropdown.is-open .services-trigger-icon {
    transform: rotate(90deg);
    color: #c7d2fe;
}

/* Linear-style Categorized Ecosystem Hub Dropdown */
.services-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 340px;
    max-width: calc(100vw - 20px);
    background: var(--theme-bg-card, linear-gradient(175deg, rgba(15, 23, 42, 0.98) 0%, rgba(9, 13, 24, 0.99) 100%));
    border: 1px solid var(--theme-border, rgba(255, 255, 255, 0.1));
    border-radius: 16px;
    padding: 12px;
    box-shadow: 0 20px 48px -8px rgba(0, 0, 0, 0.85), 0 0 20px rgba(99, 102, 241, 0.12);
    z-index: 1050;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    animation: servicesPopIn 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    box-sizing: border-box;
}

.services-handler-dropdown.is-open .services-dropdown-menu {
    display: block;
}

@keyframes servicesPopIn {
    0% {
        opacity: 0;
        transform: translateY(-6px) scale(0.97);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Header */
.services-dropdown-header {
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.services-dropdown-title-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.services-dropdown-title {
    font-size: 0.84rem;
    font-weight: 700;
    color: #f8fafc;
    letter-spacing: 0.01em;
}

.services-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 2px 7px;
    border-radius: 10px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.28);
}

.services-pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 6px #10b981;
    animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.45; transform: scale(0.8); }
}

.services-status-text {
    font-size: 0.62rem;
    font-weight: 700;
    color: #34d399;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.services-dropdown-subtext {
    font-size: 0.72rem;
    color: #64748b;
    display: block;
    margin-top: 2px;
}

/* Sections */
.services-dropdown-sections {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.services-section-group {
    display: flex;
    flex-direction: column;
}

.services-section-label {
    font-size: 0.62rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 3px 6px 4px 6px;
}

.services-section-list {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

/* Service Row Item */
.service-row-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 8px;
    border-radius: 8px;
    background: transparent;
    border: 1px solid transparent;
    text-decoration: none;
    transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
    cursor: pointer;
}

.service-row-item:hover {
    background: rgba(255, 255, 255, 0.045);
    border-color: rgba(255, 255, 255, 0.07);
    transform: translateX(2px);
}

.service-row-item:active {
    transform: translateX(0) scale(0.99);
}

.service-row-icon-box {
    width: 30px;
    height: 30px;
    min-width: 30px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.service-row-item:hover .service-row-icon-box {
    transform: scale(1.06);
}

.row-pos {
    background: rgba(6, 182, 212, 0.14);
    border: 1px solid rgba(6, 182, 212, 0.32);
    color: #22d3ee;
}

.row-oms {
    background: rgba(139, 92, 246, 0.14);
    border: 1px solid rgba(139, 92, 246, 0.32);
    color: #c084fc;
}

.row-git {
    background: rgba(245, 158, 11, 0.14);
    border: 1px solid rgba(245, 158, 11, 0.32);
    color: #fbbf24;
}

.row-mail {
    background: rgba(56, 189, 248, 0.14);
    border: 1px solid rgba(56, 189, 248, 0.32);
    color: #38bdf8;
}

.row-topup {
    background: rgba(16, 185, 129, 0.14);
    border: 1px solid rgba(16, 185, 129, 0.32);
    color: #34d399;
}

.row-store {
    background: rgba(236, 72, 153, 0.14);
    border: 1px solid rgba(236, 72, 153, 0.32);
    color: #f472b6;
}

.service-row-meta {
    flex: 1;
    min-width: 0;
}

.service-row-header {
    display: flex;
    align-items: center;
    gap: 6px;
}

.service-row-name {
    font-size: 0.82rem;
    font-weight: 600;
    color: #f1f5f9;
}

.service-row-tag {
    font-size: 0.58rem;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.tag-pos { background: rgba(6, 182, 212, 0.12); color: #22d3ee; border: 1px solid rgba(6, 182, 212, 0.25); }
.tag-oms { background: rgba(139, 92, 246, 0.12); color: #c084fc; border: 1px solid rgba(139, 92, 246, 0.25); }
.tag-git { background: rgba(245, 158, 11, 0.12); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.25); }
.tag-mail { background: rgba(56, 189, 248, 0.12); color: #38bdf8; border: 1px solid rgba(56, 189, 248, 0.25); }

.service-row-desc {
    font-size: 0.69rem;
    color: #64748b;
    margin-top: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.service-row-trailing {
    display: flex;
    align-items: center;
    padding-left: 4px;
}

.service-row-arrow {
    color: #475569;
    transition: all 0.2s ease;
}

.service-row-item:hover .service-row-arrow {
    transform: translateX(2px);
    color: #cbd5e1;
}

/* Compact Grid (Commerce & Ecosystem) */
.services-section-compact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
}

.service-compact-card {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-decoration: none;
    transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
    cursor: pointer;
}

.service-compact-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.09);
    transform: translateY(-1px);
}

.service-compact-card:active {
    transform: translateY(0) scale(0.99);
}

.service-compact-card .service-row-icon-box {
    width: 26px;
    height: 26px;
    min-width: 26px;
    border-radius: 6px;
}

.service-compact-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.service-compact-name {
    font-size: 0.76rem;
    font-weight: 600;
    color: #f1f5f9;
}

.service-compact-desc {
    font-size: 0.63rem;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Footer */
.services-dropdown-footer {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.68rem;
    color: #64748b;
}

.services-footer-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.services-footer-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #10b981;
}

.services-footer-hint {
    font-size: 0.65rem;
    color: #475569;
    font-family: monospace;
}

@media (max-width: 480px) {
    .btn-services-handler {
        width: 32px;
        height: 32px;
    }
    .services-dropdown-menu {
        width: calc(100vw - 20px);
        right: -36px;
        padding: 10px;
    }
}

/* ─── Modern Cyber User Handler & Dropdown Card ─── */
.user-handler-dropdown {
    position: relative;
}

.btn-user-handler {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    color: var(--text-main);
    cursor: pointer;
    font-size: 0.88rem;
    font-weight: 500;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.btn-user-handler:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.06) 100%);
    border-color: var(--theme-accent, #6366f1);
    box-shadow: 0 0 16px var(--theme-accent-glow, rgba(99, 102, 241, 0.35)), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: translateY(-1px) scale(1.02);
}

.user-avatar-badge {
    position: relative;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--theme-accent, #6366f1), var(--theme-accent-hover, #a855f7));
    color: #fff;
    font-weight: 700;
    font-size: 0.82rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    box-shadow: 0 0 10px var(--theme-accent-glow, rgba(99, 102, 241, 0.35));
    flex-shrink: 0;
    overflow: visible;
}

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

.user-status-dot {
    position: absolute;
    bottom: -1px;
    right: -1px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #10b981;
    border: 2px solid #0a0b0e;
    box-shadow: 0 0 6px #10b981;
}

.user-handler-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.15;
    text-align: left;
}

.user-name-label {
    max-width: 110px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 600;
    font-size: 0.86rem;
    color: var(--theme-text-primary, #f8fafc);
}

.user-role-micro {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--theme-accent, #a5b4fc);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.dropdown-chevron {
    color: var(--theme-text-muted, #94a3b8);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
    flex-shrink: 0;
}

.user-handler-dropdown.is-open .dropdown-chevron {
    transform: rotate(180deg);
    color: var(--theme-accent, #818cf8);
}

/* ─── User Dropdown Card ─── */
.user-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 290px;
    max-width: calc(100vw - 24px);
    background: var(--theme-bg-card, linear-gradient(165deg, rgba(17, 24, 39, 0.98) 0%, rgba(10, 14, 26, 0.99) 100%));
    border: 1px solid var(--theme-border, rgba(99, 102, 241, 0.28));
    border-radius: var(--theme-radius-lg, 20px);
    padding: 14px;
    box-shadow: 0 24px 55px -10px rgba(0, 0, 0, 0.85), 0 0 25px var(--theme-accent-glow, rgba(99, 102, 241, 0.15));
    z-index: 1050;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    animation: dropdownPopIn 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    box-sizing: border-box;
}

.user-handler-dropdown.is-open .user-dropdown-menu {
    display: block;
}

@keyframes dropdownPopIn {
    0% { opacity: 0; transform: translateY(-8px) scale(0.97); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* Dropdown Profile Card Header */
.user-dropdown-profile-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.user-dropdown-profile-intro {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-dropdown-avatar-slot {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--theme-bg-secondary, #0f172a);
    border: 1.5px solid var(--theme-accent, #6366f1);
    box-shadow: 0 0 12px var(--theme-accent-glow, rgba(99, 102, 241, 0.25));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

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

.user-dropdown-profile-meta {
    min-width: 0;
    flex: 1;
}

.user-dropdown-name-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 2px;
}

.user-dropdown-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--theme-text-primary, #fff);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-dropdown-role-badge {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 10px;
    background: rgba(99, 102, 241, 0.2);
    border: 1px solid var(--theme-accent, rgba(99, 102, 241, 0.4));
    color: var(--theme-accent, #a5b4fc);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    flex-shrink: 0;
}

.user-dropdown-role-badge.badge-admin {
    background: rgba(236, 72, 153, 0.2);
    border-color: rgba(236, 72, 153, 0.45);
    color: #f472b6;
}

.user-dropdown-email {
    font-size: 0.78rem;
    color: var(--theme-text-muted, #94a3b8);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Dropdown Wallet Pill */
.user-dropdown-wallet-pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 12px;
    background: var(--theme-glass-bg, rgba(99, 102, 241, 0.1));
    border: 1px solid var(--theme-border, rgba(99, 102, 241, 0.25));
    border-radius: var(--theme-radius-md, 12px);
    text-decoration: none;
    transition: all 0.2s ease;
}

.user-dropdown-wallet-pill:hover {
    background: var(--theme-glass-bg, rgba(99, 102, 241, 0.18));
    border-color: var(--theme-accent, #6366f1);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px var(--theme-accent-glow, rgba(99, 102, 241, 0.2));
}

.dropdown-wallet-info {
    display: flex;
    flex-direction: column;
}

.wallet-pill-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
}

.wallet-pill-amount {
    font-size: 0.95rem;
    font-weight: 800;
    color: #34d399;
    font-family: 'JetBrains Mono', monospace;
}

.wallet-pill-topup-btn {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 8px;
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: #fff;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.35);
}

.user-dropdown-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    margin: 8px 0;
}

.user-dropdown-nav {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.user-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 10px;
    color: #cbd5e1;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.2s ease;
    border: none;
    background: transparent;
    width: 100%;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    box-sizing: border-box;
}

.user-dropdown-item:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    transform: translateX(2px);
}

.user-dropdown-item.admin-item:hover {
    background: rgba(236, 72, 153, 0.12);
    color: #f472b6;
}

.dropdown-icon-box {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a5b4fc;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.user-dropdown-item:hover .dropdown-icon-box {
    background: rgba(99, 102, 241, 0.25);
    border-color: rgba(99, 102, 241, 0.4);
    color: #fff;
    transform: scale(1.05);
}

.admin-item .dropdown-icon-box {
    color: #f472b6;
}

.admin-item:hover .dropdown-icon-box {
    background: rgba(236, 72, 153, 0.25);
    border-color: rgba(236, 72, 153, 0.4);
    color: #fff;
}

.dropdown-item-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.dropdown-item-text .item-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: inherit;
    line-height: 1.3;
}

.dropdown-item-text .item-desc {
    font-size: 0.72rem;
    color: #64748b;
    line-height: 1.2;
}

.user-dropdown-item:hover .dropdown-item-text .item-desc {
    color: #94a3b8;
}

.user-dropdown-logout-btn,
.btn-dropdown-logout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px 16px;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.22);
    border-radius: 10px;
    color: #f87171;
    font-size: 0.86rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
    margin-top: 4px;
    text-align: center;
    text-decoration: none;
}

.user-dropdown-logout-btn:hover,
.btn-dropdown-logout:hover {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.22) 0%, rgba(220, 38, 38, 0.35) 100%);
    border-color: rgba(239, 68, 68, 0.55);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.3);
}

.user-dropdown-logout-btn svg,
.btn-dropdown-logout svg {
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.user-dropdown-logout-btn:hover svg,
.btn-dropdown-logout:hover svg {
    transform: translateX(2px);
}

/* ─── 2.0 Full-Bleed Application Mode Layout (Webmail & Dedicated Apps) ── */
body.layout-app-mode {
    height: 100vh;
    max-height: 100vh;
    overflow: hidden;
}

body.layout-app-mode #main-content {
    flex: 1 1 0% !important;
    min-height: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    position: relative !important;
}

body.layout-app-mode.has-hidden-footer #site-footer,
#site-footer.is-hidden {
    display: none !important;
}

body.layout-app-mode.layout-app-contained #main-content {
    width: 100% !important;
    max-width: 1600px !important;
    margin: 0 auto !important;
}

.site-header.site-header--app-mode {
    border-bottom: 1px solid var(--theme-border-subtle, rgba(255, 255, 255, 0.08));
}

.site-header.site-header--compact {
    min-height: 52px !important;
    height: 52px !important;
}

.site-header.site-header--compact .header-inner,
.site-header.site-header--compact .header-grid {
    min-height: 52px !important;
    height: 52px !important;
}

.site-header.site-header--compact .brand-logo-img {
    width: 28px !important;
    height: 28px !important;
}

.site-header.site-header--compact .brand-title {
    font-size: 1.05rem !important;
}

.header-app-mode-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(221, 175, 49, 0.16);
    color: var(--primary, #ddaf31);
    border: 1px solid rgba(221, 175, 49, 0.35);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 2px 7px;
    border-radius: 6px;
    margin-left: 8px;
    vertical-align: middle;
}

#site-footer.site-footer--compact-bar {
    padding: 4px 16px !important;
    min-height: 32px !important;
    height: 32px !important;
    overflow: hidden !important;
    border-top: 1px solid var(--theme-border-subtle, rgba(255, 255, 255, 0.08)) !important;
}

#site-footer.site-footer--compact-bar .footer-main-grid,
#site-footer.site-footer--compact-bar .footer-payment-trust-row {
    display: none !important;
}

#site-footer.site-footer--compact-bar .footer-bottom-bar {
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    font-size: 0.75rem !important;
}

/* ─── 2. Main Content Container (5-Tier Fluid Responsive Framework — Rule #6) ── */
#main-content,
.spa-content-area,
.main-content-container {
    flex: 1;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px 24px 48px;
    position: relative;
    min-height: calc(100vh - 180px);
    box-sizing: border-box;
}

/* Tier 1: Desktop 4K & Ultra-Wide (1920px+) */
@media (min-width: 1920px) {
    #main-content,
    .spa-content-area,
    .main-content-container {
        max-width: 1360px;
        padding: 28px 32px 56px;
    }
}

/* Tier 2: Standard Desktop & Laptop (1025px - 1440px) */
@media (min-width: 1025px) and (max-width: 1440px) {
    #main-content,
    .spa-content-area,
    .main-content-container {
        max-width: 1240px;
        padding: 20px 24px 44px;
    }
}

/* Tier 3: Tablet & Small Desktop (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    #main-content,
    .spa-content-area,
    .main-content-container {
        padding: 16px 20px 36px;
    }
}

/* Tier 4: Mobile Landscape & Phablet (481px - 767px) */
@media (min-width: 481px) and (max-width: 767px) {
    #main-content,
    .spa-content-area,
    .main-content-container {
        padding: 14px 16px 28px;
    }
}

/* Tier 5: Mobile Portrait (320px - 480px) */
@media (max-width: 480px) {
    #main-content,
    .spa-content-area,
    .main-content-container {
        padding: 10px 12px 24px;
    }
}

/* ─── 2.1 View Wrappers & Flow Architecture ───────────────────────── */
.homepage-view-wrapper,
.pagebuilder-rendered-view {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
    box-sizing: border-box;
}

@media (max-width: 480px) {
    .homepage-view-wrapper,
    .pagebuilder-rendered-view {
        gap: 16px;
    }
}

/* Extension Widget Slot Wrappers */
.platform-widget-slot,
.platform-widget-block {
    width: 100%;
    box-sizing: border-box;
    position: relative;
    margin: 0;
}

/* Standby/Empty widgets collapse completely to zero footprint */
.platform-widget-slot:empty,
.platform-widget-block:empty {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
}

/* Generic Fallback Section Block */
.pb-section-block {
    width: 100%;
    box-sizing: border-box;
    position: relative;
    margin: 0;
}

/* Smooth Entrance View Animation */
.spa-view-enter {
    animation: spaViewEntrance 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes spaViewEntrance {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ─── 3. Homepage Components & Sections ───────────────────────────── */
.hp-hero-section {
    position: relative;
    padding: 24px 16px 16px;
    text-align: center;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
}

.hp-hero-glow {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.25) 0%, rgba(168, 85, 247, 0.1) 60%, transparent 80%);
    filter: blur(60px);
    pointer-events: none;
    z-index: 0;
}

.hp-hero-content {
    position: relative;
    z-index: 1;
    max-width: 850px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hp-hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 30px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #a5b4fc;
    margin-bottom: 20px;
}

.hp-hero-title {
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin-bottom: 18px;
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 40%, #818cf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hp-hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 32px;
}

.hp-hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 10px 25px -5px rgba(99, 102, 241, 0.5);
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(99, 102, 241, 0.65);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Section Common Headers */
.hp-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 24px;
}

.hp-section-badge {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #818cf8;
    text-transform: uppercase;
    margin-bottom: 4px;
    display: block;
}

.hp-section-title {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #fff;
}

.hp-section-view-all {
    color: #818cf8;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: transform 0.2s ease;
}

.hp-section-view-all:hover {
    transform: translateX(4px);
}

/* ─── 3.1 Carousel / Promotional Slides ───────────────────────────── */
.hp-carousel-section {
    margin: 0;
    width: 100%;
    box-sizing: border-box;
}

.hp-carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 20px;
}

.hp-slides-track {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

@media (max-width: 480px) {
    .hp-slides-track {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}

.hp-slide-card {
    position: relative;
    background: linear-gradient(135deg, rgba(30, 27, 75, 0.7) 0%, rgba(18, 20, 30, 0.95) 100%);
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: 20px;
    padding: 32px 28px;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
}

.hp-slide-card:hover {
    transform: translateY(-4px);
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 16px 40px rgba(99, 102, 241, 0.2);
}

.hp-slide-info {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.hp-slide-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.hp-slide-subtitle {
    color: var(--text-muted, #94a3b8);
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.hp-slide-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    background: rgba(99, 102, 241, 0.18);
    border: 1px solid rgba(99, 102, 241, 0.4);
    color: #c7d2fe;
    font-weight: 600;
    font-size: 0.88rem;
    border-radius: 10px;
    text-decoration: none;
    width: fit-content;
    margin-top: auto;
    transition: all 0.25s ease;
}

.hp-slide-btn:hover {
    background: #6366f1;
    color: #ffffff;
    border-color: #6366f1;
    transform: translateX(4px);
}

/* ─── 3.2 Popular Games Section ───────────────────────────────────── */
.hp-popular-games-section {
    margin: 0;
    width: 100%;
    box-sizing: border-box;
}

.hp-view-all-link {
    color: #818cf8;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.hp-view-all-link:hover {
    color: #a5b4fc;
    transform: translateX(4px);
}

.hp-games-grid {
    display: grid;
    grid-template-columns: repeat(var(--desktop-grid-cols, 4), minmax(0, 1fr));
    gap: 20px;
    width: 100%;
    box-sizing: border-box;
}

.hp-game-card {
    background: var(--theme-bg-card, var(--bg-card, #12141c));
    border: 1px solid var(--theme-border, var(--border-subtle, rgba(255, 255, 255, 0.08)));
    border-radius: 18px;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: left;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.hp-game-card:hover {
    transform: translateY(-6px);
    border-color: rgba(221, 175, 49, 0.5);
    box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.7), 0 0 20px rgba(221, 175, 49, 0.15);
}

.hp-game-cover-wrapper {
    position: relative;
    height: 145px;
    width: 100%;
    overflow: hidden;
    background: #151824;
    flex-shrink: 0;
}

.hp-game-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hp-game-card:hover .hp-game-cover-img {
    transform: scale(1.08);
}

.hp-game-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 3px 8px;
    background: rgba(10, 11, 16, 0.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    font-size: 0.68rem;
    font-weight: 700;
    color: #c7d2fe;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hp-game-details {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
    background: rgba(15, 17, 24, 0.95);
    min-width: 0;
    box-sizing: border-box;
}

.hp-game-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    min-width: 0;
    overflow: hidden;
}

.hp-game-icon {
    font-size: 1.2rem;
    line-height: 1;
    flex-shrink: 0;
}

.hp-game-title {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--theme-text-primary, #ffffff);
    margin: 0;
    letter-spacing: -0.3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
    flex: 1;
}

.hp-game-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    gap: 6px;
    min-width: 0;
}

.hp-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    gap: 16px;
    flex-wrap: wrap;
    width: 100%;
    box-sizing: border-box;
}

.hp-game-price-wrapper {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.hp-price-label {
    font-size: 0.72rem;
    color: var(--theme-text-muted, #94a3b8);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.03em;
    line-height: 1.2;
}

.hp-price-value {
    font-size: 0.98rem;
    font-weight: 800;
    color: var(--theme-accent, #fbbf24);
    line-height: 1.2;
    margin-top: 2px;
}

.btn-topup-card {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.35);
    color: #a5b4fc;
    font-weight: 700;
    font-size: 0.78rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-topup-card:hover {
    background: #6366f1;
    color: #ffffff;
    border-color: #6366f1;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

/* ─── Responsive Breakdown for Popular Games Grid (Rule #6) ─── */
@media (max-width: 1024px) {
    .hp-games-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .hp-games-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 14px;
    }
    .hp-game-cover-wrapper {
        height: 125px;
    }
    .hp-game-details {
        padding: 12px 14px;
    }
    .hp-game-title {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .hp-games-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px;
    }
    .hp-game-card {
        border-radius: 14px;
    }
    .hp-game-cover-wrapper {
        height: 105px;
    }
    .hp-game-tag {
        top: 6px;
        right: 6px;
        padding: 2px 6px;
        font-size: 0.6rem;
    }
    .hp-game-details {
        padding: 10px;
    }
    .hp-game-title-row {
        gap: 5px;
        margin-bottom: 6px;
    }
    .hp-game-icon {
        font-size: 1rem;
    }
    .hp-game-title {
        font-size: 0.86rem;
    }
    .hp-game-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        padding-top: 8px;
    }
    .hp-game-price-wrapper {
        text-align: center;
    }
    .hp-price-label {
        font-size: 0.62rem;
    }
    .hp-price-value {
        font-size: 0.84rem;
    }
    .btn-topup-card {
        width: 100%;
        padding: 5px 8px;
        font-size: 0.72rem;
        border-radius: 6px;
    }
}

@media (max-width: 340px) {
    .hp-games-grid {
        grid-template-columns: 1fr !important;
        gap: 10px;
    }
    .hp-game-card {
        flex-direction: row;
        align-items: center;
    }
    .hp-game-cover-wrapper {
        width: 100px;
        height: 100px;
    }
    .hp-game-footer {
        flex-direction: row;
        align-items: center;
    }
    .btn-topup-card {
        width: auto;
    }
}

/* ─── 3.3 Bento Grid / Ecosystem Highlights ───────────────────────── */
.hp-ecosystem-section {
    margin: 0;
    width: 100%;
    box-sizing: border-box;
}

.hp-bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media (max-width: 1024px) {
    .hp-bento-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .hp-bento-card.col-span-2 {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .hp-bento-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .hp-bento-card.col-span-2,
    .hp-bento-card.col-span-1 {
        grid-column: span 1;
    }
    .hp-bento-card {
        padding: 20px;
        min-height: auto;
    }
}

.hp-bento-card {
    background: var(--bg-card, #12141c);
    border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.08));
    border-radius: 20px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    min-height: 200px;
}

.hp-bento-card.col-span-2 {
    grid-column: span 2;
}

.hp-bento-card.col-span-1 {
    grid-column: span 1;
}

.hp-bento-card:hover {
    border-color: rgba(99, 102, 241, 0.4);
    transform: translateY(-3px);
}

.hp-bento-badge {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #818cf8;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 12px;
    width: fit-content;
}

.hp-bento-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}

.hp-bento-desc {
    color: var(--text-muted, #94a3b8);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

/* ─── 3.4 Feature & Benefit Cards ─────────────────────────────────── */
.hp-features-section {
    margin: 0;
    width: 100%;
    box-sizing: border-box;
}

.hp-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

@media (max-width: 640px) {
    .hp-features-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .hp-feature-card {
        padding: 20px 18px;
        border-radius: 14px;
    }
}

.hp-feature-card {
    background: var(--bg-card, #12141c);
    border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.08));
    border-radius: 18px;
    padding: 26px;
    transition: all 0.3s ease;
}

.hp-feature-card:hover {
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateY(-2px);
}

.hp-feature-icon {
    font-size: 26px;
    margin-bottom: 12px;
}

.hp-feature-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.hp-feature-desc {
    color: var(--text-muted, #94a3b8);
    font-size: 0.88rem;
    line-height: 1.6;
}

/* ─── 3.5 Core Extended Sections ──────────────────────────────────── */
.hp-cta-section,
.hp-faq-section,
.hp-testimonials-section,
.hp-stats-section,
.hp-countdown-section,
.hp-video-section,
.hp-custom-html-section {
    width: 100%;
    margin: 0;
    box-sizing: border-box;
}

/* Store & Commerce UI Components inside SPA */
.store-hero-header {
    text-align: center;
    margin-bottom: 36px;
}

.store-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #818cf8;
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.3);
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.store-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.store-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 650px;
    margin: 0 auto 24px;
}

.store-toolbar {
    max-width: 500px;
    margin: 0 auto 20px;
}

.store-search-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(18, 20, 29, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 30px;
    padding: 10px 20px;
    color: var(--text-muted);
}

.store-search-box input {
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 0.95rem;
    width: 100%;
}

.store-category-pills {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.store-cat-pill {
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
}

.store-cat-pill:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.store-cat-pill.is-active {
    color: #fff;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.35);
}

.store-catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 20px;
}

.store-game-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.store-game-card:hover {
    transform: translateY(-4px);
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.7);
}

.store-card-image-wrap {
    position: relative;
    width: 100%;
    height: 160px;
    overflow: hidden;
}

.store-card-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.store-game-card:hover .store-card-image-wrap img {
    transform: scale(1.05);
}

.store-card-cat-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(10, 11, 14, 0.75);
    backdrop-filter: blur(8px);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.72rem;
    font-weight: 600;
    color: #fff;
}

.store-card-details {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}

.store-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.store-card-variants {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.btn-select-game {
    width: 100%;
    padding: 10px;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.35);
    border-radius: 10px;
    color: #a5b4fc;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-select-game:hover {
    background: linear-gradient(135deg, #6366f1, #a855f7);
    color: #fff;
    border-color: transparent;
}

/* Modal Overlay for Store Checkout */
.store-checkout-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 11, 14, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.store-checkout-modal-overlay.is-open {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.store-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 11, 14, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
}

.store-checkout-modal-card,
.store-modal-container {
    background: #131620;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    max-width: 660px;
    width: 100%;
    padding: 30px 28px;
    position: relative;
    max-height: 88vh;
    overflow-y: auto;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(99, 102, 241, 0.1);
    box-sizing: border-box;
    transform: scale(0.96) translateY(10px);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    scrollbar-width: thin;
    scrollbar-color: rgba(99, 102, 241, 0.4) rgba(15, 23, 42, 0.6);
}

.store-checkout-modal-overlay.is-open .store-checkout-modal-card,
.store-checkout-modal-overlay.is-open .store-modal-container {
    transform: scale(1) translateY(0);
}

.store-modal-close {
    position: static;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    font-size: 16px;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.store-modal-close:hover {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
    border-color: rgba(239, 68, 68, 0.4);
    transform: scale(1.05);
}

.checkout-modal-header {
    padding: 16px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #181b2a;
    flex-shrink: 0;
}

.checkout-modal-body {
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(99, 102, 241, 0.4) rgba(15, 23, 42, 0.6);
}

.checkout-modal-body::-webkit-scrollbar {
    width: 6px;
}
.checkout-modal-body::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.6);
    border-radius: 6px;
}
.checkout-modal-body::-webkit-scrollbar-thumb {
    background: rgba(99, 102, 241, 0.4);
    border-radius: 6px;
}
.checkout-modal-body::-webkit-scrollbar-thumb:hover {
    background: rgba(129, 140, 248, 0.7);
}

.checkout-modal-footer {
    padding: 14px 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    background: #181b2a;
    flex-shrink: 0;
}

.btn-checkout-secondary {
    padding: 11px 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    color: #cbd5e1;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-checkout-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.store-checkout-modal-card::-webkit-scrollbar,
.store-modal-container::-webkit-scrollbar {
    width: 6px;
}
.store-checkout-modal-card::-webkit-scrollbar-track,
.store-modal-container::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.6);
    border-radius: 8px;
}
.store-checkout-modal-card::-webkit-scrollbar-thumb,
.store-modal-container::-webkit-scrollbar-thumb {
    background: rgba(99, 102, 241, 0.4);
    border-radius: 8px;
}
.store-checkout-modal-card::-webkit-scrollbar-thumb:hover,
.store-modal-container::-webkit-scrollbar-thumb:hover {
    background: rgba(129, 140, 248, 0.7);
}

.store-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    font-size: 20px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 2;
}

.store-modal-close:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    transform: scale(1.05);
}

.checkout-modal-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 22px;
    padding-right: 40px;
}

.checkout-brand-img {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.checkout-modal-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
}

.checkout-modal-subtitle {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.store-no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.store-no-results-icon {
    font-size: 40px;
    margin-bottom: 12px;
}

.form-field-group {
    margin-bottom: 20px;
}

.form-field-label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: #cbd5e1;
    margin-bottom: 8px;
}

.form-field-input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    color: #fff;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s;
}

.form-field-input:focus {
    border-color: #6366f1;
}

.denom-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 10px;
    max-height: 200px;
    overflow-y: auto;
    padding: 4px;
}

.denom-radio-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    padding: 12px 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.denom-radio-card input {
    display: none;
}

.denom-radio-card.is-selected {
    background: rgba(99, 102, 241, 0.2);
    border-color: #6366f1;
}

.denom-card-name {
    font-weight: 600;
    font-size: 0.85rem;
    color: #fff;
    margin-bottom: 4px;
}

.denom-card-price {
    font-size: 0.78rem;
    color: #a5b4fc;
}

.btn-checkout-submit {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
    margin-top: 10px;
}

/* ─── 4c. About View Component Styles ──────────────────────────────── */
.about-view-wrapper {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 16px;
    text-align: center;
}

.about-hero-badge {
    margin-bottom: 16px;
    display: inline-block;
}

.about-hero-title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 50%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-card-panel {
    background: rgba(18, 20, 29, 0.7);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 32px;
    text-align: left;
    line-height: 1.8;
    color: #cbd5e1;
    font-size: 1.05rem;
}

.about-card-panel p {
    margin-bottom: 20px;
}

.about-card-panel p:last-child {
    margin-bottom: 0;
}

.about-pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
    text-align: left;
}

.about-pillar-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 24px;
}

.about-pillar-icon {
    font-size: 28px;
    margin-bottom: 12px;
}

.about-pillar-title {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: #fff;
    font-weight: 700;
}

.about-pillar-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.about-cta-row {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ─── 4d. Unified Universal Auth View Component Styles ──────────────── */
.auth-view-wrapper {
    max-width: 1060px;
    margin: 40px auto 60px;
    padding: 0 20px;
    box-sizing: border-box;
    animation: spaAuthFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes spaAuthFadeIn {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* 2-Column Responsive Layout Grid */
.auth-layout-grid {
    display: grid;
    grid-template-columns: 1.12fr 1fr;
    gap: 28px;
    align-items: stretch;
}

/* Left Showcase Panel: Enterprise Brand Hero */
.auth-showcase-panel {
    background: linear-gradient(145deg, rgba(20, 24, 38, 0.88), rgba(12, 15, 26, 0.95));
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 24px;
    padding: 38px 32px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.65), 0 0 30px rgba(99, 102, 241, 0.1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.auth-showcase-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ddaf31, #6366f1, #a855f7);
}

.auth-showcase-ambient-glow {
    position: absolute;
    top: -60px;
    left: -60px;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.25) 0%, rgba(99, 102, 241, 0) 70%);
    pointer-events: none;
    border-radius: 50%;
}

.auth-showcase-ambient-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
    opacity: 0.6;
}

.auth-showcase-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.auth-showcase-brand {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

.auth-showcase-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35), inset 0 0 12px rgba(99, 102, 241, 0.2);
    flex-shrink: 0;
}

.auth-showcase-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #a855f7;
    background: rgba(168, 85, 247, 0.12);
    border: 1px solid rgba(168, 85, 247, 0.3);
    padding: 3px 9px;
    border-radius: 20px;
    margin-bottom: 4px;
}

.auth-pill-pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #a855f7;
    box-shadow: 0 0 8px #a855f7;
    animation: authPulse 2s infinite ease-in-out;
}

@keyframes authPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

.auth-showcase-title {
    font-size: 1.7rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.auth-showcase-tagline {
    color: #94a3b8;
    font-size: 0.88rem;
    line-height: 1.5;
    margin: 8px 0 20px;
}

/* Enterprise 4-Metric Grid */
.auth-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 22px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 10px 8px;
}

.auth-metric-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 4px;
}

.auth-metric-val {
    font-size: 0.95rem;
    font-weight: 800;
    color: #f1f5f9;
    letter-spacing: -0.01em;
}

.auth-metric-lbl {
    font-size: 0.68rem;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-top: 2px;
}

.auth-feature-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.auth-feature-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 11px 13px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    transition: all 0.2s ease;
}

.auth-feature-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateX(3px);
}

.auth-feature-icon-box {
    font-size: 17px;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: rgba(99, 102, 241, 0.14);
    border: 1px solid rgba(99, 102, 241, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.auth-feature-meta {
    flex: 1;
}

.auth-feature-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #f1f5f9;
    margin: 0 0 2px 0;
}

.auth-feature-desc {
    font-size: 0.76rem;
    color: #94a3b8;
    margin: 0;
    line-height: 1.35;
}

.auth-showcase-footer {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.auth-live-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: #34d399;
    font-weight: 600;
    padding: 5px 12px;
    background: rgba(52, 211, 153, 0.08);
    border: 1px solid rgba(52, 211, 153, 0.22);
    border-radius: 20px;
}

.auth-status-pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 8px #34d399;
    display: inline-block;
}

/* Right Interactive Auth Card Panel */
.auth-card-panel {
    background: rgba(18, 22, 34, 0.92);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    padding: 34px 30px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), 0 0 35px rgba(99, 102, 241, 0.15);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.auth-card-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ddaf31, #6366f1, #a855f7);
}

.auth-mobile-header {
    display: none;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.auth-mobile-header-meta {
    display: flex;
    flex-direction: column;
}

.auth-mobile-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.auth-mobile-sub {
    font-size: 0.78rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* Modern Segmented Pill Switcher */
.auth-segmented-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    background: rgba(15, 23, 42, 0.85);
    padding: 5px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 22px;
}

.auth-segmented-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    background: transparent;
    border: none;
    border-radius: 10px;
    color: #94a3b8;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.auth-segmented-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.auth-segmented-btn.is-active {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.4), rgba(168, 85, 247, 0.3));
    color: #fff;
    border: 1px solid rgba(99, 102, 241, 0.55);
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.25);
}

.auth-form-pane {
    display: none;
    flex-direction: column;
}

.auth-form-pane.is-active {
    display: flex;
    animation: spaPaneFade 0.25s ease forwards;
}

.auth-alert-box {
    display: none;
    padding: 12px 14px;
    border-radius: 10px;
    margin-bottom: 16px;
    font-size: 0.86rem;
    line-height: 1.4;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #fca5a5;
}

.auth-alert-box.is-visible {
    display: block !important;
    animation: spaPaneFade 0.2s ease forwards;
}

/* Header block for standalone views */
.auth-header-block {
    text-align: center;
    margin-bottom: 24px;
}

.auth-icon-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
    margin-bottom: 12px;
}

.auth-brand-logo-img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}

.auth-brand-logo-fallback {
    font-size: 28px;
}

.auth-form-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 6px 0;
    letter-spacing: -0.02em;
}

.auth-form-subtitle {
    color: #94a3b8;
    font-size: 0.88rem;
    line-height: 1.45;
    margin: 0 auto;
    max-width: 360px;
}

/* Enterprise Input Fields */
.auth-field-block,
.auth-form-group {
    margin-bottom: 16px;
}

.auth-field-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    font-weight: 600;
    color: #cbd5e1;
    margin-bottom: 6px;
}

.auth-field-badge {
    font-size: 10.5px;
    font-weight: 500;
    color: #64748b;
}

.auth-forgot-link {
    font-size: 12px;
    color: #818cf8;
    text-decoration: none;
    transition: color 0.15s ease;
}

.auth-forgot-link:hover {
    color: #a5b4fc;
    text-decoration: underline;
}

.auth-input-container,
.auth-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.auth-input-lead-icon,
.auth-input-icon {
    position: absolute;
    left: 14px;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    transition: color 0.2s ease;
}

.auth-input-control,
.auth-input-field {
    width: 100%;
    padding: 12px 14px 12px 42px;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    color: #fff;
    font-size: 0.92rem;
    outline: none;
    box-sizing: border-box;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.auth-input-control:focus,
.auth-input-field:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25), 0 4px 16px rgba(99, 102, 241, 0.12);
    background: rgba(15, 23, 42, 0.95);
}

.auth-input-control:focus ~ .auth-input-lead-icon,
.auth-input-field:focus ~ .auth-input-icon,
.auth-input-container:focus-within .auth-input-lead-icon,
.auth-input-wrapper:focus-within .auth-input-icon {
    color: #818cf8;
}

.auth-password-toggle-btn,
.auth-password-toggle {
    position: absolute;
    right: 12px;
    background: transparent;
    border: none;
    color: #64748b;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: color 0.2s ease;
}

.auth-password-toggle-btn:hover,
.auth-password-toggle:hover {
    color: #fff;
}

/* CapsLock Warning */
.auth-caps-warning {
    margin-top: 5px;
    font-size: 11px;
    color: #fbbf24;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
    animation: spaPaneFade 0.2s ease forwards;
}

/* Password Strength Meter */
.auth-strength-text {
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
    transition: color 0.2s ease;
}

.auth-strength-meter-wrap {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    margin-top: 8px;
}

.auth-strength-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 2px;
    overflow: hidden;
}

.auth-strength-segment {
    height: 100%;
    width: 0;
    transition: width 0.25s ease, background-color 0.25s ease;
}

.auth-strength-segment.is-active {
    width: 100%;
}

/* Live Requirement Pills */
.auth-req-pills-row {
    display: flex;
    gap: 6px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.auth-req-pill {
    font-size: 10.5px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #64748b;
    transition: all 0.2s ease;
}

.auth-req-pill.is-valid {
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.35);
    color: #34d399;
}

/* Options Row with iOS Slider Switch */
.auth-options-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 2px 0 18px;
}

.auth-toggle-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.82rem;
    color: #94a3b8;
    user-select: none;
}

.auth-toggle-input {
    display: none;
}

.auth-toggle-slider {
    width: 32px;
    height: 18px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    position: relative;
    transition: background 0.25s ease;
    flex-shrink: 0;
}

.auth-toggle-slider::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 14px;
    height: 14px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.auth-toggle-input:checked + .auth-toggle-slider {
    background: #6366f1;
}

.auth-toggle-input:checked + .auth-toggle-slider::after {
    transform: translateX(14px);
}

/* Enterprise Action Submit Button */
.auth-enterprise-submit-btn,
.auth-submit-btn {
    width: 100%;
    padding: 13px 18px;
    margin-top: 4px;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.94rem;
    letter-spacing: 0.01em;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.35);
    position: relative;
    overflow: hidden;
}

.auth-enterprise-submit-btn::before,
.auth-submit-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(60deg, transparent 30%, rgba(255, 255, 255, 0.15) 50%, transparent 70%);
    transform: rotate(30deg);
    transition: transform 0.6s ease;
    pointer-events: none;
}

.auth-enterprise-submit-btn:hover:not(:disabled)::before,
.auth-submit-btn:hover:not(:disabled)::before {
    transform: rotate(30deg) translate(50%, 50%);
}

.auth-enterprise-submit-btn:hover:not(:disabled),
.auth-submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.5);
}

.auth-enterprise-submit-btn:disabled,
.auth-submit-btn:disabled {
    opacity: 0.75;
    cursor: not-allowed;
    transform: none;
}

.btn-arrow-icon {
    transition: transform 0.2s ease;
}

.auth-enterprise-submit-btn:hover:not(:disabled) .btn-arrow-icon,
.auth-submit-btn:hover:not(:disabled) .btn-arrow-icon {
    transform: translateX(3px);
}

.auth-footer-block {
    text-align: center;
    margin-top: 22px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.auth-security-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 11px;
    color: #64748b;
    margin-bottom: 10px;
}

.auth-security-badge svg {
    color: #34d399;
}

.auth-return-link {
    color: #94a3b8;
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.auth-return-link:hover {
    color: #fff;
}

/* ═════════════════════════════════════════════════════════════════════════
   5-Tier Fluid Responsive Framework for Universal Auth View (Rule #6)
   ═════════════════════════════════════════════════════════════════════════ */

/* Tier 1: Desktop 4K & Ultra-Wide Displays (1920px+) */
@media (min-width: 1920px) {
    .auth-view-wrapper {
        max-width: 1180px;
        margin: 60px auto 90px;
        padding: 0 24px;
    }
    .auth-showcase-panel,
    .auth-card-panel {
        padding: 46px 40px;
        border-radius: 28px;
    }
    .auth-showcase-title {
        font-size: 1.95rem;
    }
    .auth-metrics-grid {
        gap: 12px;
        padding: 14px 12px;
    }
    .auth-metric-val {
        font-size: 1.1rem;
    }
}

/* Tier 2: Standard Desktop & Laptops (1025px - 1440px) */
@media (min-width: 1025px) and (max-width: 1440px) {
    .auth-view-wrapper {
        max-width: 1040px;
        margin: 40px auto 60px;
    }
    .auth-layout-grid {
        grid-template-columns: 1.1fr 1fr;
        gap: 28px;
    }
}

/* Tier 3: Tablets & Small Desktops (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .auth-view-wrapper {
        max-width: 740px;
        margin: 32px auto 50px;
        padding: 0 20px;
    }
    .auth-layout-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .auth-showcase-panel {
        display: flex;
        padding: 28px 24px;
        border-radius: 20px;
    }
    .auth-showcase-brand {
        margin-bottom: 8px;
    }
    .auth-showcase-tagline {
        margin: 6px 0 16px;
        font-size: 0.85rem;
    }
    .auth-metrics-grid {
        grid-template-columns: repeat(4, 1fr);
        margin-bottom: 16px;
    }
    .auth-feature-list {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        margin-bottom: 16px;
    }
    .auth-feature-item {
        flex-direction: column;
        gap: 8px;
        padding: 10px 12px;
    }
    .auth-card-panel {
        padding: 32px 28px;
        border-radius: 20px;
    }
    .auth-mobile-header {
        display: none;
    }
}

/* Tier 4: Mobile Landscape & Phablets (481px - 767px) */
@media (min-width: 481px) and (max-width: 767px) {
    .auth-view-wrapper {
        max-width: 520px;
        margin: 24px auto 40px;
        padding: 0 16px;
    }
    .auth-layout-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .auth-showcase-panel {
        display: flex;
        padding: 22px 18px;
        border-radius: 18px;
    }
    .auth-showcase-tagline {
        display: none;
    }
    .auth-feature-list {
        display: none;
    }
    .auth-metrics-grid {
        grid-template-columns: repeat(4, 1fr);
        margin-bottom: 12px;
        padding: 8px 6px;
    }
    .auth-metric-val {
        font-size: 0.85rem;
    }
    .auth-metric-lbl {
        font-size: 0.62rem;
    }
    .auth-showcase-footer {
        padding-top: 10px;
    }
    .auth-card-panel {
        padding: 26px 20px;
        border-radius: 18px;
    }
    .auth-mobile-header {
        display: none;
    }
}

/* Tier 5: Mobile Portrait (< 480px, including 320px - 375px) */
@media (max-width: 480px) {
    .auth-view-wrapper {
        max-width: 100%;
        margin: 16px auto 32px;
        padding: 0 12px;
    }
    .auth-layout-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .auth-showcase-panel {
        display: flex;
        padding: 18px 16px;
        border-radius: 16px;
    }
    .auth-showcase-icon-wrap {
        width: 44px;
        height: 44px;
        border-radius: 12px;
    }
    .auth-showcase-title {
        font-size: 1.35rem;
    }
    .auth-showcase-tagline {
        display: none;
    }
    .auth-feature-list {
        display: none;
    }
    .auth-metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
        margin-bottom: 10px;
        padding: 8px 6px;
    }
    .auth-metric-val {
        font-size: 0.88rem;
    }
    .auth-metric-lbl {
        font-size: 0.64rem;
    }
    .auth-showcase-footer {
        padding-top: 8px;
    }
    .auth-live-status {
        font-size: 10px;
        padding: 4px 10px;
    }
    .auth-card-panel {
        padding: 22px 16px;
        border-radius: 16px;
    }
    .auth-mobile-header {
        display: none;
    }
    .auth-segmented-nav {
        padding: 4px;
        gap: 4px;
        margin-bottom: 18px;
    }
    .auth-segmented-btn {
        padding: 9px 8px;
        font-size: 0.82rem;
        min-height: 44px;
    }
    .auth-input-control,
    .auth-input-field {
        font-size: 0.9rem;
        padding: 12px 12px 12px 38px;
        min-height: 44px;
    }
    .auth-input-lead-icon,
    .auth-input-icon {
        left: 12px;
    }
    .auth-enterprise-submit-btn,
    .auth-submit-btn {
        padding: 13px;
        font-size: 0.92rem;
        min-height: 46px;
    }
    .auth-req-pills-row {
        gap: 4px;
    }
    .auth-req-pill {
        font-size: 10px;
        padding: 2px 6px;
    }
}

/* ─── 4. Footer (Modern Glassmorphism & Responsive 4-Column Grid) ─── */
.site-footer {
    width: 100%;
    background: var(--theme-footer-bg, linear-gradient(180deg, rgba(13, 16, 23, 0.96) 0%, rgba(8, 10, 15, 0.99) 100%));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.08));
    padding: 56px 24px 32px;
    margin-top: auto;
    position: relative;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.45);
    transition: padding 0.3s ease, background 0.3s ease;
}

/* Footer Padding Presets */
.site-footer--compact {
    padding: 32px 20px 20px;
}
.site-footer--compact .footer-inner {
    gap: 22px;
}
.site-footer--normal {
    padding: 56px 24px 32px;
}
.site-footer--spacious {
    padding: 80px 32px 48px;
}
.site-footer--spacious .footer-inner {
    gap: 48px;
}

/* Footer Style Presets */
.site-footer--glassmorphism {
    background: var(--theme-footer-bg, linear-gradient(180deg, rgba(13, 16, 23, 0.96) 0%, rgba(8, 10, 15, 0.99) 100%));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}
.site-footer--cyber {
    background: linear-gradient(180deg, rgba(10, 12, 20, 0.98) 0%, rgba(5, 6, 12, 1) 100%);
    border-top: 1px solid rgba(0, 240, 255, 0.3);
    box-shadow: 0 -10px 50px rgba(0, 240, 255, 0.15), 0 0 20px rgba(255, 0, 128, 0.1);
}
.site-footer--cyber::before {
    background: linear-gradient(90deg, #00f0ff 0%, #ff007f 50%, #00f0ff 100%);
    box-shadow: 0 0 10px #00f0ff;
}
.site-footer--solid {
    background: #090b10;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.site-footer--minimal {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: none;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--primary-color, rgba(99, 102, 241, 0.5)) 50%, transparent 100%);
    pointer-events: none;
}

.footer-inner {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 36px;
}

/* 4.1 Main Multi-Column Responsive Grid */
.footer-main-grid {
    display: grid;
    grid-template-columns: 2.2fr 1.1fr 1.1fr 1.4fr;
    gap: 40px;
    align-items: start;
}

.footer-main-grid--4col {
    grid-template-columns: 2.2fr 1.1fr 1.1fr 1.4fr;
}
.footer-main-grid--3col {
    grid-template-columns: 2fr 1.2fr 1.4fr;
}
.footer-main-grid--2col {
    grid-template-columns: 1.6fr 1.2fr;
}
.footer-main-grid--1col {
    grid-template-columns: 1fr;
    max-width: 600px;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-col-brand {
    gap: 14px;
}

.footer-brand-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-brand-logo-wrap {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.footer-brand-logo-img {
    max-width: 28px;
    max-height: 28px;
    object-fit: contain;
}

.footer-brand-fallback-icon {
    font-size: 1.2rem;
    line-height: 1;
}

.footer-brand-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
    font-family: var(--font-heading, inherit);
}

.footer-site-description {
    color: var(--text-muted, #94a3b8);
    font-size: 0.88rem;
    line-height: 1.6;
    max-width: 380px;
    margin: 0;
}

.footer-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 9999px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.25);
    font-size: 0.78rem;
    font-weight: 600;
    color: #34d399;
    width: fit-content;
    margin-top: 2px;
}

.footer-status-pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
    animation: footerStatusPulse 2s infinite ease-in-out;
}

@keyframes footerStatusPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.35); opacity: 0.55; }
}

.footer-col-heading {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-main, #f8fafc);
    margin: 0 0 16px 0;
}

.footer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.footer-nav-link {
    color: var(--text-muted, #94a3b8);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
    width: fit-content;
}

.footer-nav-link:hover {
    color: var(--primary-color, #6366f1);
    transform: translateX(3px);
}

.footer-social-caption {
    color: var(--text-muted, #94a3b8);
    font-size: 0.82rem;
    line-height: 1.5;
    margin: 0 0 14px 0;
}

.footer-social-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-social-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted, #94a3b8);
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-social-btn:hover {
    color: #ffffff;
    background: rgba(99, 102, 241, 0.18);
    border-color: rgba(99, 102, 241, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.35);
}

.footer-social-svg {
    transition: transform 0.2s ease;
}

.footer-social-btn:hover .footer-social-svg {
    transform: scale(1.12);
}

/* 4.2 Payment Channels & Trust Badges */
.footer-trust-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding: 18px 24px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-trust-label {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted, #64748b);
}

.footer-trust-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.footer-trust-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    padding: 4px 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
}

.footer-trust-badge:hover {
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.09);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.footer-payment-svg {
    height: 18px;
    width: auto;
    max-width: 100%;
    display: block;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.footer-trust-badge:hover .footer-payment-svg {
    transform: scale(1.05);
}

/* 4.3 Bottom Legal & Security Bar */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted, #64748b);
    font-size: 0.82rem;
}

.footer-legal-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
}

.footer-legal-link {
    color: var(--text-muted, #64748b);
    text-decoration: none;
    font-size: 0.82rem;
    transition: color 0.2s ease;
}

.footer-legal-link:hover {
    color: var(--primary-color, #6366f1);
}

.footer-ssl-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #10b981;
}

/* 4.4 Viewport Responsive Adaptations */
@media (max-width: 1024px) {
    .footer-main-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    .footer-col-brand {
        grid-column: span 2;
    }
    .footer-col-socials {
        grid-column: span 2;
    }
}

@media (max-width: 640px) {
    .site-footer {
        padding: 40px 16px 72px;
    }
    .footer-inner {
        gap: 28px;
    }
    .footer-main-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .footer-col-brand {
        grid-column: span 1;
    }
    .footer-site-description {
        max-width: 100%;
    }
    .footer-social-grid {
        gap: 8px;
    }
    .footer-social-btn {
        width: 44px;
        height: 44px;
    }
    .footer-trust-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 16px;
    }
    .footer-trust-badges {
        gap: 6px;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .footer-legal-links {
        gap: 12px;
    }
}

/* ─── 5. Dual-Mode Graphical Animated Preloader ───────────────────── */
.global-preloader {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background-color: #08090d;
    background: radial-gradient(circle at 50% 50%, #141724 0%, #08090d 100%);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.5s ease;
    overflow: hidden;
}

.global-preloader.is-hidden {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.preloader-ambient-glow {
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(221, 175, 49, 0.22) 0%, rgba(99, 102, 241, 0.12) 50%, transparent 70%);
    filter: blur(40px);
    pointer-events: none;
}

.preloader-visual-hub {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preloader-ring-outer {
    position: absolute;
    top: 0;
    left: 0;
    width: 120px;
    height: 120px;
    box-sizing: border-box;
    border-radius: 50%;
    border: 3.5px solid rgba(255, 255, 255, 0.05);
    border-top: 3.5px solid #ddaf31;
    border-right: 3.5px solid #6366f1;
    -webkit-animation: criticalPreloaderSpinClockwise 0.9s linear infinite;
    animation: criticalPreloaderSpinClockwise 0.9s linear infinite;
    filter: drop-shadow(0 0 12px rgba(221, 175, 49, 0.6));
    transform-origin: 50% 50%;
    -webkit-transform-origin: 50% 50%;
    will-change: transform;
}

.preloader-ring-inner {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 88px;
    height: 88px;
    box-sizing: border-box;
    border-radius: 50%;
    border: 3px solid transparent;
    border-bottom: 3px solid #a855f7;
    border-left: 3px solid #ddaf31;
    -webkit-animation: criticalPreloaderSpinCounterClockwise 0.7s linear infinite;
    animation: criticalPreloaderSpinCounterClockwise 0.7s linear infinite;
    filter: drop-shadow(0 0 10px rgba(168, 85, 247, 0.5));
    transform-origin: 50% 50%;
    -webkit-transform-origin: 50% 50%;
    will-change: transform;
}

.preloader-emblem-center {
    position: relative;
    width: 52px;
    height: 52px;
    max-width: 52px;
    max-height: 52px;
    border-radius: 50%;
    background: rgba(15, 17, 26, 0.95);
    border: 1.5px solid rgba(221, 175, 49, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(221, 175, 49, 0.35), inset 0 0 10px rgba(99, 102, 241, 0.25);
    -webkit-animation: criticalEmblemPulse 1.8s ease-in-out infinite;
    animation: criticalEmblemPulse 1.8s ease-in-out infinite;
    overflow: hidden;
    box-sizing: border-box;
    padding: 6px;
    z-index: 2;
    transform-origin: 50% 50%;
    -webkit-transform-origin: 50% 50%;
    will-change: transform;
}

.preloader-emblem-img {
    width: 38px;
    height: 38px;
    max-width: 38px;
    max-height: 38px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
}

/* Mode B: Container Animated Overlay Preloader */
.container-preloader-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 240px;
    background: rgba(10, 11, 16, 0.82);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 60;
    opacity: 0;
    transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.container-preloader-overlay.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.container-spinner-hub {
    position: relative;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container-ring-outer {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2.5px solid rgba(255, 255, 255, 0.08);
    border-top-color: #ddaf31;
    border-right-color: #6366f1;
    animation: ringRotateClockwise 0.9s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    filter: drop-shadow(0 0 8px rgba(221, 175, 49, 0.5));
}

.container-ring-inner {
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-bottom-color: #a855f7;
    animation: ringRotateCounterClockwise 0.7s linear infinite;
}

.container-emblem-icon {
    font-size: 20px;
    animation: emblemPulse 1.5s ease-in-out infinite;
}

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

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

@keyframes emblemPulse {
    0%, 100% { transform: scale(0.94); opacity: 0.9; }
    50% { transform: scale(1.06); opacity: 1; }
}

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

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

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

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

@-webkit-keyframes criticalEmblemPulse {
    0%, 100% { -webkit-transform: scale(0.92); transform: scale(0.92); opacity: 0.9; }
    50% { -webkit-transform: scale(1.08); transform: scale(1.08); opacity: 1; }
}

@keyframes criticalEmblemPulse {
    0%, 100% { -webkit-transform: scale(0.92); transform: scale(0.92); opacity: 0.9; }
    50% { -webkit-transform: scale(1.08); transform: scale(1.08); opacity: 1; }
}

@-webkit-keyframes criticalAmbientPulse {
    0% { -webkit-transform: scale(0.85); transform: scale(0.85); opacity: 0.45; }
    100% { -webkit-transform: scale(1.18); transform: scale(1.18); opacity: 0.85; }
}

@keyframes criticalAmbientPulse {
    0% { -webkit-transform: scale(0.85); transform: scale(0.85); opacity: 0.45; }
    100% { -webkit-transform: scale(1.18); transform: scale(1.18); opacity: 0.85; }
}

@keyframes ambientPulse {
    0% { transform: scale(0.85); opacity: 0.5; }
    100% { transform: scale(1.15); opacity: 0.85; }
}

/* Smooth Container Crossfade Transition */
.main-content-container {
    transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.main-content-container.is-transitioning {
    opacity: 0.6;
    transform: scale(0.995);
}

/* Shimmering Content Skeletons */
.skeleton-grid-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
    width: 100%;
}

.skeleton-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 18px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.skeleton-shimmer {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.04) 25%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0.04) 75%);
    background-size: 200% 100%;
    animation: skeletonShimmer 1.5s infinite;
    border-radius: 8px;
}

.skeleton-thumb {
    height: 130px;
    width: 100%;
    border-radius: 12px;
}

.skeleton-line {
    height: 14px;
    width: 100%;
}

.skeleton-title {
    width: 70%;
    height: 18px;
}

.skeleton-sub {
    width: 45%;
}

.skeleton-price {
    width: 55%;
    margin-top: 8px;
}

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

/* ─── 6. Custom Bottom Loading Bar (#bottom-loading-bar) ───────────── */
.bottom-loading-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    height: 3.5px;
    width: 0%;
    background: linear-gradient(90deg, #6366f1, #a855f7, #ec4899);
    box-shadow: 0 0 12px rgba(168, 85, 247, 0.8), 0 0 20px rgba(99, 102, 241, 0.6);
    z-index: 10000;
    pointer-events: none;
    opacity: 0;
    transition: width 0.2s ease, opacity 0.3s ease;
}

/* ─── 7. 5-Tier Responsive Breakpoints (Rule #6) ─────────────────── */

/* Tier 1: 4K & Ultra-wide Screens (1920px+) */
@media (min-width: 1920px) {
    .site-header-grid,
    .main-content-container,
    .footer-inner {
        max-width: 1720px;
    }
}

/* Tier 2: Standard Laptops / Desktops (1280px - 1440px) - Defaults above */

/* Tier 3: Tablets & Small Laptops (768px - 1024px) */
@media (max-width: 1024px) {
    .site-header {
        padding: 0 18px;
    }
    .site-header .header-grid,
    .site-header-grid {
        grid-template-columns: var(--header-grid-columns, 2.5fr 5fr 2.5fr);
        gap: 10px;
    }
    .nav-pill-item a {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
    .hp-bento-grid {
        grid-template-columns: 1fr 1fr;
    }
    .hp-bento-card.featured {
        grid-column: 1 / -1;
    }
}

/* Tier 4: Mobile Landscape & Tablets (481px - 767px) */
@media (max-width: 767px) {
    .site-header {
        height: auto;
        min-height: auto;
        padding: 8px 12px 10px;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
    }
    .site-header.is-sticky {
        height: auto;
        min-height: auto;
        padding: 8px 12px 10px;
    }
    .site-header .header-grid,
    .site-header-grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px 12px;
        width: 100%;
        max-width: 100%;
        align-items: center;
        box-sizing: border-box;
    }
    .header-col-left {
        order: 1;
        grid-column: 1;
        min-width: 0;
        flex: 1 1 auto;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }
    .brand-link {
        min-width: 0;
        max-width: 100%;
        display: flex;
        align-items: center;
        gap: 8px;
        overflow: hidden;
    }
    .brand-logo-img {
        width: 28px;
        height: 28px;
        flex-shrink: 0;
    }
    .brand-title-text {
        font-size: 1.05rem;
        font-weight: 800;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .header-col-right {
        order: 2;
        grid-column: 2;
        gap: 8px;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        margin-left: auto;
    }
    .header-user-actions-group {
        display: inline-flex;
        align-items: center;
        justify-content: flex-end;
        gap: 8px;
        flex-shrink: 0;
    }
    .btn-lang-switcher {
        height: 32px;
        min-height: 32px;
        width: 32px;
        min-width: 32px;
        padding: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        flex-shrink: 0;
    }
    .btn-lang-switcher .lang-code-label,
    .btn-lang-switcher .lang-dropdown-chevron {
        display: none !important;
    }
    .btn-lang-switcher .lang-flag-badge {
        margin: 0;
    }
    .header-col-mid {
        order: 3;
        grid-column: 1 / -1;
        width: 100%;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        padding: 4px 0 0 0;
        margin: 0;
        box-sizing: border-box;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    .header-col-mid::-webkit-scrollbar {
        display: none;
    }
    .nav-pill-list {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        width: auto;
        min-width: 100%;
        background: rgba(15, 23, 42, 0.75);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        padding: 3px 4px;
        border-radius: 999px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        list-style: none;
        box-sizing: border-box;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.06);
        gap: 4px;
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
    }
    .nav-pill-list::-webkit-scrollbar {
        display: none;
    }
    .nav-pill-item {
        flex: 0 0 auto;
        display: flex;
    }
    .nav-pill-item a {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 6px 12px;
        font-size: 0.78rem;
        font-weight: 600;
        color: #94a3b8;
        text-decoration: none;
        border-radius: 999px;
        transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
        white-space: nowrap;
        text-align: center;
        line-height: 1.2;
        box-sizing: border-box;
    }
    .nav-pill-item a:hover {
        color: #f8fafc;
        background: rgba(255, 255, 255, 0.08);
    }
    .nav-pill-item a.is-active {
        color: #ffffff;
        background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
        box-shadow: 0 2px 10px rgba(99, 102, 241, 0.45);
        font-weight: 700;
    }
    .btn-header-cta {
        padding: 6px 10px;
        font-size: 0.8rem;
        gap: 5px;
    }
    .user-name-label {
        max-width: 70px;
    }
    .main-content-container {
        padding: 14px 12px;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
        overflow-x: hidden;
    }
    .hp-bento-grid {
        grid-template-columns: 1fr;
    }
    .hp-bento-card.col-span-2,
    .hp-bento-card.col-span-1 {
        grid-column: 1 / -1;
    }
    .footer-top {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Tier 5: Mobile Portrait (320px - 480px) */
@media (max-width: 480px) {
    .site-header {
        padding: 7px 10px 9px;
    }
    .site-header .header-grid,
    .site-header-grid {
        gap: 6px 10px;
    }
    .brand-badge {
        display: none;
    }
    .brand-title-text {
        font-size: 0.95rem;
        max-width: 130px;
    }
    .header-col-right {
        gap: 6px;
    }
    .btn-header-cta {
        padding: 5px 8px;
        font-size: 0.75rem;
    }
    .btn-user-handler {
        width: 34px;
        height: 34px;
        padding: 2px;
        border-radius: 50%;
        gap: 0;
    }
    .user-avatar-badge {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }
    .user-name-label {
        display: none;
    }
    .user-role-micro {
        font-size: 0.65rem;
    }
    .btn-header-outline,
    .btn-header-unified-auth {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        padding: 5px 9px;
        font-size: 0.75rem;
        font-weight: 600;
        height: 32px;
        border-radius: 8px;
        white-space: nowrap;
        background: linear-gradient(135deg, rgba(99, 102, 241, 0.25), rgba(168, 85, 247, 0.25));
        border: 1px solid rgba(99, 102, 241, 0.45);
        color: #ffffff;
    }
    .btn-header-outline svg,
    .btn-header-unified-auth svg {
        width: 13px;
        height: 13px;
    }
    .denom-options-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .footer-legal-links {
        flex-wrap: wrap;
        gap: 12px;
    }
    .hp-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

@media (max-width: 360px) {
    .site-header {
        padding: 6px 6px 8px;
    }
    .brand-title-text {
        font-size: 0.88rem;
        max-width: 100px;
    }
    .btn-header-outline,
    .btn-header-unified-auth {
        padding: 4px 7px;
        font-size: 0.72rem;
    }
    .nav-pill-item a {
        padding: 5px 10px;
        font-size: 0.72rem;
    }
}

/* Public Ambient Sandbox Indicator Banner */
#environment-banner-root {
    position: relative;
    z-index: 1001;
    width: 100%;
}
.ggz-ambient-sandbox-banner {
    background: linear-gradient(90deg, #b45309, #d97706, #b45309);
    color: #ffffff;
    padding: 7px 16px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
    border-bottom: 1px solid rgba(254, 243, 199, 0.3);
}
.ggz-ambient-sandbox-content {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    padding-right: 28px;
}
.ggz-ambient-sandbox-pill {
    background: rgba(0, 0, 0, 0.4);
    color: #fef08a;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    border: 1px solid rgba(254, 240, 138, 0.4);
}
.ggz-ambient-sandbox-msg {
    color: #fffbeb;
}
.ggz-ambient-sandbox-close {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.15rem;
    line-height: 1;
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 4px;
    transition: all 0.15s ease;
}
.ggz-ambient-sandbox-close:hover {
    color: #ffffff;
    background: rgba(0, 0, 0, 0.25);
}

/* ─── Storefront Global Floating Slot (Fixed Overlay Paradigm) ─── */
.storefront-floating-slot,
#slot-floating-actions {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 0;
    height: 0;
    overflow: visible;
    pointer-events: none;
    z-index: 9999;
}
.storefront-floating-slot > *,
#slot-floating-actions > * {
    pointer-events: auto;
}

/* ─── 5-Tier Responsive System for Public & Community Widgets (Rule #6, Rule #17) ─── */
.goods-widget-wrap {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 16px;
    box-sizing: border-box;
}

.goods-widget-grid {
    display: grid;
    grid-template-columns: repeat(var(--desktop-grid-cols, 4), minmax(0, 1fr));
    gap: 16px;
    width: 100%;
    box-sizing: border-box;
}

.goods-widget-card {
    min-width: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.topup-quick-recharge-card {
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    box-sizing: border-box;
}

.tqr-id-inputs-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 10px;
    margin-bottom: 16px;
}

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {
    .goods-widget-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 14px;
    }
}

/* Mobile Landscape & Standard Mobile (481px - 767px) */
@media (max-width: 767px) {
    .goods-widget-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px;
    }
    .goods-widget-wrap {
        padding: 16px 12px;
    }
    .tqr-id-inputs-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Mobile Portrait (320px - 480px) */
@media (max-width: 480px) {
    .goods-widget-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px;
    }
    .goods-widget-card {
        padding: 10px !important;
        border-radius: 12px !important;
    }
    .goods-widget-card .goods-img-wrapper {
        height: 105px !important;
    }
    .goods-widget-card h4 {
        font-size: 0.86rem !important;
        line-height: 1.25 !important;
    }
    .goods-widget-card .goods-price {
        font-size: 0.92rem !important;
    }
    .goods-widget-card a.goods-cta-btn {
        padding: 6px 8px !important;
        font-size: 0.74rem !important;
    }
    .topup-quick-recharge-card {
        padding: 16px 14px !important;
        border-radius: 14px !important;
    }
    .tqr-id-inputs-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .tqr-denom-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 6px !important;
    }
}

/* Extra Small Mobile (<= 340px) */
@media (max-width: 340px) {
    .goods-widget-grid {
        grid-template-columns: 1fr !important;
        gap: 10px;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
/* ═══════════════════════════════════════════════════════════════════════════
   PAGEBUILDER EFFECTS, SCROLL REVEAL & VIEWPORT FOCUS ENGINE (Rule #6, Rule #17)
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── 1. Base Scroll Reveal Trigger State (Touch-Safe & Layout-Stable) ── */
.epb-scroll-reveal:not(.is-revealed) {
    opacity: 0;
    will-change: opacity, transform;
    pointer-events: auto !important;
}

@media (max-width: 768px) {
    .epb-scroll-reveal:not(.is-revealed) {
        opacity: 1 !important;
        transform: none !important;
        pointer-events: auto !important;
    }
}

/* ── 2. Scroll & Entrance Animation Classes with Custom Props ── */
.epb-scroll-reveal.is-revealed.epb-fx-entrance-fade_up,
.epb-fx-entrance-fade_up:not(.epb-scroll-reveal) {
    animation: epb-fade-up var(--epb-anim-dur, 0.65s) cubic-bezier(0.16, 1, 0.3, 1) var(--epb-anim-delay, 0ms) both;
}

.epb-scroll-reveal.is-revealed.epb-fx-entrance-fade_down,
.epb-fx-entrance-fade_down:not(.epb-scroll-reveal) {
    animation: epb-fade-down var(--epb-anim-dur, 0.65s) cubic-bezier(0.16, 1, 0.3, 1) var(--epb-anim-delay, 0ms) both;
}

.epb-scroll-reveal.is-revealed.epb-fx-entrance-zoom_in,
.epb-fx-entrance-zoom_in:not(.epb-scroll-reveal) {
    animation: epb-zoom-in var(--epb-anim-dur, 0.55s) cubic-bezier(0.16, 1, 0.3, 1) var(--epb-anim-delay, 0ms) both;
}

.epb-scroll-reveal.is-revealed.epb-fx-entrance-zoom_out,
.epb-fx-entrance-zoom_out:not(.epb-scroll-reveal) {
    animation: epb-zoom-out var(--epb-anim-dur, 0.55s) cubic-bezier(0.16, 1, 0.3, 1) var(--epb-anim-delay, 0ms) both;
}

.epb-scroll-reveal.is-revealed.epb-fx-entrance-slide_left,
.epb-fx-entrance-slide_left:not(.epb-scroll-reveal) {
    animation: epb-slide-left var(--epb-anim-dur, 0.6s) cubic-bezier(0.16, 1, 0.3, 1) var(--epb-anim-delay, 0ms) both;
}

.epb-scroll-reveal.is-revealed.epb-fx-entrance-slide_right,
.epb-fx-entrance-slide_right:not(.epb-scroll-reveal) {
    animation: epb-slide-right var(--epb-anim-dur, 0.6s) cubic-bezier(0.16, 1, 0.3, 1) var(--epb-anim-delay, 0ms) both;
}

.epb-scroll-reveal.is-revealed.epb-fx-entrance-flip_up,
.epb-fx-entrance-flip_up:not(.epb-scroll-reveal) {
    animation: epb-flip-up var(--epb-anim-dur, 0.75s) cubic-bezier(0.16, 1, 0.3, 1) var(--epb-anim-delay, 0ms) both;
}

.epb-scroll-reveal.is-revealed.epb-fx-entrance-pulse_glow,
.epb-fx-entrance-pulse_glow:not(.epb-scroll-reveal) {
    animation: epb-pulse-glow var(--epb-anim-dur, 0.85s) ease-out var(--epb-anim-delay, 0ms) both;
}

.epb-scroll-reveal.is-revealed.epb-fx-entrance-cyber_glitch,
.epb-fx-entrance-cyber_glitch:not(.epb-scroll-reveal) {
    animation: epb-cyber-glitch var(--epb-anim-dur, 0.75s) ease-in-out var(--epb-anim-delay, 0ms) both;
}

/* ── 3. Animation Keyframes ── */
@keyframes epb-fade-up {
    0% {
        opacity: 0;
        transform: translateY(32px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes epb-fade-down {
    0% {
        opacity: 0;
        transform: translateY(-32px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes epb-zoom-in {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes epb-zoom-out {
    0% {
        opacity: 0;
        transform: scale(1.1);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes epb-slide-left {
    0% {
        opacity: 0;
        transform: translateX(45px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes epb-slide-right {
    0% {
        opacity: 0;
        transform: translateX(-45px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes epb-flip-up {
    0% {
        opacity: 0;
        transform: perspective(700px) rotateX(25deg) translateY(35px);
    }
    100% {
        opacity: 1;
        transform: perspective(700px) rotateX(0deg) translateY(0);
    }
}

@keyframes epb-pulse-glow {
    0% {
        opacity: 0.3;
        box-shadow: 0 0 0 rgba(0, 240, 255, 0);
    }
    50% {
        opacity: 1;
        box-shadow: 0 0 35px rgba(0, 240, 255, 0.45);
    }
    100% {
        opacity: 1;
        box-shadow: 0 0 0 rgba(0, 240, 255, 0);
    }
}

@keyframes epb-cyber-glitch {
    0% {
        opacity: 0;
        transform: skewX(-10deg) scale(0.96);
        filter: drop-shadow(0 0 15px rgba(0, 240, 255, 0.8));
    }
    30% {
        opacity: 0.85;
        transform: skewX(6deg) scale(1.02);
        filter: drop-shadow(0 0 25px rgba(255, 0, 128, 0.8));
    }
    60% {
        opacity: 0.95;
        transform: skewX(-3deg) scale(0.99);
        filter: drop-shadow(0 0 15px rgba(0, 240, 255, 0.6));
    }
    100% {
        opacity: 1;
        transform: skewX(0) scale(1);
        filter: none;
    }
}

/* ── 4. Viewport Center Focus & Spotlight Effects ── */
.epb-scroll-focus-neon_spotlight {
    position: relative;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.epb-scroll-focus-neon_spotlight.is-in-focus {
    box-shadow: 0 0 60px rgba(0, 240, 255, 0.35), 0 0 120px rgba(0, 240, 255, 0.12) !important;
    border-color: rgba(0, 240, 255, 0.8) !important;
    background-image: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(0, 240, 255, 0.15) 0%, rgba(0, 240, 255, 0.03) 50%, transparent 80%) !important;
}

.epb-scroll-focus-border_glow_pulse {
    position: relative;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.epb-scroll-focus-border_glow_pulse.is-in-focus {
    box-shadow: 0 0 60px rgba(221, 175, 49, 0.4), 0 0 120px rgba(221, 175, 49, 0.15) !important;
    border-color: rgba(221, 175, 49, 0.9) !important;
    background-image: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(221, 175, 49, 0.15) 0%, rgba(221, 175, 49, 0.03) 50%, transparent 80%) !important;
}

.epb-scroll-focus-tilt_focus {
    transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.epb-scroll-focus-tilt_focus.is-in-focus {
    transform: scale(1.02) !important;
    border-color: rgba(168, 85, 247, 0.85) !important;
    box-shadow: 0 30px 60px -10px rgba(0, 0, 0, 0.85), 0 0 40px rgba(168, 85, 247, 0.4) !important;
    background-image: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(168, 85, 247, 0.15) 0%, rgba(168, 85, 247, 0.03) 50%, transparent 80%) !important;
}

/* ── 5. Card & Interactive Elements Hover Reaction Effects ── */
@keyframes epb-neon-cyan-glow-pulse {
    0% {
        border-color: #00f0ff;
        box-shadow: 0 0 18px rgba(0, 240, 255, 0.6), inset 0 0 12px rgba(0, 240, 255, 0.2);
    }
    50% {
        border-color: #38bdf8;
        box-shadow: 0 0 35px rgba(0, 240, 255, 0.9), inset 0 0 22px rgba(0, 240, 255, 0.35);
    }
    100% {
        border-color: #00f0ff;
        box-shadow: 0 0 18px rgba(0, 240, 255, 0.6), inset 0 0 12px rgba(0, 240, 255, 0.2);
    }
}

/* Base smooth transition for interactive children */
.epb-fx-hover-lift .hp-game-card,
.epb-fx-hover-lift .goods-widget-card,
.epb-fx-hover-lift .hp-bento-card,
.epb-fx-hover-lift .store-catalog-card,
.epb-fx-hover-lift .store-game-card,
.epb-fx-hover-lift .topup-card,
.epb-fx-hover-lift .bento-cell,
.epb-fx-hover-lift .ecosystem-card,
.epb-fx-hover-lift .hero-cta-group a,
.epb-fx-hover-lift .btn-primary,
.epb-fx-hover-lift .btn-secondary,
.epb-fx-hover-lift .hero-badge,
.epb-fx-hover-glow_border .hp-game-card,
.epb-fx-hover-glow_border .goods-widget-card,
.epb-fx-hover-glow_border .hp-bento-card,
.epb-fx-hover-glow_border .store-catalog-card,
.epb-fx-hover-glow_border .store-game-card,
.epb-fx-hover-glow_border .topup-card,
.epb-fx-hover-glow_border .bento-cell,
.epb-fx-hover-glow_border .ecosystem-card,
.epb-fx-hover-glow_border .hero-cta-group a,
.epb-fx-hover-glow_border .btn-primary,
.epb-fx-hover-glow_border .btn-secondary,
.epb-fx-hover-glow_border .hero-badge,
.epb-fx-hover-scale_magnify .hp-game-card,
.epb-fx-hover-scale_magnify .goods-widget-card,
.epb-fx-hover-scale_magnify .hp-bento-card,
.epb-fx-hover-scale_magnify .store-catalog-card,
.epb-fx-hover-scale_magnify .store-game-card,
.epb-fx-hover-scale_magnify .topup-card,
.epb-fx-hover-scale_magnify .bento-cell,
.epb-fx-hover-scale_magnify .ecosystem-card,
.epb-fx-hover-scale_magnify .hero-cta-group a,
.epb-fx-hover-scale_magnify .btn-primary,
.epb-fx-hover-scale_magnify .btn-secondary,
.epb-fx-hover-scale_magnify .hero-badge,
.epb-fx-hover-tilt_3d .hp-game-card,
.epb-fx-hover-tilt_3d .goods-widget-card,
.epb-fx-hover-tilt_3d .hp-bento-card,
.epb-fx-hover-tilt_3d .store-catalog-card,
.epb-fx-hover-tilt_3d .store-game-card,
.epb-fx-hover-tilt_3d .topup-card,
.epb-fx-hover-tilt_3d .bento-cell,
.epb-fx-hover-tilt_3d .ecosystem-card,
.epb-fx-hover-tilt_3d .hero-cta-group a,
.epb-fx-hover-tilt_3d .btn-primary,
.epb-fx-hover-tilt_3d .btn-secondary,
.epb-fx-hover-tilt_3d .hero-badge {
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease !important;
}

/* 1. Lift (-8px translateY + enhanced gold shadow) */
.epb-fx-hover-lift .hp-game-card:hover,
.epb-fx-hover-lift .goods-widget-card:hover,
.epb-fx-hover-lift .hp-bento-card:hover,
.epb-fx-hover-lift .store-catalog-card:hover,
.epb-fx-hover-lift .store-game-card:hover,
.epb-fx-hover-lift .topup-card:hover,
.epb-fx-hover-lift .bento-cell:hover,
.epb-fx-hover-lift .ecosystem-card:hover,
.epb-fx-hover-lift .hero-cta-group a:hover,
.epb-fx-hover-lift .btn-primary:hover,
.epb-fx-hover-lift .btn-secondary:hover,
.epb-fx-hover-lift .hero-badge:hover,
.epb-fx-hover-lift a.btn:hover,
.epb-fx-hover-lift button:hover {
    transform: translateY(-8px) scale(1.02) !important;
    box-shadow: 0 20px 35px -8px rgba(0, 0, 0, 0.85), 0 0 25px rgba(221, 175, 49, 0.45) !important;
    border-color: rgba(221, 175, 49, 0.9) !important;
}

/* 2. Neon Glow Border Pulse (Pure Electric Neon Cyan Pulse) */
.epb-fx-hover-glow_border .hp-game-card:hover,
.epb-fx-hover-glow_border .goods-widget-card:hover,
.epb-fx-hover-glow_border .hp-bento-card:hover,
.epb-fx-hover-glow_border .store-catalog-card:hover,
.epb-fx-hover-glow_border .store-game-card:hover,
.epb-fx-hover-glow_border .topup-card:hover,
.epb-fx-hover-glow_border .bento-cell:hover,
.epb-fx-hover-glow_border .ecosystem-card:hover,
.epb-fx-hover-glow_border .hero-cta-group a:hover,
.epb-fx-hover-glow_border .btn-primary:hover,
.epb-fx-hover-glow_border .btn-secondary:hover,
.epb-fx-hover-glow_border .hero-badge:hover,
.epb-fx-hover-glow_border a.btn:hover,
.epb-fx-hover-glow_border button:hover {
    transform: translateY(-5px) scale(1.03) !important;
    border-color: #00f0ff !important;
    box-shadow: 0 0 35px rgba(0, 240, 255, 0.85), inset 0 0 20px rgba(0, 240, 255, 0.35) !important;
    animation: epb-neon-cyan-glow-pulse 1.5s infinite ease-in-out !important;
}

/* 3. Zoom Magnify (1.06x scale) */
.epb-fx-hover-scale_magnify .hp-game-card:hover,
.epb-fx-hover-scale_magnify .goods-widget-card:hover,
.epb-fx-hover-scale_magnify .hp-bento-card:hover,
.epb-fx-hover-scale_magnify .store-catalog-card:hover,
.epb-fx-hover-scale_magnify .store-game-card:hover,
.epb-fx-hover-scale_magnify .topup-card:hover,
.epb-fx-hover-scale_magnify .bento-cell:hover,
.epb-fx-hover-scale_magnify .ecosystem-card:hover,
.epb-fx-hover-scale_magnify .hero-cta-group a:hover,
.epb-fx-hover-scale_magnify .btn-primary:hover,
.epb-fx-hover-scale_magnify .btn-secondary:hover,
.epb-fx-hover-scale_magnify .hero-badge:hover,
.epb-fx-hover-scale_magnify a.btn:hover,
.epb-fx-hover-scale_magnify button:hover {
    transform: scale(1.06) translateY(-4px) !important;
    box-shadow: 0 22px 45px rgba(0, 0, 0, 0.8) !important;
    z-index: 10 !important;
}

/* 4. 3D Interactive Tilt */
.epb-fx-hover-tilt_3d .hp-game-card:hover,
.epb-fx-hover-tilt_3d .goods-widget-card:hover,
.epb-fx-hover-tilt_3d .hp-bento-card:hover,
.epb-fx-hover-tilt_3d .store-catalog-card:hover,
.epb-fx-hover-tilt_3d .store-game-card:hover,
.epb-fx-hover-tilt_3d .topup-card:hover,
.epb-fx-hover-tilt_3d .bento-cell:hover,
.epb-fx-hover-tilt_3d .ecosystem-card:hover,
.epb-fx-hover-tilt_3d .hero-cta-group a:hover,
.epb-fx-hover-tilt_3d .btn-primary:hover,
.epb-fx-hover-tilt_3d .btn-secondary:hover,
.epb-fx-hover-tilt_3d .hero-badge:hover,
.epb-fx-hover-tilt_3d a.btn:hover,
.epb-fx-hover-tilt_3d button:hover {
    transform: perspective(700px) rotateX(6deg) rotateY(-6deg) translateY(-8px) !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8), 0 0 35px rgba(168, 85, 247, 0.5) !important;
    border-color: rgba(168, 85, 247, 0.9) !important;
}

/* 5. Static (No hover mutation) */
.epb-fx-hover-static .hp-game-card:hover,
.epb-fx-hover-static .goods-widget-card:hover,
.epb-fx-hover-static .hp-bento-card:hover,
.epb-fx-hover-static .store-catalog-card:hover,
.epb-fx-hover-static .store-game-card:hover,
.epb-fx-hover-static .topup-card:hover,
.epb-fx-hover-static .bento-cell:hover,
.epb-fx-hover-static .ecosystem-card:hover,
.epb-fx-hover-static .hero-cta-group a:hover,
.epb-fx-hover-static .btn-primary:hover,
.epb-fx-hover-static .btn-secondary:hover,
.epb-fx-hover-static .hero-badge:hover {
    transform: none !important;
    box-shadow: none !important;
    border-color: var(--theme-border, rgba(255, 255, 255, 0.08)) !important;
}

/* ── 3. Particle & Ambient Overlay Layers ── */
.wysiwyg-block-wrapper,
.pb-section-block,
.hp-popular-games-section,
.hp-ecosystem-section,
.hp-features-section,
.hp-cta-section,
.hp-hero-section,
.hp-faq-section,
.hp-testimonials-section,
.hp-stats-section,
.hp-countdown-section,
.hp-video-section,
.hp-custom-html-section {
    position: relative;
    overflow: hidden;
}

.wysiwyg-block-wrapper > *:not(.epb-ambient-layer):not(.wysiwyg-block-tag):not(.wysiwyg-quick-toolbar),
.pb-section-block > *:not(.epb-ambient-layer) {
    position: relative;
    z-index: 1;
}

.epb-ambient-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

/* Ambient: Cyber Dust & Stars */
.epb-ambient-cyber_stars {
    background-image: 
        radial-gradient(2px 2px at 20px 30px, #ffffff, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 40px 70px, rgba(0, 240, 255, 0.8), rgba(0,0,0,0)),
        radial-gradient(1.5px 1.5px at 90px 40px, #ffffff, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 160px 120px, rgba(221, 175, 49, 0.8), rgba(0,0,0,0)),
        radial-gradient(2px 2px at 230px 180px, #ffffff, rgba(0,0,0,0)),
        radial-gradient(1.5px 1.5px at 290px 80px, rgba(0, 240, 255, 0.8), rgba(0,0,0,0));
    background-repeat: repeat;
    background-size: 320px 240px;
    animation: epb-ambient-stars-drift 40s linear infinite;
    opacity: 0.75;
}

@keyframes epb-ambient-stars-drift {
    from { background-position: 0 0; }
    to { background-position: 320px 480px; }
}

/* Ambient: Digital Perspective Grid */
.epb-ambient-digital_grid {
    background-image: 
        linear-gradient(rgba(0, 240, 255, 0.09) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.09) 1px, transparent 1px);
    background-size: 32px 32px;
    background-position: center center;
    mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
    animation: epb-ambient-grid-pulse 8s ease-in-out infinite alternate;
}

@keyframes epb-ambient-grid-pulse {
    0% { opacity: 0.4; transform: scale(1); }
    100% { opacity: 0.9; transform: scale(1.02); }
}

/* Ambient: Aurora Gradient Glow */
.epb-ambient-aurora_glow {
    background: 
        radial-gradient(circle at 20% 30%, rgba(99, 102, 241, 0.22) 0%, transparent 60%),
        radial-gradient(circle at 80% 70%, rgba(0, 240, 255, 0.2) 0%, transparent 60%),
        radial-gradient(circle at 50% 50%, rgba(221, 175, 49, 0.14) 0%, transparent 65%);
    filter: blur(40px);
    animation: epb-ambient-aurora-shift 12s ease infinite alternate;
    opacity: 0.85;
}

@keyframes epb-ambient-aurora-shift {
    0% { transform: scale(1) translate(0, 0); filter: hue-rotate(0deg) blur(40px); }
    50% { transform: scale(1.08) translate(-15px, 10px); filter: hue-rotate(45deg) blur(45px); }
    100% { transform: scale(1) translate(15px, -10px); filter: hue-rotate(90deg) blur(40px); }
}