/* ==========================================================================
   DynStream — realistic hero: real photos (slow cinematic zoom, cross-fade)
   with glass cards that explain each part, a story bar, and photo tiles.
   ========================================================================== */
.rh { position: relative; min-height: min(92vh, 860px); color: #fff; overflow: hidden; background: #05122A; display: flex; align-items: center; padding: calc(var(--nav-h) + 30px) 0 120px; }
.rh__slides { position: absolute; inset: 0; }
.rh__img { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.rh__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); }
.rh__img.is-on { opacity: 1; }
.rh__img.is-on img { animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.02) translate(0, 0); } to { transform: scale(1.14) translate(-1.5%, -1%); } }
.rh::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(4,12,30,.92) 0%, rgba(4,12,30,.74) 38%, rgba(4,12,30,.2) 70%, rgba(4,12,30,.38) 100%), linear-gradient(0deg, rgba(4,12,30,.85) 0%, transparent 30%); }
.rh__inner { position: relative; z-index: 2; width: 100%; }
.rh__copy { max-width: 640px; }
.rh__copy h1 { font-family: var(--font-display); font-size: clamp(2.2rem, 4.6vw, 3.9rem); line-height: 1.06; letter-spacing: -.035em; font-weight: 800; margin: 16px 0 0; text-shadow: 0 2px 30px rgba(0,0,0,.35); }
.rh__copy h1 em { font-style: normal; background: linear-gradient(100deg, #4DA3FF 0%, #6FD9A8 70%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rh__what { margin: 22px 0 0; display: grid; gap: 10px; padding: 0; list-style: none; font-size: 1.05rem; color: #DCE6F5; }
.rh__what li { display: flex; gap: 12px; align-items: center; }
.rh__what b { color: #fff; }
.rh__what .ic { width: 34px; height: 34px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); flex: 0 0 auto; backdrop-filter: blur(6px); }
.rh__what .ic .icon { width: 18px; height: 18px; color: #6FD9A8; }

/* Glass cards per slide */
.rh__cards { position: absolute; z-index: 2; right: var(--gutter); top: 50%; transform: translateY(-50%); width: min(380px, 32vw); height: 430px; pointer-events: none; }
.rh__set { position: absolute; inset: 0; }
.gc { position: absolute; border-radius: 18px; padding: 15px 17px; color: #fff; background: rgba(10, 22, 48, .55); border: 1px solid rgba(255,255,255,.18); box-shadow: 0 30px 60px -24px rgba(0,0,0,.6); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); opacity: 0; transform: translateY(18px) scale(.98); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.rh__set.is-on .gc { opacity: 1; transform: none; }
.rh__set.is-on .gc:nth-child(2) { transition-delay: .35s; }
.rh__set.is-on .gc:nth-child(3) { transition-delay: .7s; }
.gc small { display: block; color: #A9BCD9; font-size: .78rem; font-weight: 600; }
.gc b { font-family: var(--font-display); }
.gc__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 700; padding: 5px 0; }
.gc__row + .gc__row { border-top: 1px solid rgba(255,255,255,.12); }
.gc__score { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; }
.gc .live-badge { position: static; display: inline-flex; }
.gc__big { font-family: var(--font-display); font-size: 2rem; font-weight: 800; line-height: 1.1; }
.gc__btn { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 99px; font-size: .8rem; font-weight: 800; background: #25D366; color: #fff; }
.gc__btn--w { background: #fff; color: var(--ink); }
.gc .flag { display: inline-block; width: 16px; height: 11px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }
.count-up { font-variant-numeric: tabular-nums; }

/* Story bar */
.rh__bar { position: absolute; z-index: 3; left: 0; right: 0; bottom: 26px; }
.rh__tabs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; list-style: none; padding: 0; margin: 0; }
.rh__tab { width: 100%; text-align: left; background: none; border: 0; color: #B9C7DD; font: inherit; font-weight: 700; font-size: .9rem; cursor: pointer; padding: 12px 0 0; position: relative; }
.rh__tab::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; border-radius: 3px; background: rgba(255,255,255,.2); }
.rh__tab i { position: absolute; top: 0; left: 0; height: 3px; width: 0; border-radius: 3px; background: linear-gradient(90deg, #4DA3FF, #6FD9A8); }
.rh__tab.is-on { color: #fff; }
.rh__tab.is-on i { animation: rhbar var(--rh-ms, 7000ms) linear forwards; }
.rh__tab.is-done i { width: 100%; }
.rh.is-paused .rh__tab.is-on i { animation-play-state: paused; }
@keyframes rhbar { to { width: 100%; } }
.rh__tab small { display: block; font-weight: 500; color: #8FA3C4; font-size: .78rem; margin-top: 2px; }

/* Single-photo hero (feature pages) */
.rh--single .rh__img { opacity: 1; }
.rh--single .rh__img img { animation: kenburns 14s ease-out forwards; }
.rh--single { padding-bottom: 80px; }

/* Photo tiles */
.tile__art--photo { background: #05122A; }
.tile__art--photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile:hover .tile__art--photo > img { transform: scale(1.06); }
.tile__art--photo::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(4,12,30,.05), rgba(4,12,30,.6)); }
.tile__art--photo > :not(img) { z-index: 2; }
.ov { position: absolute; z-index: 2; }
.tile__art--photo .tile__tag { display: none; }

/* Photo band ("what your players see") */
.pband { position: relative; border-radius: 26px; overflow: hidden; aspect-ratio: 21 / 9; box-shadow: 0 40px 80px -40px rgba(0,0,0,.6); }
.pband > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pband::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,12,30,.6), transparent 55%), linear-gradient(0deg, rgba(4,12,30,.55), transparent 40%); }
.pband > :not(img) { position: absolute; z-index: 2; }

@media (prefers-reduced-motion: reduce) {
  .rh__img.is-on img, .rh--single .rh__img img { animation: none; }
  .gc { transition: none; }
}
@media (max-width: 900px) {
  .rh { min-height: auto; padding-bottom: 30px; flex-direction: column; align-items: stretch; }
  .rh__cards { position: relative; right: auto; top: auto; transform: none; width: 100%; height: auto; margin-top: 24px; }
  .rh__set { position: relative; inset: auto; display: none; flex-direction: column; gap: 10px; }
  .rh__set.is-on { display: flex; }
  .gc { position: relative !important; left: auto !important; right: auto !important; top: auto !important; bottom: auto !important; width: auto !important; }
  .gc:nth-child(3) { display: none; }
  .rh__bar { position: relative; bottom: auto; margin-top: 18px; }
  .rh__tabs { gap: 8px; }
  .rh__tab { font-size: .7rem; } .rh__tab small { display: none; }
  .rh::before { background: linear-gradient(180deg, rgba(4,12,30,.86) 0%, rgba(4,12,30,.66) 55%, rgba(4,12,30,.92) 100%); }
  .pband { aspect-ratio: 4 / 3; }
}
