/* =====================================================
   StromStrike Prime Theme - Custom CSS
   High-contrast flashes, bold typography, striking rhythm
   ===================================================== */

/* CSS Custom Properties */
:root {
  --color-primary: #00f0ff;
  --color-primary-dark: #00b8c4;
  --color-secondary: #ff2d6a;
  --color-accent: #ffcc00;
  --color-bg-dark: #0a0a12;
  --color-bg-darker: #050508;
  --color-bg-card: #12121f;
  --color-bg-card-hover: #1a1a2e;
  --color-text-light: #f0f0f5;
  --color-text-muted: #a0a0b0;
  --color-border: #2a2a3e;
  --color-success: #00ff88;
  --color-warning: #ff9500;
  --font-display: 'Inter', system-ui, sans-serif;
  --container-max: 90rem;
  --transition-fast: 0.2s ease;
  --transition-medium: 0.4s ease;
}

/* Base Resets */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-bg-dark);
  color: var(--color-text-light);
  font-family: var(--font-display);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 768px) {
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* =====================================================
   Keyframe Animations
   ===================================================== */

/* Particle Float Animation */
@keyframes particleFloat {
  0%, 100% {
    transform: translateY(0) translateX(0) scale(1);
    opacity: 0.6;
  }
  25% {
    transform: translateY(-2rem) translateX(1rem) scale(1.1);
    opacity: 1;
  }
  50% {
    transform: translateY(-4rem) translateX(-0.5rem) scale(0.9);
    opacity: 0.8;
  }
  75% {
    transform: translateY(-2rem) translateX(0.5rem) scale(1.05);
    opacity: 1;
  }
}

/* Flash Pulse Animation */
@keyframes flashPulse {
  0%, 100% {
    opacity: 0.3;
    box-shadow: 0 0 1rem var(--color-primary);
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 3rem var(--color-primary), 0 0 5rem var(--color-primary);
  }
}

/* Tilt Animation */
@keyframes tiltShake {
  0%, 100% {
    transform: rotate(0deg) scale(1);
  }
  25% {
    transform: rotate(-2deg) scale(1.02);
  }
  75% {
    transform: rotate(2deg) scale(1.02);
  }
}

/* Glow Pulse */
@keyframes glowPulse {
  0%, 100% {
    filter: drop-shadow(0 0 0.5rem var(--color-primary));
  }
  50% {
    filter: drop-shadow(0 0 1.5rem var(--color-primary)) drop-shadow(0 0 2.5rem var(--color-secondary));
  }
}

/* Strike Flash */
@keyframes strikeFlash {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}

/* Slide In Up */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(2rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Fade In */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Bounce Subtle */
@keyframes bounceSoft {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-0.5rem);
  }
}

/* =====================================================
   Particle System
   ===================================================== */

.particles-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 0.5rem;
  height: 0.5rem;
  background: var(--color-primary);
  border-radius: 50%;
  animation: particleFloat 8s infinite ease-in-out;
  opacity: 0.4;
}

.particle:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; }
.particle:nth-child(2) { left: 20%; top: 60%; animation-delay: 1s; background: var(--color-secondary); }
.particle:nth-child(3) { left: 35%; top: 30%; animation-delay: 2s; }
.particle:nth-child(4) { left: 50%; top: 70%; animation-delay: 3s; background: var(--color-accent); }
.particle:nth-child(5) { left: 65%; top: 40%; animation-delay: 4s; }
.particle:nth-child(6) { left: 80%; top: 80%; animation-delay: 5s; background: var(--color-secondary); }
.particle:nth-child(7) { left: 90%; top: 25%; animation-delay: 6s; }
.particle:nth-child(8) { left: 5%; top: 85%; animation-delay: 7s; background: var(--color-accent); }

/* =====================================================
   Navigation Styles
   ===================================================== */

.nav-sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(10, 10, 18, 0.98) 0%, rgba(10, 10, 18, 0.95) 100%);
  backdrop-filter: blur(1rem);
  border-bottom: 1px solid var(--color-border);
  transition: var(--transition-medium);
}

