/* style/affiliate-program.css */

:root {
  --primary-color: #1A1A1A;
  --secondary-color: #FFD700;
  --text-light: #F0F0F0;
  --text-dark: #333333;
  --background-dark: #1A1A1A;
  --background-light: #FFFFFF;
  --accent-gold: #FFD700;
  --border-color: #333333;
}

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

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

.page-affiliate-program__container--center {
  text-align: center;
}

.page-affiliate-program__title,
.page-affiliate-program__heading {
  color: var(--accent-gold);
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
  line-height: 1.2;
}

.page-affiliate-program__title {
  font-size: 3.2em;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-affiliate-program__heading {
  font-size: 2.5em;
  color: var(--text-light);
}

.page-affiliate-program__description,
.page-affiliate-program__text {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 25px;
  color: var(--text-light);
}

.page-affiliate-program__text strong {
  color: var(--accent-gold);
}

/* Hero Section */
.page-affiliate-program .hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background: var(--background-dark);
  overflow: hidden;
}

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

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

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

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

.page-affiliate-program__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--accent-gold);
  color: var(--background-dark);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-affiliate-program__cta-button:hover {
  background: #E5C100; /* Slightly darker gold */
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(255, 215, 0, 0.4);
}

.page-affiliate-program__cta-button--secondary {
  background: none;
  border: 2px solid var(--accent-gold);
  color: var(--accent-gold);
}

.page-affiliate-program__cta-button--secondary:hover {
  background: var(--accent-gold);
  color: var(--background-dark);
  box-shadow: 0 6px 15px rgba(255, 215, 0, 0.4);
}

.page-affiliate-program__cta-button--outline {
  background: none;
  border: 2px solid var(--text-light);
  color: var(--text-light);
  margin-left: 20px;
}

.page-affiliate-program__cta-button--outline:hover {
  background: var(--text-light);
  color: var(--background-dark);
  box-shadow: 0 6px 15px rgba(255, 255, 255, 0.2);
}

/* Section Styling */
.page-affiliate-program section {
  padding: 60px 0;
  border-bottom: 1px solid var(--border-color);
}

.page-affiliate-program section:last-of-type {
  border-bottom: none;
}

.page-affiliate-program .section-intro {
  background-color: var(--background-dark);
}

.page-affiliate-program .section-why-join {
  background-color: #222222;
}

.page-affiliate-program .section-how-to-join {
  background-color: var(--background-dark);
}

.page-affiliate-program .section-commission {
  background-color: #222222;
}

.page-affiliate-program .section-marketing-tools {
  background-color: var(--background-dark);
}

.page-affiliate-program .section-terms {
  background-color: #222222;
}

.page-affiliate-program .section-responsible-gaming {
  background-color: var(--background-dark);
}

.page-affiliate-program .section-cta-final {
  background-color: #222222;
  padding-bottom: 80px;
}

/* Features Grid */
.page-affiliate-program__features-grid,
.page-affiliate-program__steps-grid,
.page-affiliate-program__tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-affiliate-program__feature-item,
.page-affiliate-program__step-item,
.page-affiliate-program__tool-item {
  background-color: #2A2A2A;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-affiliate-program__feature-item:hover,
.page-affiliate-program__step-item:hover,
.page-affiliate-program__tool-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-affiliate-program__feature-icon,
.page-affiliate-program__tool-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
}

.page-affiliate-program__feature-item h3,
.page-affiliate-program__step-item h3,
.page-affiliate-program__tool-item h3 {
  color: var(--accent-gold);
  font-size: 1.5em;
  margin-bottom: 15px;
}

.page-affiliate-program__feature-item p,
.page-affiliate-program__step-item p,
.page-affiliate-program__tool-item p {
  color: var(--text-light);
  font-size: 1em;
}

