/* ============================================================
   GERMANFUR UNLEASHED — base.css
   Struktur, Komponenten, Layout. Skin-unabhängig.
   Farben kommen ausschließlich aus den :root-Variablen
   der jeweiligen Skin-Datei.
   ============================================================ */

/* ── Fonts ───────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Audiowide&family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;600&display=swap');

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--color-bg);
    background-image:
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(var(--color-accent-rgb), 0.15), transparent 60%),
        radial-gradient(ellipse 60% 40% at 90% 100%, rgba(var(--color-link-rgb, 0, 77, 232), 0.12), transparent 60%),
        linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-end) 100%);
    background-attachment: fixed;
    color: var(--color-text);
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* Optional Scanlines-Overlay (Tweak-toggle) */
body.scanlines::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    background-image: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.18) 0px,
        rgba(0, 0, 0, 0.18) 1px,
        transparent 1px,
        transparent 3px
    );
    mix-blend-mode: overlay;
    opacity: 0.5;
}

::selection {
    background: var(--color-accent);
    color: var(--color-outline, #000);
}

/* ============================================================
   GLOBAL CLAW-MARK SVG (used by ::before / ::after)
   We use background SVGs; defs below.
   ============================================================ */
:root {
    --claw-svg: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 60' preserveAspectRatio='none'><g fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-width='3'><path d='M5 50 Q 60 20 90 8'/><path d='M30 55 Q 80 25 115 12'/><path d='M65 58 Q 110 28 145 14'/><path d='M100 56 Q 140 26 175 10'/></g></svg>");
}

/* ============================================================
   HAMBURGER (mobile)
   ============================================================ */
.hamburger {
    position: fixed;
    top: 18px;
    left: 18px;
    z-index: 1002;
    width: 44px;
    height: 44px;
    background: var(--color-surface-card);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 10px;
    transition: all 0.25s ease;
}
.hamburger span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--color-accent);
    border-radius: 2px;
    transition: all 0.3s ease;
    box-shadow: 0 0 8px rgba(var(--color-accent-rgb), calc(0.6 * var(--glow-strength, 1)));
}
.hamburger:hover {
    border-color: var(--color-accent);
    box-shadow: 0 0 20px rgba(var(--color-accent-rgb), calc(0.4 * var(--glow-strength, 1)));
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    width: var(--layout-sidebar-width);
    height: 100vh;
    background:
        linear-gradient(180deg, var(--color-primary-dark) 0%, var(--color-link-dark) 100%),
        var(--color-surface);
    box-shadow: 5px 0 30px rgba(0, 0, 0, 0.5);
    transition: left 0.35s cubic-bezier(.2, .8, .2, 1);
    z-index: 1000;
    overflow-y: auto;
    border-right: 1px solid rgba(var(--color-accent-rgb), 0.3);
}
.sidebar.active { left: 0; }

/* claw-strip down the right edge of the sidebar */
.sidebar::after {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 4px; height: 100%;
    background: linear-gradient(180deg,
        transparent 0%,
        var(--color-accent) 30%,
        var(--color-link) 70%,
        transparent 100%);
    box-shadow: 0 0 20px rgba(var(--color-accent-rgb), calc(0.8 * var(--glow-strength, 1)));
}

.sidebar-header {
    padding: 28px 20px 24px;
    background: rgba(0, 0, 0, 0.25);
    border-bottom: 1px solid rgba(var(--color-accent-rgb), 0.4);
    margin-bottom: 16px;
    position: relative;
}
.sidebar-header img,
.sidebar-header .sidebar-logo {
    display: block;
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 0 12px rgba(var(--color-accent-rgb), calc(0.5 * var(--glow-strength, 1))));
}
.sidebar-header h2 {
    font-family: 'Audiowide', sans-serif;
    color: var(--color-primary);
    font-size: 1.4rem;
    font-weight: 400;
    letter-spacing: 3px;
    text-shadow: 0 0 16px rgba(var(--color-accent-rgb), calc(0.6 * var(--glow-strength, 1)));
    text-transform: uppercase;
}
.sidebar-tagline {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    letter-spacing: 2px;
    color: var(--color-text-muted);
    margin-top: 6px;
    text-transform: uppercase;
}