.nav-scrolled {
  box-shadow: 0 0.25rem 2rem rgba(0, 240, 255, 0.1);
}

.nav-brand {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-link {
  color: var(--color-text-light);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  transition: var(--transition-fast);
  position: relative;
}

.nav-link:hover {
  color: var(--color-primary);
  background: rgba(0, 240, 255, 0.1);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: var(--transition-fast);
  transform: translateX(-50%);
}

.nav-link:hover::after {
  width: 60%;
}

/* Mobile Menu */
.burger-btn {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.burger-line {
  width: 1.5rem;
  height: 2px;
  background: var(--color-text-light);
  transition: var(--transition-fast);
  border-radius: 1px;
}

.burger-btn.active .burger-line:nth-child(1) {
  transform: rotate(45deg) translate(0.375rem, 0.375rem);
}

.burger-btn.active .burger-line:nth-child(2) {
  opacity: 0;
}

.burger-btn.active .burger-line:nth-child(3) {
  transform: rotate(-45deg) translate(0.375rem, -0.375rem);
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(5, 5, 8, 0.98);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-medium);
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu .nav-link {
  font-size: 1.5rem;
  padding: 1rem 2rem;
}

@media (min-width: 1024px) {
  .burger-btn {
    display: none;
  }
  
  .mobile-menu {
    display: none;
  }
}

/* =====================================================
   Hero Section
   ===================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 5rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 18, 0.7) 0%,
    rgba(10, 10, 18, 0.85) 50%,
    rgba(10, 10, 18, 1) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 60rem;
  padding: 2rem 1rem;
  animation: slideInUp 0.8s ease-out;
}

.hero h1 {
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
  text-shadow: 0 0 3rem rgba(0, 240, 255, 0.3);
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 50%, var(--color-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Bonus Badge Box */
.bonus-badge-box {
  background: linear-gradient(135deg, rgba(18, 18, 31, 0.9) 0%, rgba(26, 26, 46, 0.9) 100%);
  border: 2px solid var(--color-primary);
  border-radius: 1.5rem;
  padding: 2rem;
  margin: 2rem auto;
  max-width: 32rem;
  position: relative;
  overflow: hidden;
  animation: glowPulse 3s infinite;
}

.bonus-badge-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.2), transparent);
  animation: strikeFlash 3s infinite;
}

.bonus-main {
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  font-weight: 800;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

.bonus-sub {
  font-size: 1.125rem;
  color: var(--color-text-muted);
}

/* CTA Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 0.75rem;
  cursor: pointer;
  transition: var(--transition-fast);
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: var(--color-bg-dark);
  box-shadow: 0 0.5rem 2rem rgba(0, 240, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-0.25rem) scale(1.02);
  box-shadow: 0 0.75rem 2.5rem rgba(0, 240, 255, 0.5);
}

.btn-secondary {
  background: transparent;
  color: var(--color-text-light);
  border: 2px solid var(--color-secondary);
}

.btn-secondary:hover {
  background: var(--color-secondary);
  color: var(--color-bg-dark);
  transform: translateY(-0.25rem);
}

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

.wagering-disclaimer {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: 1rem;
  opacity: 0.8;
}

/* =====================================================
   Game Cards Strip
   ===================================================== */

.games-strip {
  padding: 4rem 0;
  position: relative;
  z-index: 10;
  background: linear-gradient(180deg, transparent 0%, rgba(18, 18, 31, 0.5) 50%, transparent 100%);
}

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

@media (min-width: 640px) {
  .games-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .games-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.game-card {
  background: var(--color-bg-card);
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: var(--transition-medium);
  position: relative;
}

.game-card:hover {
  transform: translateY(-0.5rem);
  border-color: var(--color-primary);
  box-shadow: 0 1rem 3rem rgba(0, 240, 255, 0.2);
  animation: tiltShake 0.5s ease;
}

.game-card-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.game-card-content {
  padding: 1rem;
  text-align: center;
}

.game-card-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-text-light);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.game-card .btn {
  width: 100%;
  padding: 0.625rem 1rem;
  font-size: 0.75rem;
}

/* =====================================================
   Step-by-Step Guide
   ===================================================== */

.steps-section {
  padding: 5rem 0;
  position: relative;
  z-index: 10;
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.step-card {
  background: var(--color-bg-card);
  border-radius: 1.5rem;
  padding: 2rem;
  text-align: center;
  border: 1px solid var(--color-border);
  position: relative;
  transition: var(--transition-medium);
}

.step-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-0.5rem);
}

