* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #000000;
    --widget-bg: rgba(255, 255, 255, 0.025);
    --widget-bg-hover: rgba(255, 255, 255, 0.045);
    --text: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.52);
    --text-soft: rgba(255, 255, 255, 0.72);
    --border: rgba(255, 255, 255, 0.07);
    --border-hover: rgba(255, 255, 255, 0.15);
    --radius: 18px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background: #000000;
    color: #ffffff;
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}


/* Fixierter Hintergrund */
body::before {
    content: '';
    position: fixed;          /* bleibt stehen */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
            linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
            linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
    background-size: 56px 56px;
    pointer-events: none;
    z-index: -1;
}


/* ========== Navbar ========== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    padding: 1rem 2.5rem;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.logo {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: -0.02em;
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.logo-text .name {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.logo-text .role {
    font-size: 0.62rem;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ========== Dashboard Grid ========== */
.dashboard {
    max-width: 1080px;
    margin: 0 auto;
    padding: 2.75rem 2rem 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

/* ========== Widget Basis ========== */
.widget {
    background: var(--widget-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem 1.6rem;
    transition:
            background 0.25s ease,
            border-color 0.25s ease,
            transform 0.25s ease,
            box-shadow 0.25s ease;
}

.widget:hover {
    background: var(--widget-bg-hover);
    border-color: var(--border-hover);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

/* Widget Header */
.widget-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.15rem;
}

.widget-title {
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.09em;
}

.badge {
    font-size: 0.7rem;
    font-weight: 500;
    padding: 0.22rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.09);
    color: var(--text-soft);
}

/* ========== Bio Widget ========== */
.widget-bio {
    grid-column: 1 / -1;
    padding: 2rem 2rem 2.1rem;
}

.widget-bio h1 {
    font-size: clamp(1.7rem, 3.5vw, 2.15rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.25;
    margin-bottom: 0.85rem;
}

.highlight {
    color: rgba(255, 255, 255, 0.62);
}

.widget-bio p {
    font-size: 1.02rem;
    color: var(--text-muted);
    max-width: 640px;
    line-height: 1.7;
}

/* ===== Lieblingsserver Widget ===== */

.server-info {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-bottom: 1.1rem;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.info-row .label {
    color: rgba(255, 255, 255, 0.52);
}

.info-row .value {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
}

.server-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 0.15rem;
    padding-top: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

/* Button */
.server-actions {
    margin-top: 1.2rem;
}

.server-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1.2rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.2s ease;
}

.server-actions .btn:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.35);
}
/* ========== Discord Widget ========== */
.discord-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.4rem;
}

.avatar-placeholder {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.4);
}

.discord-profile h3 {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 0.1rem;
}

.discord-tag {
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* Status */
.status {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.status-dot.online  { background: #23a559; }
.status-dot.idle    { background: #f0b232; }
.status-dot.dnd     { background: #f23f43; }
.status-dot.offline { background: #6d6f78; }

/* Buttons */
.discord-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.52rem 1.15rem;
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn.primary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.btn.primary:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.28);
}

.btn.secondary {
    background: transparent;
    color: var(--text-soft);
    border: 1px solid var(--border);
}

.btn.secondary:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

/* ========== Footer ========== */
footer {
    text-align: center;
    padding: 2.25rem 1.5rem;
    font-size: 0.82rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
}

/* ========== Responsive ========== */
@media (max-width: 820px) {
    .dashboard {
        grid-template-columns: 1fr;
        padding: 1.75rem 1.25rem 2.5rem;
        gap: 1.1rem;
    }

    .widget-bio {
        grid-column: auto;
        padding: 1.6rem 1.5rem;
    }

    .navbar {
        padding: 0.95rem 1.35rem;
    }
}

@media (max-width: 480px) {
    .widget {
        padding: 1.3rem 1.25rem;
    }

    .widget-bio h1 {
        font-size: 1.55rem;
    }
}
/* Discord Live Integration */
.discord-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.discord-activity {
    margin-top: 0.35rem;
    font-size: 0.82rem;
    color: var(--text-muted);
    max-width: 220px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.status-dot.online  { background: #23a559; box-shadow: 0 0 8px #23a559; }
.status-dot.idle    { background: #f0b232; }
.status-dot.dnd     { background: #f23f43; }
.status-dot.offline { background: #6d6f78; }