/* g4k.net — anonymous, minimalist, accessible referral links page */
:root {
  color-scheme: dark;
  --bg: #0d0e0f;
  --panel: #191a1b;
  --panel-hover: #222222;
  --edge: #393631;
  --edge-hover: #99794a;
  --gold: #d0ae76;
  --gold-soft: #e4cda5;
  --white: #f7f3eb;
  --muted: #b5b0a8;
  --muted-soft: #8f8b85;
}
*, *::before, *::after { box-sizing: border-box; }
html { min-height: 100%; background: var(--bg); }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--white);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(ellipse 55% 31% at 50% 0%, rgba(138, 102, 53, .11), transparent 85%),
    linear-gradient(180deg, #121314 0%, #0d0e0f 82%);
}
.page {
  min-height: 100vh;
  display: grid;
  align-items: start;
  justify-items: center;
  padding: clamp(58px, 11vh, 112px) 22px 48px;
}
.stack { width: min(100%, 480px); }
.hero { display: flex; flex-direction: column; align-items: center; text-align: center; }
.mark {
  display: grid;
  place-items: center;
  width: 69px;
  height: 69px;
  margin-bottom: 29px;
  border-radius: 50%;
  border: 1px solid rgba(208,174,118,.59);
  color: var(--gold);
  background: radial-gradient(circle at 35% 24%, #2c251a, #1a1917 74%);
  box-shadow: 0 0 0 8px rgba(208,174,118,.028), 0 12px 38px rgba(0,0,0,.24);
}
h1 {
  max-width: 470px;
  margin: 0;
  font-size: clamp(26px, 6vw, 36px);
  line-height: 1.22;
  font-weight: 590;
  letter-spacing: -.038em;
  text-wrap: balance;
}
.gold-rule {
  height: 2px;
  width: 48px;
  margin: 26px auto 39px;
  border-radius: 5px;
  background: linear-gradient(90deg, #86663a, #e6c68f, #86663a);
}
.links { display: flex; flex-direction: column; gap: 13px; }
.link {
  position: relative;
  display: grid;
  grid-template-columns: 47px 1fr 22px;
  align-items: center;
  column-gap: 16px;
  min-height: 89px;
  padding: 16px 19px;
  color: inherit;
  text-decoration: none;
  background: linear-gradient(135deg, rgba(31,32,33,.98), rgba(25,26,27,.98));
  border: 1px solid var(--edge);
  border-radius: 15px;
  box-shadow: 0 6px 20px rgba(0,0,0,.09);
  transition: border-color .18s ease, background .18s ease, transform .18s ease, box-shadow .18s ease;
}
.link:hover {
  border-color: var(--edge-hover);
  background: linear-gradient(135deg, #252525, #1e1e1f);
  box-shadow: 0 12px 28px rgba(0,0,0,.18);
  transform: translateY(-2px);
}
.link:focus-visible { outline: 3px solid var(--gold-soft); outline-offset: 4px; }
.link__symbol {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--gold-soft);
  background: linear-gradient(140deg, #373126, #292620);
  border: 1px solid rgba(208,174,118,.2);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -.025em;
}
.link__body { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.link__name { font-weight: 600; line-height: 1.3; font-size: 16px; letter-spacing: -.01em; }
.link__description { color: var(--muted); font-size: 13px; line-height: 1.45; }
.link__arrow { width: 20px; height: 20px; justify-self: end; color: var(--gold); transition: transform .18s ease; }
.link:hover .link__arrow { transform: translate(2px, -2px); }
.footer { margin-top: 67px; text-align: center; }
.footer-rule { height: 1px; width: 60px; margin: 0 auto 22px; background: #544735; }
.footer p { max-width: 340px; margin: 0 auto; color: var(--muted); font-size: 13px; line-height: 1.8; }
@media (max-width: 480px) {
  .page { padding: 66px 18px 35px; }
  .mark { margin-bottom: 25px; }
  .gold-rule { margin-bottom: 34px; }
  .link { grid-template-columns: 43px 1fr 18px; column-gap: 12px; min-height: 82px; padding: 14px 15px; }
  .link__symbol { width: 42px; height: 42px; }
  .footer { margin-top: 54px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
