:root {
  --bg-base: #0f172a;
  --bg-surface: #1e293b;
  --logo-bg: #0c1015;
  --primary: #38bdf8;
  --primary-dark: #0284c7;
  --secondary: #a78bfa;
  --secondary-dark: #7c3aed;
  --accent: #e98725;
  --accent-dark: #a45613;
  --success: #34d399;
  --success-dark: #059669;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --font-display: "Fredoka", sans-serif;
  --font-body: "Quicksand", sans-serif;
  --radius-sm: 16px;
  --radius-md: 24px;
  --radius-lg: 32px;
  --radius-pill: 100px;
  --shadow-card: 0px 8px 0px rgba(2, 6, 23, 0.4);
  --shadow-hover: 0px 12px 0px rgba(2, 6, 23, 0.6);
  --shadow-btn-primary: 0px 6px 0px var(--primary-dark);
  --shadow-btn-secondary: 0px 6px 0px var(--secondary-dark);
  --discord-color: #5865f2;
  --discord-color-dark: #404eed;
  --shadow-btn-discord: 0px 6px 0px var(--discord-color-dark);
  --border-thick: 4px solid #0f172a;

  /* Wiki Theme Variables (Scoped) */
}

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

.text-white {
  color: #fff;
}
body .text-primary {
  color: var(--primary) !important;
}
body .text-secondary {
  color: var(--secondary) !important;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-base);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  background-image:
    radial-gradient(
      circle at 15% 50%,
      rgba(56, 189, 248, 0.05),
      transparent 25%
    ),
    radial-gradient(
      circle at 85% 30%,
      rgba(167, 139, 250, 0.08),
      transparent 25%
    );
  background-attachment: fixed;
  overflow-x: hidden;
  font-size: 1.1rem;
  font-weight: 500;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text-main);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.2s ease;
}

.custom-site-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Nav logo */
.nav-logo {
  height: 44px;
  width: auto;
}
/* --- NAVIGATION --- */
.navbar-toggler {
  padding: 0.5rem;
  font-size: 1.25rem;
  line-height: 1;
  background-color: transparent;
  border: 1px solid transparent;
  border-radius: 0.25rem;
  transition: box-shadow 0.15s ease-in-out;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.25rem rgba(56, 189, 248, 0.25);
}

.navbar {
  margin-bottom: 50px; /* Increased spacing from header */
}

/* Bootstrap navbar-dark handles .navbar-toggler-icon natively (white lines) */

@media (max-width: 991.98px) {
  /* Fixed navbar — always at top, full width */
  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1050;
    background: var(--bg-base) !important;
    border-bottom: none;
    border-radius: 0;
    padding: 6px 16px;
    margin: 0;
  }

  /* Push page content below the fixed navbar */
  body {
    padding-top: 52px;
  }

  /* Toggler — clean white lines, no background box */
  .navbar-toggler {
    padding: 6px 8px;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    margin-right: 4px;
  }

  .navbar-toggler-icon {
    width: 24px;
    height: 24px;
  }

  .navbar-brand {
    margin-left: 4px;
  }

  .navbar-collapse {
    background: var(--bg-surface);
    margin-top: 12px;
    padding: 20px;
    border-radius: var(--radius-md);
    border: var(--border-thick);
    box-shadow: var(--shadow-card);
    border-color: var(--primary) !important;
  }

  .nav-link {
    text-align: center;
    margin: 5px 0;
    font-size: 1.2rem;
  }
}

.cursor-pointer {
  cursor: pointer;
}

/* --- TABS ANIMATED CONTAINER --- */
.tab-container-animate {
  display: none;
  animation: slideIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.tab-container-animate.active {
  display: block;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- HEADER / HERO --- */
.hero {
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 60px 0;
}

.hero-content {
  flex: 1;
}

.hero-title {
  font-size: 4.5rem;
  line-height: 1.1;
  margin-bottom: 20px;
  text-shadow:
    4px 4px 0px #000,
    8px 8px 0px rgba(0, 0, 0, 0.2);
}

.hero-title span {
  color: var(--primary);
}

.hero-subtitle {
  font-size: 1.4rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 600px;
}

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
}

.hero-video-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
  border: var(--border-thick);
  box-shadow: 0px 15px 0px rgba(0, 0, 0, 0.5), 0 0 40px rgba(56, 189, 248, 0.15);
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
}

.hero-video-wrapper video {
  width: 100%;
  height: auto;
  display: block;
}

.logo-chunky {
  background: var(--logo-bg);
  border: var(--border-thick);
  border-radius: var(--radius-lg);
  box-shadow: 0px 15px 0px rgba(0, 0, 0, 0.4);
  max-width: 450px;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.logo-chunky:hover {
  transform: translateY(-10px) rotate(-2deg);
}

.logo-chunky img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}

