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

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

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

.page-casino__section:nth-of-type(even) {
  background-color: #f0f0f0;
}

.page-casino__section-title {
  font-size: 36px;
  font-weight: bold;
  color: #1E90FF;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-casino__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  border-radius: 2px;
}

.page-casino__text-block {
  font-size: 17px;
  margin-bottom: 15px;
  text-align: justify;
}

/* 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 space for fixed header */
  background: linear-gradient(135deg, #1E90FF, #0056b3);
  color: #ffffff;
}

.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;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  overflow: hidden;
}

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

.page-casino__hero-title {
  font-size: 48px;
  font-weight: 900;
  margin-bottom: 20px;
  color: #FFD700; /* Gold for main title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-casino__hero-description {
  font-size: 22px;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

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

.page-casino__cta-button {
  display: inline-block;
  padding: 18px 45px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  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: #FFD700;
  color: #1E90FF; /* Gold button with blue text */
  border: 2px solid #FFD700;
}

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

.page-casino__cta-button--secondary {
  background: #1E90FF;
  color: #ffffff;
  border: 2px solid #1E90FF;
}

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

/* Game Cards */
.page-casino__games-grid,
.page-casino__promotions-grid,
.page-casino__news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-casino__game-card,
.page-casino__promo-card,
.page-casino__news-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.page-casino__game-card img,
.page-casino__promo-card img,
.page-casino__news-card img {
  width: 100%;
  height: 220px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  border-bottom: 1px solid #eee;
}

.page-casino__game-card .page-casino__game-title,
.page-casino__promo-card .page-casino__promo-title,
.page-casino__news-card .page-casino__news-title {
  font-size: 22px;
  font-weight: bold;
  color: #1E90FF;
  margin: 20px 15px 10px;
}

.page-casino__game-card .page-casino__game-title a,
.page-casino__promo-card .page-casino__promo-title a,
.page-casino__news-card .page-casino__news-title a {
  color: #1E90FF;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-casino__game-card .page-casino__game-title a:hover,
.page-casino__promo-card .page-casino__promo-title a:hover,
.page-casino__news-card .page-casino__news-title a:hover {
  color: #FFD700;
}

.page-casino__game-card .page-casino__game-description,
.page-casino__promo-card .page-casino__promo-description,
.page-casino__news-card .page-casino__news-excerpt {
  font-size: 16px;
  color: #555555;
  padding: 0 20px 20px;
  flex-grow: 1;
}

.page-casino__game-card .page-casino__btn-primary {
  margin: 0 20px 20px;
  padding: 12px 25px;
  font-size: 16px;
  border-radius: 6px;
}

.page-casino__read-more {
  display: inline-block;
  margin: 0 20px 20px;
  padding: 10px 20px;
  background-color: #FFD700;
  color: #1E90FF;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-casino__read-more:hover {
  background-color: #e6c200;
  color: #ffffff;
}

/* Security & Support Section */
.page-casino__security-support-section {
  background-color: #1E90FF;
  color: #ffffff;
  padding: 80px 0;
}

.page-casino__security-support-section .page-casino__section-title {
  color: #FFD700;
}

.page-casino__security-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.page-casino__security-text {
  flex: 1;
  font-size: 18px;
}

.page-casino__security-text .page-casino__text-block {
  color: #f0f0f0;
}

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

.page-casino__security-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  display: block; /* Ensure it behaves as a block element */
  margin: 0 auto;
}

.page-casino__button-group {
  display: flex;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

/* FAQ Section */
.page-casino__faq-section {
  padding: 60px 0;
}

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

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

.page-casino__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  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:active {
  background: #eeeeee;
}

.page-casino__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: #333333;
  pointer-events: none;
}

.page-casino__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #1E90FF;
  color: #ffffff;
}

.page-casino__faq-item.active .page-casino__faq-toggle {
  transform: rotate(45deg);
  background-color: #FFD700;
  color: #1E90FF;
}

.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: #fefefe;
  border-top: none;
  border-left: 1px solid #e0e0e0;
  border-right: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
  border-radius: 0 0 10px 10px;
}

.page-casino__faq-item.active .page-casino__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
}

.page-casino__faq-answer p {
  margin: 0;
  font-size: 16px;
  color: #555555;
}

/* Latest News Section */
.page-casino__latest-news-section {
  background-color: #f0f0f0;
}

.page-casino__news-card {
  text-align: left;
}

.page-casino__news-card img {
  height: 200px; /* Adjusted height for news cards */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-casino__hero-title {
    font-size: 40px;
  }
  .page-casino__hero-description {
    font-size: 20px;
  }
  .page-casino__section-title {
    font-size: 30px;
  }
  .page-casino__security-content {
    flex-direction: column;
    text-align: center;
  }
  .page-casino__security-image img {
    margin-top: 30px;
  }
}

@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__hero-title {
    font-size: 32px;
    margin-bottom: 15px;
  }
  .page-casino__hero-description {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .page-casino__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .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: 15px 25px;
    font-size: 18px;
  }
  .page-casino__section {
    padding: 40px 0;
  }
  .page-casino__section-title {
    font-size: 26px;
    margin-bottom: 30px;
  }
  .page-casino__container {
    padding: 0 15px;
  }
  .page-casino__games-grid,
  .page-casino__promotions-grid,
  .page-casino__news-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .page-casino__game-card img,
  .page-casino__promo-card img,
  .page-casino__news-card img {
    
  }
  .page-casino__game-card .page-casino__game-title,
  .page-casino__promo-card .page-casino__promo-title,
  .page-casino__news-card .page-casino__news-title {
    font-size: 20px;
    margin: 15px 15px 8px;
  }
  .page-casino__game-card .page-casino__game-description,
  .page-casino__promo-card .page-casino__promo-description,
  .page-casino__news-card .page-casino__news-excerpt {
    font-size: 15px;
    padding: 0 15px 15px;
  }
  .page-casino__game-card .page-casino__btn-primary,
  .page-casino__read-more {
    margin: 0 15px 15px;
    padding: 10px 20px;
    font-size: 15px;
  }
  .page-casino__button-group {
    flex-direction: column;
    gap: 15px;
    margin-top: 25px;
  }
  .page-casino__button-group .page-casino__cta-button {
    width: 100% !important;
  }
  .page-casino__security-text {
    font-size: 16px;
  }
  .page-casino__faq-question {
    padding: 15px 20px;
  }
  .page-casino__faq-question h3 {
    font-size: 16px;
  }
  .page-casino__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }
  .page-casino__faq-answer {
    padding: 0 20px;
  }
  .page-casino__faq-item.active .page-casino__faq-answer {
    padding: 15px 20px !important;
  }
  /* Mobile image responsiveness */
  .page-casino img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-casino__section,
  .page-casino__card,
  .page-casino__container,
  .page-casino__game-card,
  .page-casino__promo-card,
  .page-casino__news-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-casino__introduction-section .page-casino__container,
  .page-casino__games-highlight-section .page-casino__container,
  .page-casino__promotions-section .page-casino__container,
  .page-casino__security-support-section .page-casino__container,
  .page-casino__faq-section .page-casino__container,
  .page-casino__latest-news-section .page-casino__container {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 480px) {
  .page-casino__hero-title {
    font-size: 28px;
  }
  .page-casino__hero-description {
    font-size: 15px;
  }
  .page-casino__cta-button {
    font-size: 16px;
    padding: 12px 20px;
  }
  .page-casino__section-title {
    font-size: 22px;
  }
  .page-casino__game-card img,
  .page-casino__promo-card img,
  .page-casino__news-card img {
    
  }
}