/* Dino Play — base visual compartilhada (portal, revenda, admin). Cores da prancha da marca. */
:root {
  --navy: #0a1322;
  --navy-2: #12213a;
  --navy-3: #1a2d4d;
  --line: #263c5f;
  --line-input: #6f86a8;
  --green: #00c853;
  --green-2: #00a845;
  --mint: #a5d6a7;
  --white: #ffffff;
  --muted: #a9b8cf;
  --danger: #ff6b6b;
  --warn: #ffc857;
  --radius: 18px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--navy); color: var(--white); font: 15px/1.5 Inter, "Segoe UI", system-ui, -apple-system, sans-serif; }
a { color: var(--mint); }
.wrap { max-width: 980px; margin: 0 auto; padding: 24px 16px 64px; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { display: block; width: 200px; height: auto; }
.hero-logo { display: block; width: min(280px, 80%); margin: 4vh auto 22px; }
header.top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.card { background: var(--navy-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 18px; }
.card h2 { margin: 0 0 12px; font-size: 18px; }
.muted { color: var(--muted); font-size: 14px; }
label { display: block; font-size: 13px; color: var(--muted); margin: 12px 0 4px; }
input, select { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-input); background: var(--navy); color: var(--white); font: inherit; outline: none; }
input:focus, select:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(0, 200, 83, .25); }
button:focus-visible { outline: 3px solid var(--mint); outline-offset: 2px; }
button, .btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 11px 18px; border-radius: 12px; border: 1px solid transparent; background: var(--green); color: #04210f; font: inherit; font-weight: 700; cursor: pointer; text-decoration: none; }
button:hover { filter: brightness(1.08); }
button.ghost { background: transparent; color: var(--white); border-color: var(--line); }
button.ghost:hover { background: var(--navy-3); }
button.danger { background: transparent; color: var(--danger); border-color: #5a2b36; }
button:disabled { opacity: .5; cursor: default; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 14px; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.tabs button { background: var(--navy); color: var(--muted); border-color: var(--line); font-weight: 600; }
.tabs button[aria-selected="true"] { background: var(--green); color: #04210f; border-color: var(--green); }
.pill { display: inline-block; padding: 2px 10px; border-radius: 99px; font-size: 12px; font-weight: 700; background: var(--navy-3); color: var(--mint); }
.pill.ok { background: rgba(0, 200, 83, .15); color: var(--green); }
.pill.bad { background: rgba(255, 107, 107, .15); color: var(--danger); }
.pill.warn { background: rgba(255, 200, 87, .15); color: var(--warn); }
.msg { padding: 10px 14px; border-radius: 10px; margin: 12px 0 0; font-size: 14px; }
.msg.err { background: rgba(255, 107, 107, .12); color: #ffb3b3; border: 1px solid #5a2b36; }
.msg.ok { background: rgba(0, 200, 83, .12); color: #a7f3c4; border: 1px solid #1d5a37; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .5px; }
.table-wrap { overflow-x: auto; }
.list-item { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.list-item:last-child { border-bottom: 0; }
.mono { font-family: ui-monospace, Consolas, monospace; letter-spacing: .5px; }
.hidden { display: none !important; }
.center { max-width: 440px; margin: 0 auto; }
.steps { margin: 6px 0 4px; padding-left: 20px; color: var(--muted); font-size: 14px; }
.steps li { margin: 4px 0; }
footer { margin-top: 40px; color: var(--muted); font-size: 12px; text-align: center; }
@media (max-width: 560px) { .wrap { padding: 16px 16px 48px; } .card { padding: 16px; } .brand img { width: 160px; } }

/* Ativação paga no portal */
.row > .grow { flex: 1; min-width: 160px; width: auto; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.plan { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 18px; background: var(--navy); color: var(--white); border: 1px solid var(--line); text-align: left; }
.plan:hover, .plan:focus-visible { background: var(--navy-3); border-color: var(--green); }
.plan.best { border-color: var(--green); }
.plan b { font-size: 20px; }
.plan .price { font-size: 24px; font-weight: 800; color: var(--green); }
.plan small { color: var(--muted); font-weight: 500; }
.plan .pill { position: absolute; top: -11px; right: 12px; background: var(--green); color: #04210f; }
.plan[disabled] { opacity: .6; cursor: wait; }
.pix { text-align: center; }
.pix .row { flex-wrap: nowrap; }
.qr { display: grid; place-items: center; background: #fff; border-radius: 12px; padding: 12px; width: 260px; height: 260px; margin: 14px auto; }
.qr svg, .qr img { width: 236px; height: 236px; image-rendering: pixelated; }
.wait { display: flex; align-items: center; gap: 10px; justify-content: center; color: var(--muted); margin-top: 12px; font-size: 14px; }
.spin { width: 18px; height: 18px; flex: none; border-radius: 50%; border: 3px solid var(--navy-3); border-top-color: var(--green); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.gift { margin-top: 18px; padding-top: 6px; border-top: 1px solid var(--line); }
.notice { margin: 10px 0 14px; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(255, 200, 87, .45); background: rgba(255, 200, 87, .08); color: #ffe3a3; font-size: 14px; text-align: left; }
.notice b { color: #fff; }
