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

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

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

.page-casino__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
  padding-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-casino__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit hero image height */
  overflow: hidden;
  margin-bottom: 30px;
}

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

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

.page-casino__hero-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: bold;
  color: #F2C14E; /* Main color */
  margin-bottom: 15px;
  line-height: 1.2;
}

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

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

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

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

.page-casino__grid-2-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.page-casino__card {
  background: #111111; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #3A2A12; /* Border */
  display: flex;
  flex-direction: column;
  color: #FFF6D6; /* Text Main */
}

.page-casino__card-title {
  font-size: 1.8em;
  color: #FFD36B; /* Auxiliary color */
  margin-bottom: 15px;
  font-weight: bold;
}

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

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

.page-casino__card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-casino__card p {
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-casino__card-button {
  margin-top: auto; /* Pushes button to bottom */
  align-self: flex-start;
}

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

.page-casino__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
  color: #0A0A0A; /* Dark text for light button */
  border: none;
}

.page-casino__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

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

.page-casino__btn-secondary:hover {
  background: #F2C14E;
  color: #0A0A0A;
}

.page-casino__image-content-layout {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.page-casino__image-content-layout .page-casino__image-wrapper {
  flex: 1;
  min-width: 300px;
}

.page-casino__content-block {
  flex: 2;
  background: #111111; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  border: 1px solid #3A2A12; /* Border */
  color: #FFF6D6; /* Text Main */
}

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

.page-casino__content-subtitle {
  font-size: 1.5em;
  color: #FFD36B; /* Auxiliary color */
  margin-top: 25px;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-casino__content-block p {
  margin-bottom: 15px;
}

.page-casino__content-block a {
  color: #F2C14E;
  text-decoration: none;
}

.page-casino__content-block a:hover {
  text-decoration: underline;
}

.page-casino__promo-card {
  background: #111111; /* Card BG */
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #3A2A12; /* Border */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #FFF6D6; /* Text Main */
}

.page-casino__promo-image {
  width: 100%;
  max-width: 400px;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-casino__promo-button {
  margin-top: auto;
}

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

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

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

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

.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); /* Plus to X effect */
}

.page-casino__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-casino__faq-item.active .page-casino__faq-answer {
  max-height: 1000px !important; /* Use !important for override */
  padding: 15px 20px;
}

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

.page-casino__faq-answer a {
  color: #F2C14E;
  text-decoration: none;
}

.page-casino__faq-answer a:hover {
  text-decoration: underline;
}

.page-casino__latest-news .page-casino__news-card {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  overflow: hidden;
  color: #FFF6D6;
  display: flex;
  flex-direction: column;
}

.page-casino__news-image {
  width: 100%;
  height: 220px; /* Consistent image height */
  object-fit: cover;
}

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

.page-casino__news-title {
  font-size: 1.4em;
  color: #FFD36B; /* Auxiliary color */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-casino__news-title a {
  color: #FFD36B;
  text-decoration: none;
}

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

.page-casino__news-date {
  font-size: 0.9em;
  color: #F2C14E; /* Main color */
  margin-bottom: 15px;
}

.page-casino__news-content p {
  flex-grow: 1;
  margin-bottom: 15px;
}

.page-casino__read-more-button {
  align-self: flex-start;
  margin-top: auto;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-casino__hero-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }

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

  .page-casino__image-content-layout {
    flex-direction: column;
    align-items: center;
  }

  .page-casino__image-content-layout .page-casino__image-wrapper {
    width: 100%;
    max-width: 600px;
  }

  .page-casino__content-block {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-casino__hero-section {
    padding-top: var(--header-offset, 100px) !important; /* Mobile padding for fixed header */
  }

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

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

  .page-casino__hero-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;
    flex-wrap: wrap !important;
    gap: 10px;
  }

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

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

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

  .page-casino__content-subtitle {
    font-size: 1.3em;
  }

  .page-casino__news-title {
    font-size: 1.2em;
  }

  .page-casino img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }

  .page-casino__section,
  .page-casino__card,
  .page-casino__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-casino__card-image {
    height: 200px;
  }

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

  .page-casino__news-image {
    height: 180px;
  }

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