:root {
    --bg-primary: #070714;
    --bg-secondary: #0d0d24;
    --bg-card: rgba(255, 255, 255, 0.04);
    --border-glass: rgba(255, 255, 255, 0.08);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --purple: #8b5cf6;
    --blue: #3b82f6;
    --cyan: #06b6d4;
    --gold: #fbbf24;
    --gradient-main: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 50%, #06b6d4 100%);
    --gradient-gold: linear-gradient(135deg, #fbbf24, #f59e0b);
    --shadow-glow: 0 0 40px rgba(139, 92, 246, 0.25);
    --radius: 16px;
    --font-display: 'Orbitron', sans-serif;
    --font-body: 'Inter', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.particles {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(139, 92, 246, 0.15), transparent 40%),
        radial-gradient(circle at 80% 30%, rgba(6, 182, 212, 0.12), transparent 35%),
        radial-gradient(circle at 50% 80%, rgba(59, 130, 246, 0.1), transparent 45%);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(16px);
    background: rgba(7, 7, 20, 0.85);
    border-bottom: 1px solid var(--border-glass);
}

/* Always-on home control — reaches homepage from any page, including fullscreen */
.home-fab {
    position: fixed;
    bottom: 1rem;
    left: 1rem;
    z-index: 10050;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    border: 1px solid rgba(103, 232, 249, 0.35);
    background: rgba(7, 7, 20, 0.9);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.4);
    transition: border-color 0.2s, transform 0.2s, background 0.2s;
}
.home-fab:hover {
    border-color: rgba(103, 232, 249, 0.8);
    background: rgba(6, 182, 212, 0.22);
    transform: translateY(-1px);
    color: #fff;
}
.home-fab span:first-child {
    color: var(--cyan, #67e8f9);
}
.nav-home {
    color: var(--text-primary) !important;
    font-weight: 600;
}
body.page-home .home-fab {
    display: none;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.1rem;
}

.logo-icon {
    color: var(--cyan);
    font-size: 1.4rem;
    animation: pulse-glow 3s ease-in-out infinite;
}

.logo-accent {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.nav-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: color 0.2s;
}

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

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: 0.3s;
}

.site-main { position: relative; z-index: 1; min-height: 60vh; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3rem;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin: 0 0 1rem;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius);
    backdrop-filter: blur(12px);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.glass-card:hover {
    transform: translateY(-4px);
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: var(--shadow-glow);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.5rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background: var(--gradient-main);
    color: white;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
    border: 1px solid var(--border-glass);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(139, 92, 246, 0.4);
}

.btn-gold {
    background: var(--gradient-gold);
    color: #1a1a2e;
}

.btn-sm { padding: 0.55rem 1rem; font-size: 0.85rem; }
.btn-block { width: 100%; }

.hero {
    padding: 6rem 0 4rem;
    position: relative;
}

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

.hero-content h1,
.hero-copy h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.15;
    margin: 0 0 1.5rem;
}

.hero-content h1 span,
.hero-copy h1 span {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p,
.hero-lead {
    color: var(--text-secondary);
    font-size: 1.15rem;
    margin-bottom: 2rem;
    max-width: 540px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
    min-height: 420px;
}

.hero-orbit {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.orbit-center {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--gradient-main);
    box-shadow: 0 0 60px rgba(139, 92, 246, 0.6);
    animation: float 6s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.orbit-ring {
    position: absolute;
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 50%;
    animation: spin 20s linear infinite;
}

.orbit-ring-1 { width: 200px; height: 200px; }
.orbit-ring-2 { width: 280px; height: 280px; animation-direction: reverse; animation-duration: 30s; }
.orbit-ring-3 { width: 360px; height: 360px; animation-duration: 40s; }

.orbit-node {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    animation: float 4s ease-in-out infinite;
}

.orbit-node:nth-child(1) { top: 10%; left: 20%; animation-delay: 0s; }
.orbit-node:nth-child(2) { top: 20%; right: 10%; animation-delay: 1s; }
.orbit-node:nth-child(3) { bottom: 25%; left: 5%; animation-delay: 2s; }
.orbit-node:nth-child(4) { bottom: 10%; right: 20%; animation-delay: 0.5s; }

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.cards-grid-3 { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.cards-grid-4 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

.feature-card {
    padding: 1.75rem;
}

.feature-card .icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin: 0 0 0.75rem;
    font-size: 1.15rem;
}

.feature-card p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.95rem;
}

.tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(139, 92, 246, 0.15);
    color: var(--purple);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.world-card-visual {
    height: 180px;
    border-radius: var(--radius) var(--radius) 0 0;
    position: relative;
    overflow: hidden;
}

.world-card-visual.has-image {
    background-size: cover;
    background-position: center;
}

.world-card-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.45s ease;
    filter: brightness(1.08) contrast(1.05) saturate(1.1);
}

.world-card-image-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(7, 7, 20, 0.45), transparent 50%);
    pointer-events: none;
}

.world-card:hover .world-card-image {
    transform: scale(1.06);
}

.world-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(8px);
}

.world-card-body { padding: 1.25rem; }
.world-card-body h3 { margin: 0.5rem 0; font-size: 1.1rem; }
.world-card-body p { color: var(--text-secondary); font-size: 0.9rem; margin: 0 0 1rem; }
.world-card-meta { display: flex; justify-content: space-between; align-items: center; }

