/* Forest Crimelife Website – Tokens wie Figma „FOREST Tokens“ */
@font-face { font-family: 'Rajdhani'; src: url('../assets/fonts/Rajdhani-Medium.ttf'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Rajdhani'; src: url('../assets/fonts/Rajdhani-SemiBold.ttf'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Rajdhani'; src: url('../assets/fonts/Rajdhani-Bold.ttf'); font-weight: 700; font-display: swap; }

:root {
    --violet: #ca8fef; --coral: #ff886a; --green: #79ff79; --red: #ff4d4f; --yellow: #ffd86a; --blue: #6ab8ff; --discord: #5865f2;
    --bg: #0e0d0e; --bg-2: #131315; --surface: rgba(255,255,255,.05); --surface-2: rgba(255,255,255,.08); --violet-soft: rgba(202,143,239,.12);
    --text: #fff; --text-2: #c8c2c6; --muted: #979093;
    --line: rgba(255,255,255,.1); --line-2: rgba(255,255,255,.07); --line-accent: rgba(202,143,239,.55);
    --grad: linear-gradient(90deg, var(--violet), var(--coral));
    --glow: 0 0 40px rgba(202,143,239,.35); --shadow: 0 16px 48px rgba(0,0,0,.45);
    --r-sm: 2px; --r-md: 4px; --wrap: 1200px;
    --font: 'Rajdhani', system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font: 500 17px/1.45 var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input { font: inherit; color: inherit; border: 0; background: none; outline: none; }
[hidden] { display: none !important; }
::selection { background: rgba(202,143,239,.4); }

.wrap { width: 100%; max-width: calc(var(--wrap) + 48px); margin: 0 auto; padding: 0 24px; }
.sec { padding-top: 96px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 40px; }
.pt32 { padding-top: 32px; } .pt8 { padding-top: 8px; }
.row { display: flex; } .center { align-items: center; } .end { align-items: flex-end; } .between { justify-content: space-between; } .wrapf { flex-wrap: wrap; }
.gap12 { gap: 12px; } .gap16 { gap: 16px; } .grow { flex: 1; min-width: 0; }
.mw { max-width: 640px; } .mw520 { max-width: 520px; } .mw480 { max-width: 480px; } .mw420 { max-width: 420px; }
.band { background: var(--bg-2); }

/* Typo */
.display { font-weight: 700; font-size: clamp(48px, 7vw, 84px); line-height: .92; text-transform: uppercase; letter-spacing: -.01em; }
.h1 { font-weight: 700; font-size: clamp(36px, 4.5vw, 52px); line-height: 1; text-transform: uppercase; }
.h2 { font-weight: 700; font-size: clamp(28px, 3vw, 34px); line-height: 1.08; text-transform: uppercase; margin: 10px 0 12px; }
h3 { font-weight: 600; font-size: 22px; line-height: 1.2; }
.label, .eyebrow { font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow { color: var(--violet); }
.caption { font-size: 14px; }
.lead { color: var(--text-2); max-width: 560px; }
.muted { color: var(--muted); } .violet { color: var(--violet); } .coral { color: var(--coral); } .green { color: var(--green); } .yellow { color: var(--yellow); } .red { color: var(--red); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.num { font-weight: 700; font-size: 44px; line-height: 1; margin: 6px 0; }

/* Buttons & Chips */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 28px; border-radius: var(--r-sm); font-weight: 700; font-size: 16px; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; transition: transform .15s, filter .15s, background .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.btn-primary { background: var(--grad); box-shadow: var(--glow); }
.btn-ghost { background: var(--surface); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-discord { background: var(--discord); }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: var(--r-sm); background: var(--surface); border: 1px solid var(--line-2); font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); flex: none; display: inline-block; }
.dot.off { background: var(--red); box-shadow: 0 0 8px var(--red); }
.dot.warn { background: var(--yellow); box-shadow: 0 0 8px var(--yellow); }
.dot.big { width: 22px; height: 22px; box-shadow: 0 0 18px var(--green); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(14,13,14,.72); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border-bottom: 1px solid var(--line-2); }
.nav-in { display: flex; align-items: center; gap: 40px; padding-top: 14px; padding-bottom: 14px; }
.logo img { height: 52px; width: auto; }
.links { display: flex; gap: 32px; flex: 1; }
.links a { white-space: nowrap; font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); transition: color .15s; }
.links a:hover, .links a.on { color: var(--text); }
.burger { display: none; color: #fff; cursor: pointer; }

/* Hero */
.hero { position: relative; overflow: hidden; min-height: 820px; display: flex; align-items: center; }
.hero-bg { position: absolute; inset: 0; background:
    radial-gradient(50% 55% at 78% 40%, rgba(202,143,239,.32), transparent 70%),
    linear-gradient(90deg, rgba(14,13,14,.97) 0%, rgba(14,13,14,.75) 55%, rgba(14,13,14,.25) 100%),
    linear-gradient(180deg, transparent 60%, var(--bg) 100%),
    url('../assets/img/background.jpg') center 30% / cover; }
.hero-in { position: relative; display: flex; flex-direction: column; gap: 28px; padding-top: 72px; padding-bottom: 72px; }
.stats4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 24px; }
.stat { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-md); padding: 24px; }
.stat .label { color: var(--muted); }
.stat .sub { color: var(--violet); font-size: 14px; }

/* Karten */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 21px; }
.card { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s, border-color .2s; }
.card:hover { transform: translateY(-4px); border-color: var(--line-accent); }
.card img { width: 100%; height: 200px; object-fit: cover; }
.card-b { padding: 24px; display: flex; flex-direction: column; gap: 10px; }

