/* ==========================================================================
   Tandem Operators Page Section-Specific Styles
   ========================================================================== */

/* --- Hero Section & Padding Overrides (Desktop Only) --- */
@media (min-width: 1281px) {
  .operators-page-content .hero-section {
    padding-bottom: 0;
  }

  .operators-page-content #benefits {
    padding-top: 0;
  }
}

/* --- Hero Section Buttons --- */
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-top: var(--space-xl);
  width: 100%;
}

@media (max-width: 768px) {
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }


}

/* --- Hero Section Magnet Graphic --- */
.hero-media-wrapper {
  position: relative;
  display: flex;
  justify-content: flex-end;
  width: 100%;
  z-index: 2;
}

.hero-media-wrapper .has-glow {
  position: relative;
  width: 100%;
  max-width: 900px;
  display: flex;
  justify-content: center;
  align-items: center;
  --glow-size: 850px;
  --glow-blur: 120px;
}

.hero-media-wrapper .portal-img {
  width: 140%;
  /* Росте більше за колонку */
  max-width: none;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 50px rgba(146, 58, 255, 0.25));
  --neg-margin-x: -20%;
  --neg-margin-bottom: -220px;
  margin-left: var(--neg-margin-x);
  /* Рівномірно вилазить ліворуч */
  margin-right: var(--neg-margin-x);
  /* Рівномірно вилазить праворуч */
  margin-bottom: var(--neg-margin-bottom);
  /* Спускається вниз на секцію benefits */
}

@media (max-width: 1280px) {
  .hero-media-wrapper {
    justify-content: center;
  }

  .hero-media-wrapper .portal-img {
    width: 100%;
    max-width: 580px;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 0;
  }
}

@media (max-width: 768px) {
  .hero-media-wrapper .portal-img {
    width: 100%;
    max-width: 340px;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 0;
  }
}

/* --- Ecosystem Section Atom Graphic --- */
.ecosystem-media-wrapper {
  position: relative;
  display: flex;
  justify-content: flex-start;
  width: 100%;
  z-index: 2;
}

.ecosystem-media-wrapper .has-glow {
  position: relative;
  width: 100%;
  max-width: 580px;
  display: flex;
  justify-content: center;
  align-items: center;
  --glow-size: 500px;
  --glow-blur: 80px;
}

.ecosystem-media-wrapper .ecosystem-img {
  width: 100%;
  max-width: 500px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 50px rgba(146, 58, 255, 0.2));
}

@media (max-width: 1280px) {
  .ecosystem-media-wrapper {
    justify-content: center;
  }

  .ecosystem-media-wrapper .ecosystem-img {
    max-width: 380px;
  }
}

@media (max-width: 768px) {
  .ecosystem-media-wrapper .ecosystem-img {
    max-width: 260px;
  }
}

/* --- Traffic Quality Section Tube Graphic --- */
.quality-media-wrapper {
  position: relative;
  display: flex;
  justify-content: flex-end;
  width: 100%;
  z-index: 2;
}

.quality-media-wrapper .has-glow {
  position: relative;
  width: 100%;
  max-width: 580px;
  display: flex;
  justify-content: center;
  align-items: center;
  --glow-size: 500px;
  --glow-blur: 80px;
}

.quality-media-wrapper .quality-img {
  width: 100%;
  max-width: 440px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 50px rgba(146, 58, 255, 0.2));
}

@media (max-width: 1280px) {
  .quality-media-wrapper {
    justify-content: center;
  }

  .quality-media-wrapper .quality-img {
    max-width: 320px;
  }
}

@media (max-width: 768px) {
  .quality-media-wrapper .quality-img {
    max-width: 220px;
  }
}

/* --- How Cooperation Works Crystal (Under Glass Card) --- */
.cooperation-graphic {
  right: -50px;
  bottom: -100px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 260px;
}

.cooperation-img {
  width: 100%;
  max-width: 260px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 15px 35px rgba(146, 58, 255, 0.15));
}

@media (max-width: 1280px) {
  .cooperation-graphic {
    right: -20px;
    bottom: -80px;
    max-width: 200px;
  }
}

@media (max-width: 768px) {
  .cooperation-graphic {
    right: -10px;
    bottom: -60px;
    max-width: 150px;
  }
}