.gradient-purple { background: linear-gradient(135deg, #4c1d95, #7c3aed, #a78bfa); }
.gradient-cyan { background: linear-gradient(135deg, #0e7490, #06b6d4, #67e8f9); }
.gradient-blue { background: linear-gradient(135deg, #1e3a8a, #3b82f6, #93c5fd); }
.gradient-gold { background: linear-gradient(135deg, #92400e, #fbbf24, #fde68a); }

.agent-card { padding: 1.5rem; }
.agent-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
.agent-card-body h3 { margin: 0.5rem 0; }
.agent-card-body p { color: var(--text-secondary); font-size: 0.9rem; }
.agent-meta { color: var(--cyan); font-size: 0.85rem; margin: 0.75rem 0 1rem; }

.pricing-card {
    padding: 2rem;
    position: relative;
}

.pricing-card.featured {
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: var(--shadow-glow);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-main);
    padding: 0.35rem 1rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
}

.pricing-desc { color: var(--text-secondary); font-size: 0.95rem; }
.pricing-price { margin: 1.5rem 0; }
.price-amount { font-size: 2.5rem; font-weight: 800; font-family: var(--font-display); }
.price-period { color: var(--text-secondary); }
.pricing-features { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.pricing-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-glass);
    color: var(--text-secondary);
    font-size: 0.9rem;
}
.pricing-features li::before { content: '✓ '; color: var(--cyan); }

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.toggle-switch {
    width: 56px;
    height: 30px;
    background: rgba(255,255,255,0.1);
    border-radius: 999px;
    position: relative;
    cursor: pointer;
    border: 1px solid var(--border-glass);
}

.toggle-switch.active { background: rgba(139, 92, 246, 0.4); }

.toggle-knob {
    width: 24px;
    height: 24px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 3px;
    transition: transform 0.3s;
}

.toggle-switch.active .toggle-knob { transform: translateX(24px); }

.cta-section {
    text-align: center;
    padding: 5rem 0;
    background: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.1), transparent 70%);
}

.cta-section h2 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    margin-bottom: 1rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.site-footer {
    border-top: 1px solid var(--border-glass);
    padding: 4rem 1.5rem 2rem;
    margin-top: 4rem;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
}

.footer-brand p { color: var(--text-secondary); font-size: 0.9rem; margin-top: 1rem; }
.footer-grid h4 { margin: 0 0 1rem; font-size: 0.95rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 0.5rem; color: var(--text-secondary); font-size: 0.9rem; }
.footer-grid a:hover { color: var(--text-primary); }
.footer-bottom {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid var(--border-glass);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.form-page {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem;
}

.form-card {
    width: 100%;
    max-width: 440px;
    padding: 2.5rem;
}

.form-card h1 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    margin: 0 0 0.5rem;
}

.form-card .subtitle { color: var(--text-secondary); margin-bottom: 2rem; }

.form-group { margin-bottom: 1.25rem; }
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: 10px;
    border: 1px solid var(--border-glass);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: var(--purple);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
}

textarea.form-control { min-height: 120px; resize: vertical; }

.alert {
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.alert-success { background: rgba(6, 182, 212, 0.15); border: 1px solid rgba(6, 182, 212, 0.3); }
.alert-error { background: rgba(239, 68, 68, 0.15); border: 1px solid rgba(239, 68, 68, 0.3); }

.dashboard-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

.dashboard-sidebar { padding: 1.5rem; height: fit-content; position: sticky; top: 90px; }
.sidebar-user { display: flex; gap: 1rem; align-items: center; margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border-glass); }
.avatar-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}
.sidebar-user span { display: block; color: var(--text-secondary); font-size: 0.85rem; }
.sidebar-nav { display: flex; flex-direction: column; gap: 0.25rem; }
.sidebar-link {
    padding: 0.75rem 1rem;
    border-radius: 10px;
    color: var(--text-secondary);
    transition: all 0.2s;
}
.sidebar-link:hover, .sidebar-link.active {
    background: rgba(139, 92, 246, 0.15);
    color: var(--text-primary);
}
.admin-link { color: var(--gold) !important; }

.dashboard-content h1 { font-family: var(--font-display); margin: 0 0 0.5rem; }
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}
.stat-card { padding: 1.25rem; }
.stat-card .value { font-size: 1.75rem; font-weight: 800; font-family: var(--font-display); color: var(--cyan); }
.stat-card .label { color: var(--text-secondary); font-size: 0.85rem; }

.wizard-steps {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.wizard-step {
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: 0.85rem;
    background: rgba(255,255,255,0.05);
    color: var(--text-secondary);
    border: 1px solid var(--border-glass);
}

.wizard-step.active {
    background: rgba(139, 92, 246, 0.2);
    color: var(--text-primary);
    border-color: var(--purple);
}

.wizard-panel { display: none; }
.wizard-panel.active { display: block; }

.option-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
}

.option-card {
    padding: 1.25rem;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
}

.option-card.selected {
    border-color: var(--purple);
    background: rgba(139, 92, 246, 0.1);
}

.option-card .emoji { font-size: 2rem; display: block; margin-bottom: 0.5rem; }

.builder-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 2rem;
}

.preview-card { padding: 1.5rem; position: sticky; top: 90px; }
.preview-card h3 { margin-top: 0; }

.filter-bar {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.filter-btn {
    padding: 0.5rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--border-glass);
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.2s;
}

.filter-btn.active, .filter-btn:hover {
    background: rgba(139, 92, 246, 0.2);
    color: var(--text-primary);
    border-color: var(--purple);
}

.search-box {
    flex: 1;
    min-width: 200px;
    max-width: 360px;
}

.results-grid { margin-top: 2rem; }

.simulation-results { margin-top: 2rem; }
.result-block {
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.result-block h3 { margin: 0 0 1rem; color: var(--cyan); }
.result-block ul { margin: 0; padding-left: 1.25rem; color: var(--text-secondary); }

.admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.chart-placeholder {
    height: 200px;
    background: linear-gradient(180deg, rgba(139,92,246,0.2), transparent);
    border-radius: var(--radius);
    display: flex;
    align-items: flex-end;
    padding: 1rem;
    gap: 0.5rem;
}

.chart-bar {
    flex: 1;
    background: var(--gradient-main);
    border-radius: 4px 4px 0 0;
    min-height: 20px;
}

.faq-item {
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.faq-item h4 { margin: 0 0 0.5rem; }
.faq-item p { margin: 0; color: var(--text-secondary); }

.page-hero {
    padding: 4rem 0 2rem;
    text-align: center;
}

.page-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    margin: 0 0 1rem;
}

.page-hero p {
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.twin-types {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.twin-type {
    padding: 1.25rem;
    text-align: center;
}

.twin-type .emoji { font-size: 2rem; display: block; margin-bottom: 0.5rem; }

.twin-builder-form { padding: 1.75rem; }
.twin-step-block { margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border-glass); }
.twin-step-block:last-of-type { border-bottom: none; }
.twin-step-block h3 { margin: 0 0 1rem; font-size: 1.05rem; }
.twin-help { color: var(--text-secondary); font-size: 0.9rem; margin: -0.35rem 0 1rem; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 700px) { .form-row-2 { grid-template-columns: 1fr; } }

.media-upload-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.85rem;
}
@media (max-width: 900px) { .media-upload-grid { grid-template-columns: 1fr; } }

.media-drop {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1.15rem;
    border-radius: 14px;
    border: 1px dashed rgba(139, 92, 246, 0.45);
    background: rgba(139, 92, 246, 0.06);
    cursor: pointer;
    transition: border-color 0.25s, background 0.25s, transform 0.25s;
}
.media-drop:hover,
.media-drop.is-dragover {
    border-color: var(--cyan);
    background: rgba(6, 182, 212, 0.08);
    transform: translateY(-2px);
}
.media-drop.has-files {
    border-style: solid;
    border-color: rgba(6, 182, 212, 0.5);
}
.media-drop-icon { font-size: 1.5rem; }
.media-drop strong { color: var(--text-primary); font-size: 0.95rem; }
.media-drop span { color: var(--text-secondary); font-size: 0.78rem; line-height: 1.35; }
.media-drop em { color: var(--cyan); font-style: normal; font-size: 0.8rem; margin-top: 0.35rem; }

.chip-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.life-chip {
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    border: 1px solid var(--border-glass);
    background: rgba(255,255,255,0.04);
    color: var(--text-secondary);
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.life-chip:hover {
    border-color: rgba(6, 182, 212, 0.45);
    color: var(--text-primary);
}

.life-chip.active {
    background: rgba(6, 182, 212, 0.18);
    border-color: rgba(6, 182, 212, 0.65);
    color: var(--text-primary);
    box-shadow: 0 0 18px rgba(6, 182, 212, 0.2);
}

.media-preview-panels { margin-top: 1rem; display: grid; gap: 1rem; }
.media-preview-panel h4 { margin: 0 0 0.65rem; font-size: 0.9rem; color: var(--text-secondary); }
.media-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
    gap: 0.6rem;
}
.media-thumb {
    position: relative;
    aspect-ratio: 1;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-glass);
    background: #0a0a1a;
}
.media-thumb img,
.media-thumb video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.media-thumb-remove {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 22px;
    height: 22px;
    border: none;
    border-radius: 50%;
    background: rgba(0,0,0,0.7);
    color: #fff;
    cursor: pointer;
    font-size: 0.75rem;
    line-height: 1;
}
.media-audio-list { display: grid; gap: 0.55rem; }
.media-audio-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.8rem;
    border-radius: 10px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border-glass);
}
.media-audio-item audio { flex: 1; min-width: 0; height: 32px; }
.media-audio-item span { font-size: 0.78rem; color: var(--text-secondary); max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.consent-check {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    margin-bottom: 0.85rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    cursor: pointer;
}
.consent-check input { margin-top: 0.25rem; accent-color: var(--cyan); }
.twin-form-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.5rem; }
.twin-status {
    margin-top: 1rem;
    padding: 0.85rem 1rem;
    border-radius: 10px;
    background: rgba(6, 182, 212, 0.12);
    border: 1px solid rgba(6, 182, 212, 0.35);
    color: var(--text-primary);
    font-size: 0.9rem;
}

