/* style/casino.css */

/* Base 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(--secondary-color, #FFFFFF); /* Inherit from shared or default to white */
}

.page-casino__section {
  padding: 60px 20px;
  text-align: center;
}

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

.page-casino__section-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #26A9E0; /* Brand primary color for titles */
  font-weight: bold;
}

.page-casino__section-description {
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-casino__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Fixed height for hero */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #FFFFFF;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content is below header */
  box-sizing: border-box;
}

.page-casino__hero-background-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.5em;
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
  color: #FFFFFF;
}

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

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

/* Buttons */
.page-casino__btn-primary,
.page-casino__btn-secondary,
.page-casino__btn-tertiary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  text-align: center;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

.page-casino__btn-primary {
  background-color: #26A9E0;
  color: #FFFFFF;
  border: 2px solid #26A9E0;
}

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

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

.page-casino__btn-secondary:hover {
  background-color: #FFFFFF;
  color: #26A9E0;
}

.page-casino__btn-tertiary {
  background-color: #EA7C07; /* Login color for action buttons */
  color: #FFFFFF;
  border: 2px solid #EA7C07;
  padding: 10px 20px;
  font-size: 0.9em;
}

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

/* Light background section (default for .page-casino) */
.page-casino__light-bg {
  background-color: #FFFFFF;
  color: #333333;
}

/* Dark background section */
.page-casino__dark-bg {
  background-color: #26A9E0;
  color: #FFFFFF;
}

.page-casino__dark-bg .page-casino__section-title {
  color: #FFFFFF;
}
.page-casino__dark-bg .page-casino__section-description {
  color: #f0f0f0;
}

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

.page-casino__feature-item {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease;
  color: #333333;
}

.page-casino__feature-item:hover {
  transform: translateY(-5px);
}

.page-casino__feature-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-casino__feature-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-casino__feature-text {
  font-size: 1em;
  color: #555555;
}

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

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

.page-casino__game-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

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

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

/* Live Casino Section */
.page-casino__live-casino-section .page-casino__container {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
}

.page-casino__live-casino-content {
  flex: 1;
}

.page-casino__live-casino-content .page-casino__section-title {
  margin-left: 0;
  margin-right: 0;
}

.page-casino__live-casino-content .page-casino__section-description {
  margin-left: 0;
  margin-right: 0;
}

.page-casino__live-casino-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-casino__live-casino-list li {
  margin-bottom: 10px;
  font-size: 1.1em;
  color: #555555;
}

.page-casino__list-highlight {
  color: #26A9E0;
}

.page-casino__live-casino-video-wrapper {
  flex: 1;
  position: relative;
  width: 100%;
  max-width: 800px; /* Limit video width based on image size */
  height: 0;
  padding-bottom: 75%; /* 4:3 aspect ratio based on 800x600 image, 450/800 = 0.5625 = 56.25% for 16:9, but image is 800x450, so 450/800 = 56.25% */
  background-color: #000;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-casino__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
}

.page-casino__video-overlay-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10; /* Make sure it's clickable over the video */
  cursor: pointer;
}

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

.page-casino__promo-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  color: #FFFFFF;
}

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

.page-casino__promo-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

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

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

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

/* Security Section */
.page-casino__security-section .page-casino__container {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
}

.page-casino__security-image {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

.page-casino__security-text-block {
  flex: 1;
}

.page-casino__security-subtitle {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-casino__security-paragraph {
  margin-bottom: 20px;
  color: #555555;
}

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

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

.page-casino__step-icon {
  width: 60px;
  height: 60px;
  line-height: 60px;
  border-radius: 50%;
  background-color: #EA7C07; /* Login color for step icons */
  color: #FFFFFF;
  font-size: 2em;
  font-weight: bold;
  margin: 0 auto 20px;
}

.page-casino__step-title {
  font-size: 1.8em;
  margin-bottom: 10px;
  color: #FFFFFF;
}

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

/* Support Section */
.page-casino__support-section .page-casino__container {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
}

.page-casino__support-info {
  flex: 1;
}

.page-casino__support-paragraph {
  margin-bottom: 20px;
  color: #555555;
}

.page-casino__support-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-casino__support-list li {
  margin-bottom: 10px;
  font-size: 1.1em;
  color: #555555;
}

.page-casino__support-image {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

/* Download App Section */
.page-casino__download-app-section .page-casino__download-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-casino__download-image {
  max-width: 600px;
  height: auto;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  min-width: 200px;
  min-height: 200px;
}

.page-casino__download-note {
  font-size: 1em;
  color: #f0f0f0;
}

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

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

.page-casino__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: #FFFFFF;
  border-bottom: 1px solid #eee;
  color: #26A9E0;
  list-style: none; /* For details/summary */
}

.page-casino__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker */
}

.page-casino__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #EA7C07;
}

.page-casino__faq-answer {
  padding: 0 20px 20px;
  font-size: 1em;
  color: #555555;
  line-height: 1.6;
}

.page-casino__faq-item[open] .page-casino__faq-question {
  border-bottom: none;
}

/* Conclusion Section */
.page-casino__conclusion-section .page-casino__cta-buttons {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-casino__hero-title {
    font-size: 3em;
  }
  .page-casino__section-title {
    font-size: 2em;
  }
  .page-casino__live-casino-section .page-casino__container,
  .page-casino__security-section .page-casino__container,
  .page-casino__support-section .page-casino__container {
    flex-direction: column;
    text-align: center;
  }
  .page-casino__security-image,
  .page-casino__support-image {
    max-width: 80%;
    margin-bottom: 30px;
  }
}