:root {
    --bg-main: #050812;
    --bg-elevated: rgba(11, 14, 18, 0.9);
    --bg-glass: rgba(10, 18, 28, 0.85);
    --accent: #00ffb6;
    --accent-soft: rgba(0, 255, 182, 0.18);
    --accent-strong: rgba(0, 255, 182, 0.4);
    --accent-secondary: #1ea6ff;
    --text-main: #f7f9ff;
    --text-muted: #a5b1c7;
    --danger: #ff3b6b;
    --radius-xl: 1.5rem;
    --shadow-glow: 0 0 30px rgba(0, 255, 182, 0.25);
    --transition-fast: 160ms ease-out;
    --transition-medium: 260ms ease-out;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background: radial-gradient(circle at top, #101828 0, #050612 55%, #020308 100%);
    color: var(--text-main);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Background FX */
.bg-orbit {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: -2;
}
.bg-orbit::before,
.bg-orbit::after {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 999px;
    filter: blur(80px);
    opacity: 0.65;
}
.bg-orbit::before {
    background: radial-gradient(circle, var(--accent) 0, transparent 60%);
    top: -120px;
    left: -60px;
}
.bg-orbit::after {
    background: radial-gradient(circle, var(--accent-secondary) 0, transparent 60%);
    bottom: -180px;
    right: -80px;
}

.scanline-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.35;
    background-image: linear-gradient(
        rgba(255, 255, 255, 0.03) 1px,
        transparent 1px
    );
    background-size: 100% 3px;
    z-index: -1;
}

/* Layout Wrapper */
.page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.3rem 1.4rem 3rem;
}


header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
    margin-bottom: 1.6rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.brand-logo {
    width: 82px;          
    height: 82px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}


.brand-logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand-logo-inner {
    font-size: 1.35rem;
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}
.brand-name {
    font-family: "Bowlby One", system-ui;
    font-size: 1.1rem;
    letter-spacing: 0.2em;
}
.brand-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.22em;
}

/* NAV */
nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    font-size: 0.9rem;
}
.nav-link {
    position: relative;
    cursor: pointer;
    color: var(--text-muted);
    text-decoration: none;
    padding-bottom: 2px;
}
.nav-link:hover {
    color: var(--text-main);
}
.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-secondary));
    transition: width var(--transition-fast);
}
.nav-link:hover::after {
    width: 100%;
}

/* Lang Switch */
.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 0.0rem;
    padding: 0.2rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.35);
    position: relative;
}

.lang-pill {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.2rem 0.9rem;
    font-size: 0.75rem;
    border-radius: 999px;
    cursor: pointer;
    color: var(--text-muted);
    user-select: none;
    white-space: nowrap;
}

.lang-pill.active {
    color: #020617;
    font-weight: 600;
}

.lang-pill-bg {
    position: absolute;
    top: 2px;
    bottom: 2px;
    left: 2px;
    width: calc(50% - 4px); /* etwas kleiner als 50%, damit sie IM Rahmen bleibt */
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
    box-shadow: var(--shadow-glow);
    transition: transform 0.22s ease;
}

.lang-pill-bg.de {
    transform: translateX(0%);
}

.lang-pill-bg.en {
    transform: translateX(100%);
}

.auth-buttons {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

/* Buttons */
.btn {
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    background: rgba(15, 23, 42, 0.9);
    padding: 0.45rem 1rem;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    color: var(--text-main);
    cursor: pointer;
    text-decoration: none;
    transition:
        transform var(--transition-fast),
        box-shadow var(--transition-fast),
        border-color var(--transition-fast),
        background var(--transition-fast);
    backdrop-filter: blur(10px);
}
.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.9);
    border-color: var(--accent-strong);
}
.btn-primary {
    background:
        radial-gradient(circle at 0 0, var(--accent-secondary) 0, transparent 60%),
        linear-gradient(135deg, var(--accent), var(--accent-secondary));
    border-color: transparent;
    box-shadow: var(--shadow-glow);
}
.btn-outline {
    color: var(--accent);
    border-color: rgba(45, 212, 191, 0.6);
    background: rgba(15, 23, 42, 0.92);
}
.btn-discord {
    justify-content: center;
    background:
        radial-gradient(circle at top left, rgba(129, 140, 248, 0.2), transparent 60%),
        linear-gradient(135deg, #4f46e5, #6366f1);
    border-color: transparent;
    box-shadow: 0 16px 40px rgba(79, 70, 229, 0.7);
    color: #fff;
}

/* Mobile menu button */
.menu-toggle {
    display: none;
    padding: 0.45rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.5);
    background: rgba(15, 23, 42, 0.96);
    cursor: pointer;
}
.menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--text-main);
    margin: 3px 0;
}