.twin-live-preview { padding: 1.5rem; position: sticky; top: 5.5rem; }
.twin-preview-empty { text-align: center; color: var(--text-secondary); }
.twin-preview-avatar {
    width: 96px;
    height: 96px;
    margin: 0 auto 1rem;
    font-size: 2rem;
    background-size: cover;
    background-position: center;
    border: 2px solid rgba(6, 182, 212, 0.45);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.35);
}
.twin-preview-meta { color: var(--text-secondary); font-size: 0.88rem; margin: 0.35rem 0; }
.twin-preview-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 1rem 0; justify-content: center; }
.twin-preview-tag {
    font-size: 0.72rem;
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    background: rgba(139, 92, 246, 0.18);
    border: 1px solid rgba(139, 92, 246, 0.35);
}
.twin-readiness { margin-top: 1.25rem; }
.readiness-bar {
    height: 8px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    overflow: hidden;
    margin-bottom: 0.5rem;
}
.readiness-bar span {
    display: block;
    height: 100%;
    background: var(--gradient-main);
    border-radius: 999px;
    transition: width 0.35s ease;
}
.twin-readiness p { margin: 0; font-size: 0.82rem; color: var(--text-secondary); }

.saved-twin-card { overflow: hidden; }
.saved-twin-cover {
    height: 120px;
    background: linear-gradient(135deg, #4c1d95, #06b6d4);
    background-size: cover;
    background-position: center;
    position: relative;
}
.saved-twin-body { padding: 1.1rem 1.25rem 1.35rem; }
.saved-twin-body h3 { margin: 0 0 0.4rem; font-size: 1.05rem; }
.saved-twin-body p { margin: 0 0 0.85rem; color: var(--text-secondary); font-size: 0.88rem; }

.parallel-life {
    padding: 1.25rem;
    text-align: center;
}

.parallel-life h4 { margin: 0.5rem 0 0; }

.monetization-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}

.monetization-item {
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.monetization-item .icon { font-size: 1.5rem; }

.event-card { padding: 1.5rem; }
.event-card .date { color: var(--cyan); font-size: 0.85rem; font-weight: 600; }
.event-card h3 { margin: 0.5rem 0; }
.event-card p { color: var(--text-secondary); font-size: 0.9rem; }
.event-card .access { display: inline-block; margin: 0.75rem 0 1rem; }

.events-hero .eyebrow {
    color: var(--cyan);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.events-hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    margin-top: 1.25rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}
.events-hero-stats strong { color: var(--text); }
.events-featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
}
.event-feature-card {
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
}
.event-feature-media {
    min-height: 160px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.event-feature-media .tag {
    position: absolute;
    left: 0.75rem;
    bottom: 0.75rem;
    background: rgba(0, 0, 0, 0.55);
}
.event-feature-body { padding: 1.1rem 1.25rem 1.35rem; }
.event-feature-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 0.75rem;
    flex-wrap: wrap;
}
.event-venue {
    font-size: 0.8rem !important;
    color: var(--cyan) !important;
    opacity: 0.85;
    margin: 0.35rem 0 0 !important;
}
.events-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    align-items: center;
}
.events-filter-btn {
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-secondary);
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.events-filter-btn:hover,
.events-filter-btn.is-active {
    background: rgba(0, 212, 255, 0.15);
    border-color: rgba(0, 212, 255, 0.45);
    color: var(--text);
}
.events-filter-sep {
    width: 1px;
    height: 1.25rem;
    background: rgba(255, 255, 255, 0.15);
    margin: 0 0.25rem;
}
.event-card-rich { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.event-card-media {
    min-height: 140px;
    background-size: cover;
    background-position: center;
}
.event-card-body { padding: 1.15rem 1.25rem 1.35rem; display: flex; flex-direction: column; gap: 0.35rem; flex: 1; }
.event-card-body .btn { margin-top: auto; align-self: flex-start; }
.event-card-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.events-empty { color: var(--text-secondary); text-align: center; padding: 2rem; }
.events-vibe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 0.85rem;
}
.events-vibe-card {
    min-height: 120px;
    border: none;
    border-radius: 14px;
    background-size: cover;
    background-position: center;
    position: relative;
    cursor: pointer;
    text-align: left;
    padding: 1rem;
    overflow: hidden;
    color: #fff;
}
.events-vibe-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 20%, rgba(0, 0, 0, 0.75) 100%);
}
.events-vibe-label,
.events-vibe-desc {
    position: relative;
    z-index: 1;
    display: block;
}
.events-vibe-label { font-weight: 700; font-size: 1rem; }
.events-vibe-desc { font-size: 0.75rem; opacity: 0.85; margin-top: 0.25rem; }
.section-head { margin-bottom: 1.25rem; }
.section-head h2 { margin: 0 0 0.35rem; }
.section-head p { margin: 0; color: var(--text-secondary); font-size: 0.95rem; }

.fx-controls-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 0.85rem;
}
.fx-chip {
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-secondary);
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    font-size: 0.75rem;
    cursor: pointer;
}
.fx-chip.is-active,
.fx-chip:hover {
    border-color: rgba(0, 212, 255, 0.45);
    color: var(--text);
    background: rgba(0, 212, 255, 0.12);
}
.portal-fx-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.85;
}
body:not(.fx-particles) .portal-fx-canvas { opacity: 0; }
body.fx-glow .portal-stage { box-shadow: 0 0 48px rgba(6, 182, 212, 0.35); }
body:not(.fx-pulse) .experience-enter-rings { animation: none; }
.portal-spark-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    opacity: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.35) 0 1px, transparent 2px),
        radial-gradient(circle at 70% 60%, rgba(120,220,255,0.45) 0 1px, transparent 2px),
        radial-gradient(circle at 40% 80%, rgba(255,180,255,0.35) 0 1px, transparent 2px);
    background-size: 180px 180px;
    animation: sparkDrift 8s linear infinite;
}
.portal-spark-layer.is-on { opacity: 0.7; }
@keyframes sparkDrift {
    to { background-position: 180px 120px, -120px 80px, 60px -100px; }
}
.experience-sound-dock { margin-top: 1.5rem; }
.star-concert-hero {
    position: relative;
    min-height: 280px;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    margin-bottom: 1.25rem;
}
.star-concert-hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(5, 8, 20, 0.88) 15%, rgba(5, 8, 20, 0.35) 70%);
}
.star-concert-hero-copy {
    position: relative;
    z-index: 1;
    padding: 1.75rem;
    max-width: 640px;
}
.star-concert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}
.star-inspired { font-size: 0.9rem; color: var(--text-secondary); }
.star-twin-card.is-selected { outline: 1px solid rgba(0, 212, 255, 0.5); }
.mood-live-cta { margin-top: 0.85rem; display: inline-flex; }
.mood-preview.is-live { transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease; }
.mood-preview.is-live { box-shadow: 0 0 28px rgba(6, 182, 212, 0.18); }

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

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

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

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

