/* style/casino.css */

/* Base styles for page-casino */
.page-casino {
  color: #ffffff; /* Dark body background #0a0a0a requires light text */
  background-color: #0a0a0a;
}

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

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

.page-casino__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.2;
}

.page-casino__text-block {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #f0f0f0;
}

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

.page-casino__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

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

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

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

/* Hero Section */
.page-casino__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 20px 60px;
  text-align: center;
  overflow: hidden;
  color: #ffffff;
}

.page-casino__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  margin-bottom: 30px; /* Space between image and content */
}

.page-casino__hero-content {
  max-width: 900px;
  position: relative;
  z-index: 1;
}

.page-casino__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em); /* Clamp for responsive font size */
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-casino__hero-description {
  font-size: 1.3em;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-casino__hero-cta-button {
  font-size: 1.2em;
  padding: 18px 40px;
}

/* Dark background sections */
.page-casino__dark-bg {
  background-color: #1a1a1a;
}

/* Grid for game types and other games */
.page-casino__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-casino__grid--3-cols {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-casino__card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-casino__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block; /* Ensure it behaves as a block element for max-width */
  min-width: 200px;
  min-height: 200px;
}

.page-casino__card-title {
  font-size: 1.5em;
  font-weight: 700;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-casino__card-title a {
  color: inherit;
  text-decoration: none;
}

.page-casino__card-title a:hover {
  text-decoration: underline;
}

.page-casino__card-description {
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
  color: #e0e0e0;
}

.page-casino__game-advantage {
  text-align: center;
  margin-top: 40px;
  font-style: italic;
  color: #cccccc;
}

/* Flex content layout for strategy and withdrawal sections */
.page-casino__flex-content {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-casino__flex-content.page-casino__flex-reverse {
  flex-direction: row-reverse;
}

.page-casino__text-content {
  flex: 1;
}

.page-casino__image-right,
.page-casino__image-left {
  flex: 1;
  max-width: 50%;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

/* Promotions */
.page-casino__promo-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

.page-casino__promo-title {
  font-size: 1.4em;
  font-weight: 700;
  margin-bottom: 10px;
  color: #26A9E0;
}

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

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

.page-casino__promo-description {
  font-size: 0.95em;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
  color: #e0e0e0;
}

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

/* Other Games */
.page-casino__other-game-card {
  background-color: rgba(255, 255, 255, 0.08);
}

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

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

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

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

.page-casino__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #FFFFFF;
}

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

/* Hide default details marker */
.page-casino__faq-item summary::-webkit-details-marker,
.page-casino__faq-item summary::marker {
  display: none;
}

/* Conclusion Section */
.page-casino__conclusion {
  text-align: center;
  padding: 80px 20px;
}

.page-casino__conclusion-cta-button {
  font-size: 1.3em;
  padding: 20px 45px;
  margin-top: 30px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-casino__hero-image {
    height: 500px;
  }

  .page-casino__flex-content {
    flex-direction: column;
  }

  .page-casino__flex-content.page-casino__flex-reverse {
    flex-direction: column;
  }

  .page-casino__image-right,
  .page-casino__image-left {
    max-width: 100%;
    margin-top: 30px;
  }
}

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

  .page-casino__section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }

  .page-casino__main-title {
    font-size: clamp(2em, 8vw, 2.8em);
  }

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

  .page-casino__hero-cta-button {
    font-size: 1.1em;
    padding: 15px 30px;
  }

  .page-casino__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .page-casino__card-title,
  .page-casino__promo-title {
    font-size: 1.3em;
  }

  .page-casino__cta-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__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;
  }

  .page-casino__cta-buttons {
    display: flex;
    flex-direction: column;
  }

  .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 {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-casino__hero-section {
    padding-top: 10px !important;
  }

  .page-casino__video-section,
  .page-casino__video-container,
  .page-casino__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
}

/* Ensure no filter is used on images */
.page-casino img {
  filter: none; /* Explicitly ensure no filter is applied */
}

/* Body background is dark, text should be light */
.page-casino p, .page-casino li, .page-casino__card-description, .page-casino__promo-description, .page-casino__faq-answer {
  color: #e0e0e0; /* Light grey for readability on dark background */
}

.page-casino__card-title, .page-casino__promo-title, .page-casino__faq-question {
  color: #26A9E0; /* Brand color for titles */
}

.page-casino__section-title {
  color: #26A9E0; /* Brand color for main section titles */
}

.page-casino__dark-section {
  background: #26A9E0; /* Example of brand color as background */
  color: #ffffff;
}

.page-casino__btn-primary {
  background: #26A9E0;
  color: #ffffff;
}

.page-casino__btn-secondary {
  background: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}