.step-badge {
  width: 4rem;
  height: 4rem;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--color-bg-dark);
  margin: 0 auto 1.5rem;
  box-shadow: 0 0.5rem 2rem rgba(0, 240, 255, 0.3);
}

.step-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-text-light);
}

.step-card p {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.step-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--color-primary);
}

/* =====================================================
   Payments Table
   ===================================================== */

.payments-section {
  padding: 5rem 0;
  position: relative;
  z-index: 10;
  background: var(--color-bg-darker);
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--color-text-light);
}

.section-title .highlight {
  color: var(--color-primary);
}

.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 -1rem;
  padding: 0 1rem;
}

.payments-table {
  width: 100%;
  min-width: 40rem;
  border-collapse: collapse;
  background: var(--color-bg-card);
  border-radius: 1rem;
  overflow: hidden;
}

.payments-table th,
.payments-table td {
  padding: 1rem 1.5rem;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.payments-table th {
  background: rgba(0, 240, 255, 0.1);
  font-weight: 700;
  color: var(--color-primary);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.payments-table td {
  color: var(--color-text-light);
  font-size: 0.9375rem;
}

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

.payments-table tr:hover td {
  background: rgba(0, 240, 255, 0.05);
}

.payment-icon {
  color: var(--color-accent);
  margin-right: 0.5rem;
}

/* =====================================================
   Review Blocks
   ===================================================== */

.review-section {
  padding: 5rem 0;
  position: relative;
  z-index: 10;
}

.review-blocks {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .review-blocks {
    flex-direction: row;
  }
}

.review-block {
  flex: 1;
  background: var(--color-bg-card);
  border-radius: 1.5rem;
  padding: 2rem;
  border: 1px solid var(--color-border);
}

.review-block h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.review-block p,
.review-block li {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.review-block ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.review-block li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.review-block li::before {
  content: '⚡';
  position: absolute;
  left: 0;
}

.providers-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.provider-tag {
  background: rgba(0, 240, 255, 0.1);
  color: var(--color-text-light);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid var(--color-border);
  transition: var(--transition-fast);
}

.provider-tag:hover {
  border-color: var(--color-primary);
  background: rgba(0, 240, 255, 0.2);
}

/* Bonus Terms Table in Review */
.bonus-terms-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.875rem;
}

.bonus-terms-table th,
.bonus-terms-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.bonus-terms-table th {
  color: var(--color-primary);
  font-weight: 700;
}

.bonus-terms-table td {
  color: var(--color-text-muted);
}

/* =====================================================
   Promo Cards
   ===================================================== */

.promos-section {
  padding: 5rem 0;
  position: relative;
  z-index: 10;
  background: linear-gradient(180deg, transparent 0%, rgba(18, 18, 31, 0.5) 50%, transparent 100%);
}

.promos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .promos-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.promo-card {
  background: linear-gradient(135deg, var(--color-bg-card) 0%, var(--color-bg-card-hover) 100%);
  border-radius: 1.5rem;
  padding: 2rem;
  border: 1px solid var(--color-border);
  text-align: center;
  transition: var(--transition-medium);
  position: relative;
  overflow: hidden;
}

.promo-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary), var(--color-accent));
}

.promo-card:hover {
  transform: translateY(-0.5rem);
  border-color: var(--color-primary);
}

.promo-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--color-text-light);
}

