/* style/casino.css */

/* Base Styles & Typography */
.page-casino {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Dark body background #1a1a1a, so light text */
  background-color: transparent; /* Body background from shared.css */
}

.page-casino h1, .page-casino h2, .page-casino h3 {
  color: #ffffff; /* Headings also light for dark background */
  margin-bottom: 1rem;
  line-height: 1.2;
}

.page-casino h1 {
  font-size: 2.8rem;
  text-align: center;
}

.page-casino h2 {
  font-size: 2.2rem;
  text-align: center;
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
}

.page-casino h3 {
  font-size: 1.6rem;
}

.page-casino p {
  margin-bottom: 1rem;
  font-size: 1rem;
}

.page-casino a {
  color: #26A9E0;
  text-decoration: none;
}

.page-casino a:hover {
  text-decoration: underline;
}

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

.page-casino__dark-bg {
  background-color: #1a1a1a;
  color: #ffffff;
}

.page-casino__light-bg {
  background-color: #282828; /* Slightly lighter than body for contrast on sections */
  color: #ffffff;
}

.page-casino__card {
  background: rgba(255, 255, 255, 0.08); /* Semi-transparent white for cards on dark background */
  color: #ffffff;
  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 25px rgba(0, 0, 0, 0.3);
}

.page-casino__section-title {
  margin-bottom: 1.5rem;
  font-weight: bold;
}

.page-casino__section-description {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 2.5rem auto;
  font-size: 1.1rem;
  opacity: 0.9;
}

.page-casino__cta-center {
  text-align: center;
  margin-top: 3rem;
}

/* Buttons */
.page-casino__btn-primary,
.page-casino__btn-secondary,
.page-casino__btn-tertiary {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  border: 2px solid transparent;
  margin: 0 10px;
  box-sizing: border-box;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
}

.page-casino__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-casino__btn-primary:hover {
  background-color: #1e87b8;
}

.page-casino__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border-color: #26A9E0;
}

.page-casino__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-casino__btn-tertiary {
  background-color: #EA7C07; /* Login color for specific actions */
  color: #ffffff;
  margin-top: 15px;
  width: calc(100% - 20px); /* Adjust for margin */
}

.page-casino__btn-tertiary:hover {
  background-color: #c96706;
}

/* Hero Section */
.page-casino__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px 60px; /* Adjusted padding-top via style attribute */
  position: relative;
  overflow: hidden;
  min-height: 600px;
}

.page-casino__hero-content {
  max-width: 900px;
  z-index: 2;
  position: relative;
}

.page-casino__hero-title {
  font-size: 3.5rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
}

.page-casino__hero-description {
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
}

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

.page-casino__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

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

/* Why Choose Section */
.page-casino__why-choose-section {
  padding: 80px 0;
}

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

.page-casino__feature-item {
  text-align: center;
}

.page-casino__feature-icon {
  width: 100%; /* Ensure large image, not icon */
  height: auto;
  max-width: 400px; /* Example max width */
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-casino__feature-title {
  font-size: 1.8rem;
  margin-top: 15px;
  margin-bottom: 10px;
}

.page-casino__feature-text {
  font-size: 1rem;
  opacity: 0.8;
}

/* Video Section */
.page-casino__video-section {
  padding: 80px 0;
  text-align: center;
}

.page-casino__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin: 0 auto;
  border-radius: 10px;
}

.page-casino__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  display: block;
  cursor: pointer;
}

/* Game Types Section */
.page-casino__game-types-section {
  padding: 80px 0;
}

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

.page-casino__game-item {
  text-align: center;
}

.page-casino__game-thumbnail {
  width: 100%;
  height: auto;
  max-width: 400px; /* Example max width */
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-casino__game-title {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.page-casino__game-title a {
  color: #ffffff; /* Link text in cards */
  text-decoration: none;
}

.page-casino__game-title a:hover {
  color: #26A9E0;
  text-decoration: underline;
}

.page-casino__game-description {
  font-size: 0.95rem;
  opacity: 0.8;
}

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

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

.page-casino__promo-card {
  text-align: center;
}

.page-casino__promo-image {
  width: 100%;
  height: auto;
  max-width: 500px;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-casino__promo-title {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.page-casino__promo-text {
  font-size: 0.95rem;
  opacity: 0.8;
}

/* Safety Section */
.page-casino__safety-section {
  padding: 80px 0;
}

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

.page-casino__safety-item {
  text-align: center;
}

.page-casino__safety-icon {
  width: 100%;
  height: auto;
  max-width: 300px; /* Example max width */
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-casino__safety-title {
  font-size: 1.8rem;
  margin-top: 15px;
  margin-bottom: 10px;
}

.page-casino__safety-text {
  font-size: 1rem;
  opacity: 0.8;
}

/* How to Start Section */
.page-casino__how-to-start-section {
  padding: 80px 0;
}

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

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

.page-casino__step-icon {
  width: 100%;
  height: auto;
  max-width: 300px; /* Example max width */
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
}

.page-casino__step-title {
  font-size: 1.8rem;
  margin-top: 15px;
  margin-bottom: 10px;
}

.page-casino__step-text {
  font-size: 1rem;
  opacity: 0.8;
  flex-grow: 1; /* Push button to bottom */
}

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