/* style/jackpot-games.css */
:root {
  --primary-color: #FFD700;
  --secondary-color: #8B0000;
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark: #121212;
  --bg-light: #f5f5f5;
  --border-color: #333333;
}

.page-jackpot-games {
  font-family: 'Arial', sans-serif;
  color: var(--text-light); /* Default text color for dark body background */
  background-color: var(--bg-dark); /* Inherits from body */
  line-height: 1.6;
}

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

.page-jackpot-games__section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-jackpot-games__text-block {
  font-size: 18px;
  line-height: 1.8;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px auto;
  color: var(--text-light);
}

.page-jackpot-games__dark-bg {
  background-color: #222222;
  color: var(--text-light);
  padding: 60px 0;
}

.page-jackpot-games__light-bg {
  background-color: var(--bg-light);
  color: var(--text-dark);
  padding: 60px 0;
}

.page-jackpot-games__light-bg .page-jackpot-games__section-title {
  color: var(--secondary-color);
}

.page-jackpot-games__light-bg .page-jackpot-games__text-block {
  color: var(--text-dark);
}

.page-jackpot-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: var(--header-offset, 120px);
  padding-bottom: 60px;
  background: linear-gradient(135deg, #1a1a1a, #333333);
  overflow: hidden;
}

.page-jackpot-games__hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.page-jackpot-games__hero-title {
  font-size: 52px;
  font-weight: 900;
  color: var(--primary-color);
  margin-bottom: 20px;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
  line-height: 1.2;
}

