:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f9f9f9;
  --background-dark: #26A9E0; /* Using primary color for dark sections */
  --btn-login-color: #EA7C07;
}

.page-casino {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark); /* Default text color for light background */
}

/* 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: 10px; /* Small top padding, header offset handled by body */
  background: linear-gradient(135deg, var(--primary-color) 0%, rgba(38, 169, 224, 0.7) 100%);
  color: var(--text-light);
}

.page-casino__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%; /* Ensure it takes full width within max-width */
}

.page-casino__hero-image {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
}

.page-casino__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
  border-radius: 8px; /* Slightly smaller border-radius for the image itself */
}

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

.page-casino__main-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem); /* Using clamp as per instruction */
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.2;
  color: var(--text-light);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-casino__hero-description {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: var(--text-light);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* General CTA Button Style */
.page-casino__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--btn-login-color); /* Using login color for primary CTA */
  color: var(--text-light);
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.page-casino__cta-button:hover {
  background: #d46c06; /* Darkened version of #EA7C07 */
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-casino__cta-button--dark {
  background: var(--btn-login-color);
  color: var(--text-light);
}

.page-casino__cta-button--dark:hover {
  background: #d46c06; /* Darkened version of #EA7C07 */
}

.page-casino__cta-button--large {
  padding: 18px 50px;
  font-size: 1.3rem;
}

.page-casino__cta-center {
  text-align: center;
  margin-top: 40px;
}

/* Section General Styles */
.page-casino__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.page-casino__section-description {
  font-size: 1.1rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  line-height: 1.7;
}

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

.page-casino__light-bg {
  background: var(--secondary-color); /* White background */
  color: var(--text-dark); /* Dark text */
}

.page-casino__dark-bg {
  background: var(--background-dark); /* Primary color as dark background */
  color: var(--text-light); /* Light text */
}

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


/* About Section */
.page-casino__about-section {
  padding: 80px 0;
}

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

.page-casino__feature-card {
  background: var(--secondary-color);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
  color: var(--text-dark);
}

.page-casino__feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}

.page-casino__feature-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
  max-width: 100%; /* Responsive image */
  display: block;
}

.page-casino__feature-title {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-casino__feature-text {
  font-size: 1rem;
  color: var(--text-dark);
}

/* Games Section */
.page-casino__games-section {
  padding: 80px 0;
}

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

.page-casino__game-card {
  background: var(--secondary-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
  color: var(--text-dark);
}

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

.page-casino__game-image {
  width: 100%;
  height: 280px; /* Fixed height for game images */
  object-fit: cover;
  max-width: 100%;
  display: block;
}

.page-casino__game-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 25px 15px 10px 15px;
  color: var(--primary-color);
}

.page-casino__game-text {
  font-size: 1rem;
  padding: 0 20px 20px;
  color: var(--text-dark);
}

.page-casino__game-card .page-casino__btn-secondary {
  margin-top: 15px;
  margin-bottom: 25px;
}

/* Other Games Section */
.page-casino__other-games-section {
  padding: 80px 0;
}

.page-casino__other-games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-casino__game-card--small .page-casino__game-image {
  height: 200px; /* Smaller fixed height for other games */
}

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

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

.page-casino__promo-card {
  background: var(--secondary-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
  color: var(--text-dark);
}

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

.page-casino__promo-image {
  width: 100%;
  height: 200px; /* Fixed height for promo images */
  object-fit: cover;
  max-width: 100%;
  display: block;
}

.page-casino__promo-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 25px 15px 10px 15px;
  color: var(--primary-color);
}

.page-casino__promo-text {
  font-size: 1rem;
  padding: 0 20px 20px;
  color: var(--text-dark);
}

.page-casino__promo-card .page-casino__btn-primary {
  margin-top: 15px;
  margin-bottom: 25px;
}

/* Strategy Section */
.page-casino__strategy-section {
  padding: 80px 0;
}

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

.page-casino__strategy-card {
  background: var(--secondary-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
  color: var(--text-dark);
}

.page-casino__strategy-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}

.page-casino__strategy-image {
  width: 100%;
  height: 220px; /* Fixed height for strategy images */
  object-fit: cover;
  max-width: 100%;
  display: block;
}

.page-casino__strategy-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 25px 15px 10px 15px;
}

.page-casino__strategy-title a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-casino__strategy-title a:hover {
  color: #1e87b2; /* Darkened version of #26A9E0 */
}

.page-casino__strategy-text {
  font-size: 1rem;
  padding: 0 20px 20px;
  color: var(--text-dark);
}

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