/* 1 Month Notice — the site wears the game's clothes.
   Same crayons as style.css in the game: ink outlines round every object, slabs
   that sit on a darker slab, paper that is actually paper and hangs at an
   angle. Nothing translucent, nothing blurred. */
:root{
  --ink:#241F3A;
  --red:#FF4D3A;
  --red-press:#C23225;
  --red-hi:#FF7A6B;
  --yellow:#FFC93C;
  --teal:#2EC4B6;
  --sky:#8EDCF7;
  --cream:#FFF1DC;
  --navy-panel:#2B3350;
  --navy-mid:#3A3654;
  --navy-soft:#5A5470;
  --paper:#FFE28A;
  --beige:#E8D9BD;
  --night:#1B1830;
  --wood:#B06F30;
  --cork:#D8A468;
  --muted-l:#8E9AC4;
  --muted-d:#8A5B2A;
  --muted-d3:#7A6A50;
  --lilac:#B8AFD9;

  --f-display:'Lilita One','Arial Black','Haettenschweiler','Impact',sans-serif;
  --f-ui:'Rubik','Avenir Next','Segoe UI',system-ui,-apple-system,sans-serif;
  --f-hand:'Caveat','Bradley Hand','Segoe Script',cursive;

  --stroke-3:-3px -3px 0 var(--ink), 3px -3px 0 var(--ink), -3px 3px 0 var(--ink),
             3px 3px 0 var(--ink), 0 -3px 0 var(--ink), 0 3px 0 var(--ink),
             3px 0 0 var(--ink), -3px 0 0 var(--ink);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;background:var(--night);color:var(--cream);
  font-family:var(--f-ui);font-size:17px;line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block}
a{color:var(--sky)}

.wrap{max-width:1060px;margin:0 auto;padding:0 20px}

/* ---------------------------------------------------------------- skyline
   The same night city that sits behind the title screen: flat blocks with lit
   windows, drawn in CSS so it costs nothing. */
.skyline{
  height:120px;display:flex;align-items:flex-end;gap:14px;justify-content:center;
  overflow:hidden;padding:0 12px;
}
.skyline i{
  display:block;background:var(--navy-panel);border-radius:3px 3px 0 0;
  border:3px solid var(--ink);border-bottom:none;
  background-image:radial-gradient(var(--yellow) 1.6px, transparent 1.7px);
  background-size:16px 18px;background-position:9px 12px;
}

/* ---------------------------------------------------------------- hero */
.hero{padding:56px 0 24px;text-align:center}
.hero-icon{
  width:132px;height:132px;margin:0 auto 26px;border-radius:28px;
  border:4px solid var(--ink);box-shadow:0 8px 0 var(--ink);
}
.logo{display:flex;align-items:center;justify-content:center;gap:26px;flex-wrap:wrap}
.logo .one{
  font-family:var(--f-display);font-size:96px;line-height:.9;color:var(--cream);
  text-shadow:var(--stroke-3);padding:0 6px;
}
.logo .stack{text-align:left}
.logo .month{
  font-family:var(--f-display);font-size:56px;line-height:1;letter-spacing:.08em;
  color:var(--cream);text-shadow:var(--stroke-3);
}
.logo .notice{
  display:inline-block;font-family:var(--f-display);font-size:52px;line-height:1;
  letter-spacing:.08em;color:var(--cream);background:var(--red);
  border:4px solid var(--ink);border-radius:12px;padding:2px 16px 6px;
  box-shadow:0 7px 0 var(--red-press), 0 7px 0 4px var(--ink);
  transform:rotate(-2deg);margin-top:8px;
}
.tagline{
  font-family:var(--f-hand);font-size:26px;color:var(--lilac);margin:30px 0 0;
}

/* ---------------------------------------------------------------- buttons
   The App Store badge is Apple's own artwork and stays untouched: no ink
   outline on it, no recolour, no sheen swept across the letters. Everything
   glassy here happens in the plate *behind* it and in the light that travels
   round the rim, and the badge keeps a quarter of its own height as clear
   space on every side, which is what Apple asks for. */
@property --sheen{syntax:'<angle>';initial-value:0deg;inherits:false}

.badge{
  position:relative;display:inline-block;margin:30px 0 0;padding:17px 26px;
  border-radius:22px;line-height:0;isolation:isolate;
  /* the plate: dark glass, a lit top edge, and a shadow it actually sits in */
  background:linear-gradient(160deg,rgba(255,255,255,.14),rgba(255,255,255,.03) 42%,rgba(0,0,0,.22));
  -webkit-backdrop-filter:blur(10px) saturate(140%);
  backdrop-filter:blur(10px) saturate(140%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.45),
    inset 0 -1px 0 rgba(0,0,0,.35),
    0 10px 26px rgba(0,0,0,.45);
  transition:transform .18s ease, box-shadow .18s ease;
}

/* the rim: a single bright arc on a conic gradient, turned by --sheen. It is a
   ring, not an overlay — the badge never has anything drawn over it. */
