/* ================================================================
   NameScope PRO — Luxury Obsidian & Champagne Gold Architecture
   Handcrafted Designer Aesthetics (Non-AI Generated)
   Fully Optimized for Desktop, iOS & Android (120Hz Smooth Render)
   ================================================================ */

/* ==================== RESET & BASE ==================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

:root {
    /* HANDCRAFTED LUXURY PALETTE: CHAMPAGNE GOLD & OBSIDIAN ONYX */
    --accent-1: #d4af37;
    --accent-2: #e2c46c;
    --accent-3: #f3e5ab;
    --accent-4: #c5a046;
    --accent-glow: rgba(212, 175, 55, 0.25);

    --gradient-primary: linear-gradient(135deg, var(--accent-1), var(--accent-4));
    --gradient-accent: linear-gradient(135deg, var(--accent-2), var(--accent-3));
    --gradient-glass-border: linear-gradient(135deg, rgba(226, 196, 108, 0.3), rgba(255, 255, 255, 0.04));

    /* OBSIDIAN BASE COLORS */
    --bg-dark: #07080c;
    --bg-card: rgba(18, 20, 28, 0.5);
    --bg-card-hover: rgba(28, 31, 44, 0.65);

    /* FROSTED GLASS TOKENS */
    --glass-blur: blur(28px);
    --glass-border: rgba(255, 255, 255, 0.07);
    --glass-border-hover: rgba(212, 175, 55, 0.3);
    --glass-inner-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.12);

    /* TYPOGRAPHY COLORS */
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    /* STATUS COLOR TOKENS */
    --status-available: #10b981;
    --status-available-bg: rgba(16, 185, 129, 0.1);
    --status-available-border: rgba(16, 185, 129, 0.3);

    --status-taken: #f43f5e;
    --status-taken-bg: rgba(244, 63, 94, 0.1);
    --status-taken-border: rgba(244, 63, 94, 0.3);

    --status-manual: #f59e0b;
    --status-manual-bg: rgba(245, 158, 11, 0.1);
    --status-manual-border: rgba(245, 158, 11, 0.3);

    /* LAYOUT & RADII */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --container-max: 1140px;
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;

    /* ANIMATIONS & TIMINGS */
    --ease-ios: cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: 0.18s var(--ease-ios);
    --transition-normal: 0.35s var(--ease-ios);
}

/* ==================== THEME PALETTES ==================== */
html[data-theme="titanium"] {
    --accent-1: #cbd5e1;
    --accent-2: #94a3b8;
    --accent-3: #f1f5f9;
    --accent-4: #64748b;
    --accent-glow: rgba(203, 213, 225, 0.2);
}

html[data-theme="emerald"] {
    --accent-1: #10b981;
    --accent-2: #34d399;
    --accent-3: #6ee7b7;
    --accent-4: #059669;
    --accent-glow: rgba(16, 185, 129, 0.2);
}

html[data-theme="sapphire"] {
    --accent-1: #3b82f6;
    --accent-2: #60a5fa;
    --accent-3: #93c5fd;
    --accent-4: #1d4ed8;
    --accent-glow: rgba(59, 130, 246, 0.2);
}

/* ==================== GLASS MODES ==================== */
html[data-glass="subtle"] {
    --glass-blur: blur(12px);
    --bg-card: rgba(18, 20, 28, 0.35);
}

html[data-glass="deep"] {
    --glass-blur: blur(40px);
    --bg-card: rgba(18, 20, 28, 0.7);
    --glass-border: rgba(255, 255, 255, 0.12);
}

/* ==================== GLOBAL STYLES ==================== */
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
    perspective: 1200px;
    touch-action: manipulation;
}

/* ==================== SPOTLIGHT & AMBIENT BG ==================== */
.spotlight-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    background: radial-gradient(
        600px circle at var(--mouse-x, 50%) var(--mouse-y, 30%),
        var(--accent-glow),
        transparent 80%
    );
    opacity: 0.5;
    transition: opacity 0.4s ease;
}