@keyframes pulse-glow {
    0%, 100% { opacity: 1; filter: drop-shadow(0 0 8px rgba(6, 182, 212, 0.5)); }
    50% { opacity: 0.8; filter: drop-shadow(0 0 16px rgba(139, 92, 246, 0.8)); }
}

@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-visual { min-height: 300px; order: -1; }
    .hero-stage {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        padding-top: 1rem;
    }
    .hero-copy { order: 0; max-width: none; }
    .hero-universe { order: 1; min-height: min(62vw, 420px); max-width: 420px; }
    .hero-copy h1 { font-size: clamp(1.75rem, 7vw, 2.4rem); }
    .hero-lead { font-size: 1rem; margin-bottom: 1.5rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .dashboard-layout { grid-template-columns: 1fr; }
    .dashboard-sidebar { position: static; }
    .builder-layout { grid-template-columns: 1fr; }
    .preview-card { position: static; }
}

@media (max-width: 768px) {
    .mobile-menu-btn { display: flex; }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(7, 7, 20, 0.98);
        padding: 1.5rem;
        border-bottom: 1px solid var(--border-glass);
    }
    .nav-links.open { display: flex; }
    .footer-grid { grid-template-columns: 1fr; }
    .immersive-controls-row { grid-template-columns: 1fr; }
    .life-mode-grid { grid-template-columns: 1fr 1fr; }
}

/* ===== IMMERSIVE EXPERIENCE LAYER ===== */

.has-particles .particles {
    background:
        radial-gradient(circle at 20% 20%, rgba(139, 92, 246, 0.18), transparent 42%),
        radial-gradient(circle at 80% 30%, rgba(6, 182, 212, 0.14), transparent 38%),
        radial-gradient(circle at 50% 80%, rgba(59, 130, 246, 0.12), transparent 48%);
}

.galaxy-canvas {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.6;
}

.cinematic-section {
    position: relative;
    overflow: hidden;
}

.cinematic-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.08), transparent 65%);
    pointer-events: none;
}

.immersive-card {
    transform-style: preserve-3d;
    perspective: 1000px;
}

.immersive-card:hover {
    transform: translateY(-8px) rotateX(2deg) rotateY(-2deg);
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.25), 0 0 40px rgba(6, 182, 212, 0.15);
}

.world-card:hover .world-card-visual,
.experience-card:hover .experience-visual {
    filter: brightness(1.15);
}

.pricing-card:hover {
    transform: translateY(-10px) scale(1.02);
}

.glow-hover:hover {
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.5);
}

.btn-glow {
    animation: btnPulse 2.5s ease-in-out infinite;
}

@keyframes btnPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4); }
    50% { box-shadow: 0 4px 40px rgba(6, 182, 212, 0.6); }
}

.float-slow { animation: float 5s ease-in-out infinite; }
.float-medium { animation: float 3.5s ease-in-out infinite; }

.hero-cinematic {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding: 5.5rem 0 3.5rem;
    overflow: hidden;
}

.hero-atmosphere {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.hero-nebula {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.55;
    animation: nebulaDrift 14s ease-in-out infinite;
}

.hero-nebula-a {
    width: min(55vw, 520px);
    height: min(55vw, 520px);
    top: 8%;
    left: 50%;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(139, 92, 246, 0.45), transparent 70%);
}

.hero-nebula-b {
    width: min(40vw, 380px);
    height: min(40vw, 380px);
    bottom: 12%;
    right: 8%;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.35), transparent 70%);
    animation-delay: -5s;
}

.hero-horizon {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 28%;
    background:
        linear-gradient(to top, rgba(7, 7, 20, 0.95), transparent),
        linear-gradient(to top, rgba(59, 130, 246, 0.12), transparent 60%);
    clip-path: polygon(0 100%, 4% 72%, 9% 88%, 14% 64%, 19% 80%, 24% 58%, 30% 74%, 36% 52%, 42% 78%, 48% 48%, 54% 70%, 60% 44%, 66% 68%, 72% 50%, 78% 76%, 84% 56%, 90% 82%, 96% 62%, 100% 88%, 100% 100%);
    opacity: 0.85;
}

@keyframes nebulaDrift {
    0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.5; }
    50% { transform: translateX(-48%) scale(1.08); opacity: 0.7; }
}

.hero-nebula-b {
    animation-name: nebulaDriftAlt;
}

@keyframes nebulaDriftAlt {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.45; }
    50% { transform: translate(-12px, -18px) scale(1.1); opacity: 0.65; }
}

.hero-stage {
    position: relative;
    z-index: 1;
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 2rem 2.5rem;
    align-items: start;
    padding-top: 0.5rem;
}

.hero-universe {
    position: relative;
    aspect-ratio: 1;
    width: min(100%, 520px);
    margin: 0 auto;
    isolation: isolate;
}

.hero-scanlines {
    position: absolute;
    inset: 8%;
    border-radius: 50%;
    opacity: 0.22;
    background-image:
        repeating-linear-gradient(
            -32deg,
            transparent 0 14px,
            rgba(139, 92, 246, 0.18) 14px 15px
        ),
        repeating-linear-gradient(
            58deg,
            transparent 0 18px,
            rgba(6, 182, 212, 0.12) 18px 19px
        );
    mask-image: radial-gradient(circle, black 35%, transparent 78%);
    animation: neuralShift 22s linear infinite;
    pointer-events: none;
}

.hero-orbits {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.orbit-path {
    fill: none;
    stroke-width: 1;
    stroke-dasharray: 4 10;
}

.orbit-path-a {
    stroke: rgba(6, 182, 212, 0.35);
    animation: orbitDash 28s linear infinite;
}

.orbit-path-b {
    stroke: rgba(139, 92, 246, 0.45);
    animation: orbitDash 40s linear infinite reverse;
}

.orbit-path-c {
    stroke: rgba(59, 130, 246, 0.25);
    animation: orbitDash 52s linear infinite;
}

@keyframes orbitDash {
    to { stroke-dashoffset: -280; }
}

.hero-core {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 42%;
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    display: grid;
    place-items: center;
    text-align: center;
    z-index: 2;
}

.hero-core-ring,
.hero-core-ring-delay {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1.5px solid rgba(6, 182, 212, 0.55);
    box-shadow:
        0 0 40px rgba(139, 92, 246, 0.35),
        inset 0 0 36px rgba(6, 182, 212, 0.18);
    animation: portalPulse 4.5s ease-in-out infinite;
}

.hero-core-ring-delay {
    inset: -12%;
    border-color: rgba(139, 92, 246, 0.35);
    box-shadow: none;
    animation-delay: -1.4s;
    opacity: 0.7;
}

.hero-core-mark {
    position: relative;
    z-index: 1;
    font-size: clamp(2.4rem, 6vw, 3.4rem);
    color: var(--cyan);
    line-height: 1;
    filter: drop-shadow(0 0 18px rgba(6, 182, 212, 0.65));
    animation: pulse-glow 3.5s ease-in-out infinite;
}

.hero-core-brand {
    position: absolute;
    bottom: 18%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    font-family: var(--font-display);
    font-size: clamp(0.65rem, 1.6vw, 0.85rem);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(248, 250, 252, 0.92);
    white-space: nowrap;
}

.hero-sat {
    position: absolute;
    z-index: 3;
    width: clamp(72px, 18%, 92px);
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    text-decoration: none;
    color: var(--text-primary);
    border-radius: 50%;
    background:
        radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.12), transparent 45%),
        rgba(13, 13, 36, 0.72);
    border: 1px solid rgba(139, 92, 246, 0.35);
    box-shadow: 0 0 0 0 rgba(6, 182, 212, 0);
    backdrop-filter: blur(10px);
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
    animation: satFloat 5.5s ease-in-out infinite;
}