.badge::before{
  content:"";position:absolute;inset:-2px;border-radius:24px;padding:2px;
  background:conic-gradient(from var(--sheen),
    rgba(255,255,255,0) 0deg,
    rgba(255,255,255,0) 200deg,
    rgba(255,255,255,.35) 280deg,
    #FFFFFF 320deg,
    rgba(255,255,255,.35) 355deg,
    rgba(255,255,255,0) 360deg);
  -webkit-mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;
  mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite:exclude;
  animation:sheen 3.6s linear infinite;
  z-index:-1;
}

/* the same arc again, blurred and pushed outside, so the light spills onto the
   night behind the plate instead of stopping at the rim */
.badge::after{
  content:"";position:absolute;inset:-7px;border-radius:28px;z-index:-2;
  background:conic-gradient(from var(--sheen),
    rgba(142,220,247,0) 0deg,
    rgba(142,220,247,0) 230deg,
    rgba(142,220,247,.55) 320deg,
    rgba(142,220,247,0) 360deg);
  filter:blur(9px);opacity:.9;
  animation:sheen 3.6s linear infinite;
}

@keyframes sheen{to{--sheen:360deg}}

.badge img{width:200px;height:auto;position:relative;z-index:1}

.price{font-family:var(--f-hand);font-size:22px;color:var(--muted-l);margin:22px 0 0}
.badge:hover{transform:translateY(-2px);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.55),inset 0 -1px 0 rgba(0,0,0,.35),0 14px 30px rgba(0,0,0,.5)}
.badge:active{transform:translateY(1px)}

/* Safari and anything without @property animate nothing and simply hold a
   still rim, which is a fine button. */
@media (prefers-reduced-motion:reduce){
  .badge::before,.badge::after{animation:none}
}

/* ---------------------------------------------------------------- sections */
section{padding:56px 0}
h2{
  font-family:var(--f-display);font-size:40px;letter-spacing:.05em;margin:0 0 10px;
  color:var(--cream);text-shadow:var(--stroke-3);
}
.sub{font-family:var(--f-hand);font-size:24px;color:var(--lilac);margin:0 0 30px}

/* a panel is a dark card with an ink outline and a hard drop */
.panel{
  background:var(--navy-panel);border:4px solid var(--ink);border-radius:18px;
  box-shadow:0 8px 0 var(--ink);padding:22px 24px;
}
.grid{display:grid;gap:22px 20px;grid-template-columns:repeat(auto-fit,minmax(250px,1fr))}
.panel h3{
  font-family:var(--f-display);font-size:22px;letter-spacing:.05em;
  margin:0 0 8px;color:var(--yellow);
}
.panel p{margin:0;color:#D9D3E8;font-size:16px}

/* paper: cream, ink outline, always slightly crooked */
.paper{
  background:var(--cream);color:var(--ink);border:4px solid var(--ink);
  border-radius:10px;box-shadow:0 7px 0 var(--ink);padding:20px 24px;
}
.paper h3{font-family:var(--f-display);font-size:24px;margin:0 0 8px;letter-spacing:.04em}
.paper p{margin:0 0 10px;color:#3A3450;font-size:16px}
.paper p:last-child{margin-bottom:0}
.paper a{color:var(--red-press);font-weight:600}
.tilt-l{transform:rotate(-1.2deg)}
.tilt-r{transform:rotate(1deg)}

/* ---------------------------------------------------------------- shots */
.shots{display:flex;gap:20px;overflow-x:auto;padding:6px 4px 22px;scroll-snap-type:x mandatory}
.shots figure{margin:0;flex:0 0 auto;width:min(640px,86vw);scroll-snap-align:center}
.shots img{border:4px solid var(--ink);border-radius:12px;box-shadow:0 8px 0 var(--ink)}
.shots figcaption{
  font-family:var(--f-hand);font-size:21px;color:var(--lilac);
  margin-top:14px;text-align:center;
}

/* ---------------------------------------------------------------- table */
.supplies{width:100%;border-collapse:collapse;font-size:16px}
.supplies th{
  font-family:var(--f-display);letter-spacing:.05em;font-size:15px;
  color:var(--muted-d3);text-align:left;padding:0 12px 8px;font-weight:400;
}
.supplies td{padding:10px 12px;border-top:2px dashed #C9B993;color:#3A3450}
.supplies tr:first-child td{border-top:none}
.supplies .name{font-weight:700;color:var(--ink)}
.supplies .cost{color:var(--muted-d);font-weight:700;white-space:nowrap}

/* ---------------------------------------------------------------- footer */
footer{
  border-top:4px solid var(--ink);background:#151228;
  padding:34px 0;text-align:center;color:var(--muted-l);font-size:15px;
}
footer a{color:var(--sky);margin:0 10px}

@media (max-width:640px){
  .logo .one{font-size:70px}
  .logo .month{font-size:38px}
  .logo .notice{font-size:34px}
  h2{font-size:30px}
  .hero{padding:36px 0 12px}
}
