/* ====================================
   OnlyBrains Styles | 3D Edition
   ==================================== */

:root {
    --primary: #8b5cf6;
    --secondary: #a78bfa;
    --accent: #f59e0b;
    --dark: #0a0a1a;
    --light: #1a1a2e;
    --text: #ffffff;
    --text-light: #9ca3af;
    --golden: #f59e0b;
    --brain: #8b5cf6;
    --money: #10b981;
    --bg-dark: #0a0a1a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, sans-serif;
    background: var(--dark);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
}

/* ====================================
   3D Canvas
   ==================================== */

#brain-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* ====================================
   Dock Sidebars (West/East)
   ==================================== */

.dock-sidebar {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.dock-sidebar-title {
    color: var(--brain);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
}

.dock-sidebar-link {
    color: #d1d5db;
    text-decoration: none;
    font-size: 0.85rem;
    padding: 0.4rem 0.6rem;
    border-radius: 6px;
    transition: all 0.2s;
    white-space: nowrap;
}

.dock-sidebar-link:hover {
    background: rgba(139, 92, 246, 0.2);
    color: white;
}

.dock-sidebar-link.active {
    background: var(--brain);
    color: white;
}

/* ====================================
   North Dock (Header/Nav)
   ==================================== */

#dock-north .dock-content {
    gap: 0.75rem;
    flex-wrap: wrap;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
}

#main-nav {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.nav-link {
    color: #d1d5db;
    text-decoration: none;
    font-weight: 500;
    padding: 0.4rem 0.75rem;
    border-radius: 6px;
    transition: all 0.2s;
    font-size: 0.85rem;
    white-space: nowrap;
}

.nav-link:hover {
    background: rgba(139, 92, 246, 0.2);
    color: white;
}

.nav-link.active {
    background: var(--brain);
    color: white;
}

/* Nav Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(10, 10, 26, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 8px;
    padding: 0.5rem;
    min-width: 180px;
    z-index: 2000;
    flex-direction: column;
    gap: 0.25rem;
    margin-top: 0.25rem;
}

.nav-dropdown:hover .nav-dropdown-menu {
    display: flex;
}

.nav-dropdown-menu .nav-link {
    display: block;
    width: 100%;
    border-radius: 4px;
    font-size: 0.85rem;
}

.nav-dropdown-menu .nav-link:hover {
    background: rgba(139, 92, 246, 0.3);
}

/* ====================================
   Content (inside dock grid cells)
   ==================================== */

/* Hero Section */
.hero {
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(10, 10, 26, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 12px;
    margin-bottom: 2rem;
}

.hero h2 {
    font-size: 2.5rem;
    color: var(--golden);
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-light);
}

/* Tools Grid */
.quick-tools h3 {
    margin-bottom: 1rem;
    color: var(--text);
}

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

.tool-card {
    background: rgba(10, 10, 26, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(139, 92, 246, 0.3);
    padding: 1.5rem;
    border-radius: 12px;
    transition: transform 0.2s, border-color 0.2s;
}

.tool-card:hover {
    transform: translateY(-4px);
    border-color: var(--golden);
}

.tool-card h4 {
    color: var(--golden);
    margin-bottom: 0.5rem;
}

.tool-card p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Tools List (full page) */
.tools-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.tool-full {
    background: rgba(10, 10, 26, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(139, 92, 246, 0.3);
    padding: 2rem;
    border-radius: 12px;
}

/* ====================================
   South Dock (Footer)
   ==================================== */

#dock-south .dock-content {
    justify-content: space-between;
    color: var(--text-light);
    font-size: 0.85rem;
}

.south-brand {
    font-weight: 600;
    color: var(--brain);
}

.south-stats {
    color: var(--text-light);
    font-size: 0.8rem;
}

.south-route {
    font-family: 'Fira Code', monospace;
    font-size: 0.8rem;
    color: var(--golden);
    background: rgba(245, 158, 11, 0.1);
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
}

/* ====================================
   Utility Classes
   ==================================== */

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    border: none;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--secondary);
}

.btn-accent {
    background: var(--accent);
    color: white;
}

