:root {
  --bg-obsidian: #05070e;
  --bg-navy: #0a1020;
  --bg-card: rgba(14, 21, 38, 0.88);
  --bg-card-hover: rgba(20, 31, 56, 0.96);
  --gold-bright: #ffe59e;
  --gold-primary: #d9a441;
  --gold-deep: #8c5e14;
  --cyan-accent: #38bdf8;
  --purple-accent: #a855f7;
  --emerald-accent: #22c55e;
  --rose-accent: #f43f5e;
  --text-light: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --border-gold: rgba(217, 164, 65, 0.34);
  --border-subtle: rgba(148, 163, 184, 0.16);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-obsidian);
  background-image:
    radial-gradient(circle at 50% 0%, rgba(30, 58, 138, 0.32) 0%, transparent 55%),
    radial-gradient(circle at 85% 35%, rgba(217, 164, 65, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 15% 75%, rgba(56, 189, 248, 0.10) 0%, transparent 50%);
  color: var(--text-light);
  line-height: 1.65;
  min-height: 100vh;
}

/* Sticky Top Navigation */
.site-navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(5, 7, 14, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-gold);
  padding: 0.85rem 1.5rem;
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-monogram {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 164, 65, 0.32), rgba(5, 7, 14, 0.95));
  border: 2px solid var(--gold-primary);
  box-shadow: 0 0 18px rgba(217, 164, 65, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cinzel', Georgia, serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--gold-bright);
}

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

.brand-name {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold-bright);
}

.brand-domain {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan-accent);
}

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

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--gold-bright);
}

.nav-cta-btn {
  background: linear-gradient(135deg, #f3c668 0%, #c88d28 100%);
  color: #05070e !important;
  font-weight: 700 !important;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(217, 164, 65, 0.35);
}

/* Hero Section */
.hero-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 4.2rem 1.5rem 3.2rem;
  text-align: center;
  border-bottom: 1px solid var(--border-gold);
}

.hero-eyebrow {
  display: inline-block;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  background: rgba(217, 164, 65, 0.14);
  border: 1px solid var(--border-gold);
  color: var(--gold-bright);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.hero-title {
  font-family: 'Cinzel', Georgia, serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.15;
  letter-spacing: 0.08em;
  background: linear-gradient(180deg, #fff8e1 0%, #e4b14a 55%, #9a6715 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

.hero-subtitle {
  max-width: 820px;
  margin: 0 auto 2rem;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
}

.hero-cta-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.6rem;
}

.btn-primary-gold {
  background: linear-gradient(135deg, #ffe299 0%, #d9a441 55%, #9e6b18 100%);
  color: #05070e;
  font-family: 'Cinzel', Georgia, serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1.75rem;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(217, 164, 65, 0.32);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(217, 164, 65, 0.45);
}

.btn-secondary-cyan {
  background: rgba(56, 189, 248, 0.14);
  color: var(--cyan-accent);
  border: 1px solid rgba(56, 189, 248, 0.45);
  font-family: 'Cinzel', Georgia, serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1.65rem;
  border-radius: 12px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.18s ease, transform 0.18s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-secondary-cyan:hover {
  background: rgba(56, 189, 248, 0.24);
  transform: translateY(-2px);
}

.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1rem;
  max-width: 980px;
  margin: 0 auto;
}

.stat-card {
  background: rgba(14, 21, 38, 0.78);
  border: 1px solid var(--border-gold);
  border-radius: 14px;
  padding: 1.1rem;
}

.stat-num {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold-bright);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Section Containers */
.section-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

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

.section-tag {
  color: var(--cyan-accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.section-heading {
  font-family: 'Cinzel', Georgia, serif;
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  color: var(--gold-bright);
  margin-bottom: 0.6rem;
}

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

/* Filter Bar */
.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 2.2rem;
}

.filter-tab-btn {
  background: rgba(15, 23, 42, 0.85);
  color: var(--text-secondary);
  border: 1px solid var(--border-gold);
  padding: 0.5rem 1.15rem;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-tab-btn.active,
.filter-tab-btn:hover {
  background: linear-gradient(135deg, rgba(217, 164, 65, 0.28), rgba(56, 189, 248, 0.18));
  color: var(--gold-bright);
  border-color: var(--gold-bright);
}

/* Books Grid */
.books-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.75rem;
}

.book-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 18px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.book-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-bright);
}

.book-top-layout {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 1.2rem;
}

/* 3D Styled Book Cover Image */
.book-cover-img {
  width: 138px;
  min-width: 138px;
  height: 208px;
  object-fit: contain;
  background: #05070e;
  border-radius: 4px 10px 10px 4px;
  cursor: pointer;
  box-shadow:
    -5px 0 0 #1e293b,
    -8px 6px 20px rgba(0, 0, 0, 0.82),
    0 0 14px rgba(217, 164, 65, 0.22);
  border: 1px solid rgba(255, 226, 153, 0.48);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.book-cover-img:hover {
  transform: scale(1.04) rotate(-1deg);
  box-shadow:
    -6px 0 0 #334155,
    -10px 10px 26px rgba(0, 0, 0, 0.9),
    0 0 22px rgba(217, 164, 65, 0.42);
}

.cover-series-tag {
  font-size: 0.55rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-bright);
  opacity: 0.9;
}

.cover-main-title {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.22;
  color: #ffffff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
}

.cover-emblem {
  font-size: 1.45rem;
  margin: 0.2rem 0;
}

.cover-author {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-bright);
  border-top: 1px solid rgba(255, 226, 153, 0.35);
  padding-top: 0.3rem;
}

.book-meta {
  flex: 1;
}

.book-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.15);
  color: var(--cyan-accent);
  border: 1px solid rgba(56, 189, 248, 0.35);
  margin-bottom: 0.45rem;
}