.nav-menu { list-style: none; padding: 0 12px; }
.nav-menu li { margin-bottom: 4px; }
.nav-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: var(--color-secondary);
    text-decoration: none;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}
.nav-menu a .nav-icon {
    width: 18px; height: 18px;
    flex-shrink: 0;
    color: var(--color-accent);
    opacity: 0.7;
    transition: all 0.25s ease;
}
.nav-menu a::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(var(--color-accent-rgb), 0.25), transparent);
    transition: left 0.6s ease;
}
.nav-menu a:hover {
    color: var(--color-primary);
    background: rgba(var(--color-accent-rgb), 0.08);
    transform: translateX(4px);
}
.nav-menu a:hover .nav-icon {
    opacity: 1;
    filter: drop-shadow(0 0 6px rgba(var(--color-accent-rgb), calc(0.8 * var(--glow-strength, 1))));
}
.nav-menu a:hover::before { left: 100%; }
.nav-menu a.active {
    background: linear-gradient(90deg,
        rgba(var(--color-accent-rgb), 0.25) 0%,
        rgba(var(--color-accent-rgb), 0.05) 100%);
    color: white;
    box-shadow:
        inset 3px 0 0 var(--color-accent),
        0 4px 16px rgba(var(--color-accent-rgb), calc(0.3 * var(--glow-strength, 1)));
}
.nav-menu a.active .nav-icon { opacity: 1; color: var(--color-accent); }

.sidebar-section-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--color-text-muted);
    padding: 18px 24px 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.sidebar-section-label::before {
    content: '';
    width: 4px; height: 4px;
    background: var(--color-accent);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(var(--color-accent-rgb), calc(0.8 * var(--glow-strength, 1)));
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.5; transform: scale(1.4); }
}


/* ============================================================
   OVERLAY
   ============================================================ */
.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}
.overlay.active { opacity: 1; visibility: visible; }


/* ============================================================
   MAIN WRAPPER
   ============================================================ */
.main-wrapper {
    margin-left: 0;
    transition: margin-left 0.35s cubic-bezier(.2, .8, .2, 1);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}


/* ============================================================
   STICKY NOTICES — Live-Bar / Announcement
   ============================================================ */
.sticky-notices {
    position: sticky;
    top: 0;
    z-index: 500;
    background:
        linear-gradient(90deg,
            var(--color-accent) 0%,
            var(--color-link) 100%);
    background-size: 200% 100%;
    animation: gradient-flow 8s ease infinite;
    color: white;
    padding: 10px 20px;
    text-align: center;
    box-shadow: 0 2px 20px rgba(var(--color-accent-rgb), 0.4);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
}
.sticky-notices::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--claw-svg);
    background-size: 600px 100%;
    background-repeat: repeat-x;
    background-position: center;
    opacity: 0.08;
    pointer-events: none;
}
@keyframes gradient-flow {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}
.sticky-notices .notice-bar {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: relative;
    z-index: 1;
}
.sticky-notices .notice-pulse {
    display: inline-block;
    width: 8px; height: 8px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.8);
    animation: pulse-ring 1.6s infinite;
}
@keyframes pulse-ring {
    0%   { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.8); }
    70%  { box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}
.sticky-notices a {
    color: white;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 2px;
}
.sticky-notices a:hover { text-decoration: none; }


/* ============================================================
   SITE HEADER — Voll-Hero
   ============================================================ */
.site-header {
    position: relative;
    background: var(--color-surface);
    border-bottom: 1px solid rgba(var(--color-accent-rgb), 0.3);
    overflow: hidden;
}

.header-content {
    padding: 0;
    display: flex;
    flex-direction: column;
}

