/* === Responsive Styles for Book of Love Casino === */

/* Tablet & Below (1024px) */
@media (max-width: 1024px) {
  .container {
    padding: 0 15px;
  }
  
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .banner h1 {
    font-size: 3.5rem;
  }
  
  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
  }
  
  .footer-content {
    flex-direction: column;
  }
  
  .footer-section {
    min-width: 100%;
  }
}

/* Tablet Portrait (768px) */
@media (max-width: 768px) {
  /* Header */
  .header-content {
    padding: 0 15px;
  }
  
  .logo {
    width: 40px;
    height: 40px;
  }
  
  .site-name {
    font-size: 1.4rem;
  }
  
  /* Mobile Navigation */
  .menu-toggle {
    display: flex;
  }
  
  .nav {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 280px;
    height: calc(100vh - 70px);
    background: rgba(10, 0, 0, 0.98);
    backdrop-filter: blur(10px);
    border-left: 2px solid var(--color-dark-red);
    transition: right 0.4s ease;
    padding: 2rem;
    box-shadow: -4px 0 20px rgba(255, 23, 68, 0.3);
  }
  
  .nav.active {
    right: 0;
  }
  
  .nav ul {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .nav a {
    font-size: 1.2rem;
    display: block;
    padding: 0.8rem 0;
  }
  
  /* Typography */
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  h3 {
    font-size: 1.4rem;
  }
  
  h4 {
    font-size: 1.2rem;
  }
  
  p {
    font-size: 1rem;
  }
  
  /* Banner */
  .banner {
    min-height: 80vh;
    padding: 6rem 1rem 3rem;
  }
  
  .banner h1 {
    font-size: 2.5rem;
  }
  
  .banner p {
    font-size: 1.1rem;
  }
  
  .btn {
    padding: 0.8rem 2rem;
    font-size: 1rem;
  }
  
  /* Sections */
  section {
    padding: 3rem 0;
  }
  
  /* Cards */
  .card {
    padding: 1.5rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  /* Game Preview */
  .game-image {
    max-width: 100%;
  }
  
  /* Cookie Banner */
  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .cookie-text {
    min-width: 100%;
  }
  
  .cookie-buttons {
    width: 100%;
    justify-content: center;
  }
  
  .cookie-buttons .btn {
    flex: 1;
    min-width: 120px;
  }
  
  /* Age Popup */
  .age-popup-content {
    margin: 1rem;
    padding: 2rem;
    max-width: 90%;
  }
  
  .age-buttons {
    flex-direction: column;
  }
  
  .age-buttons .btn {
    width: 100%;
  }
  
  /* Footer */
  .footer {
    padding: 2rem 0 1rem;
  }
  
  .footer-content {
    gap: 1.5rem;
  }
}

/* Mobile (480px) */
@media (max-width: 480px) {
  /* Header */
  .logo {
    width: 35px;
    height: 35px;
  }
  
  .site-name {
    font-size: 1.2rem;
  }
  
  /* Typography */
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.3rem;
  }
  
  h4 {
    font-size: 1.1rem;
  }
  
  p {
    font-size: 0.95rem;
  }
  
  /* Banner */
  .banner h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  
  .banner p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .btn {
    padding: 0.7rem 1.5rem;
    font-size: 0.95rem;
  }
  
  /* Sections */
  section {
    padding: 2.5rem 0;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  /* Cards */
  .card {
    padding: 1.2rem;
    border-radius: 15px;
  }
  
  /* Disclaimer */
  .disclaimer {
    padding: 1.5rem;
  }
  
  .disclaimer strong {
    font-size: 1.1rem;
  }
  
  /* Cookie Banner */
  .cookie-banner {
    padding: 1rem;
  }
  
  .cookie-text p {
    font-size: 0.85rem;
  }
  
  .cookie-buttons {
    flex-direction: column;
  }
  
  .cookie-buttons .btn {
    width: 100%;
    padding: 0.8rem;
  }
  
  /* Age Popup */
  .age-popup-content {
    padding: 1.5rem;
  }
  
  .age-popup-content h2 {
    font-size: 1.6rem;
  }
  
  .age-popup-content p {
    font-size: 0.95rem;
  }
  
  /* Footer */
  .footer-section h4 {
    font-size: 1.1rem;
  }
  
  .footer-links a {
    font-size: 0.85rem;
  }
  
  .footer-bottom {
    font-size: 0.8rem;
  }
}

/* Extra Small Mobile (360px) */
@media (max-width: 360px) {
  .container {
    padding: 0 10px;
  }
  
  h1 {
    font-size: 1.7rem;
  }
  
  h2 {
    font-size: 1.4rem;
  }
  
  .banner h1 {
    font-size: 1.8rem;
  }
  
  .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
  
  .age-popup-content {
    padding: 1.2rem;
  }
}

/* Landscape Orientation */
@media (max-height: 600px) and (orientation: landscape) {
  .banner {
    min-height: auto;
    padding: 5rem 1rem 3rem;
  }
  
  .age-popup-content {
    max-height: 90vh;
    overflow-y: auto;
  }
}

/* High Resolution Displays */
@media (min-width: 1440px) {
  .container {
    max-width: 1400px;
  }
  
  h1 {
    font-size: 4rem;
  }
  
  .banner h1 {
    font-size: 4.5rem;
  }
  
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
  .btn {
    min-height: 48px;
    min-width: 48px;
  }
  
  .nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  
  .footer-links a {
    min-height: 40px;
    display: inline-block;
    line-height: 40px;
  }
}

/* Print Styles */
@media print {
  .header,
  .age-popup,
  .cookie-banner,
  .btn,
  .footer {
    display: none !important;
  }
  
  body {
    background: white;
    color: black;
  }
  
  .card {
    border: 1px solid #ccc;
    page-break-inside: avoid;
  }
}

