/* ══════════════════════════════════════════════════════════════════════════
   TYRFING · Mystisk/arcan stil
   ══════════════════════════════════════════════════════════════════════════ */

:root {
    --bg: #0b0d20;
    --bg-deep: #07081a;
    --bg-alt: #101332;
    --surface: #161a3f;
    --surface-2: #1c2150;
    --border: rgba(148, 130, 255, 0.22);
    --border-strong: rgba(148, 130, 255, 0.45);

    --violet: #8b5cf6;
    --violet-bright: #a78bfa;
    --magenta: #d946ef;
    --cyan: #22d3ee;
    --gold: #f2c96b;

    --text: #eae9f8;
    --muted: #a8a7cc;
    --dim: #6f6e96;

    --font-display: 'Cinzel', Georgia, serif;
    --font-body: 'Inter', 'Segoe UI', sans-serif;

    --radius: 14px;
    --radius-sm: 8px;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
    --glow: 0 0 24px rgba(139, 92, 246, 0.35);
    --container: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--text);
    background-color: var(--bg);
    background-image:
        radial-gradient(1200px 600px at 85% -10%, rgba(139, 92, 246, 0.16), transparent 60%),
        radial-gradient(900px 500px at -10% 30%, rgba(34, 211, 238, 0.10), transparent 55%),
        radial-gradient(700px 700px at 60% 120%, rgba(217, 70, 239, 0.10), transparent 60%);
    background-attachment: fixed;
    line-height: 1.65;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Stjernefelt i baggrunden (kaskaderende stjerner) */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image:
        radial-gradient(1px 1px at 20% 15%, rgba(255,255,255,.7) 50%, transparent 51%),
        radial-gradient(1px 1px at 70% 8%, rgba(255,255,255,.5) 50%, transparent 51%),
        radial-gradient(1.5px 1.5px at 45% 35%, rgba(167,139,250,.8) 50%, transparent 51%),
        radial-gradient(1px 1px at 90% 28%, rgba(255,255,255,.55) 50%, transparent 51%),
        radial-gradient(1px 1px at 10% 55%, rgba(34,211,238,.7) 50%, transparent 51%),
        radial-gradient(1.5px 1.5px at 65% 60%, rgba(255,255,255,.35) 50%, transparent 51%),
        radial-gradient(1px 1px at 35% 80%, rgba(167,139,250,.6) 50%, transparent 51%),
        radial-gradient(1px 1px at 85% 75%, rgba(255,255,255,.4) 50%, transparent 51%),
        radial-gradient(1px 1px at 55% 95%, rgba(217,70,239,.6) 50%, transparent 51%);
    pointer-events: none;
}

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

a { color: var(--violet-bright); text-decoration: none; }
a:hover { color: var(--cyan); }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ── Typografi ──────────────────────────────────────────────────────────── */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    line-height: 1.2;
    margin: 0 0 0.6em;
    color: #fff;
}

h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; }
h4 { font-size: 0.95rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }

p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.dim { color: var(--dim); }

.section { padding: 4.5rem 0; }
.section-tight { padding: 2.5rem 0; }

.section-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 2.5rem;
}
.section-head .eyebrow {
    display: inline-block;
    font-family: var(--font-display);
    letter-spacing: 0.28em;
    text-transform: uppercase;
    font-size: 0.78rem;
    color: var(--cyan);
    margin-bottom: 0.7rem;
    text-shadow: 0 0 14px rgba(34, 211, 238, 0.6);
}

