.page-casino {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Dark body background #121212, so light text */
  background-color: #121212;
}

/* Video Section */
.page-casino__video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  background: linear-gradient(135deg, #000080, #1a1a3a);
  overflow: hidden;
}

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

.page-casino__video-link {
  display: block;
  text-decoration: none;
  position: relative;
  width: 100%;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-casino__video-link:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.page-casino__video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  border: 2px solid #FFD700;
}

.page-casino__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 10px;
  object-fit: cover;
  pointer-events: none; /* Allow click on parent link */
}

.page-casino__video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.page-casino__video-link:hover .page-casino__video-overlay {
  opacity: 1;
}

.page-casino__video-click-hint {
  color: #ffffff;
  font-size: 22px;
  font-weight: bold;
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.6);
  padding: 15px 30px;
  background: rgba(255, 215, 0, 0.8);
  border-radius: 50px;
  white-space: nowrap;
}

.page-casino__video-cta {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
}

.page-casino__play-now-button {
  display: inline-block;
  padding: 18px 50px;
  background: #FFD700; /* Primary color */
  color: #000080; /* Contrasting text color */
  text-decoration: none;
  border-radius: 50px;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
  border: none;
  cursor: pointer;
  text-transform: uppercase;
}

.page-casino__play-now-button:hover {
  background: #e6c200;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.6);
}

