/* zalaspartak.bg — shared design for the main site and club subdomains.
   Source of truth: public/styles.css; tetron/styles.css is a copy (deploy.ps1 copies it). */

:root {
  --bg: #f6f7f9;
  --surface: #ffffff;
  --text: #14202e;
  --muted: #4d5b6b;
  --line: #dde2e8;
  --brand: #0f2f55;      /* deep navy */
  --brand-ink: #ffffff;
  --accent: #c2410c;     /* burnt orange, 5.2:1 on white */
  --accent-soft: #fdeee6;
  --radius: 14px;
  --wrap: 68rem;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d141c;
    --surface: #152130;
    --text: #e8edf3;
    --muted: #a6b3c2;
    --line: #26364a;
    --brand: #0a1f38;
    --accent: #ff8a4c;
    --accent-soft: #2a1d16;
  }
}

body { font-family: var(--font); background: var(--bg); color: var(--text); font-size: 1.0625rem; }
a { color: var(--accent); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 5vw, 3rem); }
h2 { font-size: clamp(1.4rem, 3.2vw, 1.9rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.wrap { width: min(100% - 2rem, var(--wrap)); margin-inline: auto; }

/* header */
.site-header { background: var(--brand); color: var(--brand-ink); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: inherit; text-decoration: none; font-weight: 700; min-height: 44px; }
.brand svg { width: 32px; height: 32px; flex: none; }
.brand small { display: block; font-weight: 400; opacity: .8; font-size: .8rem; }
.site-header nav a { color: inherit; text-decoration: none; padding: 0 .6rem; border-radius: 8px; }
.site-header nav a:hover { background: rgb(255 255 255 / .12); }

/* hero */
.hero { background: linear-gradient(160deg, var(--brand) 0%, #1c4a80 100%); color: #fff; padding: clamp(2.5rem, 7vw, 5rem) 0 clamp(3rem, 8vw, 6rem); }
.hero p { max-width: 40rem; font-size: 1.15rem; opacity: .92; }
.hero .eyebrow { display: inline-block; font-size: .85rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; background: rgb(255 255 255 / .14); padding: .25rem .7rem; border-radius: 999px; margin-bottom: 1rem; }
.hero a { color: #fff; }

.btn { gap: .5rem; padding: .7rem 1.2rem; border-radius: 999px; font-weight: 600; text-decoration: none; background: var(--accent); color: #fff; border: 0; }
.btn:hover { filter: brightness(1.08); }
.btn.ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 2px currentColor; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.hero .btn { color: #fff; }

/* sections */
main section { padding: clamp(2.5rem, 6vw, 4rem) 0; }
.lead { color: var(--muted); max-width: 44rem; }

.grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; }
.card h3 { margin-bottom: .4rem; }
.card p:last-child { margin-bottom: 0; }
.card .icon { width: 40px; height: 40px; color: var(--accent); margin-bottom: .8rem; }

.club-card { display: flex; flex-direction: column; gap: .3rem; text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s; }
.club-card:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgb(15 47 85 / .12); }
.club-card .sport { color: var(--accent); font-weight: 600; font-size: .9rem; text-transform: uppercase; letter-spacing: .05em; }
.club-card .go { margin-top: .8rem; font-weight: 600; color: var(--accent); }
.club-card.soon { border-style: dashed; background: transparent; }
.club-card.soon .sport { color: var(--muted); }

.facts { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
.facts li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.2rem; }
.facts strong { display: block; font-size: 1.5rem; color: var(--accent); line-height: 1.2; }
.source { font-size: .85rem; color: var(--muted); }

.notice { background: var(--accent-soft); border-left: 4px solid var(--accent); padding: 1rem 1.2rem; border-radius: 0 var(--radius) var(--radius) 0; }

dl.info { display: grid; grid-template-columns: max-content 1fr; gap: .5rem 1.5rem; margin: 0; }
dl.info dt { font-weight: 600; }
dl.info dd { margin: 0; }
@media (max-width: 30rem) { dl.info { grid-template-columns: 1fr; } dl.info dd { margin-bottom: .6rem; } }

/* text pages */
.prose { max-width: 44rem; }
.prose h2 { margin-top: 2rem; }
.prose ul { padding-left: 1.2rem; }

/* footer */
.site-footer { background: var(--brand); color: rgb(255 255 255 / .85); padding: 2rem 0; font-size: .95rem; }
.site-footer a { color: #fff; }
.site-footer p { margin: 0 0 .5rem; }
.site-footer .disclaimer { font-weight: 600; color: #fff; }

/* 404 */
.not-found { text-align: center; padding: 5rem 1rem; }
.not-found .code { font-size: 4rem; font-weight: 800; color: var(--accent); margin: 0; }
.not-found .actions { justify-content: center; }
.h3 { font-size: 1.15rem; }