/* Benefits List */
.page-affiliate-program__benefits-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-affiliate-program__benefits-list li {
  display: flex;
  align-items: flex-start;
  background-color: #2A2A2A;
  margin-bottom: 20px;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-affiliate-program__benefits-list li:hover {
  transform: translateX(10px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-affiliate-program__benefit-icon {
  width: 80px;
  height: 80px;
  min-width: 80px; /* Ensure icon doesn't shrink */
  object-fit: contain;
  margin-right: 25px;
  filter: drop-shadow(0 0 4px rgba(255, 215, 0, 0.4));
}

.page-affiliate-program__benefit-content h3 {
  color: var(--accent-gold);
  font-size: 1.4em;
  margin-top: 0;
  margin-bottom: 10px;
  text-align: left;
}

.page-affiliate-program__benefit-content p {
  color: var(--text-light);
  font-size: 1em;
  text-align: left;
  margin-bottom: 0;
}

/* Steps Grid */
.page-affiliate-program__step-number {
  width: 60px;
  height: 60px;
  background-color: var(--accent-gold);
  color: var(--background-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2em;
  font-weight: bold;
  margin: 0 auto 20px auto;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

/* Commission Tiers */
.page-affiliate-program__commission-tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-affiliate-program__tier-item {
  background-color: #2A2A2A;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--accent-gold);
  transition: all 0.3s ease;
}

.page-affiliate-program__tier-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
  background-color: #333333;
}

.page-affiliate-program__tier-item h3 {
  color: var(--accent-gold);
  font-size: 1.8em;
  margin-bottom: 15px;
}

.page-affiliate-program__tier-item p {
  color: var(--text-light);
  font-size: 1em;
  margin-bottom: 10px;
}

.page-affiliate-program__tier-item p strong {
  color: #FFD700;
}

.page-affiliate-program__image--fullwidth {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-top: 40px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Terms and Responsible Gaming Lists */
.page-affiliate-program__terms-list,
.page-affiliate-program__responsible-list {
  list-style: disc;
  color: var(--text-light);
  padding-left: 30px;
  margin-top: 20px;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-affiliate-program__terms-list li,
.page-affiliate-program__responsible-list li {
  margin-bottom: 10px;
  font-size: 1.05em;
}

.page-affiliate-program__terms-list li strong {
  color: var(--accent-gold);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-affiliate-program__title {
    font-size: 2.8em;
  }
  .page-affiliate-program__heading {
    font-size: 2.2em;
  }
  .page-affiliate-program .hero-section {
    padding: 60px 15px;
  }
  .page-affiliate-program section {
    padding: 40px 0;
  }
  .page-affiliate-program__cta-button {
    padding: 12px 30px;
    font-size: 1.1em;
  }
  .page-affiliate-program__cta-button--outline {
    margin-left: 10px;
  }
}

@media (max-width: 768px) {
  .page-affiliate-program__title {
    font-size: 2.2em;
  }
  .page-affiliate-program__heading {
    font-size: 1.8em;
  }
  .page-affiliate-program__description,
  .page-affiliate-program__text {
    font-size: 1em;
    text-align: left;
  }
  .page-affiliate-program__container {
    padding: 15px;
  }
  .page-affiliate-program .hero-image img {
    border-radius: 8px;
  }
  .page-affiliate-program__cta-button {
    display: block;
    width: 90%;
    margin: 20px auto 0 auto;
  }
  .page-affiliate-program__cta-button--outline {
    margin-left: auto;
    margin-top: 15px;
  }
  .page-affiliate-program__features-grid,
  .page-affiliate-program__steps-grid,
  .page-affiliate-program__tools-grid,
  .page-affiliate-program__commission-tiers {
    grid-template-columns: 1fr;
  }
  .page-affiliate-program__feature-item,
  .page-affiliate-program__step-item,
  .page-affiliate-program__tool-item,
  .page-affiliate-program__tier-item {
    padding: 20px;
  }
  .page-affiliate-program__benefits-list li {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
  }
  .page-affiliate-program__benefit-icon {
    margin-right: 0;
    margin-bottom: 15px;
  }
  .page-affiliate-program__benefit-content h3,
  .page-affiliate-program__benefit-content p {
    text-align: center;
  }
  .page-affiliate-program__step-number {
    font-size: 1.8em;
    width: 50px;
    height: 50px;
  }
  .page-affiliate-program__terms-list,
  .page-affiliate-program__responsible-list {
    padding-left: 20px;
  }
}

@media (max-width: 480px) {
  .page-affiliate-program__title {
    font-size: 1.8em;
  }
  .page-affiliate-program__heading {
    font-size: 1.5em;
  }
  .page-affiliate-program__cta-button {
    font-size: 1em;
    padding: 10px 25px;
  }
  .page-affiliate-program__feature-icon,
  .page-affiliate-program__tool-icon {
    width: 80px;
    height: 80px;
  }
  .page-affiliate-program__benefit-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
  }
}