.header-top {
    position: relative;
    padding: 80px 24px 100px;
    min-height: var(--header-top-height, 540px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    background-image:
        linear-gradient(180deg,
            rgba(0, 0, 0, 0.5) 0%,
            rgba(0, 0, 0, 0.2) 40%,
            rgba(var(--color-bg-end-rgb, 26, 27, 31), 0.85) 100%),
        var(--header-background-image);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    isolation: isolate;
}

/* Animated gradient glow behind the logo */
.header-top::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: min(900px, 90%);
    height: 60%;
    transform: translate(-50%, -50%);
    background:
        radial-gradient(ellipse at center,
            rgba(var(--color-accent-rgb), 0.35) 0%,
            rgba(var(--color-link-rgb, 0, 77, 232), 0.2) 35%,
            transparent 70%);
    filter: blur(40px);
    z-index: -1;
    animation: hero-pulse 6s ease-in-out infinite;
}
@keyframes hero-pulse {
    0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
    50%      { opacity: 1;   transform: translate(-50%, -50%) scale(1.08); }
}

/* Diagonal claw rakes across the hero (decorative) */
.header-top::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--claw-svg);
    background-size: 600px 200px;
    background-position: top right;
    background-repeat: no-repeat;
    opacity: 0.12;
    mix-blend-mode: screen;
    pointer-events: none;
    z-index: -1;
}

.header-logo { flex-shrink: 0; }
.logo-link { text-decoration: none; display: inline-block; }
.logo-link img {
    display: block;
    max-width: min(380px, 80vw);
    height: auto;
    filter:
        drop-shadow(0 0 30px rgba(var(--color-accent-rgb), calc(0.5 * var(--glow-strength, 1))))
        drop-shadow(0 0 60px rgba(var(--color-link-rgb, 0, 77, 232), calc(0.3 * var(--glow-strength, 1))));
    transition: transform 0.4s cubic-bezier(.2,.8,.2,1);
}
.logo-link:hover img {
    transform: scale(1.04) rotate(-1deg);
}

.logo-text {
    font-family: 'Audiowide', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 400;
    background: linear-gradient(90deg, var(--color-accent), var(--color-link));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 40px rgba(var(--color-accent-rgb), calc(0.5 * var(--glow-strength, 1)));
    letter-spacing: 4px;
    text-transform: uppercase;
}

.hero-tagline {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    color: var(--color-secondary);
    letter-spacing: 6px;
    text-transform: uppercase;
    text-align: center;
    max-width: 600px;
    line-height: 1.6;
    opacity: 0.9;
}
.hero-tagline .accent { color: var(--color-accent); }

.hero-headline {
    font-family: 'Audiowide', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.4rem);
    color: var(--color-primary);
    text-align: center;
    max-width: 800px;
    letter-spacing: 1px;
    line-height: 1.3;
    margin-top: -8px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 8px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 16px;
    padding: 16px 28px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(var(--color-accent-rgb), 0.25);
    border-radius: 14px;
}
.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    min-width: 80px;
}
.hero-stat-value {
    font-family: 'Audiowide', sans-serif;
    font-size: 1.4rem;
    color: var(--color-primary);
    text-shadow: 0 0 12px rgba(var(--color-accent-rgb), calc(0.6 * var(--glow-strength, 1)));
}
.hero-stat-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Header Nav Bar */
.header-nav {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(var(--color-accent-rgb), 0.2);
    border-bottom: 1px solid rgba(var(--color-accent-rgb), 0.2);
    padding: 0;
    position: relative;
}
.nav-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    padding: 0 30px;
    max-width: 1400px;
    margin: 0 auto;
}
.header-nav a {
    color: var(--color-secondary);
    text-decoration: none;
    padding: 18px 22px;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: all 0.25s ease;
    position: relative;
    border-bottom: 2px solid transparent;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.header-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 50%;
    width: 0; height: 2px;
    background: var(--color-accent);
    box-shadow: 0 0 10px rgba(var(--color-accent-rgb), calc(0.8 * var(--glow-strength, 1)));
    transform: translateX(-50%);
    transition: width 0.3s ease;
}
.header-nav a:hover {
    color: var(--color-primary);
    background: rgba(var(--color-accent-rgb), 0.06);
}
.header-nav a:hover::after { width: 60%; }
.header-nav a.active {
    color: var(--color-primary);
    background: rgba(var(--color-accent-rgb), 0.1);
}
.header-nav a.active::after { width: 60%; }


