/* ===================================================================
   TINOGOLD - RESPONSIVE DESIGN & ADAPTIVE LAYOUTS
   =================================================================== */

/* Small Devices (Mobile Phones: up to 639px) */
@media (max-width: 639px) {
  .site-header .header-inner {
    height: 64px;
  }

  .brand-logo-img {
    height: 32px;
  }

  .protocol-ticker {
    height: 32px;
    padding-left: var(--margin-mobile);
    padding-right: var(--margin-mobile);
  }

  .ticker-telemetry {
    display: none;
  }

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

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn-gold,
  .hero-actions .btn-secondary {
    width: 100%;
  }

  .spot-calculator-card {
    padding: var(--space-md);
  }

  .calc-inputs-grid {
    grid-template-columns: 1fr;
  }

  .hero-proof-badges {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xs);
  }

  .proof-badge-item {
    padding: 0.5rem;
  }

  .proof-val {
    font-size: 1.15rem;
  }

  .catalog-search-sort {
    flex-direction: column;
    width: 100%;
  }

  .catalog-search-input-box {
    width: 100%;
  }

  .catalog-search-input {
    width: 100%;
  }

  .product-sheet-backdrop {
    padding: 0;
    align-items: flex-end;
  }

  .product-sheet-dialog {
    max-height: 94vh;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }

  .sheet-hero-banner {
    height: 170px;
  }

  .sheet-hero-content {
    left: 16px;
    right: 16px;
    bottom: 12px;
  }

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

  .cart-ign-grid {
    grid-template-columns: 1fr;
  }

  .escrow-cockpit-card {
    padding: var(--space-md);
  }

  /* Floating Mobile Cart Bar */
  .mobile-cart-floating-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 45;
    background-color: rgba(16, 19, 26, 0.96);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-top: 1px solid rgba(255, 208, 0, 0.3);
    padding: 0.75rem var(--margin-mobile);
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.8);
  }
}

@media (min-width: 640px) {
  .mobile-cart-floating-bar {
    display: none !important;
  }
}

/* Medium Devices (Tablets: 640px to 1023px) */
@media (min-width: 640px) and (max-width: 1023px) {
  .hero-headline {
    font-size: 2.75rem;
  }

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

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

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

/* Large Screens (Desktops: 1024px to 1439px) */
@media (min-width: 1024px) {
  .hero-headline {
    font-size: 3.5rem;
  }
}

/* Extra Large Screens (> 1440px) */
@media (min-width: 1440px) {
  .hero-section {
    padding-top: var(--space-2xl);
    padding-bottom: 5rem;
  }
}

/* Interactive States and Motion Accessibility */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .radar-dot::before {
    animation: none;
  }
}
