:root {
  --primary-color: #0A2463;
  --secondary-color: #E0A441;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f8f9fa;
  --bg-dark: #0A2463;
}

.page-casino {
  font-family: 'Arial', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--bg-light);
}

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

/* Hero Section */
.page-casino__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  background: linear-gradient(135deg, var(--primary-color) 0%, #1a3a7a 100%); /* Subtle gradient */
  color: var(--text-light);
  overflow: hidden;
}

.page-casino__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-casino__hero-image {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

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

.page-casino__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 0 15px;
}

.page-casino__main-title {
  font-size: 3.2em;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
  color: var(--text-light);
}

.page-casino__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #e0e0e0;
}

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

.page-casino__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  min-width: 180px;
  text-align: center;
}

.page-casino__cta-button--primary {
  background: var(--secondary-color);
  color: var(--primary-color);
  border: 2px solid var(--secondary-color);
}

.page-casino__cta-button--primary:hover {
  background: #ffc107;
  border-color: #ffc107;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-casino__cta-button--secondary {
  background: transparent;
  color: var(--text-light);
  border: 2px solid var(--text-light);
}

.page-casino__cta-button--secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* General Section Styling */
.page-casino__section {
  padding: 80px 0;
}

.page-casino__section-title {
  font-size: 2.5em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: var(--primary-color);
}

.page-casino__section-title--light {
  color: var(--text-light);
}

.page-casino__text-block {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px auto;
  color: var(--text-dark);
}

.page-casino__text-block--light {
  color: #e0e0e0;
}

.page-casino__btn-primary,
.page-casino__btn-secondary {
  display: inline-block;
  padding: 12px 30px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1em;
  font-weight: bold;
  transition: all 0.3s ease;
  margin-top: 20px;
  text-align: center;
  min-width: 150px;
}

.page-casino__btn-primary {
  background: var(--primary-color);
  color: var(--text-light);
  border: 2px solid var(--primary-color);
}

.page-casino__btn-primary:hover {
  background: #071a47;
  border-color: #071a47;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-casino__btn-secondary {
  background: var(--secondary-color);
  color: var(--primary-color);
  border: 2px solid var(--secondary-color);
}

.page-casino__btn-secondary:hover {
  background: #ffc107;
  border-color: #ffc107;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Introduction Section */
.page-casino__introduction .page-casino__image-wrapper {
  margin: 40px auto;
  max-width: 800px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-casino__introduction .page-casino__image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

.page-casino__introduction .page-casino__btn-primary {
  display: block;
  margin: 40px auto 0 auto;
  max-width: 300px;
}

/* Dark Background Sections */
.page-casino__dark-bg {
  background: var(--primary-color);
  color: var(--text-light);
}

/* Game Types Grid */
.page-casino__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-casino__game-card {
  background: #1a3a7a;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  padding-bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-casino__game-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
}

.page-casino__game-card-title {
  font-size: 1.5em;
  font-weight: 600;
  color: var(--secondary-color);
  margin: 0 15px 10px 15px;
}

.page-casino__game-card-description {
  font-size: 0.95em;
  color: #cccccc;
  margin: 0 15px 20px 15px;
  flex-grow: 1;
}

.page-casino__game-card .page-casino__btn-secondary {
  margin-top: auto;
  background: var(--secondary-color);
  color: var(--primary-color);
  border: 2px solid var(--secondary-color);
}

.page-casino__game-card .page-casino__btn-secondary:hover {
  background: #ffc107;
  border-color: #ffc107;
}

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

.page-casino__promo-card {
  background: var(--text-light);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding-bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid #e0e0e0;
}

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

.page-casino__promo-card-title {
  font-size: 1.4em;
  font-weight: 600;
  color: var(--primary-color);
  margin: 0 15px 10px 15px;
}

.page-casino__promo-card-description {
  font-size: 0.95em;
  color: var(--text-dark);
  margin: 0 15px 20px 15px;
  flex-grow: 1;
}

.page-casino__promo-card .page-casino__btn-primary {
  margin-top: auto;
  display: inline-block;
}

.page-casino__all-promos-cta, .page-casino__all-news-cta {
  text-align: center;
  margin-top: 50px;
}

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

.page-casino__feature-item {
  text-align: center;
  padding: 30px;
  background: #1a3a7a;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-casino__feature-item img {
  
  
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.2));
}

.page-casino__feature-title {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 10px;
}

.page-casino__feature-title--light {
  color: var(--secondary-color);
}