/* ============================================================
   CONTENT
   ============================================================ */
.content {
    flex: 1;
    padding: 60px 24px 80px;
    position: relative;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
}


/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
    color: var(--color-primary);
    margin-bottom: 20px;
    font-weight: 400;
    line-height: 1.2;
    text-wrap: balance;
}

h1 {
    font-family: 'Audiowide', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 0 0 30px rgba(var(--color-accent-rgb), calc(0.4 * var(--glow-strength, 1)));
    margin-bottom: 28px;
}

h2 {
    font-family: 'Audiowide', sans-serif;
    font-size: clamp(1.4rem, 2.6vw, 2rem);
    letter-spacing: 1px;
    text-transform: uppercase;
    padding-bottom: 14px;
    margin: 56px 0 28px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
}
/* Claw-mark divider under h2 (replaces border) */
h2::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 14px;
    background-image: var(--claw-svg);
    background-size: 280px 14px;
    background-repeat: no-repeat;
    background-position: left bottom;
    opacity: 0.5;
    filter:
        brightness(0)
        invert(1)
        drop-shadow(0 0 6px rgba(var(--color-accent-rgb), calc(0.6 * var(--glow-strength, 1))));
}
/* When .no-claws is on body, fall back to a simple line */
body.no-claws h2::after {
    background-image: none;
    height: 2px;
    background: linear-gradient(90deg, var(--color-accent), transparent);
    filter: none;
    opacity: 0.7;
}
h2 .h2-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: var(--color-accent);
    background: rgba(var(--color-accent-rgb), 0.1);
    border: 1px solid rgba(var(--color-accent-rgb), 0.3);
    padding: 3px 10px;
    border-radius: 999px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-shadow: none;
}

h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.4rem;
    color: var(--color-primary);
    font-weight: 700;
    letter-spacing: -0.2px;
}

h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: var(--color-secondary);
    font-weight: 600;
}

p {
    margin-bottom: 18px;
    color: var(--color-text);
    line-height: 1.75;
    text-wrap: pretty;
}

.lead {
    font-size: 1.15rem;
    color: var(--color-secondary);
    line-height: 1.7;
    max-width: 720px;
    margin-bottom: 24px;
}

a { color: var(--color-link); }
a:hover { color: var(--color-accent); }

code, .mono {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9em;
    background: rgba(var(--color-accent-rgb), 0.1);
    color: var(--color-accent);
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px solid rgba(var(--color-accent-rgb), 0.2);
}


/* ============================================================
   CARDS — base, with claw-rip hover
   ============================================================ */
.card {
    background: var(--color-surface-card);
    backdrop-filter: var(--card-backdrop-filter);
    -webkit-backdrop-filter: var(--card-backdrop-filter);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 28px;
    margin-bottom: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.35s cubic-bezier(.2, .8, .2, 1);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
/* Subtle corner accent */
.card::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 60px; height: 60px;
    background: linear-gradient(135deg, transparent 50%, rgba(var(--color-accent-rgb), 0.15) 100%);
    pointer-events: none;
}
/* Claw-rip on hover */
.card::after {
    content: '';
    position: absolute;
    top: -10px; right: -10px;
    width: 180px; height: 100%;
    background-image: var(--claw-svg);
    background-size: 180px 100%;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0;
    transform: translateX(20px) rotate(8deg);
    transition: all 0.4s ease;
    filter:
        brightness(0)
        invert(1)
        drop-shadow(0 0 8px rgba(var(--color-accent-rgb), 0.8));
    pointer-events: none;
    mix-blend-mode: screen;
}
.card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 16px 48px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(var(--color-accent-rgb), 0.4),
        0 0 32px rgba(var(--color-accent-rgb), calc(0.18 * var(--glow-strength, 1)));
    border-color: rgba(var(--color-accent-rgb), 0.5);
}
.card:hover::after {
    opacity: 0.18;
    transform: translateX(0) rotate(0deg);
}
body.no-claws .card::after { display: none; }