/* ===== HERO ===== */
.hero {
    margin-top: 1.5rem;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.05fr);
    gap: 2.4rem;
    align-items: center;               /* Zentriert beide Spalten */
    min-height: calc(100vh - 160px);   /* mittig, aber nicht zu hoch */
}

.hero-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    top: -6px;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.25rem 0.85rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.4);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--text-muted);
    margin-bottom: 1rem;
}
.hero-pill-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--accent);
    box-shadow: 0 0 12px rgba(0, 255, 182, 0.9);
}

.hero-title {
    font-family: "Bowlby One", system-ui;
    font-size: clamp(2.3rem, 4vw, 3rem);
    line-height: 1.05;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    margin-bottom: 0.7rem;
}
.hero-title .accent {
    background: linear-gradient(120deg, var(--accent), var(--accent-secondary));
    -webkit-background-clip: text;
    color: transparent;
}

.hero-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    max-width: 430px;
    margin-bottom: 1.4rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    align-items: center;
    margin-bottom: 1.7rem;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.6rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}
.hero-meta-label {
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.7rem;
    margin-bottom: 0.18rem;
}
.hero-meta-value {
    color: var(--accent);
    font-weight: 500;
}

/* HERO RIGHT: LOGIN PANEL */
.hero-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.hero-panel {
    position: relative;
    width: 100%;
    max-width: 420px;
    border-radius: var(--radius-xl);
    padding: 1.3rem 1.2rem 1.15rem;
    background:
        radial-gradient(circle at top left, rgba(0, 255, 182, 0.14), transparent 60%),
        linear-gradient(145deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.96));
    border: 1px solid rgba(148, 163, 184, 0.4);
    box-shadow: 0 26px 70px rgba(15, 23, 42, 0.95);
    overflow: hidden;
}
.hero-panel-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.8rem;
    margin-bottom: 1rem;
}
.hero-panel-title {
    font-size: 0.95rem;
    font-weight: 600;
}
.hero-panel-title + .small-note {
    margin-top: 0.15rem;
}
.hero-panel-badge {
    padding: 0.1rem 0.6rem;
    border-radius: 999px;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    background: rgba(15, 23, 42, 0.96);
    border: 1px solid rgba(148, 163, 184, 0.65);
    color: var(--accent);
}

/* Form / Auth */
.auth-option {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.divider {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--text-muted);
}
.divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(148, 163, 184, 0.6), transparent);
}

form {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}
.field {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.field-label {
    font-size: 0.78rem;
    color: var(--text-muted);
}
.field-input {
    border-radius: 0.8rem;
    border: 1px solid rgba(148, 163, 184, 0.65);
    background: rgba(15, 23, 42, 0.96);
    padding: 0.5rem 0.75rem;
    font-size: 0.86rem;
    color: var(--text-main);
    outline: none;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}
.field-input:focus {
    border-color: var(--accent);
    background: rgba(15, 23, 42, 1);
    box-shadow: 0 0 0 1px var(--accent-soft), var(--shadow-glow);
}

.field-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.checkbox {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    color: var(--text-muted);
    cursor: pointer;
    user-select: none;
}
.checkbox input {
    width: 14px;
    height: 14px;
    border-radius: 0.35rem;
    border: 1px solid rgba(148, 163, 184, 0.9);
    background: rgba(15, 23, 42, 0.9);
    accent-color: var(--accent);
}

.link-muted {
    font-size: 0.78rem;
    color: var(--accent-secondary);
    text-decoration: none;
}
.link-muted:hover {
    text-decoration: underline;
}
.small-note {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Features Section */
.section {
    margin-top: 3rem;
}
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1.1rem;
    margin-bottom: 1.4rem;
}
.section-title {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--text-muted);
}
.section-title span:first-child {
    color: var(--accent);
}
.section-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
    max-width: 480px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
}
.feature-card {
    position: relative;
    border-radius: 1.1rem;
    padding: 0.95rem 0.95rem 1rem;
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.97), rgba(15, 23, 42, 0.97));
    border: 1px solid rgba(148, 163, 184, 0.45);
    overflow: hidden;
    backdrop-filter: blur(10px);
    transform: translateY(0);
    transition:
        transform var(--transition-medium),
        box-shadow var(--transition-medium),
        border-color var(--transition-medium),
        background var(--transition-medium);
}
.feature-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(0, 255, 182, 0.2), transparent 55%);
    opacity: 0;
    transition: opacity var(--transition-medium);
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 1);
    border-color: var(--accent-strong);
}
.feature-card:hover::before {
    opacity: 1;
}
.feature-icon {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 0, rgba(0, 255, 182, 0.5), transparent 60%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    margin-bottom: 0.7rem;
}
.feature-title {
    font-size: 0.95rem;
    margin-bottom: 0.35rem;
}
.feature-text {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.6rem;
}
.feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--accent);
}
.feature-tag-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--accent);
}

