/* ==========================================================
   LYNX ROLEPLAY v10 — hero marquee + technology logo slider
   Inspired by the motion rhythm of Enity Studio, rebuilt for LYNX.
   ========================================================== */

/* Raise only the main hero composition. Header/status at the top stay untouched. */
@media (min-width: 901px) {
  .hero-content,
  .hero-content.reveal.is-visible {
    transform: translateY(-36px);
  }
  .hero-content.reveal:not(.is-visible) {
    transform: translateY(-12px) scale(.985);
  }
  .hero-emblem,
  .hero-emblem.reveal.is-visible {
    transform: translateY(-34px);
  }
  .hero-emblem.reveal:not(.is-visible) {
    transform: translateY(-10px) scale(.985);
  }
}

/* Make space for the new strip at the bottom of the viewport. */
.hero {
  padding-bottom: 132px !important;
}
.hero .scroll-hint {
  bottom: 76px !important;
}

/* ==========================================================
   HERO — infinite LYNX feature marquee
   ========================================================== */
.hero-marquee {
  position: absolute;
  z-index: 8;
  left: 0;
  right: 0;
  bottom: 0;
  height: 58px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-top: 1px solid rgba(212,175,55,.20);
  border-bottom: 1px solid rgba(255,255,255,.035);
  background:
    linear-gradient(90deg, rgba(5,5,5,.94), rgba(13,11,7,.88) 38%, rgba(5,5,5,.94)),
    radial-gradient(440px 72px at 50% 0%, rgba(212,175,55,.09), transparent 72%);
  box-shadow: 0 -18px 46px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.02);
  backdrop-filter: blur(16px) saturate(1.08);
  -webkit-backdrop-filter: blur(16px) saturate(1.08);
}
.hero-marquee::before,
.hero-marquee::after {
  content: '';
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  width: min(12vw, 160px);
  pointer-events: none;
}
.hero-marquee::before { left: 0; background: linear-gradient(90deg,#050505,transparent); }
.hero-marquee::after { right: 0; background: linear-gradient(270deg,#050505,transparent); }
.hero-marquee-track {
  width: max-content;
  display: flex;
  will-change: transform;
  animation: lynxHeroMarquee 38s linear infinite;
}
.hero-marquee-group {
  flex: none;
  display: flex;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
}
.hero-marquee-group span {
  white-space: nowrap;
  color: rgba(239,236,227,.82);
  font: 700 12px/1 'Manrope',sans-serif;
  letter-spacing: .17em;
  text-transform: uppercase;
  text-shadow: 0 0 22px rgba(255,255,255,.035);
}
.hero-marquee-group i {
  color: #d4af37;
  font: 400 8px/1 serif;
  opacity: .8;
  filter: drop-shadow(0 0 8px rgba(212,175,55,.32));
}
@keyframes lynxHeroMarquee { to { transform: translateX(-50%); } }

/* ==========================================================
   TECHNOLOGY / TOOLS SLIDER
   ========================================================== */
.tech-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 132px 0 128px;
  background:
    radial-gradient(760px 420px at 50% 4%, rgba(212,175,55,.075), transparent 66%),
    radial-gradient(680px 400px at 8% 100%, rgba(255,255,255,.025), transparent 72%),
    linear-gradient(180deg,#050505 0%,#080706 48%,#050505 100%);
  border-top: 1px solid rgba(255,255,255,.035);
  border-bottom: 1px solid rgba(255,255,255,.035);
}
.tech-section::before {
  content: '';
  position: absolute;
  z-index: -2;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.013) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.013) 1px,transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(ellipse at center,#000,transparent 78%);
}
.tech-glow {
  position: absolute;
  z-index: -1;
  width: 520px;
  height: 300px;
  left: 50%;
  top: 45%;
  transform: translate(-50%,-50%);
  border-radius: 50%;
  background: rgba(212,175,55,.055);
  filter: blur(100px);
  pointer-events: none;
}
.tech-heading {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 64px;
}
.tech-heading h2 {
  margin: 18px 0 0;
  font: 700 clamp(50px,6vw,82px)/.98 'Oswald',sans-serif;
  text-transform: uppercase;
  letter-spacing: -.025em;
}
.tech-heading h2 em {
  font-style: normal;
  color: transparent;
  background: linear-gradient(112deg,#b48a1f,#f1d57b 44%,#fff0b2 58%,#c89e2b 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
.tech-heading .section-lead {
  max-width: 700px;
  margin-top: 22px;
  text-align: center;
}
.tech-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 8px 0 18px;
}
.tech-marquee::before,
.tech-marquee::after {
  content: '';
  position: absolute;
  z-index: 4;
  top: 0;
  bottom: 0;
  width: min(12vw,180px);
  pointer-events: none;
}
.tech-marquee::before { left: 0; background: linear-gradient(90deg,#050505 12%,transparent); }
.tech-marquee::after { right: 0; background: linear-gradient(270deg,#050505 12%,transparent); }
.tech-marquee-track {
  width: max-content;
  display: flex;
  will-change: transform;
  animation: lynxTechMarquee 54s linear infinite;
}
.tech-marquee:hover .tech-marquee-track { animation-play-state: paused; }
.tech-marquee-group {
  flex: none;
  display: flex;
  align-items: stretch;
  gap: 14px;
  padding-right: 14px;
}
.tech-logo-card {
  position: relative;
  width: 196px;
  height: 132px;
  flex: 0 0 196px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.075);
  border-radius: 18px;
  background:
    radial-gradient(130px 80px at 50% 0%,rgba(212,175,55,.055),transparent 72%),
    linear-gradient(160deg,rgba(18,18,18,.80),rgba(7,7,7,.92));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025), 0 15px 38px rgba(0,0,0,.16);
  transition: transform .45s cubic-bezier(.2,.75,.2,1), border-color .35s ease, background .35s ease, box-shadow .35s ease;
}
.tech-logo-card::after {
  content: '';
  position: absolute;
  inset: -70% 34%;
  background: linear-gradient(105deg,transparent,rgba(255,255,255,.10),transparent);
  transform: translateX(-230%) rotate(8deg);
  transition: transform .75s cubic-bezier(.2,.75,.2,1);
  pointer-events: none;
}
.tech-logo-card:hover {
  transform: translateY(-7px) scale(1.025);
  border-color: rgba(212,175,55,.34);
  background:
    radial-gradient(150px 90px at 50% 0%,rgba(212,175,55,.095),transparent 72%),
    linear-gradient(160deg,rgba(20,19,16,.90),rgba(7,7,7,.96));
  box-shadow: 0 24px 55px rgba(0,0,0,.30), 0 0 26px rgba(212,175,55,.045), inset 0 1px 0 rgba(255,255,255,.04);
}
.tech-logo-card:hover::after { transform: translateX(230%) rotate(8deg); }
.tech-logo-card img {
  display: block;
  width: 118px;
  height: 42px;
  object-fit: contain;
  opacity: .80;
  filter: grayscale(.08) brightness(.98);
  transition: opacity .35s ease, transform .4s cubic-bezier(.2,.75,.2,1), filter .35s ease;
}
.tech-logo-card:hover img {
  opacity: 1;
  transform: scale(1.055);
  filter: grayscale(0) brightness(1.08) drop-shadow(0 0 16px rgba(212,175,55,.10));
}
.tech-logo-card span {
  color: rgba(221,218,210,.64);
  font: 700 9px/1 'Inter',sans-serif;
  letter-spacing: .16em;
  text-transform: uppercase;
  transition: color .3s ease;
}
.tech-logo-card:hover span { color: #e9e4d8; }
@keyframes lynxTechMarquee { to { transform: translateX(-50%); } }

@media (max-width: 900px) {
  .hero {
    padding-bottom: 142px !important;
  }
  .hero .scroll-hint { bottom: 68px !important; }
  .hero-marquee { height: 52px; }
  .hero-marquee-group { gap: 20px; padding-right: 20px; }
  .hero-marquee-group span { font-size: 10px; letter-spacing: .14em; }
  .tech-section { padding: 98px 0 96px; }
  .tech-heading { margin-bottom: 48px; padding-inline: 18px; }
  .tech-logo-card { width: 166px; flex-basis: 166px; height: 116px; border-radius: 15px; }
  .tech-logo-card img { width: 100px; height: 36px; }
}

@media (max-width: 560px) {
  .hero .scroll-hint { display: none !important; }
  .hero-marquee { height: 50px; }
  .hero-marquee-group span { font-size: 9px; }
  .tech-heading h2 { font-size: clamp(45px,14vw,62px); }
  .tech-logo-card { width: 152px; flex-basis: 152px; height: 108px; gap: 14px; }
  .tech-logo-card img { width: 92px; height: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-marquee-track,
  .tech-marquee-track { animation: none !important; transform: none !important; }
  .hero-marquee,
  .tech-marquee { overflow-x: auto; scrollbar-width: none; }
  .hero-marquee::-webkit-scrollbar,
  .tech-marquee::-webkit-scrollbar { display:none; }
  .tech-logo-card { transition:none !important; }
}