.card h3 { color: var(--color-primary); margin-bottom: 10px; }
.card p:last-child { margin-bottom: 0; }


/* ============================================================
   GRID
   ============================================================ */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin: 32px 0;
}
.grid-tight {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}


/* ============================================================
   FEATURES LIST — claw-paw bullets
   ============================================================ */
.features {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.features li {
    padding: 14px 0 14px 36px;
    border-bottom: 1px solid var(--color-border-subtle);
    color: var(--color-text);
    position: relative;
    transition: padding 0.25s ease;
}
.features li::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 22px; height: 22px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'><circle cx='12' cy='15' r='4'/><circle cx='6' cy='9' r='2.2'/><circle cx='10' cy='6' r='2.2'/><circle cx='14' cy='6' r='2.2'/><circle cx='18' cy='9' r='2.2'/></svg>");
    background-size: contain;
    background-repeat: no-repeat;
    filter: drop-shadow(0 0 6px rgba(var(--color-accent-rgb), calc(0.7 * var(--glow-strength, 1))));
}
body.no-claws .features li::before {
    background-image: none;
    width: auto; height: auto;
    content: '▸';
    color: var(--color-accent);
    font-size: 1.5rem;
    line-height: 1;
    filter: none;
    text-shadow: 0 0 8px rgba(var(--color-accent-rgb), calc(0.6 * var(--glow-strength, 1)));
}
.features li:hover { padding-left: 42px; color: var(--color-primary); }


/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-link));
    color: white;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
    box-shadow:
        0 4px 16px rgba(var(--color-accent-rgb), calc(0.35 * var(--glow-strength, 1))),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left 0.5s ease;
}
.btn:hover {
    transform: translateY(-2px);
    color: white;
    box-shadow:
        0 8px 24px rgba(var(--color-accent-rgb), calc(0.5 * var(--glow-strength, 1))),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.btn:hover::before { left: 100%; }
.btn:active { transform: translateY(0); }

.btn-secondary {
    background: transparent;
    border: 2px solid var(--color-accent);
    color: var(--color-primary);
    box-shadow: 0 0 0 0 rgba(var(--color-accent-rgb), 0);
}
.btn-secondary:hover {
    background: rgba(var(--color-accent-rgb), 0.12);
    color: var(--color-primary);
    box-shadow: 0 0 24px rgba(var(--color-accent-rgb), calc(0.35 * var(--glow-strength, 1)));
}

.btn-ghost {
    background: rgba(var(--color-accent-rgb), 0.08);
    border: 1px solid rgba(var(--color-accent-rgb), 0.25);
    color: var(--color-secondary);
    box-shadow: none;
}
.btn-ghost:hover {
    background: rgba(var(--color-accent-rgb), 0.15);
    color: var(--color-primary);
    border-color: rgba(var(--color-accent-rgb), 0.5);
}

.btn-icon {
    width: 16px; height: 16px;
    flex-shrink: 0;
}


/* ============================================================
   BADGES
   ============================================================ */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: rgba(var(--color-accent-rgb), 0.15);
    color: var(--color-primary);
    border: 1px solid rgba(var(--color-accent-rgb), 0.35);
    border-radius: 999px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.badge-success { background: rgba(0, 200, 100, 0.15); color: var(--color-success); border-color: rgba(0, 200, 100, 0.4); }
.badge-warn    { background: rgba(255, 165, 0, 0.15); color: var(--color-warning); border-color: rgba(255, 165, 0, 0.4); }
.badge-danger  { background: rgba(255, 60, 60, 0.15); color: var(--color-danger); border-color: rgba(255, 60, 60, 0.4); }
.badge-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 6px currentColor;
    animation: pulse-dot 2s ease-in-out infinite;
}


