.page-casino {
  font-family: Arial, sans-serif;
  color: #1F2D3D; /* Text Main */
  background-color: #F4F7FB; /* Background */
}

.page-casino__section-padding {
  padding: 60px 20px;
}

.page-casino__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-casino__section-title {
  font-size: 36px;
  font-weight: 700;
  color: #1F2D3D;
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-casino__section-description {
  font-size: 18px;
  color: #1F2D3D;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.page-casino__card {
  background-color: #FFFFFF; /* Card BG */
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 25px;
  border: 1px solid #D6E2FF; /* Border */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-casino__btn-primary,
.page-casino__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  min-width: 180px;
  text-align: center;
  box-sizing: border-box;
}

.page-casino__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button */
  color: #ffffff;
}

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

.page-casino__btn-secondary {
  background-color: transparent;
  color: #2F6BFF;
  border: 2px solid #2F6BFF;
}

.page-casino__btn-secondary:hover {
  background-color: #2F6BFF;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(47, 107, 255, 0.4);
}

.page-casino__center-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

/* Hero Section */
.page-casino__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding */
  background-color: #F4F7FB; /* Background */
  position: relative;
  overflow: hidden;
}

.page-casino__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-casino__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover; /* Cover to fill space, may crop sides */
  display: block;
}

.page-casino__hero-content {
  padding: 40px 20px;
  text-align: center;
  max-width: 900px;
  z-index: 2;
}

.page-casino__hero-title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  color: #1F2D3D;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-casino__hero-description {
  font-size: 20px;
  color: #1F2D3D;
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-casino__hero-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Why Choose Us Section */
.page-casino__why-choose-us {
  background-color: #F4F7FB; /* Background */
}

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

.page-casino__feature-item {
  text-align: center;
}

.page-casino__feature-icon {
  width: 200px;
  height: 200px;
  object-fit: contain;
  margin: 0 auto 20px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.page-casino__feature-title {
  font-size: 24px;
  font-weight: 700;
  color: #2F6BFF;
  margin-bottom: 10px;
}

.page-casino__feature-text {
  font-size: 16px;
  color: #1F2D3D;
  line-height: 1.6;
}

/* Popular Games Section */
.page-casino__dark-section {
  background-color: #2F6BFF; /* Main Color */
  color: #ffffff;
}

.page-casino__dark-section .page-casino__section-title,
.page-casino__dark-section .page-casino__section-description,
.page-casino__dark-section .page-casino__game-category-title,
.page-casino__dark-section .page-casino__game-list li,
.page-casino__dark-section .page-casino__game-text {
  color: #ffffff;
}

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

.page-casino__game-category-item {
  text-align: center;
  display: flex;
  flex-direction: column;
}

.page-casino__game-category-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-casino__game-category-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
}

.page-casino__game-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 20px;
  max-width: 200px;
}

.page-casino__game-list li {
  font-size: 16px;
  margin-bottom: 5px;
}

