/* FM Tigrotto, rodada 3: hero de transmissao, estadios, guia de instalacao. Carregar por ultimo. */

/* chip do BepInEx clicavel por cima do link do cartao */
.chip.bep { position: relative; z-index: 6; background: transparent; box-shadow: inset 0 0 0 1px #3a3a3a; color: #cfcec7; transition: all .2s; }
.chip.bep:hover { box-shadow: inset 0 0 0 1px var(--y); color: var(--y); }

/* ---------- Hero menor, com "transmissao" ---------- */
.hero2 { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); isolation: isolate; }
.hero2::before { content: ""; position: absolute; width: 760px; height: 760px; right: -120px; top: 50%; margin-top: -380px; z-index: -1;
  border-radius: 50%; border: 2px solid rgba(255, 255, 255, .045); box-shadow: inset 0 0 0 120px rgba(250, 205, 3, .015); }
.hero2::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: linear-gradient(90deg, transparent, var(--y-line), transparent); }
.hero2 .wrap { display: grid; grid-template-columns: .92fr 1.08fr; gap: 54px; align-items: center; padding: 54px 0 58px; }
.hero2 h1 { font-size: clamp(36px, 4.3vw, 58px); letter-spacing: -.03em; margin-top: 18px; }
.flip { display: inline-grid; height: 1.05em; overflow: hidden; vertical-align: bottom; color: var(--y); }
.flip span { grid-area: 1 / 1; transform: translateY(105%); opacity: 0; transition: transform .55s cubic-bezier(.7, 0, .2, 1), opacity .3s; white-space: nowrap; }
.flip span.on { transform: none; opacity: 1; }
.flip span.out { transform: translateY(-105%); opacity: 0; }
.hero2 .lead { font-size: 17.5px; color: #c9c8c0; margin: 18px 0 26px; max-width: 520px; }
.hero2 .cta { display: flex; gap: 10px; flex-wrap: wrap; }
.quick { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 26px; }
.quick button { height: 34px; padding: 0 13px; border-radius: 8px; border: 1px solid var(--line); background: var(--s1); font-size: 13.5px; font-weight: 600; color: #cfcec7; transition: all .2s; }
.quick button:hover, .quick button.on { border-color: var(--y); color: var(--y); }
.quick span { align-self: center; font: 800 11px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--dim); margin-right: 4px; }

.tv { position: relative; display: block; aspect-ratio: 16/9; border-radius: 16px; overflow: hidden; background: #000; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 40px 80px -30px #000; }
.tv img.f { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .7s; }
.tv img.f.on { opacity: 1; animation: kb 6s linear both; }
@keyframes kb { from { transform: scale(1.0); } to { transform: scale(1.07); } }
.tv::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .55), transparent 28%, transparent 62%, rgba(0, 0, 0, .8)); pointer-events: none; }
.tv-bars { position: absolute; top: 12px; left: 14px; right: 14px; z-index: 3; display: flex; gap: 5px; }
.tv-bars i { flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .28); overflow: hidden; }
.tv-bars i b { display: block; height: 100%; width: 0; background: #fff; }
.tv-bars i.done b { width: 100%; }
.tv-bars i.on b { animation: barra var(--t, 5s) linear forwards; }
@keyframes barra { to { width: 100%; } }
/* placar de TV no canto, como numa transmissao */
.tv-bug { position: absolute; top: 28px; left: 14px; z-index: 3; display: flex; align-items: stretch; height: 34px; border-radius: 6px; overflow: hidden; font: 800 13px/1 var(--display); letter-spacing: .04em; box-shadow: 0 6px 20px rgba(0, 0, 0, .4); }
.tv-bug .lg { display: grid; place-items: center; width: 38px; background: #111; }
.tv-bug .lg img { width: 26px; }
.tv-bug .nm { display: flex; align-items: center; padding: 0 12px; background: var(--y); color: #111; text-transform: uppercase; }
.tv-bug .lv { display: flex; align-items: center; gap: 6px; padding: 0 10px; background: rgba(17, 17, 17, .92); color: #fff; font-size: 11px; letter-spacing: .12em; }
.tv-bug .lv::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #ff4b3a; animation: pisca 1.2s infinite; }
.tv-cap { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 3; display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.tv-cap b { font: 800 19px/1.2 var(--display); }
.tv-cap small { display: block; font: 500 13px var(--body); color: #cfcec7; margin-top: 4px; }
.tv-cap .go { flex: none; display: inline-flex; gap: 6px; align-items: center; height: 34px; padding: 0 14px; border-radius: 999px; background: rgba(255, 255, 255, .14); backdrop-filter: blur(6px); font: 700 13px var(--body); transition: background .2s; }
.tv:hover .tv-cap .go { background: var(--y); color: #111; }
.tv-cap .go svg { width: 14px; }

/* ---------- Estadios ---------- */
.st-tools { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 26px; }
.st-tools .filters button .fi { width: 18px; height: 13px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }
.st-tools .search { margin-left: auto; }
.st-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stc { border-radius: 16px; background: var(--s1); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; transition: border-color .25s, transform .3s, box-shadow .3s; }
.stc:hover { border-color: var(--y-line); transform: translateY(-4px); box-shadow: 0 26px 50px -25px #000; }
.car { position: relative; aspect-ratio: 16/9; background: #000; overflow: hidden; }
.car .track { display: flex; height: 100%; transition: transform .45s cubic-bezier(.3, .8, .2, 1); }
.car .track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.car .nav-b { position: absolute; top: 50%; z-index: 3; width: 38px; height: 38px; margin-top: -19px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .6); backdrop-filter: blur(6px); color: #fff; display: grid; place-items: center; opacity: 0; transition: opacity .2s, background .2s; }
.car .nav-b svg { width: 16px; }
.car .nav-b.p { left: 10px; } .car .nav-b.p svg { transform: rotate(180deg); }
.car .nav-b.n { right: 10px; }
.car .nav-b:hover { background: var(--y); color: #111; }
.stc:hover .nav-b, .car:focus-within .nav-b { opacity: 1; }
.car .cnt { position: absolute; left: 10px; bottom: 10px; z-index: 3; padding: 5px 8px; border-radius: 6px; background: rgba(0, 0, 0, .65); font: 700 11.5px/1 var(--body); font-variant-numeric: tabular-nums; }
.car .dn { position: absolute; top: 10px; right: 10px; z-index: 3; display: flex; padding: 3px; border-radius: 999px; background: rgba(0, 0, 0, .65); backdrop-filter: blur(6px); }
.car .dn button { height: 26px; padding: 0 10px; border-radius: 999px; border: 0; background: none; font: 700 11.5px var(--body); color: #cfcec7; }
.car .dn button.on { background: var(--y); color: #111; }
.car .dots { position: absolute; right: 12px; bottom: 13px; z-index: 3; display: flex; gap: 4px; }
.car .dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .4); transition: all .25s; }
.car .dots i.on { width: 16px; border-radius: 4px; background: var(--y); }
.stc .in { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.stc .ttl { display: flex; align-items: center; gap: 10px; }
.stc .ttl .fi { width: 26px; height: 19px; border-radius: 3px; flex: none; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12); }
.stc h3 { font-size: 18px; }
.stc .sub { font-size: 13.5px; color: var(--muted); margin-top: -4px; }
.stc .meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12.5px; color: var(--dim); }
.stc .meta b { color: #cfcec7; font-weight: 600; }
.stc .dl-row { display: flex; gap: 8px; align-items: center; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.stc .dl-row .btn { flex: 1; height: 42px; font-size: 14px; }
.stc .dl-row .alt { font-size: 12.5px; color: var(--dim); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.stc .dl-row .alt:hover { color: var(--y); }
.btn-off { background: var(--s3); color: var(--dim); cursor: default; }
.stc.req { border-style: dashed; align-items: center; justify-content: center; text-align: center; padding: 30px; gap: 14px; min-height: 360px; background: transparent; }
.stc.req:hover { transform: none; }
.stc.req .plus { width: 64px; height: 64px; border-radius: 50%; border: 2px dashed var(--y-line); display: grid; place-items: center; font: 900 30px/1 var(--display); color: var(--y); }
.stc.req p { color: var(--muted); font-size: 14.5px; max-width: 260px; }
.steps-line { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps-line div { display: flex; gap: 14px; padding: 20px; border-radius: 14px; background: var(--s1); border: 1px solid var(--line); }
.steps-line b { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--y); color: var(--y); display: grid; place-items: center; font: 900 15px/1 var(--display); }
.steps-line p { color: var(--muted); font-size: 14.5px; }
.steps-line p strong { display: block; color: var(--ink); font-size: 15.5px; margin-bottom: 2px; }
.steps-line a { color: var(--y); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Guia de instalacao (video com capitulos) ---------- */
.player { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 0; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: var(--s1); }
.player video { width: 100%; display: block; background: #000; aspect-ratio: 16/9; }
.chapters { display: flex; flex-direction: column; border-left: 1px solid var(--line); }
.chapters h4 { margin: 0; padding: 18px 20px 12px; font: 800 12px/1 var(--display); letter-spacing: .18em; text-transform: uppercase; color: var(--y); }
.chapters button { display: flex; gap: 14px; align-items: baseline; text-align: left; padding: 13px 20px; border: 0; border-left: 3px solid transparent; background: none; font-size: 14.5px; font-weight: 600; color: #cfcec7; transition: background .15s; }
.chapters button:hover { background: var(--s2); }
.chapters button.on { border-left-color: var(--y); background: var(--y-soft); color: var(--ink); }
.chapters button time { font: 700 12.5px ui-monospace, "Cascadia Mono", monospace; color: var(--dim); min-width: 34px; }
.chapters .meta { margin-top: auto; padding: 16px 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--dim); }
.os-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--s1); border: 1px solid var(--line); margin-bottom: 22px; }
.os-tabs button { height: 36px; padding: 0 18px; border-radius: 999px; border: 0; background: none; font-weight: 700; color: var(--muted); }
.os-tabs button.on { background: var(--y); color: #111; }
.os { display: none; } .os.on { display: block; }
.mac-t { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 14.5px; border-radius: 12px; overflow: hidden; }
.mac-t th, .mac-t td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; }
.mac-t th { background: #0e0e0e; font: 800 11.5px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.mac-t td code { font: 600 13px ui-monospace, "Cascadia Mono", monospace; color: #e6e2c6; }
.note { display: flex; gap: 12px; padding: 16px 18px; border-radius: 12px; background: rgba(250, 205, 3, .07); border: 1px solid var(--y-line); color: #e9e4c4; font-size: 14.5px; margin-top: 16px; }
.note b { color: var(--y); }
.uses { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.uses a { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 10px; border-radius: 14px; background: var(--s1); border: 1px solid var(--line); text-align: center; font-weight: 700; font-size: 14px; transition: border-color .2s; }
.uses a:hover { border-color: var(--y); }
.uses img, .uses .ico { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--y-line); background: #000; padding: 6px; object-fit: contain; }
.uses .ico { display: grid; place-items: center; padding: 0; font: 900 14px/1 var(--display); color: var(--y); }

@media (max-width: 1000px) {
  .hero2 .wrap, .player { grid-template-columns: 1fr; }
  .chapters { border-left: 0; border-top: 1px solid var(--line); }
  .st-grid, .steps-line { grid-template-columns: 1fr 1fr; }
  .uses { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) { .st-grid, .steps-line { grid-template-columns: 1fr; } }
.stc.hide { display: none; }

@media (max-width: 1560px) { .find { min-width: 0; } .find span, .find kbd { display: none; } }
@media (max-width: 1300px) { .btn-coffee .t { display: none; } }
