/* style/casino.css */
.page-casino {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default text color for light backgrounds */
  background-color: #ffffff; /* Default body background */
  line-height: 1.6;
}

.page-casino__hero-section {
  position: relative;
  background: linear-gradient(135deg, #26A9E0 0%, #1a7bbd 100%);
  color: #ffffff;
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.page-casino__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.page-casino__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.page-casino__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-casino__description {
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 1.8;
}

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

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

.page-casino__btn-primary {
  background: #EA7C07; /* Custom color for Login/Register type buttons */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

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

.page-casino__btn-secondary {
  background: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-casino__btn-secondary:hover {
  background: #26A9E0;
  color: #ffffff;
}

.page-casino__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-casino__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Dim the image for text readability */
}

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

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

.page-casino__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: #26A9E0;
  font-weight: bold;
}

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

.page-casino__inline-link {
  color: #26A9E0;
  text-decoration: underline;
  font-weight: bold;
}

.page-casino__inline-link:hover {
  color: #1a7bbd;
}

.page-casino__introduction-section {
  background-color: #f8f8f8;
}

.page-casino__games-showcase {
  background-color: #ffffff;
}

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

.page-casino__game-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease;
  border: 1px solid #e0e0e0;
}

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

.page-casino__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-casino__game-title {
  font-size: 1.5em;
  margin: 20px 15px 10px;
  color: #26A9E0;
  font-weight: bold;
}

.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 20px;
}

.page-casino__advantages-section {
  background: #26A9E0;
  color: #ffffff;
}

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

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

.page-casino__advantage-item {
  background: rgba(255, 255, 255, 0.15);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-casino__advantage-title {
  font-size: 1.4em;
  margin-bottom: 15px;
  font-weight: bold;
  color: #ffffff;
}

.page-casino__advantage-item .page-casino__text-block {
  color: #f0f0f0;
  font-size: 1em;
}

.page-casino__getting-started-section {
  background-color: #f8f8f8;
}

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

.page-casino__step-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border: 1px solid #e0e0e0;
}

.page-casino__step-icon-wrapper {
  margin-bottom: 20px;
}

.page-casino__step-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

.page-casino__step-title {
  font-size: 1.6em;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-casino__step-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
}

.page-casino__btn-small {
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-casino__promotions-section {
  background-color: #ffffff;
}

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

.page-casino__promo-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease;
  border: 1px solid #e0e0e0;
}

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

.page-casino__promo-image {
  width: 100%;
  height: 225px;
  object-fit: cover;
  display: block;
}

.page-casino__promo-title {
  font-size: 1.4em;
  margin: 20px 15px 10px;
  color: #26A9E0;
  font-weight: bold;
}

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

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

.page-casino__promo-description {
  font-size: 0.95em;
  color: #555555;
  padding: 0 15px 20px;
}

.page-casino__view-all-promos {
  text-align: center;
  margin-top: 40px;
}

.page-casino__responsible-gambling-section {
  background-color: #f8f8f8;
  text-align: center;
}

.page-casino__faq-section {
  background-color: #ffffff;
}

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

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

.page-casino__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: bold;
  color: #333333;
  cursor: pointer;
  background-color: #f5f5f5;
  transition: background-color 0.3s ease;
}

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

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

.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;
}

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

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

.page-casino__conclusion-section {
  background: linear-gradient(135deg, #26A9E0 0%, #1a7bbd 100%);
  color: #ffffff;
  text-align: center;
}

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

.page-casino__conclusion-section .page-casino__description {
  color: #f0f0f0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-casino__main-title {
    font-size: 2.8em;
  }

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

  .page-casino__game-grid,
  .page-casino__advantages-grid,
  .page-casino__steps-grid,
  .page-casino__promo-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-casino__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure header offset on mobile */
  }

  .page-casino__main-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }

  .page-casino__description {
    font-size: 1em;
    margin-bottom: 25px;
  }

  .page-casino__section {
    padding: 40px 15px;
  }

  .page-casino__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-casino__text-block,
  .page-casino__game-description,
  .page-casino__promo-description,
  .page-casino__step-description {
    font-size: 0.95em;
  }

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

  .page-casino__btn-primary,
  .page-casino__btn-secondary,
  .page-casino__btn-small,
  .page-casino a[class*="button"],
  .page-casino a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }

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

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

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

  .page-casino__hero-image-wrapper,
  .page-casino__game-card,
  .page-casino__promo-card,
  .page-casino__step-card,
  .page-casino__advantage-item,
  .page-casino__container,
  .page-casino__section,
  .page-casino__cta-buttons,
  .page-casino__game-grid,
  .page-casino__advantages-grid,
  .page-casino__steps-grid,
  .page-casino__promo-grid,
  .page-casino__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-casino__hero-image-wrapper {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

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

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

  .page-casino__faq-item.active .page-casino__faq-answer {
    padding: 10px 20px !important;
  }
}

@media (max-width: 480px) {
  .page-casino__main-title {
    font-size: 1.8em;
  }

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

  .page-casino__btn-primary,
  .page-casino__btn-secondary {
    font-size: 0.95em;
    padding: 10px 15px;
  }
}