/* style/casino.css */
.page-casino {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
}

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

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

/* Hero Section */
.page-casino__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  overflow: hidden;
}

.page-casino__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-casino__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  padding: 40px 20px;
  background: rgba(17, 17, 17, 0.8); /* Card BG with transparency */
  border-radius: 10px;
  margin-top: -80px; /* Overlap slightly for visual effect, but not covering image */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-casino__main-title {
  font-size: clamp(2em, 4vw, 3.2em);
  color: #FFD36B; /* Glow */
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-casino__hero-description {
  font-size: 1.1em;
  color: #FFF6D6;
  margin-bottom: 30px;
}

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

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

.page-casino__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button */
  color: #111111; /* Dark text for contrast on light gradient */
  border: 2px solid transparent;
}

.page-casino__btn-primary:hover {
  background: linear-gradient(180deg, #FFE080 0%, #E8B02F 100%);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 211, 107, 0.4);
}

.page-casino__btn-secondary {
  background-color: transparent;
  color: #FFD36B; /* Glow */
  border: 2px solid #FFD36B; /* Glow */
}

.page-casino__btn-secondary:hover {
  background-color: #FFD36B;
  color: #111111; /* Dark text on light background */
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 211, 107, 0.4);
}

/* General Section Styling */
.page-casino__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.5em);
  color: #FFD36B; /* Glow */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-casino__text-block {
  font-size: 1em;
  color: #FFF6D6;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-casino__text-center {
  text-align: center;
  margin-top: 30px;
}

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

.page-casino__game-card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-casino__game-icon {
  width: 30px;
  height: 30px;
  margin-bottom: 15px;
  filter: drop-shadow(0 0 5px #FFD36B); /* Add a subtle glow to icons */
}

.page-casino__game-card-title {
  font-size: 1.3em;
  color: #FFD36B;
  margin-bottom: 15px;
}

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

.page-casino__promo-card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-casino__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(255, 211, 107, 0.2);
}

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

.page-casino__promo-title {
  font-size: 1.4em;
  color: #FFD36B;
  margin-bottom: 15px;
}

.page-casino__promo-card .page-casino__btn-secondary {
  margin-top: 20px;
  align-self: center;
}

/* Mobile App Section */
.page-casino__app-features {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-casino__feature-item {
  text-align: center;
  max-width: 150px;
}

.page-casino__feature-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 10px;
  filter: drop-shadow(0 0 5px #FFD36B);
}

.page-casino__feature-text {
  color: #FFF6D6;
  font-size: 0.95em;
}

/* Security Section */
.page-casino__security-features {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-casino__security-icon {
  width: 80px;
  height: 80px;
  filter: drop-shadow(0 0 8px #FFD36B);
}

/* Registration Section */
.page-casino__steps-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-casino__step-item {
  display: flex;
  align-items: center;
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  padding: 20px;
}

.page-casino__step-number {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 1.1em;
  margin-right: 20px;
  flex-shrink: 0;
}

.page-casino__step-text {
  color: #FFF6D6;
  font-size: 1.05em;
}

/* Payment Section */
.page-casino__payment-methods {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-casino__payment-logo {
  width: 120px;
  height: 80px;
  object-fit: contain;
  filter: grayscale(10%) brightness(120%);
  transition: filter 0.3s ease;
}

.page-casino__payment-logo:hover {
  filter: grayscale(0%) brightness(100%) drop-shadow(0 0 8px #FFD36B);
}

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

.page-casino__faq-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-casino__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: #111111;
  color: #FFD36B;
  font-size: 1.15em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-casino__faq-question:hover {
  background-color: #1a1a1a;
}

.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);
}

.page-casino__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #FFF6D6;
}

.page-casino__faq-item.active .page-casino__faq-answer {
  max-height: 1000px !important; /* Sufficiently large value */
  padding: 15px 20px;
}

.page-casino__faq-answer p {
  margin-bottom: 0;
  color: #FFF6D6;
}

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

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

  .page-casino__main-title {
    font-size: 2em;
  }

  .page-casino__hero-description {
    font-size: 1em;
  }

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

  .page-casino__btn-primary,
  .page-casino__btn-secondary {
    width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-casino__section-title {
    font-size: 1.8em;
  }

  .page-casino__game-categories,
  .page-casino__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-casino__app-features,
  .page-casino__security-features,
  .page-casino__payment-methods {
    gap: 20px;
  }

  .page-casino__step-item {
    flex-direction: column;
    text-align: center;
    padding: 15px;
  }

  .page-casino__step-number {
    margin-right: 0;
    margin-bottom: 10px;
  }

  .page-casino__faq-question {
    font-size: 1em;
    padding: 15px;
  }

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

  .page-casino__faq-item.active .page-casino__faq-answer {
    padding: 10px 15px;
  }

  /* Mobile image responsiveness */
  .page-casino img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-casino__section,
  .page-casino__card,
  .page-casino__container,
  .page-casino__hero-section,
  .page-casino__hero-image-wrapper,
  .page-casino__hero-content,
  .page-casino__cta-buttons,
  .page-casino__game-card,
  .page-casino__promo-card,
  .page-casino__feature-item,
  .page-casino__step-item,
  .page-casino__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-casino__hero-section {
    padding-left: 0;
    padding-right: 0;
  }

  .page-casino__hero-content {
    width: calc(100% - 30px) !important; /* Adjust for padding inside content */
  }
}

@media (max-width: 480px) {
  .page-casino__main-title {
    font-size: 1.8em;
  }

  .page-casino__section-title {
    font-size: 1.5em;
  }

  .page-casino__app-features,
  .page-casino__security-features,
  .page-casino__payment-methods {
    flex-direction: column;
    align-items: center;
  }

  .page-casino__payment-logo {
    width: 100px;
    height: 60px;
  }
}