.page-casino__game-text {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* How to Start Section */
.page-casino__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

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

.page-casino__step-number {
  font-size: 48px;
  font-weight: 800;
  color: #6FA3FF; /* Glow */
  margin-bottom: 15px;
}

.page-casino__step-title {
  font-size: 24px;
  font-weight: 700;
  color: #2F6BFF;
  margin-bottom: 10px;
}

.page-casino__step-description {
  font-size: 16px;
  color: #1F2D3D;
  line-height: 1.6;
}

/* Promotions Section */
.page-casino__light-bg {
  background-color: #F4F7FB; /* Background */
}

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

.page-casino__promo-item {
  text-align: center;
  display: flex;
  flex-direction: column;
}

.page-casino__promo-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-casino__promo-title {
  font-size: 22px;
  font-weight: 700;
  color: #2F6BFF;
  margin-bottom: 10px;
}

.page-casino__promo-text {
  font-size: 16px;
  color: #1F2D3D;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Responsible Gambling Section */
.page-casino__responsible-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-casino__responsible-item {
  text-align: center;
}

.page-casino__responsible-title {
  font-size: 24px;
  font-weight: 700;
  color: #2F6BFF;
  margin-bottom: 10px;
}

.page-casino__responsible-text {
  font-size: 16px;
  color: #1F2D3D;
  line-height: 1.6;
}

/* Latest News Section */
.page-casino__news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-casino__news-card {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  color: #1F2D3D;
}

.page-casino__news-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-casino__news-content {
  padding: 10px 0;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-casino__news-title {
  font-size: 22px;
  font-weight: 700;
  color: #2F6BFF;
  margin-bottom: 8px;
  line-height: 1.4;
}

.page-casino__news-date {
  font-size: 14px;
  color: #666;
  margin-bottom: 10px;
}

.page-casino__news-excerpt {
  font-size: 16px;
  color: #1F2D3D;
  line-height: 1.6;
}

/* FAQ Section */
.page-casino__faq-list {
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-casino__faq-item {
  background-color: #FFFFFF; /* Card BG */
  border: 1px solid #D6E2FF; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-casino__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 18px;
  font-weight: 600;
  color: #2F6BFF;
  cursor: pointer;
  background-color: #F4F7FB; /* Background */
  border-bottom: 1px solid #D6E2FF;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary native marker */
}

.page-casino__faq-item[open] .page-casino__faq-question {
  background-color: #E0E8FF; /* Lighter shade of primary */
}

.page-casino__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-casino__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 18px;
  font-weight: 600;
  color: #2F6BFF;
  cursor: pointer;
  background-color: #F4F7FB;
  border-bottom: 1px solid #D6E2FF;
  transition: background-color 0.3s ease;
  list-style: none;
}

.page-casino__faq-qtext {
  flex-grow: 1;
}

.page-casino__faq-toggle {
  font-size: 24px;
  font-weight: 700;
  color: #2F6BFF;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-casino__faq-item[open] .page-casino__faq-toggle {
  transform: rotate(45deg);
}

.page-casino__faq-answer {
  padding: 20px 25px;
  font-size: 16px;
  color: #1F2D3D;
  line-height: 1.6;
  background-color: #FFFFFF; /* Card BG */
}

/* General Image Responsiveness */
.page-casino img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Media Queries */
@media (max-width: 1024px) {
  .page-casino__section-title {
    font-size: 32px;
  }

  .page-casino__hero-title {
    font-size: clamp(28px, 5vw, 42px);
  }

  .page-casino__hero-description {
    font-size: 18px;
  }

  .page-casino__btn-primary,
  .page-casino__btn-secondary {
    padding: 12px 24px;
    font-size: 16px;
    min-width: 160px;
  }

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

  .page-casino__game-category-image,
  .page-casino__promo-image,
  .page-casino__news-image {
    height: 200px;
  }
}

@media (max-width: 768px) {
  .page-casino__section-padding {
    padding: 40px 15px;
  }

  .page-casino__container {
    padding: 0 10px;
  }

  .page-casino__section-title {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .page-casino__section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  /* Hero Section Mobile */
  .page-casino__hero-section {
    padding-top: 10px !important;
  }

  .page-casino__hero-image-wrapper {
    max-height: none;
  }

  .page-casino__hero-image {
    object-fit: contain !important; /* Mobile hero image should contain, not cover */
    aspect-ratio: unset !important;
    max-height: none !important;
    width: 100% !important;
    height: auto !important;
  }

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

  .page-casino__hero-title {
    font-size: clamp(24px, 7vw, 36px);
    margin-bottom: 15px;
  }

  .page-casino__hero-description {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .page-casino__hero-cta-buttons,
  .page-casino__center-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-casino__btn-primary,
  .page-casino__btn-secondary,
  .page-casino a[class*="button"],
  .page-casino a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-casino__hero-cta-buttons,
  .page-casino__button-group,
  .page-casino__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  /* Why Choose Us Grid */
  .page-casino__feature-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  /* Popular Games Grid */
  .page-casino__game-category-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-casino__game-category-image {
    height: 180px;
  }

  /* How to Start Grid */
  .page-casino__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Promotions Grid */
  .page-casino__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-casino__promo-image {
    height: 180px;
  }

  /* Responsible Gambling Grid */
  .page-casino__responsible-features {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Latest News Grid */
  .page-casino__news-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-casino__news-image {
    height: 180px;
  }

  /* FAQ Section */
  .page-casino__faq-question {
    padding: 15px 20px;
    font-size: 16px;
  }

  .page-casino__faq-answer {
    padding: 15px 20px;
    font-size: 15px;
  }

  /* Generic Image Rules for Mobile */
  .page-casino img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }

  .page-casino__section,
  .page-casino__card,
  .page-casino__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* No winner list in casino page, skip specific winner list mobile styles */

  /* No game grid in casino page, skip specific game grid mobile styles */
}