/* style/slot-games.css */

:root {
  --page-slot-games-primary: #11A84E;
  --page-slot-games-secondary: #22C768;
  --page-slot-games-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --page-slot-games-card-bg: #11271B;
  --page-slot-games-background: #08160F;
  --page-slot-games-text-main: #F2FFF6;
  --page-slot-games-text-secondary: #A7D9B8;
  --page-slot-games-border: #2E7A4E;
  --page-slot-games-glow: #57E38D;
  --page-slot-games-gold: #F2C14E;
  --page-slot-games-divider: #1E3A2A;
  --page-slot-games-deep-green: #0A4B2C;
}

.page-slot-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--page-slot-games-text-main); /* Default text color for dark background */
  background-color: var(--page-slot-games-background); /* Overall page background */
}

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

.page-slot-games__dark-bg {
  background-color: var(--page-slot-games-background);
  color: var(--page-slot-games-text-main);
}

.page-slot-games__light-bg {
  background-color: var(--page-slot-games-text-main);
  color: #333333; /* Dark text for light background */
}

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

.page-slot-games__section-title {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700;
  margin-bottom: 40px;
  color: var(--page-slot-games-gold);
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.page-slot-games__text-block {
  font-size: 18px;
  margin-bottom: 20px;
  color: var(--page-slot-games-text-secondary);
}

.page-slot-games__text-block a {
  color: var(--page-slot-games-gold);
  text-decoration: underline;
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* Small top padding, larger bottom */
  overflow: hidden;
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-height: 675px; /* Max height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px; /* Space between image and content */
}

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

.page-slot-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-slot-games__hero-title {
  font-size: clamp(36px, 5vw, 64px); /* Use clamp for H1 */
  font-weight: 900;
  color: var(--page-slot-games-gold);
  margin-bottom: 20px;
  line-height: 1.1;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.page-slot-games__hero-description {
  font-size: clamp(18px, 2vw, 24px);
  color: var(--page-slot-games-text-main);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__cta-button {
  display: inline-block;
  background: var(--page-slot-games-button-gradient);
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3), 0 0 20px var(--page-slot-games-glow);
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), 0 0 25px var(--page-slot-games-glow);
}

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

.page-slot-games__feature-item {
  background-color: #ffffff; /* Light background for features */
  color: #333333; /* Dark text for light background */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-slot-games__feature-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-slot-games__feature-heading {
  font-size: 24px;
  color: var(--page-slot-games-primary);
  margin-bottom: 15px;
}

.page-slot-games__feature-item p {
  font-size: 16px;
  color: #555555;
}

/* Game Types Section */
.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__card {
  background-color: var(--page-slot-games-card-bg);
  color: var(--page-slot-games-text-main);
  padding: 25px;
  border-radius: 12px;
  border: 1px solid var(--page-slot-games-border);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  text-align: left;
  transition: transform 0.3s ease;
}

.page-slot-games__card:hover {
  transform: translateY(-5px);
}

.page-slot-games__card-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-slot-games__card-title {
  font-size: 22px;
  color: var(--page-slot-games-gold);
  margin-bottom: 10px;
}

.page-slot-games__card p {
  font-size: 16px;
  color: var(--page-slot-games-text-secondary);
}

/* How to Play Section */
.page-slot-games__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: left;
}

.page-slot-games__step-item {
  background-color: #ffffff;
  color: #333333;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  padding-top: 60px;
}

.page-slot-games__step-number {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--page-slot-games-primary);
  color: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: bold;
}

.page-slot-games__step-title {
  font-size: 22px;
  color: var(--page-slot-games-primary);
  margin-bottom: 10px;
}

.page-slot-games__step-item p {
  font-size: 16px;
  color: #555555;
}

.page-slot-games__step-item a {
  color: var(--page-slot-games-primary);
  text-decoration: underline;
}

.page-slot-games__steps-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 12px;
  margin-top: 50px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

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

.page-slot-games__promo-card {
  text-align: left;
}

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

.page-slot-games__strategy-item {
  background-color: #ffffff;
  color: #333333;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-slot-games__strategy-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-slot-games__strategy-heading {
  font-size: 24px;
  color: var(--page-slot-games-primary);
  margin-bottom: 15px;
}

.page-slot-games__strategy-item p {
  font-size: 16px;
  color: #555555;
}

/* Security Section */
.page-slot-games__security-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  text-align: left;
}

