* { 
  box-sizing: border-box; 
  margin: 0;
  padding: 0;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  background: linear-gradient(135deg, #00332C 25%, #161616 100%);
  min-height: 100vh;
  min-height: 100dvh;
  min-height: calc(var(--vh, 1vh) * 100);
  contain: layout style;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #00332C 25%, #161616 100%);
  color: #fff;
  line-height: 1.6;
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  min-height: calc(var(--vh, 1vh) * 100);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  contain: layout style;
}

body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../images/icons/Grid.png') repeat center center;
  background-size: 25%;
  opacity: 0.14;
  pointer-events: none;
  z-index: -2;
  background-attachment: scroll;
  contain: layout style paint;
}

body::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 700px;
  background: url('../images/icons/smoke.png') no-repeat center bottom;
  background-size: cover;
  opacity: 0.3;
  pointer-events: none;
  z-index: -1;
  background-attachment: scroll;
  contain: layout style paint;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  contain: layout style;
}

.header {
  background: linear-gradient(135deg, #00332C 0%, #161616 100%);
  padding: 30px 0;
  text-align: center;
  border-bottom: 1px solid #ff8c00;
  border-top: 1px solid #ff8c00;  
  border-left: 1px solid #ff8c00;
  border-right: 1px solid #ff8c00;
  position: relative;
  overflow: hidden;
  contain: layout style;
}

.header-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  position: relative;
  z-index: 2;
  contain: layout style;
}

.header-logo {
  width: 500px;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  contain: layout style;
}

.header-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  contain: layout style paint;
}

.header-text {
  text-align: center;
  contain: layout style;
}

.header-text h1 {
  font-size: 3rem;
  font-weight: bold;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  margin-bottom: 10px;
  contain: layout style;
}

.header-text p {
  font-size: 1.2rem;
  color: #ccc;
  margin-bottom: 10px;
  contain: layout style;
}

.verified-seal::before {
  content: "✓";
  font-weight: bold;
}

.filters {
  background: #141414;
  padding: 20px 0;
  border-bottom: 1px solid #ff8c00;
  border-left: 1px solid #ff8c00;
  border-right: 1px solid #ff8c00;
  contain: layout style;
}

.filters-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  gap: 15px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  scrollbar-color: #ff8c00 #222;
  contain: layout style;
}

.filters-content::-webkit-scrollbar {
  height: 6px;
}

.filters-content::-webkit-scrollbar-track {
  background: #222;
  border-radius: 3px;
}

.filters-content::-webkit-scrollbar-thumb {
  background: #ff8c00;
  border-radius: 3px;
}

.filters-content::-webkit-scrollbar-thumb:hover {
  background: #ffd700;
}

.filter-group {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-shrink: 0;
  contain: layout style;
}

.filter-group label {
  color: #ccc;
  font-weight: bold;
  contain: layout style;
}

.filter-group select {
  padding: 10px 15px;
  background: #222;
  color: #fff;
  border: 1px solid #444;
  border-radius: 5px;
  font-size: 0.9rem;
  min-width: 120px;
  max-width: 200px;
  contain: layout style;
}

.results-info {
  color: #ccc;
  font-size: 0.9rem;
  flex-shrink: 0;
  contain: layout style;
}

.main-content {
  padding: 30px 0;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  min-height: calc(var(--vh, 1vh) * 100);
  contain: layout style;
}

.casino-grid {
  display: grid;
  gap: 20px;
  contain: layout style;
}

.casino-card-container {
  contain: layout style;
}

.casino-card {
  background: linear-gradient(270deg, #00332C 0%, #161616 100%);
  border-radius: 15px;
  padding: 25px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 20px;
  align-items: center;
  border: 1px solid #333;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
  contain: layout style paint;
  will-change: transform;
}

.casino-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ffd700, #ff8c00);
  contain: layout style paint;
}

.casino-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  border-color: #ffd700;
}

.casino-info {
  display: flex;
  align-items: center;
  gap: 20px;
  contain: layout style;
}

.casino-logo {
  width: 120px;
  height: 120px;
  background: linear-gradient(45deg, #333, #444);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
  color: #fff;
  position: relative;
  text-align: center;
  line-height: 1.2;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  contain: layout style;
}

.casino-logo.verified::after {
  content: "✓";
  position: absolute;
  top: -5px;
  right: -5px;
  background: #ffd700;
  color: #000;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: bold;
  contain: layout style paint;
}

.casino-details h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
  color: #fff;
  contain: layout style;
}

