/* General Styling for Slot Games Page */
.page-slot-games {
  background-color: #0A0A0A; /* Background color from custom palette */
  color: #FFF6D6; /* Main text color from custom palette */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  padding-top: 10px; /* Small top padding, assuming shared.css handles body padding-top */
}

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

.page-slot-games__section-title {
  font-size: 36px;
  font-weight: 700;
  color: #F2C14E; /* Main brand color for titles */
  text-align: center;
  margin-bottom: 20px;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.4);
}

.page-slot-games__section-description {
  font-size: 18px;
  color: #FFF6D6;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}

/* Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Ensure long words break */
  text-align: center;
}

.page-slot-games__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Custom button gradient */
  color: #0A0A0A; /* Dark text for contrast on bright gradient */
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-slot-games__btn-primary:hover {
  background: linear-gradient(180deg, #FFE082 0%, #E6B12D 100%);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
  transform: translateY(-2px);
}

.page-slot-games__btn-secondary {
  background-color: transparent;
  color: #FFF6D6; /* Main text color */
  border: 2px solid #3A2A12; /* Border color from custom palette */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-slot-games__btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: #F2C14E; /* Main brand color on hover */
  transform: translateY(-2px);
}

.page-slot-games__cta-container {
  text-align: center;
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  padding: 0 15px; /* Ensure container has padding */
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column; /* Ensure image is above text */
  align-items: center;
  padding-bottom: 50px;
  padding-top: 10px; /* Small top padding */
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-height: 500px; /* Limit height for hero image */
  overflow: hidden;
  margin-bottom: 30px; /* Space between image and content */
}

.page-slot-games__hero-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-slot-games__hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 15px;
}

.page-slot-games__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive H1 font size */
  font-weight: 800;
  color: #F2C14E;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 15px rgba(242, 193, 78, 0.6);
}

.page-slot-games__hero-description {
  font-size: 20px;
  color: #FFF6D6;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__hero-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

/* Game Trial Section */
.page-slot-games__game-trial-section {
  padding: 60px 0;
  background-color: #111111; /* Card BG color */
}

.page-slot-games__game-trial-wrapper {
  max-width: 960px;
  margin: 0 auto;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 16 / 9; /* Maintain aspect ratio */
}

.page-slot-games__game-trial-frame {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Content Blocks (for Introduction, Why Choose Us) */
.page-slot-games__content-block {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-bottom: 50px;
}

.page-slot-games__content-block--image-right .page-slot-games__image-content {
  order: 2;
}

.page-slot-games__content-block--image-right .page-slot-games__text-content {
  order: 1;
}

.page-slot-games__text-content {
  flex: 1;
}

.page-slot-games__text-content p {
  margin-bottom: 15px;
  color: #FFF6D6;
}

.page-slot-games__text-content a {
  color: #FFD36B; /* Auxiliary color for links */
  text-decoration: none;
}

.page-slot-games__text-content a:hover {
  text-decoration: underline;
}

.page-slot-games__image-content {
  flex: 1;
  min-width: 300px;
}

.page-slot-games__image-content img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(242, 193, 78, 0.2);
}

/* Game Types Section */
.page-slot-games__game-types-section {
  padding: 60px 0;
}

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

.page-slot-games__game-type-card {
  background-color: #111111; /* Card BG color */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-slot-games__game-type-card img {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  margin-bottom: 15px;
}

.page-slot-games__card-title {
  font-size: 22px;
  font-weight: 700;
  color: #F2C14E;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-slot-games__card-description {
  font-size: 16px;
  color: #FFF6D6;
  padding: 0 15px;
}

/* Why Choose Us Section */
.page-slot-games__why-choose-us-section {
  padding: 60px 0;
  background-color: #0A0A0A;
}

.page-slot-games__advantage-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-slot-games__advantage-list li {
  font-size: 18px;
  color: #FFF6D6;
  margin-bottom: 15px;
  position: relative;
  padding-left: 30px;
}

.page-slot-games__advantage-list li::before {
  content: '✓';
  color: #FFD36B; /* Glow color for checkmark */
  position: absolute;
  left: 0;
  font-weight: bold;
  font-size: 20px;
  line-height: 1;
}

.page-slot-games__advantage-list li strong {
  color: #F2C14E; /* Main brand color for strong text */
}

/* Guide Section */
.page-slot-games__guide-section {
  padding: 60px 0;
  background-color: #111111;
}

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

.page-slot-games__guide-step {
  background-color: #0A0A0A;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  overflow: hidden;
  padding-bottom: 20px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-slot-games__guide-step img {
  width: 100%;
  
  object-fit: cover;
  display: block;
  margin-bottom: 15px;
}

/* Promotions Section */
.page-slot-games__promotions-section {
  padding: 60px 0;
}

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

.page-slot-games__promo-card {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-slot-games__promo-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  margin-bottom: 15px;
}

/* FAQ Section */
.page-slot-games__faq-section {
  padding: 60px 0;
  background-color: #111111;
}

details.page-slot-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #3A2A12; /* Border color from custom palette */
  overflow: hidden;
  background: #0A0A0A; /* Background color from custom palette */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}