/* ── Knapper ────────────────────────────────────────────────────────────── */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    font-weight: 600;
    font-family: var(--font-body);
    font-size: 0.95rem;
    border: 1px solid transparent;
    cursor: pointer;
    text-align: center;
    transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-cta {
    background: linear-gradient(135deg, var(--violet), var(--magenta));
    color: #fff;
    box-shadow: var(--glow);
}
.btn-cta:hover { color: #fff; box-shadow: 0 0 32px rgba(217, 70, 239, 0.55); }

.btn-outline {
    background: transparent;
    border-color: var(--border-strong);
    color: var(--violet-bright);
}
.btn-outline:hover { border-color: var(--cyan); color: var(--cyan); box-shadow: 0 0 18px rgba(34, 211, 238, 0.25); }

.btn-ghost {
    background: rgba(139, 92, 246, 0.12);
    border-color: var(--border);
    color: var(--text);
}
.btn-ghost:hover { background: rgba(139, 92, 246, 0.22); color: #fff; }

/* ── Skip link ──────────────────────────────────────────────────────────── */
.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    background: var(--violet);
    color: #fff;
    padding: 0.6rem 1rem;
    border-radius: 0 0 8px 0;
    z-index: 200;
}
.skip-link:focus { left: 0; color: #fff; }

/* ── Header / navigation ────────────────────────────────────────────────── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(11, 13, 32, 0.82);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.05em;
}
.logo:hover { color: #fff; }

.logo-img {
    display: block;
    height: 2.1rem;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.45));
}

.site-nav ul {
    list-style: none;
    display: flex;
    gap: 1.4rem;
    margin: 0;
    padding: 0;
    align-items: center;
}

.site-nav a:not(.btn) {
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 500;
    position: relative;
    padding: 0.2rem 0;
}
.site-nav a:not(.btn):hover { color: var(--cyan); }
.site-nav a.active { color: #fff; }
.site-nav a.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--violet), var(--magenta));
    box-shadow: 0 0 10px rgba(217, 70, 239, 0.8);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.55rem;
    cursor: pointer;
}
.nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero (forside) ─────────────────────────────────────────────────────── */
.hero {
    position: relative;
    text-align: center;
    padding: 6.5rem 0 5.5rem;
    overflow: hidden;
}
.hero::after {
    content: "✦";
    position: absolute;
    top: 12%;
    left: 12%;
    font-size: 2.4rem;
    color: var(--violet);
    opacity: 0.5;
    animation: floaty 7s ease-in-out infinite;
}
.hero::before {
    content: "✦";
    position: absolute;
    bottom: 14%;
    right: 10%;
    font-size: 1.8rem;
    color: var(--cyan);
    opacity: 0.4;
    animation: floaty 9s ease-in-out infinite reverse;
}

@keyframes floaty {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-14px) rotate(8deg); }
}

.hero-rune {
    font-size: 3.4rem;
    color: var(--violet-bright);
    text-shadow: 0 0 30px rgba(139, 92, 246, 0.8);
    animation: pulse 4s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 0.85; text-shadow: 0 0 22px rgba(139,92,246,0.6); }
    50% { opacity: 1; text-shadow: 0 0 44px rgba(217,70,239,0.9); }
}

.hero-logo {
    display: block;
    width: clamp(84px, 14vw, 132px);
    height: auto;
    margin: 0 auto 0.6rem;
    filter: drop-shadow(0 0 22px rgba(139, 92, 246, 0.5));
    animation: floaty 7s ease-in-out infinite;
}

.page-hero-logo {
    display: block;
    width: clamp(44px, 7vw, 68px);
    height: auto;
    margin: 0 auto 0.7rem;
    filter: drop-shadow(0 0 16px rgba(139, 92, 246, 0.45));
    animation: pulse 4s ease-in-out infinite;
}

.hero h1 {
    margin: 0.6rem 0 0.4rem;
    background: linear-gradient(135deg, #fff 20%, var(--violet-bright) 55%, var(--cyan) 90%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero .tagline {
    font-size: 1.15rem;
    max-width: 640px;
    margin: 0 auto 1.6rem;
    color: var(--muted);
}

.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.hero-meta {
    margin-top: 2.6rem;
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}
.hero-meta .chip {
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 0.45rem 1.1rem;
    font-size: 0.88rem;
    color: var(--muted);
    background: rgba(22, 26, 63, 0.6);
}

/* ── Kort / cards ───────────────────────────────────────────────────────── */
.grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.6rem;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    position: relative;
}
.card:hover {
    transform: translateY(-4px);
    border-color: var(--border-strong);
    box-shadow: var(--shadow), 0 0 24px rgba(139, 92, 246, 0.18);
}

.card h3 { margin-bottom: 0.5rem; }
.card .icon {
    font-size: 1.7rem;
    margin-bottom: 0.7rem;
    color: var(--violet-bright);
    text-shadow: 0 0 16px rgba(139, 92, 246, 0.7);
    display: block;
}
.card .card-link { margin-top: 0.9rem; display: inline-block; font-weight: 600; }

