@media (max-width: 900px) {
  .main-title {
    font-size: var(--font-size-7xl);
    margin-bottom: var(--margin-6xl);
  }

  .container {
    padding: 20px 10px;
    max-width: 100%;
  }

  /* Hide table header on mobile */
  .casinos-table thead {
    display: none;
  }

  /* Make table responsive without scroll */
  .table-wrapper {
    overflow-x: visible;
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0 auto;
  }

  .casinos-table {
    border-spacing: 0;
    width: 100%;
    max-width: 100%;
    display: block;
    grid-template-columns: 1fr;
  }

  /* Display table rows as cards with 2 columns (50%/50%) */
  .casinos-table tbody tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    column-gap: 10px;
    row-gap: 6px;
    margin-bottom: var(--margin-3xl);
    border-radius: var(--radius-lg);
    padding: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .casinos-table tbody td {
    padding: 0;
    text-align: center;
    border: none;
    border-radius: 0 !important;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    max-width: 100%;
  }

  /* Left column: Logo + Metrics - spans all 3 rows */
  .casinos-table tbody td:nth-child(1) {
    grid-column: 1;
    grid-row: 1 / 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
  }

  /* Right column row 1: Bonus */
  .casinos-table tbody td:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    gap: 4px;
  }

  /* Hide rating box */
  .casinos-table tbody td:nth-child(3) {
    display: none;
  }

  /* Right column row 2: Payment methods (above button) */
  .casinos-table tbody td:nth-child(4) {
    grid-column: 2;
    grid-row: 2;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Right column row 3: Button */
  .casinos-table tbody td:nth-child(5) {
    grid-column: 2;
    grid-row: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
  }

  .casino-logo {
    height: 40px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
  }

  .casino-logo-box {
    width: 100%;
    max-width: 100%;
    height: 40px;
    font-size: 0.75rem;
    padding: 4px;
  }

  .bonus-badge {
    font-size: 0.65rem;
    margin-bottom: 3px;
    text-align: center;
    word-wrap: break-word;
  }

  .bonus-amount {
    font-size: 0.65rem;
    line-height: 1.2;
    text-align: center;
    word-wrap: break-word;
    max-width: 100%;
  }

  .rating-box {
    display: none;
  }

  .rating-number {
    display: none;
  }

  .stars {
    display: none;
  }

  .rating-votes {
    display: none;
  }

  .casino-metrics {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 100%;
    font-size: 0.65rem;
    margin-top: 8px;
  }

  .metric-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
    width: 100%;
  }

  .casino-metrics .metric-item {
    background: rgba(0, 0, 0, 0.3);
    padding: 4px 3px;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    font-size: 0.6rem;
  }

  .metric-label {
    font-size: 0.55rem;
    opacity: 0.8;
    text-align: center;
    white-space: nowrap;
  }

  .metric-value {
    font-size: 0.65rem;
    font-weight: bold;
    color: #d4af37;
    white-space: nowrap;
  }

  .payment-methods {
    display: flex;
    flex-direction: column;
    gap: 3px;
    max-width: 100%;
  }

  .payment-label {
    display: none;
  }

  .payment-icons {
    gap: var(--gap-sm);
    display: flex;
    justify-content: center;
    max-width: 100%;
  }

  .payment-icons img {
    height: 12px;
    width: auto;
    max-width: 100%;
  }

  .payment-icon {
    width: 42px;
    height: 28px;
    font-size: 11px;
  }

  .cta-button {
    padding: 6px 12px;
    font-size: 0.7rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    white-space: nowrap;
  }

  /* Content sections */
  .content-section {
    padding: var(--padding-2xl) var(--padding-xl);
  }

  .content-section h2 {
    font-size: var(--font-size-3xl);
  }

  .content-section p,
  .content-section ul li {
    font-size: var(--font-size-md);
  }

  /* Footer */
  .footer-links {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-link {
    text-align: center;
  }

  .disclaimer {
    padding: var(--padding-5xl);
  }

  .disclaimer h2 {
    font-size: var(--font-size-4xl);
  }

  /* Cookie banner */
  .cookie-banner {
    flex-direction: column;
    text-align: center;
    padding: var(--padding-xl);
  }

  .accept-cookies {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .main-title {
    font-size: var(--font-size-5xl);
    margin-bottom: var(--margin-5xl);
    letter-spacing: var(--letter-spacing-normal);
  }

  .logo {
    height: 45px;
    max-width: 60px;
  }

  .container {
    padding: var(--padding-xl) var(--gap-lg);
  }

  .casinos-table tbody tr {
    padding: var(--gap-lg);
    margin-bottom: var(--margin-xl);
  }

  .bonus-amount {
    font-size: var(--font-size-xl);
  }

  .rating-number {
    font-size: var(--font-size-4xl);
  }

  .content-section {
    padding: var(--padding-xl) var(--gap-lg);
    margin-bottom: var(--margin-2xl);
  }

  .content-section h2 {
    font-size: var(--font-size-2xl);
  }

  .disclaimer {
    padding: var(--padding-2xl) var(--gap-lg);
  }
}
