:root {
  --bg: #6fd3c0;        /* seafoam teal with halftone dots */
  --pattern: radial-gradient(rgba(0, 0, 0, .13) 2.2px, transparent 2.8px);
  --pattern-size: 22px 22px;
  --ink: #111111;
  --paper: #fffdf4;
  --radius: 999px;
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  display: flex;
  flex-direction: column;
  background-color: var(--bg);
  background-image: var(--pattern);
  background-size: var(--pattern-size);
  color: var(--ink);
  font-family: ui-rounded, "SF Pro Rounded", "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* Falling pins: abstract silhouettes, purely decorative */
.pins {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.pin {
  position: absolute;
  top: 0;
  left: var(--x);
  width: var(--s, 28px);
  height: calc(var(--s, 28px) * 2.5);
  fill: var(--c, var(--ink));
  filter: drop-shadow(4px 5px 0 rgba(0, 0, 0, .18));
  transform: translate(0, -30vh) rotate(var(--r, 0deg));
  animation: fall var(--t, 12s) linear var(--d, 0s) infinite;
}

@keyframes fall {
  from { transform: translate(0, -30vh) rotate(var(--r)); }
  to   { transform: translate(var(--dx, 0), 130vh) rotate(calc(var(--r) + var(--spin, 360deg))); }
}

@media (max-width: 699px) {
  .pin { width: calc(var(--s) * .75); height: calc(var(--s) * 1.875); }
  .pin:nth-child(n + 9) { display: none; }
}

.stage {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 5vh, 3rem);
  padding: 2rem 1.25rem;
}

.logo {
  width: min(560px, 82vw);
  height: auto;
  transform-origin: 50% 90%;
  transition: transform 0.35s cubic-bezier(.3, 1.6, .5, 1);
  cursor: default;
}

/* tiny "kickflip" wobble when you poke the logo */
.logo:hover { transform: rotate(-3deg) scale(1.03); }

.tagline {
  margin: calc(-1 * clamp(2rem, 7vh, 3.5rem)) 0 0.5rem;
  font-size: clamp(1.15rem, 3.4vw, 1.6rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-align: center;
  transform: rotate(-2deg);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem 1.5rem;
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 5px 0 var(--ink);
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--ink); }
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--ink); }
.btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }

/* Buy button carries the logo's toggle: it flips on hover/focus */
.btn-buy { background: var(--ink); color: var(--bg); }

.track {
  position: relative;
  width: 2.6rem;
  height: 1.5rem;
  border: 2.5px solid currentColor;
  border-radius: var(--radius);
  flex: none;
}

.knob {
  position: absolute;
  top: 50%;
  left: 3px;
  width: 0.95rem;
  height: 0.95rem;
  border-radius: 50%;
  background: currentColor;
  transform: translateY(-50%);
  transition: left 0.25s cubic-bezier(.3, 1.5, .5, 1);
}

.btn-buy:hover .knob,
.btn-buy:focus-visible .knob { left: calc(100% - 0.95rem - 3px); }

.btn-contact:hover { background: #fff; }

.social {
  display: flex;
  gap: 0.9rem;
  margin: 0;
  padding: 0;
  list-style: none;
  justify-content: center;
}

.soc {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 3px solid var(--ink);
  border-radius: 50%;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 4px 0 var(--ink);
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.2s ease;
}

.soc svg { width: 1.5rem; height: 1.5rem; }
.soc:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--ink); background: #fff; }
.soc:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.soc:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }

.foot {
  padding: 1rem;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  opacity: 0.7;
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  .pins { display: none; }
}
