/* ============================================================
   BlossomGameplay.com: Botanical Luxury Design System
   Modern, responsive, high-contrast, fully custom UI/UX
   ============================================================ */

/* --- 1. Design Tokens & Color Palette --- */
:root {
  /* Brand Palette: Orchid Bloom, Deep Botanical Indigo, Honey Glow */
  --orchid: #e11d48;
  --orchid-glow: #fb7185;
  --orchid-deep: #9f1239;
  --magenta: #d946ef;
  --magenta-soft: #f472b6;
  --violet-brand: #7c3aed;
  
  /* Functional Accents */
  --amber-glow: #f59e0b;
  --emerald-dew: #10b981;
  --sky-breeze: #0ea5e9;
  
  /* Surfaces & Neutrals */
  --indigo-dark: #0f172a;
  --indigo-card: #1e293b;
  --indigo-border: #334155;
  --ink-primary: #0f172a;
  --ink-secondary: #334155;
  --ink-muted: #64748b;
  --ink-subtle: #94a3b8;
  
  --pearl-bg: #f8fafc;
  --pearl-alt: #f1f5f9;
  --pearl-white: #ffffff;
  --pearl-border: #e2e8f0;
  --pearl-border-strong: #cbd5e1;

  /* Gradients */
  --grad-bloom: linear-gradient(135deg, #e11d48 0%, #d946ef 50%, #7c3aed 100%);
  --grad-card: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%);
  --grad-hero: radial-gradient(1200px 600px at 50% -10%, rgba(225, 29, 72, 0.08) 0%, rgba(217, 70, 239, 0.05) 45%, transparent 70%), #f8fafc;
  --grad-dark-hero: radial-gradient(800px 400px at 50% 0%, rgba(225, 29, 72, 0.18) 0%, rgba(124, 58, 237, 0.12) 50%, #0f172a 100%);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05), 0 1px 2px rgba(15, 23, 42, 0.03);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.06), 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 28px rgba(15, 23, 42, 0.08), 0 4px 10px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 20px 40px rgba(15, 23, 42, 0.12), 0 8px 16px rgba(15, 23, 42, 0.06);
  --shadow-bloom: 0 10px 30px rgba(225, 29, 72, 0.28);
  --shadow-center: 0 0 28px rgba(225, 29, 72, 0.45);

  /* Layout */
  --container-max: 1200px;
  --container-prose: 820px;
  --header-h: 76px;
  --gutter: clamp(16px, 4vw, 32px);

  /* Radii */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 9999px;

  /* Typography */
  --font-main: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --duration: 220ms;
}

/* --- 2. Reset & Core Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-main);
  background-color: var(--pearl-bg);
  color: var(--ink-primary);
  line-height: 1.65;
  font-size: 1rem;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg, video, iframe {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration) var(--ease), transform var(--duration) var(--ease);
}

a:hover {
  color: var(--orchid);
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  border: none;
  background: transparent;
  cursor: pointer;
}

::selection {
  background: rgba(225, 29, 72, 0.18);
  color: var(--ink-primary);
}

.skip-to-content {
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink-primary);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.875rem;
  z-index: 999;
  transition: top var(--duration) var(--ease);
}

.skip-to-content:focus {
  top: 16px;
}

/* --- 3. Layout Structure --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--prose {
  max-width: var(--container-prose);
}

section {
  padding-block: clamp(52px, 7vw, 96px);
  position: relative;
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: clamp(36px, 5vw, 60px);
}

.section-head h2 {
  margin-top: 10px;
  margin-bottom: 14px;
}

.section-head p {
  color: var(--ink-muted);
  font-size: 1.125rem;
  line-height: 1.6;
}

/* --- 4. Typography --- */
h1, h2, h3, h4, h5, h6 {
  color: var(--ink-primary);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.2rem, 1.6rem + 2.8vw, 3.8rem);
  font-weight: 900;
}

h2 {
  font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.75rem);
}

h3 {
  font-size: clamp(1.25rem, 1.1rem + 0.8vw, 1.65rem);
}

h4 {
  font-size: 1.15rem;
}

p {
  margin-bottom: 1.25rem;
  color: var(--ink-secondary);
}

p:last-child {
  margin-bottom: 0;
}

.text-gradient {
  background: var(--grad-bloom);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(225, 29, 72, 0.08);
  color: var(--orchid-deep);
  border: 1px solid rgba(225, 29, 72, 0.18);
}

