/* Camadas decorativas, hero, "como funciona", lobby e rodapé */

/* ---------------------------------------------------------- Fundo ambiente */
main, .site-footer { position: relative; z-index: 1; }
.ambient { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.ambient-art {
  position: absolute; inset: -40px; background-size: cover; background-position: center 25%;
  filter: blur(26px) saturate(1.2); opacity: .22; transform: scale(1.1);
}
.ambient-hex {
  position: absolute; inset: 0; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='98' viewBox='0 0 56 98'%3E%3Cpath d='M28 66L0 50V16L28 0l28 16v34L28 66zm0 32L0 82V66l28 16 28-16v16L28 98z' fill='none' stroke='%23c8aa6e' stroke-opacity='.09' stroke-width='1'/%3E%3C/svg%3E");
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse at 50% 30%, #000 0%, transparent 75%);
}
.ambient-glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(600px 400px at 12% 18%, rgba(10, 200, 185, .10), transparent 70%),
    radial-gradient(700px 500px at 88% 70%, rgba(200, 170, 110, .10), transparent 70%),
    linear-gradient(180deg, rgba(7, 11, 16, .2), rgba(7, 11, 16, .85));
}
.embers i {
  position: absolute; bottom: -10px; border-radius: 50%;
  background: #f3c77a; box-shadow: 0 0 8px 2px rgba(243, 160, 70, .7);
  opacity: 0; animation: ember linear infinite;
}
.embers i:nth-child(3n) { background: #7ff3e8; box-shadow: 0 0 8px 2px rgba(10, 200, 185, .6); }
@keyframes ember {
  0% { transform: translate(0, 0); opacity: 0; }
  10% { opacity: .8; }
  70% { opacity: .5; }
  100% { transform: translate(40px, -105vh); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .embers { display: none; }
  .profile-bg, .hero-art { animation: none !important; }
}

/* ---------------------------------------------------------- Cabeçalho */
.brand-text { display: flex; flex-direction: column; line-height: 1.1; font-family: var(--serif); font-size: 18px; color: var(--gold-light); letter-spacing: .08em; }
.brand-text small { font-family: var(--sans); font-size: 10px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.site-header nav a.nav-cta { border: 1px solid var(--gold); color: var(--gold-light); margin-left: 6px; }
.site-header nav a.nav-cta:hover { background: rgba(200, 170, 110, .14); }
@media (max-width: 560px) { .brand .brand-text { display: none; } }

/* ---------------------------------------------------------- Hero */
.btn-lg { padding: 14px 28px; font-size: 16px; }
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); min-height: 560px; display: flex; align-items: center; }
.hero-art {
  position: absolute; inset: 0; background-size: cover; background-position: 70% 20%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .35) 30%, #000 70%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .35) 30%, #000 70%);
  animation: slowzoom 30s ease-in-out infinite alternate;
}
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 11, 16, .1) 60%, var(--bg) 100%), linear-gradient(90deg, rgba(7, 11, 16, .85) 0%, rgba(7, 11, 16, .2) 70%); }
.hero-inner { position: relative; z-index: 1; width: min(1200px, 100%); margin: 0 auto; padding: 70px clamp(16px, 4vw, 48px); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: .25em; text-transform: uppercase; color: var(--gold); }
.diamond { width: 8px; height: 8px; background: var(--gold); transform: rotate(45deg); box-shadow: 0 0 10px var(--gold); }
.hero h1 { font-family: var(--serif); font-size: clamp(34px, 6vw, 64px); line-height: 1.05; margin: 18px 0; color: var(--gold-light); letter-spacing: .02em; text-shadow: 0 4px 30px rgba(0, 0, 0, .6); }
.hero h1 em { font-family: var(--display); font-weight: 700; color: #fff; font-size: .72em; }
.hero-lead { max-width: 560px; font-size: 17px; color: #c9cdd2; margin: 0 0 30px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 560px) {
  .hero { min-height: 0; }
}

/* ---------------------------------------------------------- Títulos ornamentados */
.ornament-title { display: flex; align-items: center; gap: 18px; margin-bottom: 10px; }
.ornament-title h2 { font-family: var(--serif); font-size: clamp(22px, 3vw, 30px); color: var(--gold-light); margin: 0; letter-spacing: .06em; text-align: center; }
.ornament-title span { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-dark), var(--gold)); position: relative; }
.ornament-title span:last-child { background: linear-gradient(90deg, var(--gold), var(--gold-dark), transparent); }
.ornament-title span::after { content: ''; position: absolute; top: -4px; width: 8px; height: 8px; border: 1px solid var(--gold); transform: rotate(45deg); background: var(--bg); }
.ornament-title span:first-child::after { right: 0; }
.ornament-title span:last-child::after { left: 0; }
.section-lead { text-align: center; color: var(--muted); margin: 0 auto 26px; max-width: 620px; }