.book-title {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 1.22rem;
  color: var(--gold-bright);
  line-height: 1.3;
  margin-bottom: 0.25rem;
}

.book-subtitle {
  font-size: 0.84rem;
  color: var(--cyan-accent);
  font-weight: 600;
  margin-bottom: 0.55rem;
}

.book-synopsis {
  font-size: 0.86rem;
  color: var(--text-secondary);
}

.book-themes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.9rem 0 1.1rem;
}

.theme-pill {
  font-size: 0.72rem;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
}

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

.format-price-select {
  background: rgba(8, 13, 26, 0.95);
  color: var(--gold-bright);
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  padding: 0.45rem 0.65rem;
  font-size: 0.82rem;
  font-weight: 600;
}

.book-action-btns {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.btn-small-gold {
  background: linear-gradient(135deg, #ffe299 0%, #d9a441 100%);
  color: #05070e;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.48rem 0.95rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.btn-small-outline {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-light);
  border: 1px solid var(--border-gold);
  font-weight: 600;
  font-size: 0.8rem;
  padding: 0.48rem 0.85rem;
  border-radius: 8px;
  cursor: pointer;
}

/* iOS Apps Grid */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.5rem;
}

.app-card {
  background: var(--bg-card);
  border: 1px solid rgba(56, 189, 248, 0.32);
  border-radius: 18px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

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

.app-icon-box {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  border: 2px solid var(--gold-primary);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
}

.app-title {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 1.2rem;
  color: var(--gold-bright);
}

.app-platform-tag {
  font-size: 0.72rem;
  color: var(--emerald-accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.app-feature-list {
  list-style: none;
  margin: 0.85rem 0 1.25rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.app-feature-list li {
  margin-bottom: 0.4rem;
  padding-left: 1.2rem;
  position: relative;
}

.app-feature-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--gold-primary);
}

/* Interactive Elementory Web Teaser */
.interactive-lab-card {
  background: linear-gradient(145deg, rgba(12, 20, 38, 0.95), rgba(18, 15, 28, 0.95));
  border: 2px solid var(--gold-primary);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 0 40px rgba(217, 164, 65, 0.16);
}

.synth-input-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.synth-input {
  flex: 1;
  min-width: 220px;
  background: rgba(5, 7, 14, 0.9);
  border: 1px solid var(--border-gold);
  border-radius: 10px;
  padding: 0.8rem 1rem;
  color: var(--text-light);
  font-size: 1rem;
}

.el-tiles-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin: 1.2rem 0;
}

.el-tile {
  width: 86px;
  height: 98px;
  background: rgba(15, 23, 42, 0.95);
  border: 2px solid var(--gold-primary);
  border-radius: 12px;
  padding: 0.45rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.el-tile:hover {
  transform: scale(1.06);
}

.el-tile-top {
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  color: var(--cyan-accent);
  font-weight: 700;
}

.el-tile-sym {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--gold-bright);
}

.el-tile-name {
  font-size: 0.64rem;
  color: var(--text-secondary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Publisher & Contact Section */
.publisher-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 18px;
  padding: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: center;
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 5, 10, 0.84);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 1.2rem;
}

.modal-card {
  background: #0b1326;
  border: 2px solid var(--gold-primary);
  border-radius: 18px;
  max-width: 640px;
  width: 100%;
  padding: 1.8rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85);
}

.site-footer {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  text-align: center;
  font-size: 0.84rem;
  color: var(--text-muted);
}


.book-filter-tabs {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 1.4rem;
}

.app-header-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.app-category-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.app-name {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 1.2rem;
  color: var(--gold-bright);
}

.app-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}