.badge-tag.violet {
  background: rgba(124, 58, 237, 0.08);
  color: #6d28d9;
  border-color: rgba(124, 58, 237, 0.2);
}

.badge-tag.emerald {
  background: rgba(16, 185, 129, 0.08);
  color: #047857;
  border-color: rgba(16, 185, 129, 0.2);
}

.badge-tag.amber {
  background: rgba(245, 158, 11, 0.1);
  color: #b45309;
  border-color: rgba(245, 158, 11, 0.24);
}

/* --- 5. Buttons & Interactive Controls --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  transition: all var(--duration) var(--ease);
  white-space: nowrap;
  line-height: 1;
}

.btn-bloom {
  background: var(--grad-bloom);
  color: #ffffff !important;
  box-shadow: var(--shadow-bloom);
}

.btn-bloom:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(225, 29, 72, 0.4);
}

.btn-glass {
  background: var(--pearl-white);
  color: var(--ink-primary);
  border: 1.5px solid var(--pearl-border-strong);
  box-shadow: var(--shadow-sm);
}

.btn-glass:hover {
  border-color: var(--orchid);
  color: var(--orchid);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-lg {
  padding: 18px 36px;
  font-size: 1.125rem;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.875rem;
}

/* --- 6. Header Navigation --- */
.site-nav-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(248, 250, 252, 0.9);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--pearl-border);
  transition: all var(--duration) var(--ease);
}

.site-nav-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--pearl-border-strong);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 16px;
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--ink-primary);
  letter-spacing: -0.03em;
}

.brand-mark svg {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 8px rgba(225, 29, 72, 0.25));
}

.brand-mark span b {
  color: var(--orchid);
}

.nav-menu-links {
  display: none;
  align-items: center;
  gap: 4px;
}

.nav-menu-links a {
  padding: 10px 14px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink-secondary);
  border-radius: var(--radius-sm);
}

.nav-menu-links a:hover,
.nav-menu-links a.active {
  color: var(--orchid);
  background: rgba(225, 29, 72, 0.07);
}

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

.mobile-toggle-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 8px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--pearl-border-strong);
  background: var(--pearl-white);
}

.mobile-toggle-btn span {
  display: block;
  height: 2px;
  width: 22px;
  margin-inline: auto;
  background: var(--ink-primary);
  border-radius: 2px;
  transition: all var(--duration) var(--ease);
}

.mobile-toggle-btn.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle-btn.open span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle-btn.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-drawer {
  display: none;
  background: var(--pearl-white);
  border-bottom: 1px solid var(--pearl-border-strong);
  box-shadow: var(--shadow-lg);
  padding: 16px var(--gutter) 24px;
}

.mobile-drawer.open {
  display: block;
}

.mobile-drawer ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-drawer a {
  display: block;
  padding: 12px 16px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  color: var(--ink-primary);
}

.mobile-drawer a:hover {
  background: rgba(225, 29, 72, 0.08);
  color: var(--orchid);
}

@media (min-width: 1024px) {
  .nav-menu-links {
    display: flex;
  }
  .mobile-toggle-btn {
    display: none;
  }
}

/* --- 7. Hero Section --- */
.hero-stage {
  background: var(--grad-hero);
  padding-top: clamp(36px, 5vw, 68px);
  padding-bottom: clamp(48px, 6vw, 84px);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.hero-content .lead-text {
  font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.25rem);
  color: var(--ink-secondary);
  margin-block: 16px 28px;
  max-width: 620px;
}

.hero-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 32px;
}

.hero-trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(18px, 3vw, 36px);
  padding-top: 24px;
  border-top: 1px solid var(--pearl-border);
}

.trust-item h4 {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--ink-primary);
}

.trust-item p {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink-muted);
}

/* --- 8. Custom Blossom Play Arena --- */
.play-arena-box {
  background: var(--pearl-white);
  border: 1.5px solid var(--pearl-border-strong);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  padding: clamp(20px, 3vw, 32px);
  position: relative;
  overflow: hidden;
}

.arena-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--pearl-border);
}

.arena-topbar .arena-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--orchid-deep);
}

.arena-streak-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245, 158, 11, 0.12);
  color: #b45309;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 700;
}

.word-input-board {
  text-align: center;
  margin-bottom: 18px;
}

.active-word-tray {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem);
  font-weight: 900;
  letter-spacing: 0.12em;
  color: var(--ink-primary);
  text-transform: uppercase;
}

.active-word-tray .placeholder-hint {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink-subtle);
  letter-spacing: normal;
  text-transform: none;
}

