/* style/lottery.css */

:root {
  --primary-color: #26A9E0;
  --secondary-color: #EA7C07;
  --light-text-color: #FFFFFF;
  --dark-text-color: #333333;
  --background-light: #FFFFFF;
  --background-dark: #26A9E0;
  --border-color: #e0e0e0;
}

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

.page-lottery__section {
  padding: 60px 0;
  text-align: center;
}

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

.page-lottery__section-title {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.page-lottery__paragraph {
  font-size: 18px;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-lottery__highlight-text {
  color: var(--primary-color);
  font-weight: bold;
}

.page-lottery__text-center {
  text-align: center;
}

.page-lottery__text-link {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-lottery__text-link:hover {
  text-decoration: underline;
}

/* Color Contrast Adjustments */
.page-lottery__dark-bg {
  background-color: var(--background-dark);
  color: var(--light-text-color);
}

.page-lottery__light-bg {
  background-color: var(--background-light);
  color: var(--dark-text-color);
}

.page-lottery__light-text {
  color: var(--light-text-color);
}

.page-lottery__dark-text {
  color: var(--dark-text-color);
}

/* Hero Section */
.page-lottery__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px);
  background: linear-gradient(135deg, #26A9E0, #1a7fb0);
}

.page-lottery__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-lottery__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-lottery__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-lottery__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-lottery__hero-content h1 {
  font-size: 48px;
  margin-bottom: 20px;
  color: var(--light-text-color);
}

.page-lottery__hero-content .page-lottery__intro-text {
  font-size: 20px;
  margin-bottom: 30px;
  color: var(--light-text-color);
}

.page-lottery__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%; /* Button responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-lottery__btn-primary {
  background: var(--secondary-color);
  color: var(--light-text-color);
}

.page-lottery__btn-primary:hover {
  background: #d46800;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-lottery__btn-secondary {
  background: var(--primary-color);
  color: var(--light-text-color);
  border: 1px solid var(--light-text-color);
}

.page-lottery__btn-secondary:hover {
  background: #1a7fb0;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Section: Introduction */
.page-lottery__introduction .page-lottery__section-title {
  color: var(--primary-color);
}

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

.page-lottery__feature-item {
  background: var(--background-light);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-lottery__feature-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-lottery__feature-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-lottery__feature-description {
  font-size: 16px;
  color: var(--dark-text-color);
}

/* Section: Game Types */
.page-lottery__game-types .page-lottery__section-title {
  color: var(--light-text-color);
}

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

.page-lottery__game-card {
  background: var(--background-light);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: left;
}

.page-lottery__game-card img {
  width: 100%;
  
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

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

.page-lottery__card-description {
  font-size: 15px;
  color: var(--dark-text-color);
}

/* Section: How to Play */
.page-lottery__how-to-play .page-lottery__section-title {
  color: var(--primary-color);
}

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

.page-lottery__step-item {
  background: var(--background-light);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: left;
  border-left: 5px solid var(--primary-color);
}

.page-lottery__step-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-lottery__step-description {
  font-size: 16px;
  color: var(--dark-text-color);
  margin-bottom: 15px;
}

/* Section: Tips and Strategies */
.page-lottery__tips-strategies .page-lottery__section-title {
  color: var(--light-text-color);
}

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

.page-lottery__grid-3-col .page-lottery__card {
  text-align: left;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-lottery__grid-3-col .page-lottery__card img {
  width: 100%;
  
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

/* Section: Promotions */
.page-lottery__promotions .page-lottery__section-title {
  color: var(--primary-color);
}

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

.page-lottery__promo-card {
  background: var(--background-light);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: left;
}

.page-lottery__promo-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.page-lottery__promo-content {
  padding: 25px;
}