/* ==========================================
   RESPONSIVE STYLES - Mobile First
   Premium Casino Design
   ========================================== */

/* Header Navigation: max 1180px - burger menu */
@media (max-width: 1180px) {
  .main-nav {
    display: none;
  }

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

/* Tablet: max 1024px */
@media (max-width: 1024px) {
  .top-casinos-layout {
    flex-direction: column;
    align-items: center;
  }

  .casino-grid {
    grid-template-columns: repeat(2, minmax(250px, 280px));
    order: 1;
    width: 100%;
    max-width: 600px;
  }

  .filter-sidebar {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    width: 100%;
    max-width: 600px;
    order: 0;
    margin-bottom: var(--space-xl);
  }

  .filter-title {
    width: 100%;
    text-align: center;
  }

  .filter-item {
    flex: 1;
    min-width: 150px;
    justify-content: center;
  }

  .categories-layout {
    grid-template-columns: 1fr;
  }

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

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

  .footer-brand {
    grid-column: span 2;
    max-width: none;
  }
}

/* Tablet Portrait: max 768px */
@media (max-width: 768px) {
  :root {
    --header-height: 80px;
  }

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

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-image {
    order: -1;
    margin-bottom: var(--space-lg);
    margin-right: 0;
    justify-content: center;
  }

  .hero-image img {
    max-width: 100%;
  }

  .hero-content {
    text-align: center;
    max-width: 100%;
  }

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

  .hero-description {
    font-size: var(--body-size);
  }

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

  .hero-stats {
    justify-content: center;
    gap: var(--space-xl);
  }

  .hero-stat {
    text-align: center;
  }

  .hero-decoration {
    opacity: 0.5;
  }

  /* Casino Grid */
  .casino-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  /* Filter Sidebar */
  .filter-sidebar {
    flex-direction: column;
    max-width: 400px;
  }

  .filter-item {
    min-width: auto;
    width: 100%;
  }

  /* Category Hero */
  .category-hero {
    min-height: 350px;
    padding: calc(var(--header-height) + var(--space-2xl)) 0 var(--space-3xl);
  }

  .category-hero-icon {
    width: 60px;
    height: 60px;
    padding: var(--space-md);
  }

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

  .category-hero-stats {
    gap: var(--space-xl);
  }

  .category-stat-value {
    font-size: 1.5rem;
  }

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

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

  /* Articles Grid Home */
  .articles-grid-home {
    grid-template-columns: 1fr;
  }

  .article-card-home {
    flex-direction: row;
  }

  .article-card-home .article-image {
    width: 160px;
  }

  /* Articles */
  .article-card {
    flex-direction: column;
  }

  .article-image {
    width: 100%;
    height: 200px;
  }

  /* Article Meta Header */
  .article-meta-header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
  }

  /* Article Share */
  .article-share {
    flex-wrap: wrap;
    gap: var(--space-sm);
  }

  .share-btn {
    width: 36px;
    height: 36px;
  }

  .share-btn svg {
    width: 18px;
    height: 18px;
  }

  /* Live Stats */
  .live-stats-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    max-width: 360px;
    margin: 0 auto;
  }

  .stat-card {
    padding: var(--space-xl) var(--space-lg);
  }

  .stat-value {
    font-size: 2.25rem;
  }

  .stat-value--time {
    font-size: 1.5rem;
  }

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

  .contact-info-column {
    order: -1;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand {
    grid-column: span 1;
    max-width: none;
  }

  .footer-links ul {
    align-items: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  .footer-licenses {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* Mobile: max 480px */
@media (max-width: 480px) {
  :root {
    --header-height: 70px;
  }

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

  /* Hero */
  .hero-badge {
    font-size: var(--xs-size);
  }

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

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

  .hero-cta .btn {
    width: 100%;
  }

  .hero-stats {
    flex-direction: column;
    gap: var(--space-lg);
  }

  /* Section Headers */
  .section-title {
    font-size: 1.5rem;
  }

  /* Categories */
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
  }

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

  .article-card-home {
    flex-direction: column;
  }

  .article-card-home .article-image {
    width: 100%;
    height: 150px;
  }

  .category-item {
    padding: var(--space-md);
  }

  .category-icon {
    font-size: 1.5rem;
  }

  .category-name {
    font-size: var(--xs-size);
  }

  /* Keywords */
  
/* Modal */

/* Article */
  .article-content {
    padding: var(--space-md);
  }

  .article-title {
    font-size: var(--body-size);
  }

  /* Scroll to Top */
  .scroll-to-top {
    width: 44px;
    height: 44px;
    bottom: var(--space-md);
    right: var(--space-md);
  }
}

/* Large Desktop: min 1280px */
@media (min-width: 1280px) {
  .hero-content {
    max-width: 700px;
  }

  .live-stats-grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1100px;
    gap: var(--space-2xl);
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  
.gold-particle {
    animation: none;
  }
}

/* Print Styles */
@media print {
  .site-header,
  .site-footer,
  .mobile-nav,
  .scroll-to-top,
  
.hero-section {
    min-height: auto;
    padding: 2rem 0;
    background: #fff !important;
    color: #000 !important;
  }

  .hero-title,
  .hero-description {
    color: #000 !important;
  }

  body {
  overflow-x: hidden;
    background: #fff;
    color: #000;
  }
}

/* Article image responsiveness */
.article-content img, .art-content img, .art-img img { max-width: 100%; height: auto; }
