:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --login-color: #EA7C07;
  --text-dark: #333333;
  --text-light: #FFFFFF;
  --background-light: #F8F8F8;
  --background-dark: #202020;
}

.page-casino {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--secondary-color); /* Matches body background #FFFFFF */
}

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

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

.page-casino__section-description {
  font-size: 18px;
  text-align: center;
  margin-bottom: 50px;
  color: #555;
}

.page-casino__content-grid {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-bottom: 60px;
}

.page-casino__content-grid.reverse {
  flex-direction: row-reverse;
}

.page-casino__text-block {
  flex: 1;
}

.page-casino__text-block h3 {
  font-size: 24px;
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 15px;
}

.page-casino__text-block p {
  margin-bottom: 15px;
  font-size: 17px;
  line-height: 1.7;
}

.page-casino__text-block ul {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-casino__text-block ul li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  font-size: 16px;
}

.page-casino__text-block ul li::before {
  content: '✔';
  color: var(--primary-color);
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
}

.page-casino__image-block {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-casino__image-block img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  display: block; /* Ensure it behaves as a block element */
}

/* 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); /* Ensures content is not hidden by fixed header */
  background: linear-gradient(135deg, var(--primary-color) 0%, #3a7bd5 100%); /* Adjusted gradient for vibrancy */
  color: var(--text-light);
}

.page-casino__hero-container {
  position: relative;
  max-width: 1400px; /* Increased max-width for hero */
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-casino__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-casino__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

.page-casino__hero-title {
  font-size: 52px;
  margin-bottom: 20px;
  font-weight: 900;
  line-height: 1.2;
  color: var(--text-light);
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
}

.page-casino__hero-description {
  font-size: 22px;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-light);
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

.page-casino__cta-button {
  display: inline-block;
  padding: 18px 45px;
  background: var(--login-color); /* Using login color for primary CTA */
  color: var(--text-light);
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
  border: none;
}

.page-casino__cta-button:hover {
  background: #ff8c00; /* Slightly darker orange */
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-casino__btn-primary {
  display: inline-block;
  padding: 12px 25px;
  background: var(--primary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
}

.page-casino__btn-primary:hover {
  background: #1e88e5; /* Slightly darker blue */
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.page-casino__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  background: transparent;
  color: var(--primary-color);
  text-decoration: none;
  border: 2px solid var(--primary-color);
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.page-casino__btn-secondary:hover {
  background: var(--primary-color);
  color: var(--text-light);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Dark background sections */
.page-casino__dark-section {
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 80px 0;
}

.page-casino__dark-section .page-casino__section-title,
.page-casino__dark-section .page-casino__section-description {
  color: var(--text-light);
}

.page-casino__dark-section .page-casino__text-block ul li::before {
  color: var(--login-color); /* Highlight checkmark in dark section */
}

.page-casino__dark-section .page-casino__btn-secondary {
  color: var(--text-light);
  border-color: var(--text-light);
}

.page-casino__dark-section .page-casino__btn-secondary:hover {
  background: var(--text-light);
  color: var(--primary-color);
}

/* Games Section */
.page-casino__games-section {
  padding: 80px 0;
  background-color: var(--background-light);
}

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

.page-casino__game-card {
  background: var(--secondary-color);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  padding-bottom: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-casino__game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.page-casino__game-card img {
  width: 100%;
  height: 220px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 20px;
  display: block;
}

.page-casino__card-title {
  font-size: 22px;
  color: var(--primary-color);
  margin-bottom: 10px;
  padding: 0 20px;
  font-weight: bold;
}

.page-casino__card-link {
  color: var(--primary-color);
  text-decoration: none;
}

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

.page-casino__game-card p {
  font-size: 16px;
  color: #666;
  margin-bottom: 25px;
  padding: 0 20px;
}

/* Promotions Section */
.page-casino__promotions-section {
  padding: 80px 0;
}

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

.page-casino__promo-card {
  background: var(--text-light);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-dark);
}

.page-casino__promo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.page-casino__promo-card img {
  width: 100%;
  height: 200px; /* Fixed height for promo images */
  object-fit: cover;
  margin-bottom: 20px;
  display: block;
}

.page-casino__promo-card h3 {
  font-size: 22px;
  color: var(--primary-color);
  margin-bottom: 10px;
  padding: 0 20px;
}

.page-casino__promo-card p {
  font-size: 16px;
  color: #666;
  padding: 0 20px 25px;
}

.page-casino__button-group {
  text-align: center;
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Guide Section */
.page-casino__guide-section {
  padding: 80px 0;
}

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

.page-casino__guide-card {
  background: var(--text-light);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  padding: 30px 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-dark);
}

.page-casino__guide-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.page-casino__guide-card h3 {
  font-size: 22px;
  color: var(--primary-color);
  margin-bottom: 15px;}
}