.page-casino {
  background-color: #F4F7FB;
  color: #1F2D3D;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-casino__section {
  padding: 10px 20px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-casino__hero-section {
  padding-top: 10px; /* Small top padding to avoid overlap with fixed header */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: #F4F7FB;
  position: relative;
  overflow: hidden;
  padding-bottom: 40px;
}

.page-casino__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 20px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-casino__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-casino__hero-content {
  max-width: 800px;
  padding: 0 20px;
}

.page-casino__main-title {
  font-size: clamp(2em, 4vw, 2.8em);
  font-weight: 700;
  line-height: 1.2;
  color: #000000; /* Custom Color_1776249996415 */
  margin-bottom: 15px;
  letter-spacing: -0.5px;
}

.page-casino__description {
  font-size: 1.1em;
  color: #1F2D3D; /* Text Main */
  margin-bottom: 30px;
}

.page-casino__hero-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.page-casino__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.page-casino__btn--primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 10px rgba(47, 107, 255, 0.3);
}

.page-casino__btn--primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(47, 107, 255, 0.4);
}

.page-casino__btn--secondary {
  background-color: #FFFFFF;
  color: #2F6BFF;
  border: 2px solid #2F6BFF;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.page-casino__btn--secondary:hover {
  background-color: #2F6BFF;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(47, 107, 255, 0.2);
}

.page-casino__btn--small {
  padding: 8px 15px;
  font-size: 0.9em;
  border-radius: 6px;
}

.page-casino__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.5em);
  color: #000000; /* Custom Color_1776249996415 */
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-casino__section-description {
  font-size: 1.05em;
  color: #1F2D3D; /* Text Main */
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}

.page-casino__games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-casino__game-card {
  background-color: #FFFFFF; /* Card BG */
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #D6E2FF; /* Border */
}

.page-casino__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.page-casino__game-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  margin-bottom: 15px;
}

.page-casino__game-title {
  font-size: 1.4em;
  font-weight: 600;
  color: #000000; /* Custom Color_1776249996415 */
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-casino__game-title a {
  color: #000000; /* Custom Color_1776249996415 */
  text-decoration: none;
}

.page-casino__game-title a:hover {
  color: #2F6BFF;
}

.page-casino__game-text {
  font-size: 0.95em;
  color: #1F2D3D; /* Text Main */
  padding: 0 15px 20px;
}

.page-casino__view-all-wrapper {
  text-align: center;
}

.page-casino__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.page-casino__feature-item {
  background-color: #FFFFFF; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  border: 1px solid #D6E2FF; /* Border */
}

.page-casino__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-casino__feature-title {
  font-size: 1.3em;
  font-weight: 600;
  color: #000000; /* Custom Color_1776249996415 */
  margin-bottom: 10px;
}

.page-casino__feature-description {
  font-size: 0.95em;
  color: #1F2D3D; /* Text Main */
}

.page-casino__cta-section {
  background: linear-gradient(90deg, #2F6BFF 0%, #6FA3FF 100%);
  color: #FFFFFF;
  text-align: center;
  padding: 60px 20px;
  border-radius: 10px;
  margin-top: 40px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-casino__cta-title {
  font-size: clamp(2em, 4vw, 2.8em);
  font-weight: 700;
  margin-bottom: 15px;
  color: #FFFFFF;
}

.page-casino__cta-description {
  font-size: 1.1em;
  max-width: 700px;
  margin: 0 auto 30px;
}

.page-casino__cta-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-casino__cta-actions .page-casino__btn--primary {
  background: #FFFFFF;
  color: #2F6BFF;
  box-shadow: none;
}

.page-casino__cta-actions .page-casino__btn--primary:hover {
  background: #E0E0E0;
  transform: translateY(-2px);
}

.page-casino__cta-actions .page-casino__btn--secondary {
  background: transparent;
  border: 2px solid #FFFFFF;
  color: #FFFFFF;
  box-shadow: none;
}

.page-casino__cta-actions .page-casino__btn--secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-casino__hero-actions {
    flex-direction: column;
    gap: 10px;
  }

  .page-casino__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }

  .page-casino__section-title {
    font-size: clamp(1.6em, 5vw, 2.2em);
  }

  .page-casino__games-grid,
  .page-casino__features-grid {
    grid-template-columns: 1fr;
  }

  .page-casino__game-image {
    height: 200px;
  }

  .page-casino__feature-icon {
    width: 80px;
    height: 80px;
  }

  .page-casino__cta-actions {
    flex-direction: column;
    gap: 10px;
  }

  /* Ensure images do not overflow on mobile */
  .page-casino img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-casino__section {
    padding: 10px 15px 30px;
  }

  .page-casino__hero-content {
    padding: 0 15px;
  }

  .page-casino__btn {
    padding: 10px 20px;
    font-size: 0.9em;
  }

  .page-casino__btn--small {
    padding: 6px 12px;
    font-size: 0.85em;
  }

  .page-casino__cta-section {
    padding: 40px 15px;
  }

  .page-casino__cta-title {
    font-size: clamp(1.8em, 6vw, 2.2em);
  }
}