/* --- CONTENT SECTIONS --- */
.section-header {
  text-align: center;
  margin: 80px 0 40px;
  position: relative;
}

.section-header h2 {
  font-size: 2.5rem;
  display: inline-block;
  background: var(--bg-surface);
  padding: 10px 40px;
  border-radius: var(--radius-pill);
  border: var(--border-thick);
  color: var(--secondary);
  box-shadow: var(--shadow-card);
  position: relative;
  z-index: 2;
}

/* --- WIKI LAYOUT --- */
.wiki-container {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  min-height: 100vh;
  width: 100%;
  max-width: 100%;
}

.wiki-sidebar {
  width: 300px;
  background: var(--bg-surface);
  border: var(--border-thick);
  border-radius: var(--radius-lg);
  padding: 30px 0;
  box-shadow: var(--shadow-card);
  position: sticky;
  top: 40px;
  max-height: calc(100vh - 80px);
  overflow-y: auto;
}

.mobile-wiki-toggle {
  background: var(--bg-surface);
  border: 2px solid var(--primary);
  border-radius: 12px;
  color: var(--primary);
  transition: all 0.2s ease;
  min-height: 52px;
}

.mobile-wiki-toggle:active {
  background: rgba(56, 189, 248, 0.1);
  transform: scale(0.98);
}

.offcanvas .wiki-sidebar {
  width: 100%;
  position: relative;
  top: 0;
  max-height: none;
  box-shadow: none;
  border-radius: 0;
}

.wiki-tree {
  list-style: none;
  padding-left: 0px;
}

.wiki-tree-item {
  padding: 10px 12px 10px 4px;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
  border-left: 6px solid transparent;
}

.wiki-tree-item:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
}

.wiki-tree-item.active {
  color: var(--primary);
  background: rgba(56, 189, 248, 0.1);
  border-left-color: var(--primary);
}

.wiki-tree-sub {
  list-style: none;
  padding-left: 0px;
}

.wiki-tree-sub-item {
  padding: 8px 12px 8px 24px;
  font-size: 0.95rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.wiki-tree-sub-item:hover {
  color: var(--text-main);
}

.wiki-tree-sub-item.active {
  color: var(--secondary);
  font-weight: 800;
}

.wiki-category-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  padding: 20px 12px 10px 10px;
  font-weight: 900;
  transition: all 0.2s ease;
}

.wiki-category-label:hover {
  color: var(--text-main);
}

.wiki-content {
  flex: 1;
  padding: 10px 0 100px;
  scroll-behavior: smooth;
  min-width: 0; /* Ensures flex container can shrink beyond content width */
  max-width: 100%;
}

.wiki-page {
  /* display: none; */
  padding-bottom: 60px;
  border-bottom: 2px dashed rgba(255, 255, 255, 0.05);
  margin-bottom: 60px;
}

.wiki-page:last-child {
  border-bottom: none;
}

.wiki-page.active {
  display: block;
}

.wiki-page-section {
  /* Wiki Theme Variables (Scoped) */
  --m-bg-base: #0e0e0e;
  --m-bg-surface: #1b212d;
  --m-bg-inner: #0c1015;
  --m-primary: #e98725;
  --m-primary-dark: #a45613;
  --m-border: #334155;
  --m-text: #ffffff;
  --m-text-dim: #94a3b8;
  --m-success: #34d399;
  --m-info: #38bdf8;

  background: var(--bg-surface);
  border: var(--border-thick);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-card);
  margin-bottom: 40px;
  position: relative;
}

.wiki-page-section h2 {
  margin-bottom: 20px;
  font-size: 2rem;
}

.wiki-page-section p {
  margin-bottom: 25px;
  color: var(--text-muted);
  font-size: 1.1rem;
}

