/* Red Rush legal pages (privacy, terms): same dark look as the Red Rush product page. */
:root {
  --bg: #0b0b0f; --surface: #16161d; --line: #2a2a36;
  --red: #ff1e3c; --red-dark: #b0001e; --text: #fff; --body: #d4d4de; --muted: #9a9aad;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; }
body { margin: 0; background: var(--bg); color: var(--body); font: 16.5px/1.7 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: #ff5a6e; text-underline-offset: 3px; }
a:hover { color: var(--text); }
a:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 6px; }
strong, b { color: var(--text); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 10; background: var(--red); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* Soft red glow behind the title */
.glow { position: absolute; border-radius: 50%; background: var(--red); filter: blur(120px); pointer-events: none; z-index: 0; }

/* Top bar (same as the product page) */
.top { position: sticky; top: 0; z-index: 5; background: rgba(11, 11, 15, .85); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid rgba(42, 42, 54, .6); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; padding-bottom: 16px; }
.top img { height: 26px; width: auto; display: block; }
.top nav a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 600; margin-left: 18px; }
.top nav a:hover, .top nav a[aria-current="page"] { color: var(--text); }

/* Page head */
.head { position: relative; overflow: hidden; padding: 48px 0 8px; }
.head .wrap { position: relative; z-index: 1; max-width: 820px; }
.app-id { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 22px; text-decoration: none; color: var(--text); }
.app-id img { width: 48px; height: 48px; border-radius: 12px; box-shadow: 0 8px 26px rgba(255, 30, 60, .35); }
.app-id b { display: block; font-size: 15px; letter-spacing: .02em; line-height: 1.3; }
.app-id span { color: var(--red); font-size: 11px; font-weight: 800; letter-spacing: .3em; }
h1 { font-size: clamp(36px, 7vw, 60px); line-height: 1; letter-spacing: -.04em; color: var(--text); margin: 0 0 16px; font-weight: 900; }
h1 em { color: var(--red); font-style: normal; }
.meta { color: var(--muted); font-size: 14.5px; margin: 0 0 22px; }

/* Language pills */
.langs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.langs a { display: inline-block; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--text); text-decoration: none; font-size: 14px; font-weight: 600; }
.langs a:hover { border-color: var(--red); color: var(--text); }

main { max-width: 820px; margin: 0 auto; padding: 8px 20px 72px; }
section { padding-top: 40px; scroll-margin-top: 80px; }
section + section { border-top: 1px solid var(--line); margin-top: 48px; padding-top: 48px; }
h2 { font-size: clamp(26px, 4vw, 34px); letter-spacing: -.03em; line-height: 1.1; color: var(--text); margin: 0 0 16px; }
h3 { font-size: 18px; color: var(--text); margin: 34px 0 8px; display: flex; align-items: center; gap: 10px; }
h3::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 12px rgba(255, 30, 60, .8); }
ul { padding-left: 22px; }
ul li::marker { color: var(--red); }
li { margin: 8px 0; }
.muted { color: var(--muted); }

/* Numbered rules (terms), same as "Como jogar" on the product page */
ol { counter-reset: r; list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
ol li { counter-increment: r; position: relative; margin: 0; padding: 16px 18px 16px 62px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
ol li::before { content: counter(r); position: absolute; left: 18px; top: 16px; width: 30px; height: 30px; border-radius: 50%; background: var(--red); color: #fff; font-weight: 900; display: grid; place-items: center; font-size: 14px; }

/* Tables */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
th, td { text-align: left; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 700; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; }
tr:last-child td { border-bottom: 0; }

.todo { background: #5a4500; color: #ffe08a; padding: 0 4px; border-radius: 4px; font-weight: 700; }

/* Footer (same as the product page) */
footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--text); }

@media (max-width: 600px) {
  .top nav a:first-child { display: none; }
  .head { padding-top: 32px; }
  ol li { padding: 14px 14px 14px 58px; } ol li::before { left: 14px; top: 14px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
