/* ============================================
   PIXOSWIFTRC – RESPONSIVE STYLES
   responsive.css | Version 1.0
============================================ */

/* --- TABLET: 1024px and below --- */
@media (max-width: 1024px) {
  :root {
    --space-section-desktop: var(--space-section-tablet);
  }

  .container {
    padding: 0 var(--padding-tablet);
  }

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

  .menu-toggle {
    display: flex;
  }

  /* Hero */
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

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

  .hero-description {
    max-width: 100%;
  }

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

  .hero-visual {
    order: -1;
  }

  .hero-card-wrapper {
    flex-direction: row;
    max-width: 100%;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-feature-card {
    flex: 1;
    min-width: 180px;
    max-width: 220px;
  }

  /* Feature Panel */
  .panel-grid {
    grid-template-columns: 1fr;
  }

  .panel-visual {
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    height: 280px;
  }

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

  /* Games Grid */
  .games-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Footer */
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

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

  /* About */
  .about-story-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-img-main {
    height: 360px;
  }

  .about-img-accent {
    right: 1rem;
    bottom: -1rem;
  }

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

  /* Mission */
  .mission-panel .panel-grid {
    grid-template-columns: 1fr;
  }

  .mission-content {
    padding: 2.5rem;
  }

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

  .form-row {
    grid-template-columns: 1fr;
  }

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

  .legal-toc {
    position: static;
  }

  /* Responsible */
  .responsible-intro-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

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

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

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

  /* Trust */
  .trust-grid {
    gap: 2rem;
  }

  /* FAQ */
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

/* --- SMALL TABLET: 768px and below --- */
@media (max-width: 768px) {
  :root {
    --space-section-desktop: var(--space-section-mobile);
  }

  .container {
    padding: 0 var(--padding-mobile);
  }

  /* Header */
  .site-header {
    height: 64px;
    --header-height: 64px;
  }

  /* Hero */
  .hero-section {
    padding-top: 64px;
  }

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

  .hero-card-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .hero-feature-card {
    max-width: 100%;
    width: 100%;
  }

  /* Feature Panel */
  .panel-content {
    padding: 2rem;
  }

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

  /* Games Grid */
  .games-grid {
    grid-template-columns: 1fr;
  }

  /* Nature Divider */
  .nature-divider {
    height: 200px;
  }

  /* Trust */
  .trust-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  /* CTA Banner */
  .cta-banner-actions {
    flex-direction: column;
    align-items: center;
  }

  /* Footer */
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  /* About */
  .about-stats-row {
    flex-direction: column;
    gap: 1rem;
  }

  .about-img-main {
    height: 280px;
  }

  /* Mission */
  .mission-content {
    padding: 2rem;
  }

  .mission-actions {
    flex-direction: column;
  }

  /* Tools */
  .tools-grid {
    grid-template-columns: 1fr;
  }

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

  /* Warning */
  .warning-panel {
    padding: 2rem;
  }

  .warning-header {
    flex-direction: column;
    gap: 1rem;
  }

  .warning-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  /* Rules Intro */
  .rules-intro-inner {
    flex-direction: column;
  }

  /* Rules Cta */
  .rules-cta {
    flex-direction: column;
  }

  /* Page Hero */
  .page-hero {
    min-height: 50vh;
  }

  .page-hero-inner {
    padding: 3rem var(--padding-mobile);
  }

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

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

  /* Legal */
  .toc-list {
    display: none;
  }
}

/* --- MOBILE: 480px and below --- */
@media (max-width: 480px) {
  .logo-text {
    font-size: 1.1rem;
  }

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

  .btn-large {
    width: 100%;
    justify-content: center;
  }

  .trust-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .trust-item {
    gap: 0.5rem;
  }

  .about-img-accent {
    display: none;
  }

  .contact-channel {
    flex-direction: column;
  }

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

  .tool-options {
    gap: 0.35rem;
  }

  .footer-legal-links {
    flex-direction: column;
    gap: 0.5rem;
  }

  .footer-legal-links span {
    display: none;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .mission-actions {
    flex-direction: column;
  }

  .cta-banner-actions {
    width: 100%;
  }

  .cta-banner-actions .btn {
    width: 100%;
    justify-content: center;
  }

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

/* --- LARGE SCREENS: 1400px+ --- */
@media (min-width: 1400px) {
  .hero-inner {
    gap: 6rem;
  }

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