/* ============================================================
   RESPONSIVE.CSS — MOBILE-FIRST RESPONSIVE SYSTEM
   plorviaguide.world
   ============================================================ */

/* ── TABLET (max 1024px) ─────────────────────────────────── */
@media (max-width: 1024px) {
  :root {
    --text-5xl: 3rem;
    --text-4xl: 2.25rem;
    --text-3xl: 1.75rem;
    --space-3xl: 80px;
    --space-2xl: 60px;
  }

  .container {
    padding: 0 24px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-xl);
  }

  .hero-content {
    max-width: 680px;
    margin: 0 auto;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-trust-row {
    justify-content: center;
  }

  .hero-subtext {
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-visual {
    order: -1;
  }

  .slot-frame {
    width: 300px;
  }

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

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

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

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

  .about-story-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .about-story-content {
    text-align: center;
  }

  .section-title.left-align {
    text-align: center;
  }

  .section-label {
    display: inline-flex;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .legal-sidebar {
    position: static;
  }

  .legal-toc {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
  }

  .toc-title {
    grid-column: 1 / -1;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .rb-inner {
    flex-direction: column;
    text-align: center;
    padding: var(--space-lg);
  }

  .rules-symbol-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .howto-steps {
    flex-direction: column;
    align-items: center;
  }

  .howto-step {
    max-width: 100%;
    width: 100%;
  }

  .howto-connector {
    transform: rotate(90deg);
    margin: -10px 0;
  }

  .game-iframe-container {
    min-height: 360px;
  }

  .nav-link {
    font-size: 0.8rem;
    padding: 8px 10px;
  }
}

/* ── MOBILE (max 768px) ──────────────────────────────────── */
@media (max-width: 768px) {
  :root {
    --text-5xl: 2.25rem;
    --text-4xl: 1.875rem;
    --text-3xl: 1.5rem;
    --text-2xl: 1.25rem;
    --space-3xl: 60px;
    --space-2xl: 48px;
    --space-xl: 40px;
    --space-lg: 28px;
  }

  .container {
    padding: 0 16px;
  }

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

  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  /* Hero */
  .hero-section {
    padding: var(--space-2xl) 0;
    min-height: auto;
  }

  .hero-headline {
    font-size: 2rem;
  }

  .hero-subtext {
    font-size: var(--text-base);
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: center;
  }

  .hero-cta-group .btn {
    width: 100%;
    max-width: 320px;
  }

  .slot-frame {
    width: 260px;
  }

  .slot-title-text {
    font-size: var(--text-lg);
  }

  .reel-symbol {
    font-size: 1.5rem;
    height: 60px;
  }

  .slot-reels-container {
    height: 80px;
  }

  .slot-coins {
    font-size: var(--text-xs);
    padding: 6px 10px;
  }

  /* Game Section */
  .game-iframe-container {
    min-height: 280px;
    aspect-ratio: 4 / 3;
  }

  .game-frame-bottom {
    flex-direction: column;
    gap: 8px;
    padding: 12px;
  }

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

  /* How to play */
  .howto-steps {
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
  }

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

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

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

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

  .legal-body {
    padding: var(--space-md);
  }

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

  /* Responsible banner */
  .rb-inner {
    padding: var(--space-md);
  }

  /* Footer */
  .footer-inner {
    padding: var(--space-xl) 16px var(--space-lg);
  }

  .footer-nav-groups {
    gap: var(--space-lg);
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  /* Team CTA */
  .team-cta-inner {
    padding: var(--space-xl) var(--space-md);
  }

  .team-cta-title {
    font-size: var(--text-2xl);
  }

  /* RG Contact */
  .rg-contact-inner {
    padding: var(--space-xl) var(--space-md);
  }

  .rg-contact-actions {
    flex-direction: column;
    align-items: center;
  }

  .rg-contact-actions .btn {
    width: 100%;
    max-width: 300px;
  }

  /* Contact grid */
  .contact-grid {
    gap: var(--space-lg);
  }

  /* Page hero */
  .page-hero {
    padding: calc(var(--space-2xl) + 20px) 0 var(--space-xl);
  }

  .page-hero-title {
    font-size: 2rem;
  }

  .page-hero-subtitle {
    font-size: var(--text-base);
  }

  /* About */
  .about-visual-card {
    padding: var(--space-xl) var(--space-md);
  }

  /* Legal items */
  .legal-items {
    gap: var(--space-sm);
  }

  .legal-item {
    font-size: var(--text-xs);
    padding: 6px 10px;
  }

  /* Hero trust */
  .hero-trust-row {
    justify-content: center;
    gap: 8px;
  }

  .trust-badge {
    font-size: var(--text-xs);
    padding: 4px 10px;
  }

  /* About text */
  .about-text {
    font-size: var(--text-base);
  }
}

/* ── SMALL MOBILE (max 480px) ────────────────────────────── */
@media (max-width: 480px) {
  :root {
    --text-5xl: 1.875rem;
  }

  .hero-headline {
    font-size: 1.75rem;
  }

  .slot-frame {
    width: 230px;
    padding: var(--space-md);
  }

  .fc1, .fc2, .fc3, .fc4 {
    display: none;
  }

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

  .section-title {
    font-size: 1.75rem;
  }

  .btn-large {
    padding: 14px 28px;
    font-size: var(--text-base);
  }

  .game-frame-top {
    padding: 10px 14px;
  }

  .gft-title {
    font-size: var(--text-xs);
  }
}

/* ── WIDE SCREEN (min 1400px) ────────────────────────────── */
@media (min-width: 1400px) {
  .hero-headline {
    font-size: 4rem;
  }

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