.page-casino {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main, #FFF3E6); /* Default text color from custom palette */
  background-color: var(--bg-color, #0D0E12); /* Default background from custom palette */
}

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

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

.page-casino__hero-image-wrapper {
  width: 100%;
  height: 500px; /* Fixed height for desktop */
  overflow: hidden;
  position: relative;
}

.page-casino__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.7); /* Slightly darken image for text readability, not changing original color */
}

.page-casino__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  max-width: 800px;
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
  background-color: rgba(0, 0, 0, 0.4); /* Semi-transparent background for text */
  border-radius: 8px;
}

.page-casino__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
  color: #FFF3E6;
  margin-bottom: 15px;
  line-height: 1.2;
  font-weight: bold;
}

.page-casino__hero-description {
  font-size: 1.1em;
  color: #FFF3E6;
  margin-bottom: 30px;
}

.page-casino__btn-primary,
.page-casino__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  max-width: 100%; /* Ensure responsiveness */
  white-space: normal;
  word-wrap: break-word;
}

.page-casino__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #FFF3E6;
  border: none;
}

.page-casino__btn-primary:hover {
  background: linear-gradient(180deg, #FFB04D 0%, #E87A11 100%);
  transform: translateY(-2px);
}

.page-casino__btn-secondary {
  background: transparent;
  color: #FFA53A;
  border: 2px solid #FFA53A;
  margin-left: 15px;
}

.page-casino__btn-secondary:hover {
  background: #FFA53A;
  color: #17191F;
  transform: translateY(-2px);
}

.page-casino__section-title {
  font-size: 2.5em;
  color: #FFF3E6;
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-casino__section-description {
  font-size: 1.1em;
  color: #FFF3E6;
  text-align: center;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-casino__video-section {
  padding: 60px 20px;
  background-color: var(--card-bg, #17191F);
}

.page-casino__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  width: 100%; /* Ensure width 100% for desktop too */
  margin: 0 auto 30px auto;
  border-radius: 8px;
}

.page-casino__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  cursor: pointer;
  display: block; /* Ensure it behaves like a block element */
}

.page-casino__video-cta {
  display: block;
  margin: 30px auto 0 auto;
  text-align: center;
  width: fit-content;
}

.page-casino__features-section,
.page-casino__evaluation-section {
  padding: 80px 20px;
  background-color: var(--bg-color, #0D0E12);
}

.page-casino__dark-section {
  background-color: var(--bg-color, #0D0E12);
}

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

.page-casino__feature-card,
.page-casino__evaluation-item {
  background-color: var(--card-bg, #17191F);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #FFF3E6;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid var(--border-color, #A84F0C);
}

.page-casino__feature-icon,
.page-casino__evaluation-icon {
  width: 200px; /* Enforce minimum 200px */
  height: 200px; /* Enforce minimum 200px */
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
}

.page-casino__feature-title,
.page-casino__evaluation-title {
  font-size: 1.5em;
  color: #FFA53A;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-casino__feature-description,
.page-casino__evaluation-text {
  font-size: 1em;
  color: #FFF3E6;
  flex-grow: 1;
}

.page-casino__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.page-casino__games-section {
  padding: 80px 20px;
  background-color: var(--card-bg, #17191F);
}

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

.page-casino__game-card {
  background-color: var(--bg-color, #0D0E12);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  color: #FFF3E6;
  border: 1px solid var(--border-color, #A84F0C);
}

.page-casino__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
}

.page-casino__game-title {
  font-size: 1.4em;
  color: #FFA53A;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-casino__game-link {
  color: #FFA53A;
  text-decoration: none;
}

.page-casino__game-link:hover {
  text-decoration: underline;
}

.page-casino__game-description {
  font-size: 0.95em;
  color: #FFF3E6;
}

.page-casino__games-cta {
  display: block;
  margin: 40px auto 0 auto;
  text-align: center;
  width: fit-content;
}

.page-casino__strategy-section {
  padding: 80px 20px;
  background-color: var(--card-bg, #17191F);
}

.page-casino__strategy-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 900px;
}

.page-casino__strategy-item {
  background-color: var(--bg-color, #0D0E12);
  padding: 25px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  border-left: 5px solid #FFA53A;
  color: #FFF3E6;
}

.page-casino__strategy-heading {
  font-size: 1.3em;
  color: #FFA53A;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-casino__strategy-item p {
  color: #FFF3E6;
  margin-bottom: 0;
}

.page-casino__faq-section {
  padding: 80px 20px;
  background-color: var(--bg-color, #0D0E12);
}

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