/* style/lottery-high-frequency-games.css */

/* Base styles and container */
.page-lottery-high-frequency-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: var(--dark-bg-1);
  padding-top: 120px; /* Adjust for fixed header */
}

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

.page-lottery-high-frequency-games__section {
  padding: 60px 0;
  text-align: center;
}

.page-lottery-high-frequency-games__dark-bg {
  background-color: #333333;
  color: #ffffff;
}

.page-lottery-high-frequency-games__light-bg {
  background-color: #f8f9fa;
  color: #333333;
}

.page-lottery-high-frequency-games__section-title {
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 40px;
  color: #E44D26;
}

.page-lottery-high-frequency-games__text-block {
  font-size: 18px;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

.page-lottery-high-frequency-games__text-block a {
  color: #E44D26;
  text-decoration: underline;
}

.page-lottery-high-frequency-games__text-block a:hover {
  color: #ff6f4d;
}

/* Hero Section */
.page-lottery-high-frequency-games__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 0;
  background-color: #333333;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.page-lottery-high-frequency-games__hero-container {
  max-width: 900px;
  z-index: 1;
  position: relative;
}

.page-lottery-high-frequency-games__main-title {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 25px;
  line-height: 1.2;
  color: #E44D26;
}

.page-lottery-high-frequency-games__main-title a {
  color: #E44D26;
  text-decoration: none;
}

.page-lottery-high-frequency-games__main-title a:hover {
  text-decoration: underline;
}

.page-lottery-high-frequency-games__hero-description {
  font-size: 20px;
  margin-bottom: 40px;
  line-height: 1.7;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-lottery-high-frequency-games__hero-description a {
  color: #E44D26;
  text-decoration: underline;
}

.page-lottery-high-frequency-games__hero-description a:hover {
  color: #ff6f4d;
}

.page-lottery-high-frequency-games__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

.page-lottery-high-frequency-games__cta-button {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.page-lottery-high-frequency-games__btn-primary {
  background-color: #E44D26;
  color: #ffffff;
  border: 2px solid #E44D26;
}

.page-lottery-high-frequency-games__btn-primary:hover {
  background-color: #ff6f4d;
  border-color: #ff6f4d;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(228, 77, 38, 0.4);
}

.page-lottery-high-frequency-games__btn-secondary {
  background-color: transparent;
  color: #E44D26;
  border: 2px solid #E44D26;
}

.page-lottery-high-frequency-games__btn-secondary:hover {
  background-color: #E44D26;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(228, 77, 38, 0.4);
}

.page-lottery-high-frequency-games__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-lottery-high-frequency-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
  filter: grayscale(50%);
}

/* Why Win365 Section */
.page-lottery-high-frequency-games__why-win365-section {
  background-color: #f8f9fa;
  color: #333333;
}

.page-lottery-high-frequency-games__why-win365-section .page-lottery-high-frequency-games__section-title {
  color: #333333;
}

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

.page-lottery-high-frequency-games__card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: #333333;
}

.page-lottery-high-frequency-games__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.page-lottery-high-frequency-games__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-lottery-high-frequency-games__card-title {
  font-size: 24px;
  font-weight: 700;
  color: #E44D26;
  margin-bottom: 15px;
}

.page-lottery-high-frequency-games__card p {
  font-size: 16px;
  color: #555555;
  line-height: 1.7;
}

.page-lottery-high-frequency-games__card p a {
  color: #E44D26;
  text-decoration: underline;
}

.page-lottery-high-frequency-games__card p a:hover {
  color: #ff6f4d;
}

/* Games Section */
.page-lottery-high-frequency-games__games-section {
  background-color: var(--dark-bg-1);
  color: #ffffff;
}

.page-lottery-high-frequency-games__games-section .page-lottery-high-frequency-games__section-title {
  color: #E44D26;
}

.page-lottery-high-frequency-games__game-category {
  margin-bottom: 60px;
  text-align: left;
}

.page-lottery-high-frequency-games__game-title {
  font-size: 32px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 30px;
  border-bottom: 2px solid #E44D26;
  padding-bottom: 15px;
}

.page-lottery-high-frequency-games__game-content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-lottery-high-frequency-games__game-content-wrapper--reverse {
  flex-direction: row-reverse;
}

.page-lottery-high-frequency-games__game-image {
  flex: 1;
  max-width: 50%;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  object-fit: cover;
  height: auto;
}

.page-lottery-high-frequency-games__game-text {
  flex: 1;
  max-width: 50%;
}

.page-lottery-high-frequency-games__game-text p {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 15px;
  color: #f0f0f0;
}

