/* style/casino.css */

/* Base styles for the page content, ensuring light text on dark body background */
.page-casino {
  color: #ffffff; /* Light text for readability on dark body background #0a0a0a */
  background-color: transparent; /* Body handles the main background */
  line-height: 1.6;
  font-family: 'Arial', sans-serif;
}

/* Shared content area styling */
.page-casino__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  box-sizing: border-box;
}

.page-casino__section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #26A9E0; /* Brand color for titles */
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-casino__section-description {
  font-size: 1.1rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #f0f0f0;
}

/* Buttons */
.page-casino__btn-primary,
.page-casino__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  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: #1f8ec4;
  border-color: #1f8ec4;
}

.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;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  box-sizing: border-box;
  overflow: hidden;
}

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

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

.page-casino__hero-content {
  max-width: 900px;
  text-align: center;
  padding: 0 20px;
  position: relative; /* Ensure content stays below the image */
  z-index: 1;
}

.page-casino__hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: #ffffff;
  margin-bottom: 15px;
  font-weight: 800;
  line-height: 1.2;
}

.page-casino__hero-description {
  font-size: 1.2rem;
  color: #f0f0f0;
  margin-bottom: 30px;
}

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

/* About Section */
.page-casino__about-section {
  background-color: #1a1a1a; /* Slightly lighter dark background */
  color: #ffffff;
}

.page-casino__about-content {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.page-casino__about-text {
  flex: 1;
  min-width: 300px;
}

.page-casino__about-text p {
  margin-bottom: 15px;
  color: #f0f0f0;
}

.page-casino__about-image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-casino__about-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Games Section */
.page-casino__games-section {
  background-color: #0a0a0a;
}

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

.page-casino__card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
  height: 100%; /* Ensure cards have equal height */
  box-sizing: border-box;
}

.page-casino__card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-casino__card-image {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-casino__card-title {
  font-size: 1.5rem;
  color: #26A9E0;
  margin-bottom: 10px;
  flex-grow: 1;
}

.page-casino__card-text {
  font-size: 1rem;
  color: #f0f0f0;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Sports Section */
.page-casino__sports-section {
  background-color: #1a1a1a;
}

.page-casino__sports-content {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap-reverse; /* Image on right, text on left */
}

.page-casino__sports-image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-casino__sports-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.page-casino__sports-text {
  flex: 1;
  min-width: 300px;
}

.page-casino__sports-text p {
  margin-bottom: 15px;
  color: #f0f0f0;
}

/* Slots & Fishing Section */
.page-casino__slots-fishing-section {
  background-color: #0a0a0a;
}

.page-casino__mini-game-cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.page-casino__mini-game-cards .page-casino__card {
  min-width: 280px;
  max-width: 45%; /* Adjust for two columns on larger screens */
}

/* Promotions Section */
.page-casino__promotions-section {
  background-color: #1a1a1a;
}

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

/* Guide Section */
.page-casino__guide-section {
  background-color: #0a0a0a;
}

.page-casino__guide-steps {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.page-casino__guide-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  max-width: 450px;
  box-sizing: border-box;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-casino__guide-card-title {
  font-size: 1.6rem;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-casino__guide-card-text {
  font-size: 1rem;
  color: #f0f0f0;
  margin-bottom: 25px;
  flex-grow: 1;
}

/* Video Section */
.page-casino__video-section {
  background-color: #1a1a1a;
  padding-top: 10px; /* Small top padding */
  padding-bottom: 60px;
}

.page-casino__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  width: 100%; /* Ensure desktop width is 100% within content area */
  margin: 0 auto;
}

.page-casino__video-link-container {
  display: block; /* Make the whole area clickable */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.page-casino__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* FAQ Section */
.page-casino__faq-section {
  background-color: #0a0a0a;
}

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

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

.page-casino__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #26A9E0;
  cursor: pointer;
  list-style: none;
  user-select: none;
  position: relative;
}

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

.page-casino__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  color: #ffffff;
  transition: transform 0.3s ease;
}

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

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

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

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

/* Contact Section */
.page-casino__contact-section {
  background-color: #1a1a1a;
}

.page-casino__contact-info {
  text-align: center;
  margin-bottom: 30px;
  font-size: 1.1rem;
  color: #f0f0f0;
}

.page-casino__contact-info p {
  margin-bottom: 10px;
}

.page-casino__contact-info strong {
  color: #26A9E0;
}


/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .page-casino__content-area {
    padding: 40px 20px;
  }

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

  .page-casino__hero-title {
    font-size: clamp(2.2rem, 4.5vw, 3rem);
  }

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

  .page-casino__about-content,
  .page-casino__sports-content {
    flex-direction: column;
    gap: 30px;
  }

  .page-casino__mini-game-cards .page-casino__card {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  /* Global mobile content area padding */
  .page-casino__content-area {
    padding: 30px 15px !important;
  }

  /* General image responsiveness */
  .page-casino img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Containers for images, videos, buttons */
  .page-casino__section,
  .page-casino__card,
  .page-casino__container,
  .page-casino__about-content,
  .page-casino__sports-content,
  .page-casino__mini-game-cards,
  .page-casino__promotion-cards,
  .page-casino__guide-steps,
  .page-casino__video-wrapper,
  .page-casino__hero-cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Prevent horizontal overflow */
  }

  /* Hero section specific adjustments */
  .page-casino__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px !important;
  }

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

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

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

  /* Button responsiveness */
  .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;
  }

  /* Card image responsiveness */
  .page-casino__card-image {
    max-height: 150px;
  }

  /* Video responsiveness */
  .page-casino video,
  .page-casino__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

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

  .page-casino__video-wrapper {
    padding-bottom: 75%; /* Adjust aspect ratio for better mobile view if needed (4:3) */
  }

  /* FAQ adjustments */
  .page-casino__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }

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

@media (max-width: 480px) {
  .page-casino__section-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

  .page-casino__section-description {
    font-size: 0.95rem;
  }

  .page-casino__card {
    padding: 20px;
  }

  .page-casino__card-title {
    font-size: 1.3rem;
  }

  .page-casino__card-text {
    font-size: 0.9rem;
  }

  .page-casino__guide-card {
    padding: 20px;
  }

  .page-casino__guide-card-title {
    font-size: 1.4rem;
  }

  .page-casino__contact-info p {
    font-size: 1rem;
  }
}