/* ============================================================
   COMPONENT: LIVE-STATUS BAR (Sim-Online + Member-Counter)
   ============================================================ */
.live-status {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    background: var(--color-surface-card);
    backdrop-filter: var(--card-backdrop-filter);
    -webkit-backdrop-filter: var(--card-backdrop-filter);
    border: 1px solid var(--color-border);
    border-radius: 14px;
    padding: 18px 22px;
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
}
.live-status::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 4px; height: 100%;
    background: linear-gradient(180deg, var(--color-accent), var(--color-link));
    box-shadow: 0 0 12px rgba(var(--color-accent-rgb), calc(0.6 * var(--glow-strength, 1)));
}
.live-stat {
    display: flex;
    align-items: center;
    gap: 14px;
}
.live-stat-icon {
    width: 38px; height: 38px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: rgba(var(--color-accent-rgb), 0.12);
    border: 1px solid rgba(var(--color-accent-rgb), 0.3);
    color: var(--color-accent);
    flex-shrink: 0;
}
.live-stat-icon svg { width: 18px; height: 18px; }
.live-stat-body { display: flex; flex-direction: column; gap: 2px; }
.live-stat-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    color: var(--color-text-muted);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}
.live-stat-value {
    font-family: 'Audiowide', sans-serif;
    font-size: 1.1rem;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}
.live-stat-value .badge-dot { color: var(--color-success); }


/* ============================================================
   COMPONENT: EVENT CARD
   ============================================================ */
.event-card {
    background: var(--color-surface-card);
    backdrop-filter: var(--card-backdrop-filter);
    -webkit-backdrop-filter: var(--card-backdrop-filter);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
}
.event-card:hover {
    transform: translateY(-4px);
    border-color: rgba(var(--color-accent-rgb), 0.5);
    box-shadow:
        0 14px 40px rgba(0, 0, 0, 0.4),
        0 0 32px rgba(var(--color-accent-rgb), calc(0.2 * var(--glow-strength, 1)));
}
.event-card-media {
    aspect-ratio: 16 / 9;
    background:
        linear-gradient(135deg,
            rgba(var(--color-accent-rgb), 0.4),
            rgba(var(--color-link-rgb, 0, 77, 232), 0.4)),
        var(--color-surface-alt);
    position: relative;
    overflow: hidden;
}
.event-card-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--claw-svg);
    background-size: 220px 80%;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.18;
    mix-blend-mode: screen;
    filter: brightness(2);
}
.event-card-date {
    position: absolute;
    top: 14px; left: 14px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(var(--color-accent-rgb), 0.35);
    border-radius: 10px;
    padding: 8px 12px;
    text-align: center;
    min-width: 60px;
}
.event-card-date .day {
    font-family: 'Audiowide', sans-serif;
    font-size: 1.4rem;
    color: var(--color-primary);
    line-height: 1;
}
.event-card-date .month {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    color: var(--color-accent);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top: 2px;
}
.event-card-badge {
    position: absolute;
    top: 14px; right: 14px;
}
.event-card-body {
    padding: 22px 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}
.event-card-title {
    font-family: 'Audiowide', sans-serif;
    font-size: 1.15rem;
    color: var(--color-primary);
    letter-spacing: 0.5px;
    line-height: 1.3;
}
.event-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: var(--color-text-muted);
    letter-spacing: 0.5px;
}
.event-card-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.event-card-meta-item svg { width: 12px; height: 12px; color: var(--color-accent); }
.event-card-desc {
    color: var(--color-text);
    font-size: 0.92rem;
    line-height: 1.6;
    flex: 1;
}
.event-card-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 6px;
}
.event-card-attendees {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: var(--color-secondary);
}
.event-card-attendees strong { color: var(--color-accent); }