.hero-sat-glow {
    position: absolute;
    inset: -30%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.28), transparent 70%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.hero-sat-icon {
    position: relative;
    font-size: 1.35rem;
    line-height: 1;
    color: var(--cyan);
}

.hero-sat-label {
    position: relative;
    font-family: var(--font-display);
    font-size: 0.58rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.hero-sat:hover,
.hero-sat:focus-visible,
.hero-sat.is-active {
    transform: scale(1.08);
    border-color: rgba(6, 182, 212, 0.75);
    box-shadow: 0 0 28px rgba(6, 182, 212, 0.35);
    outline: none;
}

.hero-sat:hover .hero-sat-glow,
.hero-sat:focus-visible .hero-sat-glow,
.hero-sat.is-active .hero-sat-glow {
    opacity: 1;
}

.hero-sat:hover .hero-sat-label,
.hero-sat:focus-visible .hero-sat-label,
.hero-sat.is-active .hero-sat-label {
    color: var(--text-primary);
}

.hero-sat-1 { top: 6%; left: 14%; animation-delay: 0s; }
.hero-sat-2 { top: 12%; right: 8%; animation-delay: -1.2s; }
.hero-sat-3 { bottom: 16%; left: 4%; animation-delay: -2.4s; }
.hero-sat-4 { bottom: 8%; right: 12%; animation-delay: -0.8s; }
.hero-sat-5 { top: 42%; left: -2%; animation-delay: -1.8s; }

@keyframes satFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero-universe.is-tilting .hero-core {
    transition: transform 0.2s ease-out;
}

.hero-copy {
    max-width: 560px;
    justify-self: start;
    align-self: start;
    text-align: left;
    padding-top: 0.35rem;
}

.hero-kicker {
    margin: 0 0 0.85rem;
    font-family: var(--font-display);
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--cyan);
}

.hero-copy h1 {
    margin-bottom: 1.1rem;
}

.hero-lead {
    margin-bottom: 1.75rem;
}

.hero-scene {
    position: relative;
    min-height: 480px;
}

.floating-world {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: var(--shadow-glow);
    animation: float 6s ease-in-out infinite;
}

.floating-world.fw-1 { top: 5%; left: 10%; animation-delay: 0s; }
.floating-world.fw-2 { top: 15%; right: 5%; animation-delay: 1s; }
.floating-world.fw-3 { bottom: 20%; left: 0; animation-delay: 2s; }
.floating-world.fw-4 { bottom: 5%; right: 15%; animation-delay: 0.5s; }

.digital-portal {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 2px solid rgba(139, 92, 246, 0.5);
    box-shadow: 0 0 60px rgba(139, 92, 246, 0.4), inset 0 0 40px rgba(6, 182, 212, 0.2);
    animation: portalPulse 4s ease-in-out infinite;
}

.digital-portal::before {
    content: '◈';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--cyan);
}

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

.hero-core-ring {
    transform: none;
}

.hero-core .hero-core-ring,
.hero-core .hero-core-ring-delay {
    animation-name: corePulse;
}

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

.neural-lines {
    position: absolute;
    inset: 0;
    opacity: 0.3;
    background-image:
        linear-gradient(45deg, transparent 48%, rgba(139, 92, 246, 0.3) 49%, rgba(139, 92, 246, 0.3) 51%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, rgba(6, 182, 212, 0.2) 49%, rgba(6, 182, 212, 0.2) 51%, transparent 52%);
    background-size: 60px 60px;
    animation: neuralShift 20s linear infinite;
}

@keyframes neuralShift {
    from { background-position: 0 0; }
    to { background-position: 60px 60px; }
}

.city-skyline {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, rgba(59, 130, 246, 0.15), transparent);
    clip-path: polygon(0 100%, 5% 60%, 10% 80%, 15% 50%, 20% 70%, 25% 40%, 30% 65%, 35% 45%, 40% 75%, 45% 35%, 50% 60%, 55% 30%, 60% 55%, 65% 40%, 70% 70%, 75% 45%, 80% 65%, 85% 50%, 90% 75%, 95% 55%, 100% 80%, 100% 100%);
}

.timeline-strip {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 1rem 0;
}

.timeline-node {
    flex: 0 0 140px;
    padding: 1rem;
    text-align: center;
    border-left: 2px solid var(--purple);
    animation: fadeInUp 0.6s ease forwards;
}

.universe-statement {
    text-align: center;
    padding: 6rem 0;
    background: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.12), transparent 70%);
}

.universe-statement h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.universe-statement p {
    max-width: 720px;
    margin: 0 auto;
    color: var(--text-secondary);
    font-size: 1.15rem;
    line-height: 1.8;
}

.immersive-controls-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 3rem 0;
}

.sound-controls { padding: 1.5rem; }
.sound-controls-header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.sound-controls-header h4 { margin: 0; }
.sound-note { font-size: 0.75rem; color: var(--text-secondary); }
.sound-controls-row { display: flex; gap: 0.75rem; margin-bottom: 1rem; flex-wrap: wrap; }
.sound-mood-grid { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.sound-mood-btn, .mood-btn {
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    border: 1px solid var(--border-glass);
    background: rgba(255,255,255,0.04);
    color: var(--text-secondary);
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.25s;
}
.sound-mood-btn.active, .sound-mood-btn:hover,
.mood-btn.active, .mood-btn:hover {
    background: rgba(139, 92, 246, 0.25);
    border-color: var(--purple);
    color: var(--text-primary);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

.music-visualizer {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 48px;
    opacity: 0.4;
    transition: opacity 0.3s;
}
.music-visualizer.active { opacity: 1; }
.viz-bar {
    flex: 1;
    background: var(--gradient-main);
    border-radius: 2px;
    height: 20%;
    animation: vizPulse 1s ease-in-out infinite;
    animation-delay: calc(var(--i) * 0.08s);
}
@keyframes vizPulse {
    0%, 100% { height: 20%; }
    50% { height: calc(20% + 60% * (0.5 + 0.5 * sin(var(--i)))); }
}

.mood-selector { padding: 1.5rem; }
.mood-desc { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 1rem; }
.mood-grid { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.mood-preview {
    padding: 1.5rem;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    transition: all 0.5s ease;
}
.mood-preview-glow {
    position: absolute;
    inset: -50%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.3), transparent 60%);
    animation: float 8s ease-in-out infinite;
    pointer-events: none;
}
.mood-preview h5,
.mood-preview p,
.mood-preview .mood-live-cta {
    position: relative;
    z-index: 2;
    margin: 0;
}
.mood-preview p { color: var(--text-secondary); font-size: 0.9rem; margin-top: 0.5rem; }
.mood-live-cta { pointer-events: auto; }

.experience-card { overflow: hidden; }
.experience-card .btn { position: relative; z-index: 2; }

.experience-enter {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 2.5rem;
    align-items: center;
    padding: 3rem 0 4rem;
}
@media (max-width: 900px) {
    .experience-enter { grid-template-columns: 1fr; gap: 1.5rem; }
}

.experience-enter-visual {
    position: relative;
    min-height: 320px;
    border-radius: 24px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid var(--border-glass);
    box-shadow: var(--shadow-glow);
}

.experience-enter-icon {
    position: relative;
    z-index: 2;
    font-size: 4.5rem;
    filter: drop-shadow(0 0 24px rgba(6, 182, 212, 0.45));
    animation: float 5s ease-in-out infinite;
}

.experience-enter-rings {
    position: absolute;
    inset: 18%;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.25);
    box-shadow: 0 0 0 28px rgba(255,255,255,0.05), inset 0 0 40px rgba(0,0,0,0.2);
    animation: portalPulse 4s ease-in-out infinite;
}

