.page-casino {
  font-family: Arial, sans-serif;
  color: #FFF6D6; /* Main text color for dark background */
  background-color: #0A0A0A; /* Body background color */
  line-height: 1.6;
  padding-top: 10px; /* Small top padding for the first section, body handles header offset */
}

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

.page-casino__dark-bg {
  background-color: #0A0A0A;
}

.page-casino__card {
  background: #111111; /* Card background color */
  color: #FFF6D6; /* Text on card */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-casino__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3), 0 0 15px #FFD36B; /* Glow effect */
}

.page-casino__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: #F2C14E; /* Main accent color for titles */
  text-shadow: 0 0 5px rgba(255, 211, 107, 0.5); /* Subtle glow */
  font-weight: bold;
}

.page-casino__section-subtitle {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: #FFF6D6;
}

/* Buttons */
.page-casino__btn-primary,
.page-casino__btn-secondary,
.page-casino__category-link {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: nowrap; /* Prevent text wrapping on buttons by default */
}

.page-casino__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
  color: #ffffff; /* White text on buttons */
  border: none;
  box-shadow: 0 4px 10px rgba(242, 193, 78, 0.4);
}

.page-casino__btn-primary:hover {
  background: linear-gradient(180deg, #FFE890 0%, #E6B02A 100%);
  box-shadow: 0 6px 15px rgba(242, 193, 78, 0.6);
  transform: translateY(-2px);
}

.page-casino__btn-secondary {
  background: transparent;
  color: #F2C14E; /* Main accent color */
  border: 2px solid #F2C14E;
  margin-left: 20px;
}

.page-casino__btn-secondary:hover {
  background: rgba(242, 193, 78, 0.1);
  color: #FFD36B; /* Accent color */
  border-color: #FFD36B;
  transform: translateY(-2px);
}

.page-casino__category-link {
  padding: 8px 20px;
  background: rgba(242, 193, 78, 0.1);
  color: #F2C14E;
  border: 1px solid #F2C14E;
  margin-top: 15px;
}

.page-casino__category-link:hover {
  background: #F2C14E;
  color: #111111;
  border-color: #F2C14E;
}

/* Hero Section */
.page-casino__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 600px; /* Ensure hero section has a minimum height */
  overflow: hidden;
  padding-bottom: 50px; /* Add some padding at the bottom */
}

.page-casino__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden; /* Ensure image doesn't overflow */
}

.page-casino__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6); /* Darken image for text readability */
}

.page-casino__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent background for text */
  border-radius: 10px;
}

.page-casino__hero-title {
  font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive H1 font size */
  color: #F2C14E;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.7);
}

.page-casino__hero-description {
  font-size: 1.2em;
  color: #FFF6D6;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-casino__hero-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Game Categories Section */
.page-casino__categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-casino__category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-casino__category-icon {
  width: 30px;
  height: 30px;
  margin-bottom: 15px;
  object-fit: contain;
}

.page-casino__category-title {
  font-size: 1.5em;
  color: #F2C14E;
  margin-bottom: 10px;
}

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

/* Featured Games Section */
.page-casino__game-feature {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 80px;
}

.page-casino__game-feature:last-of-type {
  margin-bottom: 0;
}

.page-casino__game-feature-content {
  flex: 1;
}

.page-casino__game-feature-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-casino__feature-img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-casino__feature-title {
  font-size: 2em;
  color: #F2C14E;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-casino__feature-text {
  font-size: 1.1em;
  color: #FFF6D6;
  margin-bottom: 30px;
}

.page-casino__game-feature--reversed {
  flex-direction: row-reverse;
}

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

.page-casino__promo-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-casino__promo-img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px; /* Ensure minimum size */
}

.page-casino__promo-title {
  font-size: 1.6em;
  color: #F2C14E;
  margin-bottom: 10px;
}

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

/* Security Section */
.page-casino__security-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-casino__security-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-casino__security-img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px; /* Ensure minimum size */
}

.page-casino__feature-heading {
  font-size: 1.5em;
  color: #F2C14E;
  margin-bottom: 10px;
}

.page-casino__link {
  color: #FFD36B;
  text-decoration: none;
  font-weight: bold;
  margin-top: 15px;
}

.page-casino__link:hover {
  text-decoration: underline;
}

/* User Experience Section */
.page-casino__experience-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-casino__experience-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-casino__mobile-img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  margin-bottom: 20px;
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px; /* Ensure minimum size */
}

/* How to Get Started Section */
.page-casino__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-casino__step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-casino__step-icon {
  width: 200px; /* Minimum size */
  height: 200px; /* Minimum size */
  object-fit: contain;
  margin-bottom: 20px;
}