/* style/index-latest-promotions.css */
:root {
  --primary-color: #0A2463;
  --secondary-color: #FFD700;
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f4f7f6;
  --background-dark: #0A2463;
  --border-color: #e0e0e0;
}

.page-index-latest-promotions {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--background-light);
}

.page-index-latest-promotions .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-index-latest-promotions section {
  padding: 60px 0;
  margin-bottom: 20px;
}

.page-index-latest-promotions section:nth-of-type(odd) {
  background-color: #ffffff;
}

.page-index-latest-promotions h1,
.page-index-latest-promotions h2,
.page-index-latest-promotions h3 {
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-index-latest-promotions h1 {
  font-size: 2.8em;
  color: var(--text-light);
}

.page-index-latest-promotions h2 {
  font-size: 2.2em;
  color: var(--primary-color);
}

.page-index-latest-promotions h3 {
  font-size: 1.6em;
  color: var(--primary-color);
}

.page-index-latest-promotions p {
  text-align: center;
  margin-bottom: 20px;
  font-size: 1.1em;
  color: var(--text-dark);
}

.page-index-latest-promotions .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.2em;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  border: 2px solid var(--secondary-color);
}

.page-index-latest-promotions .cta-button:hover {
  background: var(--primary-color);
  color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-index-latest-promotions .btn-small {
  display: inline-block;
  padding: 10px 20px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.9em;
  font-weight: bold;
  margin-top: 15px;
  transition: all 0.3s ease;
  border: 1px solid var(--secondary-color);
}

.page-index-latest-promotions .btn-small:hover {
  background: var(--primary-color);
  color: var(--secondary-color);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* HERO Section */
.page-index-latest-promotions .hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, var(--primary-color), #1A3A7A);
  overflow: hidden;
}

.page-index-latest-promotions .hero-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.page-index-latest-promotions .hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-index-latest-promotions .hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-index-latest-promotions .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 20px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  margin-top: -80px; /* Overlap image slightly */
}