/* Page content */
.page-content {
    background: rgba(10, 10, 26, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(139, 92, 246, 0.3);
    padding: 2rem;
    border-radius: 12px;
}

/* Inside dock grid cells, page-content inherits cell background */
.grid-cell .page-content {
    background: transparent;
    backdrop-filter: none;
    border: none;
    border-radius: 0;
    height: 100%;
    overflow: auto;
}

.grid-cell .tool-full {
    background: transparent;
    border: none;
    border-radius: 0;
    height: 100%;
    overflow: auto;
}

.page-content h2 {
    color: var(--golden);
    margin-bottom: 1rem;
}

/* ====================================
   KONOMI THEME | κ=1/φ (3D Dark)
   ==================================== */

/* Variables already defined at top */

/* Tool Panels */
.tool-panel { padding: 1.5rem; }
.tool-panel h3 { color: var(--brain); margin-bottom: 1rem; }

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-grid label {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.85rem;
    color: var(--text-light);
}

.form-grid input, .form-grid select {
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
}

.form-grid input[type="range"] { padding: 0; }

.result-box {
    background: var(--bg-dark);
    color: white;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
}

.result-box .stat { margin: 0.5rem 0; }
.result-box .stat strong { color: var(--golden); font-size: 1.2rem; }
.result-box .optimal { color: var(--money); }
.result-box .big { font-size: 1.5rem; }

.code-block {
    background: var(--bg-dark);
    color: #4ade80;
    padding: 1rem;
    border-radius: 8px;
    font-family: 'Fira Code', monospace;
    font-size: 0.85rem;
    overflow-x: auto;
    white-space: pre-wrap;
}

.formula { margin-top: 1rem; }
.hint { color: var(--text-light); font-size: 0.85rem; margin-bottom: 1rem; }

/* BPI Breakdown */
.breakdown {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

.breakdown .part {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem;
    background: #f3f4f6;
    border-radius: 4px;
}

.breakdown .weight { color: var(--golden); }
.breakdown .val { font-weight: bold; }

.tier { padding: 0.25rem 0.75rem; border-radius: 4px; display: inline-block; margin-top: 0.5rem; }
.tier.neuron { background: #6b7280; color: white; }
.tier.synapse { background: #3b82f6; color: white; }
.tier.cortex { background: #8b5cf6; color: white; }
.tier.genius { background: var(--golden); color: black; }
.tier.galaxy_brain { background: linear-gradient(135deg, #ec4899, #8b5cf6); color: white; }

/* Forest Simulator */
.controls { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.stats { background: #f3f4f6; padding: 0.75rem; border-radius: 6px; font-family: monospace; font-size: 0.85rem; margin-bottom: 1rem; }
canvas { border-radius: 8px; display: block; width: 100%; max-width: 600px; }
.legend { display: flex; gap: 1rem; margin-top: 0.5rem; font-size: 0.8rem; color: var(--text-light); }

/* Spec Page */
.spec-page section { margin: 2rem 0; }
.spec-page h3 { color: var(--brain); border-bottom: 2px solid var(--golden); padding-bottom: 0.5rem; margin-bottom: 1rem; }
.tagline { color: var(--golden); font-size: 1.1rem; margin-bottom: 1.5rem; }

.spec-table { width: 100%; border-collapse: collapse; }
.spec-table td, .spec-table th { padding: 0.75rem; border: 1px solid #ddd; text-align: left; }
.spec-table th { background: var(--bg-dark); color: white; }

.tag-list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tag { background: var(--brain); color: white; padding: 0.25rem 0.75rem; border-radius: 999px; font-size: 0.85rem; }

.layer-list { padding-left: 1.5rem; }
.layer-list li { padding: 0.5rem 0; border-bottom: 1px solid #eee; }

/* Dashboard */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; margin-bottom: 2rem; }
.stat-card { background: var(--bg-dark); color: white; padding: 1.5rem; border-radius: 12px; text-align: center; }
.stat-card .label { display: block; color: #9ca3af; font-size: 0.85rem; text-transform: uppercase; }
.stat-card .value { display: block; font-size: 2rem; font-weight: bold; color: var(--golden); margin: 0.5rem 0; }
.stat-card .sub { display: block; color: #6b7280; font-size: 0.8rem; }

.tier-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; }
.tier-card { padding: 1rem; border-radius: 8px; text-align: center; background: #f3f4f6; }
.tier-card h4 { margin-bottom: 0.5rem; text-transform: capitalize; }
.tier-card.neuron { border-left: 4px solid #6b7280; }
.tier-card.synapse { border-left: 4px solid #3b82f6; }
.tier-card.cortex { border-left: 4px solid #8b5cf6; }
.tier-card.genius { border-left: 4px solid var(--golden); }
.tier-card.galaxy_brain { border-left: 4px solid #ec4899; }

.action-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; }
.action-btn { display: block; padding: 1rem; background: var(--brain); color: white; text-decoration: none; border-radius: 8px; text-align: center; transition: transform 0.2s; }
.action-btn:hover { transform: translateY(-2px); }

/* Filter Bar */
.filter-bar { display: flex; gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.filter-bar select { padding: 0.5rem 1rem; border: 1px solid #ddd; border-radius: 6px; font-size: 0.9rem; }

/* Creators Page */
.creator-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.5rem; }
.creator-card { background: #f8f9fa; padding: 1.5rem; border-radius: 12px; border-left: 4px solid var(--brain); }
.creator-card .handle { font-size: 1.2rem; font-weight: bold; color: var(--brain); }
.creator-card .domain-tag { display: inline-block; background: var(--primary); color: white; padding: 0.2rem 0.6rem; border-radius: 999px; font-size: 0.75rem; margin: 0.5rem 0; }
.creator-card .stats-row { display: flex; gap: 1rem; font-size: 0.85rem; color: var(--text-light); margin: 0.5rem 0; }
.creator-card.galaxy_brain { border-color: #ec4899; }
.creator-card.genius { border-color: var(--golden); }
.creator-card.cortex { border-color: #8b5cf6; }

/* Leaderboard */
.leaderboard-tabs { display: flex; gap: 0.5rem; margin-bottom: 1.5rem; }
.leaderboard-tabs .tab { padding: 0.5rem 1rem; border: 1px solid #ddd; background: white; border-radius: 6px; cursor: pointer; }
.leaderboard-tabs .tab.active { background: var(--brain); color: white; border-color: var(--brain); }
.leaderboard { display: flex; flex-direction: column; gap: 0.5rem; }
.leader-row { display: flex; align-items: center; gap: 1rem; padding: 1rem; background: #f8f9fa; border-radius: 8px; }
.leader-row.top3 { background: linear-gradient(90deg, rgba(245,158,11,0.1), transparent); }
.leader-row .rank { font-weight: bold; width: 40px; color: var(--golden); }
.leader-row .handle { font-weight: 500; flex: 1; }
.leader-row .metric { font-size: 0.85rem; color: var(--text-light); }
.leader-row .kappa { font-family: monospace; }
.leader-row .kappa.optimal { color: var(--money); font-weight: bold; }
.golden-note { margin-top: 1rem; text-align: center; color: var(--golden); font-size: 0.9rem; }

/* Content Page */
.content-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.content-card { background: white; border: 1px solid #eee; border-radius: 12px; padding: 1.5rem; position: relative; }
.content-card .type-icon { font-size: 2rem; margin-bottom: 0.5rem; }
.content-card h4 { margin-bottom: 0.75rem; }
.content-card .meta { display: flex; gap: 0.5rem; margin-bottom: 1rem; }
.content-card .tier-tag { font-size: 0.7rem; padding: 0.2rem 0.5rem; border-radius: 4px; background: #e5e7eb; }
.content-card .tier-tag.brain_whale { background: var(--golden); color: black; }
.content-card .tier-tag.brain_lover { background: var(--brain); color: white; }
.content-card .content-footer { display: flex; justify-content: space-between; font-size: 0.85rem; }
.content-card .creator { color: var(--brain); }
.content-card .price { font-weight: bold; color: var(--money); }
.content-card .kappa { position: absolute; top: 1rem; right: 1rem; font-size: 0.75rem; color: var(--text-light); }

/* Subscribe/Pricing Page */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; margin: 2rem 0; }
.pricing-card { background: white; border: 2px solid #eee; border-radius: 16px; padding: 2rem; text-align: center; transition: transform 0.2s; }
.pricing-card:hover { transform: translateY(-4px); }
.pricing-card.brain_whale { border-color: var(--golden); }
.pricing-card .tier-icon { font-size: 3rem; }
.pricing-card h3 { text-transform: capitalize; margin: 0.5rem 0; }
.pricing-card .price { font-size: 2rem; font-weight: bold; color: var(--brain); }
.pricing-card .price span { font-size: 1rem; color: var(--text-light); }
.pricing-card .access-list { list-style: none; text-align: left; margin: 1.5rem 0; padding: 0; }
.pricing-card .access-list li { padding: 0.5rem 0; border-bottom: 1px solid #eee; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; }
.feature { text-align: center; padding: 1.5rem; }
.feature span { font-size: 2rem; }
.feature h4 { margin: 0.5rem 0; }
.feature p { font-size: 0.85rem; color: var(--text-light); }

/* Earnings Page */
.stat-card.highlight { background: linear-gradient(135deg, var(--brain), var(--golden)); }
.breakdown-bars { display: flex; flex-direction: column; gap: 1rem; }
.bar-row { display: flex; align-items: center; gap: 1rem; }
.bar-row span:first-child { width: 100px; font-size: 0.9rem; }
.bar-row .bar { height: 24px; background: var(--brain); border-radius: 4px; min-width: 20px; }
.bar-row .bar.purchase { background: var(--golden); }
.bar-row .bar.tips { background: var(--money); }
.spec-table tr.current { background: rgba(139, 92, 246, 0.1); }

/* Tier Badges */
.tier-badge { font-size: 0.75rem; padding: 0.25rem 0.75rem; border-radius: 999px; text-transform: capitalize; }
.tier-badge.neuron { background: #6b7280; color: white; }
.tier-badge.synapse { background: #3b82f6; color: white; }
.tier-badge.cortex { background: #8b5cf6; color: white; }
.tier-badge.genius { background: var(--golden); color: black; }
.tier-badge.galaxy_brain { background: linear-gradient(135deg, #ec4899, #8b5cf6); color: white; }

/* Construction Banner */
.construction-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  margin-bottom: 1.5rem;
  border-radius: 8px;
  background: linear-gradient(90deg, #1a1a2e, #2d2d44);
  border: 1px dashed #4b5563;
  font-size: 0.9rem;
}
.construction-banner.building { border-color: #6b7280; }
.construction-banner.alpha { border-color: #8b5cf6; background: linear-gradient(90deg, #1a1a2e, #2d1f4e); }
.construction-banner.beta { border-color: #f59e0b; background: linear-gradient(90deg, #1a1a2e, #3d2f1a); }
.construction-banner .status-icon { font-size: 1.2rem; }
.construction-banner .status-label { color: #9ca3af; font-weight: 500; }

/* Neuron Animation */
.neuron-animation { display: flex; align-items: center; gap: 0; }
.neuron {
  color: #8b5cf6;
  font-size: 0.5rem;
  animation: pulse 1.5s ease-in-out infinite;
}
.neuron.n1 { animation-delay: 0s; }
.neuron.n2 { animation-delay: 0.3s; }
.neuron.n3 { animation-delay: 0.6s; }
.synapse {
  width: 20px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #8b5cf6, transparent);
  animation: fire 1.5s ease-in-out infinite;
}
.synapse:nth-child(2) { animation-delay: 0.15s; }
.synapse:nth-child(4) { animation-delay: 0.45s; }

@keyframes pulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.5); }
}
@keyframes fire {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 1; }
}

/* ====================================
   3D COMPONENT STYLES
   ==================================== */

/* 3D Stat Cards */
.stat-grid-3d {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.stat-card-3d {
  position: relative;
  background: rgba(26, 26, 46, 0.9);
  border: 1px solid rgba(139, 92, 246, 0.3);
  padding: 2rem;
  border-radius: 16px;
  text-align: center;
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
}

.stat-card-3d:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: var(--golden);
}

.stat-card-3d .stat-orb {
  position: absolute;
  top: -30px;
  right: -30px;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.3), transparent);
  border-radius: 50%;
}

.stat-card-3d .glow-ring {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--brain), transparent);
}

.stat-card-3d.golden .stat-orb { background: radial-gradient(circle, rgba(245, 158, 11, 0.3), transparent); }
.stat-card-3d.golden .glow-ring { background: linear-gradient(90deg, transparent, var(--golden), transparent); }
.stat-card-3d.green .stat-orb { background: radial-gradient(circle, rgba(74, 222, 128, 0.3), transparent); }
.stat-card-3d.green .glow-ring { background: linear-gradient(90deg, transparent, #4ade80, transparent); }
.stat-card-3d.purple .stat-orb { background: radial-gradient(circle, rgba(139, 92, 246, 0.4), transparent); }

.stat-card-3d .label {
  display: block;
  color: #9ca3af;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat-card-3d .value {
  display: block;
  font-size: 2.2rem;
  font-weight: bold;
  color: var(--golden);
  margin: 0.5rem 0;
  font-family: 'Fira Code', monospace;
}

.stat-card-3d .sub {
  display: block;
  color: #6b7280;
  font-size: 0.8rem;
}

/* 3D Creator Cards */
.creators-grid-3d {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.creator-card-3d {
  position: relative;
  background: rgba(26, 26, 46, 0.9);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 16px;
  padding: 1.5rem;
  transition: all 0.3s;
  overflow: hidden;
}

.creator-card-3d:hover {
  transform: translateY(-6px);
  border-color: var(--tier-color, var(--brain));
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.creator-card-3d.optimal {
  border-color: var(--golden);
  box-shadow: 0 0 30px rgba(245, 158, 11, 0.2);
}

.creator-avatar-3d {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem;
}

.avatar-orb {
  position: absolute;
  inset: -5px;
  background: conic-gradient(from 0deg, var(--tier-color, var(--brain)), transparent, var(--tier-color, var(--brain)));
  border-radius: 50%;
  animation: spin-slow 8s linear infinite;
}

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

.avatar-inner {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

.creator-info-3d h4 {
  color: white;
  margin-bottom: 0.25rem;
}

.creator-handle {
  color: var(--brain);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.creator-meta-3d {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin: 0.75rem 0;
}

.domain-tag-3d {
  background: rgba(139, 92, 246, 0.2);
  color: var(--brain);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
}

.tier-badge-3d {
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  text-transform: capitalize;
}

.tier-badge-3d.neuron { background: #6b7280; color: white; }
.tier-badge-3d.synapse { background: #3b82f6; color: white; }
.tier-badge-3d.cortex { background: #8b5cf6; color: white; }
.tier-badge-3d.genius { background: var(--golden); color: black; }
.tier-badge-3d.galaxy_brain { background: linear-gradient(135deg, #ec4899, #8b5cf6); color: white; }

.creator-stats-3d {
  display: flex;
  justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(139, 92, 246, 0.2);
  font-size: 0.85rem;
  color: #9ca3af;
}

.kappa-badge-3d {
  font-family: 'Fira Code', monospace;
  font-size: 0.8rem;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}

.optimal-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--golden);
  color: black;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: bold;
}

/* 3D Leaderboard */
.leaderboard-3d .leaderboard-tabs-3d {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.tab-3d {
  padding: 0.6rem 1.2rem;
  background: rgba(26, 26, 46, 0.9);
  border: 1px solid rgba(139, 92, 246, 0.3);
  color: #9ca3af;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.tab-3d:hover {
  border-color: var(--brain);
  color: white;
}

.tab-3d.active {
  background: var(--brain);
  border-color: var(--brain);
  color: white;
}

.podium-3d {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 2rem;
  height: 200px;
}

.podium-place {
  background: rgba(26, 26, 46, 0.9);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 12px 12px 0 0;
  padding: 1rem;
  text-align: center;
  width: 150px;
  transition: transform 0.3s;
}

.podium-place:hover {
  transform: translateY(-5px);
}

.podium-place.first {
  height: 180px;
  border-color: var(--golden);
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.2), rgba(26, 26, 46, 0.9));
}

.podium-place.second {
  height: 140px;
  border-color: #9ca3af;
  background: linear-gradient(180deg, rgba(156, 163, 175, 0.15), rgba(26, 26, 46, 0.9));
}

.podium-place.third {
  height: 110px;
  border-color: #cd7f32;
  background: linear-gradient(180deg, rgba(205, 127, 50, 0.15), rgba(26, 26, 46, 0.9));
}

.podium-avatar { font-size: 2rem; margin-bottom: 0.5rem; }
.podium-handle { font-size: 0.85rem; color: white; margin-bottom: 0.25rem; }
.podium-stat { font-family: 'Fira Code', monospace; font-size: 0.8rem; }
.podium-medal { font-size: 1.5rem; margin-top: 0.5rem; }

.leader-row-3d {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(26, 26, 46, 0.9);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 8px;
  margin-bottom: 0.5rem;
  transition: all 0.2s;
}

.leader-row-3d:hover {
  border-color: var(--brain);
  transform: translateX(5px);
}

.leader-row-3d.top3 {
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.1), rgba(26, 26, 46, 0.9));
}

.leader-row-3d.optimal {
  border-color: var(--golden);
}

.rank-3d {
  font-weight: bold;
  width: 40px;
  color: var(--golden);
}

.avatar-small { font-size: 1.5rem; }

.leader-row-3d .handle {
  flex: 1;
  color: white;
}

.leader-row-3d .metric {
  font-size: 0.85rem;
  color: #9ca3af;
}

.kappa-val {
  font-family: 'Fira Code', monospace;
  font-size: 0.85rem;
}

.optimal-star {
  color: var(--golden);
  font-size: 1.2rem;
}

.golden-target {
  margin-top: 2rem;
  text-align: center;
  padding: 1.5rem;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid var(--golden);
  border-radius: 12px;
}

.golden-target .target-label {
  display: block;
  color: #9ca3af;
  font-size: 0.85rem;
  text-transform: uppercase;
}

.golden-target .target-value {
  display: block;
  font-size: 2rem;
  font-weight: bold;
  color: var(--golden);
  font-family: 'Fira Code', monospace;
  margin: 0.5rem 0;
}

.golden-target .target-desc {
  color: #6b7280;
  font-size: 0.85rem;
}

/* 3D Content Cards */
.content-3d .filter-bar-3d {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.filter-bar-3d select {
  padding: 0.6rem 1rem;
  background: rgba(26, 26, 46, 0.9);
  border: 1px solid rgba(139, 92, 246, 0.3);
  color: white;
  border-radius: 8px;
  font-size: 0.9rem;
  cursor: pointer;
}

.filter-bar-3d select:focus {
  outline: none;
  border-color: var(--brain);
}

.content-grid-3d {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.content-card-3d {
  background: rgba(26, 26, 46, 0.9);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 16px;
  padding: 1.5rem;
  transition: all 0.3s;
}

.content-card-3d:hover {
  transform: translateY(-4px);
  border-color: var(--brain);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.content-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.type-icon-3d {
  font-size: 2rem;
}

.kappa-badge {
  font-family: 'Fira Code', monospace;
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}

.content-card-3d h4 {
  color: white;
  margin-bottom: 0.75rem;
}

.content-meta-3d {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.tier-tag-3d {
  font-size: 0.7rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  background: rgba(139, 92, 246, 0.2);
  color: var(--brain);
  text-transform: capitalize;
}

.tier-tag-3d.brain_whale { background: rgba(245, 158, 11, 0.2); color: var(--golden); }
.tier-tag-3d.brain_lover { background: rgba(236, 72, 153, 0.2); color: #ec4899; }
.tier-tag-3d.brain_fan { background: rgba(139, 92, 246, 0.2); color: var(--brain); }
.tier-tag-3d.free { background: rgba(156, 163, 175, 0.2); color: #9ca3af; }

.content-footer-3d {
  display: flex;
  justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(139, 92, 246, 0.2);
  font-size: 0.85rem;
}

.content-footer-3d .creator {
  color: var(--brain);
}

.price-3d {
  color: #4ade80;
  font-weight: bold;
}

/* 3D Subscribe Page */
.subscribe-3d .pricing-grid-3d {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.pricing-card-3d {
  position: relative;
  background: rgba(26, 26, 46, 0.9);
  border: 2px solid rgba(139, 92, 246, 0.3);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s;
  overflow: hidden;
}

.pricing-card-3d:hover {
  transform: translateY(-8px);
  border-color: var(--tier-color);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.pricing-card-3d.popular {
  border-color: #ec4899;
  transform: scale(1.05);
}

.pricing-card-3d.popular:hover {
  transform: scale(1.05) translateY(-8px);
}

.popular-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #ec4899, #8b5cf6);
  color: white;
  padding: 0.3rem 1rem;
  font-size: 0.75rem;
  font-weight: bold;
  border-radius: 0 0 8px 8px;
}

.tier-orb-3d {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto 1.5rem;
}

.tier-icon-3d {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.orb-glow {
  position: absolute;
  inset: -10px;
  background: radial-gradient(circle, var(--tier-color, var(--brain))20, transparent);
  border-radius: 50%;
  animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

.pricing-card-3d h3 {
  color: white;
  text-transform: capitalize;
  margin-bottom: 0.5rem;
}

.price-3d .free {
  font-size: 2rem;
  color: #9ca3af;
}

.price-3d .amount {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--tier-color, var(--brain));
}

.price-3d .period {
  color: #6b7280;
  font-size: 1rem;
}

.tier-tagline {
  color: #9ca3af;
  font-size: 0.9rem;
  margin: 0.5rem 0 1rem;
}

.access-list-3d {
  list-style: none;
  text-align: left;
  margin: 1.5rem 0;
}

.access-list-3d li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(139, 92, 246, 0.1);
  color: #d1d5db;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.access-list-3d .check {
  color: #4ade80;
}

.btn-3d {
  width: 100%;
  padding: 0.85rem 1.5rem;
  background: var(--brain);
  border: none;
  border-radius: 10px;
  color: white;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-3d:hover {
  background: var(--secondary);
  transform: translateY(-2px);
}

.btn-3d.golden {
  background: linear-gradient(135deg, var(--golden), #fbbf24);
  color: black;
}

.features-section-3d {
  margin-top: 3rem;
}

.features-section-3d h3 {
  text-align: center;
  color: white;
  margin-bottom: 1.5rem;
}

.features-grid-3d {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.feature-card-3d {
  background: rgba(26, 26, 46, 0.9);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.2s;
}

.feature-card-3d:hover {
  border-color: var(--brain);
  transform: translateY(-3px);
}

.feature-icon-3d {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.feature-card-3d h4 {
  color: white;
  margin-bottom: 0.5rem;
}

.feature-card-3d p {
  color: #9ca3af;
  font-size: 0.85rem;
}

.golden-guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
  padding: 1rem;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid var(--golden);
  border-radius: 8px;
  color: var(--golden);
  font-size: 0.9rem;
}

/* 3D Earnings Page */
.earnings-3d .stat-grid-3d.earnings {
  grid-template-columns: repeat(3, 1fr);
}

.stat-card-3d.highlight {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(245, 158, 11, 0.3));
  border-color: var(--golden);
}

.breakdown-section-3d {
  margin: 2rem 0;
}

.breakdown-section-3d h3 {
  color: white;
  margin-bottom: 1rem;
}

.breakdown-bars-3d {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.bar-row-3d {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.bar-label {
  width: 120px;
  color: #9ca3af;
  font-size: 0.9rem;
}

.bar-container {
  flex: 1;
  height: 30px;
  background: rgba(26, 26, 46, 0.9);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 6px;
  overflow: hidden;
}

.bar-3d {
  height: 100%;
  border-radius: 6px;
  position: relative;
  transition: width 0.5s ease-out;
}

.bar-3d.subs { background: linear-gradient(90deg, var(--brain), #a78bfa); }
.bar-3d.purchases { background: linear-gradient(90deg, var(--golden), #fbbf24); }
.bar-3d.tips { background: linear-gradient(90deg, #10b981, #4ade80); }

.bar-glow {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 20px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3));
}

.bar-value {
  width: 80px;
  text-align: right;
  color: white;
  font-weight: bold;
}

.tier-table-section {
  margin: 2rem 0;
}

.tier-table-section h3 {
  color: white;
  margin-bottom: 1rem;
}

.table-3d {
  background: rgba(26, 26, 46, 0.9);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 12px;
  overflow: hidden;
}

.spec-table-3d {
  width: 100%;
  border-collapse: collapse;
}

.spec-table-3d th {
  background: rgba(139, 92, 246, 0.2);
  color: var(--brain);
  padding: 1rem;
  text-align: left;
  font-size: 0.85rem;
  text-transform: uppercase;
}

.spec-table-3d td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(139, 92, 246, 0.1);
  color: #d1d5db;
}

.spec-table-3d tr.current-tier {
  background: rgba(245, 158, 11, 0.1);
}

.spec-table-3d tr.current-tier td {
  color: white;
}

.tier-badge-sm {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  text-transform: capitalize;
}

.tier-badge-sm.neuron { background: #6b728020; color: #9ca3af; }
.tier-badge-sm.synapse { background: #3b82f620; color: #3b82f6; }
.tier-badge-sm.cortex { background: #8b5cf620; color: #8b5cf6; }
.tier-badge-sm.genius { background: #f59e0b20; color: var(--golden); }
.tier-badge-sm.galaxy_brain { background: #ec489920; color: #ec4899; }

.keep-col {
  color: #4ade80 !important;
  font-weight: bold;
}

.kappa-section-3d {
  margin-top: 2rem;
}

.kappa-section-3d h3 {
  color: white;
  margin-bottom: 1rem;
}

.kappa-display-3d {
  background: rgba(26, 26, 46, 0.9);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 16px;
  padding: 1.5rem;
}

.kappa-gauge {
  position: relative;
  height: 20px;
  background: rgba(26, 26, 46, 0.9);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 10px;
  overflow: visible;
  margin-bottom: 1.5rem;
}

.gauge-fill {
  height: 100%;
  background: linear-gradient(90deg, #8b5cf6, var(--kappa-color, #4ade80));
  border-radius: 10px;
}

.gauge-marker {
  position: absolute;
  top: -8px;
  width: 4px;
  height: 36px;
  border-radius: 2px;
  transform: translateX(-50%);
}

.gauge-marker.optimal {
  background: var(--golden);
}

.gauge-marker.current {
  background: var(--kappa-color, #4ade80);
}

.kappa-values {
  display: flex;
  justify-content: space-around;
  margin-bottom: 1rem;
}

.kappa-item {
  text-align: center;
}

.kappa-item .kappa-label {
  display: block;
  color: #9ca3af;
  font-size: 0.8rem;
  margin-bottom: 0.25rem;
}

.kappa-item .kappa-val {
  font-family: 'Fira Code', monospace;
  font-size: 1.1rem;
  font-weight: bold;
}

.kappa-item .kappa-val.golden {
  color: var(--golden);
}

.kappa-status {
  text-align: center;
  padding: 0.75rem;
  border-radius: 8px;
}

.kappa-status.optimal {
  background: rgba(245, 158, 11, 0.1);
  color: var(--golden);
}

.kappa-status.adjust {
  background: rgba(139, 92, 246, 0.1);
  color: var(--brain);
}

/* 3D Spec Page */
.spec-3d .spec-grid-3d {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.spec-card-3d {
  background: rgba(26, 26, 46, 0.9);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.spec-card-3d .card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(139, 92, 246, 0.2);
}

.spec-card-3d .card-icon {
  font-size: 1.5rem;
}

.spec-card-3d h3 {
  color: var(--brain);
  margin: 0;
}

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

.const-item {
  background: rgba(26, 26, 46, 0.9);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 8px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.const-symbol {
  font-size: 1.5rem;
  color: var(--golden);
  font-weight: bold;
}

.const-name {
  font-size: 0.75rem;
  color: #9ca3af;
  text-transform: uppercase;
}

.const-value {
  font-family: 'Fira Code', monospace;
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

.const-value.golden { color: var(--golden); }
.const-value.green { color: #4ade80; }

.formula-3d {
  background: rgba(0, 0, 0, 0.3);
  color: #4ade80;
  padding: 1rem;
  border-radius: 8px;
  font-family: 'Fira Code', monospace;
  font-size: 0.9rem;
  overflow-x: auto;
}

.formula-note {
  color: #9ca3af;
  font-size: 0.85rem;
  margin-top: 0.75rem;
}

.formula-visual {
  margin-top: 1rem;
  height: 40px;
  background: linear-gradient(90deg, rgba(139, 92, 246, 0.2), rgba(245, 158, 11, 0.4) 61.8%, rgba(139, 92, 246, 0.2));
  border-radius: 8px;
  position: relative;
}

.peak-indicator {
  position: absolute;
  left: 61.8%;
  top: 0;
  bottom: 0;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.peak-line {
  width: 2px;
  height: 30px;
  background: var(--golden);
}

.peak-indicator span {
  font-size: 0.7rem;
  color: var(--golden);
}

.tag-cloud-3d {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag-3d {
  background: rgba(139, 92, 246, 0.2);
  color: var(--brain);
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  font-size: 0.85rem;
  transition: all 0.2s;
  animation: tag-in 0.3s ease-out both;
  animation-delay: var(--delay, 0s);
}

@keyframes tag-in {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}

.tag-3d:hover {
  background: var(--brain);
  color: white;
  transform: scale(1.05);
}

.tier-ladder-3d {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ladder-rung {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  background: rgba(26, 26, 46, 0.9);
  border-left: 4px solid;
  border-radius: 0 8px 8px 0;
  transition: transform 0.2s;
}

.ladder-rung:hover {
  transform: translateX(5px);
}

.ladder-rung.neuron { border-color: #6b7280; }
.ladder-rung.synapse { border-color: #3b82f6; }
.ladder-rung.cortex { border-color: #8b5cf6; }
.ladder-rung.genius { border-color: var(--golden); }
.ladder-rung.galaxy_brain { border-color: #ec4899; }

.rung-name {
  font-weight: bold;
  color: white;
  text-transform: capitalize;
}

.rung-min {
  color: #9ca3af;
  font-size: 0.85rem;
}

.rung-fee {
  color: #4ade80;
  font-size: 0.85rem;
  font-weight: bold;
}

.type-grid-3d {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.type-chip-3d {
  background: rgba(26, 26, 46, 0.9);
  border: 1px solid rgba(139, 92, 246, 0.2);
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  font-size: 0.85rem;
  color: #d1d5db;
  transition: all 0.2s;
}

.type-chip-3d:hover {
  border-color: var(--brain);
  color: white;
}

.hierarchy-flow-3d {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem;
}

.hierarchy-flow-3d .node {
  background: rgba(139, 92, 246, 0.2);
  color: var(--brain);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-family: 'Fira Code', monospace;
  font-size: 0.85rem;
}

.hierarchy-flow-3d .arrow {
  color: var(--golden);
  font-weight: bold;
}

.layer-stack-3d {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.layer-3d {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.6rem 1rem;
  background: linear-gradient(90deg, rgba(139, 92, 246, calc(var(--layer) * 0.03)), transparent);
  border-radius: 6px;
  transition: transform 0.2s;
}

.layer-3d:hover {
  transform: translateX(10px);
}

.layer-num {
  width: 24px;
  height: 24px;
  background: var(--brain);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: bold;
}

.layer-name {
  color: #d1d5db;
  font-size: 0.9rem;
}

/* 3D About Page */
.about-3d .about-hero-3d {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.hero-brain {
  position: relative;
  width: 120px;
  height: 120px;
}

.brain-pulse {
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.4), transparent);
  border-radius: 50%;
  animation: pulse-glow 2s ease-in-out infinite;
}

.brain-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

.hero-stats {
  display: flex;
  gap: 2rem;
}

.hero-stat {
  text-align: center;
}

.hero-stat .stat-val {
  display: block;
  font-size: 1.8rem;
  font-weight: bold;
  font-family: 'Fira Code', monospace;
}

.hero-stat .stat-val.golden { color: var(--golden); }
.hero-stat .stat-val.green { color: #4ade80; }
.hero-stat .stat-val.purple { color: var(--brain); }

.hero-stat .stat-label {
  color: #9ca3af;
  font-size: 0.85rem;
}

.about-grid-3d {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.about-card-3d {
  position: relative;
  background: rgba(26, 26, 46, 0.9);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 16px;
  padding: 1.5rem;
  overflow: hidden;
  transition: all 0.3s;
}

.about-card-3d:hover {
  border-color: var(--brain);
  transform: translateY(-4px);
}

.about-card-3d.golden-card {
  border-color: var(--golden);
}

.about-card-3d .card-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--brain), transparent);
}

.about-card-3d.golden-card .card-glow {
  background: linear-gradient(90deg, transparent, var(--golden), transparent);
}

.about-card-3d h3 {
  color: var(--brain);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.about-card-3d .card-icon {
  font-size: 1.3rem;
}

.about-card-3d p {
  color: #d1d5db;
  line-height: 1.7;
}

.formula-display {
  background: rgba(0, 0, 0, 0.3);
  color: var(--golden);
  padding: 1rem;
  border-radius: 8px;
  font-family: 'Fira Code', monospace;
  font-size: 1.2rem;
  text-align: center;
  margin-bottom: 1rem;
}

.economics-list {
  list-style: none;
  padding: 0;
}

.economics-list li {
  padding: 0.5rem 0;
  color: #d1d5db;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  line-height: 1.6;
}

.economics-list .bullet {
  color: var(--golden);
}

.cli-display {
  background: rgba(0, 0, 0, 0.5);
  padding: 0.75rem 1rem;
  border-radius: 6px;
  font-family: 'Fira Code', monospace;
  font-size: 0.85rem;
  margin-top: 1rem;
}

.cli-display .prompt {
  color: #4ade80;
  margin-right: 0.5rem;
}

.about-footer-3d {
  position: relative;
  text-align: center;
  margin-top: 2rem;
  padding: 2rem;
  background: rgba(26, 26, 46, 0.9);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 16px;
  overflow: hidden;
}

.about-footer-3d .footer-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--golden), transparent);
}

.footer-quote {
  font-size: 1.3rem;
  color: var(--golden);
  margin-bottom: 0.5rem;
}

.footer-brand {
  color: #9ca3af;
  font-size: 0.9rem;
}

/* Dashboard 3D Styles */
.dashboard-3d .tier-section,
.dashboard-3d .sub-section,
.dashboard-3d .actions-section {
  margin-top: 2rem;
}

.dashboard-3d h3 {
  color: var(--brain);
  margin-bottom: 1rem;
}

.tier-tree {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.tree-node {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background: rgba(26, 26, 46, 0.9);
  border-left: 4px solid;
  border-radius: 0 8px 8px 0;
  margin-left: calc(var(--level) * 20px);
  transition: transform 0.2s;
}

.tree-node:hover {
  transform: translateX(5px);
}

.tree-node.tier-neuron { border-color: #6b7280; }
.tree-node.tier-synapse { border-color: #3b82f6; }
.tree-node.tier-cortex { border-color: #8b5cf6; }
.tree-node.tier-genius { border-color: var(--golden); }
.tree-node.tier-galaxy_brain { border-color: #ec4899; }

.node-brain {
  width: 30px;
  height: 30px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.5), transparent);
  border-radius: 50%;
}

.node-info {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tier-name {
  color: white;
  font-weight: bold;
  text-transform: capitalize;
}

.tier-fee {
  color: #4ade80;
  font-size: 0.85rem;
}

.tier-min {
  color: #9ca3af;
  font-size: 0.85rem;
}

.sub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.sub-card {
  background: rgba(26, 26, 46, 0.9);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.2s;
}

.sub-card:hover {
  transform: translateY(-4px);
  border-color: var(--brain);
}

.sub-icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.sub-card h4 {
  color: white;
  text-transform: capitalize;
  margin-bottom: 0.25rem;
}

.sub-price {
  color: var(--golden);
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.sub-access {
  color: #9ca3af;
  font-size: 0.8rem;
}

.action-grid-3d {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
}

.action-btn-3d {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.5rem;
  background: rgba(26, 26, 46, 0.9);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 12px;
  color: white;
  text-decoration: none;
  transition: all 0.2s;
}

.action-btn-3d:hover {
  transform: translateY(-4px);
  border-color: var(--golden);
  background: rgba(139, 92, 246, 0.2);
}

.action-icon {
  font-size: 2rem;
}

.forest-hint {
  margin-top: 2rem;
  text-align: center;
  padding: 1.5rem;
  background: rgba(26, 26, 46, 0.9);
  border: 1px dashed rgba(139, 92, 246, 0.3);
  border-radius: 12px;
}

.forest-hint p {
  color: #d1d5db;
  margin: 0.25rem 0;
}

.forest-hint .hint {
  color: #9ca3af;
  font-size: 0.85rem;
}

/* ====================================
   CHAIN / $KONO STYLES
   ==================================== */

/* Chain Tool */
.chain-tool-3d .chain-stats-3d {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.chain-stat {
  background: rgba(26, 26, 46, 0.9);
  border: 1px solid rgba(139, 92, 246, 0.2);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  min-width: 100px;
}

.chain-stat .label {
  font-size: 0.75rem;
  color: #9ca3af;
  text-transform: uppercase;
}

.chain-stat .value {
  font-size: 1.2rem;
  font-weight: bold;
  font-family: 'Fira Code', monospace;
  color: white;
}

.chain-stat .value.green { color: #4ade80; }
.chain-stat .value.orange { color: #f59e0b; }
.chain-stat.optimal { border-color: var(--golden); }

.chain-controls {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.chain-controls select {
  padding: 0.6rem 1rem;
  background: rgba(26, 26, 46, 0.9);
  border: 1px solid rgba(139, 92, 246, 0.3);
  color: white;
  border-radius: 8px;
}

.chain-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.chain-section h4 {
  color: var(--brain);
  margin-bottom: 0.75rem;
}

.blocks-view-3d, .validators-3d {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.block-card-3d {
  background: rgba(26, 26, 46, 0.9);
  border: 1px solid rgba(139, 92, 246, 0.2);
  padding: 0.75rem;
  border-radius: 8px;
}

.block-card-3d .block-hash {
  font-family: 'Fira Code', monospace;
  color: var(--golden);
  font-size: 0.9rem;
}

.block-card-3d .block-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.75rem;
  color: #9ca3af;
  margin-top: 0.25rem;
}

.validator-row-3d {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem;
  background: rgba(26, 26, 46, 0.9);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 8px;
}

.validator-row-3d .v-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.validator-row-3d .v-info {
  flex: 1;
}

.validator-row-3d .v-id {
  font-family: 'Fira Code', monospace;
  font-size: 0.85rem;
  color: white;
}

.validator-row-3d .v-stats {
  font-size: 0.7rem;
  color: #9ca3af;
}

.chain-log {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  padding: 0.75rem;
  max-height: 150px;
  overflow-y: auto;
  font-family: 'Fira Code', monospace;
  font-size: 0.8rem;
}

.log-entry {
  color: #4ade80;
  padding: 0.25rem 0;
  border-bottom: 1px solid rgba(139, 92, 246, 0.1);
}

/* Chain Explorer Page */
.chain-explorer-3d .chain-overview-3d {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.overview-card {
  position: relative;
  background: rgba(26, 26, 46, 0.9);
  border: 1px solid rgba(139, 92, 246, 0.3);
  padding: 1.25rem;
  border-radius: 12px;
  text-align: center;
  overflow: hidden;
}

.overview-card .card-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--brain), transparent);
}

.overview-card .card-glow.green { background: linear-gradient(90deg, transparent, #4ade80, transparent); }
.overview-card .card-glow.orange { background: linear-gradient(90deg, transparent, #f59e0b, transparent); }

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

.overview-card .label {
  display: block;
  font-size: 0.75rem;
  color: #9ca3af;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.overview-card .value {
  font-size: 1.5rem;
  font-weight: bold;
  font-family: 'Fira Code', monospace;
  color: white;
}

.overview-card .value.green { color: #4ade80; }
.overview-card .value.orange { color: #f59e0b; }

.overview-card .optimal-tag {
  display: inline-block;
  background: var(--golden);
  color: black;
  font-size: 0.65rem;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  margin-top: 0.25rem;
}

.chain-grid-3d {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.chain-section-3d {
  background: rgba(26, 26, 46, 0.9);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 16px;
  padding: 1.5rem;
}

.chain-section-3d h3 {
  color: var(--brain);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(139, 92, 246, 0.2);
}

.blocks-list-3d {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.block-item-3d {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem;
  background: rgba(26, 26, 46, 0.9);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 8px;
  transition: all 0.2s;
}

.block-item-3d:hover {
  border-color: var(--brain);
  transform: translateX(3px);
}

.block-item-3d.latest {
  border-color: var(--golden);
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.1), rgba(26, 26, 46, 0.9));
}

.block-visual {
  width: 40px;
  height: 40px;
  perspective: 100px;
}

.cube-icon {
  width: 30px;
  height: 30px;
  position: relative;
  transform-style: preserve-3d;
  transform: rotateX(-20deg) rotateY(30deg);
  animation: cube-rotate 10s linear infinite;
}

@keyframes cube-rotate {
  to { transform: rotateX(-20deg) rotateY(390deg); }
}

.cube-face {
  position: absolute;
  width: 30px;
  height: 30px;
  border: 2px solid var(--brain);
  background: rgba(139, 92, 246, 0.1);
}

.cube-face.top { transform: rotateX(90deg) translateZ(15px); }
.cube-face.front { transform: translateZ(15px); }
.cube-face.right { transform: rotateY(90deg) translateZ(15px); }

.block-info {
  flex: 1;
}

.block-item-3d .block-hash {
  font-family: 'Fira Code', monospace;
  font-size: 0.9rem;
  color: var(--golden);
}

.block-details {
  display: flex;
  gap: 0.75rem;
  font-size: 0.7rem;
  color: #9ca3af;
  margin-top: 0.25rem;
  flex-wrap: wrap;
}

.dim-tag {
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  font-size: 0.65rem;
  text-transform: uppercase;
}

.dim-tag.fin { background: rgba(74, 222, 128, 0.2); color: #4ade80; }
.dim-tag.soc { background: rgba(236, 72, 153, 0.2); color: #ec4899; }
.dim-tag.id { background: rgba(59, 130, 246, 0.2); color: #3b82f6; }
.dim-tag.inf { background: rgba(245, 158, 11, 0.2); color: var(--golden); }

.block-fit {
  text-align: right;
}

.fit-val {
  display: block;
  font-family: 'Fira Code', monospace;
  font-size: 1rem;
  color: #4ade80;
}

.fit-label {
  font-size: 0.65rem;
  color: #9ca3af;
}

/* Validators */
.validators-list-3d {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.validator-item-3d {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem;
  background: rgba(26, 26, 46, 0.9);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 8px;
  position: relative;
  transition: all 0.2s;
}

.validator-item-3d:hover {
  border-color: var(--brain);
}

.validator-item-3d.optimal {
  border-color: var(--golden);
}

.v-rank {
  width: 30px;
  font-weight: bold;
  color: var(--golden);
}

.v-avatar-3d {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, hsl(var(--hue), 60%, 40%), hsl(var(--hue), 60%, 60%));
  position: relative;
  overflow: hidden;
}

.dna-helix {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent 0px,
    transparent 3px,
    rgba(255,255,255,0.2) 3px,
    rgba(255,255,255,0.2) 6px
  );
  animation: helix-spin 2s linear infinite;
}

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

.v-data {
  flex: 1;
}

.v-data .v-id {
  font-family: 'Fira Code', monospace;
  font-size: 0.8rem;
  color: white;
}

.v-metrics {
  display: flex;
  gap: 0.5rem;
  font-size: 0.65rem;
  color: #9ca3af;
}

.v-stake {
  text-align: right;
}

.stake-val {
  display: block;
  font-family: 'Fira Code', monospace;
  color: var(--golden);
}

.stake-label {
  font-size: 0.6rem;
  color: #9ca3af;
}

/* Dimensions */
.dimensions-section-3d {
  margin-bottom: 2rem;
}

.dimensions-section-3d h3 {
  color: white;
  margin-bottom: 1rem;
}

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

.dimension-card-3d {
  background: rgba(26, 26, 46, 0.9);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 12px;
  padding: 1.25rem;
  text-align: center;
  transition: all 0.2s;
}

.dimension-card-3d:hover {
  transform: translateY(-3px);
}

.dimension-card-3d.fin { border-color: #4ade80; }
.dimension-card-3d.soc { border-color: #ec4899; }
.dimension-card-3d.id { border-color: #3b82f6; }
.dimension-card-3d.inf { border-color: var(--golden); }

.dim-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.dimension-card-3d h4 {
  color: white;
  margin-bottom: 0.25rem;
}

.dim-range {
  font-family: 'Fira Code', monospace;
  font-size: 0.85rem;
  color: var(--brain);
  margin-bottom: 0.5rem;
}

.dim-desc {
  font-size: 0.8rem;
  color: #9ca3af;
}

/* Tokenomics */
.tokenomics-section-3d h3 {
  color: white;
  margin-bottom: 1rem;
}

.tokenomics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
}

.token-stat {
  background: rgba(26, 26, 46, 0.9);
  border: 1px solid rgba(139, 92, 246, 0.2);
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
}

.token-label {
  display: block;
  font-size: 0.75rem;
  color: #9ca3af;
  margin-bottom: 0.25rem;
}

.token-value {
  font-family: 'Fira Code', monospace;
  font-size: 1rem;
  color: white;
}

.token-value.green { color: #4ade80; }
.token-value.orange { color: #f59e0b; }

/* Chain Footer */
.chain-footer-3d {
  text-align: center;
  padding: 1.5rem;
  background: rgba(26, 26, 46, 0.9);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 12px;
}

.formula-box {
  background: rgba(0, 0, 0, 0.3);
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  display: inline-block;
  margin-bottom: 0.75rem;
}

.formula-box code {
  font-family: 'Fira Code', monospace;
  color: #4ade80;
}

.golden-note {
  color: var(--golden);
  font-size: 0.9rem;
}

/* ====================================
   FOUNDER TIER
   ==================================== */

.founder-tier-wrapper {
  display: flex;
  justify-content: center;
  margin: 2rem 0;
}

.founder-card {
  position: relative;
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.95), rgba(245, 158, 11, 0.1));
  border: 2px solid var(--golden);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  max-width: 420px;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(245, 158, 11, 0.15);
  transition: all 0.3s;
}

.founder-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 60px rgba(245, 158, 11, 0.25);
}

.founder-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--golden), #ef4444);
  color: white;
  padding: 0.35rem 1.2rem;
  font-size: 0.8rem;
  font-weight: bold;
  border-radius: 0 0 10px 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.founder-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--golden), transparent);
}

.founder-card h3 {
  color: var(--golden);
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.founder-cta {
  display: block;
  text-decoration: none;
  margin-top: 1.5rem;
  font-size: 1.1rem;
  padding: 1rem 2rem;
}

.founder-note {
  color: #9ca3af;
  font-size: 0.8rem;
  margin-top: 0.75rem;
}

/* ====================================
   INELIGIBLE / COMING SOON TIERS
   ==================================== */

.standard-tiers-section {
  margin-top: 3rem;
}

.standard-tiers-section h3 {
  color: white;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.coming-soon-tag {
  background: rgba(107, 114, 128, 0.3);
  color: #9ca3af;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: normal;
}

.tiers-subtitle {
  color: #6b7280;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.pricing-grid-3d.ineligible {
  opacity: 0.5;
  pointer-events: none;
}

.pricing-card-3d.disabled {
  position: relative;
}

.ineligible-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 26, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  border-radius: 20px;
}

.ineligible-label {
  background: rgba(107, 114, 128, 0.8);
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
}

/* ====================================
   CHECKOUT PAGE
   ==================================== */

.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1.5rem;
}

.checkout-summary h3,
.checkout-form-section h3 {
  color: var(--brain);
  margin-bottom: 1rem;
}

.summary-card {
  background: rgba(26, 26, 46, 0.9);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 16px;
  padding: 1.5rem;
}

.summary-tier {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.summary-icon { font-size: 2.5rem; }

.summary-info {
  display: flex;
  flex-direction: column;
}

.summary-info strong {
  color: var(--golden);
  font-size: 1.1rem;
}

.summary-tagline {
  color: #9ca3af;
  font-size: 0.85rem;
}

.summary-features {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.summary-feature {
  color: #d1d5db;
  font-size: 0.85rem;
}

.summary-feature .check {
  color: #4ade80;
  margin-right: 0.4rem;
}

.summary-divider {
  height: 1px;
  background: rgba(139, 92, 246, 0.2);
  margin: 1rem 0;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0;
  color: #d1d5db;
  font-size: 0.9rem;
}

.summary-line.total {
  padding-top: 0.75rem;
  border-top: 1px solid rgba(139, 92, 246, 0.2);
  font-weight: bold;
}

.summary-price { color: var(--golden); }
.summary-price.total { font-size: 1.2rem; }

.summary-note {
  color: #6b7280;
  font-size: 0.8rem;
  margin-top: 0.75rem;
}

.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.form-group label {
  color: #9ca3af;
  font-size: 0.85rem;
}

.form-group input[type="text"],
.form-group input[type="email"] {
  padding: 0.75rem 1rem;
  background: rgba(26, 26, 46, 0.9);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 8px;
  color: white;
  font-size: 1rem;
  transition: border-color 0.2s;
}

.form-group input:focus {
  outline: none;
  border-color: var(--brain);
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.2);
}

.card-input-wrapper {
  position: relative;
}

.card-input-wrapper input { width: 100%; padding-right: 3rem; }

.card-icons {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
}

.form-row {
  display: flex;
  gap: 1rem;
}

.form-group.half { flex: 1; }

.checkout-terms { margin: 0.5rem 0; }

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: #9ca3af;
  font-size: 0.85rem;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  margin-top: 0.15rem;
  accent-color: var(--brain);
}

.terms-link { color: var(--brain); }

.checkout-btn {
  margin-top: 0.5rem;
  font-size: 1.1rem;
  padding: 1rem;
  text-decoration: none;
}

.checkout-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.checkout-processing {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 8px;
  color: var(--brain);
  font-size: 0.9rem;
}

.checkout-result {
  padding: 1.25rem;
  border-radius: 12px;
  border: 1px solid;
}

.checkout-result.pending {
  background: rgba(245, 158, 11, 0.1);
  border-color: var(--golden);
}

.checkout-result h4 {
  color: var(--golden);
  margin-bottom: 0.5rem;
}

.checkout-result p {
  color: #d1d5db;
  font-size: 0.9rem;
  margin: 0.3rem 0;
}

.checkout-security {
  text-align: center;
  color: #6b7280;
  font-size: 0.8rem;
  margin-top: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
  .stat-grid-3d { grid-template-columns: 1fr; }
  .earnings-3d .stat-grid-3d.earnings { grid-template-columns: 1fr; }
  .podium-3d { flex-direction: column; align-items: stretch; height: auto; }
  .podium-place { width: 100%; height: auto !important; border-radius: 12px; }
  .about-hero-3d { flex-direction: column; }
  .hero-stats { flex-direction: column; gap: 1rem; }
  .spec-3d .spec-grid-3d { grid-template-columns: 1fr; }
  .chain-grid, .chain-grid-3d { grid-template-columns: 1fr; }
  .chain-overview-3d { grid-template-columns: repeat(2, 1fr); }
  .checkout-layout { grid-template-columns: 1fr; }
}

/* ====================================
   BROLY Agent Panel
   ==================================== */

.broly-panel { max-width: 900px; margin: 0 auto; }
.broly-header { text-align: center; margin-bottom: 1.5rem; }
.broly-header h3 { font-size: 1.4rem; color: var(--brain); }
.broly-header .tagline { color: var(--text-light); font-size: 0.85rem; }
.broly-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 1.5rem; }
.broly-controls h4, .broly-log-panel h4 { margin-bottom: 0.75rem; color: var(--brain); }
.broly-input { width: 100%; padding: 0.6rem 1rem; background: rgba(255,255,255,0.05); border: 1px solid var(--glass-border); border-radius: 8px; color: var(--text); font-family: inherit; margin-bottom: 0.75rem; }
.broly-input:focus { outline: none; border-color: var(--brain); box-shadow: 0 0 10px rgba(139,92,246,0.3); }
.btn-grid { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.75rem; }
.btn-grid select { padding: 0.4rem 0.6rem; background: rgba(255,255,255,0.05); border: 1px solid var(--glass-border); border-radius: 6px; color: var(--text); font-size: 0.8rem; flex: 1; min-width: 80px; }
.btn-grid .golden { background: linear-gradient(135deg, #f59e0b, #ef4444); border-color: #f59e0b; }
.broly-status-panel { padding: 1rem; background: rgba(0,0,0,0.3); border-radius: 12px; border: 1px solid var(--glass-border); }
.broly-stat-row { display: flex; justify-content: space-between; padding: 0.35rem 0; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 0.85rem; }
.broly-stat-row .label { color: var(--text-light); }
.broly-stat-row .value { color: var(--text); font-family: monospace; }
.broly-stat-row .golden { color: #f59e0b; }
.persona-tag { color: var(--brain) !important; text-transform: capitalize; }
.level-tag { font-weight: bold; }
.power-bar { font-family: monospace; font-size: 0.75rem; }
.power-bar .filled { color: #4ade80; }
.power-bar .empty { color: rgba(255,255,255,0.15); }
.broly-log { max-height: 250px; overflow-y: auto; padding: 0.5rem; background: rgba(0,0,0,0.2); border-radius: 8px; }
.broly-log .log-entry { padding: 0.3rem 0.5rem; margin-bottom: 0.25rem; font-size: 0.8rem; font-family: monospace; }
.broly-log .time { color: var(--text-light); margin-right: 0.5rem; }
.broly-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 1rem; border-top: 1px solid var(--glass-border); font-size: 0.8rem; }
.broly-footer .koan { color: var(--text-light); font-style: italic; }
.broly-footer code { background: rgba(255,255,255,0.1); padding: 0.15rem 0.4rem; border-radius: 4px; font-size: 0.75rem; }

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