.page-lottery-high-frequency-games__game-text p a {
  color: #E44D26;
  text-decoration: underline;
}

.page-lottery-high-frequency-games__game-text p a:hover {
  color: #ff6f4d;
}

.page-lottery-high-frequency-games__game-text ul {
  list-style: disc;
  margin-left: 25px;
  font-size: 16px;
  color: #f0f0f0;
}

.page-lottery-high-frequency-games__game-text ul li {
  margin-bottom: 8px;
}

/* Tips Section */
.page-lottery-high-frequency-games__tips-section {
  background-color: #333333;
  color: #ffffff;
}

.page-lottery-high-frequency-games__tips-section .page-lottery-high-frequency-games__section-title {
  color: #E44D26;
}

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

.page-lottery-high-frequency-games__tip-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  text-align: left;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: #ffffff;
  transition: background-color 0.3s ease;
}

.page-lottery-high-frequency-games__tip-item:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-lottery-high-frequency-games__tip-title {
  font-size: 24px;
  font-weight: 700;
  color: #E44D26;
  margin-bottom: 15px;
}

.page-lottery-high-frequency-games__tip-item p {
  font-size: 16px;
  color: #f0f0f0;
  line-height: 1.7;
}

.page-lottery-high-frequency-games__tip-item p a {
  color: #E44D26;
  text-decoration: underline;
}

.page-lottery-high-frequency-games__tip-item p a:hover {
  color: #ff6f4d;
}

/* Get Started Section */
.page-lottery-high-frequency-games__get-started-section {
  background-color: #f8f9fa;
  color: #333333;
}

.page-lottery-high-frequency-games__get-started-section .page-lottery-high-frequency-games__section-title {
  color: #333333;
}

.page-lottery-high-frequency-games__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-high-frequency-games__steps-list li {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: left;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: #333333;
}

.page-lottery-high-frequency-games__steps-list li h3 {
  font-size: 26px;
  font-weight: 700;
  color: #E44D26;
  margin-bottom: 15px;
}

.page-lottery-high-frequency-games__steps-list li p {
  font-size: 16px;
  color: #555555;
  line-height: 1.7;
  margin-bottom: 20px;
}

.page-lottery-high-frequency-games__steps-list li p a {
  color: #E44D26;
  text-decoration: underline;
}

.page-lottery-high-frequency-games__steps-list li p a:hover {
  color: #ff6f4d;
}

.page-lottery-high-frequency-games__steps-list li .page-lottery-high-frequency-games__btn-primary,
.page-lottery-high-frequency-games__steps-list li .page-lottery-high-frequency-games__btn-secondary {
  margin-top: auto;
  padding: 10px 25px;
  font-size: 18px;
}

/* Security Section */
.page-lottery-high-frequency-games__security-section {
  background-color: var(--dark-bg-1);
  color: #ffffff;
}

.page-lottery-high-frequency-games__security-section .page-lottery-high-frequency-games__section-title {
  color: #E44D26;
}

.page-lottery-high-frequency-games__security-content {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-lottery-high-frequency-games__security-image {
  flex: 1;
  max-width: 40%;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  object-fit: contain;
  height: auto;
}

.page-lottery-high-frequency-games__security-text {
  flex: 2;
  text-align: left;
}

.page-lottery-high-frequency-games__security-text p {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 15px;
  color: #f0f0f0;
}

.page-lottery-high-frequency-games__security-text p a {
  color: #E44D26;
  text-decoration: underline;
}

.page-lottery-high-frequency-games__security-text p a:hover {
  color: #ff6f4d;
}

/* FAQ Section */
.page-lottery-high-frequency-games__faq-section {
  background-color: #f8f9fa;
  color: #333333;
}

.page-lottery-high-frequency-games__faq-section .page-lottery-high-frequency-games__section-title {
  color: #333333;
}

.page-lottery-high-frequency-games__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
  text-align: left;
}

.page-lottery-high-frequency-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-lottery-high-frequency-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
  padding: 0 15px;
  opacity: 0;
}

.page-lottery-high-frequency-games__faq-item.active .page-lottery-high-frequency-games__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: #e0e0e0;
  border-radius: 0 0 5px 5px;
}

.page-lottery-high-frequency-games__faq-answer p {
  color: #333333;
  font-size: 16px;
  line-height: 1.7;
}

.page-lottery-high-frequency-games__faq-answer p a {
  color: #E44D26;
  text-decoration: underline;
}

.page-lottery-high-frequency-games__faq-answer p a:hover {
  color: #ff6f4d;
}

.page-lottery-high-frequency-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-lottery-high-frequency-games__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-lottery-high-frequency-games__faq-question:active {
  background: #eeeeee;
}