.wiki-page-section h4 {
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.wiki-page-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.wiki-control-card {
  background: var(--bg-base);
  border-radius: var(--radius-md);
  padding: 30px;
  border: 4px solid #334155;
  margin-bottom: 30px;
  color: var(--text-main);
  overflow-x: hidden;
}

/* Markdown Rendering Styles within Cards */
.wiki-control-card h1, .wiki-control-card h2, .wiki-control-card h3 {
  color: var(--primary);
  margin-top: 25px;
  margin-bottom: 15px;
  font-family: var(--font-display);
}

.wiki-control-card h4, .wiki-control-card h5, .wiki-control-card h6 {
  color: var(--text-main);
  margin-top: 20px;
  margin-bottom: 10px;
}

.wiki-control-card p {
  margin-bottom: 16px;
  color: var(--text-main);
  opacity: 0.9;
  line-height: 1.7;
}

.wiki-control-card ul, .wiki-control-card ol {
  margin-bottom: 20px;
  padding-left: 25px;
}

.wiki-control-card li {
  margin-bottom: 8px;
  color: var(--text-muted);
}

.wiki-control-card li strong {
  color: var(--text-main);
}

.wiki-control-card code {
  background: rgba(56, 189, 248, 0.1);
  color: var(--primary);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: monospace;
}

.wiki-control-card img {
  max-width: 100%;
  border-radius: var(--radius-sm);
  margin: 20px 0;
}

.wiki-control-card h4 {
  color: var(--primary);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.wiki-tip {
  background: rgba(167, 139, 250, 0.1);
  border-left: 4px solid var(--secondary);
  padding: 15px;
  margin-top: 20px;
  font-size: 0.95rem;
  border-radius: 0 12px 12px 0;
}

.section-header::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 4px;
  background: #1e293b;
  z-index: 1;
}

/* --- APP UI MOCKUP STYLES (for Wiki) --- */
.app-mockup {
  background: var(--logo-bg);
  border: var(--border-thick);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  color: var(--text-main);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  margin: 30px 0;
}

.mock-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 10px;
}

.mock-layout {
  display: grid;
  grid-template-columns: 1fr 280px 80px;
  gap: 20px;
}

.mock-panel {
  background: var(--bg-surface);
  border: 4px solid #334155;
  border-radius: var(--radius-md);
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.mock-panel h4 {
  font-size: 1rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Mock Sliders */
.mock-slider-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.mock-slider-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
}

.mock-slider-track {
  height: 24px;
  background: var(--bg-base);
  border: 2px solid #334155;
  border-radius: 12px;
  position: relative;
  display: flex;
  align-items: center;
}

.mock-slider-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 10px;
}