.app-features {
  list-style: none;
  margin: 0.75rem 0 1.15rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.app-features li {
  margin-bottom: 0.4rem;
  padding-left: 1.15rem;
  position: relative;
}

.app-features li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--gold-primary);
}

.app-cta-row {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.synth-preview-box {
  background: linear-gradient(145deg, rgba(12, 20, 38, 0.95), rgba(18, 15, 28, 0.95));
  border: 2px solid var(--gold-primary);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 0 40px rgba(217, 164, 65, 0.16);
}

.synth-text-input {
  flex: 1;
  min-width: 220px;
  background: rgba(5, 7, 14, 0.9);
  border: 1px solid var(--border-gold);
  border-radius: 10px;
  padding: 0.8rem 1rem;
  color: var(--text-light);
  font-size: 1rem;
}

.element-tiles-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin: 1.2rem 0;
}

/* ============================================================================
   CLASSIC 3-DICE CEE-LO ARCADE LOUNGE
   ============================================================================ */
.ceelo-lounge-box {
  background:
    radial-gradient(circle at 50% 25%, rgba(22, 101, 52, 0.28) 0%, rgba(10, 16, 32, 0.96) 68%),
    linear-gradient(145deg, rgba(10, 18, 32, 0.98), rgba(6, 10, 20, 0.98));
  border: 2px solid var(--gold-primary);
  border-radius: 22px;
  padding: 2rem;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.65), inset 0 0 60px rgba(217, 164, 65, 0.08);
  position: relative;
  overflow: hidden;
}

.ceelo-arena-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin: 1.35rem 0;
}

