.page-partnerships {
  color: #333333;
}

.page-partnerships__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  min-height: 600px; /* Minimum height for hero section */
}

.page-partnerships__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-partnerships__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 40px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 10px;
  color: #ffffff;
}

.page-partnerships__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FCBC45; /* Login color for emphasis */
}

.page-partnerships__hero-description {
  font-size: 1.2em;
  line-height: 1.6;
  margin-bottom: 30px;
}

.page-partnerships__hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-partnerships__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  min-width: 200px;
  text-align: center;
}

.page-partnerships__button--primary {
  background-color: #FCBC45; /* Login color */
  color: #000000; /* Main color */
  border: 2px solid #FCBC45;
}

.page-partnerships__button--primary:hover {
  background-color: #e0a53b;
  border-color: #e0a53b;
}

.page-partnerships__button--secondary {
  background-color: transparent;
  color: #FFFFFF; /* Secondary color */
  border: 2px solid #FFFFFF;
}

.page-partnerships__button--secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.page-partnerships__section {
  padding: 80px 20px;
  text-align: center;
}

.page-partnerships__container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-partnerships__section-title {
  font-size: 2.8em;
  margin-bottom: 30px;
  color: #000000;
}

.page-partnerships__section-intro {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 60px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #444444;
}

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

.page-partnerships__card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: 450px;
}

.page-partnerships__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-partnerships__card-title {
  font-size: 1.6em;
  margin-bottom: 15px;
  color: #000000;
}

.page-partnerships__card-description {
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 25px;
  flex-grow: 1;
  color: #555555;
}

.page-partnerships__button--card {
  background-color: #000000; /* Main color */
  color: #FFFFFF; /* Secondary color */
  border: 2px solid #000000;
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-partnerships__button--card:hover {
  background-color: #333333;
  border-color: #333333;
}

.page-partnerships__section--affiliates {
  background-color: #f8f8f8;
}

.page-partnerships__flex-content {
  display: flex;
  align-items: center;
  gap: 60px;
  text-align: left;
  flex-wrap: wrap;
}

.page-partnerships__flex-text {
  flex: 1;
  min-width: 300px;
}

.page-partnerships__flex-image {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-partnerships__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

.page-partnerships__sub-title {
  font-size: 2em;
  margin-bottom: 25px;
  color: #000000;
}

.page-partnerships__list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-partnerships__list-item {
  margin-bottom: 15px;
  font-size: 1.1em;
  line-height: 1.6;
  position: relative;
  padding-left: 30px;
  color: #555555;
}

.page-partnerships__list-item::before {
  content: '✔️';
  position: absolute;
  left: 0;
  color: #FCBC45;
}

.page-partnerships__grid--tech {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-partnerships__feature-card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.page-partnerships__feature-icon {
  width: 250px;
  height: 180px;
  object-fit: contain;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-partnerships__feature-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: #000000;
}

.page-partnerships__feature-description {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
}

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

.page-partnerships__advantage-item {
  background-color: #ffffff;
  border-left: 5px solid #FCBC45;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.page-partnerships__advantage-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  color: #000000;
}

.page-partnerships__advantage-description {
  font-size: 0.95em;
  line-height: 1.6;
  color: #555555;
}

.page-partnerships__section--responsible-gaming {
  background-color: #f0f0f0;
}

.page-partnerships__cta-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-partnerships__hero-title {
    font-size: 2.8em;
  }
  .page-partnerships__section-title {
    font-size: 2.4em;
  }
}

@media (max-width: 768px) {
  .page-partnerships__hero-section {
    min-height: 500px;
    padding-top: var(--header-offset, 120px);
  }
  .page-partnerships__hero-content {
    padding: 30px;
  }
  .page-partnerships__hero-title {
    font-size: 2.2em;
  }
  .page-partnerships__hero-description {
    font-size: 1em;
  }
  .page-partnerships__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-partnerships__button {
    width: 100%;
    min-width: unset;
  }
  .page-partnerships__section {
    padding: 60px 15px;
  }
  .page-partnerships__section-title {
    font-size: 2em;
  }
  .page-partnerships__section-intro {
    font-size: 0.95em;
    margin-bottom: 40px;
  }
  .page-partnerships__grid,
  .page-partnerships__grid--tech,
  .page-partnerships__advantages-grid {
    grid-template-columns: 1fr;
  }
  .page-partnerships__flex-content {
    flex-direction: column;
    gap: 30px;
  }
  .page-partnerships__flex-text,
  .page-partnerships__flex-image {
    min-width: unset;
    width: 100%;
  }
  .page-partnerships__image,
  .page-partnerships__card-image,
  .page-partnerships__feature-icon {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }
  .page-partnerships__cta-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-partnerships__button--primary, .page-partnerships__button--secondary {
    width: 100%;
  }
}