/* ==========================================================================
   SunTeam v2 — Home additions: campaign slider + SunTeam units (banners of the previous home)
   ========================================================================== */

/* ---------- campaign slider ---------- */
.h-slider { position: relative; border-radius: 30px; overflow: hidden; box-shadow: var(--sh-2); background: var(--surface-sunk); }
.car-track { position: relative; direction: ltr; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.car-track::-webkit-scrollbar { display: none; }
.car-slide { direction: rtl; flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 3 / 1; display: block; }
.car-slide img { width: 100%; height: 100%; object-fit: cover; }
.car-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.85); backdrop-filter: blur(8px); color: var(--ink-900); box-shadow: var(--sh-2); opacity: 0; transition: opacity .25s, transform .25s; }
.h-slider:hover .car-btn { opacity: 1; }
.car-btn.prev { right: 14px; }
.car-btn.next { left: 14px; }
.car-dots { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; padding: 6px 10px; border-radius: var(--r-pill); background: rgba(17,19,24,.35); backdrop-filter: blur(8px); direction: ltr; }
.car-dots button { width: 8px; height: 8px; border-radius: 8px; background: rgba(255,255,255,.55); transition: all .3s var(--ease); }
.car-dots button.is-active { width: 24px; background: var(--sun-400); }
@media (max-width: 760px) { .h-slider { border-radius: 20px; } .car-slide { aspect-ratio: 2.4 / 1; } .car-btn { display: none; } }

/* slideshow sits first on the page, right under the header */
.home-slider-wrap { padding: 8px 0 4px; }
.home-slider-wrap + .hero { padding-top: 12px; }


