/* =========================================================
   Chamber War – Base
   Variablen, Reset, Typografie, Grundlayout
   ========================================================= */

:root {
    --stone-dark: #0f0d0b;
    --stone: #1a1612;
    --stone-light: #2a221c;

    --copper: #c87941;
    --copper-light: #e8a05c;
    --copper-dark: #8b4f2a;

    --teal: #3dd6c8;
    --teal-glow: rgba(61, 214, 200, 0.35);
    --teal-dim: #2a9d92;

    --vault-gold: #f0c040;

    --ominous: #9b6dff;
    --ominous-glow: rgba(155, 109, 255, 0.22);

    --text: #f5efe6;
    --text-muted: #a89880;
    --text-dim: #6b5d4f;

    --surface: rgba(26, 22, 18, 0.85);
    --border: rgba(200, 121, 65, 0.15);
    --border-bright: rgba(61, 214, 200, 0.25);

    --gradient-copper: linear-gradient(135deg, var(--copper-dark), var(--copper), var(--copper-light));
    --gradient-teal: linear-gradient(135deg, var(--teal-dim), var(--teal));
    --gradient-vault: linear-gradient(135deg, var(--copper), var(--vault-gold));

    --radius-sm: 4px;
    --radius-lg: 12px;

    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow-teal: 0 0 32px var(--teal-glow);
    --shadow-glow-copper: 0 0 24px rgba(200, 121, 65, 0.2);

    --header-height: 80px;
    --font-heading: 'Outfit', system-ui, sans-serif;
    --font-body: 'Rubik', system-ui, sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    margin: 0;
    background: var(--stone-dark);
    color: var(--text);
    font-family: var(--font-body);
    line-height: 1.65;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    line-height: 1.2;
    margin: 0 0 0.75em;
    font-weight: 700;
    letter-spacing: -0.02em;
}

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

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

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

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

.icon {
    width: 1em;
    height: 1em;
    display: block;
}

.container {
    width: 100%;
    max-width: 1180px;
    margin-inline: auto;
    padding-inline: 24px;
}

/* ---------- Ambient Background ---------- */

.ambient {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.ambient__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(110px);
    opacity: 0.32;
}

.ambient__glow--teal {
    width: 560px;
    height: 560px;
    top: -8%;
    left: -6%;
    background: var(--teal-glow);
}

.ambient__glow--copper {
    width: 480px;
    height: 480px;
    top: 42%;
    right: -8%;
    background: rgba(200, 121, 65, 0.16);
}

.ambient__glow--purple {
    width: 420px;
    height: 420px;
    bottom: 6%;
    left: 28%;
    background: var(--ominous-glow);
}

/* ---------- Skip Link ---------- */

.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    background: var(--teal);
    color: var(--stone-dark);
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    z-index: 1000;
    font-weight: 600;
    font-size: 0.85rem;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 16px;
}

/* ---------- Icon Badge ---------- */

.icon-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, rgba(61, 214, 200, 0.1), rgba(200, 121, 65, 0.08));
    border: 1px solid var(--border-bright);
    color: var(--teal);
}

.icon-badge .icon {
    width: 26px;
    height: 26px;
}
