/* style/casino.css */
:root {
  --primary-color: #017439;
  --secondary-color: #FFFFFF;
  --register-color: #C30808;
  --login-color: #C30808;
  --background-color: #FFFFFF;
  --register-login-font-color: #FFFF00;
}

.page-casino {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: var(--background-color); /* Ensures page content uses the specified background */
}

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

.page-casino__text-center {
  text-align: center;
}

.page-casino__section {
  padding: 60px 0;
}

.page-casino__section-title {
  font-size: 36px;
  font-weight: bold;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.2;
}

.page-casino__text-block {
  font-size: 17px;
  margin-bottom: 20px;
  line-height: 1.7;
  text-align: justify;
}

/* Color contrast classes */
.page-casino__dark-bg {
  background-color: var(--primary-color);
  color: var(--secondary-color);
}

.page-casino__dark-bg .page-casino__section-title {
  color: var(--secondary-color);
}

.page-casino__light-bg {
  background-color: var(--background-color);
  color: #333333;
}

/* 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: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  overflow: hidden; /* Prevent image overflow */
}

.page-casino__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.page-casino__hero-image {
  width: 100%;
  margin-bottom: 30px;
  line-height: 0; /* Remove extra space below img */
}

.page-casino__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

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

.page-casino__hero-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--secondary-color); /* White text on dark background */
  line-height: 1.2;
}

.page-casino__hero-description {
  font-size: 19px;
  margin-bottom: 30px;
  color: var(--secondary-color); /* White text on dark background */
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-casino__hero-cta-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-casino__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-casino__cta-button--register {
  background: var(--register-color); /* #C30808 */
  color: var(--register-login-font-color); /* #FFFF00 */
  border: 2px solid var(--register-color);
}

.page-casino__cta-button--register:hover {
  background: #a30606;
  border-color: #a30606;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-casino__cta-button--login {
  background: var(--login-color); /* #C30808 */
  color: var(--register-login-font-color); /* #FFFF00 */
  border: 2px solid var(--login-color);
}

.page-casino__cta-button--login:hover {
  background: #a30606;
  border-color: #a30606;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-casino__cta-button--final {
  background: var(--register-color);
  color: var(--register-login-font-color);
  border: 2px solid var(--register-color);
  margin-top: 30px;
}

.page-casino__cta-button--final:hover {
  background: #a30606;
  border-color: #a30606;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

.page-casino__game-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #e0e0e0; /* Added for contrast */
}

.page-casino__game-card img {
  width: 100%;
  height: 220px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
}

.page-casino__game-card-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--primary-color);
  margin: 0 15px 10px;
  line-height: 1.3;
}

.page-casino__game-card-description {
  font-size: 15px;
  color: #555555;
  margin: 0 15px 20px;
  flex-grow: 1;
}

.page-casino__btn-primary {
  display: inline-block;
  padding: 12px 25px;
  background: var(--primary-color);
  color: var(--secondary-color);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: 2px solid var(--primary-color);
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

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

.page-casino__promo-card {
  background: rgba(255, 255, 255, 0.15); /* Slightly transparent white on dark background */
  border-radius: 10px;
  padding-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.3); /* Added for contrast */
}

.page-casino__promo-card img {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
}

.page-casino__promo-card-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--secondary-color);
  margin: 0 15px 10px;
  line-height: 1.3;
}

.page-casino__promo-card-description {
  font-size: 15px;
  color: var(--secondary-color);
  margin: 0 15px 20px;
  flex-grow: 1;
  opacity: 0.9;
}

.page-casino__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: 2px solid var(--primary-color);
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-casino__btn-secondary:hover {
  background: #f0f0f0;
  color: #005a2d;
}

/* Security & Guide Sections */
.page-casino__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: center;
}

.page-casino__feature-item {
  background: #ffffff;
  border-radius: 10px;
  padding: 30px 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  border: 1px solid #e0e0e0;
}

.page-casino__feature-item img {
  
  
  object-fit: contain;
  margin-bottom: 15px;
  display: inline-block; /* Center image */
}

.page-casino__feature-title {
  font-size: 20px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-casino__feature-item p {
  font-size: 15px;
  color: #555555;
}

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

.page-casino__guide-step {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.page-casino__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--secondary-color);
  color: var(--primary-color);
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-casino__step-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-casino__guide-step p {
  font-size: 16px;
  color: var(--secondary-color);
  opacity: 0.9;
}

.page-casino__guide-cta {
  text-align: center;
  margin-top: 50px;
}

/* FAQ Section */
.page-casino__faq-list {
  margin-top: 40px;
}

.page-casino__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-casino__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-casino__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-casino__faq-question:active {
  background: #eeeeee;
}

.page-casino__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  color: #333333;
  pointer-events: none;
}