.ambient-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.22;
    animation: orbFloat 25s ease-in-out infinite alternate;
    will-change: transform;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-1), transparent 70%);
    top: -15%;
    left: -10%;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent-4), transparent 70%);
    bottom: -10%;
    right: -10%;
    animation-delay: -10s;
}

@keyframes orbFloat {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(40px, -40px) scale(1.08); }
}

.glass-grid-mesh {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 50px 50px;
}

/* ==================== TYPOGRAPHY ==================== */
.gradient-text {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h1, h2, h3 {
    font-family: var(--font-heading);
}

/* ==================== TOP NAVIGATION ==================== */
.top-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    background: rgba(7, 8, 12, 0.75);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo-3d-box {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-md);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #07080c;
    font-size: 1.1rem;
    box-shadow: 0 8px 20px var(--accent-glow), var(--glass-inner-shadow);
}

.brand-name {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.badge-3d {
    font-size: 0.65rem;
    padding: 2px 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    color: var(--accent-2);
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 8px 18px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    transition: all var(--transition-fast);
}

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

.nav-btn.accent-btn {
    background: var(--gradient-primary);
    border: none;
    color: #07080c;
    box-shadow: 0 8px 20px var(--accent-glow);
}

/* ==================== HERO SECTION ==================== */
main {
    position: relative;
    z-index: 2;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px 80px;
}

.hero-3d {
    text-align: center;
    padding: 70px 0 40px;
}

.hero-badge-wrap {
    display: inline-block;
    margin-bottom: 20px;
}

.badge-glossy {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent-2);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-1);
    box-shadow: 0 0 10px var(--accent-1);
}

.title-3d {
    font-size: clamp(2.4rem, 6vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.hero-description {
    max-width: 600px;
    margin: 0 auto 36px;
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* DYNAMIC SEARCH BOX */
.dynamic-island-container {
    max-width: 640px;
    margin: 0 auto;
}

.input-wrapper-3d {
    display: flex;
    align-items: center;
    padding: 6px;
    background: rgba(18, 20, 28, 0.7);
    border: 1.5px solid var(--glass-border);
    border-radius: var(--radius-xl);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), var(--glass-inner-shadow);
    transition: all var(--transition-normal);
}

.input-wrapper-3d:focus-within {
    border-color: var(--accent-1);
    box-shadow: 0 0 0 4px var(--accent-glow), 0 20px 40px rgba(0,0,0,0.5);
}

.prefix-box {
    padding: 0 8px 0 18px;
}

.input-prefix {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--accent-1);
}

#username-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    padding: 14px 8px;
    min-width: 0;
}

#username-input::placeholder {
    color: var(--text-muted);
    font-weight: 400;
}

.btn-3d-glossy {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    padding: 14px 30px;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-lg);
    color: #07080c;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 8px 24px var(--accent-glow);
    transition: all var(--transition-fast);
}

.btn-3d-glossy:hover {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 12px 30px var(--accent-glow);
}

