/* style/casino.css */
/* Body padding-top is handled by shared.css; this page's first section should only have a small top padding */

.page-casino {
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

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

.page-casino__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  min-height: 600px;
  overflow: hidden;
}

.page-casino__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-casino__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text readability */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-casino__hero-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
  color: #FFD36B; /* Glow */
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

.page-casino__hero-description {
  font-size: 1.1em;
  color: #FFF6D6; /* Text Main */
  margin-bottom: 30px;
}

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

.page-casino__btn-primary,
.page-casino__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-casino__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
  color: #ffffff; /* Button text always white */
  border: 2px solid transparent;
}

.page-casino__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(242, 193, 78, 0.4);
}

.page-casino__btn-secondary {
  background: transparent;
  color: #F2C14E; /* Main color */
  border: 2px solid #F2C14E; /* Border color */
}

.page-casino__btn-secondary:hover {
  background: #F2C14E;
  color: #0A0A0A; /* Background */
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(242, 193, 78, 0.4);
}

.page-casino__section-title {
  font-size: 2.5em;
  color: #FFD36B; /* Glow */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-casino__section-description {
  font-size: 1.1em;
  color: #FFF6D6; /* Text Main */
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

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

.page-casino__game-card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: #FFF6D6; /* Text Main */
}

.page-casino__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(242, 193, 78, 0.2);
}

.page-casino__game-card img {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 15px;
}

.page-casino__game-card-title {
  font-size: 1.5em;
  color: #F2C14E; /* Main color */
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-casino__game-card-text {
  font-size: 0.95em;
  color: #FFF6D6; /* Text Main */
  padding: 0 15px;
}

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

.page-casino__promo-card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-casino__promo-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  margin-bottom: 15px;
}

.page-casino__promo-title {
  font-size: 1.6em;
  color: #F2C14E; /* Main color */
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-casino__promo-text {
  font-size: 1em;
  color: #FFF6D6; /* Text Main */
  padding: 0 15px;
}

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

.page-casino__dark-section {
  background-color: rgba(242, 193, 78, 0.05); /* Slightly transparent main color for dark sections */
  border-top: 1px solid #3A2A12; /* Border */
  border-bottom: 1px solid #3A2A12; /* Border */
}

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

.page-casino__mobile-text {
  flex: 1;
}

.page-casino__mobile-image {
  flex: 1;
  text-align: center;
}

.page-casino__mobile-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-casino__payment-methods {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.page-casino__payment-methods img {
  width: 400px; /* Adhering to minimum size rules */
  height: 300px;
  object-fit: contain; /* Use contain for logos/illustrations */
  border-radius: 8px;
  border: 1px solid #3A2A12; /* Border */
  padding: 10px;
  background-color: #111111; /* Card BG */
}

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

.page-casino__feature-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-casino__feature-item img {
  width: 200px;
  height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-casino__feature-title {
  font-size: 1.6em;
  color: #F2C14E; /* Main color */
  margin-bottom: 10px;
}

.page-casino__feature-text {
  font-size: 1em;
  color: #FFF6D6; /* Text Main */
}

.page-casino__partners-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 2x5 grid */
  gap: 20px;
  margin-top: 40px;
  justify-items: center;
  align-items: center;
}

.page-casino__partners-grid img {
   /* Fixed width for partner images */
   /* Fixed height for partner images */
  object-fit: contain;
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 5px;
  padding: 10px;
  transition: transform 0.2s ease;
}

.page-casino__partners-grid img:hover {
  transform: scale(1.05);
}

.page-casino__faq-list {
  margin-top: 40px;
}

.page-casino__faq-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-casino__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #111111; /* Card BG */
  color: #F2C14E; /* Main color */
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease;
}

.page-casino__faq-question:hover {
  background-color: rgba(242, 193, 78, 0.1);
}

.page-casino__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

.page-casino__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #FFF6D6; /* Text Main */
}

.page-casino__faq-item.active .page-casino__faq-answer {
  max-height: 1000px !important; /* Use !important to ensure it overrides */
  padding: 15px 25px;
}

.page-casino__faq-answer p {
  margin-bottom: 0;
  text-align: left;
}

.page-casino__cta-section {
  text-align: center;
}

.page-casino__cta-content {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 50px 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-casino__mobile-app-content {
    flex-direction: column;
  }
  .page-casino__mobile-image {
    order: -1;
    margin-bottom: 30px;
  }
  .page-casino__partners-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

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

  .page-casino__hero-content {
    padding: 20px;
  }

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

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

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

  .page-casino__btn-primary,
  .page-casino__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-casino__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-casino__game-grid,
  .page-casino__promo-grid,
  .page-casino__feature-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-casino__game-card img {
    
  }

  .page-casino__promo-card img {
    height: 200px;
  }

  .page-casino__payment-methods {
    flex-direction: column;
    gap: 20px;
  }

  .page-casino__payment-methods img {
    width: 100%;
    height: auto;
    max-width: 100%;
  }

  .page-casino__partners-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns on mobile */
    gap: 15px;
  }

  .page-casino__partners-grid img {
    width: 100%;
    height: auto;
     /* Maintain aspect ratio */
  }

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

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

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

  /* Mobile image responsiveness */
  .page-casino img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-casino__section,
  .page-casino__card,
  .page-casino__container,
  .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;
  }
  
  /* Video section: body already handles --header-offset; this section only needs small top padding */
  .page-casino__hero-section {
    padding-top: 10px !important; /* Small top padding for first section */
  }
}

@media (max-width: 480px) {
  .page-casino__hero-title {
    font-size: clamp(1.6em, 8vw, 2em);
  }

  .page-casino__partners-grid {
    grid-template-columns: 1fr; /* Single column on very small screens */
  }
}