.page-slot-games__security-image {
  flex: 1 1 45%;
  min-width: 300px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

.page-slot-games__security-list {
  flex: 1 1 45%;
  min-width: 300px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-slot-games__security-list li {
  background-color: var(--page-slot-games-card-bg);
  border: 1px solid var(--page-slot-games-border);
  border-radius: 8px;
  padding: 15px 20px;
  margin-bottom: 15px;
  font-size: 17px;
  color: var(--page-slot-games-text-main);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-slot-games__security-list li strong {
  color: var(--page-slot-games-gold);
}

/* FAQ Section */
.page-slot-games__faq-list {
  margin-top: 40px;
  text-align: left;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__faq-item {
  background-color: var(--page-slot-games-card-bg);
  border: 1px solid var(--page-slot-games-border);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-slot-games__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
  font-weight: bold;
  color: var(--page-slot-games-text-main);
  position: relative;
  transition: background-color 0.3s ease;
}

.page-slot-games__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-slot-games__faq-item summary:hover {
  background-color: rgba(var(--page-slot-games-primary), 0.1);
}

.page-slot-games__faq-qtext {
  flex-grow: 1;
  color: var(--page-slot-games-gold);
}

.page-slot-games__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--page-slot-games-gold);
  margin-left: 15px;
}

.page-slot-games__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 16px;
  color: var(--page-slot-games-text-secondary);
  line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games__hero-title {
    font-size: clamp(32px, 4.5vw, 56px);
  }
  .page-slot-games__hero-description {
    font-size: clamp(16px, 1.8vw, 20px);
  }
  .page-slot-games__section-title {
    font-size: clamp(26px, 3.2vw, 40px);
  }
  .page-slot-games__security-content {
    flex-direction: column;
    text-align: center;
  }
  .page-slot-games__security-image {
    flex: 1 1 100%;
    max-width: 80%;
  }
  .page-slot-games__security-list {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-slot-games {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-slot-games__section {
    padding: 40px 15px;
  }
  .page-slot-games__container {
    padding: 0 10px;
  }
  .page-slot-games__hero-section {
    padding: 10px 0 40px 0;
  }
  .page-slot-games__hero-content {
    padding: 0 10px;
  }
  .page-slot-games__hero-title {
    font-size: clamp(28px, 8vw, 48px);
    margin-bottom: 15px;
  }
  .page-slot-games__hero-description {
    font-size: clamp(16px, 4vw, 20px);
    margin-bottom: 25px;
  }
  .page-slot-games__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 18px;
  }
  .page-slot-games__feature-grid, 
  .page-slot-games__game-type-grid, 
  .page-slot-games__steps-grid, 
  .page-slot-games__promo-grid, 
  .page-slot-games__strategy-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-slot-games__feature-item, 
  .page-slot-games__game-type-card, 
  .page-slot-games__step-item, 
  .page-slot-games__promo-card, 
  .page-slot-games__strategy-item {
    padding: 20px;
  }
  .page-slot-games__step-item {
    padding-top: 50px;
  }
  .page-slot-games__step-number {
    width: 35px;
    height: 35px;
    font-size: 18px;
  }
  .page-slot-games__section-title {
    font-size: clamp(24px, 7vw, 36px);
    margin-bottom: 30px;
  }
  .page-slot-games__text-block {
    font-size: 16px;
  }
  .page-slot-games__card-title, .page-slot-games__feature-heading, .page-slot-games__step-title, .page-slot-games__strategy-heading {
    font-size: 20px;
  }
  .page-slot-games__faq-item summary {
    font-size: 16px;
    padding: 15px;
  }
  .page-slot-games__faq-answer {
    font-size: 15px;
    padding: 0 15px 15px 15px;
  }

  /* Mobile image responsiveness */
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-slot-games__section,
  .page-slot-games__card,
  .page-slot-games__container,
  .page-slot-games__hero-section,
  .page-slot-games__hero-image-wrapper,
  .page-slot-games__hero-content,
  .page-slot-games__feature-grid,
  .page-slot-games__game-type-grid,
  .page-slot-games__steps-grid,
  .page-slot-games__promo-grid,
  .page-slot-games__strategy-grid,
  .page-slot-games__security-content,
  .page-slot-games__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden; /* Ensure no horizontal scroll */
  }
  .page-slot-games__hero-section {
    padding-top: 10px !important; /* body already has padding-top */
  }
  .page-slot-games__cta-button,
  .page-slot-games a[class*="button"],
  .page-slot-games a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
}