.casino-details .bonus-label {
  background: linear-gradient(45deg, #ffd700, #ff8c00);
  color: #000;
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: bold;
  display: inline-block;
  margin-bottom: 10px;
  box-shadow: 0 2px 8px rgba(255,215,0,0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  contain: layout style;
}

.casino-details .code-info {
  color: #ffd700;
  font-size: 0.9rem;
  font-weight: bold;
  contain: layout style;
}

.bonus-info {
  text-align: center;
  min-width: 150px;
  contain: layout style;
}

.bonus-info .bonus-percentage {
  font-size: 2rem;
  font-weight: bold;
  color: #ffd700;
  margin-bottom: 5px;
  contain: layout style;
}

.bonus-info .bonus-type {
  background: #333;
  color: #fff;
  padding: 4px 8px;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: bold;
  margin-bottom: 5px;
  contain: layout style;
}

.bonus-info .max-bonus {
  font-size: 1.1rem;
  font-weight: bold;
  color: #ff8c00;
  contain: layout style;
}

.casino-actions {
  text-align: right;
  min-width: 150px;
  contain: layout style;
}

.casino-actions .terms {
  color: #aaa;
  font-size: 0.8rem;
  margin-bottom: 10px;
  display: block;
  contain: layout style;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
  width: 100%;
  margin-bottom: 8px;
  contain: layout style;
}

.btn-play {
  background: linear-gradient(45deg, #ffd700, #ff8c00);
  color: #000;
}

.btn-play:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255,215,0,0.3);
}

.btn-info {
  background: #333;
  color: #fff;
}

.btn-info:hover {
  background: #444;
}

.casino-expanded-info {
  background: #1a1a1a;
  border-radius: 0 0 15px 15px;
  padding: 25px;
  margin-top: -15px;
  border: 1px solid #333;
  border-top: none;
  display: none;
  grid-column: 1 / -1;
  contain: layout style;
}

.casino-expanded-info.active {
  display: block;
}

.expanded-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  contain: layout style;
}

.expanded-section h4 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 15px;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 10px;
  contain: layout style;
}

.expanded-section h4::before {
  content: "";
  width: 3px;
  height: 20px;
  background: linear-gradient(45deg, #ffd700, #ff8c00);
  border-radius: 2px;
  contain: layout style paint;
}

.expanded-section ul {
  list-style: none;
  padding: 0;
  contain: layout style;
}

.expanded-section li {
  color: #ccc;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  transition: all 0.3s ease;
  contain: layout style;
}

.expanded-section li:hover {
  background: rgba(255,215,0,0.1);
  transform: translateX(5px);
}

.expanded-section li::before {
  content: "✓";
  color: #4CAF50;
  font-weight: bold;
  font-size: 1.1rem;
  contain: layout style paint;
}

.license-logo {
  background: linear-gradient(23deg, #2e0303, #00332C);
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  color: #fff;
  font-weight: bold;
  box-shadow: 0 8px 25px rgba(71, 2, 2, 0.3);
  transition: all 0.3s ease;
  contain: layout style;
}

.license-logo:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 17.5px #ffd700;
}

.payment-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  align-items: stretch;
  contain: layout style;
}

.payment-method {
  background: linear-gradient(135deg, #333 0%, #444 100%);
  padding: 12px 16px;
  border-radius: 10px;
  color: #fff;
  font-size: 0.85rem;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  position: relative;
  overflow: hidden;
  min-height: 48px;
  white-space: nowrap;
  contain: layout style;
}

.payment-method::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,215,0,0.1), transparent);
  transition: left 0.5s ease;
  contain: layout style paint;
}

.payment-method:hover {
  background: linear-gradient(135deg, #444 0%, #555 100%);
  border-color: #ffd700;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255,215,0,0.2);
}

.payment-method:hover::before {
  left: 100%;
}

.payment-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  transition: all 0.3s ease;
  flex-shrink: 0;
  filter: drop-shadow(0 0 2px rgba(255,255,255,0.3));
  contain: layout style paint;
}

.payment-method:hover .payment-icon {
  filter: drop-shadow(0 0 4px rgba(255,215,0,0.6));
  transform: scale(1.1);
}

.payment-method span {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  contain: layout style;
}

.language-switcher {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 10;
  contain: layout style;
}

.lang-btn {
  background: linear-gradient(45deg, #ffd700, #ff8c00);
  color: #000;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  contain: layout style;
}

.lang-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255,215,0,0.3);
}

