/* ============================================================
   OMNISPINSPRK.COM — RESPONSIVE STYLESHEET
   omnispinsprk.com © 2026 omnispinsprk.com
   ============================================================ */

/* ============================================================
   BREAKPOINTS:
   xl: 1280px
   lg: 1024px
   md: 768px
   sm: 640px
   xs: 480px
   ============================================================ */

/* ============================================================
   XL — 1280px
   ============================================================ */
@media (max-width: 1280px) {
  :root {
    --max-width: 100%;
    --padding-desktop: 28px;
  }

  .features-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 32px;
  }

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

/* ============================================================
   LG — 1024px
   ============================================================ */
@media (max-width: 1024px) {
  :root {
    --padding-desktop: var(--padding-tablet);
    --space-5xl: 80px;
    --space-6xl: 100px;
  }

  /* Header */
  .main-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .header-cta {
    display: none;
  }

  /* Hero */
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 60px;
    padding: 80px 0 60px;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-subtitle,
  .hero-badge {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .hero-glow-ring {
    width: 380px;
    height: 380px;
  }

  .hero-castle-img {
    height: 320px;
  }

  /* Features */
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Lore */
  .lore-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .lore-img {
    height: 320px;
  }

  /* About */
  .about-mission-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-img {
    height: 320px;
  }

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

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Rules */
  .rules-grid {
    grid-template-columns: 1fr;
  }

  .rules-disclaimer {
    grid-column: 1;
  }

  /* RG */
  .rg-principles-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .rg-resources-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* ============================================================
   MD — 768px
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --padding-desktop: var(--padding-mobile);
    --space-5xl: 64px;
    --space-6xl: 80px;
    --space-4xl: 60px;
  }

  /* Typography */
  .hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .section-title {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
  }

  .page-hero-title {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
  }

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

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

  .hero-castle-img {
    height: 260px;
  }

  /* Section padding */
  .section-padding {
    padding: 64px 0;
  }

  .section-padding-sm {
    padding: 48px 0;
  }

  /* Features */
  .features-grid {
    grid-template-columns: 1fr;
  }

  /* Testimonials */
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  /* RG Banner */
  .rg-banner-inner {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  /* Lore Features */
  .lore-features {
    grid-template-columns: 1fr 1fr;
  }

  /* Values */
  .values-grid {
    grid-template-columns: 1fr;
  }

  /* Company */
  .company-details-grid {
    grid-template-columns: 1fr;
  }

  /* Legal TOC */
  .legal-toc ol {
    grid-template-columns: 1fr;
  }

  /* RG */
  .rg-principles-grid {
    grid-template-columns: 1fr;
  }

  .rg-warning-grid {
    grid-template-columns: 1fr;
  }

  .rg-resources-grid {
    grid-template-columns: 1fr 1fr;
  }

  .rg-key-message {
    flex-direction: column;
    text-align: center;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-brand {
    grid-column: 1;
  }

  /* Game info bar */
  .game-info-bar {
    gap: 16px;
    padding: 12px 16px;
  }

  .game-info-divider {
    display: none;
  }
}

/* ============================================================
   SM — 640px
   ============================================================ */
@media (max-width: 640px) {
  /* Hero */
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    text-align: center;
    justify-content: center;
  }

  .hero-stats {
    gap: 12px;
  }

  .stat-divider {
    height: 28px;
  }

  /* Hero castle frame */
  .hero-castle-frame {
    max-width: 100%;
  }

  .hero-castle-img {
    height: 220px;
  }

  /* Page Hero */
  .page-hero {
    min-height: 300px;
  }

  .page-hero-content {
    padding: 60px 0 40px;
  }

  /* Lore */
  .lore-img {
    height: 240px;
  }

  .lore-features {
    grid-template-columns: 1fr;
  }

  /* RG Resources */
  .rg-resources-grid {
    grid-template-columns: 1fr;
  }

  /* Glass card */
  .glass-card {
    padding: 24px 20px;
  }

  /* Rules Specs */
  .rules-specs {
    grid-template-columns: 1fr 1fr;
  }

  /* Symbols table */
  .symbol-row {
    grid-template-columns: 32px 1fr auto;
    font-size: 0.8rem;
  }

  /* Contact form */
  .contact-form-wrap .glass-card,
  .contact-info-card,
  .contact-rg-card {
    padding: 24px 16px;
  }

  /* Legal */
  .legal-section-block h2 {
    font-size: 1.25rem;
  }

  /* Footer */
  .footer-bottom {
    gap: 8px;
  }
}

/* ============================================================
   XS — 480px
   ============================================================ */
@media (max-width: 480px) {
  :root {
    --space-6xl: 60px;
    --space-5xl: 48px;
  }

  .hero-title {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
  }

  .hero-badge {
    font-size: 0.75rem;
  }

  .btn-large {
    padding: 14px 28px;
    font-size: 1rem;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .game-frame-wrapper {
    border-radius: 12px;
  }

  .game-info-bar {
    gap: 12px;
    padding: 12px;
  }

  .game-info-label {
    font-size: 0.75rem;
  }

  .hero-stats {
    justify-content: space-between;
    width: 100%;
  }

  .stat-number {
    font-size: 1.25rem;
  }

  .rules-cta {
    padding: 32px 20px;
  }

  .rules-cta h2 {
    font-size: 1.5rem;
  }
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  .site-header,
  .mobile-menu-overlay,
  .mobile-menu-toggle,
  .hero-particles,
  .game-particles,
  .page-hero-particles,
  .game-section {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .glass-card {
    border: 1px solid #ddd;
    box-shadow: none;
  }
}