/* =========================
   VARIABLE FONTS (LOCAL)
========================= */

@font-face {
    font-family: 'Cinzel';
    src: url('../fonts/Cinzel-VariableFont_wght.woff2') format('woff2');
    font-weight: 400 700;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-Variable.woff2') format('woff2');
    font-weight: 100 900;
    font-display: swap;
}

body {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

h1 {
    font-family: 'Cinzel', serif;
    font-weight: 700;
}

h2 {
    font-family: 'Cinzel', serif;
    font-weight: 600;
}

body,
.markdown-body,
.page-content {
    font-family: 'Inter', sans-serif !important;
    font-weight: 400;
}

h1, h2, h3 {
    font-family: 'Cinzel', serif !important;
    font-weight: 600;
}

/* =========================
   GLOBAL VOID STYLE
========================= */

body {
    background: radial-gradient(circle at center, #111, #000);
    color: #e0d3b8;
    font-family: "Segoe UI", sans-serif;
}

/* Nebel Effekt */
body::before {
    /* content: "";
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.03), transparent 40%),
                radial-gradient(circle at 70% 60%, rgba(255,255,255,0.02), transparent 50%);
    animation: voidDrift 25s infinite alternate ease-in-out;
    pointer-events: none; */
}

@keyframes voidDrift {
    0% { transform: translate(0,0); }
    100% { transform: translate(-30px, 20px); }
}

/* Content Breite */
.markdown-body {
    max-width: 900px;
    margin: auto;
}

/* =========================
   TYPOGRAPHY
========================= */

h1 {
    font-size: 3rem;
    text-align: center;
    margin-top: 40px;
    color: #c9a96a;
    letter-spacing: 2px;
}

h2 {
    color: #c9a96a;
    margin-top: 30px;
}

p {
    line-height: 1.6;
}

/* =========================
   SIDEBAR
========================= */

.sidebar {
    background: #111;
    border-right: 1px solid #2a2a2a;
}

.sidebar a {
    color: #ccc;
}

.sidebar a:hover {
    color: #fff;
}

/* =========================
   LINKS
========================= */

a {
    color: #d4af37;
    text-decoration: none;
}

a:hover {
    color: #ffffff;
}

/* =========================
   STIMME
========================= */

.stimme {
    margin: 60px 0;
    padding: 25px;
    border-left: 3px solid #888;
    font-style: italic;
    opacity: 0.8;
    position: relative;
}

.stimme::before {
    content: "VOID";
    position: absolute;
    top: -10px;
    right: 10px;
    font-size: 0.7rem;
    letter-spacing: 2px;
    opacity: 0.3;
}

/* =========================
   HÄUSER GRID
========================= */

.haeuser-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin: 50px 0;
}

.haus {
    display: block;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #2a2a2a;
    background: rgba(20,20,20,0.85);
    transition: all 0.25s ease;
    position: relative;
}

.haus:hover {
    transform: translateY(-6px);
    border-color: #c9a96a;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}

/* Titel */
.haus h2 {
    margin: 0;
}

/* Farben + Glow */
.aelwyn {
    border-left: 5px solid #4da6ff;
}

.aelwyn:hover {
    box-shadow: 0 0 25px rgba(77,166,255,0.3);
}

.draevor {
    border-left: 5px solid #ff4d4d;
}

.draevor:hover {
    box-shadow: 0 0 25px rgba(255,77,77,0.3);
}

.solvare {
    border-left: 5px solid #ffd24d;
}

.solvare:hover {
    box-shadow: 0 0 25px rgba(255,210,77,0.3);
}

.velkyr {
    border-left: 5px solid #e6e6e6;
}

.velkyr:hover {
    box-shadow: 0 0 25px rgba(200,200,200,0.3);
}

/* =========================
   EVENTS
========================= */

.events {
    display: grid;
    gap: 15px;
    margin-top: 20px;
}

.events div {
    padding: 15px;
    border-left: 3px solid #c9a96a;
    background: rgba(255,255,255,0.03);
}

/* =========================
   BUTTONS
========================= */

.btn {
    display: inline-block;
    margin-top: 10px;
    margin-right: 10px;
    padding: 12px 20px;
    border-radius: 8px;
    background: linear-gradient(135deg, #c9a96a, #e0d3b8);
    color: #000;
    font-weight: bold;
    letter-spacing: 1px;
    transition: 0.2s;
}

.btn:hover {
    transform: translateY(-2px);
}

/* =========================
   MOBILE
========================= */

@media (max-width: 800px) {
    .haeuser-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================
   STIMME LOG SYSTEM
========================= */

.log {
    margin-top: 30px;
    display: grid;
    gap: 20px;
}

.log div {
    padding: 15px;
    background: rgba(255,255,255,0.03);
    border-left: 3px solid #888;
}

.log span {
    display: block;
    font-size: 0.8rem;
    opacity: 0.5;
    margin-bottom: 5px;
}

/* leichter Void Glow */
.log div:hover {
    border-left: 3px solid #c9a96a;
}

/* =========================
   STIMME SYSTEM LEVEL 2
========================= */

.status {
    padding: 20px;
    margin: 20px 0;
    border-left: 4px solid #888;
    background: rgba(255,255,255,0.03);
}

.status.warn {
    border-color: #c9a96a;
}

.log {
    display: grid;
    gap: 20px;
}

.event {
    padding: 15px;
    border-left: 3px solid #555;
    background: rgba(255,255,255,0.03);
    transition: 0.2s;
}

.event span {
    display: block;
    font-size: 0.75rem;
    opacity: 0.6;
    margin-bottom: 5px;
}

/* Typen */

.event.info {
    border-color: #4da6ff;
}

.event.warn {
    border-color: #ffd24d;
}

.event.critical {
    border-color: #ff4d4d;
}

/* Hover */

.event:hover {
    transform: translateX(5px);
    border-color: #c9a96a;
}

/* =========================
   VOID MESSAGE
========================= */

.void-message {
    margin: 40px 0;
    text-align: center;
    font-style: italic;
    opacity: 0.6;
    animation: pulseVoid 4s infinite ease-in-out;
}

@keyframes pulseVoid {
    0%,100% { opacity: 0.4; }
    50% { opacity: 0.8; }
}

body::after {
    /* content: "";
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at center, rgba(201,169,106,0.05), transparent 70%);
    pointer-events: none; */
}

.event.critical:hover {
    box-shadow: 0 0 20px rgba(255,0,0,0.3);
}

/* =========================
   CUSTOM LOGO
========================= */

.sidebar-header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 10px;
}

/* Standard Grav Logo ausblenden */
.sidebar-header img {
    display: none;
}

/* Eigenes Logo */
.sidebar-header::after {
    content: "";
    display: block;
    width: 180px;
    height: 80px;
    background: url('../images/logo.png') no-repeat center;
    background-size: contain;
}

/* =========================
   CUSTOM LOGO
========================= */

.sidebar-header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 10px;
}

/* Standard Grav Logo ausblenden */
.sidebar-header img {
    display: none;
}

/* Eigenes Logo */
.sidebar-header::after {
    content: "";
    display: block;
    width: 180px;
    height: 80px;
    background: url('../images/logo.png') no-repeat center;
    background-size: contain;
}

.sidebar-header::after {
    filter: drop-shadow(0 0 10px rgba(201,169,106,0.4));
}

@media (max-width: 800px) {
    .sidebar-header::after {
        width: 140px;
        height: 60px;
    }
}