.promo-card p {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.promo-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

/* =====================================================
   FAQ Section
   ===================================================== */

.faq-section {
  padding: 5rem 0;
  position: relative;
  z-index: 10;
  background: var(--color-bg-darker);
}

.faq-list {
  max-width: 50rem;
  margin: 0 auto;
}

.faq-item {
  background: var(--color-bg-card);
  border-radius: 1rem;
  margin-bottom: 1rem;
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: var(--transition-fast);
}

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

.faq-question {
  width: 100%;
  padding: 1.5rem;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--color-text-light);
  font-size: 1rem;
  font-weight: 600;
}

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

.faq-icon {
  font-size: 1.25rem;
  transition: var(--transition-fast);
  color: var(--color-primary);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 20rem;
}

.faq-answer-content {
  padding: 0 1.5rem 1.5rem;
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* =====================================================
   Footer
   ===================================================== */

.footer {
  background: var(--color-bg-darker);
  border-top: 1px solid var(--color-border);
  padding: 3rem 0 2rem;
  position: relative;
  z-index: 10;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    text-align: left;
  }
}

.footer-brand {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.footer-tagline {
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

@media (min-width: 768px) {
  .footer-links {
    justify-content: flex-start;
  }
}

.footer-link {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  transition: var(--transition-fast);
}

.footer-link:hover {
  color: var(--color-primary);
}

.footer-badges {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

@media (min-width: 768px) {
  .footer-badges {
    justify-content: flex-end;
  }
}

.age-badge {
  background: var(--color-secondary);
  color: var(--color-bg-dark);
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.875rem;
}

.responsible-icon {
  color: var(--color-text-muted);
  font-size: 1.5rem;
  transition: var(--transition-fast);
}

.responsible-icon:hover {
  color: var(--color-primary);
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
  text-align: center;
}

.footer-copyright {
  color: var(--color-text-muted);
  font-size: 0.75rem;
  margin-bottom: 1rem;
}

.footer-disclaimer {
  color: var(--color-text-muted);
  font-size: 0.75rem;
  max-width: 50rem;
  margin: 0 auto;
  line-height: 1.6;
}

.helpline-info {
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(255, 45, 106, 0.1);
  border-radius: 0.5rem;
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.helpline-info a {
  color: var(--color-secondary);
  text-decoration: none;
}

.helpline-info a:hover {
  text-decoration: underline;
}

/* =====================================================
   Prose Styling for Content Pages
   ===================================================== */

.prose {
  max-width: 100%;
  color: var(--color-text-light);
  font-size: 1rem;
  line-height: 1.75;
}

.prose > * + * {
  margin-top: 1.5em;
}

/* Headings */
.prose h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--color-text-light);
  margin-top: 2.5em;
  margin-bottom: 1em;
  line-height: 1.3;
  letter-spacing: -0.02em;
  border-bottom: 2px solid var(--color-border);
  padding-bottom: 0.5em;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 700;
  color: var(--color-primary);
  margin-top: 2em;
  margin-bottom: 0.75em;
  line-height: 1.4;
}

.prose h4 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-text-light);
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}

/* Paragraphs */
.prose p {
  margin-bottom: 1.25em;
  color: var(--color-text-muted);
}

.prose strong {
  color: var(--color-text-light);
  font-weight: 700;
}

.prose em {
  font-style: italic;
}

/* Links */
.prose a {
  color: var(--color-primary);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: var(--transition-fast);
}

.prose a:hover {
  border-bottom-color: var(--color-primary);
}

/* Lists */
.prose ul,
.prose ol {
  padding-left: 1.5em;
  margin-bottom: 1.5em;
}

.prose ul {
  list-style: none;
}

.prose ul li {
  position: relative;
  padding-left: 1.5em;
  margin-bottom: 0.75em;
  color: var(--color-text-muted);
}

.prose ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 0.5em;
  height: 0.5em;
  background: var(--color-primary);
  border-radius: 50%;
}

.prose ol {
  list-style: none;
  counter-reset: ol-counter;
}

