/* style/casino.css */
.page-casino {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default text color for light background */
  background-color: #FFFFFF;
  line-height: 1.6;
}

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

.page-casino__section-title {
  font-size: 2.5rem;
  color: #017439;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-casino__sub-section-title {
  font-size: 2rem;
  color: #017439;
  text-align: center;
  margin-top: 50px;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-casino__text-block {
  font-size: 1.1rem;
  margin-bottom: 20px;
  text-align: justify;
}

/* Hero Section */
.page-casino__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust height as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: #FFFFFF;
  padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
}

.page-casino__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-casino__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  z-index: 2;
}

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

.page-casino__hero-title {
  font-size: 3.5rem;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-casino__hero-description {
  font-size: 1.5rem;
  margin-bottom: 40px;
  line-height: 1.5;
}

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

/* Buttons */
.page-casino__btn-primary,
.page-casino__btn-secondary,
.page-casino__btn-tertiary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
}

.page-casino__btn-primary {
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

.page-casino__btn-primary:hover {
  background-color: #a00606;
  border-color: #a00606;
}

.page-casino__btn-secondary {
  background-color: transparent;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
}

.page-casino__btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.page-casino__btn-tertiary {
  background-color: #017439;
  color: #FFFFFF;
  border: 2px solid #017439;
}

.page-casino__btn-tertiary:hover {
  background-color: #005f2e;
  border-color: #005f2e;
}

/* Sections */
.page-casino__introduction-section,
.page-casino__benefits-section,
.page-casino__tips-section,
.page-casino__cta-section {
  padding: 80px 0;
}

.page-casino__games-section,
.page-casino__getting-started-section,
.page-casino__faq-section {
  padding: 80px 0;
}

/* Background Colors */
.page-casino__light-bg {
  background-color: #FFFFFF;
  color: #333333;
}

.page-casino__dark-bg {
  background-color: #017439;
  color: #FFFFFF;
}

.page-casino__dark-bg .page-casino__section-title,
.page-casino__dark-bg .page-casino__sub-section-title {
  color: #FFFFFF;
}

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

.page-casino__game-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  color: #333333;
  text-align: center;
}

.page-casino__game-card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.page-casino__game-card-title {
  font-size: 1.5rem;
  margin: 20px 15px 10px;
  color: #017439;
}

.page-casino__game-card-description {
  font-size: 1rem;
  padding: 0 15px 20px;
  flex-grow: 1;
}

.page-casino__game-card .page-casino__btn-tertiary {
  margin: 0 15px 20px;
  width: calc(100% - 30px);
}

/* Live Dealer Section */
.page-casino__live-dealer-section {
  margin-top: 80px;
  text-align: center;
}

.page-casino__live-dealer-image {
  width: 100%;
  max-width: 1000px;
  height: auto;
  border-radius: 10px;
  margin: 30px auto;
  display: block;
  object-fit: cover;
}

.page-casino__live-dealer-section .page-casino__btn-primary {
  margin-top: 30px;
}

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

.page-casino__benefit-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #333333;
}

.page-casino__benefit-card-image {
  width: 100%;
  max-width: 300px;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-casino__benefit-card-title {
  font-size: 1.4rem;
  color: #017439;
  margin-bottom: 15px;
}

.page-casino__benefit-card-description {
  font-size: 1rem;
  line-height: 1.6;
}

/* Getting Started Section */
.page-casino__step-by-step-guide {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-casino__guide-item {
  background-color: #FFFFFF;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  color: #333333;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-casino__guide-icon {
  width: 60px;
  height: 60px;
  background-color: #C30808;
  color: #FFFF00;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-casino__guide-title {
  font-size: 1.5rem;
  color: #017439;
  margin-bottom: 15px;
}

.page-casino__guide-description {
  font-size: 1rem;
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-casino__guide-item .page-casino__btn-tertiary {
  width: 100%;
  max-width: 200px;
}

/* Tips Section */
.page-casino__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 50px;
}

.page-casino__tips-list li {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
  padding: 30px;
  color: #333333;
}

.page-casino__tips-title {
  font-size: 1.4rem;
  color: #017439;
  margin-bottom: 10px;
}

.page-casino__tips-description {
  font-size: 1rem;
  line-height: 1.6;
}

/* FAQ Section */
.page-casino__faq-list {
  margin-top: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}