.arena-feedback {
  min-height: 26px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-muted);
  transition: all var(--duration) var(--ease);
}

.arena-feedback.success {
  color: var(--emerald-dew);
  font-weight: 800;
}

.arena-feedback.error {
  color: var(--orchid);
  font-weight: 800;
}

/* Custom Petal Blossom Layout */
.petal-stage {
  position: relative;
  width: min(290px, 78vw);
  aspect-ratio: 1 / 1;
  margin: 12px auto 20px;
}

.petal-btn {
  position: absolute;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--pearl-white);
  border: 2px solid var(--pearl-border-strong);
  box-shadow: var(--shadow-sm);
  color: var(--ink-primary);
  font-size: 1.35rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) translate(
    calc(cos(var(--pos)) * 96px),
    calc(sin(var(--pos)) * 96px)
  );
  transition: transform 0.18s var(--ease), background-color 0.18s, border-color 0.18s, color 0.18s;
  user-select: none;
}

.petal-btn:nth-child(1) { --pos: -90deg; }
.petal-btn:nth-child(2) { --pos: -30deg; }
.petal-btn:nth-child(3) { --pos: 30deg; }
.petal-btn:nth-child(4) { --pos: 90deg; }
.petal-btn:nth-child(5) { --pos: 150deg; }
.petal-btn:nth-child(6) { --pos: 210deg; }

.petal-btn:hover {
  transform: translate(-50%, -50%) translate(
    calc(cos(var(--pos)) * 96px),
    calc(sin(var(--pos)) * 96px)
  ) scale(1.12);
  border-color: var(--orchid);
  background: rgba(225, 29, 72, 0.08);
  color: var(--orchid);
}

.petal-btn:active,
.petal-btn.selected {
  background: var(--orchid);
  color: #ffffff;
  border-color: var(--orchid);
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.35);
}

.center-core-btn {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: var(--grad-bloom);
  color: #ffffff;
  font-size: 1.65rem;
  font-weight: 900;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-bloom);
  border: 3px solid #ffffff;
  transition: transform 0.18s var(--ease), box-shadow 0.18s;
  z-index: 5;
  user-select: none;
}

.center-core-btn:hover {
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 0 0 32px rgba(225, 29, 72, 0.55);
}

.center-core-btn.selected {
  box-shadow: 0 0 0 4px var(--orchid-glow), var(--shadow-bloom);
}

.arena-controls {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 8px;
}

.arena-score-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--pearl-border);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-secondary);
}

.arena-score-bar strong {
  font-size: 1.25rem;
  color: var(--orchid);
}

.progress-track {
  width: 100%;
  height: 7px;
  background: var(--pearl-alt);
  border-radius: var(--radius-pill);
  overflow: hidden;
  margin-top: 8px;
}

.progress-fill {
  height: 100%;
  background: var(--grad-bloom);
  border-radius: var(--radius-pill);
  transition: width 0.4s var(--ease);
}

.found-chips-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  max-height: 90px;
  overflow-y: auto;
  margin-top: 14px;
  padding: 4px;
}

.found-chip {
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 700;
  background: rgba(225, 29, 72, 0.08);
  color: var(--orchid-deep);
}

.found-chip.pangram {
  background: var(--grad-bloom);
  color: #ffffff;
}

/* Mobile arena adjustment */
@media (max-width: 480px) {
  .petal-stage {
    width: 250px;
  }
  .petal-btn {
    width: 50px;
    height: 50px;
    font-size: 1.15rem;
    transform: translate(-50%, -50%) translate(
      calc(cos(var(--pos)) * 82px),
      calc(sin(var(--pos)) * 82px)
    );
  }
  .petal-btn:hover,
  .petal-btn:active {
    transform: translate(-50%, -50%) translate(
      calc(cos(var(--pos)) * 82px),
      calc(sin(var(--pos)) * 82px)
    ) scale(1.1);
  }
  .center-core-btn {
    width: 62px;
    height: 62px;
    font-size: 1.4rem;
  }
}

/* --- 9. Video & Gameplay Showcase Component --- */
.video-showcase-card {
  background: var(--pearl-white);
  border: 1.5px solid var(--pearl-border-strong);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 860px) {
  .video-showcase-card {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.video-thumb-holder {
  position: relative;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #1e1b4b 0%, #0f172a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
}

.video-art-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  transition: transform 0.6s var(--ease);
}

.video-thumb-holder:hover .video-art-svg {
  transform: scale(1.05);
}

.video-play-trigger {
  position: relative;
  z-index: 2;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--grad-bloom);
  color: #ffffff;
  font-size: 1.75rem;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px rgba(225, 29, 72, 0.5);
  transition: transform 0.25s var(--ease);
}