/* Fade-in Animation */
.fade-in {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 400ms ease-out, transform 400ms ease-out;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
    .page {
        padding-inline: 1.2rem;
    }
    .hero {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
        gap: 1.8rem;
        min-height: auto;
    }
}

@media (max-width: 900px) {

    header {
        align-items: center;
        gap: 0.6rem;
        position: relative;
        z-index: 100; /* Header über Content */
    }

    /* MOBILE NAV OVERLAY */
    nav {
        position: fixed;
        top: 72px;              /* knapp unter dem Header */
        left: 50%;
        transform: translateX(-50%);
        width: calc(100% - 2rem);

        padding: 1rem 1.1rem;
        border-radius: 1.1rem;

        background: #0b1625;
        border: 1px solid rgba(148, 163, 184, 0.55);
        box-shadow: 0 30px 70px rgba(0, 0, 0, 0.85);

        display: none;
        flex-direction: column;
        gap: 1rem;

        z-index: 9999;          /* WICHTIG: über allem */
    }

    nav.open {
        display: flex;
    }

    .nav-links {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 0.6rem;
    }

    .nav-link {
        width: 100%;
        padding: 0.6rem 0.8rem;
        border-radius: 0.8rem;
        background: rgba(15, 23, 42, 0.95);
        border: 1px solid rgba(148, 163, 184, 0.4);
    }

    .nav-link:hover {
        background: rgba(0, 255, 182, 0.15);
        border-color: rgba(0, 255, 182, 0.5);
    }

    .auth-buttons {
        flex-direction: column;
        width: 100%;
        gap: 0.5rem;
    }

    .auth-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .lang-switch {
        align-self: center;
    }

    .menu-toggle {
        display: inline-block;
        margin-left: auto;
    }

    /* Hero bleibt 1-spaltig wie vorher */
    .hero {
        grid-template-columns: minmax(0, 1fr);
        min-height: auto;
        gap: 1.8rem;
        margin-top: 1.8rem;
    }

    .hero-right {
        justify-content: center;
    }

    .hero-panel {
        max-width: 360px;
        width: 100%;
        margin: 0 auto 1.5rem auto;
    }
}




@media (max-width: 700px) {
    .feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.6rem;
    }

    .feature-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}



.btn-discord i {
    font-size: 18px;
}


.studio-announcement {
    margin-top: 2rem;
    max-width: 100%;
}

.studio-announcement-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.25rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.5);
    background: rgba(15, 23, 42, 0.9);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
}

.studio-announcement-pill .dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--accent);
    box-shadow: 0 0 12px rgba(0, 255, 182, 0.85);
}

.studio-announcement-box {
    border-radius: 1.1rem;
    padding: 1rem 1.2rem 1.1rem;
    background:
        radial-gradient(circle at top left, rgba(0, 255, 182, 0.12), transparent 60%),
        linear-gradient(145deg, rgba(15, 23, 42, 0.97), rgba(15, 23, 42, 0.98));
    border: 1px solid rgba(148, 163, 184, 0.5);
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.95);
}

.studio-announcement-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.8rem;
    margin-bottom: 0.4rem;
}

.studio-announcement-title {
    font-size: 0.98rem;
    font-weight: 600;
}

.studio-announcement-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
    white-space: nowrap;
}

.studio-announcement-body {
    font-size: 0.85rem;
    color: var(--text-main);
    margin-top: 0.25rem;
    line-height: 1.4;
}

@media (max-width: 700px) {
    .studio-announcement-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
    }
}

.dashboard {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 1.5rem;
    padding: 1.5rem 1.5rem 2.5rem;
    max-width: 1280px;
    margin: 0 auto;
}

/* SIDEBAR */
.dashboard-sidebar {
    border-radius: 1.4rem;
    background: radial-gradient(circle at top left, rgba(0,255,182,0.18), transparent 55%),
                rgba(10, 18, 28, 0.97);
    border: 1px solid rgba(148, 163, 184, 0.6);
    box-shadow: 0 28px 70px rgba(15,23,42,0.95);
    padding: 1.2rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.dashboard-sidebar-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.3);
}

.avatar-circle {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #020617;
    box-shadow: var(--shadow-glow);
}

.sidebar-user-name {
    font-size: 0.95rem;
    font-weight: 600;
}