/* ===== Hero: SunTeam introduction ===== */
.hero-intro .h-display { font-size: clamp(1.35rem, 1.05rem + 1vw, 1.75rem); }
.hero-motto { display: inline-flex; align-items: center; gap: 10px; margin: -6px 0 0; font-size: var(--fs-lg); font-weight: 800; color: var(--text); }
.hero-motto .ic { color: var(--sun-500); width: 28px; height: 28px; animation: spin-slow 18s linear infinite; }
.hero-intro .lead { max-width: 560px; margin: 0; font-size: 1.06rem; }
.hero-play .ic, .bw-ico .ic { fill: currentColor; }
.hero-sub { max-width: 560px; margin: -8px 0 0; color: var(--text-2); line-height: 2; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-tags span { padding: 4px 12px; border-radius: 999px; background: var(--sun-50, rgba(255,212,0,.12)); color: var(--accent-ink); font-size: var(--fs-xs); font-weight: 700; border: 1px solid rgba(255,212,0,.35); }
.hero-intro .hero-cta { align-items: center; }

/* "watch video" button next to the CTA */
.btn-watch { display: inline-flex; align-items: center; gap: 12px; padding: 6px 6px 6px 18px; border: 0; background: none; cursor: pointer; font: inherit; font-weight: 800; color: var(--text); text-align: start; }
.btn-watch small { display: block; font-weight: 500; font-size: var(--fs-xs); color: var(--text-3); }
.bw-ico { position: relative; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--sun-500); color: #111318; box-shadow: 0 10px 26px -8px rgba(255,190,0,.8); transition: transform .3s var(--ease); animation: pulse-ring 2.2s ease-out infinite; }
.bw-ico .ic { width: 20px; height: 20px; margin-inline-start: 3px; }
.btn-watch:hover .bw-ico { transform: scale(1.08); }

/* left visual: livelier + gentle floating chips */
.hero-glow { position: absolute; inset: 12%; border-radius: 50%; background: radial-gradient(circle, rgba(255,212,0,.45), rgba(255,212,0,0) 68%); filter: blur(10px); animation: breathe 6s ease-in-out infinite; }
.hero-orbit { position: absolute; inset: 3%; border-radius: 50%; border: 1.5px dashed rgba(17,19,24,.12); animation: spin-slow 60s linear infinite reverse; }
.hero-orbit i { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: var(--sun-500); box-shadow: 0 0 0 5px rgba(255,212,0,.22); }
.hero-orbit i:nth-child(1) { top: -6px; left: 50%; }
.hero-orbit i:nth-child(2) { bottom: 14%; left: 4%; width: 9px; height: 9px; background: var(--mint); box-shadow: 0 0 0 5px rgba(0,180,140,.18); }
.hero-orbit i:nth-child(3) { top: 30%; right: -4px; width: 8px; height: 8px; }
[data-theme="dark"] .hero-orbit { border-color: rgba(255,255,255,.14); }

.hero-play { position: absolute; z-index: 5; top: 50%; left: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; color: #111318; background: rgba(255,255,255,.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 18px 40px -12px rgba(17,19,24,.35); transition: transform .35s var(--ease); }
.hero-play::before, .hero-play::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid rgba(255,212,0,.75); animation: ripple 2.6s ease-out infinite; }
.hero-play::after { animation-delay: 1.3s; }
.hero-play .ic { width: 30px; height: 30px; margin-inline-start: 4px; padding: 0; position: relative; z-index: 1; }
.hero-play:hover { transform: scale(1.1); }
.hero-play:hover .ic { color: var(--accent-ink); }

.hero-intro .float-card, .hero-intro .mini-prod { animation: bob 6s ease-in-out infinite; will-change: transform; }
.hero-intro .float-card.f1 { animation-delay: 0s; }
.hero-intro .float-card.f2 { animation-delay: -1.6s; animation-duration: 7s; }
.hero-intro .float-card.f3 { top: 18%; inset-inline-end: -4%; inset-inline-start: auto; animation-delay: -3s; animation-duration: 6.5s; }
.hero-intro .float-card.f4 { top: 56%; inset-inline-start: -8%; animation-delay: -4.2s; animation-duration: 7.5s; }
.hero-intro .mini-prod.m1 { top: 40%; animation-delay: -2.2s; animation-duration: 8s; }
.hero-intro .mini-prod.m2 { bottom: 12%; inset-inline-start: 4%; animation-delay: -.8s; animation-duration: 7s; }

@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes breathe { 0%, 100% { transform: scale(.94); opacity: .75; } 50% { transform: scale(1.06); opacity: 1; } }
@keyframes ripple { 0% { transform: scale(.85); opacity: 1; } 100% { transform: scale(1.45); opacity: 0; } }

@media (max-width: 960px) {
  .hero-intro .hero-copy { text-align: center; align-items: center; }
  .hero-tags { justify-content: center; }
  .hero-intro .float-card.f4 { inset-inline-start: -2%; }
  .hero-intro .float-card.f3 { inset-inline-end: 0; }
}
@media (max-width: 560px) {
  .hero-intro .float-card { padding: 7px 10px; font-size: var(--fs-xs); }
  .hero-intro .float-card .fc-ico { width: 28px; height: 28px; }
  .hero-intro .float-card.f3, .hero-intro .mini-prod { display: none; }
  .hero-play { width: 66px; height: 66px; margin: -33px 0 0 -33px; }
  .btn-watch { flex: 1; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-intro .float-card, .hero-intro .mini-prod, .hero-glow, .hero-orbit, .hero-play::before, .hero-play::after, .bw-ico, .hero-motto .ic { animation: none; }
}


/* ===== News ticker (between slideshow and ecosystem): vertical slider, one headline at a time ===== */
.ticker-wrap { padding: 10px 0 4px; }
.ticker { display: flex; align-items: center; gap: 12px; height: 58px; padding: 6px; border-radius: 20px; background: #111318; color: #fff; box-shadow: 0 16px 34px -22px rgba(17,19,24,.6); }
.tk-label { flex: none; display: flex; align-items: center; gap: 10px; height: 100%; padding-inline: 8px 16px; border-radius: 14px; background: var(--sun-400); color: #111318; font-weight: 900; font-size: var(--fs-sm); position: relative; }
.tk-label::after { content: ""; position: absolute; inset-inline-end: -9px; top: 50%; margin-top: -9px; border: 9px solid transparent; border-inline-start-color: var(--sun-400); border-inline-end: 0; }
.tk-ico { position: relative; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: #111318; color: var(--sun-400); }
.tk-ico .ic { animation: tk-ring 2.6s ease-in-out infinite; transform-origin: 50% 10%; }
.tk-live { position: absolute; top: -3px; right: -3px; width: 10px; height: 10px; border-radius: 50%; background: #F04438; box-shadow: 0 0 0 2px var(--sun-400); animation: pulse-ring 1.6s infinite; }
.tk-viewport { position: relative; flex: 1; min-width: 0; height: 100%; overflow: hidden; }
.tk-list { list-style: none; margin: 0; padding: 0; position: relative; height: 100%; }
.tk-item { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; transform: translateY(100%); transition: transform .6s cubic-bezier(.2,.8,.2,1), opacity .6s; pointer-events: none; }
.tk-item.is-on { opacity: 1; transform: none; pointer-events: auto; }
.tk-item.is-out-up { opacity: 0; transform: translateY(-100%); }
.tk-item.is-out-down { opacity: 0; transform: translateY(100%); }
.tk-item.is-in-down { opacity: 0; transform: translateY(-100%); transition: none; }
.tk-list a { display: flex; align-items: center; gap: 10px; min-width: 0; max-width: 100%; padding: 6px 10px; border-radius: 12px; color: rgba(255,255,255,.92); font-size: var(--fs-sm); transition: background .2s; }
.tk-list a:hover { background: rgba(255,255,255,.08); }
.tk-list a:hover .tk-title { text-decoration: underline; text-decoration-color: var(--sun-400); text-underline-offset: 5px; }
.tk-cat { flex: none; padding: 2px 9px; border-radius: 999px; font-size: 11px; font-weight: 800; }
.tk-cat.in { background: rgba(255,212,0,.16); color: var(--sun-400); }
.tk-cat.gen { background: rgba(79,195,247,.16); color: #7DD3FC; }
.tk-title { min-width: 0; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tk-list time { flex: none; display: inline-flex; align-items: center; gap: 4px; padding-inline-end: 10px; border-inline-end: 1px solid rgba(255,255,255,.14); font-size: var(--fs-xs); color: rgba(255,255,255,.55); }
.tk-progress { position: absolute; inset-inline: 10px; bottom: 2px; height: 2px; border-radius: 2px; background: rgba(255,255,255,.08); overflow: hidden; }
.tk-progress i { display: block; height: 100%; width: 100%; background: var(--sun-400); transform-origin: right; transform: scaleX(0); }
.tk-progress i.run { animation: tk-prog var(--tk-ms, 4500ms) linear forwards; }
.ticker.is-paused .tk-progress i { animation-play-state: paused; }
.tk-actions { flex: none; display: flex; align-items: center; gap: 6px; padding-inline-end: 4px; }
.tk-count { min-width: 44px; text-align: center; font-size: var(--fs-xs); color: rgba(255,255,255,.55); font-weight: 700; }
.tk-btn { width: 34px; height: 34px; border: 0; border-radius: 11px; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; cursor: pointer; transition: background .2s; }
.tk-btn:hover { background: var(--sun-400); color: #111318; }
.tk-up { transform: rotate(180deg); }
.tk-all { display: inline-flex; align-items: center; gap: 4px; height: 34px; padding-inline: 12px; border-radius: 11px; background: rgba(255,255,255,.08); color: #fff; font-size: var(--fs-xs); font-weight: 800; white-space: nowrap; }
.tk-all:hover { background: var(--sun-400); color: #111318; }
@keyframes tk-ring { 0%, 70%, 100% { transform: rotate(0); } 75% { transform: rotate(14deg); } 80% { transform: rotate(-12deg); } 85% { transform: rotate(8deg); } 90% { transform: rotate(-4deg); } }
@keyframes tk-prog { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .tk-item { transition: opacity .2s; transform: none !important; } .tk-ico .ic, .tk-live { animation: none; } }
@media (max-width: 760px) {
  .ticker { height: 52px; gap: 8px; border-radius: 16px; }
  .tk-label b, .tk-all, .tk-count, .tk-list time { display: none; }
  .tk-label { padding-inline: 4px 8px; }
  .tk-btn { width: 30px; height: 30px; }
}
