/* style/casino.css */

/* Base styles for the page-casino scope */
.page-casino {
  color: #ffffff; /* Default text color for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: transparent; /* Body background is handled by shared.css (#000000) */
}

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

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

.page-casino__text-block {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: #f0f0f0;
}

/* Hero Section */
.page-casino__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 600px;
  padding-top: var(--header-offset, 120px); /* Adjusted for header offset */
  padding-bottom: 60px;
  overflow: hidden;
  color: #ffffff;
}

.page-casino__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: 0.6; /* Slightly dim image for text readability */
}

.page-casino__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-casino__hero-description {
  font-size: 1.4em;
  margin-bottom: 40px;
  color: #f0f0f0;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-casino__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

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

.page-casino__btn-primary,
.page-casino__btn-secondary,
.page-casino__btn-play,
.page-casino__btn-promo,
.page-casino__btn-download {
  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, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  box-sizing: border-box; /* Crucial for mobile responsiveness */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Break long words */
}

.page-casino__btn-primary {
  background-color: #26A9E0; /* Main brand color */\  color: #ffffff;
  border: 2px solid #26A9E0;
}

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

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

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

.page-casino__btn-login {
  background-color: #EA7C07; /* Specific color for login */
  border-color: #EA7C07;
}

.page-casino__btn-login:hover {
  background-color: #cc6a00;
  border-color: #cc6a00;
}

.page-casino__btn-play,
.page-casino__btn-promo,
.page-casino__btn-download {
  background-color: #26A9E0;
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  font-size: 1em;
  border-radius: 5px;
}

.page-casino__btn-play:hover,
.page-casino__btn-promo:hover,
.page-casino__btn-download:hover {
  background-color: #1f8ec4;
}

/* Section Backgrounds */
.page-casino__dark-bg {
  background-color: #0d0d0d; /* Slightly lighter than body for contrast */
  color: #ffffff;
  padding: 80px 0;
}

.page-casino__light-bg {
  background-color: #ffffff;
  color: #333333;
  padding: 80px 0;
}

.page-casino__light-bg .page-casino__section-title {
  color: #333333;
}

.page-casino__light-bg .page-casino__text-block {
  color: #555555;
}

.page-casino__light-bg a {
  color: #26A9E0;
}

.page-casino__light-bg a:hover {
  text-decoration: underline;
}

.page-casino__dark-bg a {
  color: #b3e0ff;
}

.page-casino__dark-bg a:hover {
  text-decoration: underline;
}

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

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

.page-casino__feature-item .page-casino__feature-title {
  color: #26A9E0;
}

.page-casino__feature-icon {
  width: 100%; /* Ensure images take full width of their container */
  height: auto;
  max-width: 200px; /* Example, adjust as needed */
  margin-bottom: 20px;
  border-radius: 8px;
  min-width: 200px;
  min-height: 200px;
}

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

.page-casino__game-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  padding-bottom: 20px;
}

.page-casino__game-image,
.page-casino__promo-image,
.page-casino__app-image,
.page-casino__advantage-icon {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-casino__game-title,
.page-casino__promo-title,
.page-casino__advantage-title {
  font-size: 1.5em;
  margin: 20px 15px 10px 15px;
  color: #26A9E0;
}

.page-casino__game-description,
.page-casino__promo-description,
.page-casino__advantage-description {
  font-size: 1em;
  margin: 0 15px 20px 15px;
  color: #f0f0f0;
  flex-grow: 1; /* Make description take available space */
}

.page-casino__game-card .page-casino__btn-play {
  align-self: center;
  margin-top: auto; /* Push button to the bottom */
}


/* Live Casino Section */
.page-casino__live-casino-section {
  padding: 80px 0;
}

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

.page-casino__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  cursor: pointer; /* Indicate video is clickable */
}

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

.page-casino__promo-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  padding-bottom: 20px;
}

.page-casino__promo-card .page-casino__btn-promo {
  align-self: center;
  margin-top: auto;
}

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

.page-casino__guide-step {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  color: #333333;
  text-align: center;
}

.page-casino__guide-step-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-casino__guide-step-description {
  font-size: 1em;
  color: #555555;
}

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

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

.page-casino__advantage-icon {
  width: 100%; /* Ensure images take full width of their container */
  height: auto;
  max-width: 200px; /* Example, adjust as needed */
  margin-bottom: 20px;
  border-radius: 8px;
  min-width: 200px;
  min-height: 200px;
}

.page-casino__advantage-title {
  color: #26A9E0;
}

/* App Download Section */
.page-casino__app-download-section {
  text-align: center;
}

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

.page-casino__app-image {
  margin-top: 40px;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  max-width: 800px;
  width: 100%;
  min-width: 200px;
  min-height: 200px;
}

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