/* style/casino.css */
.page-casino {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Inherit from shared.css var(--dark-bg-1) */
}

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

.page-casino__container--flex {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-casino__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 0;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  background: linear-gradient(135deg, #4A00B7, #7A00E0);
  color: #ffffff;
  overflow: hidden;
}

.page-casino__hero-content {
  flex: 1;
  max-width: 600px;
  z-index: 1;
  text-align: left;
  padding-right: 40px;
}

.page-casino__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFD700; /* Use accent color for title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.page-casino__hero-cta-group {
  display: flex;
  gap: 20px;
}

.page-casino__hero-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 0;
}

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

.page-casino__section-title {
  font-size: 2.5em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 20px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

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

.page-casino__why-choose-us-section,
.page-casino__games-section,
.page-casino__promotions-section,
.page-casino__security-support-section,
.page-casino__get-started-section,
.page-casino__mobile-app-section,
.page-casino__faq-section,
.page-casino__cta-final-section {
  padding: 80px 0;
  background-color: var(--dark-bg-1, #0d0d0d);
}

.page-casino__why-choose-us-section {
  background: #1a0033;
}

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

.page-casino__feature-item,
.page-casino__info-item {
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background 0.3s ease;
}

.page-casino__feature-item:hover,
.page-casino__info-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.page-casino__feature-icon,
.page-casino__info-icon {
  width: 100%;
  max-width: 120px;
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 8px;
}

.page-casino__feature-title,
.page-casino__info-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-casino__feature-description,
.page-casino__info-description {
  color: #cccccc;
  font-size: 0.95em;
}

.page-casino__game-category {
  margin-bottom: 60px;
}

.page-casino__game-category-title {
  font-size: 2em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 40px;
  border-bottom: 2px solid rgba(255, 215, 0, 0.3);
  padding-bottom: 15px;
}

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

.page-casino__game-card,
.page-casino__promotion-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.3s ease;
}

.page-casino__game-card:hover,
.page-casino__promotion-card:hover {
  transform: translateY(-8px);
}

.page-casino__game-card-image,
.page-casino__promotion-card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-casino__game-card-name,
.page-casino__promotion-card-title {
  font-size: 1.4em;
  color: #FFD700;
  margin: 20px 20px 10px;
}

.page-casino__game-card-name a,
.page-casino__promotion-card-title a {
  color: #FFD700;
  text-decoration: none;
}

.page-casino__game-card-name a:hover,
.page-casino__promotion-card-title a:hover {
  text-decoration: underline;
}

.page-casino__game-card-description,
.page-casino__promotion-card-description {
  color: #cccccc;
  font-size: 0.9em;
  padding: 0 20px;
  flex-grow: 1;
}