.experience-enter-copy h1 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    margin: 0 0 1rem;
}

.experience-enter-copy > p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 560px;
}

.experience-enter-list {
    margin: 1.25rem 0 0;
    padding-left: 1.1rem;
    color: var(--text-secondary);
    columns: 2;
    gap: 1.5rem;
}
@media (max-width: 700px) {
    .experience-enter-list { columns: 1; }
}
.experience-enter-list li { margin-bottom: 0.45rem; }
.experience-visual {
    height: 160px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.experience-visual.has-image {
    height: 190px;
}
.experience-visual-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.experience-visual-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(7,7,20,0.75), rgba(7,7,20,0.15) 55%, transparent);
    z-index: 1;
}
.experience-visual.has-image .experience-icon {
    font-size: 2.2rem;
    opacity: 0.95;
    text-shadow: 0 8px 24px rgba(0,0,0,0.55);
}
.experience-enter-visual.has-image .experience-enter-icon {
    font-size: 3.2rem;
}
.experience-enter-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(7,7,20,0.7), rgba(7,7,20,0.25) 50%, rgba(7,7,20,0.35));
    z-index: 1;
}
.experience-enter-visual.has-image .experience-enter-rings,
.experience-enter-visual.has-image .experience-enter-icon {
    z-index: 2;
}
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.experience-icon { font-size: 3rem; z-index: 2; }
.experience-body { padding: 1.5rem; }
.experience-body h3 { margin: 0 0 0.75rem; }
.experience-body > p { color: var(--text-secondary); font-size: 0.95rem; }
.experience-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.35rem;
}
.experience-list li {
    font-size: 0.82rem;
    color: var(--text-secondary);
    padding-left: 1rem;
    position: relative;
}
.experience-list li::before { content: '◆'; position: absolute; left: 0; color: var(--cyan); font-size: 0.5rem; top: 0.35rem; }
.legal-note { font-size: 0.78rem; color: var(--gold); font-style: italic; margin: 0.75rem 0; }
.safety-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 1rem 0; }
.safety-tag {
    font-size: 0.7rem;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    background: rgba(6, 182, 212, 0.12);
    border: 1px solid rgba(6, 182, 212, 0.3);
    color: var(--cyan);
}

.portal-glow::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.15), transparent 60%);
    animation: portalPulse 3s ease-in-out infinite;
}

.breathing-circle {
    position: absolute;
    width: 80px;
    height: 80px;
    border: 2px solid rgba(251, 191, 36, 0.5);
    border-radius: 50%;
    animation: breathe 4s ease-in-out infinite;
}
@keyframes breathe {
    0%, 100% { transform: scale(0.8); opacity: 0.5; }
    50% { transform: scale(1.3); opacity: 1; }
}

.music-notes {
    position: absolute;
    font-size: 1.5rem;
    color: rgba(255,255,255,0.6);
    animation: float 3s ease-in-out infinite;
    letter-spacing: 1rem;
}

.compatibility-orbit {
    position: absolute;
    width: 100px;
    height: 100px;
    border: 1px dashed rgba(139, 92, 246, 0.5);
    border-radius: 50%;
    animation: spin 15s linear infinite;
}
.compatibility-orbit span {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--cyan);
}
.compatibility-orbit span:first-child { top: 0; left: 50%; transform: translateX(-50%); }
.compatibility-orbit span:last-child { bottom: 0; left: 50%; transform: translateX(-50%); }

.knowledge-nodes {
    position: absolute;
    width: 120px;
    height: 80px;
}
.knowledge-nodes span {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--blue);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--blue);
    animation: nodePulse 2s ease-in-out infinite;
}
.knowledge-nodes span:nth-child(1) { top: 10%; left: 20%; animation-delay: 0s; }
.knowledge-nodes span:nth-child(2) { top: 50%; left: 60%; animation-delay: 0.5s; }
.knowledge-nodes span:nth-child(3) { bottom: 10%; left: 30%; animation-delay: 1s; }
@keyframes nodePulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.5); opacity: 1; }
}

.revenue-graph-mini {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 50px;
    width: 80px;
}
.revenue-graph-mini span {
    flex: 1;
    background: var(--gradient-main);
    border-radius: 2px 2px 0 0;
    animation: graphGrow 2s ease-out forwards;
}
@keyframes graphGrow {
    from { height: 0 !important; }
}

.life-mode-section { padding: 5rem 0; }
.life-mode-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}
.life-mode-btn {
    padding: 1.25rem;
    text-align: left;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s;
}
.life-mode-btn.selected {
    border-color: var(--purple);
    background: rgba(139, 92, 246, 0.12);
    box-shadow: var(--shadow-glow);
}
.life-mode-btn .emoji { font-size: 1.75rem; display: block; margin-bottom: 0.5rem; }
.life-mode-path {
    margin-top: 2rem;
    padding: 2rem;
    display: none;
}
.life-mode-path.visible { display: block; animation: fadeInUp 0.5s ease; }

.demo-section { background: rgba(0,0,0,0.2); }
.demo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.5rem;
}
.demo-card { padding: 1.5rem; }
.demo-card h3 { margin: 0 0 0.5rem; display: flex; align-items: center; gap: 0.5rem; }
.demo-input {
    width: 100%;
    padding: 0.75rem;
    border-radius: 10px;
    border: 1px solid var(--border-glass);
    background: rgba(0,0,0,0.3);
    color: var(--text-primary);
    font-size: 0.85rem;
    margin: 1rem 0;
    font-family: inherit;
}
.demo-output {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 10px;
    background: rgba(139, 92, 246, 0.08);
    border: 1px solid rgba(139, 92, 246, 0.2);
    font-size: 0.85rem;
    display: none;
}
.demo-output.visible { display: block; animation: fadeInUp 0.4s ease; }
.demo-output dl { margin: 0; }
.demo-output dt { color: var(--cyan); font-weight: 600; margin-top: 0.5rem; }
.demo-output dd { color: var(--text-secondary); margin: 0.25rem 0 0 0; }

.differentiation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}
.diff-point {
    padding: 1.25rem;
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}
.diff-point::before {
    content: '◈';
    color: var(--cyan);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.privacy-section {
    background: linear-gradient(180deg, transparent, rgba(6, 182, 212, 0.05));
}
.privacy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
}
.privacy-item {
    padding: 1.25rem;
    border-left: 3px solid var(--cyan);
}

.holographic-card {
    background: linear-gradient(135deg, rgba(139,92,246,0.1), rgba(6,182,212,0.1));
    border: 1px solid rgba(139, 92, 246, 0.3);
    position: relative;
    overflow: hidden;
}
.holographic-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.03) 50%, transparent 60%);
    animation: holoShine 6s linear infinite;
}
@keyframes holoShine {
    from { transform: translateX(-30%) rotate(0deg); }
    to { transform: translateX(30%) rotate(0deg); }
}

