/* style/promotions.css */

:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #000080; /* Dark Blue */
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark: #0a0a0a;
  --bg-light: #f8f9fa;
  --card-bg-dark: rgba(255, 255, 255, 0.1);
  --card-bg-light: #ffffff;
  --border-color: #e0e0e0;
}

.page-promotions {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Default text color for dark body background */
  background-color: var(--bg-dark); /* Inherited from shared.css, but for clarity */
  padding-top: 120px; /* Adjust for fixed header */
}

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

.page-promotions__section-title {
  font-size: 36px;
  font-weight: bold;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

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

/* Hero Section */
.page-promotions__hero-section {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(135deg, var(--secondary-color) 0%, #0a0a0a 100%);
  position: relative;
  overflow: hidden;
  border-bottom: 5px solid var(--primary-color);
}

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

.page-promotions__hero-description {
  font-size: 20px;
  color: var(--text-light);
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* CTA Buttons */
.page-promotions__cta-button {
  display: inline-block;
  padding: 15px 40px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  margin: 10px;
}

.page-promotions__btn-primary {
  background: var(--primary-color);
  color: var(--secondary-color);
}

.page-promotions__btn-primary:hover {
  background: #e6c200; /* Slightly darker gold */
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

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

.page-promotions__btn-secondary:hover {
  background: #000066; /* Slightly darker dark blue */
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

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

.page-promotions__special-promotions-section .page-promotions__section-title {
  color: var(--secondary-color);
}

.page-promotions__special-promotions-section .page-promotions__section-description {
  color: var(--text-dark);
}

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

.page-promotions__promotion-card {
  background: var(--card-bg-light);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

.page-promotions__promotion-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-promotions__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 20px;
}

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

.page-promotions__card-text {
  font-size: 16px;
  color: var(--text-dark);
  margin-bottom: 25px;
  padding: 0 20px;
}

.page-promotions__card-button {
  display: inline-block;
  padding: 10px 25px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Game Category Promotions Section */
.page-promotions__game-category-promotions {
  padding: 60px 0;
  background-color: var(--secondary-color);
  border-top: 5px solid var(--primary-color);
  border-bottom: 5px solid var(--primary-color);
}

.page-promotions__game-category-promotions .page-promotions__section-title {
  color: var(--primary-color);
}

.page-promotions__game-category-promotions .page-promotions__section-description {
  color: var(--text-light);
}

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

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

.page-promotions__game-promo-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

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

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

.page-promotions__game-promo-button {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 5px;
  font-size: 15px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  background: var(--primary-color);
  color: var(--secondary-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.page-promotions__game-promo-button:hover {
  background: #e6c200;
  transform: translateY(-1px);
}

/* Cashback Section */
.page-promotions__cashback-section {
  padding: 60px 0;
  background-color: var(--bg-dark);
}

.page-promotions__cashback-section .page-promotions__section-title {
  color: var(--primary-color);
}

.page-promotions__cashback-section .page-promotions__section-description {
  color: var(--text-light);
}

.page-promotions__cashback-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.page-promotions__cashback-item {
  background: var(--card-bg-dark);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border-left: 5px solid var(--primary-color);
}

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

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

/* Terms & Conditions Section */
.page-promotions__terms-conditions-section {
  padding: 60px 0;
  background-color: var(--secondary-color);
  border-top: 5px solid var(--primary-color);
  border-bottom: 5px solid var(--primary-color);
}

.page-promotions__terms-conditions-section .page-promotions__section-title {
  color: var(--primary-color);
}

.page-promotions__terms-conditions-section .page-promotions__section-description,
.page-promotions__terms-conditions-section .page-promotions__terms-text {
  color: var(--text-light);
}

.page-promotions__terms-text {
  font-size: 17px;
  margin-bottom: 30px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Why Choose Section */
.page-promotions__why-choose-section {
  padding: 60px 0;
  background-color: var(--bg-light);
  color: var(--text-dark);
}

.page-promotions__why-choose-section .page-promotions__section-title {
  color: var(--secondary-color);
}

.page-promotions__why-choose-section .page-promotions__section-description {
  color: var(--text-dark);
}

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

.page-promotions__why-choose-item {
  background: var(--card-bg-light);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

.page-promotions__why-choose-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-promotions__why-choose-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

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

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

/* Final CTA Section */
.page-promotions__cta-final-section {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(45deg, #0a0a0a 0%, var(--secondary-color) 100%);
  border-top: 5px solid var(--primary-color);
}

.page-promotions__cta-final-section .page-promotions__section-title {
  color: var(--primary-color);
}

.page-promotions__cta-final-section .page-promotions__section-description {
  color: var(--text-light);
}

/* General Image Responsiveness */
.page-promotions img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions__main-title {
    font-size: 42px;
  }
  .page-promotions__hero-description {
    font-size: 18px;
  }
  .page-promotions__section-title {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .page-promotions {
    padding-top: 100px !important; /* Mobile fixed header adjustment */
    font-size: 16px;
    line-height: 1.6;
  }
  .page-promotions__container {
    padding: 0 15px;
  }
  .page-promotions__main-title {
    font-size: 36px;
  }
  .page-promotions__hero-description {
    font-size: 16px;
  }
  .page-promotions__section-title {
    font-size: 28px;
  }
  .page-promotions__section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-promotions__cta-button {
    padding: 12px 25px;
    font-size: 16px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin: 10px 0;
  }

  .page-promotions__promotions-grid,
  .page-promotions__game-promo-list,
  .page-promotions__cashback-list,
  .page-promotions__why-choose-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-promotions__promotion-card,
  .page-promotions__game-promo-item,
  .page-promotions__cashback-item,
  .page-promotions__why-choose-item {
    padding: 20px;
    border-radius: 8px;
  }

  .page-promotions__card-title,
  .page-promotions__game-promo-title,
  .page-promotions__cashback-item-title,
  .page-promotions__why-choose-title {
    font-size: 20px;
  }

  .page-promotions__card-text,
  .page-promotions__game-promo-text,
  .page-promotions__cashback-item-text,
  .page-promotions__why-choose-text,
  .page-promotions__terms-text {
    font-size: 15px;
  }

  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-promotions__card-image {
    height: 180px;
  }
}

@media (max-width: 480px) {
  .page-promotions__main-title {
    font-size: 30px;
  }
  .page-promotions__section-title {
    font-size: 24px;
  }
  .page-promotions__hero-section,
  .page-promotions__special-promotions-section,
  .page-promotions__game-category-promotions,
  .page-promotions__cashback-section,
  .page-promotions__terms-conditions-section,
  .page-promotions__why-choose-section,
  .page-promotions__cta-final-section {
    padding: 40px 0;
  }
  .page-promotions__card-image {
    height: 150px;
  }
}