/* style/casino.css */
.page-casino {
  font-family: 'Arial', sans-serif;
  color: #333333;
  line-height: 1.6;
  background-color: #f8f8f8;
}

.page-casino__dark-bg {
  background-color: #1A237E;
  color: #ffffff;
}

.page-casino__light-bg {
  background-color: #ffffff;
  color: #333333;
}

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

.page-casino__section {
  padding: 60px 0;
  text-align: center;
}

.page-casino__section-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: inherit; /* Inherit from section background */
  font-weight: bold;
}

.page-casino__section-text {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: inherit;
}

/* Hero Section */
.page-casino__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 600px;
  padding-top: var(--header-offset, 120px);
  overflow: hidden;
}

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

.page-casino__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  text-align: center;
  padding: 20px;
}

.page-casino__hero-title {
  font-size: 3.5em;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-casino__hero-description {
  font-size: 1.3em;
  color: #f0f0f0;
  margin-bottom: 40px;
}

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

/* Buttons */
.page-casino__btn-primary,
.page-casino__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-casino__btn-primary {
  background-color: #FFD700;
  color: #1A237E;
  border: 2px solid #FFD700;
}

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

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

.page-casino__btn-secondary:hover {
  background-color: #FFD700;
  color: #1A237E;
}

.page-casino__btn-center {
  margin-top: 30px;
}

.page-casino__btn-text-link {
  color: #1A237E;
  text-decoration: none;
  font-weight: bold;
  margin-top: 15px;
  display: inline-block;
}

.page-casino__btn-text-link:hover {
  text-decoration: underline;
  color: #FFD700;
}

/* Intro Section */
.page-casino__intro-section {
  background-color: #f8f8f8;
}

/* Video */
.page-casino__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin: 40px auto;
  border-radius: 10px;
}

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

.page-casino__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

/* Games Section */
.page-casino__games-section .page-casino__section-title {
  color: #1A237E;
}

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

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

.page-casino__card:hover {
  transform: translateY(-5px);
}

.page-casino__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.page-casino__card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-casino__card-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: #1A237E;
}

.page-casino__card-title a {
  color: #1A237E;
  text-decoration: none;
}

.page-casino__card-title a:hover {
  color: #FFD700;
  text-decoration: underline;
}

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

/* Promotions Section */
.page-casino__promotions-section .page-casino__section-title {
  color: #FFD700;
}

.page-casino__promotions-section .page-casino__section-text {
  color: #f0f0f0;
}

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

.page-casino__promo-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 10px;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-casino__promo-title {
  font-size: 1.4em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-casino__promo-description {
  font-size: 1em;
  color: #e0e0e0;
}

/* Secure Section */
.page-casino__secure-section .page-casino__section-title {
  color: #1A237E;
}

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

.page-casino__payment-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.page-casino__payment-item:hover {
  transform: translateY(-5px);
}

.page-casino__payment-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-casino__payment-title {
  font-size: 1.3em;
  color: #1A237E;
  margin-bottom: 10px;
}

.page-casino__payment-description {
  font-size: 0.95em;
  color: #555555;
}

/* App Section */
.page-casino__app-content {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 40px;
  text-align: left;
}

.page-casino__app-text {
  max-width: 600px;
}

.page-casino__app-text .page-casino__section-title {
  color: #FFD700;
}

.page-casino__app-text .page-casino__section-text {
  color: #f0f0f0;
  margin-left: 0;
  margin-right: 0;
}

.page-casino__app-buttons {
  display: flex;
  gap: 20px;
  margin-top: 30px;
}

.page-casino__app-image {
  max-width: 350px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* FAQ Section */
.page-casino__faq-section .page-casino__section-title {
  color: #1A237E;
}

.page-casino__faq-list {
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-casino__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-casino__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #1A237E;
  cursor: pointer;
  background-color: #f5f5f5;
  border-bottom: 1px solid #e0e0e0;
}

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

.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: #555555;
  text-align: left;
}

.page-casino__faq-item.active .page-casino__faq-answer {
  max-height: 1000px !important; /* Sufficiently large value */
  padding: 15px 25px;
}

.page-casino__faq-answer p {
  margin: 0;
}

/* CTA Final Section */
.page-casino__cta-final-section .page-casino__section-title {
  color: #FFD700;
}

.page-casino__cta-final-section .page-casino__section-text {
  color: #f0f0f0;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-casino__hero-title {
    font-size: 3em;
  }
  .page-casino__section-title {
    font-size: 2em;
  }
  .page-casino__app-content {
    flex-direction: column;
    text-align: center;
  }
  .page-casino__app-text {
    max-width: 100%;
  }
  .page-casino__app-buttons {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .page-casino {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-casino__hero-section {
    min-height: 500px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-casino__hero-title {
    font-size: 2.2em;
  }
  .page-casino__hero-description {
    font-size: 1em;
  }
  .page-casino__hero-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }
  .page-casino__btn-primary,
  .page-casino__btn-secondary {
    width: calc(100% - 30px) !important; /* Account for padding in container */
    max-width: 100% !important;
    margin: 0 auto;
    padding: 12px 20px;
  }
  .page-casino__section {
    padding: 40px 0;
  }
  .page-casino__section-title {
    font-size: 1.8em;
  }
  .page-casino__section-text {
    font-size: 0.95em;
  }
  .page-casino__container {
    padding: 0 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  
  /* Images responsive */
  .page-casino img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-casino__game-cards,
  .page-casino__promo-grid,
  .page-casino__payment-methods {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-casino__card-image {
    height: 200px;
  }
  .page-casino__app-image {
    max-width: 250px;
  }
  
  /* Video responsive */
  .page-casino__video-wrapper {
    padding-bottom: 75%; /* Adjust for mobile 4:3 or keep 16:9 */
    margin: 20px auto;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-casino__video-link {
    max-width: 100% !important;
    width: 100% !important;
  }
  .page-casino__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* FAQ */
  .page-casino__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-casino__faq-answer {
    padding: 0 20px;
  }
  .page-casino__faq-item.active .page-casino__faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-casino__hero-title {
    font-size: 1.8em;
  }
  .page-casino__hero-description {
    font-size: 0.9em;
  }
  .page-casino__section-title {
    font-size: 1.5em;
  }
  .page-casino__app-buttons {
    flex-direction: column;
    gap: 10px;
  }
  .page-casino__btn-primary,
  .page-casino__btn-secondary {
    width: calc(100% - 30px) !important;
  }
}