/* style/game-introduction-lottery-rules.css */

/* Variables for consistency */
:root {
  --primary-color: #1A237E;
  --secondary-color: #FFC107;
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f4f7f6;
  --background-dark: #10154e;
  --border-color: #e0e0e0;
}

.page-game-introduction-lottery-rules {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--background-light);
}

.page-game-introduction-lottery-rules__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-game-introduction-lottery-rules__hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, #3f4a9b 100%); /* Darker gradient for primary color */
  color: var(--text-light);
  padding: 80px 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  min-height: 450px;
}

.page-game-introduction-lottery-rules__hero-content {
  z-index: 1;
  max-width: 900px;
}

.page-game-introduction-lottery-rules__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--text-light);
}

.page-game-introduction-lottery-rules__hero-subtitle {
  font-size: 1.3em;
  margin-bottom: 30px;
  opacity: 0.9;
}

.page-game-introduction-lottery-rules__hero-image-wrapper {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50%;
  height: 100%;
  opacity: 0.15;
  overflow: hidden;
}

.page-game-introduction-lottery-rules__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.page-game-introduction-lottery-rules__cta-button {
  display: inline-block;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
}

.page-game-introduction-lottery-rules__cta-button:hover {
  background-color: #e6b000; /* Slightly darker amber */
  transform: translateY(-3px);
}

.page-game-introduction-lottery-rules__cta-button--inline {
  margin-top: 30px;
}

.page-game-introduction-lottery-rules__cta-button--large {
  padding: 20px 40px;
  font-size: 1.3em;
  margin-top: 40px;
}

.page-game-introduction-lottery-rules__section {
  padding: 60px 0;
  background-color: var(--background-light);
}

.page-game-introduction-lottery-rules__section:nth-of-type(even) {
  background-color: #ffffff;
}

.page-game-introduction-lottery-rules__section-title {
  font-size: 2.5em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-game-introduction-lottery-rules__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
  border-radius: 2px;
}

.page-game-introduction-lottery-rules__description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: -20px auto 50px auto;
  color: #555;
}

.page-game-introduction-lottery-rules__why-choose .page-game-introduction-lottery-rules__features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-game-introduction-lottery-rules__feature-item {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 5px solid var(--secondary-color);
}

.page-game-introduction-lottery-rules__feature-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-game-introduction-lottery-rules__feature-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 20px;
  filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.1));
}