.dashboard-widget {
    padding: 1.25rem;
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}
.dashboard-widget:nth-child(1) { animation-delay: 0.05s; }
.dashboard-widget:nth-child(2) { animation-delay: 0.1s; }
.dashboard-widget:nth-child(3) { animation-delay: 0.15s; }
.dashboard-widget:nth-child(4) { animation-delay: 0.2s; }
.dashboard-widget:nth-child(5) { animation-delay: 0.25s; }
.dashboard-widget:nth-child(6) { animation-delay: 0.3s; }
.dashboard-widgets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}
.widget-label { font-size: 0.75rem; color: var(--cyan); text-transform: uppercase; letter-spacing: 0.05em; }
.widget-value { font-size: 1.1rem; font-weight: 600; margin: 0.5rem 0; }
.widget-meta { font-size: 0.85rem; color: var(--text-secondary); }

.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.experience-page-hero {
    padding: 5rem 0 3rem;
    text-align: center;
    position: relative;
}
.experience-page-hero .hero-visual-mini {
    height: 200px;
    margin: 2rem auto 0;
    max-width: 600px;
    position: relative;
}

.wizard-panels-wrap {
    position: relative;
    min-height: 320px;
}

.wizard-panel {
    display: none;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.wizard-panel.active {
    display: block;
    opacity: 1;
    transform: none;
    position: relative;
    pointer-events: auto;
}

.wizard-summary {
    display: none;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-glass);
}

.wizard-summary.visible {
    display: block;
    animation: fadeInUp 0.5s ease forwards;
}

.wizard-summary .world-result-card {
    padding: 2rem;
}

.wizard-summary .world-result-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.stat-card { animation: fadeInUp 0.5s ease forwards; }

/* After Dark */
.age-gate {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: grid;
    place-items: center;
    padding: 1.5rem;
    background: rgba(4, 4, 14, 0.92);
    backdrop-filter: blur(12px);
}
.age-gate[hidden] { display: none !important; }
.age-gate-card {
    max-width: 460px;
    width: 100%;
    padding: 2rem;
    text-align: center;
}
.age-gate-card h2 {
    font-family: var(--font-display);
    margin: 0 0 0.75rem;
}
.age-gate-card p {
    color: var(--text-secondary);
    margin: 0 0 1.5rem;
}
.after-dark-page .after-dark-hero h1 {
    background: linear-gradient(135deg, #f472b6, #a78bfa, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.after-dark-safety {
    padding: 1.5rem;
    border-color: rgba(244, 114, 182, 0.35);
}
.after-dark-note {
    margin: 1rem 0 0;
    color: var(--text-secondary);
    font-size: 0.88rem;
}
.after-dark-card .world-badge {
    background: rgba(244, 114, 182, 0.35);
}

.license-panel { padding: 1.5rem; }
.license-steps {
    margin: 0.75rem 0 0;
    padding-left: 1.2rem;
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.55;
}
.license-steps li { margin-bottom: 0.45rem; }
.license-steps strong { color: var(--text-primary); }

.empty-twins {
    padding: 1.5rem;
    text-align: center;
    margin-bottom: 1rem;
}
.empty-twins h3 { margin: 0 0 0.5rem; }
.empty-twins p { color: var(--text-secondary); margin: 0 0 1rem; }

.ambiance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.85rem;
    margin-bottom: 1.5rem;
}
.ambiance-grid-rich {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}
.ambiance-card {
    padding: 0;
    overflow: hidden;
    text-align: left;
    cursor: pointer;
    border: 1px solid var(--border-glass);
    background: transparent;
    color: inherit;
}
.ambiance-card img {
    width: 100%;
    height: 110px;
    object-fit: cover;
    display: block;
}
.ambiance-card span,
.ambiance-card small {
    display: block;
    padding: 0.55rem 0.75rem 0;
}
.ambiance-card small {
    padding-bottom: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.72rem;
}
.ambiance-card.is-selected {
    border-color: rgba(6, 182, 212, 0.65);
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.2);
}

.companion-fallback {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    font-size: 3rem;
    background: linear-gradient(135deg, #4c1d95, #06b6d4);
}
.fantasy-stage-badge {
    position: absolute;
    left: 0.75rem;
    bottom: 0.75rem;
    z-index: 2;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: rgba(0,0,0,0.65);
    font-size: 0.72rem;
    color: #e2e8f0;
}
.fantasy-stage-media img[data-fantasy-image] {
    width: 42%;
    height: auto;
    max-height: 70%;
    object-fit: cover;
    border-radius: 16px;
    border: 2px solid rgba(244, 114, 182, 0.55);
    box-shadow: 0 12px 40px rgba(0,0,0,0.45);
    top: 50%;
    left: 50%;
    right: auto;
    bottom: auto;
    transform: translate(-50%, -50%);
    opacity: 1;
    z-index: 2;
}

.experience-enter-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(7,7,20,0.55), transparent 50%);
    z-index: 1;
}
.enter-twin-portrait {
    position: absolute;
    z-index: 3;
    width: min(42%, 220px);
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: 18px;
    border: 2px solid rgba(244, 114, 182, 0.7);
    box-shadow: 0 16px 50px rgba(0,0,0,0.45);
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
.enter-live-panel {
    padding: 1.15rem 1.25rem;
    margin: 1.25rem 0 1.5rem;
}
.enter-live-panel h3 { margin: 0 0 0.5rem; font-size: 1rem; }
.enter-live-panel p { margin: 0 0 0.75rem; color: var(--text-secondary); font-size: 0.9rem; }
.enter-live-panel ul { margin: 0; padding-left: 1.1rem; color: var(--text-secondary); font-size: 0.88rem; }

.fantasy-role-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}
.fantasy-role-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    min-width: 7rem;
}
.companion-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
    margin: 1.25rem 0 1.75rem;
}
.companion-card {
    overflow: hidden;
    border: 1px solid var(--border-glass);
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.companion-card.is-selected {
    border-color: rgba(244, 114, 182, 0.65);
    box-shadow: 0 0 28px rgba(244, 114, 182, 0.25);
    transform: translateY(-3px);
}
.companion-media {
    position: relative;
    height: 220px;
    overflow: hidden;
}
.companion-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.companion-vibe {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    background: rgba(0,0,0,0.55);
    font-size: 0.72rem;
}
.companion-play {
    position: absolute;
    right: 0.75rem;
    bottom: 0.75rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(244, 114, 182, 0.9);
    color: #fff;
    cursor: pointer;
}
.companion-body { padding: 1rem 1.1rem 1.2rem; }
.companion-body h3 { margin: 0 0 0.35rem; font-size: 1.05rem; }
.companion-body p { color: var(--text-secondary); font-size: 0.88rem; margin: 0 0 0.75rem; }

.fantasy-stage {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 0;
    overflow: hidden;
}
@media (max-width: 900px) {
    .fantasy-stage { grid-template-columns: 1fr; }
}
.fantasy-stage-media {
    position: relative;
    min-height: 320px;
    background: #050510;
}
.fantasy-stage-media video,
.fantasy-stage-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.fantasy-stage-media img { opacity: 0.35; }
.fantasy-stage-copy { padding: 1.5rem; }
.fantasy-stage-copy h3 { margin: 0 0 0.5rem; font-size: 1.4rem; }

.fantasy-live { padding: 2rem 0 4rem; }
.fantasy-live-frame {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    overflow: hidden;
}
@media (max-width: 900px) {
    .fantasy-live-frame { grid-template-columns: 1fr; }
}
.fantasy-live-visual {
    position: relative;
    min-height: 420px;
    background: #050510;
}
.fantasy-live-visual video,
.fantasy-live-visual img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.fantasy-live-side { padding: 1.5rem; }
.fantasy-live-side h1 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin: 0 0 0.75rem;
}
.fantasy-live-script { color: var(--text-secondary); margin: 0; }
.fantasy-chat-log {
    margin-top: 1.25rem;
    display: grid;
    gap: 0.65rem;
    max-height: 220px;
    overflow: auto;
}
.fantasy-chat-row {
    padding: 0.7rem 0.85rem;
    border-radius: 10px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border-glass);
}
.fantasy-chat-row strong {
    display: block;
    font-size: 0.78rem;
    color: var(--cyan);
    margin-bottom: 0.2rem;
}
.fantasy-chat-row span { font-size: 0.9rem; color: var(--text-secondary); }