/* Gør hele kortet klikbart */
.stretched-link::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
}

/* ── Billetter ──────────────────────────────────────────────────────────── */
.tickets-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    align-items: stretch;
    margin-bottom: 2.5rem;
}

.ticket {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem 1.8rem;
    position: relative;
    transition: transform 0.2s ease, border-color 0.2s ease;
}
.ticket:hover { transform: translateY(-4px); border-color: var(--border-strong); }

.ticket.featured {
    border-color: var(--violet);
    background: linear-gradient(180deg, rgba(139, 92, 246, 0.14), var(--surface) 60%);
    box-shadow: var(--glow);
}

.ticket .badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--violet), var(--magenta));
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.3rem 1rem;
    border-radius: 999px;
    box-shadow: var(--glow);
    white-space: nowrap;
}

.ticket h3 { font-size: 1.25rem; margin-bottom: 0.2rem; }
.ticket .price { font-family: var(--font-display); font-size: 2.2rem; color: var(--gold); text-shadow: 0 0 20px rgba(242, 201, 107, 0.35); }
.ticket .price-note { color: var(--dim); font-size: 0.85rem; margin-bottom: 1rem; }
.ticket .description { color: var(--muted); font-size: 0.95rem; }

.ticket ul { list-style: none; padding: 0; margin: 1.2rem 0 1.6rem; flex: 1; }
.ticket ul li { padding: 0.35rem 0 0.35rem 1.7rem; position: relative; font-size: 0.93rem; }
.ticket ul li::before { content: "✦"; position: absolute; left: 0; color: var(--cyan); }

/* ── Konventionsarkiv ───────────────────────────────────────────────────── */
.past-card { display: flex; flex-direction: column; gap: 1.2rem; }

.past-card .past-year {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1;
    background: linear-gradient(135deg, var(--violet-bright), var(--cyan));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.past-card .past-theme { font-family: var(--font-display); color: #fff; font-size: 1.15rem; }
.past-card .past-dates { color: var(--dim); font-size: 0.88rem; margin-bottom: 0.4rem; }

.stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1.6rem;
    margin: 0.4rem 0;
}
.stat b {
    display: block;
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--gold);
    text-shadow: 0 0 14px rgba(242, 201, 107, 0.35);
    line-height: 1.1;
}
.stat span { font-size: 0.82rem; color: var(--dim); text-transform: uppercase; letter-spacing: 0.05em; }

.past-card ul { list-style: none; padding: 0; margin: 0; flex: 1; }
.past-card ul li { padding: 0.3rem 0 0.3rem 1.6rem; position: relative; font-size: 0.93rem; color: var(--muted); }
.past-card ul li::before { content: "✦"; position: absolute; left: 0; color: var(--cyan); }

.next-convention {
    text-align: center;
    background: var(--surface);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    padding: 3rem 2rem;
    box-shadow: var(--glow);
}
.next-convention .rune { font-size: 2rem; color: var(--violet-bright); text-shadow: 0 0 22px rgba(139, 92, 246, 0.7); animation: pulse 4s ease-in-out infinite; }
.next-convention h2 { margin: 0.6rem 0 0.3rem; }
.next-convention .next-meta { color: var(--muted); margin-bottom: 1.6rem; }
.next-convention .next-meta .chip { border: 1px solid var(--border); border-radius: 999px; padding: 0.4rem 1rem; font-size: 0.88rem; display: inline-block; margin: 0.3rem; color: var(--muted); background: rgba(22, 26, 63, 0.6); }

/* ── Program / tabel ────────────────────────────────────────────────────── */
.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.8rem;
}

.day-filters { display: flex; gap: 0.5rem; flex-wrap: wrap; justify-content: center; }

.filter-chip {
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--muted);
    border-radius: 999px;
    padding: 0.45rem 1.1rem;
    font-size: 0.88rem;
    cursor: pointer;
    font-family: var(--font-body);
    transition: all 0.15s ease;
}
.filter-chip:hover { color: var(--text); border-color: var(--border-strong); }
.filter-chip.active {
    background: linear-gradient(135deg, var(--violet), var(--magenta));
    color: #fff;
    border-color: transparent;
    box-shadow: var(--glow);
}

