/* ===== Arena Fan Shop — base.css : reset, tokens, typography ===== */

:root {
  /* Святкова мультиколор-палітра прапорів */
  --navy: #0b1f4d;
  --navy-700: #10295f;
  --blue: #1452f0;
  --blue-soft: #e8efff;
  --red: #e4002b;
  --red-soft: #ffe9ed;
  --yellow: #ffd200;
  --yellow-soft: #fff6cf;
  --green: #00a86b;

  --ink: #14182b;
  --muted: #5d6478;
  --line: #e6e8f0;
  --bg: #f6f7fb;
  --card: #ffffff;
  --white: #ffffff;

  --shadow-sm: 0 2px 8px rgba(11, 31, 77, .06);
  --shadow: 0 10px 30px rgba(11, 31, 77, .10);
  --shadow-lg: 0 20px 50px rgba(11, 31, 77, .16);

  --radius: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;

  --container: 1280px;
  --gap: clamp(14px, 2.2vw, 26px);

  --font-head: "Bricolage Grotesque", "Montserrat", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.08;
  letter-spacing: -.02em;
  color: var(--navy);
  font-weight: 800;
}

h1 { font-size: clamp(2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.5rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }

p { color: var(--muted); }

ul { list-style: none; }

button { font-family: inherit; cursor: pointer; border: none; background: none; }

input, select, textarea { font-family: inherit; font-size: 1rem; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 6px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
}

.section { padding: clamp(40px, 6vw, 76px) 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: clamp(20px, 3vw, 34px);
  flex-wrap: wrap;
}
.section-head p { max-width: 52ch; }

.text-center { text-align: center; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .98rem;
  padding: 13px 24px;
  border-radius: var(--radius-pill);
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
  border: 2px solid transparent;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 8px 20px rgba(228, 0, 43, .28);
}
.btn-primary:hover { background: #c70026; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(228, 0, 43, .34); }

.btn-blue {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 20px rgba(20, 82, 240, .26);
}
.btn-blue:hover { background: #0f3fc4; transform: translateY(-2px); }

.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-700); transform: translateY(-2px); }

.btn-ghost {
  background: #fff;
  color: var(--navy);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--navy); transform: translateY(-2px); }

.btn-yellow { background: var(--yellow); color: var(--navy); }
.btn-yellow:hover { background: #f3c700; transform: translateY(-2px); }

.btn-sm { padding: 9px 16px; font-size: .85rem; }
.btn-block { width: 100%; }

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .72rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
}
.badge-sale { background: var(--red); color: #fff; }
.badge-new { background: var(--green); color: #fff; }
.badge-hit { background: var(--yellow); color: var(--navy); }
.badge-ua { background: var(--blue); color: #fff; }

/* Utility color stripes */
.flag-stripes {
  height: 6px;
  background: linear-gradient(90deg,
    var(--blue) 0 33.3%, var(--yellow) 33.3% 66.6%, var(--red) 66.6% 100%);
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
