/* ============================================================
   STREFA STUDENTA — page-specific styles
   Relies on design tokens & components from ./css/styles.css
   ============================================================ */

/* ---------- 18+ age gate ---------- */
.ss-age-gate {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(6px);
}
body.ss-gate-open { overflow: hidden; }
.ss-age-gate__box {
  max-width: 460px;
  width: 100%;
  text-align: center;
  background: var(--color-charcoal, #1a1a1a);
  border: 1px solid rgba(212, 165, 89, 0.4);
  border-radius: var(--radius-xl);
  padding: var(--space-xl) var(--space-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}
.ss-age-gate__logo { height: 56px; width: auto; margin-bottom: var(--space-md); }
.ss-age-gate__box h2 { font-family: var(--font-display); color: var(--color-white); margin-bottom: var(--space-sm); }
.ss-age-gate__box p { color: rgba(255, 255, 255, 0.7); margin-bottom: var(--space-lg); }
.ss-age-gate__btns { display: flex; gap: var(--space-sm); justify-content: center; margin-bottom: var(--space-md); }
.ss-age-gate__remember { color: rgba(255, 255, 255, 0.7); font-size: 0.9rem; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }

/* ---------- Hero (banner image only) ---------- */
.ss-hero {
  position: relative;
  margin-top: 70px; /* offset the fixed header */
}
.ss-hero__pic,
.ss-hero__img {
  display: block;
  width: 100%;
  height: auto;
}
/* Gold separator below the banner — matches .sphinx-section::after */
.ss-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 5%;
  right: 5%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(212, 165, 89, 0.7) 30%, rgba(212, 165, 89, 0.7) 70%, transparent);
  pointer-events: none;
  z-index: 1;
}
@media (max-width: 700px) {
  .ss-hero { margin-top: 62px; }
}

/* ---------- Offer cards (10 student offers, in carousel) ---------- */
.ss-offer {
  display: flex;
  flex-direction: column;
  flex: 0 0 380px;            /* fixed width inside .carousel-track */
  border: 1px solid var(--color-gold);
  border-radius: var(--radius-lg, 16px);
  overflow: hidden;
  background: var(--color-charcoal, #1a1a1a);
  box-shadow: 0 0 22px rgba(212, 165, 89, 0.22);
  transition: box-shadow 0.3s ease;
}
.ss-offer:hover {
  box-shadow: 0 0 34px rgba(212, 165, 89, 0.45), 0 12px 32px rgba(0, 0, 0, 0.5);
}
.ss-offer__img img { width: 100%; height: auto; display: block; }
.ss-offer__body {
  padding: var(--space-md);
  text-align: center;
}
.ss-offer__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--color-white);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .ss-offer { flex: 0 0 320px; }
}
@media (max-width: 600px) {
  .ss-offer { flex: 0 0 260px; }
}
