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

.page-casino__section-header {
  text-align: center;
  margin-bottom: 40px;
  padding: 0 15px;
}

.page-casino__section-title {
  font-size: clamp(28px, 4vw, 48px); /* H2 font size, using clamp for responsiveness */
  font-weight: 700;
  color: #FFD36B; /* Glow color for titles */
  margin-bottom: 10px;
  line-height: 1.2;
}

.page-casino__section-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: #FFF6D6; /* Text Main */
  max-width: 800px;
  margin: 0 auto;
}

/* Hero Section */
.page-casino__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Image on top, content below */
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  text-align: center;
  overflow: hidden;
}

.page-casino__hero-image {
  width: 100%;
  max-width: 1200px; /* Adjust based on design */
  height: auto;
  display: block;
  margin-bottom: 30px; /* Space between image and content */
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-casino__hero-content {
  max-width: 900px;
  width: 100%;
  padding: 0 15px;
}

.page-casino__main-title {
  font-size: clamp(32px, 5vw, 56px); /* H1 font size, using clamp */
  font-weight: 800;
  color: #F2C14E; /* Main color for H1 */
  margin-bottom: 15px;
  line-height: 1.1;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.5);
}

.page-casino__hero-description {
  font-size: clamp(18px, 2.5vw, 24px);
  color: #FFF6D6;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-casino__hero-cta {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

/* Buttons */
.page-casino__btn-primary,
.page-casino__btn-secondary,
.page-casino__btn-play,
.page-casino__btn-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  box-sizing: border-box;
  max-width: 100%;
}

.page-casino__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Custom button gradient */
  color: #111111; /* Dark text on light gold button */
  border: none;
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-casino__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
  filter: brightness(1.1);
}

.page-casino__btn-secondary {
  background: transparent;
  color: #F2C14E; /* Main color for text */
  border: 2px solid #F2C14E; /* Border color */
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.2);
}

.page-casino__btn-secondary:hover {
  background: rgba(242, 193, 78, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.4);
}

.page-casino__btn-play {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  border: none;
  padding: 15px 40px;
  font-size: 20px;
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-casino__btn-play:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
  filter: brightness(1.1);
}

.page-casino__btn-text {
  color: #F2C14E;
  text-decoration: underline;
  padding: 0;
  background: none;
  border: none;
  font-weight: 600;
  font-size: 16px;
}

.page-casino__btn-text:hover {
  color: #FFD36B;
}

/* Video Section */
.page-casino__video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  background-color: #111111; /* Card BG color */
  border-radius: 10px;
  margin: 40px auto;
  max-width: 1200px;
  box-sizing: border-box;
}

.page-casino__video-wrapper {
  position: relative;
  width: 100%; /* Important for desktop as well */
  max-width: 1000px; /* Max width for the video itself */
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
  margin-top: 30px;
}

.page-casino__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

.page-casino__video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1; /* Ensure overlay is above video */
}

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


/* Game Categories */
.page-casino__game-categories {
  max-width: 1200px;
  margin: 40px auto;
  padding: 40px 20px;
  background-color: #0A0A0A; /* Background color */
}

.page-casino__categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  padding-top: 20px;
}

.page-casino__category-card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  text-decoration: none;
  color: #FFF6D6;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 200px; /* Ensure cards have a decent height */
}

.page-casino__category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(242, 193, 78, 0.2);
  border-color: #F2C14E; /* Main color on hover */
}

.page-casino__category-icon {
  width: 30px;
  height: 30px;
  margin-bottom: 15px;
  object-fit: contain;
  filter: drop-shadow(0 0 5px rgba(255, 211, 107, 0.6));
}

.page-casino__category-title {
  font-size: 22px;
  font-weight: 700;
  color: #F2C14E; /* Main color */
  margin-bottom: 10px;
}

.page-casino__category-description {
  font-size: 15px;
  color: #FFF6D6;
  flex-grow: 1;
}

/* Promotions Section */
.page-casino__promotions-section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 40px 20px;
  background-color: #111111; /* Card BG color */
  border-radius: 10px;
  border: 1px solid #3A2A12;
}

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

.page-casino__promo-card {
  background-color: #0A0A0A; /* Background color for inner card */
  border: 1px solid #3A2A12;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
}

.page-casino__promo-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  min-height: 200px; /* Ensure images are not too small */
}

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

.page-casino__promo-title {
  font-size: 20px;
  font-weight: 700;
  color: #F2C14E;
  margin-bottom: 10px;
}

.page-casino__promo-description {
  font-size: 15px;
  color: #FFF6D6;
  margin-bottom: 15px;
  flex-grow: 1;
}


/* CTA Section */
.page-casino__cta-section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 50px 20px;
  background: linear-gradient(90deg, #111111 0%, #0A0A0A 100%); /* Mix of Card BG and Background */
  border-radius: 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
  gap: 30px;
  border: 1px solid #3A2A12;
}

.page-casino__cta-content {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  text-align: left;
}

.page-casino__cta-title {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 700;
  color: #F2C14E;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-casino__cta-description {
  font-size: 18px;
  color: #FFF6D6;
  margin-bottom: 30px;
}

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

.page-casino__cta-image {
  max-width: 400px;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Info Section */
.page-casino__info-section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 40px 20px;
  background-color: #0A0A0A;
}

.page-casino__info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  padding-top: 20px;
}