.page-game-introduction-lottery-rules__feature-title {
  font-size: 1.6em;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-game-introduction-lottery-rules__feature-item p {
  font-size: 1em;
  color: #666;
}

.page-game-introduction-lottery-rules__game-types .page-game-introduction-lottery-rules__accordion {
  margin-top: 40px;
}

.page-game-introduction-lottery-rules__accordion-item {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-game-introduction-lottery-rules__accordion-header {
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 20px 25px;
  font-size: 1.5em;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.page-game-introduction-lottery-rules__accordion-header:hover {
  background-color: #2b3592; /* Slightly lighter primary */
}

.page-game-introduction-lottery-rules__accordion-header::after {
  content: '+';
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-game-introduction-lottery-rules__accordion-header.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-game-introduction-lottery-rules__accordion-content {
  padding: 20px 25px;
  background-color: #fcfcfc;
  border-top: 1px solid var(--border-color);
  display: none;
  overflow: hidden;
}

.page-game-introduction-lottery-rules__accordion-content p {
  margin-bottom: 15px;
  color: #444;
}

.page-game-introduction-lottery-rules__accordion-content h4 {
  font-size: 1.3em;
  color: var(--primary-color);
  margin-top: 20px;
  margin-bottom: 10px;
}

.page-game-introduction-lottery-rules__accordion-content ul {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 15px;
}

.page-game-introduction-lottery-rules__accordion-content li {
  margin-bottom: 8px;
  color: #555;
}

.page-game-introduction-lottery-rules__how-to-play .page-game-introduction-lottery-rules__steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-game-introduction-lottery-rules__step-item {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
  border-bottom: 5px solid var(--primary-color);
}

.page-game-introduction-lottery-rules__step-number {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  font-weight: bold;
  margin: 0 auto 20px auto;
  box-shadow: 0 4px 10px rgba(255, 193, 7, 0.4);
}

.page-game-introduction-lottery-rules__step-title {
  font-size: 1.8em;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-game-introduction-lottery-rules__step-item p {
  color: #666;
  margin-bottom: 20px;
}

.page-game-introduction-lottery-rules__step-cta {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 10px 20px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: background-color 0.3s ease;
}

.page-game-introduction-lottery-rules__step-cta:hover {
  background-color: #2b3592;
}

.page-game-introduction-lottery-rules__step-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-game-introduction-lottery-rules__tips .page-game-introduction-lottery-rules__tip-list {
  list-style-type: none;
  padding: 0;
  max-width: 900px;
  margin: 40px auto;
}

.page-game-introduction-lottery-rules__tip-list li {
  background-color: #ffffff;
  padding: 20px 25px;
  margin-bottom: 15px;
  border-left: 5px solid var(--secondary-color);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  font-size: 1.1em;
  color: #444;
}

.page-game-introduction-lottery-rules__tip-list li strong {
  color: var(--primary-color);
}

.page-game-introduction-lottery-rules__tips-image {
  max-width: 80%;
  height: auto;
  display: block;
  margin: 50px auto 0 auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-game-introduction-lottery-rules__faq-list {
  margin-top: 40px;
}

.page-game-introduction-lottery-rules__faq-item {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-game-introduction-lottery-rules__faq-question {
  font-size: 1.4em;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-game-introduction-lottery-rules__faq-answer {
  color: #555;
}

.page-game-introduction-lottery-rules__conclusion {
  background-color: var(--primary-color);
  color: var(--text-light);
  text-align: center;
  padding: 80px 0;
}

.page-game-introduction-lottery-rules__conclusion .page-game-introduction-lottery-rules__section-title {
  color: var(--text-light);
}

.page-game-introduction-lottery-rules__conclusion .page-game-introduction-lottery-rules__section-title::after {
  background-color: var(--secondary-color);
}

.page-game-introduction-lottery-rules__conclusion .page-game-introduction-lottery-rules__description {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
}

.page-game-introduction-lottery-rules__contact-info {
  margin-top: 30px;
  font-size: 1.1em;
  color: rgba(255, 255, 255, 0.8);
}

.page-game-introduction-lottery-rules__contact-info a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-game-introduction-lottery-rules__contact-info a:hover {
  text-decoration: underline;
}

.page-game-introduction-lottery-rules .highlight {
  color: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-game-introduction-lottery-rules__hero-title {
    font-size: 2.5em;
  }
  .page-game-introduction-lottery-rules__hero-subtitle {
    font-size: 1.1em;
  }
  .page-game-introduction-lottery-rules__section-title {
    font-size: 2em;
  }
  .page-game-introduction-lottery-rules__why-choose .page-game-introduction-lottery-rules__features,
  .page-game-introduction-lottery-rules__how-to-play .page-game-introduction-lottery-rules__steps {
    grid-template-columns: 1fr;
  }
  .page-game-introduction-lottery-rules__hero-image-wrapper {
    width: 100%;
    height: 150px;
    bottom: 0;
    opacity: 0.1;
  }
}

@media (max-width: 768px) {
  .page-game-introduction-lottery-rules__hero {
    padding: 60px 0;
  }
  .page-game-introduction-lottery-rules__hero-title {
    font-size: 2em;
  }
  .page-game-introduction-lottery-rules__hero-subtitle {
    font-size: 1em;
  }
  .page-game-introduction-lottery-rules__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-game-introduction-lottery-rules__section {
    padding: 40px 0;
  }
  .page-game-introduction-lottery-rules__section-title {
    font-size: 1.8em;
  }
  .page-game-introduction-lottery-rules__description {
    font-size: 0.95em;
  }
  .page-game-introduction-lottery-rules__accordion-header {
    font-size: 1.2em;
    padding: 15px 20px;
  }
  .page-game-introduction-lottery-rules__accordion-content {
    padding: 15px 20px;
  }
  .page-game-introduction-lottery-rules__step-title {
    font-size: 1.5em;
  }
  .page-game-introduction-lottery-rules__faq-question {
    font-size: 1.2em;
  }
  .page-game-introduction-lottery-rules__tips-image {
    max-width: 95%;
  }
}

@media (max-width: 480px) {
  .page-game-introduction-lottery-rules__hero-title {
    font-size: 1.8em;
  }
  .page-game-introduction-lottery-rules__hero-subtitle {
    font-size: 0.9em;
  }
  .page-game-introduction-lottery-rules__cta-button--large {
    padding: 15px 30px;
    font-size: 1.1em;
  }
  .page-game-introduction-lottery-rules__section-title {
    font-size: 1.5em;
  }
  .page-game-introduction-lottery-rules__step-number {
    width: 50px;
    height: 50px;
    font-size: 1.8em;
  }
}