.ceelo-shooter-lane {
  background: rgba(5, 9, 18, 0.82);
  border: 1px solid var(--border-gold);
  border-radius: 16px;
  padding: 1.35rem;
  text-align: center;
  position: relative;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.ceelo-shooter-lane.winner-glow {
  border-color: var(--emerald-accent);
  box-shadow: 0 0 28px rgba(34, 197, 94, 0.28);
}

.ceelo-shooter-lane.loser-glow {
  border-color: var(--rose-accent);
  box-shadow: 0 0 22px rgba(244, 63, 94, 0.2);
}

.ceelo-dice-tray {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.1rem;
  min-height: 92px;
  margin: 0.95rem 0;
}

.ceelo-die {
  width: 68px;
  height: 68px;
  background: linear-gradient(145deg, #fffdf7 0%, #f1ead8 65%, #dfd3b8 100%);
  border-radius: 14px;
  border: 2px solid rgba(217, 164, 65, 0.55);
  box-shadow:
    0 10px 20px rgba(0, 0, 0, 0.55),
    inset 0 2px 3px rgba(255, 255, 255, 0.9),
    inset 0 -3px 6px rgba(138, 116, 74, 0.35);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  padding: 9px;
  gap: 3px;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.ceelo-die.rolling {
  animation: ceeloShakeRoll 0.42s infinite linear;
}

@keyframes ceeloShakeRoll {
  0%   { transform: translate(0, 0) rotate(0deg) scale(1); }
  25%  { transform: translate(-5px, -7px) rotate(-14deg) scale(1.05); }
  50%  { transform: translate(6px, 4px) rotate(12deg) scale(0.97); }
  75%  { transform: translate(-4px, 5px) rotate(-9deg) scale(1.04); }
  100% { transform: translate(0, 0) rotate(0deg) scale(1); }
}

.ceelo-pip {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  place-self: center;
  background: radial-gradient(circle at 35% 35%, #2b3445, #090d16);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.65);
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.12s ease, transform 0.12s ease;
}

.ceelo-pip.on {
  opacity: 1;
  transform: scale(1);
}

/* Classic Cee-lo red pips on 1 (big center ace) and 4 */
.ceelo-die[data-face="1"] .ceelo-pip.on {
  width: 16px;
  height: 16px;
  background: radial-gradient(circle at 35% 35%, #fb7185, #be123c);
}

.ceelo-die[data-face="4"] .ceelo-pip.on {
  background: radial-gradient(circle at 35% 35%, #fb7185, #be123c);
}

.ceelo-hand-badge {
  display: inline-block;
  padding: 0.32rem 0.9rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  background: rgba(217, 164, 65, 0.14);
  border: 1px solid var(--border-gold);
  color: var(--gold-bright);
  min-height: 1.9rem;
}

.ceelo-chip-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.ceelo-chip-btn {
  background: rgba(15, 23, 42, 0.9);
  border: 1.5px solid var(--border-gold);
  color: var(--gold-bright);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.16s ease;
}

.ceelo-chip-btn:hover,
.ceelo-chip-btn.active {
  background: linear-gradient(135deg, #ffe299 0%, #d9a441 100%);
  color: #05070e;
  border-color: #ffe59e;
  box-shadow: 0 4px 12px rgba(217, 164, 65, 0.35);
}

.ceelo-banner {
  background: rgba(5, 7, 14, 0.9);
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  padding: 0.85rem 1.15rem;
  text-align: center;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--gold-bright);
  margin-bottom: 1.15rem;
}

.ceelo-log-box {
  background: rgba(5, 7, 14, 0.82);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  max-height: 120px;
  overflow-y: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
  color: var(--text-secondary);
}

/* ============================================================================
   ACCESSIBILITY: SKIP LINK, KEYBOARD FOCUS RING & REDUCED MOTION
   ============================================================================ */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0.75rem;
  z-index: 9999;
  background: var(--gold-bright);
  color: #05070e;
  font-weight: 800;
  font-size: 0.88rem;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.65);
}

.skip-link:focus {
  left: 1rem;
  outline: 3px solid var(--cyan-accent);
  outline-offset: 2px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--cyan-accent);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* === AUDIT REFINEMENT & MULTI-PAGE ARCHITECTURE === */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nav-links a.nav-link-active {
  color: var(--gold-bright);
  font-weight: 700;
  border-bottom: 2px solid var(--gold-primary);
  padding-bottom: 0.15rem;
}

.hero-tagline {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 0.96rem;
  color: var(--gold-bright);
  letter-spacing: 0.06em;
  margin: -1rem auto 1.75rem;
}

.inline-gold-link {
  color: var(--gold-bright);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.inline-cyan-link {
  color: var(--cyan-accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.card-heading-link {
  color: inherit;
  text-decoration: none;
}

.card-heading-link:hover {
  color: var(--cyan-accent);
  text-decoration: underline;
}

/* Structured Definition Lists (Clean Flush Inline Label + Value Flow) */
.structured-meta-dl,
.credentials-dl {
  background: rgba(5, 7, 14, 0.72);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--gold-primary);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  margin-bottom: 0.9rem;
  display: grid;
  gap: 0.48rem;
  font-size: 0.85rem;
}

.dl-row {
  display: block;
  line-height: 1.55;
}

.dl-row dt {
  display: inline;
  font-weight: 700;
  color: var(--gold-bright);
  margin-right: 0.2rem;
}

.dl-row dd {
  display: inline;
  color: var(--text-secondary);
  margin: 0;
}

/* App Cards & Adjacent Disclaimers */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.75rem;
}

.app-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 18px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.42);
}

.app-platform-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

.app-card-footer {
  display: grid;
  gap: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-subtle);
}

.adjacent-disclaimer {
  background: rgba(15, 23, 42, 0.88);
  border-left: 3px solid var(--cyan-accent);
  padding: 0.6rem 0.8rem;
  border-radius: 6px;
  font-size: 0.79rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

.app-btn-compact {
  padding: 0.6rem 1.05rem;
  font-size: 0.84rem;
}

.app-cta-row {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  align-items: center;
}

.btn-small-outline,
.btn-small-gold {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

/* Elementory Demo Metrics */
.synth-input-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.demo-metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.stat-card-playable {
  cursor: pointer;
  user-select: none;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.stat-card-playable:hover,
.stat-card-playable:focus-visible,
.stat-card-playable.is-playing {
  transform: translateY(-2px);
  border-color: var(--gold-bright);
  box-shadow: 0 0 18px rgba(245, 197, 66, 0.26);
  outline: none;
}

.metric-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold-bright);
  margin-top: 0.25rem;
  word-break: break-word;
}

.metric-cyan {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--cyan-accent);
  margin-top: 0.25rem;
}

.metric-gold {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold-bright);
  margin-top: 0.25rem;
}

.metric-emerald {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--emerald-accent);
  margin-top: 0.25rem;
}