.video-thumb-holder:hover .video-play-trigger {
  transform: scale(1.15);
}

.video-badge-pill {
  position: absolute;
  bottom: 16px;
  left: 16px;
  z-index: 2;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
}

.video-body-pane {
  padding: clamp(24px, 3.5vw, 40px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.video-body-pane h3 {
  margin-bottom: 12px;
}

.video-body-pane ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-block: 16px 24px;
}

.video-body-pane li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--ink-secondary);
}

.video-body-pane li svg {
  color: var(--emerald-dew);
  flex-shrink: 0;
}

/* --- 10. Live Embedded Game Shell --- */
.live-frame-shell {
  max-width: 900px;
  margin-inline: auto;
  background: var(--pearl-white);
  border: 1.5px solid var(--pearl-border-strong);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.live-frame-container {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #0f172a;
}

.live-frame-container iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.live-frame-cover {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, #1e293b 0%, #0f172a 100%);
  z-index: 5;
  cursor: pointer;
  text-align: center;
  padding: 24px;
  transition: opacity 0.3s var(--ease);
}

.live-frame-cover.hidden {
  opacity: 0;
  pointer-events: none;
}

.live-frame-cover .play-icon-glow {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: var(--grad-bloom);
  color: #ffffff;
  font-size: 2.2rem;
  display: grid;
  place-items: center;
  box-shadow: 0 0 35px rgba(225, 29, 72, 0.6);
  margin-bottom: 18px;
  transition: transform 0.25s var(--ease);
}

.live-frame-cover:hover .play-icon-glow {
  transform: scale(1.12);
}

.live-frame-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding: 14px 24px;
  background: var(--pearl-white);
  border-top: 1px solid var(--pearl-border);
}

.rating-stars {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--amber-glow);
  font-weight: 800;
  font-size: 0.9375rem;
}

/* --- 11. Cards, Grids & Silo Links --- */
.grid {
  display: grid;
  gap: clamp(20px, 3vw, 32px);
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 310px), 1fr));
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}

.feature-card {
  background: var(--pearl-white);
  border: 1.5px solid var(--pearl-border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 34px);
  transition: transform var(--duration) var(--ease), border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--orchid-glow);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}

.card-icon.rose {
  background: rgba(225, 29, 72, 0.1);
  color: var(--orchid);
}

.card-icon.violet {
  background: rgba(124, 58, 237, 0.1);
  color: var(--violet-brand);
}

.card-icon.emerald {
  background: rgba(16, 185, 129, 0.1);
  color: var(--emerald-dew);
}

.card-icon.amber {
  background: rgba(245, 158, 11, 0.12);
  color: var(--amber-glow);
}

.card-icon svg {
  width: 26px;
  height: 26px;
}

.silo-hub-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.silo-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: var(--pearl-white);
  border: 1.5px solid var(--pearl-border-strong);
  border-radius: var(--radius-pill);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--ink-secondary);
}

.silo-pill:hover {
  border-color: var(--orchid);
  color: var(--orchid);
  background: rgba(225, 29, 72, 0.06);
  transform: translateY(-2px);
}

/* --- 12. Step Guide & Tutorial Layout --- */
.step-timeline {
  display: flex;
  flex-direction: column;
  gap: 20px;
  counter-reset: step-count;
}

.step-card {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 20px;
  background: var(--pearl-white);
  border: 1.5px solid var(--pearl-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  counter-increment: step-count;
}

.step-num-bubble {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--grad-bloom);
  color: #ffffff;
  font-weight: 900;
  font-size: 1.25rem;
  display: grid;
  place-items: center;
}

.step-card h3 {
  margin-bottom: 8px;
}

/* --- 13. Data Tables --- */
.table-responsive {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--pearl-border-strong);
  background: var(--pearl-white);
  margin-block: 24px;
}

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

th {
  background: var(--pearl-alt);
  padding: 16px 20px;
  font-weight: 800;
  color: var(--ink-primary);
  border-bottom: 1.5px solid var(--pearl-border-strong);
}

td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--pearl-border);
  color: var(--ink-secondary);
}

tr:last-child td {
  border-bottom: none;
}

tr:hover td {
  background: rgba(225, 29, 72, 0.03);
}

