/* Rogue Adventure's website - one stylesheet for every page (index.html, support/index.html). */
@font-face { font-family: "Luckiest Guy"; src: url("LuckiestGuy.ttf") format("truetype"); font-display: swap; }

/* every colour on the page is one of these, so a palette is one block - the game's own (Brian, 2026-11-03: "id like
   the maintain the same color pallet we used with our game the cream and gold etc"), sampled from its sprites:
   cream panels cs4_btn_cream_plain / cs4_card_panel, gold cs4_btn_gold_plain, ribbon red cs4_title_ribbon, the
   outline brown of cs4_pill_cream */
:root {
  --bg: #fdf1d6;
  --bg-rgb: 253, 241, 214;
  --bg-2: #f9e6c0;
  --bg-3: #f3d6a0;
  --surface: #fffaee;
  --surface-2: #fff1d2;
  --line: rgba(153, 92, 45, .3);
  --text: #3f1d0a;
  --muted: #7a5233;
  --lead: #5a3518;
  --gold: #fec80d;
  --red: #cd2b16;
  --red-dark: #ba2312;
  --orange: #dd6d1c;
  --brown: #411001;
  --edge: #995c2d;
  --event-rgb: 42, 18, 5;
  --discord: #5865f2;
  --radius: 22px;
  --shadow: 0 14px 30px rgba(120, 70, 20, .22);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: "Nunito", system-ui, sans-serif; line-height: 1.55; }
a { color: inherit; }
img, video { display: block; max-width: 100%; }

/* the game's own title look: gold letters, a thick brown outline, a drop of shadow */
.display { font-family: "Luckiest Guy", "Nunito", sans-serif; font-weight: 400; letter-spacing: .02em; line-height: 1.02;
           color: var(--gold); -webkit-text-stroke: .09em var(--brown); paint-order: stroke fill;
           text-shadow: 0 .07em 0 var(--brown), 0 .14em .22em rgba(0, 0, 0, .45); margin: 0; }
.display.white { color: #fff; }
.wrap { width: min(1160px, 100% - 32px); margin: 0 auto; }
.chip { display: inline-flex; gap: .5em; align-items: center; font-weight: 900; font-size: .85rem; letter-spacing: .08em;
        text-transform: uppercase; padding: .45em 1em; border-radius: 999px; background: rgba(205, 43, 22, .1);
        border: 1px solid rgba(186, 35, 18, .38); color: var(--red-dark); }
.event-card .chip { background: rgba(255, 210, 63, .14); border-color: rgba(255, 210, 63, .45); color: var(--gold); }

/* ---- nav ---- */
nav { position: sticky; top: 0; z-index: 50; background: rgba(var(--bg-rgb), .82); backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--line); }
nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 40px; height: 40px; border-radius: 11px; box-shadow: 0 0 0 2px var(--brown), 0 0 0 4px var(--gold); }
.brand .display { font-size: 1.35rem; }
.links { display: flex; align-items: center; gap: 24px; font-weight: 800; }
.links a { text-decoration: none; opacity: .9; }
.links a:hover { opacity: 1; color: var(--red); }
.btn { display: inline-flex; align-items: center; gap: .6em; font-weight: 900; text-decoration: none; border-radius: 14px;
       padding: .8em 1.25em; transition: transform .15s ease, filter .15s ease; }
.btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn svg { width: 1.3em; height: 1.3em; flex: none; }
.btn-discord { background: var(--discord); color: #fff; box-shadow: 0 6px 0 #3a44b8; }
.btn-gold { background: linear-gradient(#ffe27a, var(--gold) 45%, #f0a91a); color: var(--brown); box-shadow: 0 6px 0 #a8670b; }
.btn-small { padding: .55em 1em; border-radius: 12px; }

/* ---- hero ---- */
.hero { position: relative; overflow: hidden; min-height: calc(100vh - 66px); display: flex; align-items: center; padding: 56px 0 72px; }
/* the moving road: Acorn Woods, the first country, its own parallax on a silent loop (Brian, 2026-11-03: "can we do
   the moving road but the first level" - scratchpad site_mock2/loop_map.py); its first frame stands in before it plays */
.hero::before { content: ""; position: absolute; inset: 0; background: url("acorn_poster.jpg") center / cover; }
.hero-road { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
@media (prefers-reduced-motion: reduce) { .hero-road { display: none; } }
.hero::after { content: ""; position: absolute; inset: 0;
               background: linear-gradient(90deg, rgba(var(--bg-rgb), .92) 0%, rgba(var(--bg-rgb), .7) 42%, rgba(var(--bg-rgb), .15) 70%),
                           linear-gradient(0deg, var(--bg) 0%, rgba(var(--bg-rgb), 0) 30%); }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.hero-logo { margin: 12px 0 0 -10px; line-height: 0; }
.hero-logo img { width: min(520px, 100%); height: auto; filter: drop-shadow(0 10px 14px rgba(65, 16, 1, .28)); }
/* white letters, the brown outline and drop of the game's own titles */
.tagline { font-family: "Luckiest Guy", sans-serif; font-size: clamp(1.4rem, 2.6vw, 2.1rem); color: #fff; margin: 14px 0 10px;
           -webkit-text-stroke: .07em var(--brown); paint-order: stroke fill; text-shadow: 0 3px 0 var(--brown); letter-spacing: .02em; }
.lead { font-size: 1.15rem; color: var(--lead); max-width: 34em; margin: 0 0 28px; font-weight: 600; }
.stores { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 18px; }
.store { display: inline-flex; align-items: center; gap: 12px; background: #140c06; color: #fff; text-decoration: none;
         border: 1.5px solid rgba(255, 255, 255, .28); border-radius: 14px; padding: 10px 18px 10px 14px; min-width: 214px;
         transition: transform .15s ease, border-color .15s ease; }
.store:hover { transform: translateY(-2px); border-color: var(--gold); }
.store svg { width: 30px; height: 30px; flex: none; }
.store small { display: block; font-size: .72rem; opacity: .8; font-weight: 700; letter-spacing: .02em; }
.store b { display: block; font-size: 1.15rem; line-height: 1.1; }
.free-note { font-weight: 700; color: var(--muted); font-size: .95rem; }
/* the App Store's buttons until 1.0.4 is out: shown, not pressable */
.soon { cursor: default; }
.store.soon:hover { transform: none; border-color: rgba(255, 255, 255, .28); }
.btn.soon:hover { transform: none; filter: none; }

/* the phone, playing the game */
.phone { justify-self: center; width: min(310px, 76vw); aspect-ratio: 9 / 18; border-radius: 46px; padding: 12px;
         background: linear-gradient(145deg, #4a4a4a, #141414); box-shadow: 0 0 0 2px #5a5a5a, var(--shadow), 0 0 80px rgba(255, 210, 63, .18);
         transform: rotate(3deg); position: relative; }
.phone::before { content: ""; position: absolute; top: 22px; left: 50%; translate: -50% 0; width: 88px; height: 24px;
                 border-radius: 14px; background: #0a0a0a; z-index: 3; }
.screen { position: relative; width: 100%; height: 100%; border-radius: 36px; overflow: hidden; background: #000; }
.screen video { width: 100%; height: 100%; object-fit: cover; }

/* the cinematic (the Skill Card Storm, Wan take 3) right under the top, silent on a loop */
.cinema { padding: 28px 0 0; }
.cinema-frame { aspect-ratio: 16 / 9; border-radius: 30px; overflow: hidden; background: #000;
                box-shadow: 0 0 0 4px var(--edge), 0 0 0 7px var(--gold), var(--shadow); }
.cinema-frame video { width: 100%; height: 100%; object-fit: cover; }

/* ---- sections ---- */
section { padding: 88px 0; }
.head { text-align: center; margin-bottom: 44px; }
.head h2 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); }
.head p { color: var(--muted); font-size: 1.12rem; margin: 14px auto 0; max-width: 40em; font-weight: 600; }

/* the event: its words beside the real board */
.event-card { position: relative; border-radius: 30px; overflow: hidden; display: grid; grid-template-columns: 1.1fr .9fr;
              gap: 36px; align-items: center; padding: 44px 48px; box-shadow: var(--shadow); border: 2px solid rgba(255, 210, 63, .35); }
.event-card::before { content: ""; position: absolute; inset: -20px; background: url("harvest_farm.jpg") center 28% / cover;
                      filter: blur(6px); }
.event-card::after { content: ""; position: absolute; inset: 0;
                     background: linear-gradient(90deg, rgba(var(--event-rgb), .95) 0%, rgba(var(--event-rgb), .86) 50%, rgba(var(--event-rgb), .55) 100%); }
.event-body, .event-board { position: relative; z-index: 1; }
.event-body h2 { font-size: clamp(2.4rem, 5vw, 3.8rem); margin: 14px 0 12px; }
.event-body p { margin: 0 0 18px; font-size: 1.08rem; font-weight: 600; color: #fff1dc; }
.event-board { justify-self: center; width: min(400px, 100%); border-radius: 22px; transform: rotate(-2.5deg);
               box-shadow: 0 0 0 3px rgba(255, 210, 63, .55), 0 24px 50px rgba(0, 0, 0, .55); }
.perks { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 24px; padding: 0; list-style: none; }
.perks li { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); border-radius: 12px; padding: 8px 14px;
            font-weight: 800; font-size: .95rem; }

/* features */
.features { background: radial-gradient(1200px 500px at 50% 0%, var(--bg-3), var(--bg) 70%); }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { background: linear-gradient(180deg, var(--surface), var(--surface-2)); border: 1px solid var(--line); border-radius: var(--radius);
        overflow: hidden; box-shadow: var(--shadow); transition: transform .2s ease; }
.card:hover { transform: translateY(-6px); }
.card img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; object-position: center 34%; }
.card div { padding: 18px 20px 22px; }
.card h3 { font-family: "Luckiest Guy", sans-serif; font-weight: 400; font-size: 1.45rem; margin: 0 0 6px; color: var(--red-dark);
           letter-spacing: .02em; }
.card p { margin: 0; color: var(--muted); font-weight: 600; }

/* gallery: a slider - only whole pictures in a centered row (the script fits the row to them), the game's blue round
   arrows either side, a dot for each picture under it (Brian, 2026-11-03: "the see it in action section should be
   centered and have a slider") */
.slider { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; }
.slides { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
          padding: 6px 2px 26px; margin: 0 auto; width: 100%; scrollbar-width: none; }
.slides::-webkit-scrollbar { display: none; }
/* a shadow that stays under each picture: the row clips anything past its edges, and the page's wide shadow cut off
   there drew a faint box around the row */
.slides img { width: min(240px, 62vw); flex: none; border-radius: 20px; scroll-snap-align: start;
              box-shadow: 0 10px 14px -6px rgba(120, 70, 20, .38); border: 2px solid var(--line); }
.slide-arrow { width: 54px; height: 54px; border-radius: 50%; border: 3px solid #245273; padding: 0; cursor: pointer;
               background: linear-gradient(#56cafe, #3db8f9 55%, #2da7ee); box-shadow: 0 5px 0 #245273;
               display: grid; place-items: center; transition: transform .15s ease, opacity .15s ease; }
.slide-arrow svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.slide-arrow:hover { transform: translateY(-2px); }
.slide-arrow:disabled { opacity: .35; cursor: default; transform: none; }
.slide-dots { grid-column: 1 / -1; display: flex; justify-content: center; gap: 10px; }
.slide-dots button { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--edge); background: var(--surface);
                     padding: 0; cursor: pointer; }
.slide-dots button.on { background: var(--gold); border-color: var(--brown); }

/* beta */
.beta { background: linear-gradient(180deg, var(--bg), var(--bg-2)); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.panel h3 { font-family: "Luckiest Guy", sans-serif; font-weight: 400; font-size: 1.8rem; margin: 0 0 10px; display: flex; gap: 12px; align-items: center; }
.panel h3 svg { width: 30px; height: 30px; }
.panel p { color: var(--muted); font-weight: 600; margin: 0 0 20px; }
.steps { display: flex; flex-wrap: wrap; gap: 12px; }

/* support page: its title, then three ways to get help */
.support-top { padding: 64px 0 8px; }
.support-top h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid3 .panel { display: flex; flex-direction: column; }
.grid3 .panel p { flex: 1; }
.grid3 .btn { font-size: .92rem; overflow-wrap: anywhere; }

/* faq */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 4px 22px; }
summary { cursor: pointer; font-weight: 900; font-size: 1.1rem; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--red); font-size: 1.5rem; line-height: 1; transition: transform .2s ease; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 0 0 18px; color: var(--muted); font-weight: 600; }

/* community */
.community { position: relative; overflow: hidden; }
.community::before { content: ""; position: absolute; inset: 0; background: url("home_tree.jpg") center 30% / cover; opacity: .32; }
.community::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg-2), rgba(var(--bg-rgb), .6) 40%, var(--bg)); }
.community .wrap { position: relative; z-index: 1; text-align: center; }
.discord-card { max-width: 720px; margin: 0 auto 34px; background: linear-gradient(135deg, #5865f2, #4149c9); border-radius: 28px;
                padding: 36px; box-shadow: var(--shadow); }
.discord-card h3 { font-size: clamp(2rem, 4vw, 2.8rem); }
.discord-card p { font-size: 1.12rem; font-weight: 700; margin: 12px 0 24px; color: #eef0ff; }
.discord-card .btn { background: #fff; color: #3a44b8; box-shadow: 0 6px 0 #2c33a0; font-size: 1.1rem; }
.socials { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.socials a { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 16px; background: var(--surface);
             border: 2px solid var(--edge); transition: transform .15s ease, background .15s ease; }
.socials a:hover { transform: translateY(-3px); background: var(--gold); }
.socials svg { width: 26px; height: 26px; fill: var(--brown); }
.wiki { font-weight: 800; color: var(--muted); }
.wiki a { color: var(--red-dark); }

footer { border-top: 1px solid var(--line); padding: 30px 0 40px; color: var(--muted); font-weight: 700; font-size: .95rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; align-items: center; }
footer nav { position: static; background: none; border: 0; backdrop-filter: none; display: flex; gap: 20px; flex-wrap: wrap; }
footer a { text-decoration: none; }
footer a:hover { color: var(--red); }

@media (max-width: 980px) {
  .grid4 { grid-template-columns: repeat(2, 1fr); }
  .grid3 { grid-template-columns: 1fr; }
  .links a:not(.btn) { display: none; }
}
@media (max-width: 760px) {
  .hero { padding-top: 34px; text-align: center; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero::after { background: linear-gradient(180deg, rgba(var(--bg-rgb), .55), rgba(var(--bg-rgb), .88) 55%, var(--bg)); }
  .lead { margin-inline: auto; }
  .hero-logo { margin: 10px auto 0; }
  .hero-logo img { margin: 0 auto; width: min(400px, 100%); }
  .stores { justify-content: center; }
  .phone { transform: none; width: min(250px, 66vw); }
  .grid2 { grid-template-columns: 1fr; }
  .slider { gap: 8px; }
  .slide-arrow { width: 44px; height: 44px; }
  .event-card { grid-template-columns: 1fr; padding: 30px 24px; gap: 28px; }
  .event-card::after { background: linear-gradient(180deg, rgba(var(--event-rgb), .95) 40%, rgba(var(--event-rgb), .7)); }
  .event-board { width: min(330px, 100%); }
  section { padding: 64px 0; }
  .brand .display { font-size: 1.1rem; }
}
@media (max-width: 460px) { .grid4 { grid-template-columns: 1fr; } .store { min-width: 0; width: 100%; } }