.mock-slider-thumb {
  width: 28px;
  height: 28px;
  background: var(--bg-surface);
  border: 3px solid var(--accent);
  border-radius: 50%;
  position: absolute;
  transform: translateX(-50%);
  display: flex;
  gap: 2px;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.thumb-line {
  width: 2px;
  height: 10px;
  background: var(--accent);
}

/* Mock Visualizer */
.mock-vis-area {
  width: 100%;
  aspect-ratio: 1;
  background: var(--bg-base);
  border: 3px solid #334155;
  border-radius: var(--radius-sm);
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.mock-vis-grid-h {
  width: 100%;
  height: 1px;
  background: rgba(56, 189, 248, 0.2);
  position: absolute;
}
.mock-vis-grid-v {
  height: 100%;
  width: 1px;
  background: rgba(56, 189, 248, 0.2);
  position: absolute;
}

.mock-vis-dot {
  width: 20px;
  height: 20px;
  background: #fff;
  border: 4px solid var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 15px var(--accent);
  z-index: 2;
}

/* Mock Jump Bar */
.mock-jump-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  height: 100%;
}

.mock-jump-circle {
  width: 50px;
  height: 50px;
  border: 4px solid var(--accent);
  border-radius: 50%;
  background: var(--bg-base);
}

.mock-jump-bar-frame {
  flex: 1;
  width: 40px;
  background: var(--bg-base);
  border: 3px solid #334155;
  border-radius: var(--radius-sm);
  padding: 4px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.mock-jump-fill {
  width: 100%;
  height: 20%;
  background: var(--accent);
  border-radius: 8px;
}

/* --- PHONE MOCKUP --- */
.phone-frame {
  width: 320px;
  height: 600px;
  background: #000;
  border-radius: 40px;
  border: 12px solid #334155;
  padding: 15px;
  box-shadow: 20px 20px 0px rgba(0, 0, 0, 0.4);
  position: relative;
}

.phone-screen {
  background: var(--bg-base);
  width: 100%;
  height: 100%;
  border-radius: 25px;
  border: 4px solid #000;
  padding: 20px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.app-header {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--primary);
  text-align: center;
  margin-bottom: 20px;
  border-bottom: 2px solid #334155;
  padding-bottom: 10px;
}

.app-status {
  background: var(--success-dark);
  color: #fff;
  padding: 5px 15px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 20px;
}

/* --- SHARED UI COMPONENTS (Slider, Graph, etc) --- */
.slider-container {
  margin-bottom: 25px;
}

.slider-label {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.slider-track {
  height: 32px;
  background: var(--bg-base);
  border: 3px solid #334155;
  border-radius: var(--radius-pill);
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 4px;
}

.slider-line {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}

.slider-fill {
  height: 100%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  border-radius: 10px;
}

.slider-thumb {
  width: 36px;
  height: 36px;
  background: var(--bg-surface);
  border: 4px solid var(--accent);
  border-radius: 50%;
  position: absolute;
  transform: translateX(-50%);
  display: flex;
  gap: 2px;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  z-index: 5;
}

.thumb-line {
  width: 2px;
  height: 12px;
  background: var(--accent);
  border-radius: 2px;
}

.curve-graph {
  width: 100%;
  height: 120px;
  background: var(--bg-base);
  border: 3px solid #334155;
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
}

.curve-grid-h,
.curve-grid-v {
  position: absolute;
  background: rgba(56, 189, 248, 0.1);
}
.curve-grid-h {
  width: 100%;
  height: 1px;
  top: 50%;
}
.curve-grid-v {
  height: 100%;
  width: 1px;
  left: 50%;
}

.curve-line {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.curve-line path {
  vector-effect: non-scaling-stroke;
}

/* --- CARDS & PANELS --- */
.custom-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.panel {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: var(--border-thick);
  padding: 40px;
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
}

.panel:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.panel h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 15px;
}

/* --- VIDEO & MEDIA BLOCKS --- */
.media-block {
  background: #000;
  border-radius: var(--radius-md);
  border: 4px solid #334155;
  aspect-ratio: 16 / 9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: inset 0 0 50px rgba(56, 189, 248, 0.1);
}

.media-block::before {
  content: "▶️";
  font-size: 4rem;
  opacity: 0.5;
  transition: all 0.3s ease;
}

.media-block:hover::before {
  opacity: 1;
  transform: scale(1.1);
}

.media-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(15, 23, 42, 0.9);
  padding: 15px;
  text-align: center;
  font-family: var(--font-display);
  color: var(--primary);
  border-top: 2px solid var(--primary);
}

.img-placeholder {
  background: #1e293b url("../images/bg_pattern.png");
  border-radius: var(--radius-md);
  border: 4px dashed #334155;
  padding: 60px;
  text-align: center;
  color: var(--text-muted);
  font-family: var(--font-display);
}

/* --- HERO BADGE & STATS --- */
.hero-badge {
  display: inline-block;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 0.85rem;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.05em;
}

.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.stat-val {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
}

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

/* --- FEATURE CARDS --- */
.feature-card {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  border: var(--border-thick);
  padding: 24px;
  height: 100%;
  transition:
    transform 0.15s ease,
    border-color 0.15s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(56, 189, 248, 0.4);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 12px;
  line-height: 1;
}

.feature-card h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

/* --- COMPAT PILLS (Three Pillars) --- */
.compat-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.compat-pill {
  font-family: var(--font-display);
  font-size: 0.8rem;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: var(--text-muted);
}

.compat-pill.active {
  background: rgba(56, 189, 248, 0.15);
  border-color: var(--primary);
  color: var(--primary);
}

/* --- OUTPUT MODES (Three Pillars) --- */
.output-modes {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.output-mode-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.mode-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* --- COMPATIBLE WITH GRID --- */
.compat-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.compat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 8px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.15s;
  text-align: center;
}

.compat-item:hover {
  background: rgba(56, 189, 248, 0.06);
}

.compat-icon {
  font-size: 2rem;
  line-height: 1;
}

.compat-item span {
  font-family: var(--font-display);
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* --- BOTTOM CTA --- */
.cta-section {
  margin-top: 20px;
}

.cta-panel {
  background: linear-gradient(
    135deg,
    rgba(56, 189, 248, 0.08) 0%,
    rgba(167, 139, 250, 0.08) 100%
  );
  border-color: rgba(56, 189, 248, 0.25) !important;
}

.cta-panel h2 {
  font-size: 2rem;
}

/* --- BUTTONS --- */

.btn-group {
  display: flex;
  gap: 20px;
  margin-top: 30px;
}

.btn {
  font-family: var(--font-display);
  font-size: 1.2rem;
  padding: 16px 32px;
  border-radius: var(--radius-pill);
  border: 3px solid #000;
  cursor: pointer;
  transition: all 0.1s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-primary {
  background: var(--primary);
  color: #000;
  box-shadow: var(--shadow-btn-primary);
}

.btn-primary:active {
  transform: translateY(6px);
  box-shadow: 0px 0px 0px var(--primary-dark);
}

.btn-secondary {
  background: var(--secondary);
  color: #000;
  box-shadow: var(--shadow-btn-secondary);
}

.btn-secondary:active {
  transform: translateY(6px);
  box-shadow: 0px 0px 0px var(--secondary-dark);
}

.btn-discord {
  background: var(--discord-color);
  color: #fff;
  box-shadow: var(--shadow-btn-discord);
  border-color: #000 !important;
}

.btn-discord:active {
  transform: translateY(6px);
  box-shadow: 0px 0px 0px var(--discord-color-dark);
}

.btn-primary:hover {
  background: var(--primary) !important;
  filter: brightness(1.1);
  color: #000 !important;
  transform: translateY(-2px);
  box-shadow: 0px 8px 0px var(--primary-dark);
}

.btn-secondary:hover {
  background: var(--secondary) !important;
  filter: brightness(1.1);
  color: #000 !important;
  transform: translateY(-2px);
  box-shadow: 0px 8px 0px var(--secondary-dark);
}

.btn-discord:hover {
  background: var(--discord-color) !important;
  filter: brightness(1.1);
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0px 8px 0px var(--discord-color-dark);
}

/* --- FOOTER --- */
footer {
  padding: 60px 0;
  text-align: center;
  border-top: var(--border-thick);
  margin-top: 100px;
}

footer p {
  color: var(--text-muted);
  font-weight: 700;
}

/* Inline Buttons for Phone Step */
.phone-step-links {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.btn-demo-inline, .btn-steam-inline {
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 700;
  transition: all 0.2s ease;
  border: 2px solid #000 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
}

.btn-demo-inline {
  background: var(--primary) !important;
  color: #000 !important;
  box-shadow: 0 4px 0 #000;
}

.btn-demo-inline:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 #000;
}

.btn-demo-inline:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #000;
}

.btn-steam-inline {
  background: transparent !important;
  color: var(--primary) !important;
  border-color: var(--primary) !important;
}

.btn-steam-inline:hover {
  background: rgba(56, 189, 248, 0.1) !important;
}

.links-separator {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
}

/* --- RESPONSIVE --- */

/* ========== TABLET (768px – 1024px) ========== */
@media (min-width: 768px) and (max-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }

  .section-header h2 {
    font-size: 2rem;
    padding: 8px 28px;
  }

  /* Mockup: hide narrow Jump column, keep 2 cols */
  .mock-layout {
    grid-template-columns: 1fr 1fr !important;
  }
  .mock-layout > *:nth-child(3) {
    display: none;
  }

  .wiki-page-section {
    padding: 30px;
  }

  .panel {
    padding: 30px;
  }

  /* Compact compat grid for tablet */
  .compat-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

/* ========== MOBILE (≤ 767px) ========== */
@media (max-width: 767px) {
  /* Hero */
  .hero {
    flex-direction: column;
    text-align: center;
    gap: 30px;
    padding: 30px 0;
  }

  .hero-title {
    font-size: 2.6rem;
    text-shadow:
      2px 2px 0px #000,
      4px 4px 0px rgba(0, 0, 0, 0.2);
  }

  .hero-subtitle {
    font-size: 1.1rem;
    margin: 0 auto 30px;
  }

  .hero-visual {
    width: 100%;
  }

  .logo-chunky {
    max-width: 300px;
    margin: 0 auto;
  }

  /* Hero Badge & Stats */
  .hero-badge {
    margin-bottom: 20px;
  }

  .hero-stats {
    justify-content: center;
    gap: 20px 40px;
    margin-top: 25px;
  }

  .stat-val {
    font-size: 1.5rem;
  }

  /* Compat Grid */
  .compat-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 10px;
  }

  .compat-item {
    padding: 12px 6px;
  }

  .compat-icon {
    font-size: 1.6rem;
  }

  /* Stack download links on mobile */
  .phone-step-links {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: 15px;
  }

  .btn-demo-inline, .btn-steam-inline {
    text-align: center;
    padding: 12px;
    font-size: 1rem;
    width: 100%;
  }

  .links-separator {
    display: none;
  }

  /* Nav */
  .nav-links {
    display: none;
  }

  /* Features — wiki layout: stack toggle above content */
  .wiki-container {
    flex-direction: column;
  }

  /* Sidebar fixed width breaks on mobile */
  .wiki-sidebar {
    width: 100%;
    position: relative;
    top: 0;
    max-height: none;
  }

  /* Wiki sidebar toggle — fixed below the navbar, full width */
  .wiki-mobile-toggle-wrapper {
    position: fixed;
    top: 52px;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 900;
    background: var(--bg-base);
    padding: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }

  .wiki-mobile-toggle-wrapper .btn {
    border-radius: 0 !important;
    padding: 10px 16px !important;
    font-size: 0.95rem;
  }

  .wiki-mobile-toggle-wrapper .btn:active {
    background: rgba(56, 189, 248, 0.07) !important;
  }

  /* Push wiki content below fixed navbar + toggle bar */
  .wiki-container {
    padding-top: 44px;
  }

  /* App mockup header — prevent overflow on narrow screens */
  .app-mockup .mock-header {
    flex-wrap: wrap;
    gap: 6px;
  }

  .app-mockup .mock-header > div:first-child {
    flex-wrap: wrap;
  }

  /* Section Headers */
  .section-header {
    margin: 50px 0 30px;
  }

  .section-header h2 {
    font-size: 1.45rem;
    padding: 8px 20px;
    white-space: normal;
    word-break: break-word;
  }

  /* Buttons */
  .btn-group {
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .btn {
    width: 100%;
    justify-content: center;
    font-size: 1.1rem;
    padding: 18px 24px;
    border-radius: var(
      --radius-pill
    ) !important; /* Force pill shape on mobile */
  }

  /* Panels / Cards */
  .panel {
    padding: 22px;
  }

  .panel h3 {
    font-size: 1.4rem;
  }

  .custom-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
  }

  /* Wiki Layout */
  .wiki-container {
    margin-top: 20px;
    gap: 20px;
  }

  .wiki-page-section {
    padding: 20px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
  }

  .wiki-page-section h2 {
    font-size: 1.6rem;
  }

  .wiki-page-section p {
    font-size: 1rem;
  }

  .wiki-control-card {
    padding: 18px;
  }

  /* App Mockup — stack all columns vertically */
  .app-mockup {
    margin: 20px 0;
    padding: 14px;
    gap: 14px;
  }

  .mock-layout {
    grid-template-columns: 1fr !important;
  }

  /* Hide the narrow Jump column in the mockup on mobile */
  .mock-layout > *:nth-child(3) {
    display: none;
  }

  /* Phone Frame */
  .phone-frame {
    width: 100%;
    max-width: 280px;
    height: auto;
    aspect-ratio: 9 / 18;
    margin: 0 auto;
  }

  .phone-screen {
    padding: 14px;
  }

  /* Footer */
  footer {
    padding: 40px 0;
    margin-top: 60px;
  }

  /* img placeholder */
  .img-placeholder {
    padding: 40px 20px;
  }
}

/* ========== SMALL PHONES (≤ 575px) ========== */
@media (max-width: 575px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .section-header h2 {
    font-size: 1.2rem;
    padding: 6px 16px;
  }

  .wiki-page-section h2 {
    font-size: 1.4rem;
  }

  .wiki-page-section {
    padding: 15px;
  }

  .panel {
    padding: 16px;
  }

  .app-mockup {
    padding: 10px;
  }

  .compat-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .btn {
    font-size: 1rem;
    padding: 12px 20px;
  }
}

/* ===== PHONE CTA SECTION ===== */
.phone-cta-panel {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.06) 0%, rgba(167, 139, 250, 0.06) 100%);
  border-color: var(--primary) !important;
}