/* --- 14. FAQ Accordion --- */
.faq-accordion-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-card {
  border: 1.5px solid var(--pearl-border);
  border-radius: var(--radius-md);
  background: var(--pearl-white);
  overflow: hidden;
  transition: all var(--duration) var(--ease);
}

.faq-card:hover {
  border-color: var(--orchid-glow);
}

.faq-card[open] {
  border-color: var(--orchid);
  box-shadow: var(--shadow-sm);
}

.faq-card summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink-primary);
  cursor: pointer;
  list-style: none;
}

.faq-card summary::-webkit-details-marker {
  display: none;
}

.faq-card summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--orchid);
  transition: transform var(--duration) var(--ease);
}

.faq-card[open] summary::after {
  transform: rotate(45deg);
}

.faq-body {
  padding: 0 24px 22px;
  color: var(--ink-secondary);
  line-height: 1.7;
}

/* --- 15. Daily Answers & Progressive Hints --- */
.hint-tier-box {
  background: var(--pearl-white);
  border: 1.5px solid var(--pearl-border-strong);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 16px;
  cursor: pointer;
  transition: all var(--duration) var(--ease);
}

.hint-tier-box:hover {
  border-color: var(--orchid);
  box-shadow: var(--shadow-sm);
}

.hint-tier-box.revealed {
  background: rgba(225, 29, 72, 0.04);
  border-color: var(--orchid);
}

.hint-tier-box .hint-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 800;
  color: var(--ink-primary);
}

.hint-tier-box .hint-preview-action {
  color: var(--orchid);
  font-size: 0.875rem;
  font-weight: 700;
}

.hint-tier-box.revealed .hint-preview-action {
  display: none;
}

.hint-tier-box .hint-hidden-text {
  display: none;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(225, 29, 72, 0.15);
  color: var(--ink-secondary);
}

.hint-tier-box.revealed .hint-hidden-text {
  display: block;
}

/* --- 16. Breadcrumbs --- */
.breadcrumb-trail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-muted);
  margin-bottom: 20px;
}

.breadcrumb-trail a {
  color: var(--ink-muted);
}

.breadcrumb-trail a:hover {
  color: var(--orchid);
}

.breadcrumb-trail .sep {
  color: var(--pearl-border-strong);
}

.breadcrumb-trail .current-crumb {
  color: var(--ink-primary);
  font-weight: 700;
}

/* --- 17. Article Prose --- */
.prose-content h2 {
  margin-top: 48px;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--pearl-border);
}

.prose-content h3 {
  margin-top: 32px;
  margin-bottom: 12px;
}

.prose-content p {
  font-size: 1.0625rem;
  line-height: 1.75;
}

.prose-content ul,
.prose-content ol {
  margin-block: 16px 24px;
  padding-left: 24px;
}

.prose-content li {
  margin-bottom: 8px;
  color: var(--ink-secondary);
}

.prose-content ul {
  list-style: disc;
}

.prose-content ol {
  list-style: decimal;
}

.callout-box {
  background: var(--pearl-white);
  border: 1.5px solid var(--pearl-border-strong);
  border-left: 5px solid var(--orchid);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-block: 28px;
}

.callout-box h4 {
  color: var(--orchid-deep);
  margin-bottom: 8px;
}

/* --- 18. Footer --- */
.site-footer {
  background: var(--indigo-dark);
  color: #94a3b8;
  padding-top: clamp(56px, 7vw, 90px);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
  .footer-top-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer-brand-col p {
  color: #94a3b8;
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-top: 14px;
  max-width: 340px;
}

.footer-nav-col h4 {
  color: #ffffff;
  font-size: 0.9375rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.footer-nav-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav-col a {
  color: #94a3b8;
  font-size: 0.9375rem;
}

.footer-nav-col a:hover {
  color: var(--magenta-soft);
}

.footer-bottom-bar {
  padding: 28px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.8125rem;
}

.footer-legal-links {
  display: flex;
  gap: 20px;
}

.footer-legal-links a:hover {
  color: #ffffff;
}

/* --- 19. Utilities & Micro Animations --- */
.text-center { text-align: center; }
.mt-4 { margin-top: 1.5rem; }
.mt-8 { margin-top: 3rem; }

@keyframes bloom-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* Print Styles */
@media print {
  .site-nav-header,
  .site-footer,
  .play-arena-box,
  .btn {
    display: none !important;
  }
  body {
    background: #ffffff;
    color: #000000;
  }
}