/* Panels & Listen */
.panel { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-md); padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.cols { display: flex; gap: 24px; align-items: flex-start; }
.sec.cols { flex-direction: row; }
.cols > .grow { display: flex; flex-direction: column; gap: 14px; }
.side { width: 460px; display: flex; flex-direction: column; gap: 24px; flex: none; }
.rows { display: flex; flex-direction: column; gap: 10px; }
.lrow { display: flex; align-items: center; gap: 16px; padding: 14px 20px; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-sm); }
.lrow .rk { width: 40px; font-weight: 600; font-size: 22px; color: var(--muted); }
.lrow .av { width: 36px; height: 36px; border-radius: 50%; background: var(--violet-soft); border: 1px solid var(--line-accent); flex: none; display: grid; place-items: center; font-weight: 700; color: var(--violet); }
.lrow .nm { flex: 1; min-width: 0; } .lrow .nm b { display: block; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .lrow .nm span { font-size: 14px; color: var(--muted); }
.lrow .val { font-weight: 600; font-size: 22px; white-space: nowrap; }
.erow { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-sm); }
.erow .ic { width: 40px; height: 40px; border-radius: var(--r-sm); background: var(--violet-soft); border: 1px solid var(--line-accent); flex: none; display: grid; place-items: center; font-size: 18px; }
.erow .tx { flex: 1; min-width: 0; } .erow .tx b { display: block; font-weight: 600; } .erow .tx span { font-size: 14px; color: var(--muted); }
.srow { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-sm); }
.srow b { flex: 1; font-weight: 600; }
.empty { padding: 24px 0; }

/* Mini-Podest + Podest */
.mini-pod, .podium { display: flex; gap: 12px; align-items: flex-end; }
.pod { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; border-radius: var(--r-sm); border: 1px solid var(--line-2); padding: 18px 10px;
    background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(202,143,239,.14)); }