.sidebar-user-role {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.dashboard-nav {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.dashboard-nav-link {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.45rem 0.6rem;
    border-radius: 0.8rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.dashboard-nav-link .icon {
    width: 1.3rem;
    text-align: center;
}

.dashboard-nav-link:hover {
    background: rgba(0,255,182,0.12);
    color: #e5f9ff;
    transform: translateX(2px);
}

.dashboard-nav-link.active {
    background: rgba(0,255,182,0.18);
    color: #e5f9ff;
}

.dashboard-nav-link.small {
    font-size: 0.78rem;
    opacity: 0.85;
}

.dashboard-nav-link.danger {
    color: #fca5a5;
}

.dashboard-sidebar-footer {
    margin-top: auto;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(15,23,42,0.9);
}

/* TOPBAR + MAIN */
.dashboard-main {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.dashboard-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.topbar-title {
    font-size: 1.2rem;
    font-weight: 600;
}

.topbar-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Hamburger nur auf Mobile sichtbar */
.dashboard-sidebar-toggle {
    display: none;
    width: 38px;
    height: 30px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    background: rgba(15, 23, 42, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.dashboard-sidebar-toggle span {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: #e5f9ff;
}

/* DASHBOARD GRID */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.dashboard-card {
    border-radius: 1.1rem;
    padding: 1rem;
    background: rgba(10, 18, 28, 0.96);
    border: 1px solid rgba(148, 163, 184, 0.6);
    box-shadow: 0 18px 45px rgba(15,23,42,0.9);
}

.dashboard-card.wide {
    grid-column: span 3;
}

.dashboard-card-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
}

.dashboard-card-value {
    margin-top: 0.4rem;
    font-size: 1.6rem;
    font-weight: 700;
}

.dashboard-card-meta {
    margin-top: 0.2rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.activity-list {
    list-style: none;
    margin: 0.6rem 0 0;
    padding: 0;
    font-size: 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.activity-list .dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--accent);
    display: inline-block;
    margin-right: 0.4rem;
}

/* Sektion unten */
.dashboard-section {
    margin-top: 0.5rem;
}

.dashboard-section-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.dashboard-section-text {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* RESPONSIVE Dashboard */
@media (max-width: 960px) {
    .dashboard {
        grid-template-columns: minmax(0, 1fr);
        padding: 1.2rem 1rem 2rem;
    }

    .dashboard-sidebar {
        position: fixed;
        top: 72px;
        left: 0;
        bottom: 0;
        width: 260px;
        transform: translateX(-110%);
        transition: transform 0.25s ease-out;
        z-index: 9999;
    }

    .dashboard-sidebar.open {
        transform: translateX(0%);
    }

    .dashboard-sidebar-toggle {
        display: inline-flex;
    }

    .dashboard-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-card.wide {
        grid-column: span 2;
    }
}

@media (max-width: 640px) {
    .dashboard-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .dashboard-card.wide {
        grid-column: span 1;
    }
}


/* ====== HEADER USER MENU ====== */

.user-menu {
    position: relative;
}

.user-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.25rem 0.75rem 0.25rem 0.3rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.5);
    background: rgba(15, 23, 42, 0.95);
    cursor: pointer;
    font-size: 0.82rem;
}

.user-initial {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #020617;
    box-shadow: var(--shadow-glow);
}

.user-name {
    max-width: 110px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-caret i {
    font-size: 0.65rem;
    color: var(--text-muted);
}

.user-menu-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 0.4rem);
    min-width: 220px;
    border-radius: 1rem;
    padding: 0.7rem 0.8rem;
    background: rgba(10, 18, 28, 0.98);
    border: 1px solid rgba(148, 163, 184, 0.65);
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.95);
    display: none;             
    z-index: 60;
}

.user-menu-dropdown.open {
    display: block;
}

.user-menu-header {
    padding-bottom: 0.4rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.35);
    margin-bottom: 0.4rem;
}

.user-menu-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
}

.user-menu-sub {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 0.1rem;
}

/* Links im Dropdown */
.user-menu-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.4rem;
    padding: 0.35rem 0.15rem;
    border-radius: 0.6rem;
    font-size: 0.85rem;
    text-decoration: none;
    color: var(--text-main);
}

.user-menu-link:hover {
    background: rgba(0, 255, 182, 0.16);
}

.user-menu-link.danger {
    color: #fecaca;
}

.user-menu-separator {
    height: 1px;
    background: rgba(15, 23, 42, 0.9);
    margin: 0.35rem 0;
}

.user-menu-link .badge {
    font-size: 0.7rem;
    padding: 0.1rem 0.45rem;
    border-radius: 999px;
    border: 1px solid rgba(34, 197, 94, 0.7);
    color: #bbf7d0;
}


.user-avatar {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-glow);
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-discord-icon {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #020617;
}