.filter-search {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 0.45rem 1.1rem;
}
.filter-search input {
    background: none;
    border: none;
    outline: none;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.9rem;
    min-width: 180px;
}
.filter-search input::placeholder { color: var(--dim); }

.schedule-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 1.2rem;
    color: var(--dim);
    font-size: 0.9rem;
}

.schedule-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.schedule-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.schedule-table thead th {
    text-align: left;
    padding: 0.9rem 1rem;
    font-family: var(--font-display);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--cyan);
    border-bottom: 1px solid var(--border);
    background: rgba(139, 92, 246, 0.08);
}
.schedule-table tbody td {
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
    color: var(--muted);
    font-size: 0.92rem;
}
.schedule-table tbody tr { transition: background 0.15s ease; }
.schedule-table tbody tr:hover { background: rgba(139, 92, 246, 0.07); }
.schedule-table tbody tr:last-child td { border-bottom: none; }

.schedule-table .game-title { color: #fff; font-weight: 600; font-size: 0.98rem; display: block; margin-bottom: 0.2rem; }
.schedule-table .game-desc { color: var(--dim); font-size: 0.85rem; }

.tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 999px;
    padding: 0.2rem 0.7rem;
    border: 1px solid var(--border-strong);
    color: var(--violet-bright);
    background: rgba(139, 92, 246, 0.1);
    white-space: nowrap;
}
.tag.intro { color: var(--cyan); border-color: rgba(34, 211, 238, 0.5); background: rgba(34, 211, 238, 0.08); }
.tag.familie { color: var(--gold); border-color: rgba(242, 201, 107, 0.5); background: rgba(242, 201, 107, 0.08); }

.system { color: var(--magenta); font-weight: 600; white-space: nowrap; }

.no-results {
    display: none;
    text-align: center;
    padding: 3rem 1rem;
    color: var(--muted);
}
.no-results.show { display: block; }
.no-results-logo {
    width: 44px;
    height: auto;
    margin: 0 auto 0.4rem;
    opacity: 0.8;
    display: block;
}

/* ── Åbningstider ───────────────────────────────────────────────────────── */
.hours-list {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.hours-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 1.2rem 1.4rem;
    text-align: center;
}
.hours-item .day { font-family: var(--font-display); font-weight: 700; color: #fff; }
.hours-item .time { color: var(--cyan); font-size: 0.95rem; }

/* ── Formularer ─────────────────────────────────────────────────────────── */
.form-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    max-width: 640px;
    margin: 0 auto;
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-grid .full { grid-column: 1 / -1; }

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { font-size: 0.9rem; font-weight: 600; color: var(--text); }
.form-group label .req { color: var(--magenta); }
.form-hint { font-size: 0.8rem; color: var(--dim); }

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    width: 100%;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    padding: 0.7rem 0.9rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--violet);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.25);
}
textarea { resize: vertical; min-height: 120px; }
select { appearance: none; }

.checkbox-group { display: flex; flex-direction: column; gap: 0.5rem; }
.checkbox-group label {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    font-weight: 400;
    font-size: 0.92rem;
    color: var(--muted);
    cursor: pointer;
}
.checkbox-group input[type="checkbox"] { margin-top: 0.25rem; accent-color: var(--violet); width: 1rem; height: 1rem; }

.form-actions { margin-top: 1.5rem; display: flex; gap: 0.8rem; align-items: center; flex-wrap: wrap; }