button.el-tile {
  font-family: inherit;
  color: inherit;
  text-align: center;
}

/* Compact Cee-lo Lounge Promo Card on Homepage */
.compact-feature-banner {
  background: linear-gradient(145deg, rgba(12, 22, 38, 0.94), rgba(8, 13, 24, 0.96));
  border: 1px solid var(--border-gold);
  border-radius: 18px;
  padding: 1.6rem 1.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

/* Publisher, Contact & Separated Lists */
.publisher-card {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 1.75rem;
  align-items: start;
}

.contact-summary-panel {
  background: rgba(5, 7, 14, 0.88);
  border: 1px solid var(--border-gold);
  border-radius: 16px;
  padding: 1.5rem;
}

.separated-info-list {
  list-style: none;
  display: grid;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0.5rem 0;
}

.separated-info-list li {
  padding-left: 1.15rem;
  position: relative;
  line-height: 1.55;
}

.separated-info-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--gold-primary);
  font-weight: 700;
}

/* Checkout & Accessible Forms */
.checkout-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 1.5rem;
}

.checkout-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
}

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

.checkout-card-title {
  font-family: 'Cinzel', Georgia, serif;
  color: var(--gold-bright);
  font-size: 1.18rem;
}

.checkout-card-copy {
  font-size: 0.86rem;
  color: var(--text-secondary);
  margin-bottom: 0.85rem;
}