.page-casino__feature-description {
  font-size: 0.95em;
}

.page-casino__feature-description--light {
  color: #cccccc;
}

.page-casino__security .page-casino__btn-secondary {
  display: block;
  margin: 50px auto 0 auto;
  max-width: 350px;
  background: var(--secondary-color);
  color: var(--primary-color);
  border: 2px solid var(--secondary-color);
}

/* Getting Started Steps */
.page-casino__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-casino__step-item {
  text-align: center;
  padding: 30px;
  background: var(--text-light);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid #e0e0e0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-casino__step-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary-color);
  color: var(--text-light);
  font-size: 2.2em;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-casino__step-title {
  font-size: 1.5em;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-casino__step-description {
  font-size: 1em;
  color: var(--text-dark);
  flex-grow: 1;
}

.page-casino__step-item .page-casino__btn-primary {
  margin-top: auto;
}

.page-casino__platform-guide-text {
  margin-top: 40px;
}

.page-casino__platform-guide-text a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-casino__platform-guide-text a:hover {
  text-decoration: underline;
}

/* FAQ Section */
.page-casino__faq-list {
  margin-top: 50px;
}

.page-casino__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-casino__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: var(--text-light);
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-casino__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-casino__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.15em;
  font-weight: 600;
  line-height: 1.5;
  color: var(--primary-color);
  pointer-events: none;
}

.page-casino__faq-toggle {
  font-size: 2em;
  font-weight: bold;
  line-height: 1;
  color: var(--secondary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 20px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

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

.page-casino__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  background: #fdfdfd;
  color: var(--text-dark);
}

.page-casino__faq-item.active .page-casino__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
  border-top: 1px solid #eee;
  border-radius: 0 0 8px 8px;
}

.page-casino__faq-answer p {
  margin: 0;
  font-size: 1em;
}

.page-casino__faq-answer .page-casino__btn-primary {
  margin-top: 15px;
  font-size: 0.9em;
  padding: 8px 20px;
}

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

.page-casino__news-card {
  background: var(--text-light);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  border: 1px solid #e0e0e0;
  transition: transform 0.3s ease;
}

.page-casino__news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-casino__news-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-casino__news-card-title {
  font-size: 1.3em;
  font-weight: 600;
  color: var(--primary-color);
  margin: 20px 20px 10px 20px;
  flex-grow: 1;
}

.page-casino__news-card-title a {
  color: inherit;
  text-decoration: none;
}

.page-casino__news-card-title a:hover {
  text-decoration: underline;
  color: var(--secondary-color);
}

.page-casino__news-card-description {
  font-size: 0.9em;
  color: #666666;
  margin: 0 20px 15px 20px;
}

.page-casino__news-date {
  font-size: 0.85em;
  color: #999999;
  margin: auto 20px 20px 20px;
  display: block;
}

.page-casino__all-news-cta .page-casino__btn-secondary {
  background: var(--primary-color);
  color: var(--text-light);
  border: 2px solid var(--primary-color);
}

.page-casino__all-news-cta .page-casino__btn-secondary:hover {
  background: #071a47;
  border-color: #071a47;
}

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

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

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

@media (max-width: 768px) {
  .page-casino__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-casino__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-casino__hero-cta-group {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }

  .page-casino__cta-button {
    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__section {
    padding: 40px 0;
  }

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

  .page-casino__text-block {
    font-size: 0.95em;
    margin-bottom: 20px;
  }

  .page-casino__container {
    padding: 0 15px;
  }

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

  .page-casino__section,
  .page-casino__card,
  .page-casino__container,
  .page-casino__btn-primary,
  .page-casino__btn-secondary,
  .page-casino a[class*="button"],
  .page-casino a[class*="btn"],
  .page-casino__hero-cta-group,
  .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;
  }

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

  .page-casino__game-card img, .page-casino__promo-card img, .page-casino__news-card img {
    
  }

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

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

  .page-casino__faq-toggle {
    font-size: 1.8em;
    width: 25px;
    height: 25px;
  }

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

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

  .page-casino__btn-primary, .page-casino__btn-secondary {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .page-casino__introduction .page-casino__btn-primary,
  .page-casino__security .page-casino__btn-secondary {
    max-width: 100%;
  }

  .page-casino__platform-guide-text {
    text-align: left;
  }

  .page-casino__all-promos-cta .page-casino__btn-secondary,
  .page-casino__all-news-cta .page-casino__btn-secondary {
    max-width: 100%;
  }
}