.prose ol li {
  position: relative;
  padding-left: 2em;
  margin-bottom: 0.75em;
  color: var(--color-text-muted);
  counter-increment: ol-counter;
}

.prose ol li::before {
  content: counter(ol-counter) '.';
  position: absolute;
  left: 0;
  font-weight: 700;
  color: var(--color-primary);
}

/* Nested Lists */
.prose ul ul,
.prose ol ol,
.prose ul ol,
.prose ol ul {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

/* Tables */
.prose .table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 2em 0;
  border-radius: 0.75rem;
  border: 1px solid var(--color-border);
}

.prose table {
  width: 100%;
  min-width: 30rem;
  border-collapse: collapse;
  background: var(--color-bg-card);
}

.prose th {
  background: rgba(0, 240, 255, 0.1);
  color: var(--color-primary);
  font-weight: 700;
  text-align: left;
  padding: 1em 1.25em;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 2px solid var(--color-border);
}

.prose td {
  padding: 1em 1.25em;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: 0.9375rem;
}

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

.prose tr:hover td {
  background: rgba(0, 240, 255, 0.03);
}

/* Blockquotes */
.prose blockquote {
  border-left: 4px solid var(--color-primary);
  padding: 1.5em 2em;
  margin: 2em 0;
  background: rgba(0, 240, 255, 0.05);
  border-radius: 0 0.75rem 0.75rem 0;
}

.prose blockquote p {
  margin: 0;
  font-size: 1.0625rem;
  font-style: italic;
  color: var(--color-text-light);
}

.prose blockquote p:last-child {
  margin-bottom: 0;
}

/* Code */
.prose code {
  background: rgba(0, 240, 255, 0.1);
  color: var(--color-primary);
  padding: 0.2em 0.4em;
  border-radius: 0.25rem;
  font-size: 0.875em;
  font-family: 'Monaco', 'Consolas', monospace;
}

.prose pre {
  background: var(--color-bg-darker);
  border: 1px solid var(--color-border);
  border-radius: 0.75rem;
  padding: 1.5em;
  overflow-x: auto;
  margin: 2em 0;
}

.prose pre code {
  background: none;
  padding: 0;
  font-size: 0.875rem;
  color: var(--color-text-light);
}

/* Images */
.prose img {
  max-width: 100%;
  height: auto;
  border-radius: 1rem;
  margin: 2em 0;
  border: 1px solid var(--color-border);
}

/* Horizontal Rule */
.prose hr {
  border: none;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-border), transparent);
  margin: 3em 0;
}

/* Lead Paragraph */
.prose .lead {
  font-size: 1.25rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* =====================================================
   Single Page Layout
   ===================================================== */

.single-page {
  padding-top: 6rem;
  padding-bottom: 4rem;
  min-height: 100vh;
  position: relative;
  z-index: 10;
}

.single-header {
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--color-border);
}

.single-header h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--color-text-light) 0%, var(--color-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.single-content {
  max-width: 50rem;
  margin: 0 auto;
}

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

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.hidden { display: none; }
.visible { display: block; }

@media (min-width: 1024px) {
  .lg-hidden { display: none; }
  .lg-visible { display: block; }
}

/* =====================================================
   SVG Patterns
   ===================================================== */

.pattern-dots {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle, var(--color-border) 1px, transparent 1px);
  background-size: 2rem 2rem;
  opacity: 0.3;
  pointer-events: none;
}

.pattern-grid {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(var(--color-border) 1px, transparent 1px),
    linear-gradient(90deg, var(--color-border) 1px, transparent 1px);
  background-size: 4rem 4rem;
  opacity: 0.1;
  pointer-events: none;
}

/* =====================================================
   Focus States (Accessibility)
   ===================================================== */

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.btn:focus-visible {
  outline-offset: 4px;
}

/* Skip to content */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--color-primary);
  color: var(--color-bg-dark);
  padding: 1rem 2rem;
  z-index: 9999;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: 0;
}