/* ============================================================
   COMPONENT: MEMBER CARD
   ============================================================ */
.member-card {
    background: var(--color-surface-card);
    backdrop-filter: var(--card-backdrop-filter);
    -webkit-backdrop-filter: var(--card-backdrop-filter);
    border: 1px solid var(--color-border);
    border-radius: 14px;
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.member-card:hover {
    border-color: rgba(var(--color-accent-rgb), 0.45);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3),
                0 0 24px rgba(var(--color-accent-rgb), calc(0.18 * var(--glow-strength, 1)));
}
.member-avatar {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-accent), var(--color-link));
    flex-shrink: 0;
    position: relative;
    display: grid;
    place-items: center;
    color: white;
    font-family: 'Audiowide', sans-serif;
    font-size: 1.3rem;
    border: 2px solid rgba(var(--color-accent-rgb), 0.5);
    box-shadow: 0 0 16px rgba(var(--color-accent-rgb), calc(0.4 * var(--glow-strength, 1)));
}
.member-status-dot {
    position: absolute;
    bottom: 0; right: 0;
    width: 14px; height: 14px;
    border-radius: 50%;
    background: var(--color-success);
    border: 2px solid var(--color-surface);
    box-shadow: 0 0 8px var(--color-success);
}
.member-status-dot.offline { background: var(--color-text-muted); box-shadow: none; }
.member-status-dot.away    { background: var(--color-warning); box-shadow: 0 0 8px var(--color-warning); }
.member-info { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.member-name {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: var(--color-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.member-fursona {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: var(--color-accent);
    letter-spacing: 1px;
    text-transform: uppercase;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.member-presence {
    font-size: 0.78rem;
    color: var(--color-text-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


/* ============================================================
   COMPONENT: GALERIE TILE
   ============================================================ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 8px;
    margin: 24px 0;
}
.gallery-tile {
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    background: var(--color-surface-alt);
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
}
.gallery-tile-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s cubic-bezier(.2,.8,.2,1);
}
.gallery-tile-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.85) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 14px;
}
.gallery-tile-meta {
    color: white;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transform: translateY(8px);
    transition: transform 0.3s ease;
}
.gallery-tile:hover {
    border-color: var(--color-accent);
    box-shadow: 0 0 24px rgba(var(--color-accent-rgb), calc(0.4 * var(--glow-strength, 1)));
    z-index: 2;
}
.gallery-tile:hover .gallery-tile-bg { transform: scale(1.08); }
.gallery-tile:hover .gallery-tile-overlay { opacity: 1; }
.gallery-tile:hover .gallery-tile-meta { transform: translateY(0); }


/* ============================================================
   COMPONENT: FORUM THREAD ITEM
   ============================================================ */
.forum-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: var(--color-surface-card);
    backdrop-filter: var(--card-backdrop-filter);
    -webkit-backdrop-filter: var(--card-backdrop-filter);
    border: 1px solid var(--color-border);
    border-radius: 14px;
    overflow: hidden;
}
.forum-thread {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    gap: 16px;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--color-border-subtle);
    transition: background 0.2s ease;
    text-decoration: none;
    color: inherit;
}
.forum-thread:last-child { border-bottom: none; }
.forum-thread:hover { background: rgba(var(--color-accent-rgb), 0.06); }
.forum-thread-avatar {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-accent), var(--color-link));
    display: grid;
    place-items: center;
    color: white;
    font-family: 'Audiowide', sans-serif;
    font-size: 0.95rem;
    flex-shrink: 0;
}
.forum-thread-body { min-width: 0; }
.forum-thread-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: var(--color-primary);
    font-size: 0.98rem;
    margin-bottom: 3px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.forum-thread:hover .forum-thread-title { color: var(--color-accent); }
.forum-thread-meta {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: var(--color-text-muted);
    letter-spacing: 0.5px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.forum-thread-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    color: var(--color-accent);
    background: rgba(var(--color-accent-rgb), 0.1);
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.forum-thread-stats {
    display: flex;
    gap: 16px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    color: var(--color-text-muted);
    text-align: right;
}
.forum-thread-stats strong {
    display: block;
    color: var(--color-primary);
    font-size: 0.95rem;
    font-weight: 700;
}


/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background:
        linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.5) 100%),
        var(--color-surface);
    border-top: 1px solid rgba(var(--color-accent-rgb), 0.3);
    margin-top: auto;
    position: relative;
}
.site-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 14px;
    background-image: var(--claw-svg);
    background-size: 280px 14px;
    background-repeat: repeat-x;
    background-position: top;
    opacity: 0.18;
    filter: brightness(0) invert(1) drop-shadow(0 0 6px rgba(var(--color-accent-rgb), 0.6));
}
body.no-claws .site-footer::before { display: none; }

