/* Responsive Design - Mobile First Approach */

/* Base Mobile Styles (up to 575px) */
@media (max-width: 575px) {
  /* Typography reduction by 2-4px */
  .hero-title {
    font-size: 24px; /* reduced from 28px */
  }
  
  .hero-subtitle {
    font-size: 14px; /* reduced from 16px */
  }
  
  /* Casino Cards - Mobile Stack Layout */
  .casino-card {
    flex-direction: column;
    text-align: center;
    padding: 20px 16px;
    gap: 16px;
    min-height: auto;
  }
  
  .casino-logo-container {
    width: 60px;
    align-self: center;
  }
  
  .casino-logo {
    max-width: 60px;
    height: 45px;
  }
  
  .casino-rating {
    align-items: center;
    min-width: auto;
  }
  
  .casino-score {
    width: auto;
  }
  
  .score-value {
    font-size: 20px; /* reduced from 24px */
  }
  
  .casino-bonus {
    min-width: auto;
    text-align: center;
  }
  
  .bonus-main {
    font-size: 16px; /* reduced from 18px */
  }
  
  .bonus-extra {
    font-size: 12px; /* reduced from 14px */
  }
  
  /* CTA buttons - Full width mobile */
  .casino-cta {
    width: 100%;
    max-width: 280px;
    height: 48px;
    font-size: 12px; /* reduced from 14px */
    align-self: center;
  }
  
  /* Footer adjustments */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .info-block h2 {
    font-size: 20px; /* reduced from 24px */
  }
  
  .info-block h3 {
    font-size: 16px; /* reduced from 18px */
  }
  
  /* Age verification banner adjustments - Full Screen Overlay */
  .banner-content {
    padding: 30px 20px;
    max-width: 400px;
    width: 95%;
  }
  
  .banner-text {
    font-size: var(--text-base); /* maintain readability */
  }
  
  .banner-text i {
    font-size: var(--text-3xl); /* smaller icon on mobile */
  }
  
  .banner-actions {
    flex-direction: column;
    gap: 16px;
  }
  
  .btn-verify,
  .btn-info {
    width: 100%;
    min-width: auto;
  }
  
  /* Container adjustments */
  .container {
    padding: 0 16px;
  }
  
  .main-content {
    padding: 20px 0;
  }
  
  /* Hero section adjustments */
  .hero-section {
    height: 140px; /* reduced from 180px */
  }
  
  /* Decorative elements - hide on mobile for performance */
  .casino-decorations {
    display: none;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  .casino-card {
    flex-direction: row;
    flex-wrap: wrap;
    text-align: left;
    padding: 18px;
    gap: 16px;
    min-height: 100px;
  }
  
  .casino-logo-container {
    width: 70px;
    align-self: flex-start;
  }
  
  .casino-logo {
    max-width: 70px;
    height: 50px;
  }
  
  .casino-rating {
    flex: 1;
    min-width: 120px;
    align-items: flex-start;
  }
  
  .casino-score {
    width: 70px;
    align-self: flex-start;
  }
  
  .casino-bonus {
    flex-basis: 100%;
    min-width: auto;
    text-align: left;
    order: 1;
  }
  
  .casino-cta {
    flex-basis: 100%;
    width: auto;
    max-width: 200px;
    height: 44px;
    align-self: center;
    order: 2;
  }
  
  .banner-content {
    max-width: 450px;
    padding: 35px;
  }
  
  .banner-actions {
    flex-direction: row;
    width: auto;
  }
  
  .btn-verify,
  .btn-info {
    width: auto;
    min-width: 140px;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .casino-card {
    flex-direction: row;
    flex-wrap: nowrap;
    text-align: left;
    padding: 20px;
    gap: 18px;
    min-height: 90px;
  }
  
  .casino-logo-container {
    width: 75px;
  }
  
  .casino-logo {
    max-width: 75px;
    height: 55px;
  }
  
  .casino-rating {
    flex: 0 0 140px;
    min-width: 140px;
    align-items: flex-start;
  }
  
  .casino-score {
    width: 75px;
    align-self: center;
  }
  
  .casino-bonus {
    flex: 1;
    min-width: 160px;
    text-align: left;
    order: 0;
  }
  
  .casino-cta {
    flex-shrink: 0;
    width: 110px;
    height: 40px;
    order: 0;
  }
  
  .hero-section {
    height: 160px;
  }
  
  .hero-title {
    font-size: 26px;
  }
  
  .hero-subtitle {
    font-size: 15px;
  }
  
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 50px;
  }
  
  /* Show decorative elements on tablets and up */
  .casino-decorations {
    display: block;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .casino-card {
    gap: 20px;
    min-height: 90px;
  }
  
  .casino-logo-container {
    width: 80px;
  }
  
  .casino-logo {
    max-width: 80px;
    height: 60px;
  }
  
  .casino-rating {
    flex: 0 0 160px;
    min-width: 160px;
  }
  
  .casino-score {
    width: 80px;
  }
  
  .casino-bonus {
    flex: 1;
    min-width: 200px;
  }
  
  .casino-cta {
    width: 120px;
    height: 42px;
  }
  
  .hero-section {
    height: 170px;
  }
  
  .hero-title {
    font-size: 27px;
  }
  
  .hero-subtitle {
    font-size: 15px;
  }
  
  .footer-content {
    gap: 55px;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .casino-card {
    gap: 22px;
    min-height: 90px;
  }
  
  .casino-logo-container {
    width: 85px;
  }
  
  .casino-logo {
    max-width: 85px;
    height: 60px;
  }
  
  .casino-rating {
    flex: 0 0 180px;
    min-width: 180px;
  }
  
  .casino-score {
    width: 85px;
  }
  
  .casino-bonus {
    flex: 1;
    min-width: 220px;
  }
  
  .casino-cta {
    width: 130px;
    height: 44px;
    font-size: 14px; /* full size */
  }
  
  .hero-section {
    height: 180px;
  }
  
  .hero-title {
    font-size: 28px; /* full size */
  }
  
  .hero-subtitle {
    font-size: 16px; /* full size */
  }
  
  .footer-content {
    gap: 60px;
  }
  
  .score-value {
    font-size: 24px; /* full size */
  }
  
  .bonus-main {
    font-size: 18px; /* full size */
  }
  
  .bonus-extra {
    font-size: 14px; /* full size */
  }
}

/* High resolution displays */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
  
  .casino-card {
    gap: 24px;
    padding: 22px;
  }
  
  .casino-logo-container {
    width: 90px;
  }
  
  .casino-logo {
    max-width: 90px;
    height: 65px;
  }
  
  .casino-rating {
    flex: 0 0 200px;
    min-width: 200px;
  }
  
  .casino-score {
    width: 90px;
  }
  
  .casino-bonus {
    min-width: 250px;
  }
  
  .casino-cta {
    width: 140px;
    height: 46px;
  }
}

/* Intermediate breakpoint for better tablet landscape */
@media (min-width: 640px) and (max-width: 767px) {
  .casino-card {
    flex-wrap: nowrap;
    gap: 14px;
  }
  
  .casino-bonus {
    flex-basis: auto;
    min-width: 140px;
    order: 0;
  }
  
  .casino-cta {
    flex-basis: auto;
    width: 100px;
    height: 42px;
    order: 0;
  }
}

/* Landscape orientation adjustments */
@media (orientation: landscape) and (max-height: 500px) {
  .hero-section {
    height: 120px;
  }
  
  .hero-title {
    font-size: 22px;
  }
  
  .hero-subtitle {
    font-size: 13px;
  }
  
  .banner-content {
    padding: 24px 20px;
    max-width: 380px;
  }
  
  .banner-text {
    font-size: var(--text-sm);  
  }
  
  .banner-text i {
    font-size: var(--text-2xl);
  }
  
  .banner-actions {
    flex-direction: row;
    gap: 16px;
  }
  
  .btn-verify,
  .btn-info {
    padding: 12px 20px;
    font-size: var(--text-sm);
    min-width: 120px;
  }
}

/* Print styles */
@media print {
  .age-verification-banner,
  .casino-decorations,
  .casino-cta {
    display: none !important;
  }
  
  .casino-card {
    background: white !important;
    color: black !important;
    border: 1px solid #ccc !important;
  }
  
  .hero-section {
    background: white !important;
    color: black !important;
  }
  
  .footer-section {
    background: white !important;
    color: black !important;
  }
}

/* Accessibility improvements - Animations now disabled by default */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  .casino-card {
    border: 2px solid var(--text-primary) !important;
  }
  
  .casino-badge {
    border: 1px solid white !important;
  }
  
  .casino-cta {
    border: 2px solid white !important;
  }
}

/* Dark mode support (if system preference) */
@media (prefers-color-scheme: dark) {
  /* Colors are already optimized for dark mode */
  /* This section can be used for any dark mode specific adjustments */
} 