.page-casino__play-now-button:active {
  transform: translateY(0);
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

/* Title Section */
.page-casino__title-section {
  background: #0a0a1a; /* Dark background for title section */
  padding: 80px 20px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.page-casino__title-container {
  max-width: 900px;
  margin: 0 auto;
}

.page-casino__main-title {
  font-size: 48px;
  color: #FFD700; /* Primary color for H1 */
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.page-casino__title-description {
  font-size: 20px;
  color: #f0f0f0; /* Light text for description */
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-casino__cta-button {
  display: inline-block;
  padding: 16px 40px;
  background: #000080; /* Secondary color for CTA */
  color: #FFD700; /* Primary color text for contrast */
  text-decoration: none;
  border-radius: 50px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 2px solid #FFD700; /* Border with primary color */
  text-transform: uppercase;
}

.page-casino__cta-button:hover {
  background: #FFD700; /* Hover to primary color */
  color: #000080; /* Text to secondary color */
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
}

/* Featured Games Section */
.page-casino__featured-games-section {
  background: #1a1a3a; /* Darker background */
  padding: 80px 20px;
  text-align: center;
}

.page-casino__featured-games-container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-casino__featured-games-title {
  font-size: 40px;
  color: #FFD700;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-casino__featured-games-description {
  font-size: 18px;
  color: #cccccc;
  margin-bottom: 60px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-casino__game-item {
  background: #0a0a1a;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.2);
  padding-bottom: 20px;
}

.page-casino__game-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 35px rgba(255, 215, 0, 0.4);
}

.page-casino__game-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-casino__game-item:hover .page-casino__game-image {
  transform: scale(1.03);
}

.page-casino__game-name {
  font-size: 24px;
  color: #FFD700;
  margin: 25px 20px 15px;
  font-weight: 600;
  line-height: 1.3;
}

.page-casino__game-text {
  font-size: 16px;
  color: #e0e0e0;
  padding: 0 20px;
  margin-bottom: 30px;
}

.page-casino__game-button {
  display: inline-block;
  padding: 12px 30px;
  background: #000080;
  color: #FFD700;
  text-decoration: none;
  border-radius: 30px;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: 1px solid #FFD700;
}

.page-casino__game-button:hover {
  background: #FFD700;
  color: #000080;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(255, 215, 0, 0.4);
}

/* FAQ Section */
.page-casino__faq-section {
  background: #0a0a1a;
  padding: 80px 20px;
  border-top: 1px solid rgba(255, 215, 0, 0.1);
}

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

.page-casino__faq-title {
  font-size: 40px;
  color: #FFD700;
  text-align: center;
  margin-bottom: 50px;
  font-weight: 700;
}

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

.page-casino__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 215, 0, 0.1);
}

.page-casino__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background: #000080; /* Secondary color for question background */
  color: #FFD700; /* Primary color for question text */
  border-radius: 10px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, color 0.3s ease;
  position: relative;
}

.page-casino__faq-question:hover {
  background: #FFD700; /* Hover to primary color */
  color: #000080; /* Text to secondary color */
}

.page-casino__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  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: 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-question {
  background: #FFD700;
  color: #000080;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.page-casino__faq-item.active .page-casino__faq-toggle {
  color: #000080;
  transform: rotate(180deg);
}

.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: #2a2a4a; /* Slightly lighter dark background for answer */
  color: #e0e0e0;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

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

/* Brand Section */
.page-casino__brand-section {
  background: #121212;
  padding: 80px 20px;
  border-top: 1px solid rgba(255, 215, 0, 0.1);
}

.page-casino__brand-container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-casino__brand-title {
  font-size: 40px;
  color: #FFD700;
  text-align: center;
  margin-bottom: 50px;
  font-weight: 700;
}

.page-casino__brand-content {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-casino__brand-image {
  width: 45%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  object-fit: cover;
}

.page-casino__brand-text-content {
  width: 55%;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.page-casino__brand-item h3 {
  font-size: 24px;
  color: #FFD700;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-casino__brand-item p {
  font-size: 16px;
  color: #e0e0e0;
  line-height: 1.7;
}

/* Blog Section */
.page-casino__blog-section {
  background: #0a0a1a;
  padding: 80px 20px;
  border-top: 1px solid rgba(255, 215, 0, 0.1);
}

.page-casino__blog-container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-casino__blog-title {
  font-size: 40px;
  color: #FFD700;
  text-align: center;
  margin-bottom: 50px;
  font-weight: 700;
}

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

.page-casino__blog-item {
  background: #1a1a3a;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.15);
}

.page-casino__blog-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.page-casino__blog-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.page-casino__blog-item-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 1px solid rgba(255, 215, 0, 0.15);
}

.page-casino__blog-item-title {
  font-size: 22px;
  color: #FFD700;
  margin: 20px 20px 10px;
  font-weight: 600;
  line-height: 1.3;
}

.page-casino__blog-item-excerpt {
  font-size: 15px;
  color: #cccccc;
  padding: 0 20px;
  margin-bottom: 15px;
}

.page-casino__blog-item-date {
  display: block;
  font-size: 13px;
  color: #999999;
  padding: 0 20px 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-casino__main-title {
    font-size: 42px;
  }
  .page-casino__title-description {
    font-size: 18px;
  }
  .page-casino__featured-games-title, .page-casino__faq-title, .page-casino__brand-title, .page-casino__blog-title {
    font-size: 36px;
  }
  .page-casino__brand-content {
    flex-direction: column;
  }
  .page-casino__brand-image, .page-casino__brand-text-content {
    width: 100%;
  }
  .page-casino__brand-image {
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-casino__video-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-casino__video-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    overflow: hidden !important;
  }
  .page-casino__video-link {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-casino__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 8px;
    overflow: hidden !important;
  }
  .page-casino__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    border-radius: 8px;
    object-fit: contain; /* Ensure video fits without cropping */
  }
  .page-casino__video-overlay {
    border-radius: 8px;
  }
  .page-casino__video-click-hint {
    font-size: 16px;
    padding: 10px 20px;
  }
  .page-casino__video-cta {
    margin-top: 30px;
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .page-casino__play-now-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 15px 30px !important;
    font-size: 18px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-casino__title-section,
  .page-casino__featured-games-section,
  .page-casino__faq-section,
  .page-casino__brand-section,
  .page-casino__blog-section {
    padding: 40px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-casino__main-title {
    font-size: 32px;
  }
  .page-casino__title-description {
    font-size: 16px;
  }
  .page-casino__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-casino__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 14px 20px !important;
    font-size: 16px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-casino__featured-games-title, .page-casino__faq-title, .page-casino__brand-title, .page-casino__blog-title {
    font-size: 30px;
  }
  .page-casino__featured-games-description {
    font-size: 16px;
  }
  .page-casino__game-item {
    padding-bottom: 15px;
  }
  .page-casino__game-name {
    font-size: 20px;
    margin: 20px 15px 10px;
  }
  .page-casino__game-text {
    font-size: 15px;
    padding: 0 15px;
  }
  .page-casino__game-button {
    padding: 10px 25px;
    font-size: 15px;
  }

  .page-casino__faq-question {
    padding: 15px 20px;
  }
  .page-casino__faq-question h3 {
    font-size: 16px;
  }
  .page-casino__faq-toggle {
    font-size: 24px;
    width: 25px;
    height: 25px;
    margin-left: 15px;
  }
  .page-casino__faq-answer {
    padding: 0 20px;
  }
  .page-casino__faq-item.active .page-casino__faq-answer {
    padding: 15px 20px !important;
  }

  .page-casino__brand-image {
    border-radius: 10px;
  }
  .page-casino__brand-item h3 {
    font-size: 20px;
  }
  .page-casino__brand-item p {
    font-size: 15px;
  }

  .page-casino__blog-item-title {
    font-size: 18px;
    margin: 15px 15px 8px;
  }
  .page-casino__blog-item-excerpt {
    font-size: 14px;
    padding: 0 15px;
  }
  .page-casino__blog-item-date {
    font-size: 12px;
    padding: 0 15px 15px;
  }

  /* General image and container responsiveness */
  .page-casino img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .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;
    overflow: hidden !important;
  }

  .page-casino video,
  .page-casino__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-casino__video-section,
  .page-casino__video-container,
  .page-casino__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-casino__cta-button,
  .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;
  }
  .page-casino__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: 15px; /* Adjust gap for vertical stacking */
  }
}

@media (max-width: 480px) {
  .page-casino__main-title {
    font-size: 28px;
  }
  .page-casino__featured-games-title, .page-casino__faq-title, .page-casino__brand-title, .page-casino__blog-title {
    font-size: 26px;
  }
  .page-casino__video-click-hint {
    font-size: 14px;
    padding: 8px 15px;
  }
}