/* style/promotions.css */

:root {
  --primary-color: #0A1931;
  --secondary-color: #FFD700;
  --text-color-light: #ffffff;
  --text-color-dark: #333333;
  --background-dark: #0d0d0d;
  --card-background-dark: rgba(255, 255, 255, 0.1);
  --border-color-dark: rgba(255, 255, 255, 0.2);
}

.page-promotions {
  padding-top: 120px; /* Desktop: Clear fixed header */
  color: var(--text-color-light); /* Dark body background, so light text */
  background-color: var(--background-dark); /* Ensure consistent dark background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .page-promotions {
    padding-top: 100px; /* Mobile: Clear fixed header */
    font-size: 15px;
  }
}

.page-promotions__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .page-promotions__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
}

.page-promotions__hero-section {
  padding: 60px 0;
  text-align: center;
  background: linear-gradient(135deg, var(--primary-color), #1A345E);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
  .page-promotions__hero-section {
    padding: 40px 0;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
}

.page-promotions__main-title {
  font-size: 42px;
  color: var(--secondary-color);
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-weight: bold;
}

@media (max-width: 768px) {
  .page-promotions__main-title {
    font-size: 28px;
    line-height: 1.3;
  }
}

.page-promotions__intro-text {
  font-size: 18px;
  color: var(--text-color-light);
  margin-bottom: 25px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .page-promotions__intro-text {
    font-size: 16px;
  }
}

.page-promotions__cta-wrapper {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

@media (max-width: 768px) {
  .page-promotions__cta-wrapper {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

.page-promotions__cta-button {
  display: inline-block;
  padding: 15px 30px;
  font-size: 18px;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions__cta-button--primary {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border: 2px solid var(--secondary-color);
}

.page-promotions__cta-button--primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-promotions__cta-button--secondary {
  background-color: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
}

.page-promotions__cta-button--secondary:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
  .page-promotions__cta-button {
    width: 100% !important;
    font-size: 16px;
    padding: 12px 20px;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
}

.page-promotions__section {
  padding: 80px 0;
}

.page-promotions__section--highlight {
  background-color: #1a2a47;
}

@media (max-width: 768px) {
  .page-promotions__section {
    padding: 50px 0;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
}

.page-promotions__section-title {
  font-size: 36px;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

@media (max-width: 768px) {
  .page-promotions__section-title {
    font-size: 24px;
    line-height: 1.3;
  }
}

.page-promotions__section-description {
  font-size: 17px;
  color: var(--text-color-light);
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .page-promotions__section-description {
    font-size: 15px;
    margin-bottom: 30px;
  }
}

.page-promotions__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

@media (max-width: 768px) {
  .page-promotions__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.page-promotions__promo-card {
  background-color: var(--card-background-dark);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color-dark);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-promotions__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
  .page-promotions__promo-card {
    padding: 20px;
  }
}

.page-promotions__promo-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

@media (max-width: 768px) {
  .page-promotions__promo-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }
}

.page-promotions__promo-card-title {
  font-size: 24px;
  color: var(--secondary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

@media (max-width: 768px) {
  .page-promotions__promo-card-title {
    font-size: 20px;
  }
}

.page-promotions__promo-card-text {
  font-size: 16px;
  color: var(--text-color-light);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-promotions__promo-features {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
  text-align: left;
}

.page-promotions__promo-features li {
  color: #a0a0a0;
  font-size: 15px;
  margin-bottom: 8px;
  position: relative;
  padding-left: 25px;
}

.page-promotions__promo-features li::before {
  content: '✔';
  color: var(--secondary-color);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-promotions__promo-button {
  display: inline-block;
  padding: 12px 25px;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  font-size: 16px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  margin-top: auto; /* Push button to bottom */
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions__promo-button:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .page-promotions__promo-button {
    width: 100% !important;
    padding: 10px 15px;
    font-size: 15px;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
}

.page-promotions__game-promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

@media (max-width: 768px) {
  .page-promotions__game-promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.page-promotions__game-promo-item {
  background-color: var(--card-background-dark);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color-dark);
}

.page-promotions__game-promo-title {
  font-size: 22px;
  color: var(--secondary-color);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-promotions__game-promo-text {
  font-size: 16px;
  color: var(--text-color-light);
  margin-bottom: 15px;
}

.page-promotions__game-promo-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-promotions__game-promo-list li {
  color: #a0a0a0;
  font-size: 15px;
  margin-bottom: 5px;
  position: relative;
  padding-left: 20px;
}

.page-promotions__game-promo-list li::before {
  content: '•';
  color: var(--secondary-color);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-promotions__terms-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

@media (max-width: 768px) {
  .page-promotions__terms-list {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

.page-promotions__term-item {
  background-color: var(--card-background-dark);
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color-dark);
}

.page-promotions__term-title {
  font-size: 20px;
  color: var(--secondary-color);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-promotions__term-text {
  font-size: 15px;
  color: var(--text-color-light);
}

.page-promotions__cta-wrapper--center {
  margin-top: 40px;
  text-align: center;
}

.page-promotions__section--why-choose {
  background-color: #1a2a47;
}

.page-promotions__why-choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

@media (max-width: 768px) {
  .page-promotions__why-choose-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.page-promotions__why-choose-item {
  background-color: var(--card-background-dark);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color-dark);
}

.page-promotions__why-choose-icon {
  max-width: 100px;
  height: auto;
  margin-bottom: 15px;
}

@media (max-width: 768px) {
  .page-promotions__why-choose-icon {
    max-width: 100% !important;
    width: 100px !important;
    height: auto !important;
    box-sizing: border-box !important;
  }
}

.page-promotions__why-choose-title {
  font-size: 22px;
  color: var(--secondary-color);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-promotions__why-choose-text {
  font-size: 16px;
  color: var(--text-color-light);
}

.page-promotions__guide-list {
  list-style: none;
  padding: 0;
  counter-reset: guide-counter;
}

.page-promotions__guide-item {
  background-color: var(--card-background-dark);
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color-dark);
  position: relative;
  padding-left: 80px;
}

.page-promotions__guide-item::before {
  counter-increment: guide-counter;
  content: counter(guide-counter);
  position: absolute;
  left: 25px;
  top: 25px;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
}

@media (max-width: 768px) {
  .page-promotions__guide-item {
    padding: 20px;
    padding-left: 60px;
  }
  .page-promotions__guide-item::before {
    left: 15px;
    top: 15px;
    width: 30px;
    height: 30px;
    font-size: 18px;
  }
}

.page-promotions__guide-title {
  font-size: 22px;
  color: var(--secondary-color);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-promotions__guide-text {
  font-size: 16px;
  color: var(--text-color-light);
  margin-bottom: 20px;
}

/* Ensure all images are responsive */
.page-promotions img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile responsive for all images and containers */
@media (max-width: 768px) {
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }
  .page-promotions__section,
  .page-promotions__promo-card,
  .page-promotions__game-promo-item,
  .page-promotions__term-item,
  .page-promotions__why-choose-item,
  .page-promotions__guide-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no overflow */
  }
  .page-promotions__why-choose-icon {
    max-width: 80px !important;
    width: 80px !important;
  }
}