.cart-items-box {
  min-height: 92px;
  background: rgba(5, 7, 14, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 0.9rem;
  font-size: 0.86rem;
  color: var(--text-secondary);
}

.cart-total-row {
  background: rgba(217, 164, 65, 0.12);
  border: 1px solid var(--gold-primary);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.65rem;
  font-family: 'Cinzel', Georgia, serif;
}

.cart-total-row strong {
  font-size: 1.4rem;
  color: var(--gold-bright);
}

.checkout-footnote {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
  line-height: 1.5;
}

.clean-form {
  display: grid;
  gap: 0.8rem;
}

.form-row {
  display: grid;
  gap: 0.28rem;
}

.form-row label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-light);
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  min-height: 44px;
  background: #05070e;
  border: 1px solid rgba(148, 163, 184, 0.35);
  color: var(--text-light);
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.92rem;
}

.form-status-msg {
  font-size: 0.86rem;
  color: var(--emerald-accent);
  font-weight: 700;
  display: none;
  margin-top: 0.35rem;
}

.support-preset-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

/* Dedicated Detail & Policy Pages */
.breadcrumb-nav {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}

.breadcrumb-nav a {
  color: var(--cyan-accent);
  text-decoration: underline;
}

.page-prose-card,
.detail-hero-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 18px;
  padding: 2rem;
  max-width: 980px;
  margin: 0 auto;
}

.page-prose-card p {
  color: var(--text-secondary);
  margin-bottom: 0.95rem;
}

.lead-paragraph {
  font-size: 1.05rem;
  color: var(--text-light) !important;
  line-height: 1.7;
  margin-bottom: 1.15rem !important;
}

.prose-h2 {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 1.25rem;
  color: var(--gold-bright);
  margin: 1.5rem 0 0.65rem;
}

.detail-book-grid {
  display: grid;
  grid-template-columns: minmax(180px, 240px) 1fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 720px) {
  .detail-book-grid {
    grid-template-columns: 1fr;
  }
}

.detail-book-cover {
  width: 100%;
  max-width: 240px;
  height: auto;
  border-radius: 6px 12px 12px 6px;
  border: 1px solid var(--gold-primary);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.75);
}

.detail-subtitle {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--cyan-accent);
  margin-bottom: 0.9rem;
}

.book-excerpt-quote {
  background: rgba(217, 164, 65, 0.08);
  border-left: 4px solid var(--gold-primary);
  padding: 1.15rem 1.35rem;
  border-radius: 8px;
  display: grid;
  gap: 0.75rem;
  color: var(--text-light);
  font-size: 0.94rem;
}

.related-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0.9rem;
}

.related-card-link {
  background: rgba(5, 7, 14, 0.78);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 0.9rem 1rem;
  text-decoration: none;
  display: grid;
  gap: 0.25rem;
  transition: border-color 0.2s ease;
}

.related-card-link strong {
  color: var(--gold-bright);
  font-size: 0.94rem;
}

.related-card-link span {
  color: var(--text-secondary);
  font-size: 0.8rem;
}

.related-card-link:hover {
  border-color: var(--cyan-accent);
}

/* Semantic Separated Footer */
.site-footer {
  border-top: 1px solid var(--border-gold);
  background: rgba(5, 7, 14, 0.96);
  padding: 2.2rem 1.5rem;
  margin-top: 2rem;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  text-align: center;
  display: grid;
  gap: 0.85rem;
}

.footer-brand-row {
  color: var(--gold-bright);
  font-family: 'Cinzel', Georgia, serif;
  font-size: 0.98rem;
}

.footer-brand-row span {
  font-family: 'Inter', sans-serif;
  color: var(--text-secondary);
  font-size: 0.86rem;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem 1.15rem;
  padding: 0;
  margin: 0;
}

