/* Orbo by NLS — identitate vizuală comună (site + jocuri) */
@font-face {
  font-family: "Bricolage";
  font-style: normal; font-display: swap; font-weight: 200 800;
  src: url(/assets/fonts/bricolage-latin.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Bricolage";
  font-style: normal; font-display: swap; font-weight: 200 800;
  src: url(/assets/fonts/bricolage-latin-ext.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* cerneală (fundaluri) */
  --ink: #0e1020;
  --ink-2: #161a2e;
  --ink-3: #20253f;
  --ink-line: rgba(244, 237, 220, .09);
  /* hârtie (text) */
  --cream: #f4eddc;
  --cream-2: #cfc8b8;
  --muted: #8f8ca6;
  /* accente */
  --apricot: #ff8a4c;
  --apricot-deep: #b9501d;
  --mint: #6fe3c1;
  --mint-deep: #2f9c7f;
  --coral: #ff5470;
  --sun: #ffc845;
  --lilac: #b79cff;

  --r-sm: 14px;
  --r-md: 20px;
  --r-lg: 28px;
  --font: "Bricolage", ui-rounded, system-ui, sans-serif;
}

/* grain fin peste tot — dă textură „de hârtie” */
.grain::after {
  content: ""; position: fixed; inset: -50%; z-index: 100; pointer-events: none; opacity: .09; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 1.4 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* butoane „tactile” cu umbră jos */
.b {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font); font-weight: 750; font-size: 17px; letter-spacing: -.005em; line-height: 1;
  padding: 17px 24px; border: 0; border-radius: var(--r-md); cursor: pointer; text-decoration: none;
  color: var(--ink); background: var(--apricot); box-shadow: 0 5px 0 var(--apricot-deep);
  transition: transform .08s ease, box-shadow .08s ease, filter .15s;
  -webkit-tap-highlight-color: transparent;
}
.b:hover { filter: brightness(1.06); }
.b:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--apricot-deep); }
.b.mint { background: var(--mint); box-shadow: 0 5px 0 var(--mint-deep); }
.b.mint:active { box-shadow: 0 1px 0 var(--mint-deep); }
.b.soft { background: var(--ink-3); color: var(--cream); box-shadow: 0 5px 0 #090b16; }
.b.soft:active { box-shadow: 0 1px 0 #090b16; }
.b:disabled { background: var(--ink-3); color: var(--muted); box-shadow: 0 5px 0 #090b16; filter: none; cursor: default; }
.b:disabled:active { transform: none; }
