/* ŠD NK Junior – začasna stran */

:root {
  --bg: #eef3ee;
  --card: #ffffff;
  --text: #1d2a22;
  --muted: #5b6b61;
  --accent: #1f7a3f;       /* travnato zelena */
  --accent-hover: #155c2e;
  --line: #d5e0d8;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111814;
    --card: #19231d;
    --text: #e6efe8;
    --muted: #9db0a3;
    --accent: #4cbf72;
    --accent-hover: #6fd38f;
    --line: #2a3a30;
  }
}

* { box-sizing: border-box; }

html, body { margin: 0; }

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
}

.card {
  width: 100%;
  max-width: 520px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 40px 32px;
  text-align: center;
}

/* žoga, ki počiva */
.ball {
  width: 72px;
  height: 72px;
  margin-bottom: 20px;
}
.ball line { stroke: var(--text); stroke-width: 3; }
.ball-fill { fill: var(--card); }
.ball-patch { fill: var(--text); }
.ball-edge { fill: none; stroke: var(--text); stroke-width: 4; }

.eyebrow {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

h1 {
  margin: 4px 0 24px;
  font-size: 1.75rem;
  line-height: 1.25;
}

.lead {
  margin: 0 0 8px;
  font-size: 1.15rem;
  font-weight: 600;
}

p { margin: 0 0 24px; color: var(--muted); }
.lead { color: var(--text); }

.mail {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  word-break: break-all;
}
.mail:hover, .mail:focus-visible { background: var(--accent-hover); }
.mail:focus-visible { outline: 3px solid var(--line); outline-offset: 3px; }

footer {
  margin-top: 24px;
  font-size: 0.8rem;
  color: var(--muted);
}

@media (max-width: 420px) {
  .card { padding: 32px 20px; }
  h1 { font-size: 1.5rem; }
}