/* style/promotions.css */
:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #8B0000; /* Dark Red */
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f8f8f8;
  --background-dark: #222222;
  --border-color: #e0e0e0;
}

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

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

.page-promotions h1, .page-promotions h2, .page-promotions h3 {
  color: var(--secondary-color);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-promotions h1 {
  font-size: 3em;
  text-align: center;
  color: var(--primary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-promotions h2 {
  font-size: 2.5em;
  text-align: center;
  margin-top: 40px;
  margin-bottom: 30px;
  color: var(--secondary-color);
}

.page-promotions h3 {
  font-size: 1.8em;
  color: var(--secondary-color);
}

.page-promotions p {
  margin-bottom: 15px;
  font-size: 1.1em;
}

.page-promotions a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-promotions a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

/* Hero Section */
.page-promotions .hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, var(--secondary-color) 0%, #a80000 100%); /* Dark red gradient */
}

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

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

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

.page-promotions .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-promotions .hero-content h1 {
  color: var(--primary-color);
  margin-bottom: 20px;
  font-size: 3.5em;
}

.page-promotions .hero-content p {
  color: var(--text-light);
  font-size: 1.3em;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.page-promotions .cta-button {
  display: inline-block;
  padding: 18px 45px;
  background: var(--primary-color);
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  text-transform: uppercase;
}

.page-promotions .cta-button:hover {
  background: #FFC107; /* Slightly darker gold */
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  color: var(--secondary-color);
}

/* Intro Section */
.page-promotions .intro-section {
  padding: 60px 0;
  background-color: var(--background-light);
  text-align: center;
}

.page-promotions .intro-section p {
  max-width: 900px;
  margin: 0 auto 15px auto;
}

/* Promotion Cards */
.page-promotions .promotion-cards {
  padding: 60px 0;
  background-color: var(--background-dark);
  color: var(--text-light);
}

.page-promotions .promotion-cards h2 {
  color: var(--primary-color);
}

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

.page-promotions .promo-card {
  background-color: #333333;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions .promo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.page-promotions .promo-card .card-image {
  width: 100%;
  height: 220px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-promotions .promo-card .card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-promotions .promo-card h3 {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-promotions .promo-card h3 a {
  color: var(--primary-color);
}

.page-promotions .promo-card h3 a:hover {
  color: #FFC107;
}

.page-promotions .promo-card p {
  font-size: 1em;
  color: #cccccc;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-promotions .promo-card .card-button {
  display: inline-block;
  padding: 12px 25px;
  background: var(--secondary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 5px;
  font-size: 1em;
  font-weight: bold;
  align-self: flex-start;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-promotions .promo-card .card-button:hover {
  background: #B22222; /* Slightly darker red */
  transform: translateY(-2px);
  color: var(--primary-color);
}

/* Game Specific Promos */
.page-promotions .game-specific-promos {
  padding: 60px 0;
  background-color: var(--background-light);
}

.page-promotions .game-promo-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 30px;
}

.page-promotions .game-promo-list li {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions .game-promo-list li:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-promotions .game-promo-list h3 {
  font-size: 1.6em;
  margin-bottom: 10px;
  color: var(--secondary-color);
}

.page-promotions .game-promo-list h3 a {
  color: var(--secondary-color);
}

.page-promotions .game-promo-list h3 a:hover {
  color: var(--primary-color);
}

.page-promotions .game-promo-list p {
  font-size: 1em;
  color: var(--text-dark);
}

/* Terms and Conditions */
.page-promotions .terms-conditions {
  padding: 60px 0;
  background-color: var(--background-dark);
  color: var(--text-light);
}

.page-promotions .terms-conditions h2 {
  color: var(--primary-color);
}

.page-promotions .terms-conditions p {
  color: #cccccc;
  max-width: 900px;
  margin: 0 auto 15px auto;
}

.page-promotions .terms-conditions ul {
  list-style: disc;
  margin-left: 25px;
  color: #cccccc;
  max-width: 900px;
  margin: 20px auto;
}

.page-promotions .terms-conditions ul li {
  margin-bottom: 10px;
  font-size: 1.05em;
}

.page-promotions .terms-conditions ul li strong {
  color: var(--primary-color);
}

/* How to Claim */
.page-promotions .how-to-claim {
  padding: 60px 0;
  background-color: var(--background-light);
  text-align: center;
}

.page-promotions .how-to-claim ol {
  list-style: decimal;
  margin: 30px auto;
  padding-left: 25px;
  max-width: 800px;
  text-align: left;
}

.page-promotions .how-to-claim ol li {
  margin-bottom: 15px;
  font-size: 1.1em;
  color: var(--text-dark);
}

.page-promotions .how-to-claim ol li strong {
  color: var(--secondary-color);
}

/* FAQ Section */
.page-promotions .faq-section {
  padding: 60px 0;
  background-color: var(--background-dark);
  color: var(--text-light);
}

.page-promotions .faq-section h2 {
  color: var(--primary-color);
}

.page-promotions .faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
}

.page-promotions .faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background: #333333;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-promotions .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: var(--secondary-color);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-promotions .faq-question:hover {
  background: #B22222; /* Slightly darker red */
}

.page-promotions .faq-question h3 {
  margin: 0;
  font-size: 1.3em;
  color: var(--primary-color);
}

.page-promotions .faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: var(--primary-color);
  transition: transform 0.3s ease;
  line-height: 1;
}

.page-promotions .faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.page-promotions .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #444444;
  color: #cccccc;
}

.page-promotions .faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to show content */
  padding: 20px 25px;
}

.page-promotions .faq-answer p {
  margin-bottom: 0;
}

/* Conclusion Section */
.page-promotions .conclusion-section {
  padding: 60px 0;
  background-color: var(--background-light);
  text-align: center;
}

.page-promotions .conclusion-section p {
  max-width: 900px;
  margin: 0 auto 15px auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions h1 {
    font-size: 2.8em;
  }
  .page-promotions h2 {
    font-size: 2.2em;
  }
  .page-promotions .hero-content p {
    font-size: 1.2em;
  }
  .page-promotions .cta-button {
    padding: 15px 35px;
    font-size: 18px;
  }
  .page-promotions .game-promo-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-promotions h1 {
    font-size: 2.2em;
  }
  .page-promotions h2 {
    font-size: 1.8em;
  }
  .page-promotions h3 {
    font-size: 1.4em;
  }
  .page-promotions .hero-section {
    padding: 40px 15px;
  }
  .page-promotions .hero-image {
    margin-bottom: 20px;
  }
  .page-promotions .hero-content p {
    font-size: 1em;
  }
  .page-promotions .cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }
  .page-promotions .card-grid {
    grid-template-columns: 1fr;
  }
  .page-promotions .promo-card .card-content {
    padding: 20px;
  }
  .page-promotions .game-promo-list li {
    padding: 20px;
  }
  .page-promotions .faq-question {
    padding: 15px 20px;
  }
  .page-promotions .faq-question h3 {
    font-size: 1.1em;
  }
  .page-promotions .faq-toggle {
    font-size: 24px;
  }
  .page-promotions .faq-answer {
    padding: 0 20px;
  }
  .page-promotions .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-promotions h1 {
    font-size: 1.8em;
  }
  .page-promotions h2 {
    font-size: 1.5em;
  }
  .page-promotions h3 {
    font-size: 1.2em;
  }
  .page-promotions .cta-button {
    font-size: 14px;
    padding: 10px 25px;
  }
  .page-promotions .hero-section {
    padding: 30px 10px;
  }
  .page-promotions .container {
    padding: 0 15px;
  }
  .page-promotions .intro-section, .page-promotions .promotion-cards, .page-promotions .game-specific-promos, .page-promotions .terms-conditions, .page-promotions .how-to-claim, .page-promotions .faq-section, .page-promotions .conclusion-section {
    padding: 40px 0;
  }
}