/* style/casino.css */
/* Base styles for the casino page */
.page-casino {
  font-family: Arial, sans-serif;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
  line-height: 1.6;
}

/* Ensure the main content area has appropriate padding */
.page-casino__section {
  padding: 60px 20px;
  margin-bottom: 20px;
}

.page-casino__hero-section {
  background: linear-gradient(135deg, #F2C14E, #FFD36B); /* Main and Auxiliary colors */
  padding-top: var(--header-offset, 120px); /* Desktop: Ensure content is not hidden by fixed header */
  padding-bottom: 60px;
  display: flex;
  justify-content: center;
  align-items: flex-start; /* Align items to the start to respect image-over-text rule */
  flex-direction: column;
  overflow: hidden; /* For responsiveness */
}

.page-casino__hero-content-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column; /* Image above text */
  align-items: center;
  gap: 30px;
  text-align: center;
}

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

.page-casino__hero-text-content {
  padding: 0 15px;
}

.page-casino__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive font size */
  font-weight: bold;
  color: #0A0A0A; /* Dark text on light background for contrast */
  margin-bottom: 15px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.page-casino__hero-description {
  font-size: 1.2em;
  color: #333333; /* Darker text for readability on lighter background */
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-casino__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow wrapping on small screens */
  width: 100%; /* For mobile responsiveness */
  max-width: 500px; /* Limit width on larger screens */
  margin: 0 auto;
}

.page-casino__btn-primary,
.page-casino__btn-secondary,
.page-casino__category-link,
.page-casino__btn-text-link {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* For button responsiveness */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text breaking */
  text-align: center;
}

.page-casino__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
  color: #ffffff; /* White text for contrast */
  border: 2px solid transparent;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-casino__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

.page-casino__btn-secondary {
  background: transparent;
  color: #FFD36B; /* Auxiliary color for text */
  border: 2px solid #FFD36B; /* Auxiliary color for border */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-casino__btn-secondary:hover {
  background: #FFD36B; /* Auxiliary color for hover background */
  color: #0A0A0A; /* Dark text on hover for contrast */
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-casino__btn-centered {
  display: block;
  margin: 30px auto 0;
  max-width: 300px;
}

.page-casino__text-link {
  color: #FFD36B; /* Auxiliary color for links */
  text-decoration: underline;
}

.page-casino__text-link:hover {
  color: #F2C14E; /* Main color on hover */
}

.page-casino__section-title {
  font-size: 2.5em;
  color: #FFF6D6; /* Text Main */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  letter-spacing: -0.02em;
}

.page-casino__section-description {
  font-size: 1.1em;
  color: #FFF6D6; /* Text Main */
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px;
  opacity: 0.8;
}

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

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

/* Featured Games Section */
.page-casino__game-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.page-casino__category-card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-casino__category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-casino__category-icon {
  width: 30px;
  height: 30px;
  margin: 0 auto 15px;
  display: block;
  filter: drop-shadow(0 0 5px #FFD36B); /* Glow */
}

.page-casino__category-title {
  font-size: 1.5em;
  color: #FFF6D6; /* Text Main */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-casino__category-text {
  font-size: 0.95em;
  color: #FFF6D6; /* Text Main */
  opacity: 0.7;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-casino__category-link {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #ffffff;
  padding: 8px 15px;
  font-size: 0.9em;
  border-radius: 5px;
}

.page-casino__category-link:hover {
  opacity: 0.9;
}

/* 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: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-casino__promo-title {
  font-size: 1.6em;
  color: #F2C14E; /* Main color */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-casino__promo-text {
  font-size: 1em;
  color: #FFF6D6; /* Text Main */
  opacity: 0.8;
  margin-bottom: 25px;
  flex-grow: 1;
}

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

.page-casino__feature-card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-casino__feature-title {
  font-size: 1.6em;
  color: #F2C14E; /* Main color */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-casino__feature-text {
  font-size: 1em;
  color: #FFF6D6; /* Text Main */
  opacity: 0.8;
}

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

.page-casino__step-card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-casino__step-title {
  font-size: 1.6em;
  color: #F2C14E; /* Main color */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-casino__step-text {
  font-size: 1em;
  color: #FFF6D6; /* Text Main */
  opacity: 0.8;
  margin-bottom: 25px;
  flex-grow: 1;
}

/* Mobile Experience Section */
.page-casino__mobile-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-casino__mobile-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.page-casino__mobile-text {
  text-align: center;
  max-width: 600px;
}

.page-casino__mobile-title {
  font-size: 2em;
  color: #FFF6D6; /* Text Main */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-casino__mobile-text-content {
  font-size: 1.1em;
  color: #FFF6D6; /* Text Main */
  opacity: 0.8;
  margin-bottom: 30px;
}

.page-casino__cta-buttons--mobile {
  flex-direction: column;
  gap: 15px;
}

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

.page-casino__faq-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-casino__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #1a1a1a;
  color: #FFF6D6; /* Text Main */
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-casino__faq-question:hover {
  background-color: #2a2a2a;
}

.page-casino__faq-title {
  font-size: 1.2em;
  margin: 0;
  color: #F2C14E; /* Main color */
}

.page-casino__faq-toggle {
  font-size: 1.8em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #FFD36B; /* Auxiliary color */
}

.page-casino__faq-item.active .page-casino__faq-toggle {
  transform: rotate(45deg);
}

.page-casino__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #FFF6D6; /* Text Main */
  opacity: 0.8;
}

.page-casino__faq-item.active .page-casino__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to reveal content */
  padding: 15px 25px;
}

.page-casino__faq-answer p {
  margin: 0;
  padding-bottom: 10px;
  font-size: 0.95em;
}

/* Partners Section */
.page-casino__partner-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 5 columns for desktop */
  gap: 20px;
  margin-top: 40px;
  justify-items: center;
  align-items: center;
}

.page-casino__partner-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  width: 167px; /* Fixed width */
  height: 127px; /* Fixed height */
}

.page-casino__partner-item:hover {
  transform: translateY(-3px);
}

.page-casino__partner-logo {
  max-width: 100%;
  max-height: 100%;
  display: block;
  object-fit: contain;
}