.pod.p1 { border-color: var(--line-accent); background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(202,143,239,.3)); box-shadow: var(--glow); }
.pod .av { width: 44px; height: 44px; border-radius: 50%; background: var(--violet-soft); border: 2px solid var(--c); display: grid; place-items: center; font-weight: 700; }
.pod.p1 .av { width: 52px; height: 52px; }
.pod .r { color: var(--c); font-weight: 700; font-size: 13px; letter-spacing: .14em; }
.pod b { font-weight: 600; } .pod span { font-size: 14px; color: var(--text-2); }
.mini-pod .p1 { min-height: 190px; } .mini-pod .p2 { min-height: 150px; } .mini-pod .p3 { min-height: 130px; }
.podium { gap: 20px; }
.podium .pod { border-radius: var(--r-md); padding: 28px 16px; }
.podium .p1 { min-height: 420px; } .podium .p2 { min-height: 370px; } .podium .p3 { min-height: 340px; }
.podium .big { font-weight: 700; font-size: 84px; line-height: .9; color: var(--c); opacity: .9; }
.podium .av { width: 72px; height: 72px; border-width: 3px; font-size: 24px; } .podium .p1 .av { width: 88px; height: 88px; }
.podium h3 { margin-top: 6px; } .podium .v { font-weight: 700; font-size: 34px; text-transform: uppercase; }

