.page-casino {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #FFF5E1; /* Text Main */
  background-color: #B71C1C; /* Background */
}

.page-casino__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

.page-casino__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #FFF5E1; /* Text Main */
  letter-spacing: 1px;
}

.page-casino__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  color: rgba(255, 245, 225, 0.8);
}

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

.page-casino__hero-image-wrapper {
  width: 100%;
  max-height: 675px;
  overflow: hidden;
}

.page-casino__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* Desktop: cover to fill space */
  object-position: center;
}

.page-casino__hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
  padding: 30px 20px;
  background-color: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
  margin-top: -80px; /* Overlap slightly with image */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-casino__main-title {
  font-size: clamp(2em, 4vw, 3.2em);
  font-weight: 700;
  color: #F4D34D; /* Gold */
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-casino__intro-text {
  font-size: 1.15em;
  color: #FFF5E1; /* Text Main */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-casino__btn-primary,
.page-casino__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-casino__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  color: #7A0E0E; /* Deep Red for contrast */
  border: 2px solid #F2B544; /* Border */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-casino__btn-primary:hover {
  background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-casino__btn-secondary {
  background: transparent;
  color: #F4D34D; /* Gold */
  border: 2px solid #F2B544; /* Border */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-casino__btn-secondary:hover {
  background-color: rgba(244, 211, 77, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* About Section */
.page-casino__about-section {
  padding: 60px 0;
  background-color: #D32F2F; /* Card BG */
  color: #FFF5E1;
}

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

.page-casino__feature-item {
  background-color: #7A0E0E; /* Deep Red */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #F2B544; /* Border */
}

.page-casino__feature-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  object-fit: contain;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-casino__feature-title {
  font-size: 1.5em;
  color: #F4D34D; /* Gold */
  margin-bottom: 15px;
}

.page-casino__feature-description {
  font-size: 1em;
  color: #FFF5E1;
}

/* Games Section */
.page-casino__games-section {
  padding: 60px 0;
  background-color: #B71C1C; /* Background */
  color: #FFF5E1;
}

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

.page-casino__game-tile {
  background-color: #D32F2F; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease;
  border: 1px solid #F2B544; /* Border */
  display: flex;
  flex-direction: column;
  aspect-ratio: 1 / 1;
}

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

.page-casino__game-image {
  width: 100%;
  height: 70%; /* Image takes 70% of tile height */
  object-fit: cover;
  display: block;
}

.page-casino__game-title {
  font-size: 1.2em;
  font-weight: bold;
  margin-top: 10px;
  margin-bottom: 5px;
  padding: 0 10px;
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-casino__game-title a {
  color: #F4D34D; /* Gold */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-casino__game-title a:hover {
  color: #FFCC66; /* Glow */
}

.page-casino__game-category {
  font-size: 0.9em;
  color: rgba(255, 245, 225, 0.7);
  margin-bottom: 10px;
  padding: 0 10px;
}

.page-casino__cta-center {
  text-align: center;
  margin-top: 40px;
}

/* Guide Section */
.page-casino__guide-section {
  padding: 60px 0;
  background-color: #D32F2F; /* Card BG */
  color: #FFF5E1;
}

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

.page-casino__step-item {
  background-color: #7A0E0E; /* Deep Red */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #F2B544; /* Border */
}

.page-casino__step-number {
  width: 50px;
  height: 50px;
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  color: #7A0E0E; /* Deep Red */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
  margin: 0 auto 20px auto;
  border: 2px solid #F2B544; /* Border */
}

.page-casino__step-title {
  font-size: 1.4em;
  color: #F4D34D; /* Gold */
  margin-bottom: 15px;
}

.page-casino__step-description {
  font-size: 1em;
  color: #FFF5E1;
  margin-bottom: 20px;
}

.page-casino__btn-text {
  color: #FFD86A; /* Gold */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-casino__btn-text:hover {
  color: #FFCC66; /* Glow */
  text-decoration: underline;
}

/* Mobile Section */
.page-casino__mobile-section {
  padding: 60px 0;
  background-color: #B71C1C; /* Background */
  color: #FFF5E1;
}

.page-casino__mobile-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 600px;
  margin-right: 40px;
}

.page-casino__mobile-image-wrapper {
  flex-shrink: 0;
  max-width: 500px;
  width: 100%;
}

.page-casino__mobile-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  border: 2px solid #F2B544; /* Border */
}

.page-casino__mobile-section .page-casino__container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

/* Responsible Gaming Section */
.page-casino__responsible-gaming-section {
  padding: 60px 0;
  background-color: #D32F2F; /* Card BG */
  color: #FFF5E1;
}

.page-casino__text-content {
  font-size: 1.1em;
  color: #FFF5E1;
  max-width: 900px;
  margin: 0 auto 30px auto;
  text-align: center;
}

/* FAQ Section */
.page-casino__faq-section {
  padding: 60px 0;
  background-color: #B71C1C; /* Background */
  color: #FFF5E1;
}

.page-casino__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
}

.page-casino__faq-item {
  background-color: #7A0E0E; /* Deep Red */
  border: 1px solid #F2B544; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-casino__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  font-size: 1.2em;
  color: #F4D34D; /* Gold */
  user-select: none;
}

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

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

.page-casino__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: #FFD86A; /* Gold */
  transition: transform 0.3s ease;
}

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

.page-casino__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  color: #FFF5E1;
  line-height: 1.7;
}

/* Final CTA Section */
.page-casino__cta-final-section {
  padding: 60px 0;
  background-color: #D32F2F; /* Card BG */
  color: #FFF5E1;
}

/* Dark/Light Background Classes */
.page-casino__dark-section .page-casino__section-title,
.page-casino__dark-section .page-casino__section-description {
  color: #FFF5E1; /* Text Main */
}

.page-casino__light-bg .page-casino__section-title {
  color: #F4D34D; /* Gold */
}

.page-casino__light-bg .page-casino__section-description {
  color: rgba(255, 245, 225, 0.8);
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .page-casino__container {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-casino img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

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

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

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

  .page-casino__hero-image {
    object-fit: contain; /* Mobile: contain to prevent cropping */
    aspect-ratio: unset;
    max-height: none;
  }

  .page-casino__hero-content {
    margin-top: 20px; /* Adjust overlap for mobile */
    padding: 20px 15px;
  }

  .page-casino__main-title {
    font-size: 2em; /* Smaller font size for mobile H1 */
  }

  .page-casino__intro-text {
    font-size: 1em;
  }

  .page-casino__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-casino__btn-primary,
  .page-casino__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* About Section */
  .page-casino__features-grid {
    grid-template-columns: 1fr;
  }

  /* Games Section */
  .page-casino__game-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns for games */
    gap: 15px;
  }

  .page-casino__game-tile {
    aspect-ratio: 1 / 1;
  }

  .page-casino__game-image {
    height: 60%; /* Adjust image height in tile for better text visibility */
  }

  .page-casino__game-title {
    font-size: 1em;
  }

  .page-casino__game-category {
    font-size: 0.85em;
  }

  /* Guide Section */
  .page-casino__guide-steps {
    grid-template-columns: 1fr;
  }

  /* Mobile Section */
  .page-casino__mobile-section .page-casino__container {
    flex-direction: column;
    gap: 30px;
  }

  .page-casino__mobile-content {
    margin-right: 0;
    max-width: 100%;
  }

  .page-casino__mobile-image-wrapper {
    max-width: 100%;
  }

  /* FAQ Section */
  .page-casino__faq-item summary {
    font-size: 1.1em;
    padding: 15px 20px;
  }

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