/* style/casino.css */

/* Base styles for the page, ensuring dark text on light body background */
.page-casino {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Dark text on light body background */
  line-height: 1.6;
  background-color: #FFFFFF;
}

/* Ensure images are responsive by default */
.page-casino img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Global container for content, centralizing and limiting width */
.page-casino__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

/* Section titles */
.page-casino__section-title {
  font-size: clamp(2em, 4vw, 2.8em); /* Responsive font size for H2 */
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

.page-casino__text-block {
  margin-bottom: 20px;
  font-size: 1.1em;
  text-align: justify;
}

.page-casino__highlight {
  color: #EA7C07;
  font-weight: bold;
}

/* Buttons - Primary */
.page-casino__btn-primary {
  display: inline-block;
  background-color: #26A9E0;
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

.page-casino__btn-primary:hover {
  background-color: #1a8cc2;
  transform: translateY(-2px);
}

/* Buttons - Secondary */
.page-casino__btn-secondary {
  display: inline-block;
  background-color: #ffffff;
  color: #26A9E0;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  border: 2px solid #26A9E0;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

.page-casino__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
  transform: translateY(-2px);
}

/* Text buttons */
.page-casino__btn-text {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-casino__btn-text:hover {
  color: #1a8cc2;
  text-decoration: underline;
}

.page-casino__cta-center {
  text-align: center;
  margin-top: 40px;
}

/* Hero Section */
.page-casino__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: #FFFFFF;
  overflow: hidden;
}

.page-casino__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 30px;
}

.page-casino__hero-image {
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.page-casino__hero-content {
  text-align: center;
  max-width: 900px;
}

.page-casino__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive H1 font size */
  color: #000000;
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.2;
}

.page-casino__description {
  font-size: 1.25em;
  margin-bottom: 30px;
  color: #555555;
}

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

/* Introduction Section */
.page-casino__introduction-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

/* Games Section */
.page-casino__games-section {
  padding: 80px 0;
  background-color: #26A9E0; /* Dark background */
  color: #ffffff; /* Light text */
}

.page-casino__games-section .page-casino__section-title {
  color: #ffffff;
}

.page-casino__games-section .page-casino__text-block {
  color: #f0f0f0;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
}

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

.page-casino__game-card {
  background-color: #ffffff;
  color: #333333;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 480px; /* Ensure cards have consistent height */
}

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

.page-casino__game-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-casino__game-title a {
  color: #26A9E0;
  text-decoration: none;
}

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

.page-casino__game-description {
  font-size: 0.95em;
  color: #555555;
  padding: 0 15px;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Promotions Section */
.page-casino__promotions-section {
  padding: 80px 0;
  background-color: #f8f8f8;
}

.page-casino__promotion-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-casino__promotion-item {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
}

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

/* Guide Section */
.page-casino__guide-section {
  padding: 80px 0;
  background-color: #000000; /* Dark background */
  color: #ffffff; /* Light text */
}

.page-casino__guide-section .page-casino__section-title {
  color: #ffffff;
}

.page-casino__guide-section .page-casino__text-block {
  color: #f0f0f0;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
}

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

.page-casino__step-card {
  background-color: #333333;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 250px;
}

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

.page-casino__step-card p {
  color: #cccccc;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Mobile App Section */
.page-casino__mobile-app-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

.page-casino__flex-container {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}

.page-casino__mobile-content,
.page-casino__mobile-image-wrapper {
  flex: 1;
  min-width: 300px;
}

.page-casino__mobile-app-section .page-casino__section-title {
  text-align: left;
}

.page-casino__app-features {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  margin-bottom: 30px;
}

.page-casino__app-features li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  color: #555555;
}

.page-casino__app-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #26A9E0;
  font-weight: bold;
}

.page-casino__mobile-image {
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Security Section */
.page-casino__security-section {
  padding: 80px 0;
  background-color: #26A9E0; /* Dark background */
  color: #ffffff; /* Light text */
}

.page-casino__security-section .page-casino__section-title {
  color: #ffffff;
}

.page-casino__security-section .page-casino__text-block {
  color: #f0f0f0;
  max-width: 900px;
  margin: 0 auto 20px auto;
  text-align: center;
}

/* FAQ Section */
.page-casino__faq-section {
  padding: 80px 0;
  background-color: #f8f8f8;
}

.page-casino__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
}

.page-casino__faq-item {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  margin-bottom: 20px;
  overflow: hidden;
}

.page-casino__faq-item summary {
  list-style: none;
}

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

.page-casino__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.2em;
  color: #333333;
  border-bottom: 1px solid #eeeeee;
  transition: background-color 0.3s ease;
}

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

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

.page-casino__faq-toggle {
  font-size: 1.5em;
  color: #26A9E0;
  margin-left: 20px;
  transition: transform 0.3s ease;
}

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

.page-casino__faq-answer {
  padding: 20px 30px;
  color: #555555;
  font-size: 1em;
  border-top: 1px solid #eeeeee;
}

.page-casino__faq-answer p {
  margin-bottom: 10px;
}

.page-casino__faq-answer a {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
}

.page-casino__faq-answer a:hover {
  text-decoration: underline;
}

/* Conclusion Section */
.page-casino__conclusion-section {
  padding: 80px 0;
  background-color: #FFFFFF;
  text-align: center;
}

.page-casino__conclusion-section .page-casino__text-block {
  max-width: 900px;
  margin: 0 auto 40px auto;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .page-casino {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-casino__container,
  .page-casino__hero-section,
  .page-casino__introduction-section,
  .page-casino__games-section,
  .page-casino__promotions-section,
  .page-casino__guide-section,
  .page-casino__mobile-app-section,
  .page-casino__security-section,
  .page-casino__faq-section,
  .page-casino__conclusion-section {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

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

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

  .page-casino__description {
    font-size: 1em;
  }

  .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 img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

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

  .page-casino__mobile-app-section .page-casino__section-title {
    text-align: center;
  }

  .page-casino__mobile-content,
  .page-casino__mobile-image-wrapper {
    min-width: unset;
    width: 100%;
  }

  .page-casino__game-card {
    min-height: unset;
    padding-bottom: 15px;
  }

  .page-casino__game-image {
    height: 180px;
  }

  .page-casino__game-title {
    font-size: 1.2em;
  }

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

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

  .page-casino__section-title {
    font-size: clamp(1.8em, 7vw, 2.2em);
  }
}

/* Dark background elements for contrast */
.page-casino__dark-bg {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-casino__dark-bg .page-casino__section-title,
.page-casino__dark-bg .page-casino__text-block {
  color: #ffffff;
}

/* Light background elements for contrast */
.page-casino__light-bg {
  background-color: #FFFFFF;
  color: #333333;
}

.page-casino__light-bg .page-casino__section-title,
.page-casino__light-bg .page-casino__text-block {
  color: #333333;
}