.tabs { display: flex; gap: 10px; flex-wrap: wrap; }
.tab { padding: 10px 18px; border-radius: var(--r-sm); background: var(--surface); border: 1px solid var(--line-2); font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); cursor: pointer; }
.tab.on { background: var(--grad); color: #fff; border-color: transparent; box-shadow: var(--glow); }
.th { padding: 0 20px; }
.me { padding: 14px 20px; border-radius: var(--r-sm); background: rgba(202,143,239,.12); border: 1px solid var(--line-accent); gap: 16px; flex-wrap: wrap; }

/* Suche */
.search-panel { flex-direction: row; align-items: center; gap: 48px; border-color: var(--line-accent); background: linear-gradient(90deg, rgba(202,143,239,.16), rgba(255,136,106,.06)); }
.input { display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 20px; border-radius: var(--r-sm); background: rgba(0,0,0,.35); border: 1px solid var(--line); margin-bottom: 12px; }
.input:focus-within { border-color: var(--line-accent); }
.input input { flex: 1; min-width: 0; padding: 8px 0; }
.input input::placeholder { color: var(--muted); }
.input.big { margin-bottom: 0; }

/* Ranked */
.ranked { flex-direction: row; align-items: center; gap: 64px; }
.tiers { flex: 1; display: flex; gap: 12px; align-items: flex-end; }
.tier { flex: 1; height: var(--h); display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 0 16px 18px; border-radius: var(--r-sm);
    border: 1px solid color-mix(in srgb, var(--c) 50%, transparent); background: linear-gradient(180deg, color-mix(in srgb, var(--c) 4%, transparent), color-mix(in srgb, var(--c) 26%, transparent)); }
.tier b { color: var(--c); font-weight: 600; font-size: 22px; } .tier span { font-size: 14px; color: var(--muted); }

/* CTA */
.cta { flex-direction: row; align-items: center; gap: 48px; padding: 48px; border-color: rgba(88,101,242,.4); background: linear-gradient(90deg, rgba(88,101,242,.35), rgba(202,143,239,.18)); }
.cta .h1 { margin-bottom: 14px; }

/* Seitenkopf */
.page-head { padding: 72px 0 24px; background: radial-gradient(60% 140% at 0% 0%, rgba(202,143,239,.22), transparent 70%); }
.page-head.green-glow { background: radial-gradient(60% 140% at 0% 0%, rgba(121,255,121,.12), transparent 70%); }
.page-head .h1 { margin: 14px 0; }

/* Profil */
#profile { display: flex; flex-direction: column; gap: 20px; margin: 24px 0; }
.prof { flex-direction: row; align-items: center; gap: 32px; padding: 48px; background: linear-gradient(90deg, rgba(202,143,239,.18), rgba(255,255,255,.03)); }
.prof .big-av { width: 128px; height: 128px; border-radius: 50%; background: var(--violet-soft); border: 4px solid var(--violet); box-shadow: var(--glow); display: grid; place-items: center; font-weight: 700; font-size: 48px; flex: none; }
.prof .name { font-weight: 700; font-size: clamp(40px, 6vw, 84px); line-height: .95; text-transform: uppercase; word-break: break-word; }
.prof .chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.prof .rank { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.prof .rank .tier-name { font-weight: 700; font-size: 34px; text-transform: uppercase; }
.bar { width: 260px; height: 8px; border-radius: 2px; background: var(--surface); overflow: hidden; } .bar i { display: block; height: 100%; background: var(--grad); }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* Status */
.dev pre { font: 500 14px/1.6 ui-monospace, Consolas, monospace; color: var(--text-2); white-space: pre-wrap; }

/* Footer */
.foot { background: var(--bg); border-top: 1px solid var(--line-2); padding: 64px 0 40px; }
.foot-top { display: flex; gap: 80px; margin-bottom: 40px; flex-wrap: wrap; }
.foot-top > div:first-child { flex: 1; min-width: 260px; }
.foot-top > div:not(:first-child) { display: flex; flex-direction: column; gap: 12px; }
.foot-top a { font-size: 14px; color: var(--muted); } .foot-top a:hover { color: var(--text); }
.foot-logo { height: 72px; width: auto; margin-bottom: 16px; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); padding: 12px 20px; border-radius: var(--r-sm); background: var(--bg-2); border: 1px solid var(--line-accent); z-index: 99; }
.skeleton { background: linear-gradient(90deg, var(--surface), var(--surface-2), var(--surface)); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: var(--r-sm); height: 64px; }
@keyframes sk { to { background-position: -200% 0; } }

/* Responsive */
@media (max-width: 1000px) {
    .nav-in { gap: 12px; }
    .links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg-2); border-bottom: 1px solid var(--line-2); }
    .links.open { display: flex; } .links a { padding: 16px 24px; }
    .burger { display: block; margin-left: auto; }
    .nav .live-chip, .nav .join { display: none; }
}
@media (max-width: 1080px) {
    .cards { grid-template-columns: repeat(2, 1fr); }
    .cols, .sec.cols, .ranked, .search-panel, .cta, .prof { flex-direction: column; align-items: stretch; }
    .side { width: 100%; }
    .prof .rank { align-items: flex-start; text-align: left; }
    .grid4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
    body { font-size: 16px; }
    .logo img { height: 44px; }
    .hero { min-height: 0; } .hero-in { padding-top: 40px; padding-bottom: 40px; gap: 20px; }
    .hero .btn { flex: 1; }
    .stats4 { grid-template-columns: repeat(2, 1fr); gap: 12px; } .stat { padding: 16px; } .num { font-size: 34px; }
    .cards { grid-template-columns: 1fr; }
    .sec { padding-top: 48px; padding-bottom: 48px; gap: 24px; }
    .panel { padding: 20px; } .cta { padding: 28px 20px; } .prof { padding: 28px 20px; }
    .tiers { gap: 6px; } .tier { padding: 0 8px 12px; } .tier b { font-size: 16px; } .tier span { font-size: 11px; }
    .podium { gap: 8px; } .podium .big { font-size: 48px; } .podium .v { font-size: 20px; } .podium .p1 { min-height: 300px; } .podium .p2 { min-height: 270px; } .podium .p3 { min-height: 250px; }
    .podium .av { width: 48px; height: 48px; } .podium .p1 .av { width: 56px; height: 56px; }
    .lrow { padding: 12px 14px; gap: 10px; } .lrow .rk { width: 30px; font-size: 18px; } .lrow .val { font-size: 18px; }
    .grid4 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .input { flex-wrap: wrap; padding: 8px; } .input input { padding: 8px 12px; } .input .btn { width: 100%; }
    .foot-top { gap: 32px; }
}
