/* style/casino.css */

/* Base styles for the casino page, respecting body padding-top from shared.css */
.page-casino {
  background-color: #0A0A0A; /* Custom background color */
  color: #FFF6D6; /* Custom main text color */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-bottom: 50px; /* Space above footer */
}

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

/* Section Titles */
.page-casino__section-title {
  font-size: 2.8em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #FFD36B; /* Accent color for titles */
  line-height: 1.2;
}

.page-casino__section-subtitle {
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #FFF6D6; /* Main text color for subtitles */
}

.page-casino__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  color: #FFF6D6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-casino__text-block {
  font-size: 1em;
  margin-bottom: 1em;
  color: #FFF6D6;
}

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

.page-casino__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Custom button gradient */
  color: #111111; /* Dark text for contrast on bright button */
  border: none;
}

.page-casino__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.page-casino__btn-secondary {
  background: transparent;
  color: #FFD36B; /* Accent color for secondary button text */
  border: 2px solid #FFD36B; /* Accent border */
}

.page-casino__btn-secondary:hover {
  background: #FFD36B;
  color: #0A0A0A;
  transform: translateY(-2px);
}

.page-casino__btn-center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 30px;
  width: fit-content; /* Adjust width to content for centered block buttons */
}

.page-casino__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

.page-casino__cta-buttons--center {
  margin-top: 40px;
}

/* Hero Section */
.page-casino__hero-section {
  position: relative;
  width: 100%;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  min-height: 600px;
}

.page-casino__hero-image-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
}

.page-casino__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.page-casino__hero-content {
  position: relative;
  z-index: 2;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -100px; /* Pull content up over the image bottom */
  background: rgba(10, 10, 10, 0.8); /* Semi-transparent background for readability */
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  border: 1px solid #3A2A12; /* Custom border color */
}

.page-casino__hero-title {
  font-size: clamp(2.5em, 5vw, 3.8em); /* Responsive font size for H1 */
  font-weight: 900;
  color: #FFD36B; /* Glow color for H1 */
  margin-bottom: 20px;
  line-height: 1.1;
  text-shadow: 0 0 15px rgba(255, 211, 107, 0.6);
}

.page-casino__hero-description {
  font-size: 1.2em;
  color: #FFF6D6;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Game Categories */
.page-casino__game-categories {
  padding: 80px 0;
  background-color: #111111; /* Custom card BG color for section */
}

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

.page-casino__category-card {
  background-color: #0A0A0A; /* Darker background for card */
  border: 1px solid #3A2A12;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  text-decoration: none;
  color: #FFF6D6;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-casino__category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
  border-color: #FFD36B;
}

.page-casino__category-icon {
  width: 30px;
  height: 30px;
  margin-bottom: 15px;
  display: inline-block;
  filter: drop-shadow(0 0 5px rgba(255, 211, 107, 0.5));
}

.page-casino__category-title {
  font-size: 1.4em;
  color: #FFD36B;
  margin-bottom: 10px;
}

.page-casino__category-text {
  font-size: 0.95em;
  color: #FFF6D6;
}

/* Featured Games & Providers */
.page-casino__featured-games-section {
  padding: 80px 0;
}

.page-casino__game-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 60px;
}

.page-casino__game-card {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-casino__game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
  border-color: #FFD36B;
}

.page-casino__game-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 15px;
  display: block;
}

.page-casino__game-card-title {
  font-size: 1.5em;
  color: #FFD36B;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-casino__game-card-text {
  font-size: 0.95em;
  color: #FFF6D6;
  margin-bottom: 20px;
  padding: 0 15px;
}

.page-casino__partners-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-logo {
  width: 167px; /* Fixed width as per requirement */
  height: 127px; /* Fixed height as per requirement */
  object-fit: contain;
  filter: grayscale(100%) brightness(150%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.page-casino__partner-logo:hover {
  filter: grayscale(0%) brightness(100%);
  opacity: 1;
}

.page-casino__view-all-btn {
  margin-top: 60px;
}

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

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

.page-casino__promo-text {
  flex: 1;
}

.page-casino__promo-image-wrapper {
  flex: 1;
  text-align: center;
}

.page-casino__promo-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #3A2A12;
}

/* Security Section */
.page-casino__security-section {
  padding: 80px 0;
}

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

.page-casino__security-card {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 12px;
  padding: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-casino__security-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
  border-color: #FFD36B;
}

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

.page-casino__advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 60px;
}

.page-casino__advantage-item {
  background-color: #0A0A0A;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease;
}

.page-casino__advantage-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.page-casino__advantage-item .page-casino__section-subtitle {
  color: #FFD36B;
  font-size: 1.3em;
}

.page-casino__why-choose-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #3A2A12;
  display: block;
  margin: 60px auto 0 auto;
}

/* Get Started Section */
.page-casino__get-started-section {
  padding: 80px 0;
  text-align: center;
}

.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;
  border: 1px solid #3A2A12;
  border-radius: 12px;
  padding: 30px;
  position: relative;
  text-align: center;
  min-height: 200px;
}

.page-casino__step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-casino__step-card .page-casino__section-subtitle {
  margin-top: 40px;
  color: #FFD36B;
}

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

.page-casino__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-casino__faq-item {
  background-color: #0A0A0A;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-casino__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15em;
  font-weight: bold;
  color: #FFD36B;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-casino__faq-question:hover {
  background-color: rgba(255, 211, 107, 0.05);
}

.page-casino__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

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