.lang-de { display: block; contain: layout style; }
.lang-en { display: none; contain: layout style; }

.language-en .lang-de { display: none; }
.language-en .lang-en { display: block; }

/* Tablet: 768px - 1199px - Optimized for touch interaction */
@media (min-width: 768px) and (max-width: 1199px) {
  .header-logo {
    width: 300px;
    height: 300px;
  }
  
  .header-text h1 {
    font-size: 2.5rem;
  }
  
  .header-text p {
    font-size: 1.1rem;
  }
  
  .container {
    padding: 0 30px;
  }
  
  .casino-card {
    grid-template-columns: 1fr auto auto;
    gap: 15px;
    align-items: center;
  }
  
  .casino-info {
    flex-direction: row;
    align-items: center;
    gap: 15px;
  }
  
  .casino-logo {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
  }
  
  .payment-methods {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
  
  .payment-method {
    padding: 12px 15px;
    font-size: 0.85rem;
  }
  
  .payment-icon {
    width: 24px;
    height: 24px;
  }
  
  .filters-content {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 15px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    scrollbar-color: #ff8c00 #222;
  }
  
  .filters-content::-webkit-scrollbar {
    height: 6px;
  }

  .filters-content::-webkit-scrollbar-track {
    background: #222;
    border-radius: 3px;
  }

  .filters-content::-webkit-scrollbar-thumb {
    background: #ff8c00;
    border-radius: 3px;
  }

  .filters-content::-webkit-scrollbar-thumb:hover {
    background: #ffd700;
  }
  
  .filter-group select {
    min-width: 120px;
    font-size: 0.9rem;
  }
  
  .expanded-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  /* Improve touch targets for tablets */
  .btn {
    min-height: 44px;
    padding: 12px 20px;
    font-size: 1rem;
  }
  
  .casino-card {
    padding: 20px;
  }
  
  .casino-actions {
    gap: 15px;
    min-width: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  
  .bonus-info {
    text-align: center;
    min-width: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background: rgba(0, 51, 44, 0.3);
    border-radius: 10px;
    border: 1px solid rgba(255, 215, 0, 0.2);
  }
  
  .bonus-info .bonus-percentage {
    font-size: 1.8rem;
    font-weight: bold;
    color: #ffd700;
    margin-bottom: 5px;
    line-height: 1;
  }
  
  .bonus-info .bonus-type {
    background: #333;
    color: #fff;
    padding: 4px 8px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: bold;
    margin-bottom: 5px;
    white-space: nowrap;
  }
  
  .bonus-info .max-bonus {
    font-size: 1rem;
    font-weight: bold;
    color: #ff8c00;
    line-height: 1.2;
  }
  
  /* Better spacing for tablet screens */
  .main-content {
    padding: 40px 0;
  }
  
  .casino-grid {
    gap: 25px;
  }
  
  /* Improve filter readability on tablets */
  .filter-group label {
    font-size: 0.95rem;
  }
  
  /* Better header spacing */
  .header {
    padding: 40px 0;
  }
  
  .header-content {
    gap: 25px;
  }
}

/* Mobile: 480px - 767px - Mobile-first design */
/* Mobile: 480px - 767px - Mobile-first design */
@media (min-width: 480px) and (max-width: 767px) {
  .language-switcher {
    position: relative;
    top: auto;
    right: auto;
    margin-bottom: 20px;
  }
  
  @supports (-webkit-touch-callout: none) {
    html, body {
      min-height: -webkit-fill-available !important;
      height: -webkit-fill-available !important;
    }
  }
  
  @supports not (-webkit-touch-callout: none) {
    html, body {
      min-height: 100vh !important;
      min-height: 100dvh !important;
    }
  }
  
  html, body {
    min-height: 100vh !important;
    min-height: 100dvh !important;
    min-height: calc(var(--vh, 1vh) * 100) !important;
    height: auto !important;
    overflow-x: hidden;
    position: relative;
  }
  
  body::before,
  body::after {
    background-attachment: scroll !important;
    position: absolute !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    height: calc(var(--vh, 1vh) * 100) !important;
  }
  
  .container {
    min-height: 100vh !important;
    min-height: 100dvh !important;
    min-height: calc(var(--vh, 1vh) * 100) !important;
    width: 100vw !important;
    max-width: 100vw !important;
    padding: 0 15px;
  }
  
  .header {
    padding: 20px 0;
  }
  
  .header-logo {
    width: 200px;
    height: 200px;
  }
  
  .header-text h1 {
    font-size: 1.8rem;
  }
  
  .header-text p {
    font-size: 1rem;
  }
  
  .filters-content {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
    padding: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    scrollbar-color: #ff8c00 #222;
  }
  
  .filters-content::-webkit-scrollbar {
    height: 6px;
  }
  
  .filters-content::-webkit-scrollbar-track {
    background: #222;
    border-radius: 3px;
  }
  
  .filters-content::-webkit-scrollbar-thumb {
    background: #ff8c00;
    border-radius: 3px;
  }
  
  .filters-content::-webkit-scrollbar-thumb:hover {
    background: #ffd700;
  }
  
  .filter-group {
    flex-direction: row;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
  }
  
  .filter-group select {
    min-width: 100px;
    max-width: 150px;
    padding: 8px 10px;
    font-size: 0.85rem;
  }
  
  .casino-card {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 20px;
    text-align: center;
  }
  
  .casino-info {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  
  .casino-logo {
    width: 120px;
    height: 120px;
  }
  
  .bonus-info {
    order: 2;
    text-align: center;
    padding: 15px;
    background: rgba(0, 51, 44, 0.3);
    border-radius: 10px;
    border: 1px solid rgba(255, 215, 0, 0.2);
  }
  
  .bonus-info .bonus-percentage {
    font-size: 1.8rem;
    margin-bottom: 5px;
  }
  
  .bonus-info .bonus-type {
    font-size: 0.9rem;
    margin-bottom: 5px;
  }
  
  .bonus-info .max-bonus {
    font-size: 0.8rem;
  }
  
  .casino-actions {
    order: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  
  .casino-actions .terms {
    font-size: 0.8rem;
    margin-bottom: 10px;
  }
  
  .btn {
    width: 100%;
    max-width: 250px;
    padding: 12px 20px;
    font-size: 0.9rem;
  }
  
  .expanded-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .payment-methods {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  
  .payment-method {
    padding: 10px 12px;
    font-size: 0.75rem;
  }
  
  .payment-icon {
    width: 20px;
    height: 20px;
  }
  
  .payment-method span {
    font-size: 0.7rem;
  }
  
  .main-content {
    padding: 20px 0;
  }
  
  .casino-grid {
    gap: 20px;
  }
  
  .casino-expanded-info {
    padding: 20px;
    margin-top: -12px;
    border-radius: 0 0 12px 12px;
    overflow-x: hidden;
    max-width: 100%;
    box-sizing: border-box;
    contain: layout style;
  }
  
  .expanded-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    contain: layout style;
  }
  
  .expanded-section h4 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    contain: layout style;
  }
  
  .expanded-section li {
    padding: 8px 12px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    contain: layout style;
  }
  
  .payment-methods {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    contain: layout style;
  }
  
  .payment-method {
    padding: 10px 12px;
    font-size: 0.75rem;
    contain: layout style;
  }
  
  .license-logo {
    padding: 18px;
    font-size: 0.95rem;
    contain: layout style;
  }
}

/* Desktop: 1200px and above - Full immersive experience */
@media (min-width: 1200px) {
  .header-logo {
    width: 500px;
    height: 500px;
  }
  
  .header-text h1 {
    font-size: 3rem;
  }
  
  .header-text p {
    font-size: 1.2rem;
  }
  
  .container {
    max-width: 1400px;
    padding: 0 40px;
  }
  
  .casino-card {
    grid-template-columns: 1fr auto auto;
    gap: 20px;
    align-items: center;
  }
  
  .casino-info {
    flex-direction: row;
    align-items: center;
    gap: 20px;
  }
  
  .casino-logo {
    width: 100px;
    height: 100px;
  }
  
  .payment-methods {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 15px;
  }
  
  .payment-method {
    padding: 15px 20px;
    font-size: 0.9rem;
    min-width: 160px;
  }
  
  .payment-icon {
    width: 28px;
    height: 28px;
  }
  
  .filters-content {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    scrollbar-color: #ff8c00 #222;
  }
  
  .filters-content::-webkit-scrollbar {
    height: 6px;
  }

  .filters-content::-webkit-scrollbar-track {
    background: #222;
    border-radius: 3px;
  }

  .filters-content::-webkit-scrollbar-thumb {
    background: #ff8c00;
    border-radius: 3px;
  }

  .filters-content::-webkit-scrollbar-thumb:hover {
    background: #ffd700;
  }
  
  .filter-group select {
    min-width: 150px;
    font-size: 1rem;
  }
  
  .expanded-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
  }
  
  .btn {
    min-height: 48px;
    padding: 15px 25px;
    font-size: 1.1rem;
  }
  
  .casino-card {
    padding: 25px;
  }
  
  .casino-actions {
    gap: 20px;
  }
  
  .bonus-info {
    text-align: center;
    min-width: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  
  .bonus-info .bonus-percentage {
    font-size: 2rem;
    font-weight: bold;
    color: #ffd700;
    margin-bottom: 8px;
    line-height: 1;
  }
  
  .bonus-info .bonus-type {
    background: #333;
    color: #fff;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-bottom: 8px;
    white-space: nowrap;
  }
  
  .bonus-info .max-bonus {
    font-size: 1.1rem;
    font-weight: bold;
    color: #ff8c00;
    line-height: 1.2;
  }
  
  .main-content {
    padding: 50px 0;
  }
  
  .casino-grid {
    gap: 30px;
  }
  
  .filter-group label {
    font-size: 1rem;
  }
  
  .header {
    padding: 50px 0;
  }
  
  .header-content {
    gap: 30px;
  }
}

@media (max-width: 1200px) {
  .main-content {
    flex-direction: column;
  }
  
  .side-panel {
    width: 100%;
    position: static;
    opacity: 1;
    transform: none;
    pointer-events: all;
    display: none;
  }
  
  .side-panel.active {
    display: block;
  }
}

.loading {
  display: none;
  text-align: center;
  padding: 40px;
  contain: layout style;
}

.spinner {
  border: 4px solid #333;
  border-top: 4px solid #ffd700;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
  contain: layout style paint;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.age-verification {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  height: calc(var(--vh, 1vh) * 100);
  background: linear-gradient(135deg, #00332C 0%, #004d40 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  backdrop-filter: blur(10px);
  overflow: hidden;
  contain: layout style;
}

.age-modal {
  background: linear-gradient(135deg, #00332C 0%, #004d40 100%);
  border: 3px solid #ff8c00;
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  position: relative;
  contain: layout style;
}

.age-modal::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0px;
  background: linear-gradient(90deg, #ffd700, #ff8c00);
  border-radius: 20px 20px 0 0;
  opacity: 0.8;
  contain: layout style paint;
}

.age-icon {
  font-size: clamp(2.5rem, 10vw, 4rem);
  color: #ffd700;
  margin-bottom: 20px;
  text-shadow: 0 0 20px rgba(255,215,0,0.5);
  contain: layout style;
}

.age-title {
  font-size: clamp(1.6rem, 6.5vw, 2.5rem);
  font-weight: bold;
  color: #fff;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  word-break: break-word;
  overflow-wrap: anywhere;
  line-height: 1.15;
  contain: layout style;
}

.age-subtitle {
  font-size: 1.2rem;
  color: #ccc;
  margin-bottom: 30px;
  line-height: 1.6;
  contain: layout style;
}

.age-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  contain: layout style;
}

.age-btn {
  padding: 15px 30px;
  border-radius: 10px;
  font-weight: bold;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  min-width: 120px;
  contain: layout style;
}

.age-btn-yes {
  background: linear-gradient(45deg, #ffd700, #ff8c00);
  color: #000;
}

.age-btn-yes:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255,215,0,0.4);
}

.age-btn-no {
  background: #333;
  color: #fff;
  border: 2px solid #666;
}

.age-btn-no:hover {
  background: #444;
  transform: translateY(-2px);
}

.age-warning {
  margin-top: 20px;
  padding: 15px;
  background: rgba(255,215,0,0.1);
  border: 1px solid #ffd700;
  border-radius: 10px;
  color: #ffd700;
  font-size: 0.9rem;
  line-height: 1.4;
  contain: layout style;
}

.hidden {
  display: none !important;
}

/* Small Mobile: Below 480px - Compact but functional */
/* Small Mobile: Below 480px - Compact but functional */
@media (max-width: 479px) {
  .age-modal { padding: 28px 18px; }
  .age-subtitle { font-size: 1rem; }
  .age-btn { font-size: 1rem; padding: 12px 16px; }
  
  .container {
    padding: 0 10px;
  }
  
  .header {
    padding: 15px 0;
  }
  
  .header-logo {
    width: 300px;
    height: 300px;
  }
  
  .header-text h1 {
    font-size: 1.5rem;
  }
  
  .header-text p {
    font-size: 0.9rem;
  }
  
  .filters-content {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    padding: 8px;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    scrollbar-color: #ff8c00 #222;
  }
  
  .filters-content::-webkit-scrollbar {
    height: 4px;
  }
  
  .filters-content::-webkit-scrollbar-track {
    background: #222;
    border-radius: 2px;
  }
  
  .filters-content::-webkit-scrollbar-thumb {
    background: #ff8c00;
    border-radius: 2px;
  }
  
  .filters-content::-webkit-scrollbar-thumb:hover {
    background: #ffd700;
  }
  
  .filter-group select {
    min-width: 80px;
    max-width: 120px;
    padding: 6px 8px;
    font-size: 0.8rem;
  }
  
  .casino-card {
    padding: 15px;
    gap: 12px;
  }
  
  .casino-logo {
    width: 100px;
    height: 100px;
  }
  
  .bonus-info {
    padding: 12px;
  }
  
  .bonus-info .bonus-percentage {
    font-size: 1.5rem;
  }
  
  .bonus-info .bonus-type {
    font-size: 0.8rem;
  }
  
  .bonus-info .max-bonus {
    font-size: 0.7rem;
  }
  
  .btn {
    padding: 10px 16px;
    font-size: 0.8rem;
  }
  
  .payment-methods {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  
  .payment-method {
    padding: 8px 10px;
    font-size: 0.7rem;
  }
  
  .payment-icon {
    width: 18px;
    height: 18px;
  }
  
  .payment-method span {
    font-size: 0.65rem;
  }
  
  .casino-expanded-info {
    padding: 15px;
    margin-top: -10px;
    border-radius: 0 0 10px 10px;
    overflow-x: hidden;
    max-width: 100%;
    box-sizing: border-box;
    contain: layout style;
  }
  
  .expanded-grid {
    grid-template-columns: 1fr;
    gap: 15px;
    contain: layout style;
  }
  
  .expanded-section h4 {
    font-size: 1rem;
    margin-bottom: 10px;
    contain: layout style;
  }
  
  .expanded-section li {
    padding: 6px 10px;
    margin-bottom: 8px;
    font-size: 0.85rem;
    contain: layout style;
  }
  
  .payment-methods {
    grid-template-columns: 1fr;
    gap: 6px;
    contain: layout style;
  }
  
  .payment-method {
    padding: 8px 10px;
    font-size: 0.7rem;
    contain: layout style;
  }
  
  .license-logo {
    padding: 15px;
    font-size: 0.9rem;
    contain: layout style;
  }
}

.site-footer {
  background: #101010;
  border-top: 1px solid #2a2a2a;
  padding: 18px 12px;
  text-align: center;
  color: #aaa;
  font-size: 0.85rem;
  contain: layout style;
}

.site-footer .brand { color: #ffd700; font-weight: 700; contain: layout style; }
.site-footer a { color: #ffd700; text-decoration: none; contain: layout style; }
.site-footer .dev-credit a,
.site-footer .dev-credit a:visited { color: #6d4d80; font-weight: 700; contain: layout style; }
.site-footer .dev-credit a:hover { color: #ffe169; }
.site-footer .disclaimer { margin-top:6px; font-size:0.75rem; color:#888; contain: layout style; }
.site-footer .dev-credit { margin-top:8px; font-size:0.72rem; color:#777; contain: layout style; }
.site-footer .dev-credit a { color:#9a9a9a; text-decoration:none; contain: layout style; }

@media (max-width: 767px) {
  .casino-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    gap: 0 !important;
    padding: 16px 6px !important;
    box-sizing: border-box !important;
  }
  .casino-info,
  .bonus-info,
  .casino-actions {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px auto !important;
    text-align: center !important;
  }
  .casino-info {
    margin-bottom: 12px !important;
  }
  .bonus-info {
    margin-bottom: 12px !important;
  }
  .casino-actions {
    margin-bottom: 0 !important;
    gap: 8px !important;
  }
  .casino-logo {
    margin-bottom: 8px !important;
    width: 100px !important;
    height: 100px !important;
    max-width: 100vw !important;
  }
  .casino-details h3,
  .casino-details .bonus-label {
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    width: 100%;
    text-align: center;
  }
  .btn {
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 8px !important;
    box-sizing: border-box !important;
  }
  .casino-actions .btn:last-child {
    margin-bottom: 0 !important;
  }
  .bonus-info .bonus-percentage,
  .bonus-info .bonus-type,
  .bonus-info .max-bonus {
    width: 100%;
    text-align: center;
    word-break: break-word;
    overflow-wrap: break-word;
  }
}