.page-lottery-high-frequency-games__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: #333333;
}

.page-lottery-high-frequency-games__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #666;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-lottery-high-frequency-games__faq-item.active .page-lottery-high-frequency-games__faq-toggle {
  color: #E44D26;
  transform: rotate(45deg);
}

/* Conclusion Section */
.page-lottery-high-frequency-games__conclusion-section {
  padding-bottom: 80px;
}

.page-lottery-high-frequency-games__conclusion-section .page-lottery-high-frequency-games__section-title {
  color: #E44D26;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-lottery-high-frequency-games__main-title {
    font-size: 40px;
  }
  .page-lottery-high-frequency-games__section-title {
    font-size: 32px;
  }
  .page-lottery-high-frequency-games__game-title {
    font-size: 28px;
  }
  .page-lottery-high-frequency-games__game-image {
    max-width: 45%;
  }
  .page-lottery-high-frequency-games__game-text {
    max-width: 55%;
  }
  .page-lottery-high-frequency-games__security-image {
    max-width: 35%;
  }
  .page-lottery-high-frequency-games__security-text {
    flex: 2.5;
  }
}

@media (max-width: 768px) {
  .page-lottery-high-frequency-games {
    padding-top: 100px !important; /* Adjust for mobile fixed header */
    font-size: 16px;
    line-height: 1.6;
  }
  .page-lottery-high-frequency-games__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-lottery-high-frequency-games__section {
    padding: 40px 0;
  }
  .page-lottery-high-frequency-games__main-title {
    font-size: 32px;
    margin-bottom: 20px;
  }
  .page-lottery-high-frequency-games__hero-description {
    font-size: 17px;
    margin-bottom: 30px;
  }
  .page-lottery-high-frequency-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-lottery-high-frequency-games__cta-button {
    width: 100%;
    padding: 12px 25px;
    font-size: 18px;
  }
  .page-lottery-high-frequency-games__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .page-lottery-high-frequency-games__text-block {
    font-size: 16px;
  }
  .page-lottery-high-frequency-games__grid,
  .page-lottery-high-frequency-games__tips-grid,
  .page-lottery-high-frequency-games__steps-list {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .page-lottery-high-frequency-games__card,
  .page-lottery-high-frequency-games__tip-item,
  .page-lottery-high-frequency-games__steps-list li {
    padding: 25px;
  }
  .page-lottery-high-frequency-games__card-title,
  .page-lottery-high-frequency-games__tip-title,
  .page-lottery-high-frequency-games__steps-list li h3 {
    font-size: 22px;
  }
  .page-lottery-high-frequency-games__game-title {
    font-size: 24px;
    margin-bottom: 20px;
  }
  .page-lottery-high-frequency-games__game-content-wrapper,
  .page-lottery-high-frequency-games__game-content-wrapper--reverse {
    flex-direction: column;
    gap: 25px;
  }
  .page-lottery-high-frequency-games__game-image,
  .page-lottery-high-frequency-games__game-text {
    max-width: 100%;
    flex: none;
  }
  .page-lottery-high-frequency-games__game-image {
    height: 250px;
  }
  .page-lottery-high-frequency-games__security-content {
    flex-direction: column;
    gap: 30px;
  }
  .page-lottery-high-frequency-games__security-image {
    max-width: 80%;
    flex: none;
  }
  .page-lottery-high-frequency-games__security-text {
    text-align: center;
  }
  .page-lottery-high-frequency-games__faq-question {
    padding: 15px;
  }
  .page-lottery-high-frequency-games__faq-question h3 {
    font-size: 16px;
  }
  .page-lottery-high-frequency-games__faq-toggle {
    font-size: 24px;
    width: 24px;
    height: 24px;
  }
  .page-lottery-high-frequency-games__faq-item.active .page-lottery-high-frequency-games__faq-answer {
    padding: 15px !important;
  }
  /* All images must be responsive */
  .page-lottery-high-frequency-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 480px) {
  .page-lottery-high-frequency-games__main-title {
    font-size: 28px;
  }
  .page-lottery-high-frequency-games__section-title {
    font-size: 24px;
  }
  .page-lottery-high-frequency-games__hero-description {
    font-size: 16px;
  }
  .page-lottery-high-frequency-games__cta-button {
    font-size: 16px;
  }
  .page-lottery-high-frequency-games__card-title,
  .page-lottery-high-frequency-games__tip-title,
  .page-lottery-high-frequency-games__steps-list li h3 {
    font-size: 20px;
  }
  .page-lottery-high-frequency-games__game-title {
    font-size: 22px;
  }
}