/* style/lottery-how-to-play.css */

.page-lottery-how-to-play {
  font-family: 'Arial', sans-serif;
  color: #f0f0f0; /* Light text for dark background */
  background-color: #1a1a1a; /* Dark background */
}

.page-lottery-how-to-play__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-lottery-how-to-play__hero {
  background: linear-gradient(135deg, #CC0000 0%, #a30000 100%); /* Main color gradient */
  padding: 100px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.page-lottery-how-to-play__hero-content {
  flex: 1;
  max-width: 600px;
  z-index: 1;
}

.page-lottery-how-to-play__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFD700; /* Auxiliary color for title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-lottery-how-to-play__hero-subtitle {
  font-size: 1.3em;
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-lottery-how-to-play__hero-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 0;
  max-width: 500px;
}

.page-lottery-how-to-play__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-lottery-how-to-play__section {
  padding: 60px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.page-lottery-how-to-play__section:last-of-type {
  border-bottom: none;
}

.page-lottery-how-to-play__section-title {
  font-size: 2.8em;
  color: #FFD700; /* Auxiliary color for section titles */
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-lottery-how-to-play__introduction p,
.page-lottery-how-to-play__how-to-play p,
.page-lottery-how-to-play__tips p,
.page-lottery-how-to-play__responsible-gaming p {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: justify;
  color: #cccccc;
}

.page-lottery-how-to-play__introduction .page-lottery-how-to-play__btn {
  margin-top: 20px;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.page-lottery-how-to-play__link {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
}

.page-lottery-how-to-play__link:hover {
  text-decoration: underline;
  color: #fff;
}

.page-lottery-how-to-play__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
}

.page-lottery-how-to-play__btn--primary {
  background-color: #FFD700; /* Auxiliary color for primary button */
  color: #333; /* Dark text for light button */
  border: none;
}

.page-lottery-how-to-play__btn--primary:hover {
  background-color: #e6c200;
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
  transform: translateY(-2px);
}

.page-lottery-how-to-play__btn--secondary {
  background-color: transparent;
  color: #FFD700; /* Auxiliary color for secondary button text */
  border: 2px solid #FFD700;
}

.page-lottery-how-to-play__btn--secondary:hover {
  background-color: #FFD700;
  color: #333;
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
  transform: translateY(-2px);
}

.page-lottery-how-to-play__btn--small {
  padding: 10px 20px;
  font-size: 0.95em;
  border-radius: 6px;
}

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

.page-lottery-how-to-play__game-card {
  background-color: #2a2a2a;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-lottery-how-to-play__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-lottery-how-to-play__game-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
}

.page-lottery-how-to-play__game-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-lottery-how-to-play__game-card p {
  font-size: 1em;
  line-height: 1.6;
  color: #ccc;
  margin-bottom: 15px;
}

.page-lottery-how-to-play__list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  text-align: left;
  color: #ccc;
}

.page-lottery-how-to-play__list li {
  margin-bottom: 8px;
  padding-left: 25px;
  position: relative;
  font-size: 1em;
}

.page-lottery-how-to-play__list--checkmarks li:before {
  content: '✔';
  color: #FFD700;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-lottery-how-to-play__list--dots li:before {
  content: '•';
  color: #FFD700;
  position: absolute;
  left: 0;
  font-weight: bold;
  font-size: 1.2em;
  top: -2px;
}

.page-lottery-how-to-play__step-by-step {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-lottery-how-to-play__step-card {
  background-color: #2a2a2a;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(204, 0, 0, 0.2);
  text-align: center;
}

.page-lottery-how-to-play__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: #CC0000; /* Main color */
  color: #fff;
  border-radius: 50%;
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 0 15px rgba(204, 0, 0, 0.6);
}

.page-lottery-how-to-play__step-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-lottery-how-to-play__step-card p {
  font-size: 1em;
  line-height: 1.6;
  color: #ccc;
  margin-bottom: 20px;
}

.page-lottery-how-to-play__step-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.page-lottery-how-to-play__image--full-width {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-top: 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-lottery-how-to-play__accordion {
  margin-top: 40px;
}

.page-lottery-how-to-play__accordion-item {
  background-color: #2a2a2a;
  border: 1px solid rgba(255, 215, 0, 0.1);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
}

.page-lottery-how-to-play__accordion-header {
  background-color: #333;
  color: #FFD700;
  padding: 18px 25px;
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.page-lottery-how-to-play__accordion-header:hover {
  background-color: #444;
}

.page-lottery-how-to-play__accordion-header::after {
  content: '+';
  font-size: 1.5em;
  color: #CC0000;
  transition: transform 0.3s ease;
}

.page-lottery-how-to-play__accordion-header.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-lottery-how-to-play__accordion-content {
  padding: 0 25px;
  background-color: #2a2a2a;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-lottery-how-to-play__accordion-content.open {
  max-height: 300px; /* Adjust as needed */
  padding: 15px 25px 25px;
}

.page-lottery-how-to-play__accordion-content p {
  margin-bottom: 15px;
  color: #ccc;
}

.page-lottery-how-to-play__cta-bottom {
  background: linear-gradient(90deg, #CC0000, #FFD700);
  padding: 80px 0;
  text-align: center;
  color: #333;
}

.page-lottery-how-to-play__cta-title {
  font-size: 3em;
  color: #1a1a1a;
  margin-bottom: 20px;
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.3);
}

.page-lottery-how-to-play__cta-text {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #444;
}

.page-lottery-how-to-play__cta-buttons .page-lottery-how-to-play__btn {
  margin: 0 15px;
  background-color: #1a1a1a; /* Dark button for light CTA background */
  color: #FFD700;
  border: 2px solid #1a1a1a;
}

.page-lottery-how-to-play__cta-buttons .page-lottery-how-to-play__btn:hover {
  background-color: #333;
  color: #FFD700;
  border-color: #333;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-lottery-how-to-play__hero {
    flex-direction: column;
    text-align: center;
    padding: 80px 20px;
  }

  .page-lottery-how-to-play__hero-content {
    max-width: 100%;
  }

  .page-lottery-how-to-play__hero-title {
    font-size: 2.8em;
  }

  .page-lottery-how-to-play__hero-subtitle {
    font-size: 1.1em;
  }

  .page-lottery-how-to-play__hero-image-wrapper {
    margin-top: 40px;
  }

  .page-lottery-how-to-play__section-title {
    font-size: 2.2em;
  }

  .page-lottery-how-to-play__game-grid,
  .page-lottery-how-to-play__step-by-step {
    grid-template-columns: 1fr;
  }

  .page-lottery-how-to-play__cta-title {
    font-size: 2.5em;
  }

  .page-lottery-how-to-play__cta-text {
    font-size: 1.1em;
  }

  .page-lottery-how-to-play__cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .page-lottery-how-to-play__cta-buttons .page-lottery-how-to-play__btn {
    margin: 0;
    width: 100%;
  }
}

@media (max-width: 576px) {
  .page-lottery-how-to-play__hero-title {
    font-size: 2.2em;
  }

  .page-lottery-how-to-play__hero-subtitle {
    font-size: 1em;
  }

  .page-lottery-how-to-play__section-title {
    font-size: 1.8em;
  }

  .page-lottery-how-to-play__btn {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-lottery-how-to-play__game-title {
    font-size: 1.5em;
  }

  .page-lottery-how-to-play__step-title {
    font-size: 1.4em;
  }

  .page-lottery-how-to-play__accordion-header {
    font-size: 1em;
    padding: 15px 20px;
  }

  .page-lottery-how-to-play__accordion-content {
    padding: 0 20px;
  }

  .page-lottery-how-to-play__accordion-content.open {
    padding: 10px 20px 20px;
  }

  .page-lottery-how-to-play__cta-title {
    font-size: 2em;
  }
}