/* ---------------------------------------------------------- Como funciona */
.steps-section { padding-top: 64px; padding-bottom: 20px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; margin-top: 30px; }
.step {
  position: relative; padding: 28px 24px 24px; border-radius: 12px; overflow: hidden;
  background: linear-gradient(180deg, rgba(20, 30, 42, .85), rgba(10, 16, 22, .85));
  border: 1px solid var(--line); transition: border-color .2s, transform .2s;
}
.step::before { content: ''; position: absolute; top: 0; left: 24px; right: 24px; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.step:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.step-icon { width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid var(--gold); transform: rotate(45deg); margin: 6px 0 22px 6px; background: rgba(200, 170, 110, .08); }
.step-icon svg { width: 24px; height: 24px; transform: rotate(-45deg); fill: none; stroke: var(--gold-light); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.step-num { position: absolute; top: 14px; right: 20px; font-family: var(--serif); font-size: 46px; color: rgba(200, 170, 110, .12); font-weight: 700; }
.step h3 { font-family: var(--serif); color: var(--gold-light); margin: 0 0 8px; font-size: 19px; letter-spacing: .03em; }
.step p { color: #b5bcc4; margin: 0 0 16px; font-size: 14.5px; }
.step b { color: var(--gold-light); }
.step-link { font-size: 14px; font-weight: 600; color: var(--teal); }
.step-link:hover { text-decoration: underline; }
.plus { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 5px; border: 1px solid var(--teal); color: var(--teal) !important; font-weight: 800; line-height: 1; vertical-align: middle; }

/* ---------------------------------------------------------- Lobby */
.lobby-section { padding-top: 60px; scroll-margin-top: 70px; }
.lobby-panel { padding: 18px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); margin-bottom: 22px; }
.lobby-panel .toolbar { margin: 14px 0 12px; }
.lane-coverage { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.lane-pill {
  display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 8px; cursor: pointer;
  border: 1px solid var(--line); background: rgba(0, 0, 0, .3); color: var(--text); transition: all .15s;
}
.lane-pill img { width: 22px; height: 22px; }
.lane-pill span { font-weight: 600; font-size: 14px; }
.lane-pill b { margin-left: auto; min-width: 24px; padding: 1px 7px; border-radius: 999px; background: rgba(200, 170, 110, .15); color: var(--gold-light); font-size: 13px; text-align: center; }
.lane-pill:hover { border-color: var(--line-strong); }
.lane-pill.on { border-color: var(--gold); background: rgba(200, 170, 110, .14); box-shadow: inset 0 0 0 1px var(--gold); }
.lane-pill.empty-lane b { background: rgba(232, 84, 90, .15); color: #ffb3b6; }
@media (max-width: 720px) {
  .lane-pill { flex-direction: column; gap: 4px; padding: 8px 4px; }
  .lane-pill span { font-size: 11px; }
  .lane-pill b { margin: 0; }
}
.legend { display: flex; gap: 22px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.legend > span { display: inline-flex; align-items: center; gap: 8px; }
.legend-key { padding: 1px 8px; border-radius: 4px; border: 1px solid var(--line-strong); color: var(--gold-light); font-weight: 600; font-size: 12px; }
.legend-key.plus { padding: 0; }

/* barra de seleção com progresso */
.sel-info { display: flex; flex-direction: column; gap: 4px; }
.sel-info small { color: var(--muted); font-size: 12px; }
.sel-dots { display: flex; gap: 4px; }
.sel-dots i { width: 12px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .12); }
.sel-dots i.on { background: var(--teal); box-shadow: 0 0 6px var(--teal); }

/* cantos dourados nas seções do formulário */
.section { position: relative; }
.section::before, .section::after { content: ''; position: absolute; width: 14px; height: 14px; border-color: var(--gold); border-style: solid; opacity: .7; }
.section::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; border-top-left-radius: var(--radius); }
.section::after { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; border-bottom-right-radius: var(--radius); }

/* ---------------------------------------------------------- Rodapé */
.site-footer { border-top: 1px solid var(--line); background: rgba(7, 11, 16, .85); margin-top: 40px; }
.footer-inner { width: min(1200px, 100%); margin: 0 auto; padding: 28px clamp(16px, 4vw, 48px); display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.footer-inner p { margin: 0; max-width: 640px; font-size: 12px; color: var(--muted); }

/* ---------------------------------------------------------- Emblemas de elo
   As imagens da Riot são 16:9 com o emblema pequeno no centro: recorta em quadrado e amplia. */
.card-rank img, .team-row img.emb, .queue img, .p-emblem {
  object-fit: cover; object-position: 50% 46%; transform: scale(2.2);
}
.p-emblem { width: clamp(110px, 13vw, 160px); height: clamp(110px, 13vw, 160px); margin: 18px 0 8px; }

/* ---------------------------------------------------------- Marca EDG */
.brand-logo { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; border: 1px solid var(--line-strong); box-shadow: 0 0 18px rgba(240, 180, 60, .25); }
.brand-text { font-size: 17px; letter-spacing: .04em; }
.hero-logo {
  display: block; width: clamp(96px, 12vw, 140px); height: clamp(96px, 12vw, 140px); margin-bottom: 22px;
  border-radius: 22px; object-fit: cover; border: 1px solid rgba(240, 190, 80, .55);
  box-shadow: 0 0 0 6px rgba(200, 170, 110, .08), 0 0 50px rgba(240, 170, 40, .35), 0 20px 40px rgba(0, 0, 0, .6);
  animation: logoglow 4s ease-in-out infinite alternate;
}
@keyframes logoglow { to { box-shadow: 0 0 0 6px rgba(200, 170, 110, .12), 0 0 80px rgba(240, 170, 40, .55), 0 20px 40px rgba(0, 0, 0, .6); } }
.footer-brand { display: flex; align-items: center; gap: 12px; }

/* ---------------------------------------------------------- Gerador automático */
.auto-gen {
  position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center;
  padding: 22px 24px; margin-bottom: 18px; border-radius: 12px; overflow: hidden;
  border: 1px solid rgba(240, 190, 80, .45);
  background: linear-gradient(110deg, rgba(200, 150, 50, .16), rgba(14, 22, 31, .9) 45%), var(--panel);
  box-shadow: 0 0 40px rgba(240, 170, 40, .08);
}
.auto-gen::after { content: ''; position: absolute; top: 0; left: -40%; width: 30%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255, 220, 140, .08), transparent); transform: skewX(-20deg); animation: shine 6s ease-in-out infinite; pointer-events: none; }
@keyframes shine { 0%, 60% { left: -40%; } 100% { left: 130%; } }
.auto-gen-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 12px; background: linear-gradient(180deg, #e8c46e, #9a7a3e); box-shadow: 0 0 24px rgba(240, 170, 40, .4); }
.auto-gen-icon svg { width: 28px; height: 28px; fill: #1a1308; }
.auto-gen-text h3 { margin: 0 0 4px; font-family: var(--serif); color: var(--gold-light); font-size: 19px; letter-spacing: .03em; }
.auto-gen-text p { margin: 0; color: #b5bcc4; font-size: 14px; }
.auto-gen-text b { color: var(--gold-light); }
.auto-gen-text small { display: block; margin-top: 6px; color: var(--gold); font-size: 12.5px; font-weight: 600; }
@media (max-width: 720px) { .auto-gen { grid-template-columns: 1fr; text-align: left; } .auto-gen .btn { width: 100%; } }

.balance { margin-bottom: 16px; padding: 14px 16px; border-radius: 10px; border: 1px solid var(--line); background: rgba(0, 0, 0, .3); }
.balance-meter { display: flex; align-items: center; gap: 12px; }
.balance-meter span { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--gold); }
.balance-meter .meter { flex: 1; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.balance-meter .meter i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #e8545a, #f3b562 40%, #4fd18b 80%); background-size: 400px 100%; }
.balance-meter b { font-family: var(--serif); font-size: 18px; color: var(--gold-light); min-width: 48px; text-align: right; }
.balance-facts { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 10px; font-size: 13px; color: var(--muted); }
.balance-facts b { color: var(--text); }

/* ---------------------------------------------------------- Configuração do draft (janela dos times) */
.draft-setup { margin-top: 18px; padding: 16px; border-radius: 10px; border: 1px solid rgba(240, 190, 80, .4); background: linear-gradient(110deg, rgba(200, 150, 50, .12), transparent 60%); display: flex; flex-direction: column; gap: 14px; }
.draft-setup-head h3 { margin: 0 0 4px; font-family: var(--serif); color: var(--gold-light); font-size: 18px; }
.draft-setup-head p { margin: 0; color: var(--muted); font-size: 14px; }

/* janela de login */
.login-box { width: min(420px, 100%); display: flex; flex-direction: column; gap: 14px; }
.login-box h2 { margin: 0; font-family: var(--serif); color: var(--gold-light); }
.login-box .hint { margin: -6px 0 0; }
.login-who { padding: 12px 14px; border-radius: 8px; border: 1px solid var(--line-strong); background: rgba(0, 0, 0, .3); font-weight: 700; font-size: 18px; color: #fff; }
.login-who small { font-weight: 500; font-size: 13px; color: var(--muted); margin-left: 3px; }

/* ---------------------------------------------------------- Conta no cabeçalho */
.site-header nav { align-items: center; }
.nav-login { padding: 8px 16px; margin-left: 6px; border-radius: 6px; border: 1px solid #e3c88f; background: linear-gradient(180deg, #c8aa6e, #9a7a3e); color: #10141a; font-weight: 700; font-size: 14px; cursor: pointer; transition: background .15s, transform .1s; }
.nav-login:hover { background: linear-gradient(180deg, #d9bd84, #a8884a); }
.nav-login:active { transform: translateY(1px); }
.account-menu { position: relative; margin-left: 6px; }
.account-menu summary {
  list-style: none; display: flex; align-items: center; gap: 8px; cursor: pointer;
  padding: 7px 14px; border-radius: 6px; border: 1px solid var(--gold); color: var(--gold-light); font-weight: 600; font-size: 14px;
}
.account-menu summary::-webkit-details-marker { display: none; }
.account-menu summary::after { content: '▾'; font-size: 11px; opacity: .8; }
.account-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--win); box-shadow: 0 0 6px var(--win); }
.account-pop {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 190px; z-index: 50;
  display: flex; flex-direction: column; padding: 6px; border-radius: 10px;
  background: var(--bg-2); border: 1px solid var(--line-strong); box-shadow: 0 18px 40px rgba(0, 0, 0, .6);
}
.account-pop a, .account-pop button { text-align: left; padding: 9px 12px; border-radius: 6px; border: none; background: none; color: var(--text); font-size: 14px; cursor: pointer; }
.account-pop a:hover, .account-pop button:hover { background: rgba(200, 170, 110, .12); color: var(--gold-light); }
.account-pop button { color: #ffb3b6; }

/* ---------------------------------------------------------- Ranking */
.ranking-section { padding-top: 60px; scroll-margin-top: 70px; }
.rank-table { border-radius: 12px; border: 1px solid var(--line); background: var(--panel); overflow: hidden; }
.rank-row {
  display: grid; grid-template-columns: 56px minmax(0, 2.2fr) minmax(0, 1.4fr) 90px 100px 90px; align-items: center; gap: 10px;
  padding: 10px 18px; border-top: 1px solid rgba(255, 255, 255, .05); transition: background .15s;
}
a.rank-row:hover { background: rgba(200, 170, 110, .07); }
.rank-head { border-top: none; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--gold); background: rgba(0, 0, 0, .3); }
.rank-pos { font-family: var(--serif); font-size: 20px; color: var(--muted); text-align: center; }
.rank-who { display: flex; align-items: center; gap: 10px; min-width: 0; }
.rank-who img { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-strong); flex: none; }
.rank-who b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rank-who small { color: var(--muted); font-size: 12px; }
.rank-who em { font-style: normal; font-size: 10px; font-weight: 800; text-transform: uppercase; padding: 1px 6px; border-radius: 4px; background: var(--teal); color: #032; }
.rank-elo { display: flex; align-items: center; gap: 4px; font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; }
.rank-elo img { width: 34px; height: 34px; object-fit: cover; object-position: 50% 46%; transform: scale(2.2); margin: 0 6px 0 2px; }
.rank-pts { font-family: var(--serif); font-size: 22px; color: var(--gold-light); }
.rank-wl, .rank-wr { font-size: 14px; color: var(--text); }
.rank-row.top1 .rank-pos { color: #f5c542; text-shadow: 0 0 12px rgba(245, 197, 66, .6); }
.rank-row.top2 .rank-pos { color: #d7dde4; }
.rank-row.top3 .rank-pos { color: #d08a4c; }
.rank-row.top1 { background: linear-gradient(90deg, rgba(245, 197, 66, .12), transparent 60%); }
.rank-row.me { box-shadow: inset 3px 0 0 var(--teal); }
@media (max-width: 720px) {
  .rank-row { grid-template-columns: 36px minmax(0, 1fr) 54px 64px; padding: 10px 12px; }
  .rank-elo, .rank-wr { display: none; }
  .rank-who img { width: 30px; height: 30px; }
}

/* ---------------------------------------------------------- Meus jogos */
.mg-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 20px; }
.mg-stat { padding: 12px 20px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); min-width: 110px; }
.mg-stat b { display: block; font-family: var(--serif); font-size: 26px; color: var(--gold-light); }
.mg-stat span { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.mg-tag { display: inline-block; padding: 1px 8px; border-radius: 4px; font-size: 11px; font-weight: 700; background: rgba(255, 255, 255, .08); color: var(--text); }
.mg-tag.win { background: rgba(79, 209, 139, .15); color: var(--win); }
.mg-tag.loss { background: rgba(232, 84, 90, .15); color: #ffb3b6; }
.mg-tag.live { background: rgba(10, 200, 185, .15); color: var(--teal); }
.mg-tag.cap { background: var(--gold); color: #111; }

/* ---------------------------------------------------------- Botão JOGAR (hero) */
.hero-cta { align-items: center; }
.play-btn {
  --gold-1: #f0d9a0; --gold-2: #c8aa6e; --gold-3: #785a28;
  position: relative; display: inline-flex; align-items: center; height: 68px; padding: 0; border: none; background: none; cursor: pointer;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .55));
  transition: transform .15s ease, filter .25s ease;
}
.play-btn:hover { transform: translateY(-1px); filter: drop-shadow(0 6px 22px rgba(10, 200, 185, .35)); }
.play-btn:active { transform: translateY(1px) scale(.99); }
.play-btn:focus-visible { outline: 2px solid var(--teal); outline-offset: 6px; border-radius: 40px; }

/* emblema redondo com anel dourado girando */
.play-emblem {
  position: relative; z-index: 2; width: 68px; height: 68px; flex: none; border-radius: 50%;
  display: grid; place-items: center; background: #050a0e;
}
.play-ring {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, var(--gold-3), var(--gold-1), var(--gold-2), var(--gold-3), #3a2c12, var(--gold-3));
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px));
  animation: play-spin 6s linear infinite;
}
.play-emblem::after {
  content: ''; position: absolute; inset: -6px; border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(200, 170, 110, .35), 0 0 18px rgba(10, 200, 185, .25);
  animation: play-pulse 2.4s ease-in-out infinite;
}
.play-emblem img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; position: relative; z-index: 1; transition: transform .3s ease; }
.play-btn:hover .play-emblem img { transform: scale(1.06) rotate(-4deg); }
.play-btn:hover .play-ring { animation-duration: 1.6s; }

/* barra com ponta de seta: camada dourada (borda) + camada azul (recheio) */
.play-bar {
  position: relative; z-index: 1; margin-left: -20px; height: 50px; min-width: 200px;
  display: flex; align-items: center; padding: 0 44px 0 42px;
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 50%, calc(100% - 24px) 100%, 0 100%);
  background: linear-gradient(180deg, var(--gold-1), var(--gold-2) 45%, var(--gold-3));
}
.play-bar::before {
  content: ''; position: absolute; inset: 2px;
  clip-path: polygon(0 0, calc(100% - 23px) 0, 100% 50%, calc(100% - 23px) 100%, 0 100%);
  background: linear-gradient(180deg, #11303d, #0a1a24 55%, #071219);
  box-shadow: inset 0 0 18px rgba(10, 200, 185, .18);
  transition: background .25s ease;
}
.play-btn:hover .play-bar::before { background: linear-gradient(180deg, #17485a, #0e2b38 55%, #0a1d27); }
/* brilho passando pela barra */
.play-bar::after {
  content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255, 236, 190, .28), transparent);
  transform: skewX(-18deg); animation: play-shine 3.2s ease-in-out infinite;
}
.play-btn:hover .play-bar::after { animation-duration: 1.2s; }
.play-label {
  position: relative; z-index: 1; font-family: var(--serif); font-weight: 700; font-size: 20px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gold-light); text-shadow: 0 0 10px rgba(240, 217, 160, .35);
  transition: letter-spacing .25s ease, color .25s ease;
}
.play-btn:hover .play-label { letter-spacing: .2em; color: #fff; }

@keyframes play-spin { to { transform: rotate(360deg); } }
@keyframes play-pulse { 0%, 100% { opacity: .5; transform: scale(1); } 50% { opacity: 1; transform: scale(1.06); } }
@keyframes play-shine { 0%, 55% { left: -60%; } 100% { left: 120%; } }
@media (prefers-reduced-motion: reduce) {
  .play-ring, .play-emblem::after, .play-bar::after { animation: none; }
}

/* ---------------------------------------------------------- Top 5 no topo da página */
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: center; }
.hero-main { min-width: 0; }
.hero-top5 {
  padding: 16px; border-radius: 14px; border: 1px solid rgba(240, 190, 80, .4);
  background: linear-gradient(180deg, rgba(14, 22, 31, .82), rgba(7, 11, 16, .9));
  backdrop-filter: blur(8px); box-shadow: 0 20px 50px rgba(0, 0, 0, .55), 0 0 30px rgba(240, 170, 40, .08);
}
.top5-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.top5-head h2 { margin: 0; font-family: var(--serif); font-size: 17px; color: var(--gold-light); letter-spacing: .05em; }
.top5-sub { margin-left: auto; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.top5-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.top5-row a {
  display: grid; grid-template-columns: 22px 32px minmax(0, 1fr) auto; align-items: center; gap: 10px;
  padding: 6px 8px; border-radius: 8px; transition: background .15s;
}
.top5-row a:hover { background: rgba(200, 170, 110, .1); }
.top5-pos { font-family: var(--serif); font-size: 17px; color: var(--muted); text-align: center; }
.top5-row img, .top5-noimg { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .05); }
.top5-name { display: flex; flex-direction: column; min-width: 0; font-weight: 700; font-size: 14px; color: #fff; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top5-name small { font-weight: 500; font-size: 11px; color: var(--muted); }
.top5-pts { font-family: var(--serif); font-size: 19px; color: var(--gold-light); text-align: right; line-height: 1; }
.top5-pts small { display: block; font-family: var(--sans); font-size: 10px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.top5-row.pos1 .top5-pos { color: #f5c542; text-shadow: 0 0 10px rgba(245, 197, 66, .6); }
.top5-row.pos1 img { border-color: #f5c542; box-shadow: 0 0 10px rgba(245, 197, 66, .45); }
.top5-row.pos2 .top5-pos { color: #d7dde4; }
.top5-row.pos3 .top5-pos { color: #d08a4c; }
.top5-row.me a { box-shadow: inset 3px 0 0 var(--teal); }
.top5-empty { padding: 10px 6px; font-size: 13px; color: var(--muted); }
.top5-more { display: block; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--teal); text-align: center; }
.top5-more:hover { text-decoration: underline; }
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 28px; }
  .hero-top5 { max-width: 420px; }
}

/* Top 5 preso no canto direito da tela, para não cobrir a arte do campeão */
.hero-inner { display: block; }
.hero-top5 {
  position: absolute; z-index: 2; right: clamp(12px, 2vw, 28px); bottom: 28px; width: 250px; padding: 12px;
  background: linear-gradient(180deg, rgba(10, 16, 23, .7), rgba(7, 11, 16, .8));
}
.top5-head h2 { font-size: 15px; }
.top5-row a { grid-template-columns: 18px 28px minmax(0, 1fr) auto; gap: 8px; padding: 5px 6px; }
.top5-row img, .top5-noimg { width: 28px; height: 28px; }
.top5-pos { font-size: 15px; }
.top5-name { font-size: 13px; }
.top5-pts { font-size: 17px; }
.top5-more { margin-top: 8px; padding-top: 8px; font-size: 12px; }
@media (max-width: 1100px) {
  .hero { flex-direction: column; align-items: stretch; }
  .hero-top5 { position: relative; right: auto; bottom: auto; width: auto; max-width: 420px; margin: 0 clamp(16px, 4vw, 48px) 32px; }
}

/* ---------------------------------------------------------- Draft ao vivo */
.live-badge { display: inline-grid; place-items: center; min-width: 18px; height: 18px; margin-left: 6px; padding: 0 5px; border-radius: 999px; background: var(--loss); color: #fff; font-size: 11px; font-weight: 800; animation: live-pulse 1.6s ease-in-out infinite; }
@keyframes live-pulse { 50% { box-shadow: 0 0 0 4px rgba(232, 84, 90, .25); } }
.live-list { display: flex; flex-direction: column; gap: 16px; }
.live-card { padding: 16px 18px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); }
.live-card.alert { border-color: rgba(240, 190, 80, .6); box-shadow: 0 0 30px rgba(240, 170, 40, .12); }
.live-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--loss); box-shadow: 0 0 8px var(--loss); animation: pulse 1.2s infinite; }
.live-label { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #ff9a9e; }
.live-meta { font-size: 13px; color: var(--muted); }
.live-role { margin-left: auto; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 4px; background: rgba(255, 255, 255, .08); color: var(--text); }
.live-role.cap { background: var(--gold); color: #111; }
.live-teams { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: center; }
.live-team b { display: block; font-family: var(--serif); font-size: 18px; color: var(--gold-light); margin-bottom: 6px; }
.live-team:last-child { text-align: right; }
.live-team.mine b { color: #fff; }
.live-picks { display: flex; gap: 4px; flex-wrap: wrap; min-height: 32px; }
.live-team:last-child .live-picks { justify-content: flex-end; }
.live-picks img { width: 32px; height: 32px; border-radius: 4px; border: 1px solid var(--line-strong); }
.live-score { font-family: var(--serif); font-size: 30px; color: #fff; display: flex; gap: 10px; align-items: center; }
.live-score span { font-size: 16px; color: var(--muted); }
.live-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.live-status { font-weight: 600; color: var(--text); }
.live-card.alert .live-status { color: #f3d3a2; }
.live-card.live .live-status { color: var(--teal); }
@media (max-width: 640px) { .live-teams { grid-template-columns: 1fr; } .live-team:last-child { text-align: left; } .live-team:last-child .live-picks { justify-content: flex-start; } .live-score { justify-content: center; } }

/* ---------------------------------------------------------- Jogador numa série em andamento */
.busy-tag {
  position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 9px; border-radius: 6px; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  background: rgba(0, 0, 0, .7); border: 1px solid rgba(232, 84, 90, .6); color: #ffb3b6;
}
.busy-tag:hover { background: rgba(232, 84, 90, .2); }
.card.busy .card-bg { filter: grayscale(.75) brightness(.6); }
.card.busy .card-name { opacity: .75; }
