/* style/slot-games-jackpot.css */

/* Variables */
:root {
  --page-slot-games-jackpot-primary-color: #C91F17;
  --page-slot-games-jackpot-secondary-color: #E53935;
  --page-slot-games-jackpot-card-bg: #D32F2F;
  --page-slot-games-jackpot-background: #B71C1C;
  --page-slot-games-jackpot-text-main: #FFF5E1;
  --page-slot-games-jackpot-border-color: #F2B544;
  --page-slot-games-jackpot-glow-color: #FFCC66;
  --page-slot-games-jackpot-gold-color: #F4D34D;
  --page-slot-games-jackpot-deep-red: #7A0E0E;
  --page-slot-games-jackpot-button-gradient: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
}

.page-slot-games-jackpot {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--page-slot-games-jackpot-text-main); /* Light text for dark body background */
  background-color: var(--page-slot-games-jackpot-background); /* Explicitly set for main content contrast */
}

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

.page-slot-games-jackpot__dark-section {
  background-color: var(--page-slot-games-jackpot-deep-red);
  color: var(--page-slot-games-jackpot-text-main);
}

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

.page-slot-games-jackpot__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 for content */
  background-color: var(--page-slot-games-jackpot-background);
  color: var(--page-slot-games-jackpot-text-main);
}

.page-slot-games-jackpot__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height for hero image */
  overflow: hidden;
}

.page-slot-games-jackpot__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.8); /* Slightly darken image for text readability */
}

.page-slot-games-jackpot__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin-top: -100px; /* Pull content slightly over image for visual flow, but not overlap text */
  padding: 40px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent background for text readability */
  border-radius: 8px;
  text-align: center;
  box-sizing: border-box;
}

.page-slot-games-jackpot__main-title {
  font-size: clamp(2em, 4vw, 3em);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--page-slot-games-jackpot-gold-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-slot-games-jackpot__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: var(--page-slot-games-jackpot-text-main);
}

.page-slot-games-jackpot__description--center {
  max-width: 800px;
  margin: 0 auto 30px auto;
  font-size: 1.1em;
  color: var(--page-slot-games-jackpot-text-main);
}

.page-slot-games-jackpot__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-slot-games-jackpot__btn-primary,
.page-slot-games-jackpot__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-slot-games-jackpot__btn-primary {
  background: var(--page-slot-games-jackpot-button-gradient);
  color: #ffffff; /* White text for gold button */
  border: 2px solid var(--page-slot-games-jackpot-border-color);
}

.page-slot-games-jackpot__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.page-slot-games-jackpot__btn-secondary {
  background-color: transparent;
  color: var(--page-slot-games-jackpot-gold-color);
  border: 2px solid var(--page-slot-games-jackpot-gold-color);
}

.page-slot-games-jackpot__btn-secondary:hover {
  background-color: var(--page-slot-games-jackpot-gold-color);
  color: var(--page-slot-games-jackpot-deep-red);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.page-slot-games-jackpot__btn-primary--small {
  padding: 10px 20px;
  font-size: 1em;
}

.page-slot-games-jackpot__btn-primary--large {
  padding: 18px 40px;
  font-size: 1.2em;
}

.page-slot-games-jackpot__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.5em);
  font-weight: 700;
  margin-bottom: 40px;
  color: var(--page-slot-games-jackpot-gold-color);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-slot-games-jackpot__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  text-align: left;
  margin-top: 40px;
}

.page-slot-games-jackpot__content-grid--reverse {
  grid-template-columns: 1fr 1fr;
}

.page-slot-games-jackpot__text-block {
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--page-slot-games-jackpot-text-main);
}

.page-slot-games-jackpot__text-block p {
  margin-bottom: 15px;
}

.page-slot-games-jackpot__image-wrapper {
  text-align: center;
}

.page-slot-games-jackpot__image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  display: block;
  margin: 0 auto;
}

.page-slot-games-jackpot__list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-slot-games-jackpot__list-item {
  background-color: var(--page-slot-games-jackpot-card-bg);
  margin-bottom: 10px;
  padding: 15px;
  border-left: 5px solid var(--page-slot-games-jackpot-gold-color);
  border-radius: 5px;
  color: var(--page-slot-games-jackpot-text-main);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

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

.page-slot-games-jackpot__game-card {
  background-color: var(--page-slot-games-jackpot-card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  height: 100%;
  color: var(--page-slot-games-jackpot-text-main);
}

.page-slot-games-jackpot__game-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-slot-games-jackpot__game-info {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-slot-games-jackpot__game-title {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--page-slot-games-jackpot-gold-color);
}

.page-slot-games-jackpot__game-title a {
  color: var(--page-slot-games-jackpot-gold-color);
  text-decoration: none;
}

.page-slot-games-jackpot__game-title a:hover {
  text-decoration: underline;
}

.page-slot-games-jackpot__game-description {
  font-size: 0.95em;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-slot-games-jackpot__responsible-gaming-section {
  background-color: var(--page-slot-games-jackpot-background);
  padding: 80px 20px;
}

.page-slot-games-jackpot__final-cta-section {
  background-color: var(--page-slot-games-jackpot-deep-red);
  padding: 80px 20px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-slot-games-jackpot__hero-content {
    margin-top: -80px;
    padding: 30px;
  }

  .page-slot-games-jackpot__content-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .page-slot-games-jackpot__content-grid--reverse {
    grid-template-columns: 1fr;
  }
  
  .page-slot-games-jackpot__image-wrapper {
    order: -1; /* Image first on mobile for reverse grid */
  }
}

@media (max-width: 768px) {
  .page-slot-games-jackpot__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

  .page-slot-games-jackpot__hero-content {
    margin-top: -60px;
    padding: 20px;
  }

  .page-slot-games-jackpot__main-title {
    font-size: 2em;
  }

  .page-slot-games-jackpot__section-title {
    font-size: 1.8em;
  }

  .page-slot-games-jackpot__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-slot-games-jackpot__btn-primary,
  .page-slot-games-jackpot__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-slot-games-jackpot__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-slot-games-jackpot__image,
  .page-slot-games-jackpot__hero-image,
  .page-slot-games-jackpot__game-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-slot-games-jackpot__image-wrapper,
  .page-slot-games-jackpot__hero-image-wrapper,
  .page-slot-games-jackpot__game-card,
  .page-slot-games-jackpot__container,
  .page-slot-games-jackpot__section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  
  .page-slot-games-jackpot__game-grid {
    grid-template-columns: 1fr;
  }

  .page-slot-games-jackpot__game-image {
    height: 180px; /* Adjust height for smaller screens */
  }
}

@media (max-width: 480px) {
  .page-slot-games-jackpot__hero-content {
    margin-top: -40px;
    padding: 15px;
  }

  .page-slot-games-jackpot__main-title {
    font-size: 1.8em;
  }

  .page-slot-games-jackpot__section-title {
    font-size: 1.6em;
  }

  .page-slot-games-jackpot__description {
    font-size: 1em;
  }
}