.page-casino {
  --bg-color-main: #08160F;
  --bg-color-card: #11271B;
  --text-color-main: #F2FFF6;
  --text-color-secondary: #A7D9B8;
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green-color: #0A4B2C;
  --btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  
  font-family: 'Arial', sans-serif;
  color: var(--text-color-main);
  background-color: var(--bg-color-main);
}

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

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

.page-casino__hero-image-wrapper {
  width: 100%;
  max-height: 70vh; /* Limit height to prevent excessive scroll */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
}

.page-casino__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly dim image for text readability */
}

.page-casino__hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  padding: 0 20px;
}

.page-casino__main-title {
  font-size: 2.8em;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text-color-main);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-casino__hero-description {
  font-size: 1.15em;
  line-height: 1.6;
  margin-bottom: 30px;
  color: var(--text-color-secondary);
}

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

.page-casino__btn-primary,
.page-casino__btn-secondary {
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
}

.page-casino__btn-primary {
  background: var(--btn-gradient);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-casino__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.page-casino__btn-secondary {
  background: transparent;
  color: var(--glow-color);
  border: 2px solid var(--glow-color);
}

.page-casino__btn-secondary:hover {
  background: var(--glow-color);
  color: var(--bg-color-main);
  transform: translateY(-2px);
}

/* General Section Styles */
.page-casino__section {
  padding: 60px 0;
  border-bottom: 1px solid var(--divider-color);
}

.page-casino__section:last-of-type {
  border-bottom: none;
}

.page-casino__dark-bg {
  background-color: var(--bg-color-card);
}

.page-casino__section-title {
  font-size: 2.2em;
  font-weight: 700;
  color: var(--text-color-main);
  text-align: center;
  margin-bottom: 20px;
}

.page-casino__section-title--light {
  color: var(--text-color-main);
}

.page-casino__section-subtitle {
  font-size: 1.1em;
  color: var(--text-color-secondary);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.page-casino__text-block {
  font-size: 1.05em;
  line-height: 1.8;
  color: var(--text-color-secondary);
}

.page-casino__text-block p {
  margin-bottom: 1em;
  color: var(--text-color-secondary);
}

.page-casino__text-block p strong {
  color: var(--text-color-main);
}

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

.page-casino__game-card {
  background-color: var(--bg-color-main);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--border-color);
}

.page-casino__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid var(--deep-green-color);
}

.page-casino__card-title {
  font-size: 1.5em;
  font-weight: 600;
  color: var(--text-color-main);
  margin-bottom: 15px;
}

.page-casino__card-title--light {
  color: var(--text-color-main);
}

.page-casino__card-description {
  font-size: 0.95em;
  line-height: 1.6;
  color: var(--text-color-secondary);
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Live Casino Highlights */
.page-casino__live-casino-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-casino__highlight-item {
  background-color: var(--bg-color-card);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
}

.page-casino__highlight-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  border: 1px solid var(--deep-green-color);
}

.page-casino__highlight-title {
  font-size: 1.3em;
  font-weight: 600;
  color: var(--text-color-main);
  margin-bottom: 10px;
}

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

.page-casino__step-card {
  background-color: var(--bg-color-main);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-casino__promo-card {
  background-color: var(--bg-color-main);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--border-color);
}

.page-casino__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid var(--deep-green-color);
}

/* Support Section */
.page-casino__contact-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  text-align: center;
  font-size: 1.1em;
  color: var(--text-color-secondary);
}

.page-casino__contact-list li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-casino__icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  margin-right: 10px;
  background-size: contain;
  background-repeat: no-repeat;
  filter: invert(80%) sepia(30%) saturate(600%) hue-rotate(80deg) brightness(120%); /* Example filter for icons to match theme */
}

.page-casino__icon--livechat { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23F2FFF6"><path d="M20 2H4c-1.1 0-2 .9-2 2v18l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm0 14H6l-2 2V4h16v12zM7 9h10v2H7V9zm0 3h7v2H7v-2z"/></svg>'); }
.page-casino__icon--hotline { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23F2FFF6"><path d="M20 15.5c-1.25 0-2.45-.2-3.57-.57-.35-.11-.74-.03-1.02.24l-2.2 2.2c-2.83-1.44-5.15-3.75-6.59-6.59l2.2-2.2c.27-.28.35-.67.24-1.02C8.7 6.45 8.5 5.25 8.5 4c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1 0 9.39 7.61 17 17 17 .55 0 1-.45 1-1v-3.5c0-.55-.45-1-1-1z"/></svg>'); }
.page-casino__icon--email { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23F2FFF6"><path d="M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z"/></svg>'); }

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

.page-casino__faq-item {
  background-color: var(--bg-color-main);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--text-color-secondary);
}

.page-casino__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1em;
  color: var(--text-color-main);
  transition: background-color 0.3s ease;
}

.page-casino__faq-question:hover {
  background-color: var(--deep-green-color);
}

.page-casino__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--glow-color);
}

.page-casino__faq-answer {
  padding: 0 25px 18px;
  font-size: 1em;
  line-height: 1.7;
  color: var(--text-color-secondary);
}

.page-casino__faq-answer p {
  margin: 0;
  color: var(--text-color-secondary);
}

/* Details element specific styling */
.page-casino__faq-item summary {
  list-style: none;
}

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

/* Conclusion Section */
.page-casino__cta-buttons--bottom {
  margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-casino__main-title {
    font-size: 2.4em;
  }
  .page-casino__section-title {
    font-size: 1.8em;
  }
  .page-casino__game-grid,
  .page-casino__live-casino-highlights,
  .page-casino__guide-steps,
  .page-casino__promo-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-casino__hero-section {
    padding-bottom: 40px;
  }
  .page-casino__main-title {
    font-size: 2em;
    margin-bottom: 15px;
  }
  .page-casino__hero-description {
    font-size: 1em;
    margin-bottom: 25px;
  }
  .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;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  
  .page-casino__section {
    padding: 40px 0;
  }
  .page-casino__section-title {
    font-size: 1.6em;
  }
  .page-casino__section-subtitle {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-casino__text-block {
    font-size: 0.95em;
  }
  .page-casino__game-grid,
  .page-casino__live-casino-highlights,
  .page-casino__guide-steps,
  .page-casino__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-casino__game-card, .page-casino__highlight-item, .page-casino__step-card, .page-casino__promo-card {
    padding: 20px;
  }
  .page-casino__game-image, .page-casino__highlight-image, .page-casino__promo-image {
    height: 150px;
  }
  .page-casino__card-title {
    font-size: 1.3em;
  }
  .page-casino__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }
  .page-casino__faq-answer {
    padding: 0 20px 15px;
  }
  .page-casino img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-casino__section, .page-casino__card, .page-casino__container, .page-casino__hero-section, .page-casino__hero-image-wrapper, .page-casino__hero-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-casino__hero-image-wrapper { padding: 0 !important; }
  .page-casino__video-section {
    padding-top: 10px !important;
  }
  .page-casino__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-casino__cta-buttons--bottom {
    flex-direction: column;
  }
  /* Ensure content images are not too small */
  .page-casino__game-image, .page-casino__highlight-image, .page-casino__promo-image {
    min-width: 200px !important;
    min-height: 150px !important; /* Adjusted min-height for mobile card images */
  }
  .page-casino__icon { /* Filter for icons is allowed */ }
}

@media (max-width: 480px) {
  .page-casino__main-title {
    font-size: 1.8em;
  }
  .page-casino__section-title {
    font-size: 1.4em;
  }
  .page-casino__btn-primary,
  .page-casino__btn-secondary {
    font-size: 0.95em;
  }
}