/* style/casino.css */

/* Base styles for the page */
.page-casino {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default text color for light backgrounds */
  background-color: #f8f9fa; /* Light background for the page */
}

/* Sections with dark background */
.page-casino__dark-bg {
  background-color: #26A9E0;
  color: #ffffff;
}

/* Sections with light background */
.page-casino__light-bg {
  background-color: #ffffff;
  color: #333333;
}

/* Containers for content */
.page-casino__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  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;
  text-align: center;
  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;
  max-width: 900px;
  padding: 20px;
  margin-top: 30px;
}

.page-casino__main-title {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.2;
  color: #ffffff;
}

.page-casino__hero-description {
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

.page-casino__cta-buttons--centered {
  text-align: center;
}

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

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

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

.page-casino__btn-primary--large {
    padding: 18px 40px;
    font-size: 1.2rem;
}

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

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

/* General Section Titles and Text Blocks */
.page-casino__section-title {
  font-size: 2.2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: inherit; /* Inherit color from parent section (dark/light bg) */
}

.page-casino__text-block {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: justify;
}

.page-casino__text-block strong {
  color: #26A9E0; /* Highlight important keywords */
}

.page-casino__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

/* Game Grid Section */
.page-casino__games-section .page-casino__section-title {
  color: #ffffff;
}

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

.page-casino__game-card,
.page-casino__promo-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  color: #333333;
}

.page-casino__game-card:hover,
.page-casino__promo-card:hover {
  transform: translateY(-10px);
}

.page-casino__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

.page-casino__card-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin: 20px 15px 10px;
  color: #26A9E0;
}

.page-casino__card-description {
  font-size: 0.95rem;
  line-height: 1.6;
  padding: 0 15px;
  flex-grow: 1;
}

.page-casino__card-button {
  display: inline-block;
  background-color: #26A9E0;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  margin: 20px 15px;
  transition: background-color 0.3s ease;
  box-sizing: border-box;
  max-width: calc(100% - 30px);
  white-space: normal;
  word-wrap: break-word;
}

.page-casino__card-button:hover {
  background-color: #1e87c0;
}

/* Benefits Section */
.page-casino__benefit-item {
  text-align: center;
  padding: 20px;
  background-color: #f0f8ff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-casino__benefit-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 15px;
  min-width: 80px;
  min-height: 80px;
}

.page-casino__benefit-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-casino__benefit-description {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #555555;
}

/* Guide Section */
.page-casino__guide-section .page-casino__section-title {
  color: #ffffff;
}

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

.page-casino__step-item {
  background-color: #ffffff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  color: #333333;
}

.page-casino__step-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-casino__step-description {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Promotions Section */
.page-casino__promo-card .page-casino__card-button {
  background-color: #EA7C07; /* Login color for promo buttons */
  border: 2px solid #EA7C07;
  color: #ffffff;
}

.page-casino__promo-card .page-casino__card-button:hover {
  background-color: #d16b06;
  border-color: #d16b06;
}

/* Tips Section */
.page-casino__tips-section .page-casino__section-title {
  color: #ffffff;
}

.page-casino__tips-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #f0f0f0;
}

.page-casino__tips-list li {
  margin-bottom: 15px;
  position: relative;
  padding-left: 30px;
}

.page-casino__tips-list li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: #EA7C07; /* Accent color for checkmark */
  font-weight: bold;
}

/* Security Section */
.page-casino__security-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
  font-size: 1.05rem;
  line-height: 1.8;
}

.page-casino__security-list li {
  margin-bottom: 15px;
  position: relative;
  padding-left: 30px;
}

.page-casino__security-list li::before {
  content: '🔒';
  position: absolute;
  left: 0;
  font-size: 1.2em;
}

/* Support Section */
.page-casino__support-section .page-casino__section-title {
  color: #ffffff;
}

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

.page-casino__channel-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  color: #333333;
}

.page-casino__channel-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-casino__channel-description {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 25px;
}

/* FAQ Section */
.page-casino__faq-list {
  margin-top: 30px;
}

.page-casino__faq-item {
  background-color: #f0f8ff;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #333333;
}

.page-casino__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: 600;
  color: #26A9E0;
  user-select: none;
  list-style: none; /* For details/summary */
}

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

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

.page-casino__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

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

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

/* Conclusion Section */
.page-casino__conclusion-section .page-casino__section-title {
  color: #ffffff;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-casino__main-title {
    font-size: clamp(2rem, 5vw, 2.8rem);
  }

  .page-casino__section-title {
    font-size: 2rem;
  }
}

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

  .page-casino__hero-section {
    padding-bottom: 40px;
  }

  .page-casino__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

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

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

  .page-casino__btn-primary,
  .page-casino__btn-secondary,
  .page-casino__card-button,
  .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 !important;
    padding-right: 15px !important;
  }

  .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;
    overflow: hidden !important;
  }

  .page-casino__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

  .page-casino__text-block {
    font-size: 0.95rem;
  }

  .page-casino__game-grid,
  .page-casino__promo-grid,
  .page-casino__benefits-grid,
  .page-casino__steps-grid,
  .page-casino__support-channels {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-casino__card-image,
  .page-casino__image-content {
    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__introduction-section,
  .page-casino__games-section,
  .page-casino__benefits-section,
  .page-casino__guide-section,
  .page-casino__promotions-section,
  .page-casino__tips-section,
  .page-casino__security-section,
  .page-casino__support-section,
  .page-casino__faq-section,
  .page-casino__conclusion-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no overflow */
  }

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

  .page-casino__benefit-icon {
    min-width: 60px;
    min-height: 60px;
    width: 60px;
    height: 60px;
  }
}

/* Ensure all images adhere to minimum size requirements */
.page-casino img {
  min-width: 200px;
  min-height: 200px;
}

/* Override for specific small icons if they were allowed and needed to be smaller than 200px, but here we enforce min 200px */
.page-casino__benefit-icon {
  min-width: 80px;
  min-height: 80px;
  width: 80px;
  height: 80px;
}

/* No CSS filters on images */
.page-casino img {
  filter: none;
}