/* style/casino.css */
.page-casino {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body bg */
  background-color: var(--dark-bg); /* Inherit from shared */
}

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

.page-casino__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Account for fixed header */
  padding-bottom: 80px;
  text-align: center;
  background-color: #26A9E0;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.page-casino__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.page-casino__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2; /* Slightly dim the background image */
}

.page-casino__hero-section .page-casino__container {
    position: relative;
    z-index: 1;
}

.page-casino__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FFFFFF;
}

.page-casino__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-casino__btn-primary,
.page-casino__btn-secondary,
.page-casino__btn-tertiary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  box-sizing: border-box;
  max-width: 100%;
  text-align: center;
}

.page-casino__btn-primary {
  background-color: #EA7C07; /* Custom Login color for primary action */
  color: #FFFFFF;
  border: 2px solid #EA7C07;
}

.page-casino__btn-primary:hover {
  background-color: #d46a00;
  border-color: #d46a00;
}

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

.page-casino__btn-secondary:hover {
  background-color: #FFFFFF;
  color: #26A9E0;
}

.page-casino__btn-tertiary {
  background-color: #26A9E0;
  color: #FFFFFF;
  border: 2px solid #26A9E0;
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-casino__btn-tertiary:hover {
  background-color: #1a8cc4;
  border-color: #1a8cc4;
}

.page-casino__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-casino__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
}

.page-casino__light-bg {
  background-color: #FFFFFF;
  color: #333333; /* Dark text for light background */
  padding: 80px 0;
}

.page-casino__dark-bg {
  background-color: #26A9E0;
  color: #FFFFFF; /* Light text for dark background */
  padding: 80px 0;
}

.page-casino__about-section .page-casino__section-title,
.page-casino__promotions-section .page-casino__section-title,
.page-casino__how-to-join .page-casino__section-title {
    color: #333333;
}

.page-casino__about-section .page-casino__section-description,
.page-casino__promotions-section .page-casino__section-description,
.page-casino__how-to-join .page-casino__section-description {
    color: #555555;
}

.page-casino__games-section .page-casino__section-title,
.page-casino__why-choose-us .page-casino__section-title,
.page-casino__faq-section .page-casino__section-title {
    color: #FFFFFF;
}

.page-casino__games-section .page-casino__section-description,
.page-casino__why-choose-us .page-casino__section-description,
.page-casino__faq-section .page-casino__section-description {
    color: #e0e0e0;
}

.page-casino__content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.page-casino__image-block img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.page-casino__game-card,
.page-casino__promo-card,
.page-casino__feature-item,
.page-casino__step-item {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark bg */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  box-sizing: border-box;
}

.page-casino__light-bg .page-casino__game-card,
.page-casino__light-bg .page-casino__promo-card,
.page-casino__light-bg .page-casino__feature-item,
.page-casino__light-bg .page-casino__step-item {
    background-color: #f8f8f8;
    color: #333333;
    border: 1px solid #e0e0e0;
}

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

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

.page-casino__game-title,
.page-casino__promo-title,
.page-casino__feature-title,
.page-casino__step-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-casino__game-title a,
.page-casino__promo-title a {
  color: inherit;
  text-decoration: none;
}

.page-casino__game-title a:hover,
.page-casino__promo-title a:hover {
  text-decoration: underline;
}

.page-casino__game-description,
.page-casino__promo-description,
.page-casino__feature-description,
.page-casino__step-description {
  font-size: 0.95em;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-casino__step-number {
  width: 50px;
  height: 50px;
  background-color: #EA7C07;
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8em;
  font-weight: bold;
  margin: 0 auto 20px auto;
}

.page-casino__text-center {
  text-align: center;
}

.page-casino__mt-40 {
  margin-top: 40px;
}

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

.page-casino__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #FFFFFF;
}

.page-casino__light-bg .page-casino__faq-item {
    background-color: #f8f8f8;
    color: #333333;
    border: 1px solid #e0e0e0;
}

.page-casino__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0.1); /* Slightly darker for question header */
  transition: background-color 0.3s ease;
}

.page-casino__light-bg .page-casino__faq-question {
    background-color: #e8e8e8;
}

.page-casino__faq-question:hover {
  background-color: rgba(0, 0, 0, 0.2);
}

.page-casino__light-bg .page-casino__faq-question:hover {
    background-color: #d8d8d8;
}

.page-casino__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

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