/* Night clubs — live experience */
.club-zone-count {
    color: var(--text-secondary);
    font-size: 0.82rem;
    margin: 0 0 0.85rem;
}
.club-live-page .club-live {
    padding-bottom: 3rem;
}
.club-live-stage {
    position: relative;
    min-height: min(72vh, 640px);
    overflow: hidden;
    background: #050510;
}
.club-live-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.club-live-veil {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(5,5,16,0.15) 0%, rgba(5,5,16,0.55) 55%, rgba(5,5,16,0.92) 100%),
        radial-gradient(ellipse at 30% 20%, rgba(180,40,90,0.25), transparent 50%);
    pointer-events: none;
}
.club-twin-overlay {
    position: absolute;
    right: 6%;
    bottom: 12%;
    width: min(220px, 32vw);
    height: auto;
    max-height: 55%;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 20px 50px rgba(0,0,0,0.55);
    z-index: 2;
    opacity: 0.92;
}
.club-live-hud {
    position: absolute;
    inset: auto 0 0 0;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-end;
    padding: 1.5rem clamp(1rem, 4vw, 2.5rem) 1.75rem;
}
.club-live-hud h1 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin: 0.2rem 0 0.35rem;
}
.club-live-hud p { margin: 0; color: var(--text-secondary); max-width: 42ch; }
.club-sound-hint {
    margin: 0.75rem 0 0;
    color: #fff;
    font-size: 0.9rem;
    text-shadow: 0 2px 12px rgba(0,0,0,0.8);
}
.club-sound-hint strong { color: var(--cyan); }
.club-live-stage:fullscreen,
.club-live-stage:-webkit-full-screen {
    width: 100vw;
    height: 100vh;
    min-height: 100vh;
    border-radius: 0;
    background: #050510;
}
.club-live-stage:fullscreen .club-live-video,
.club-live-stage:-webkit-full-screen .club-live-video {
    object-fit: cover;
}
.club-live-stage:fullscreen .club-live-hud,
.club-live-stage:-webkit-full-screen .club-live-hud {
    padding: 1.5rem 2rem 2rem;
}
body.club-is-fullscreen .site-header,
body.club-is-fullscreen .site-footer,
body.club-is-fullscreen .club-live-panel {
    display: none !important;
}
body.club-is-fullscreen .home-fab {
    display: inline-flex;
    z-index: 10060;
}
body.club-is-fullscreen .club-live-stage {
    position: fixed;
    inset: 0;
    z-index: 9999;
    min-height: 100vh;
    height: 100vh;
    border-radius: 0;
}
.club-live-panel {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 1rem;
    margin-top: -1.5rem;
    position: relative;
    z-index: 4;
}
@media (max-width: 900px) {
    .club-live-panel { grid-template-columns: 1fr; }
    .club-live-hud { flex-direction: column; align-items: flex-start; }
}
.club-zones h3,
.club-soundtrack h3,
.club-twin-cast h3,
.club-acts h3 { margin: 0 0 0.75rem; }
.club-zone-grid,
.club-track-list,
.club-act-grid {
    display: grid;
    gap: 0.55rem;
}
.club-zone-btn,
.club-track-btn,
.club-act-btn {
    text-align: left;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 0.75rem 0.9rem;
    color: inherit;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.club-zone-btn strong,
.club-track-btn strong,
.club-act-btn strong {
    display: block;
    margin-bottom: 0.2rem;
}
.club-zone-btn span,
.club-track-btn span,
.club-act-btn span {
    display: block;
    font-size: 0.82rem;
    color: var(--text-secondary);
}
.club-zone-btn:hover,
.club-track-btn:hover,
.club-act-btn:hover,
.club-zone-btn.is-active,
.club-track-btn.is-active,
.club-act-btn.is-active {
    border-color: rgba(120, 200, 255, 0.45);
    background: rgba(80, 140, 255, 0.12);
}
.club-youtube-wrap {
    margin-top: 0.85rem;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
}
.club-youtube-wrap iframe {
    width: 100%;
    height: 100%;
    border: 0;
}
.club-live.is-zone-pulse .club-live-veil {
    animation: clubPulse 0.7s ease;
}
@keyframes clubPulse {
    0%, 100% { filter: brightness(1); }
    40% { filter: brightness(1.35) saturate(1.2); }
}
.club-twin-cast {
    grid-column: 1 / -1;
}
.club-acts {
    grid-column: 1 / -1;
}
.ambiance-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
    background: #12122a;
}

@media (max-width: 768px) {
    .experience-list { grid-template-columns: 1fr; }
    .demo-grid { grid-template-columns: 1fr; }
}

.intimacy-stage { padding: 0; overflow: hidden; margin-bottom: 1.5rem; }
.intimacy-stage-media {
    position: relative;
    min-height: 360px;
    background: #0a0612;
}
.intimacy-video {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}
.intimacy-twin-overlay {
    position: absolute;
    right: 1.25rem;
    bottom: 1.25rem;
    width: min(28vw, 180px);
    height: auto;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.25);
    box-shadow: 0 12px 40px rgba(0,0,0,0.45);
    z-index: 3;
}
.intimacy-stage-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(8,4,16,0.88) 12%, rgba(8,4,16,0.25) 65%);
    pointer-events: none;
    z-index: 1;
}
.intimacy-stage-meta {
    position: absolute;
    left: 1.25rem;
    bottom: 1.25rem;
    right: 35%;
    z-index: 2;
    max-width: 520px;
}
.intimacy-stage-meta h2 { margin: 0.35rem 0; }
.intimacy-look { color: var(--cyan); font-size: 0.9rem; }
.intimacy-scene-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0.85rem 1.1rem 1.1rem; }
.intimacy-star-card.is-selected,
.intimacy-scene-card.is-selected { outline: 1px solid rgba(236, 72, 153, 0.55); }
a.intimacy-scene-card { color: inherit; text-decoration: none; display: block; }
.intimacy-scene-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
}
.intimacy-scene-card { overflow: hidden; padding: 0; }
.intimacy-scene-preview {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}
.intimacy-scene-body { padding: 1rem 1.1rem 1.2rem; }
.intimacy-scene-body h3 { margin: 0 0 0.35rem; }
.intimacy-scene-body p { margin: 0; color: var(--text-secondary); font-size: 0.9rem; }
