/* pottjakt.se (pass 0.1.25, Lars 2026-12-01 18.16): modern and fresh, close to bossebonus in feel (light page, white cards, a strong blue banner, bold sans-serif),
   with a light 80s retro touch in details only: the striped sunset in the logo, the neon line under headings and the fading perspective grid in the banner.
   System fonts only; numbers with tabular figures. No font file, no script. */
:root {
  --page: #f4f5f9;
  --card: #ffffff;
  --ink: #1d2033;
  --muted: #5c6178;
  --line: #e3e5ee;
  --navy: #1b1464;
  --blue: #2f3fd6;
  --pink: #ff3d8b;
  --orange: #ff9a3c;
  --yellow: #ffd23f;
  --green: #1aa260;
  --warn: #c2410c;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(20, 24, 60, 0.06), 0 6px 20px rgba(20, 24, 60, 0.06);
  --font: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--page); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.55; }
a { color: var(--blue); }
a:focus-visible { outline: 3px solid var(--pink); outline-offset: 2px; border-radius: 4px; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }

/* header */
header.top { background: var(--navy); color: #fff; }
.bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding-top: 12px; padding-bottom: 12px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; font-size: 24px; letter-spacing: 0.5px; }
.logo .sun {
  width: 30px; height: 30px; border-radius: 50%;
  background:
    repeating-linear-gradient(180deg, transparent 0 15px, var(--navy) 15px 17px, transparent 17px 20px, var(--navy) 20px 21px, transparent 21px 24px, var(--navy) 24px 25px),
    linear-gradient(180deg, var(--yellow), var(--orange) 55%, var(--pink));
}
.logo .word { background: linear-gradient(180deg, #fff 55%, #ffd9ec); -webkit-background-clip: text; background-clip: text; color: transparent; }
.menu { display: flex; flex-wrap: wrap; gap: 4px; }
.menu a { color: #e6e8ff; text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 999px; }
.menu a:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.menu a[aria-current='page'] { background: #fff; color: var(--navy); }

/* banner, with the retro grid fading out at the bottom */
.hero { position: relative; overflow: hidden; color: #fff; background: linear-gradient(160deg, var(--navy) 0%, #2a1f8f 55%, #4b1d8f 100%); padding: 36px 0 56px; }
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { margin: 0 0 8px; font-size: clamp(28px, 5vw, 42px); font-weight: 800; line-height: 1.15; }
.hero .lead { margin: 0; max-width: 680px; color: #d9dcff; font-size: 18px; }
.hero .grid {
  position: absolute; left: -10%; right: -10%; bottom: -30px; height: 120px; pointer-events: none; opacity: 0.35;
  background-image: linear-gradient(rgba(255, 61, 139, 0.9) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 61, 139, 0.9) 1px, transparent 1px);
  background-size: 48px 24px;
  transform: perspective(240px) rotateX(55deg);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 70%);
  mask-image: linear-gradient(180deg, transparent, #000 70%);
}
.facts { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 0; padding: 0; }
.facts div { background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 10px; padding: 8px 14px; }
.facts dt { font-size: 13px; color: #c9cdf7; }
.facts dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }

main { padding: 24px 0 48px; margin-top: -24px; position: relative; }

/* panels and section heads */
.panel { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; margin-bottom: 20px; }
.section-head { margin-bottom: 14px; }
.section-head h2, .panel > h2 { margin: 0 0 4px; font-size: 24px; font-weight: 800; }
.section-head h2::after, .panel > h2::after { content: ''; display: block; width: 56px; height: 4px; margin-top: 6px; border-radius: 2px; background: linear-gradient(90deg, var(--pink), var(--orange), var(--yellow)); }
.section-head p { margin: 0; color: var(--muted); }
h1.plain { margin-top: 0; }
h3 { margin: 18px 0 2px; font-size: 18px; }
.small { color: var(--muted); font-size: 14px; margin: 4px 0 10px; }

.note { margin: 0; padding: 14px 16px; border-radius: 10px; background: #f1f2fb; color: var(--muted); }
.note.warn { background: #fff4ec; color: var(--warn); }

/* cards */
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.cards a { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 16px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); text-decoration: none; transition: border-color 0.15s, transform 0.15s; }
.cards a:hover { border-color: var(--blue); transform: translateY(-2px); }
.cards strong { font-size: 19px; }
.cards span { color: var(--muted); font-size: 15px; }
.cards em { margin-top: auto; padding-top: 8px; font-style: normal; font-weight: 600; font-size: 14px; color: var(--blue); }

/* tips */
.tip-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.tip { position: relative; border: 1px solid var(--line); border-left: 4px solid var(--orange); border-radius: 10px; padding: 14px 14px 12px; }
.tip .badge { display: inline-block; margin-bottom: 6px; font-size: 12px; font-weight: 700; color: #7a1d4a; background: #ffe3f0; padding: 2px 8px; border-radius: 999px; }
.tip p { margin: 0; }
.tip .teams { font-weight: 700; }
.tip .meta { color: var(--muted); font-size: 14px; }
.tip .bet { margin-top: 6px; }
.tip .legs { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.tip .legs li { display: flex; flex-direction: column; }
.tip .legs .bet { margin: 0; color: var(--muted); font-size: 14px; }
.tip .price { display: flex; align-items: baseline; gap: 8px; margin-top: 10px; }
.tip .odds { font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--green); }
.tip .book { color: var(--muted); font-size: 14px; }

/* pool table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; }
table { border-collapse: collapse; width: 100%; min-width: 620px; font-variant-numeric: tabular-nums; }
caption { text-align: left; padding: 10px 12px; color: var(--muted); font-size: 14px; }
th, td { padding: 10px; border-top: 1px solid var(--line); text-align: right; white-space: nowrap; }
th { background: #f7f8fc; color: var(--muted); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 0.3px; }
th.l, td.l { text-align: left; }
td.num, th.num { text-align: center; color: var(--muted); width: 40px; }
td.match { white-space: normal; min-width: 180px; font-weight: 600; }
td.match small { display: block; font-weight: 400; color: var(--muted); }
tr.cancelled td { color: var(--muted); text-decoration: line-through; }
.grp { border-left: 1px solid var(--line); }
tbody tr:hover td { background: #fafbff; }

/* footer */
.foot { background: var(--navy); color: #c9cdf7; font-size: 14px; padding: 20px 0 28px; }
.foot a { color: #fff; }
.foot .age { display: inline-block; margin-right: 8px; padding: 2px 8px; border-radius: 6px; background: var(--yellow); color: var(--navy); font-weight: 800; }

@media (max-width: 600px) {
  body { font-size: 16px; }
  .panel { padding: 16px; }
  .menu a { padding: 6px 10px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .cards a { transition: none; }
  .cards a:hover { transform: none; }
}
