/* Media Queries for Template 9 - Table Layout Theme */

@media (max-width: 1200px) {
  .container {
    padding: 0 1.5rem;
  }

  .casino-table th,
  .casino-table td {
    padding: 1rem;
  }
}

@media (max-width: 992px) {
  .section.head h1 {
    font-size: 2.25rem;
  }

  .section header h2 {
    font-size: 1.75rem;
  }

  .casino-logo {
    width: 140px;
    height: 50px;
  }

  .bonus-amount {
    font-size: 1.1rem;
  }

  .footer-columns {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .footer-links ul {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    gap: 1rem;
  }

  .site-nav ul {
    gap: 0.75rem;
  }

  .section {
    padding: 3rem 0;
  }

  .section.head {
    padding: 3.5rem 0;
  }

  /* Table to cards transformation */
  .casino-table {
    display: block;
  }

  .casino-table thead {
    display: none;
  }

  .casino-table tbody,
  .casino-table tr,
  .casino-table td {
    display: block;
    width: 100%;
  }

  .casino-table tr {
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
  }

  .casino-table td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: right;
    position: relative;
    padding: 1rem;
  }

  .casino-table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--text-primary);
    text-align: left;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    text-transform: uppercase;
  }

  .casino-logo-cell {
    justify-content: center;
    text-align: center;
  }

  .casino-logo-cell::before {
    display: none;
  }

  .casino-logo {
    margin: 0 auto;
  }

  .casino-action-cell {
    justify-content: center;
    text-align: center;
  }

  .casino-action-cell::before {
    display: none;
  }
}

@media (max-width: 576px) {
  .site-nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
  }

  .section.head h1 {
    font-size: 1.75rem;
  }

  .section.head p {
    font-size: 1rem;
  }

  .casino-features {
    justify-content: flex-end;
  }

  .casino-button {
    padding: 0.6rem 1.25rem;
    font-size: 0.85rem;
  }

  .footer-links ul {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }

  .pagination {
    flex-wrap: wrap;
  }
}