/* Formularbeskeder */
.alert {
    border-radius: var(--radius-sm);
    padding: 1rem 1.2rem;
    margin-bottom: 1.4rem;
    font-size: 0.95rem;
    border: 1px solid;
}
.alert-success { background: rgba(52, 211, 153, 0.12); border-color: rgba(52, 211, 153, 0.5); color: #6ee7b7; }
.alert-error { background: rgba(248, 113, 113, 0.12); border-color: rgba(248, 113, 113, 0.5); color: #fca5a5; }
.alert-info { background: rgba(34, 211, 238, 0.1); border-color: rgba(34, 211, 238, 0.4); color: #67e8f9; }

/* ── FAQ (akkordeon) ────────────────────────────────────────────────────── */
.faq { max-width: 720px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 0.8rem; background: var(--surface); overflow: hidden; }
.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: var(--text);
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    padding: 1rem 1.3rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
.faq-question .chevron { color: var(--violet-bright); transition: transform 0.2s ease; }
.faq-item.open .chevron { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.faq-answer p { padding: 0 1.3rem 1.1rem; margin: 0; color: var(--muted); font-size: 0.95rem; }

/* ── Praktisk info ──────────────────────────────────────────────────────── */
.info-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }

.info-item { display: flex; gap: 1rem; align-items: flex-start; }
.info-item .info-icon {
    flex: 0 0 2.6rem;
    height: 2.6rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid var(--border-strong);
    background: rgba(139, 92, 246, 0.12);
    color: var(--violet-bright);
    font-size: 1.1rem;
    box-shadow: var(--glow);
}
.info-item h3 { font-size: 1.05rem; margin-bottom: 0.3rem; }
.info-item p { margin: 0; color: var(--muted); font-size: 0.94rem; }

.rules {
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 4px solid var(--violet);
    border-radius: var(--radius-sm);
    padding: 1.5rem 1.8rem;
    max-width: 720px;
    margin: 1.5rem auto 0;
}
.rules ol { padding-left: 1.2rem; color: var(--muted); }
.rules li { margin-bottom: 0.5rem; }
.rules strong { color: var(--text); }

/* ── Side-banner / under-side hero ──────────────────────────────────────── */
.page-hero {
    text-align: center;
    padding: 4.5rem 0 2.5rem;
}
.page-hero .rune { font-size: 2.4rem; color: var(--violet-bright); text-shadow: 0 0 24px rgba(139,92,246,0.7); animation: pulse 4s ease-in-out infinite; display: block; margin-bottom: 0.6rem; }
.page-hero h1 { margin-bottom: 0.5rem; }
.page-hero p { max-width: 620px; margin: 0 auto; color: var(--muted); }

.divider {
    height: 1px;
    border: 0;
    background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
    margin: 0;
}

/* ── CTA-bånd ───────────────────────────────────────────────────────────── */
.cta-band {
    text-align: center;
    padding: 4.5rem 0;
    background: linear-gradient(180deg, transparent, rgba(139, 92, 246, 0.12), transparent);
}
.cta-band h2 { margin-bottom: 1rem; }
.cta-band p { color: var(--muted); max-width: 560px; margin: 0 auto 1.8rem; }

/* ── Footer ─────────────────────────────────────────────────────────────── */
.site-footer {
    margin-top: auto;
    background: var(--bg-deep);
    border-top: 1px solid var(--border);
    padding: 3rem 0 1.5rem;
}
.footer-inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 2rem;
}
.footer-col h4 { color: var(--muted); margin-bottom: 1rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 0.5rem; font-size: 0.92rem; color: var(--dim); }
.footer-col a { color: var(--muted); }
.footer-col a:hover { color: var(--cyan); }
.footer-tagline { color: var(--dim); font-size: 0.9rem; margin-top: 0.8rem; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.6rem;
    border-top: 1px solid var(--border);
    margin-top: 2.5rem;
    padding-top: 1.4rem;
    color: var(--dim);
    font-size: 0.88rem;
}
.back-to-top { color: var(--violet-bright); }

/* ── Responsiv ──────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
    .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1000px) {
    .nav-toggle { display: flex; }

    .site-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(11, 13, 32, 0.97);
        backdrop-filter: blur(12px);
        border-bottom: 1px solid var(--border);
        padding: 1rem 1.5rem 1.4rem;
        display: none;
    }
    .site-nav.open { display: block; }
    .site-nav ul { flex-direction: column; align-items: flex-start; gap: 0.9rem; margin-bottom: 1rem; }

    .hero { padding: 4.5rem 0 4rem; }
    .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
    .footer-inner { grid-template-columns: 1fr; gap: 1.5rem; }
    .footer-bottom { justify-content: center; text-align: center; }
    .filter-search { width: 100%; }
    .filter-search input { flex: 1; min-width: 0; }
}