.phone-cta-emoji {
  font-size: 3rem;
  margin-bottom: 12px;
  line-height: 1;
}

.phone-cta-title {
  font-size: 2.2rem;
  margin-bottom: 12px;
  color: var(--text-main);
}

.phone-cta-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 480px;
  margin-bottom: 8px;
}

.phone-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.phone-step-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-base);
  border: var(--border-thick);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  cursor: pointer;
  text-decoration: none;
  color: var(--text-main);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

a.phone-step-card:hover {
  transform: translateX(6px);
  border-color: var(--primary);
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.3);
  color: var(--text-main);
}

.phone-step-card--done {
  cursor: default;
  opacity: 0.85;
}

.phone-step-num {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: var(--primary);
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
}

.phone-step-body {
  flex: 1;
}

.phone-step-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-main);
  margin-bottom: 2px;
}

.phone-step-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.phone-step-arrow {
  font-size: 1.3rem;
  color: var(--text-muted);
  flex-shrink: 0;
}

a.phone-step-card:hover .phone-step-arrow {
  color: var(--primary);
}

.phone-step-card--no-hover {
  cursor: default !important;
}

.phone-step-card--no-hover:hover {
  transform: none !important;
  box-shadow: none !important;
}


/* --- FEATURE REVEAL BLOCKS (Why Move section) --- */
.feature-reveal-block {
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 60px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.feature-reveal-block.in-view {
  opacity: 1;
  transform: translateY(0);
}

.feature-reveal-block:last-child {
  border-bottom: none;
}

.feature-reveal-block.reverse {
  flex-direction: row-reverse;
}

.feature-reveal-icon {
  flex-shrink: 0;
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  border-radius: var(--radius-lg);
  border: 4px solid #0f172a;
  box-shadow: 0 12px 0 rgba(0,0,0,0.4);
}

.feature-reveal-text h3 {
  font-size: 2.2rem;
  margin-bottom: 16px;
  line-height: 1.2;
}

.feature-reveal-text p {
  font-size: 1.2rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 480px;
}

@media (max-width: 767px) {
  .feature-reveal-block,
  .feature-reveal-block.reverse {
    flex-direction: column;
    text-align: center;
    gap: 30px;
    padding: 40px 0;
  }
  .feature-reveal-icon {
    width: 140px;
    height: 140px;
    font-size: 3.5rem;
  }
  .feature-reveal-text p {
    max-width: 100%;
  }
}

/* --- COMPACT FEATURES STRIP --- */
.features-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.feature-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--bg-surface);
  border: 2px solid #334155;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: border-color 0.2s, color 0.2s;
}

