/* style/casino.css */
/* Body padding-top is handled by shared.css: body { padding-top: var(--header-offset); } */
/* This page should NOT re-apply var(--header-offset) */

.page-casino {
  font-family: Arial, sans-serif;
  color: #1F2D3D; /* Text Main */
  background-color: #F4F7FB; /* Background */
  line-height: 1.6;
  font-size: 16px;
}

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

/* Hero Section */
.page-casino__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image above text */
  align-items: center;
  padding-bottom: 60px;
  padding-top: 10px; /* Small top padding, header offset handled by body */
  background-color: #F4F7FB; /* Match body background */
}

.page-casino__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  margin-bottom: 40px; /* Space between image and content */
}

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

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

.page-casino__main-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem); /* H1 font size clamp */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #1F2D3D; /* Text Main */
}

.page-casino__hero-description {
  font-size: 1.15rem;
  color: #1F2D3D; /* Text Main */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

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

a.page-casino__btn-primary,
a.page-casino__btn-secondary,
.page-casino__game-play-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  min-width: 180px;
  text-align: center;
}

a.page-casino__btn-primary,
.page-casino__game-play-btn {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button color */
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(47, 107, 255, 0.3);
}

a.page-casino__btn-primary:hover,
.page-casino__game-play-btn:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  box-shadow: 0 6px 20px rgba(47, 107, 255, 0.4);
}

a.page-casino__btn-secondary {
  background: #ffffff; /* Card BG */
  color: #2F6BFF; /* Main Color */
  border: 2px solid #2F6BFF; /* Main Color */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

a.page-casino__btn-secondary:hover {
  background: #F4F7FB; /* Background */
  color: #4A8BFF;
  border-color: #4A8BFF;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* General Section Styles */
.page-casino__features-section,
.page-casino__games-section,
.page-casino__promotions-section,
.page-casino__responsible-gaming-section,
.page-casino__faq-section {
  padding: 80px 0;
}

.page-casino__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: #1F2D3D; /* Text Main */
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.3;
}

.page-casino__section-description {
  font-size: 1.1rem;
  color: #1F2D3D; /* Text Main */
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
}

.page-casino__section-title--light,
.page-casino__section-description--light {
  color: #ffffff;
}

/* Feature Cards */
.page-casino__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-casino__feature-card {
  text-align: center;
  padding: 30px;
  border-radius: 12px;
  background: #ffffff; /* Card BG */
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-casino__feature-icon {
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  min-width: 200px; /* Enforce min image size */
  min-height: 200px; /* Enforce min image size */
  width: 100%; /* Make it responsive within its container */
  max-width: 250px; /* Example max-width for feature icons to not be too large */
}

.page-casino__card-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #1F2D3D; /* Text Main */
  margin-bottom: 15px;
}

.page-casino__card-text {
  color: #1F2D3D; /* Text Main */
  font-size: 1rem;
}

/* Games Section */
.page-casino__games-section {
  background: linear-gradient(135deg, #2F6BFF 0%, #6FA3FF 100%); /* Main Color to Auxiliary Color */
  color: #ffffff;
}

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

.page-casino__game-card {
  background: #ffffff; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

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

.page-casino__game-card .page-casino__card-title {
  padding: 20px 20px 0;
  color: #1F2D3D; /* Text Main */
}

.page-casino__game-card .page-casino__card-text {
  padding: 0 20px 20px;
  color: #1F2D3D; /* Text Main */
  flex-grow: 1;
}

.page-casino__game-play-btn {
  display: block;
  width: calc(100% - 40px);
  margin: 0 20px 20px;
  padding: 12px 0;
  text-align: center;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-casino__promo-card {
  background: #ffffff; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-casino__promo-card .page-casino__card-title {
  padding: 20px 20px 0;
}

.page-casino__promo-card .page-casino__card-text {
  padding: 0 20px 20px;
}

.page-casino__promo-card .page-casino__btn-primary {
  display: block;
  width: calc(100% - 40px);
  margin: 0 20px 20px;
  padding: 12px 0;
}

/* Responsible Gaming Section */
.page-casino__responsible-gaming-section {
  background-color: #1F2D3D; /* Text Main for a dark background effect */
  color: #ffffff;
  text-align: center;
}

/* FAQ Section */
.page-casino__faq-list {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-casino__faq-item {
  background: #ffffff; /* Card BG */
  border: 1px solid #D6E2FF; /* Border color */
  border-radius: 12px;
  padding: 20px 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  color: #1F2D3D; /* Text Main */
}

.page-casino__faq-item.active {
  box-shadow: 0 4px 15px rgba(47, 107, 255, 0.1);
}

.page-casino__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  color: #000000; /* Custom Color_1776249996415 */
  padding: 0;
  list-style: none; /* Hide default marker for summary */
}

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

.page-casino__faq-answer {
  padding-top: 15px;
  font-size: 1rem;
  color: #1F2D3D; /* Text Main */
  line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-casino__section-title {
    font-size: 2.2rem;
  }
  .page-casino__hero-image-wrapper {
    margin-bottom: 30px;
  }
}

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

  .page-casino__hero-section {
    padding-bottom: 40px;
    padding-top: 10px !important; /* Small top padding, header offset handled by body */
  }

  .page-casino__hero-image-wrapper,
  .page-casino__hero-image,
  .page-casino__video-section,
  .page-casino__video-container,
  .page-casino__video-wrapper,
  .page-casino__features-section,
  .page-casino__games-section,
  .page-casino__promotions-section,
  .page-casino__responsible-gaming-section,
  .page-casino__faq-section,
  .page-casino__container,
  .page-casino__card,
  .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;
    overflow: hidden !important;
  }
  
  .page-casino img,
  .page-casino video,
  .page-casino__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

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

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

  .page-casino__cta-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
  }

  a.page-casino__btn-primary,
  a.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; /* Adjust padding for full width */
    padding-right: 15px; /* Adjust padding for full width */
  }

  .page-casino__section-title {
    font-size: 1.8rem;
    padding: 0 15px;
  }

  .page-casino__section-description {
    font-size: 1rem;
    padding: 0 15px;
    margin-bottom: 30px;
  }

  .page-casino__features-section,
  .page-casino__games-section,
  .page-casino__promotions-section,
  .page-casino__responsible-gaming-section,
  .page-casino__faq-section {
    padding: 50px 0;
  }

  .page-casino__feature-icon {
    width: 100%; /* Make it fill available space within max-width */
    max-width: 200px; /* Ensure it doesn't exceed 200px even if container is larger */
  }
  
  .page-casino__game-image,
  .page-casino__promo-image {
    height: 180px; /* Adjust height for smaller screens */
  }

  .page-casino__game-play-btn,
  .page-casino__promo-card .page-casino__btn-primary {
    width: calc(100% - 30px);
    margin: 0 15px 15px;
  }

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

  .page-casino__faq-question {
    font-size: 1.1rem;
  }
}