/* style/casino.css */

/* General styles for the casino page */
.page-casino {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: var(--background-color, #ffffff); /* Inherit from shared, default to white */
}

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

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

.page-casino__subsection-title {
  font-size: 1.8em;
  color: #017439;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-casino__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  color: #555555;
}

/* Hero Section */
.page-casino__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  padding: 100px 0; /* Adjust as needed */
  padding-top: var(--header-offset, 120px); /* Ensure header offset */
  text-align: center;
  overflow: hidden;
}

.page-casino__hero-section.page-casino__dark-bg {
  background: linear-gradient(135deg, #017439, #005a2c); /* Darker green gradient */
  color: #ffffff; /* White text for dark background */
}

.page-casino__hero-content {
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.page-casino__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFF00; /* Highlighted title */
}

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

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

.page-casino__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-casino__btn-register {
  background-color: #C30808; /* Custom color for register */
  color: #FFFF00; /* Custom font color for register */
}

.page-casino__btn-register:hover {
  background-color: #a30606;
  transform: translateY(-2px);
}

.page-casino__btn-login {
  background-color: #C30808; /* Custom color for login */
  color: #FFFF00; /* Custom font color for login */
}

.page-casino__btn-login:hover {
  background-color: #a30606;
  transform: translateY(-2px);
}

.page-casino__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 1em;
  font-weight: bold;
  text-decoration: none;
  background-color: #ffffff;
  color: #017439;
  border: 2px solid #017439;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}

.page-casino__btn-secondary:hover {
  background-color: #017439;
  color: #ffffff;
  transform: translateY(-2px);
}

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

.page-casino__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Subtle background image */
}

/* About Section */
.page-casino__about-section,
.page-casino__promotions-section,
.page-casino__responsible-gambling-section,
.page-casino__cta-section {
  padding: 80px 0;
  background-color: #ffffff;
  color: #333333;
}

.page-casino__games-section,
.page-casino__guide-section,
.page-casino__support-section,
.page-casino__faq-section {
  padding: 80px 0;
  background-color: #017439;
  color: #ffffff;
}

.page-casino__games-section .page-casino__section-title,
.page-casino__guide-section .page-casino__section-title,
.page-casino__support-section .page-casino__section-title,
.page-casino__faq-section .page-casino__section-title {
  color: #ffffff;
}

.page-casino__games-section .page-casino__section-description,
.page-casino__guide-section .page-casino__section-description,
.page-casino__support-section .page-casino__section-description,
.page-casino__faq-section .page-casino__section-description {
  color: #f0f0f0;
}

.page-casino__content-grid {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-casino__content-grid > div {
  flex: 1;
}

.page-casino__image-block {
  text-align: center;
}

.page-casino__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-casino__text-block p {
  margin-bottom: 15px;
  font-size: 1.1em;
  line-height: 1.7;
}

.page-casino__support-list {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 20px;
}

.page-casino__support-list li {
  margin-bottom: 10px;
}

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

.page-casino__game-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-casino__game-card:hover {
  transform: translateY(-10px);
}

.page-casino__game-image {
  max-width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

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

.page-casino__game-title a {
  color: #ffffff;
  text-decoration: none;
}

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

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

/* 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-color: #f9f9f9;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.page-casino__promo-card:hover {
  transform: translateY(-10px);
}

.page-casino__promo-image {
  max-width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

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

.page-casino__promo-text {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
}

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

.page-casino__cta-button {
  padding: 18px 40px;
  font-size: 1.2em;
  border-radius: 10px;
}

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

.page-casino__guide-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-casino__guide-icon {
  width: 150px;
  height: 112px; /* Maintain aspect ratio based on 400x300 */
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
}

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

.page-casino__guide-text {
  font-size: 1em;
  color: #f0f0f0;
  margin-bottom: 20px;
}

/* Video Section */
.page-casino__video-section {
  padding: 80px 0;
  background-color: #f5f5f5;
  color: #333333;
}

.page-casino__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 1000px; /* Max width for video */
  margin: 0 auto;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-casino__video-link-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.page-casino__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Responsible Gambling Section */
.page-casino__advice-list {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 20px;
}

.page-casino__advice-list li {
  margin-bottom: 10px;
  font-size: 1.1em;
}

/* FAQ Section */
.page-casino__faq-list {
  max-width: 800px;
  margin: 40px auto 0 auto;
}

.page-casino__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-casino__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}