/* style/games-lottery.css */
.page-games-lottery {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f8f9fa;
}

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

.page-games-lottery__hero-section {
  background: linear-gradient(135deg, #1A237E 0%, #303F9F 70%, #FFC107 100%);
  color: #fff;
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-games-lottery__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('[GALLERY:bg:abstract,lottery_pattern,subtle]') no-repeat center center/cover;
  opacity: 0.1;
  z-index: 0;
}

.page-games-lottery__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FFC107; /* Vàng phụ trợ cho tiêu đề nổi bật */
  position: relative;
  z-index: 1;
}

.page-games-lottery__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.page-games-lottery__hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  position: relative;
  z-index: 1;
}

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

.page-games-lottery__btn--primary {
  background-color: #FFC107;
  color: #1A237E;
  box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
}

.page-games-lottery__btn--primary:hover {
  background-color: #e0a800;
  transform: translateY(-3px);
}

.page-games-lottery__btn--secondary {
  background-color: transparent;
  color: #FFC107;
  border: 2px solid #FFC107;
}

.page-games-lottery__btn--secondary:hover {
  background-color: #FFC107;
  color: #1A237E;
  transform: translateY(-3px);
}

.page-games-lottery__btn--small {
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-games-lottery__btn--large {
  padding: 18px 40px;
  font-size: 1.2em;
}

.page-games-lottery__section {
  padding: 60px 0;
}

.page-games-lottery__section:nth-of-type(even) {
  background-color: #f0f2f5;
}

.page-games-lottery__section-title {
  font-size: 2.5em;
  color: #1A237E;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-games-lottery__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFC107;
  border-radius: 2px;
}

.page-games-lottery__intro p,
.page-games-lottery__guide p,
.page-games-lottery__responsible-gambling p {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-games-lottery__image-full {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-top: 30px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

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

.page-games-lottery__card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-games-lottery__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.page-games-lottery__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-games-lottery__card-title {
  font-size: 1.6em;
  color: #1A237E;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-games-lottery__card-description {
  font-size: 1em;
  color: #555;
  margin-bottom: 20px;
  flex-grow: 1;
}

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

.page-games-lottery__advantage-item {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease;
}

.page-games-lottery__advantage-item:hover {
  transform: translateY(-5px);
}

.page-games-lottery__advantage-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  filter: drop-shadow(0 5px 10px rgba(26, 35, 126, 0.2));
}

.page-games-lottery__advantage-title {
  font-size: 1.4em;
  color: #1A237E;
  margin-bottom: 10px;
}

.page-games-lottery__advantage-item p {
  color: #666;
  font-size: 0.95em;
}

.page-games-lottery__guide-list {
  list-style-type: none;
  padding-left: 0;
  margin-top: 30px;
}

.page-games-lottery__guide-list li {
  background-color: #fff;
  border-left: 5px solid #1A237E;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
  font-size: 1.1em;
}

.page-games-lottery__guide-list li strong {
  color: #1A237E;
  font-size: 1.1em;
}

.page-games-lottery__text-link {
  color: #1A237E;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-games-lottery__text-link:hover {
  color: #FFC107;
  text-decoration: underline;
}

.page-games-lottery__responsible-list {
  list-style-type: disc;
  padding-left: 25px;
  margin-top: 30px;
}

.page-games-lottery__responsible-list li {
  margin-bottom: 10px;
  font-size: 1.05em;
  color: #444;
}

.page-games-lottery__responsible-list li strong {
  color: #1A237E;
}

.page-games-lottery__faq-item {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  margin-bottom: 15px;
  overflow: hidden;
}

.page-games-lottery__faq-question {
  font-size: 1.3em;
  color: #1A237E;
  padding: 20px;
  margin: 0;
  cursor: pointer;
  background-color: #fcfcfc;
  border-bottom: 1px solid #eee;
  position: relative;
}

.page-games-lottery__faq-question::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-games-lottery__faq-question.active::after {
  content: '-';
  transform: translateY(-50%) rotate(180deg);
}

.page-games-lottery__faq-answer {
  padding: 0 20px 20px;
  margin: 0;
  font-size: 1.05em;
  color: #555;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-games-lottery__faq-answer.active {
  max-height: 200px; /* Adjust as needed */
  padding: 0 20px 20px;
}

.page-games-lottery__cta-bottom {
  background: linear-gradient(90deg, #1A237E, #303F9F);
  color: #fff;
  text-align: center;
  padding: 80px 0;
}

.page-games-lottery__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FFC107;
}

.page-games-lottery__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Floating Promotion Button */
.page-games-lottery__floating-promo {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  animation: page-games-lottery__pulse 2s infinite;
}

.page-games-lottery__floating-link {
  background-color: #FFC107;
  color: #1A237E;
  padding: 12px 20px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 5px 15px rgba(255, 193, 7, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-games-lottery__floating-link:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(255, 193, 7, 0.7);
}

.page-games-lottery__floating-icon {
  width: 30px;
  height: 30px;
}

@keyframes page-games-lottery__pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-games-lottery__hero-title {
    font-size: 2.8em;
  }
  .page-games-lottery__hero-description {
    font-size: 1.1em;
  }
  .page-games-lottery__section-title {
    font-size: 2em;
  }
  .page-games-lottery__grid,
  .page-games-lottery__advantage-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .page-games-lottery__cta-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-games-lottery__hero-section {
    padding: 80px 0;
  }
  .page-games-lottery__hero-title {
    font-size: 2.2em;
  }
  .page-games-lottery__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-games-lottery__btn {
    width: 80%;
    margin: 0 auto;
  }
  .page-games-lottery__section {
    padding: 40px 0;
  }
  .page-games-lottery__section-title {
    font-size: 1.8em;
  }
  .page-games-lottery__intro p,
  .page-games-lottery__guide p,
  .page-games-lottery__responsible-gambling p,
  .page-games-lottery__card-description,
  .page-games-lottery__advantage-item p,
  .page-games-lottery__responsible-list li,
  .page-games-lottery__faq-answer {
    font-size: 1em;
  }
  .page-games-lottery__floating-promo {
    bottom: 15px;
    right: 15px;
  }
  .page-games-lottery__floating-link {
    padding: 10px 15px;
    font-size: 1em;
  }
  .page-games-lottery__floating-icon {
    width: 25px;
    height: 25px;
  }
}

@media (max-width: 480px) {
  .page-games-lottery__hero-title {
    font-size: 1.8em;
  }
  .page-games-lottery__hero-description {
    font-size: 0.95em;
  }
  .page-games-lottery__btn {
    width: 90%;
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-games-lottery__section-title {
    font-size: 1.6em;
  }
  .page-games-lottery__card-title {
    font-size: 1.4em;
  }
  .page-games-lottery__advantage-title {
    font-size: 1.2em;
  }
  .page-games-lottery__faq-question {
    font-size: 1.1em;
  }
  .page-games-lottery__cta-title {
    font-size: 1.8em;
  }
  .page-games-lottery__cta-description {
    font-size: 1em;
  }
  .page-games-lottery__btn--large {
    padding: 15px 30px;
    font-size: 1.1em;
  }
}