.footer-links-list li a {
  color: var(--cyan-accent);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-links-list li a:hover {
  color: var(--gold-bright);
}

.footer-publisher-line,
.footer-trademark-line {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.footer-publisher-line a {
  color: var(--gold-bright);
  text-decoration: underline;
}

/* ============================================================================
   MULTI-PLATFORM STOREFRONT BANNER & BADGES (APP STORE / GOOGLE PLAY / CHROME)
   ============================================================================ */
.store-availability-banner {
  background: linear-gradient(135deg, rgba(12, 22, 42, 0.96) 0%, rgba(18, 28, 48, 0.94) 55%, rgba(22, 18, 12, 0.95) 100%);
  border: 1.5px solid var(--gold-primary);
  border-radius: 16px;
  padding: 1.15rem 1.4rem;
  margin: 0 auto 1.6rem;
  max-width: 1120px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

.store-banner-copy {
  flex: 1 1 420px;
  text-align: left;
}

.store-banner-title {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--gold-bright);
  margin-bottom: 0.22rem;
}

.store-banner-sub {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.store-badges-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}

.platform-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
  margin: 0.45rem 0 0.65rem;
}

.store-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.24rem 0.62rem;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
}

.store-pill-apple {
  background: rgba(255, 226, 153, 0.14);
  border: 1px solid rgba(217, 164, 65, 0.65);
  color: var(--gold-bright);
}

.store-pill-google {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.65);
  color: #86efac;
}

.store-pill-chrome {
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.65);
  color: #7dd3fc;
}

.store-pill-web {
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.55);
  color: #d8b4fe;
}

/* ==========================================================================
   IRM SPECULATIVE COSMOLOGY & FOUR-PILLAR INTELLECTUAL PROGRESSION
   ========================================================================== */
.hero-role-subtitle {
  display: block;
  font-family: 'Cinzel', Georgia, serif;
  font-size: clamp(1.05rem, 2.2vw, 1.48rem);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan-accent);
  margin-top: 0.35rem;
}

.irm-showcase-panel {
  background: linear-gradient(165deg, rgba(12, 19, 36, 0.95) 0%, rgba(7, 11, 22, 0.96) 100%);
  border: 1px solid var(--border-gold);
  border-radius: 20px;
  padding: clamp(1.5rem, 3.2vw, 2.6rem);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.52), inset 0 1px 0 rgba(255, 229, 158, 0.12);
}

.irm-intro-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.irm-opening-lead {
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  color: var(--text-light);
  line-height: 1.72;
  max-width: 980px;
  margin-bottom: 1.35rem;
}

.irm-progression-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  background: rgba(5, 8, 18, 0.82);
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: 14px;
  padding: 0.8rem 1.1rem;
  margin-bottom: 1.35rem;
}

.irm-progression-steps {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.irm-step-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: rgba(217, 164, 65, 0.12);
  border: 1px solid rgba(217, 164, 65, 0.38);
  color: var(--gold-bright);
}

.irm-step-arrow {
  color: var(--cyan-accent);
  font-weight: 800;
}

.irm-pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.05rem;
  margin-bottom: 1.45rem;
  align-items: start;
}

details.irm-pillar-card {
  background: rgba(14, 22, 42, 0.88);
  border: 1px solid rgba(217, 164, 65, 0.32);
  border-radius: 16px;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}

details.irm-pillar-card:hover {
  border-color: rgba(255, 229, 158, 0.62);
  background: rgba(18, 28, 52, 0.95);
}

details.irm-pillar-card[open] {
  border-color: var(--cyan-accent);
  box-shadow: 0 10px 28px rgba(56, 189, 248, 0.14);
  background: rgba(15, 25, 48, 0.97);
}

details.irm-pillar-card > summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
  user-select: none;
}

details.irm-pillar-card > summary::-webkit-details-marker {
  display: none;
}

.irm-pillar-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.irm-pillar-stage {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan-accent);
}

.irm-pillar-toggle-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.18rem 0.58rem;
  border-radius: 999px;
  border: 1px solid rgba(217, 164, 65, 0.45);
  color: var(--gold-bright);
  background: rgba(217, 164, 65, 0.12);
}

details.irm-pillar-card[open] .irm-pillar-toggle-badge::after {
  content: "Collapse −";
}