.feature-pill:hover {
  border-color: var(--primary);
  color: var(--text-main);
}

.feature-pill span:first-child {
  font-size: 1.1rem;
}

/* ========================================================
   BUY PAGE
   ======================================================== */

.buy-hero {
  text-align: center;
  padding-top: 20px;
}

.buy-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.2rem;
  max-width: 560px;
  margin: 0 auto 40px;
}

/* ── Pricing Cards ───────────────────────────────────── */
.buy-pricing-section {
  margin-bottom: 60px;
}

.pricing-card {
  background: var(--bg-surface);
  border: 4px solid #334155;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  position: relative;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.pricing-card--full {
  border-color: var(--primary);
  box-shadow: 0 8px 0 var(--primary-dark), 0 0 40px rgba(56, 189, 248, 0.15);
}

.pricing-card--full:hover {
  box-shadow: 0 12px 0 var(--primary-dark), 0 0 60px rgba(56, 189, 248, 0.25);
}

.pricing-badge {
  display: inline-block;
  background: var(--bg-base);
  border: 2px solid #334155;
  border-radius: var(--radius-pill);
  padding: 4px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  align-self: flex-start;
}

.pricing-badge--hot {
  background: rgba(56, 189, 248, 0.12);
  border-color: var(--primary);
  color: var(--primary);
}