.page-index-latest-promotions .hero-content h1 {
  color: var(--secondary-color);
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-index-latest-promotions .hero-content p {
  color: var(--text-light);
  font-size: 1.15em;
  margin-bottom: 25px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

/* Overview Section */
.page-index-latest-promotions .section-overview {
  background-color: var(--background-light);
}

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

.page-index-latest-promotions .overview-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-latest-promotions .overview-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-index-latest-promotions .overview-item .overview-icon {
  width: 120px; /* Increased size for content image, not icon */
  height: 120px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-index-latest-promotions .overview-item h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
  font-size: 1.4em;
}

.page-index-latest-promotions .overview-item p {
  font-size: 1em;
  color: var(--text-dark);
  text-align: left;
}

/* Quick Links Section */
.page-index-latest-promotions .section-quick-links {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-index-latest-promotions .section-quick-links h2 {
  color: var(--secondary-color);
}

.page-index-latest-promotions .section-quick-links p {
  color: var(--text-light);
}

.page-index-latest-promotions .quick-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.page-index-latest-promotions .quick-link-item {
  background: #1A3A7A;
  padding: 25px;
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  color: var(--secondary-color);
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-index-latest-promotions .quick-link-item:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-index-latest-promotions .quick-link-item .link-icon {
  width: 80px; /* Increased size for content image */
  height: 80px;
  object-fit: contain;
  margin-bottom: 15px;
  border-radius: 50%;
  background-color: var(--primary-color);
  padding: 10px;
}

.page-index-latest-promotions .quick-link-item span {
  margin-top: 10px;
}

/* Games Promotions Section */
.page-index-latest-promotions .section-games-promotions {
  background-color: #ffffff;
}

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

.page-index-latest-promotions .game-card {
  background: var(--background-light);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.page-index-latest-promotions .game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.page-index-latest-promotions .game-card .game-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 1px solid var(--border-color);
}

.page-index-latest-promotions .game-card h3 {
  margin: 20px 0 10px;
  font-size: 1.4em;
  color: var(--primary-color);
}

.page-index-latest-promotions .game-card h3 a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-index-latest-promotions .game-card h3 a:hover {
  color: var(--secondary-color);
}

.page-index-latest-promotions .game-card p {
  padding: 0 20px;
  font-size: 1em;
  color: var(--text-dark);
  text-align: left;
  margin-bottom: 20px;
}

/* Promotions Detail Section */
.page-index-latest-promotions .section-promotions-detail {
  background-color: var(--background-light);
}

.page-index-latest-promotions .promotion-card {
  display: flex;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 40px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-latest-promotions .promotion-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.page-index-latest-promotions .promotion-image {
  width: 40%;
  height: auto;
  object-fit: cover;
}

.page-index-latest-promotions .promotion-content {
  width: 60%;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-index-latest-promotions .promotion-content h3 {
  text-align: left;
  font-size: 1.8em;
  margin-top: 0;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-index-latest-promotions .promotion-content h3 a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-index-latest-promotions .promotion-content h3 a:hover {
  color: var(--secondary-color);
}

.page-index-latest-promotions .promotion-content p {
  text-align: left;
  font-size: 1.1em;
  margin-bottom: 20px;
}

.page-index-latest-promotions .promotion-content ul {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: var(--text-dark);
  text-align: left;
}

.page-index-latest-promotions .promotion-content ul li {
  margin-bottom: 8px;
  font-size: 1em;
}

.page-index-latest-promotions .promotion-content .cta-button {
  margin-top: 20px;
  align-self: flex-start;
}

/* Security & Service Section */
.page-index-latest-promotions .section-security-service {
  background-color: #ffffff;
}

.page-index-latest-promotions .security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index-latest-promotions .security-item {
  background: var(--background-light);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.page-index-latest-promotions .security-item .security-icon {
  width: 100px; /* Increased size for content image */
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-index-latest-promotions .security-item h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
  font-size: 1.4em;
}

.page-index-latest-promotions .security-item p {
  font-size: 1em;
  color: var(--text-dark);
  text-align: left;
}

/* FAQ Section */
.page-index-latest-promotions .section-faq {
  background-color: var(--background-light);
}

.page-index-latest-promotions .faq-list {
  margin-top: 40px;
}

.page-index-latest-promotions .faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
}

.page-index-latest-promotions .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #ffffff;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-index-latest-promotions .faq-question:hover {
  background: #f5f5f5;
}

.page-index-latest-promotions .faq-question h3 {
  margin: 0;
  font-size: 1.25em;
  color: var(--primary-color);
  text-align: left;
}

.page-index-latest-promotions .faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--secondary-color);
  transition: transform 0.3s ease;
}

.page-index-latest-promotions .faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: var(--primary-color);
}

.page-index-latest-promotions .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #f9f9f9;
  color: var(--text-dark);
}

.page-index-latest-promotions .faq-item.active .faq-answer {
  max-height: 500px; /* Adjust as needed for content */
  padding: 20px 25px;
  border-top: 1px solid var(--border-color);
}

.page-index-latest-promotions .faq-answer p {
  text-align: left;
  font-size: 1em;
  line-height: 1.8;
  margin-bottom: 0;
}

/* Latest News Section */
.page-index-latest-promotions .section-latest-news {
  background-color: #ffffff;
}

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

.page-index-latest-promotions .news-card {
  background: var(--background-light);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.page-index-latest-promotions .news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.page-index-latest-promotions .news-card .news-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid var(--border-color);
}

.page-index-latest-promotions .news-card h3 {
  margin: 20px 0 10px;
  font-size: 1.4em;
  color: var(--primary-color);
}

.page-index-latest-promotions .news-card h3 a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-index-latest-promotions .news-card h3 a:hover {
  color: var(--secondary-color);
}

.page-index-latest-promotions .news-card p {
  padding: 0 20px;
  font-size: 1em;
  color: var(--text-dark);
  text-align: left;
  margin-bottom: 20px;
}

.page-index-latest-promotions .news-card .read-more {
  display: inline-block;
  padding: 8px 15px;
  background: var(--primary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.9em;
  margin-bottom: 20px;
  transition: background-color 0.3s ease;
}

.page-index-latest-promotions .news-card .read-more:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-index-latest-promotions .hero-content h1 {
    font-size: 2.2em;
  }

  .page-index-latest-promotions h2 {
    font-size: 1.8em;
  }

  .page-index-latest-promotions .promotion-card {
    flex-direction: column;
  }

  .page-index-latest-promotions .promotion-image,
  .page-index-latest-promotions .promotion-content {
    width: 100%;
  }

  .page-index-latest-promotions .promotion-image {
    height: 250px;
  }

  .page-index-latest-promotions .hero-content {
    margin-top: -50px;
  }
}

@media (max-width: 768px) {
  .page-index-latest-promotions section {
    padding: 40px 0;
  }

  .page-index-latest-promotions .hero-section {
    padding: 60px 15px;
  }

  .page-index-latest-promotions .hero-content h1 {
    font-size: 1.8em;
  }

  .page-index-latest-promotions .hero-content p {
    font-size: 1em;
  }

  .page-index-latest-promotions .cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }

  .page-index-latest-promotions h2 {
    font-size: 1.6em;
  }

  .page-index-latest-promotions h3 {
    font-size: 1.3em;
  }

  .page-index-latest-promotions .overview-grid,
  .page-index-latest-promotions .quick-links-grid,
  .page-index-latest-promotions .games-grid,
  .page-index-latest-promotions .security-grid,
  .page-index-latest-promotions .news-grid {
    grid-template-columns: 1fr;
  }

  .page-index-latest-promotions .promotion-content h3 {
    font-size: 1.4em;
  }

  .page-index-latest-promotions .faq-question {
    padding: 15px 20px;
  }

  .page-index-latest-promotions .faq-question h3 {
    font-size: 1.1em;
  }

  .page-index-latest-promotions .faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-index-latest-promotions .hero-content {
    margin-top: -30px;
    padding: 15px;
  }

  .page-index-latest-promotions .hero-content h1 {
    font-size: 1.5em;
  }

  .page-index-latest-promotions .hero-image img {
    border-radius: 8px;
  }

  .page-index-latest-promotions .promotion-card {
    margin-bottom: 30px;
  }

  .page-index-latest-promotions .promotion-image {
    height: 200px;
  }

  .page-index-latest-promotions .promotion-content {
    padding: 20px;
  }

  .page-index-latest-promotions .promotion-content .cta-button {
    font-size: 0.9em;
    padding: 10px 25px;
  }
}