details.irm-pillar-card:not([open]) .irm-pillar-toggle-badge::after {
  content: "Explore +";
}

.irm-pillar-title {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--gold-bright);
  line-height: 1.3;
}

.irm-pillar-teaser {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.irm-pillar-body {
  padding: 0 1.25rem 1.25rem;
  border-top: 1px solid rgba(148, 163, 184, 0.16);
  padding-top: 0.95rem;
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.68;
  display: grid;
  gap: 0.78rem;
}

.irm-key-question {
  background: rgba(56, 189, 248, 0.09);
  border-left: 3px solid var(--cyan-accent);
  padding: 0.65rem 0.9rem;
  border-radius: 0 10px 10px 0;
  color: var(--text-light);
  font-style: italic;
}

.irm-synthesis-box {
  background: linear-gradient(135deg, rgba(217, 164, 65, 0.12) 0%, rgba(56, 189, 248, 0.08) 100%);
  border: 1px solid rgba(217, 164, 65, 0.42);
  border-radius: 16px;
  padding: 1.25rem 1.4rem;
}

.irm-synthesis-title {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 1.2rem;
  color: var(--gold-bright);
  margin-bottom: 0.45rem;
}

.irm-synthesis-box p {
  color: var(--text-light);
  font-size: 0.96rem;
  line-height: 1.68;
  margin-bottom: 0.55rem;
}

.irm-synthesis-box p:last-child {
  margin-bottom: 0;
  color: var(--gold-bright);
  font-weight: 600;
}

/* Streamlined Two-Column Portfolio Gateways on Homepage */
.catalog-gateways-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.35rem;
}

.catalog-gateway-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 18px;
  padding: 1.65rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.2rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.gateway-cover-strip {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  align-items: center;
  margin: 0.85rem 0;
}

.gateway-mini-cover {
  width: 58px;
  height: 86px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid rgba(217, 164, 65, 0.45);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
}

/* ============================================================================
   PUBLIC FOOTER SITE COUNTER BADGE & PRIVATE STATS DASHBOARD
   ============================================================================ */
.footer-counter-row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.2rem;
}

.visitor-counter-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(12, 20, 38, 0.92);
  border: 1px solid rgba(217, 164, 65, 0.5);
  border-radius: 999px;
  padding: 0.36rem 0.95rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.8rem;
  color: var(--text-light);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
}

.visitor-dot-live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald-accent);
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.85);
  display: inline-block;
}

.visitor-counter-num {
  color: var(--gold-bright);
  font-weight: 800;
}

.visitor-counter-today {
  color: var(--cyan-accent);
  font-weight: 700;
}

.owner-stats-link {
  font-size: 0.76rem;
  color: var(--text-muted);
  text-decoration: none;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
  transition: border-color 0.18s ease, color 0.18s ease;
}

.owner-stats-link:hover {
  border-color: var(--gold-primary);
  color: var(--gold-bright);
}

.stats-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(205px, 1fr));
  gap: 1rem;
  margin: 1.25rem 0 1.75rem;
}

.stats-kpi-card {
  background: rgba(8, 13, 25, 0.9);
  border: 1px solid var(--border-gold);
  border-radius: 14px;
  padding: 1.15rem 1.25rem;
}

.stats-kpi-label {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 700;
}

.stats-kpi-value {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--gold-bright);
  margin-top: 0.25rem;
}

.stats-kpi-sub {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
}

.stats-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  background: rgba(5, 8, 16, 0.85);
}

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

.stats-table th,
.stats-table td {
  padding: 0.72rem 0.95rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.stats-table th {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--gold-bright);
  background: rgba(15, 23, 42, 0.7);
}

.stats-bar-track {
  width: 100%;
  max-width: 160px;
  height: 8px;
  background: rgba(148, 163, 184, 0.16);
  border-radius: 999px;
  overflow: hidden;
}

.stats-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-primary), var(--cyan-accent));
  border-radius: 999px;
}
