/* style/jackpot-games.css */

/* Variables for colors */
:root {
  --primary-color: #017439;
  --secondary-color: #FFFFFF;
  --register-btn-color: #C30808;
  --login-btn-color: #C30808;
  --register-login-font-color: #FFFF00;
  --background-white: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --border-light: #e0e0e0;
}

.page-jackpot-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark); /* Default text color for light backgrounds */
  background-color: var(--background-white); /* Assuming shared body background is light */
}

.page-jackpot-games__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-jackpot-games__section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem); 
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: var(--primary-color);
}

.page-jackpot-games__section-description {
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-dark);
}

/* --- Hero Section --- */
.page-jackpot-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  overflow: hidden;
  color: var(--text-light); /* For dark background */
  background-color: var(--primary-color); /* Fallback/example dark background */
}

.page-jackpot-games__hero-image-wrapper {
  width: 100%;
  max-height: 70vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

.page-jackpot-games__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px; /* Ensure minimum size */
}

.page-jackpot-games__hero-content {
  position: relative;
  z-index: 10; /* Ensure content is above image if any overlap */
  max-width: 900px;
  padding: 0 20px;
}

.page-jackpot-games__main-title {
  font-size: clamp(2.5rem, 6vw, 4rem); 
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--register-login-font-color); /* Specific font color for H1 as per custom colors */
}

.page-jackpot-games__hero-description {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: var(--secondary-color);
}

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

/* --- Buttons --- */
.page-jackpot-games__btn-primary,
.page-jackpot-games__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
  min-width: 200px; /* Ensure minimum button size */
}

.page-jackpot-games__btn-primary {
  background-color: var(--register-btn-color); /* Custom color for Register/Login */
  color: var(--register-login-font-color); /* Custom font color for Register/Login */
  border: 2px solid var(--register-btn-color);
}

.page-jackpot-games__btn-primary:hover {
  background-color: #a00606; /* Darker shade for hover */
  border-color: #a00606; /* Darker shade for hover */
}

.page-jackpot-games__btn-secondary {
  background-color: transparent;
  color: var(--register-login-font-color); /* Custom font color for Register/Login */
  border: 2px solid var(--register-login-font-color); /* Use font color for border for contrast */
}

.page-jackpot-games__btn-secondary:hover {
  background-color: var(--register-login-font-color); 
  color: var(--register-btn-color);
}

/* --- Intro Section --- */
.page-jackpot-games__intro-section {
  padding: 60px 0;
  background-color: var(--background-white); /* Light background */
  color: var(--text-dark);
}

.page-jackpot-games__intro-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
}

.page-jackpot-games__intro-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px; /* Ensure minimum size */
}

/* --- Advantages Section --- */
.page-jackpot-games__advantages-section {
  padding: 60px 0;
  background-color: var(--primary-color); /* Dark background */
  color: var(--text-light);
}

.page-jackpot-games__advantages-section .page-jackpot-games__section-title {
  color: var(--secondary-color);
}

.page-jackpot-games__advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-jackpot-games__advantage-item {
  text-align: center;
  padding: 30px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-jackpot-games__advantage-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
  min-width: 200px; /* Adjusted to meet minimum image size requirement */
  min-height: 200px; /* Adjusted to meet minimum image size requirement */
}

.page-jackpot-games__advantage-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--secondary-color);
}

.page-jackpot-games__advantage-item p {
  font-size: 1rem;
  color: var(--secondary-color);
}

/* --- Popular Games Section --- */
.page-jackpot-games__popular-games-section {
  padding: 60px 0;
  background-color: var(--background-white);
  color: var(--text-dark);
}

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

.page-jackpot-games__game-card {
  background-color: var(--secondary-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-jackpot-games__game-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px; /* Ensure minimum size */
}

.page-jackpot-games__game-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 20px 15px 10px;
  color: var(--primary-color);
}

.page-jackpot-games__game-title a {
  color: var(--primary-color);
  text-decoration: none;
}

.page-jackpot-games__game-title a:hover {
  text-decoration: underline;
}

.page-jackpot-games__game-description {
  font-size: 0.95rem;
  color: var(--text-dark);
  padding: 0 15px 20px;
  flex-grow: 1;
}

.page-jackpot-games__game-card .page-jackpot-games__btn-primary {
  margin: 0 15px 20px;
  width: calc(100% - 30px); /* Adjust width for padding */
  background-color: var(--primary-color);
  color: var(--secondary-color);
  border-color: var(--primary-color);
}

.page-jackpot-games__game-card .page-jackpot-games__btn-primary:hover {
  background-color: #005a2e; /* Darker shade for hover */
  border-color: #005a2e; /* Darker shade for hover */
}

/* --- Strategies Section --- */
.page-jackpot-games__strategies-section {
  padding: 60px 0;
  background-color: var(--primary-color); /* Dark background */
  color: var(--text-light);
}

.page-jackpot-games__strategies-section .page-jackpot-games__section-title {
  color: var(--secondary-color);
}

.page-jackpot-games__strategies-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

.page-jackpot-games__strategy-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px; /* Ensure minimum size */
}

.page-jackpot-games__strategy-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 20px;
}

.page-jackpot-games__strategy-item-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--register-login-font-color); /* Highlight with custom color */
  margin-bottom: 5px;
}

.page-jackpot-games__strategy-list p {
  color: var(--secondary-color);
}

/* --- Promotions Section --- */
.page-jackpot-games__promotions-section {
  padding: 60px 0;
  background-color: var(--background-white);
  color: var(--text-dark);
}

.page-jackpot-games__promo-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin: 40px auto;
  display: block;
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px; /* Ensure minimum size */
}

.page-jackpot-games__cta-wrapper {
  text-align: center;
  margin-top: 30px;
}

.page-jackpot-games__cta-wrapper .page-jackpot-games__btn-primary {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  border-color: var(--primary-color);
}

.page-jackpot-games__cta-wrapper .page-jackpot-games__btn-primary:hover {
  background-color: #005a2e; /* Darker shade for hover */
  border-color: #005a2e; /* Darker shade for hover */
}

/* --- Get Started Section --- */
.page-jackpot-games__get-started-section {
  padding: 60px 0;
  background-color: var(--primary-color); /* Dark background */
  color: var(--text-light);
}

.page-jackpot-games__get-started-section .page-jackpot-games__section-title {
  color: var(--secondary-color);
}

.page-jackpot-games__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-jackpot-games__step-item {
  text-align: center;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-jackpot-games__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--register-login-font-color); /* Highlight with custom color */
  color: var(--primary-color); /* Dark text on light highlight */
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.page-jackpot-games__step-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--secondary-color);
}

.page-jackpot-games__step-item p {
  color: var(--secondary-color);
}
}
}
}