.pricing-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-main);
}

.pricing-price {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.pricing-period {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 500;
}

.pricing-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  border-bottom: 2px solid rgba(255,255,255,0.06);
  padding-bottom: 14px;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
}

.pricing-features li {
  padding: 6px 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.pricing-features .feat-ok {
  color: var(--text-main);
}

.pricing-features .feat-no {
  color: var(--accent);
  opacity: 1;
  font-weight: 700;
}

/* ── Platform Buttons in Card ────────────────────────── */
.buy-platforms {
  margin-top: 8px;
  border-top: 2px solid rgba(255,255,255,0.06);
  padding-top: 16px;
}

.buy-platforms-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 10px;
}

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

.buy-platform-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--bg-base);
  border: 2px solid #334155;
  border-radius: var(--radius-sm);
  padding: 10px 8px;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.buy-platform-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(56, 189, 248, 0.08);
  transform: translateY(-2px);
}

/* ── Trust Badges ────────────────────────────────────── */
.buy-trust {
  margin-bottom: 60px;
}

.trust-badge {
  background: var(--bg-surface);
  border: 3px solid #334155;
  border-radius: var(--radius-md);
  padding: 20px 16px;
  transition: border-color 0.2s ease;
}

.trust-badge:hover {
  border-color: var(--primary);
}

.trust-icon {
  font-size: 2rem;
  margin-bottom: 8px;
}

.trust-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-muted);
}

/* ── Activation Steps ────────────────────────────────── */
.buy-activate {
  margin-bottom: 60px;
}

.activate-step {
  background: var(--bg-surface);
  border: 2px solid #334155;
  border-radius: var(--radius-md);
  padding: 12px 16px;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.activate-step:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.activate-num {
  width: 28px;
  height: 28px;
  background: var(--primary);
  color: #000;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  flex-shrink: 0;
}

.activate-text {
  color: var(--text-main);
  font-size: 0.85rem;
  line-height: 1.3;
  font-weight: 500;
}

.activate-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--primary);
  opacity: 0.3;
}

/* ── FAQ ─────────────────────────────────────────────── */
.buy-faq {
  margin-bottom: 60px;
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-surface);
  border: 3px solid #334155;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item:hover {
  border-color: rgba(56, 189, 248, 0.4);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-main);
  user-select: none;
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-toggle {
  font-size: 1.5rem;
  color: var(--primary);
  font-weight: 300;
  flex-shrink: 0;
  margin-left: 12px;
  line-height: 1;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 22px;
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.98rem;
}

.faq-answer.open {
  max-height: 300px;
  padding: 0 22px 20px;
}

/* ── Nav Buy Button ──────────────────────────────────── */
.nav-buy-btn {
  background: var(--primary);
  color: #000 !important;
  font-weight: 700 !important;
  border-radius: var(--radius-pill);
  padding: 6px 20px !important;
  margin-left: 8px;
  transition: background 0.2s ease, transform 0.15s ease !important;
  white-space: nowrap;
}

.nav-buy-btn:hover {
  background: var(--primary-dark) !important;
  transform: translateY(-2px);
}

.nav-buy-btn.active {
  background: var(--primary-dark) !important;
}

