/* Tip Jar Games — layout follows the argos-vr.com site (sticky nav, full-bleed hero over game art,
   one loud CTA colour, card sections, dark CTA band). Colours come from Toss Town itself:
   sky, lawn, the navy upgrade board, coin gold and the snack-cart orange. */

:root {
  --sky: #3fa9e0;
  --sky-deep: #1d6fa5;
  --lawn: #5cc451;
  --board: #1f2638;
  --board-2: #2a3349;
  --coin: #ffc93c;
  --coin-deep: #e3a512;
  --snack: #ff7a1a;
  --snack-deep: #e0520b;
  --cream: #fff8ea;
  --paper: #fffdf7;
  --ink: #1b2233;
  --muted: #5d6578;
  --line: #eadfc9;
  --wrap: 1140px;
  --radius: 18px;
  --shadow: 0 18px 40px -20px rgba(18, 26, 44, .55);
  --display: "Luckiest Guy", "Arial Black", Impact, sans-serif;
  --font: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--cream);
       line-height: 1.6; font-size: 17px; -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; display: block; }
a { color: var(--sky-deep); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

/* ---------------------------------------------------------------- nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(31, 38, 56, .82); backdrop-filter: blur(8px);
       transition: background .25s, box-shadow .25s; }
.nav.solid { background: rgba(31, 38, 56, .96); box-shadow: 0 6px 20px -12px rgba(0,0,0,.6); }
.nav .wrap { display: flex; align-items: center; gap: 18px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.brand svg { width: 38px; height: 38px; flex: none; }
.brand span { font-family: var(--display); font-size: 1.35rem; letter-spacing: .02em; padding-top: 4px;
              text-shadow: 0 2px 0 rgba(0,0,0,.35); }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { color: #dfe6f3; text-decoration: none; font-weight: 700; }
.nav-links a:hover { color: #fff; }
.nav .btn { padding: 10px 18px; font-size: .95rem; }

/* ------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px;
       padding: 15px 28px; font-weight: 800; font-size: 1.05rem; text-decoration: none; cursor: pointer;
       border: 2px solid transparent; transition: transform .12s, box-shadow .12s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #fff; background: linear-gradient(180deg, var(--snack), var(--snack-deep));
               box-shadow: 0 6px 0 #a83a05, 0 14px 30px -10px rgba(224, 82, 11, .7); }
.btn-primary:active { transform: translateY(3px); box-shadow: 0 3px 0 #a83a05; }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.75); background: rgba(255,255,255,.06); }
.btn-ghost:hover { background: rgba(255,255,255,.16); }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; margin-top: -68px; min-height: 92vh; display: flex; align-items: center;
        color: #fff; overflow: hidden; background: var(--board); }
.hero-bg { position: absolute; inset: 0; background: url(/img/hero.jpg) center/cover no-repeat;
           transform: scale(1.08); filter: blur(4px) saturate(1.15); }
.hero::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,28,46,.55) 0%, rgba(20,28,46,.35) 40%, rgba(20,28,46,.88) 100%); }
.hero .wrap { position: relative; z-index: 1; text-align: center; padding-top: 110px; padding-bottom: 70px; }
.eyebrow { display: inline-block; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
           font-size: .8rem; color: var(--coin); background: rgba(20,28,46,.55); border: 1px solid rgba(255,201,60,.5);
           padding: 6px 14px; border-radius: 999px; }
.logo-word { font-family: var(--display); font-size: clamp(3.6rem, 12vw, 7.5rem); line-height: .95; margin: 18px 0 8px;
             color: var(--coin); letter-spacing: .02em;
             text-shadow: 0 4px 0 #b9780a, 0 8px 0 rgba(0,0,0,.35), 0 0 40px rgba(255, 201, 60, .35);
             -webkit-text-stroke: 2px #4a2c05; }
.hero h1 { font-size: clamp(1.5rem, 3.6vw, 2.3rem); margin: 0 0 14px; line-height: 1.2; }
.hero p.lead { max-width: 640px; margin: 0 auto 30px; font-size: 1.12rem; color: #eef2fa; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 34px; }
.badge { font-weight: 800; font-size: .85rem; padding: 7px 14px; border-radius: 999px;
         background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28); }

/* ------------------------------------------------------------ sections */
section { padding: 84px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.section-head h2 { font-family: var(--display); font-size: clamp(2rem, 5vw, 2.9rem); line-height: 1.05;
                   margin: 0 0 10px; color: var(--board); letter-spacing: .01em; }
.section-head p { color: var(--muted); margin: 0; font-size: 1.08rem; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
        box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.card .body { padding: 20px 22px 24px; }
.card .step { font-family: var(--display); color: var(--snack); font-size: 1rem; letter-spacing: .04em; }
.card h3 { margin: 2px 0 6px; font-size: 1.3rem; }
.card p { margin: 0; color: var(--muted); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 22px; }
.stat { background: var(--board); color: #fff; border-radius: var(--radius); padding: 22px 16px; text-align: center; }
.stat b { display: block; font-family: var(--display); font-size: 2.3rem; line-height: 1; color: var(--coin); }
.stat span { font-weight: 700; font-size: .9rem; color: #c9d2e6; text-transform: uppercase; letter-spacing: .08em; }

.trailer { background: var(--board); color: #fff; }
.trailer .section-head h2 { color: #fff; }
.trailer .section-head p { color: #c9d2e6; }
.video-frame { max-width: 960px; margin: 0 auto; border-radius: var(--radius); overflow: hidden;
               border: 4px solid var(--board-2); box-shadow: 0 30px 60px -25px rgba(0,0,0,.8); }
.video-frame video { width: 100%; aspect-ratio: 16 / 9; background: #000; }

.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 44px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }
.split h2 { font-family: var(--display); font-size: clamp(2rem, 4.6vw, 2.7rem); line-height: 1.05; margin: 0 0 12px;
            color: var(--board); }
.split p { color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; }
.ticks li { padding-left: 32px; position: relative; margin: 10px 0; font-weight: 700; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
                    background: var(--coin); box-shadow: inset 0 -3px 0 var(--coin-deep); }

.band { background: linear-gradient(180deg, var(--sky) 0%, var(--sky-deep) 100%); color: #fff; text-align: center; }
.band h2 { font-family: var(--display); font-size: clamp(2.1rem, 5vw, 3rem); margin: 0 0 10px; line-height: 1.05;
           text-shadow: 0 3px 0 rgba(0,0,0,.25); }
.band p { max-width: 560px; margin: 0 auto 28px; color: #eaf6ff; font-size: 1.1rem; }

.crowd { margin: 34px 0 0; position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.crowd img { width: 100%; aspect-ratio: 21 / 8; object-fit: cover; object-position: center 78%; }
.crowd figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 24px 18px; color: #fff; font-weight: 800;
                    font-size: 1.1rem; background: linear-gradient(180deg, transparent, rgba(20,28,46,.85)); }
.card img.yard { object-position: 70% center; }

/* -------------------------------------------------------------- footer */
footer { background: var(--board); color: #c9d2e6; padding: 40px 0; }
footer .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
footer .brand span { font-size: 1.15rem; }
footer nav { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-left: auto; }
footer a { color: #e7edf8; text-decoration: none; font-weight: 700; }
footer a:hover { color: var(--coin); }
footer small { width: 100%; color: #8f9ab3; }

/* --------------------------------------------------------- legal pages */
.legal-hero { background: var(--board); color: #fff; margin-top: -68px; padding: 120px 0 48px; }
.legal-hero h1 { font-family: var(--display); font-size: clamp(2.4rem, 6vw, 3.4rem); margin: 0; letter-spacing: .01em; }
.legal-hero p { margin: 6px 0 0; color: #c9d2e6; }
.legal { max-width: 800px; margin: 0 auto; padding: 48px 20px 80px; }
.legal h2 { font-size: 1.25rem; margin-top: 2.2rem; color: var(--board); }
.legal table { border-collapse: collapse; width: 100%; font-size: .95rem; background: var(--paper);
               border-radius: 12px; overflow: hidden; box-shadow: 0 1px 0 var(--line); }
.legal th, .legal td { text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); padding: 10px 12px; }
.legal th { background: #f3ead6; }
.table-scroll { overflow-x: auto; }

/* -------------------------------------------------------------- phones */
@media (max-width: 860px) {
  .cards { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .crowd img { aspect-ratio: 4 / 3; }
  .nav-links { display: none; }
  .nav .btn { margin-left: auto; }
  section { padding: 64px 0; }
}
@media (max-width: 420px) {
  .brand span { font-size: 1.1rem; }
  .nav .btn { padding: 9px 14px; font-size: .85rem; }
}