.page-jackpot-games__hero-description {
  font-size: 20px;
  color: var(--text-light);
  margin-bottom: 40px;
  line-height: 1.7;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.page-jackpot-games__hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-jackpot-games__hero-image-container {
  width: 100%;
  max-width: 1000px;
  margin-top: 30px;
  position: relative;
  z-index: 1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

.page-jackpot-games__btn-primary,
.page-jackpot-games__btn-secondary,
.page-jackpot-games__btn-tertiary {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  white-space: nowrap; /* Prevent text wrapping initially for desktop */
}

.page-jackpot-games__btn-primary {
  background: var(--primary-color);
  color: var(--text-dark);
  border: 2px solid var(--primary-color);
}

.page-jackpot-games__btn-primary:hover {
  background: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-jackpot-games__btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-jackpot-games__btn-secondary:hover {
  background: var(--primary-color);
  color: var(--text-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-jackpot-games__btn-tertiary {
  background: var(--secondary-color);
  color: var(--text-light);
  border: 2px solid var(--secondary-color);
  padding: 10px 25px;
  font-size: 16px;
}

.page-jackpot-games__btn-tertiary:hover {
  background: #a30000;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

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

.page-jackpot-games__feature-item {
  background-color: #333333;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-jackpot-games__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

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

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

.page-jackpot-games__feature-description {
  font-size: 16px;
  color: #cccccc;
}

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

.page-jackpot-games__game-category-card {
  background-color: #2a2a2a;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.page-jackpot-games__game-category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-jackpot-games__game-category-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-jackpot-games__game-category-title {
  font-size: 24px;
  color: var(--primary-color);
  margin: 20px 15px 10px 15px;
}

.page-jackpot-games__game-category-description {
  font-size: 16px;
  color: #cccccc;
  padding: 0 15px 20px 15px;
  flex-grow: 1;
}

.page-jackpot-games__game-category-card .page-jackpot-games__btn-tertiary {
  margin: 0 15px 20px 15px;
  align-self: center;
  width: calc(100% - 30px);
}

.page-jackpot-games__instruction-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 40px auto 0 auto;
}

.page-jackpot-games__instruction-item {
  background-color: #333333;
  border-radius: 8px;
  margin-bottom: 20px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border-left: 5px solid var(--primary-color);
}

.page-jackpot-games__instruction-item a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-jackpot-games__instruction-item a:hover {
  text-decoration: underline;
}

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

.page-jackpot-games__instruction-item p {
  font-size: 16px;
  color: #cccccc;
  margin: 0;
  text-align: left;
}

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

.page-jackpot-games__tips-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.page-jackpot-games__tips-item {
  background-color: #2a2a2a;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border-bottom: 3px solid var(--secondary-color);
}

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

.page-jackpot-games__tips-item p {
  font-size: 16px;
  color: #cccccc;
  margin: 0;
}

.page-jackpot-games__tips-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 50px auto 0 auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  max-width: 900px;
}

.page-jackpot-games__promotions-section {
  padding: 60px 0;
}

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

.page-jackpot-games__promo-card {
  background-color: #333333;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.page-jackpot-games__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-jackpot-games__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-jackpot-games__promo-title {
  font-size: 24px;
  color: var(--primary-color);
  margin: 20px 15px 10px 15px;
}

.page-jackpot-games__promo-description {
  font-size: 16px;
  color: #cccccc;
  padding: 0 15px 20px 15px;
  flex-grow: 1;
}

.page-jackpot-games__promo-card .page-jackpot-games__btn-primary {
  margin: 0 15px 20px 15px;
  align-self: center;
  width: calc(100% - 30px);
}

.page-jackpot-games__security-section {
  background-color: var(--bg-dark);
  padding: 60px 0;
}

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

.page-jackpot-games__security-item {
  background-color: #2a2a2a;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #444;
}

.page-jackpot-games__security-icon {
  width: 100%;
  max-width: 150px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 50%;
  object-fit: cover;
}

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

.page-jackpot-games__security-item p {
  font-size: 16px;
  color: #cccccc;
}

.page-jackpot-games__cta-final-section {
  background: linear-gradient(135deg, var(--secondary-color), #a30000);
  padding: 80px 0;
  text-align: center;
}

.page-jackpot-games__cta-final-content {
  max-width: 900px;
}

.page-jackpot-games__cta-final-title {
  font-size: 42px;
  font-weight: 800;
  color: var(--text-light);
  margin-bottom: 25px;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6);
}

.page-jackpot-games__cta-final-description {
  font-size: 20px;
  color: var(--text-light);
  margin-bottom: 40px;
  line-height: 1.7;
}

.page-jackpot-games__cta-final-description a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-jackpot-games__cta-final-description a:hover {
  text-decoration: underline;
}

.page-jackpot-games__cta-final-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-jackpot-games__hero-title {
    font-size: 44px;
  }
  .page-jackpot-games__hero-description {
    font-size: 18px;
  }
  .page-jackpot-games__section-title {
    font-size: 32px;
  }
  .page-jackpot-games__text-block {
    font-size: 17px;
  }
  .page-jackpot-games__cta-final-title {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  .page-jackpot-games {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-jackpot-games__container {
    padding: 30px 15px;
  }
  .page-jackpot-games__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-jackpot-games__hero-content {
    padding: 0 10px;
  }
  .page-jackpot-games__hero-title {
    font-size: 32px;
    margin-bottom: 15px;
  }
  .page-jackpot-games__hero-description {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .page-jackpot-games__hero-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }
  .page-jackpot-games__btn-primary,
  .page-jackpot-games__btn-secondary,
  .page-jackpot-games__btn-tertiary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 25px;
    font-size: 16px;
  }
  .page-jackpot-games__hero-image-container {
    margin-top: 20px;
    border-radius: 8px;
  }
  .page-jackpot-games__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-jackpot-games__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .page-jackpot-games__text-block {
    font-size: 16px;
    margin-bottom: 20px;
  }
  .page-jackpot-games__feature-grid, 
  .page-jackpot-games__game-category-grid, 
  .page-jackpot-games__promo-cards, 
  .page-jackpot-games__security-features {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-jackpot-games__feature-item,
  .page-jackpot-games__game-category-card,
  .page-jackpot-games__promo-card,
  .page-jackpot-games__security-item {
    padding: 20px;
  }
  .page-jackpot-games__feature-icon,
  .page-jackpot-games__game-category-image,
  .page-jackpot-games__promo-image,
  .page-jackpot-games__security-icon {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-jackpot-games__feature-title,
  .page-jackpot-games__game-category-title,
  .page-jackpot-games__promo-title,
  .page-jackpot-games__security-title {
    font-size: 20px;
  }
  .page-jackpot-games__instruction-item {
    padding: 20px;
  }
  .page-jackpot-games__instruction-title {
    font-size: 18px;
  }
  .page-jackpot-games__tips-list {
    gap: 15px;
  }
  .page-jackpot-games__tips-title {
    font-size: 18px;
  }
  .page-jackpot-games__tips-image {
    margin-top: 30px;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-jackpot-games__cta-final-section {
    padding: 60px 15px;
  }
  .page-jackpot-games__cta-final-title {
    font-size: 28px;
  }
  .page-jackpot-games__cta-final-description {
    font-size: 16px;
  }
  .page-jackpot-games__cta-final-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }
  .page-jackpot-games__dark-bg, .page-jackpot-games__light-bg {
    padding: 40px 0;
  }
}