/* --- CINEMA SECTION --- */
.cinema-card {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 9;
  min-height: 350px;
  background-image: url("../images/bw_big.jpg");
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: var(--border-thick);
  box-shadow: var(--shadow-card), 0 10px 40px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cinema-card:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: var(--shadow-hover), 0 20px 60px rgba(56, 189, 248, 0.15);
}

.cinema-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(15, 23, 42, 0.8) 0%, rgba(15, 23, 42, 0.3) 100%);
  z-index: 1;
}

.cinema-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px;
}

.cinema-content {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px;
  text-align: center;
}

.play-btn-wrapper {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.play-btn-large {
  width: 80px;
  height: 80px;
  background: rgb(56 189 248 / 33%);
  border: none;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  padding-left: 5px;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease;
  box-shadow: 0 10px 40px rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
}

.play-btn-large svg {
  width: 40px;
  height: 40px;
}

.play-btn-glow {
  position: absolute;
  width: 80px;
  height: 80px;
  background: rgba(56, 189, 248, 0.4);
  border-radius: 50%;
  opacity: 0.6;
  animation: pulse-glow 2.5s infinite;
}

@keyframes pulse-glow {
  0% { transform: scale(1); opacity: 0.6; }
  70% { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(1.6); opacity: 0; }
}

.cinema-card:hover .play-btn-large {
  transform: scale(1.1);
}

.cinema-title {
  font-size: 2.5rem;
  margin-bottom: 8px;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
}

.cinema-subtitle {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: 4px;
  color: var(--primary);
  text-shadow: 0 4px 10px rgba(0,0,0,0.5);
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .cinema-title { font-size: 1.5rem; }
  .play-btn-wrapper { width: 70px; height: 70px; }
  .play-btn-large { width: 60px; height: 60px; }
}

/* --- VIDEO MODAL --- */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.video-modal.active {
  opacity: 1;
  pointer-events: all;
}

.video-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
}

.video-modal-content {
  position: relative;
  width: 95vw;
  max-width: 1900px !important;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--radius-lg);
  border: var(--border-thick);
  box-shadow: 0 0 150px rgba(0,0,0,1), 0 0 50px rgba(56, 189, 248, 0.5);
  overflow: hidden;
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  margin: auto;
}

@media (min-aspect-ratio: 16/9) {
  .video-modal-content {
    height: 92vh;
    width: auto;
  }
}

.video-modal-content iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  border: none;
  display: block;
}

.video-modal.active .video-modal-content {
  transform: scale(1);
}

.video-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  background: var(--bg-surface);
  border: var(--border-thick);
  border-radius: 50%;
  color: #fff;
  font-size: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 100;
  transition: all 0.2s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.video-modal-close:hover {
  background: #f43f5e;
  transform: rotate(90deg) scale(1.1);
}

/* --- ANNOUNCEMENT BANNER --- */
.announcement-banner {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.15), rgba(167, 139, 250, 0.15));
  border: 2px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(56, 189, 248, 0.1);
  backdrop-filter: blur(8px);
  animation: bannerFadeIn 0.8s ease-out forwards;
}

.announcement-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  animation: shine 4s infinite linear;
}

@keyframes shine {
  0% { left: -100%; }
  20% { left: 100%; }
  100% { left: 100%; }
}

@keyframes bannerFadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.announcement-content {
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--text-main);
  flex: 1;
}

.announcement-badge {
  background: var(--accent);
  color: #fff;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
  box-shadow: 0 0 15px rgba(233, 135, 37, 0.3);
  animation: pulseBadge 2s infinite;
}

@keyframes pulseBadge {
  0% { transform: scale(1); box-shadow: 0 0 15px rgba(233, 135, 37, 0.3); }
  50% { transform: scale(1.05); box-shadow: 0 0 25px rgba(233, 135, 37, 0.5); }
  100% { transform: scale(1); box-shadow: 0 0 15px rgba(233, 135, 37, 0.3); }
}

.announcement-text {
  font-size: 1.1rem;
  font-weight: 600;
}

.announcement-text b {
  color: var(--primary);
}

.btn-announcement {
  background: var(--discord-color);
  color: white !important;
  border: none;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: var(--shadow-btn-discord);
  white-space: nowrap;
}

.btn-announcement:hover {
  transform: translateY(-4px);
  background: var(--discord-color-dark);
  box-shadow: 0 8px 20px rgba(88, 101, 242, 0.4);
}

.btn-announcement:active {
  transform: translateY(0);
}

@media (max-width: 991px) {
  .announcement-banner {
    flex-direction: column;
    text-align: center;
    padding: 20px;
    gap: 15px;
  }
  .announcement-content {
    flex-direction: column;
    gap: 8px;
  }
  .announcement-text {
    font-size: 1rem;
  }
}