.btn-loader {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(7,8,12,0.3);
    border-top-color: #07080c;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

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

.input-meta {
    display: flex;
    justify-content: space-between;
    padding: 10px 6px 0;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.input-error {
    margin-top: 10px;
    padding: 10px 16px;
    background: var(--status-taken-bg);
    border: 1px solid var(--status-taken-border);
    border-radius: var(--radius-md);
    font-size: 0.88rem;
    color: var(--status-taken);
    text-align: left;
}

/* ==================== STATS & CATEGORY TABS ==================== */
.stats-section {
    margin-top: 36px;
}

.stats-bar-3d {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
    margin-bottom: 24px;
}

.stat-card-3d {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
}

.stat-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.stat-icon-wrap.available { background: var(--status-available-bg); color: var(--status-available); border: 1px solid var(--status-available-border); }
.stat-icon-wrap.taken { background: var(--status-taken-bg); color: var(--status-taken); border: 1px solid var(--status-taken-border); }
.stat-icon-wrap.manual { background: var(--status-manual-bg); color: var(--status-manual); border: 1px solid var(--status-manual-border); }
.stat-icon-wrap.total { background: rgba(212, 175, 55, 0.1); color: var(--accent-1); border: 1px solid rgba(212, 175, 55, 0.25); }

.stat-value {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.74rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

/* CATEGORY TABS */
.category-tabs-container {
    display: flex;
    justify-content: center;
    margin-bottom: 28px;
    overflow-x: auto;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
}

.category-tabs {
    display: inline-flex;
    gap: 6px;
    padding: 5px;
    background: rgba(18, 20, 28, 0.6);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
}

.cat-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 8px 18px;
    background: transparent;
    border: none;
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all var(--transition-fast);
}

.cat-tab.active {
    background: var(--gradient-primary);
    color: #07080c;
    box-shadow: 0 4px 15px var(--accent-glow);
}

/* ==================== RESULTS GRID ==================== */
.results-header-3d {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 14px;
}

.results-title-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.results-header-3d h2 {
    font-size: 1.5rem;
    font-weight: 800;
}

.badge-mini {
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    font-size: 0.76rem;
    color: var(--text-secondary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.action-btn-3d {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 42px;
    padding: 8px 18px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.action-btn-3d.accent {
    background: var(--gradient-primary);
    border: none;
    color: #07080c;
    box-shadow: 0 6px 18px var(--accent-glow);
}

.results-grid-3d {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
    gap: 16px;
    transform-style: preserve-3d;
}

.results-grid-3d.layout-compact {
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
}

.results-grid-3d.layout-rows {
    grid-template-columns: 1fr;
}

/* PLATFORM CARDS */
.platform-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), var(--glass-inner-shadow);
    transition: transform 0.15s ease-out, border-color 0.2s ease, background 0.2s ease;
    transform-style: preserve-3d;
    will-change: transform;
}

.platform-card.status-available { border-color: var(--status-available-border); background: var(--status-available-bg); }
.platform-card.status-taken { border-color: var(--status-taken-border); background: var(--status-taken-bg); }

.platform-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    transform: translateZ(10px);
}

.platform-info {
    flex: 1;
    min-width: 0;
    transform: translateZ(5px);
}

.platform-name {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.platform-url {
    font-size: 0.76rem;
    color: var(--text-muted);
    word-break: break-all;
}

.platform-status {
    transform: translateZ(10px);
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.status-badge.available { background: var(--status-available-bg); color: var(--status-available); border: 1px solid var(--status-available-border); }
.status-badge.taken { background: var(--status-taken-bg); color: var(--status-taken); border: 1px solid var(--status-taken-border); }
.status-badge.manual { background: var(--status-manual-bg); color: var(--status-manual); border: 1px solid var(--status-manual-border); }

/* ==================== AI ALTERNATIVES SECTION ==================== */
.alternatives-section {
    margin-top: 36px;
}

.alt-card-3d {
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
}

.alt-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.alt-title-box {
    display: flex;
    align-items: center;
    gap: 12px;
}

.alt-icon { font-size: 1.4rem; color: var(--accent-1); }

.alt-chips-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.alt-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 40px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.alt-chip:hover {
    background: var(--gradient-primary);
    color: #07080c;
    border-color: transparent;
}

/* ==================== SEO FAQ ACCORDION ==================== */
.seo-faq-section {
    padding: 70px 0 30px;
}

.seo-header {
    text-align: center;
    margin-bottom: 36px;
}

.section-title-3d {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 8px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color var(--transition-fast);
}

.faq-question {
    width: 100%;
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 22px;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
}

.faq-icon {
    font-size: 0.9rem;
    color: var(--accent-1);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 22px 18px;
}

.faq-answer p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ==================== PLATFORMS SHOWCASE ==================== */
.platforms-showcase-3d {
    padding: 40px 0;
    text-align: center;
}

.platforms-ticker-3d {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
}

.ticker-item-3d {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

/* ==================== STUDIO CUSTOMIZER DRAWER ==================== */
.studio-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 200;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.studio-drawer-backdrop.active { opacity: 1; pointer-events: auto; }

.studio-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 360px;
    max-width: 100vw;
    height: 100vh;
    background: rgba(14, 16, 23, 0.92);
    border-left: 1px solid var(--glass-border);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    z-index: 201;
    padding: 28px 22px;
    transform: translateX(100%);
    transition: transform 0.35s var(--ease-ios);
    display: flex;
    flex-direction: column;
}

.studio-drawer.active { transform: translateX(0); }

.studio-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--glass-border);
}

.studio-title { display: flex; align-items: center; gap: 10px; color: var(--accent-1); }

.close-btn-3d {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.studio-body { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 24px; }
.studio-group { display: flex; flex-direction: column; gap: 10px; }
.studio-label { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; color: var(--text-muted); }

.theme-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

.theme-option {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 8px 12px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
}

.theme-option.active { border-color: var(--theme-color); color: var(--text-primary); background: rgba(255,255,255,0.08); }
.color-dot { width: 12px; height: 12px; border-radius: 50%; }

.segmented-control { display: flex; padding: 4px; background: rgba(255,255,255,0.04); border: 1px solid var(--glass-border); border-radius: var(--radius-md); gap: 4px; }
.segment-btn { flex: 1; min-height: 36px; padding: 6px; background: transparent; border: none; border-radius: var(--radius-sm); color: var(--text-secondary); font-size: 0.78rem; font-weight: 600; cursor: pointer; }
.segment-btn.active { background: var(--gradient-primary); color: #07080c; }

.studio-toggle-row { flex-direction: row; align-items: center; justify-content: space-between; }
.toggle-title { font-size: 0.88rem; font-weight: 700; display: block; }
.toggle-desc { font-size: 0.74rem; color: var(--text-muted); display: block; }

.switch { position: relative; display: inline-block; width: 44px; height: 24px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; inset: 0; background-color: rgba(255,255,255,0.1); border: 1px solid var(--glass-border); transition: 0.3s; border-radius: 34px; }
.slider::before { position: absolute; content: ""; height: 16px; width: 16px; left: 3px; bottom: 3px; background-color: white; transition: 0.3s; border-radius: 50%; }
input:checked + .slider { background: var(--gradient-primary); }
input:checked + .slider::before { transform: translateX(20px); background-color: #07080c; }

/* ==================== FOOTER ==================== */
.footer-3d { border-top: 1px solid var(--glass-border); background: rgba(7, 8, 12, 0.85); backdrop-filter: var(--glass-blur); }
.footer-content-3d { max-width: var(--container-max); margin: 0 auto; padding: 40px 24px 20px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-logo { font-size: 1.3rem; font-weight: 800; }
.footer-brand p { font-size: 0.84rem; color: var(--text-muted); margin-top: 4px; }
.footer-note-3d { display: flex; gap: 10px; align-items: center; padding: 12px 18px; background: var(--bg-card); border: 1px solid var(--glass-border); border-radius: var(--radius-md); max-width: 440px; }
.footer-note-3d i { color: var(--accent-1); font-size: 1.1rem; }
.footer-note-3d p { font-size: 0.8rem; color: var(--text-muted); }
.footer-bottom-3d { max-width: var(--container-max); margin: 0 auto; padding: 16px 24px 28px; text-align: center; font-size: 0.78rem; color: var(--text-muted); }

.hidden { display: none !important; }

/* ==================== MOBILE BREAKPOINTS ==================== */
@media (max-width: 768px) {
    .hero-3d { padding: 45px 0 24px; }
    .title-3d { font-size: 2.2rem; }
    .results-grid-3d { grid-template-columns: 1fr; }
    .footer-content-3d { flex-direction: column; align-items: flex-start; }
    .btn-3d-glossy span { display: none; }
    .btn-3d-glossy { padding: 14px 20px; }
    .action-btn-3d span { display: none; }
    .action-btn-3d { padding: 8px 14px; }
}