.footer-content {
    padding: 60px 30px 30px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}
.footer-logo {
    font-family: 'Audiowide', sans-serif;
    font-size: 1.4rem;
    background: linear-gradient(90deg, var(--color-accent), var(--color-link));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.footer-byline {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: var(--color-text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 24px;
}
.footer-links {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin: 24px 0;
    flex-wrap: wrap;
}
.footer-links a {
    color: var(--color-secondary);
    text-decoration: none;
    transition: color 0.25s ease;
    font-size: 0.9rem;
    font-weight: 500;
}
.footer-links a:hover {
    color: var(--color-accent);
    text-shadow: 0 0 12px rgba(var(--color-accent-rgb), calc(0.6 * var(--glow-strength, 1)));
}
.footer-bottom {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--color-border-subtle);
    color: var(--color-text-muted);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    letter-spacing: 0.5px;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (min-width: 1500px) {
    .hamburger { display: none; }
    .sidebar { left: 0; }
    .main-wrapper { margin-left: var(--layout-sidebar-width); }
    .overlay { display: none; }
}
@media (max-width: 768px) {
    .header-top { padding: 60px 20px 70px; min-height: 380px; background-attachment: scroll; }
    .header-nav { display: none; }
    .grid { grid-template-columns: 1fr; }
    .footer-links { flex-direction: column; gap: 14px; }
    .hero-stats { gap: 24px; padding: 14px 20px; }
    h2 { margin: 40px 0 20px; }
}
@media (max-width: 480px) {
    .sidebar { width: 250px; }
    .content { padding: 32px 16px 50px; }
    .card { padding: 20px; }
    .btn { padding: 11px 22px; font-size: 0.9rem; }
    .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
    .forum-thread { grid-template-columns: auto 1fr; }
    .forum-thread-stats { display: none; }
}


/* ============================================================
   ANIMATIONS / UTILITIES
   ============================================================ */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeIn 0.6s ease-out backwards; }
.fade-in-1 { animation-delay: 0.1s; }
.fade-in-2 { animation-delay: 0.2s; }
.fade-in-3 { animation-delay: 0.3s; }
.fade-in-4 { animation-delay: 0.4s; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--color-surface); }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--color-accent), var(--color-link));
    border-radius: 5px;
}

.text-center { text-align: center; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.mt-1 { margin-top: 10px; } .mt-2 { margin-top: 20px; } .mt-3 { margin-top: 30px; } .mt-4 { margin-top: 40px; } .mt-5 { margin-top: 50px; }
.mb-1 { margin-bottom: 10px; } .mb-2 { margin-bottom: 20px; } .mb-3 { margin-bottom: 30px; } .mb-4 { margin-bottom: 40px; } .mb-5 { margin-bottom: 50px; }
.p-1 { padding: 10px; } .p-2 { padding: 20px; } .p-3 { padding: 30px; } .p-4 { padding: 40px; } .p-5 { padding: 50px; }
