/* --- Variablen (Dein Theme) --- */
:root {
    --bg-body: #111827;       /* Dunkler Hintergrund */
    --bg-card: #1f2937;       /* Karten Hintergrund */
    --primary: #5865F2;       /* Blurple */
    --primary-hover: #4752c4;
    --text-main: #f9fafb;
    --text-muted: #9ca3af;
    --border: #374151;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--bg-body);
    color: var(--text-main);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    /* Ein feiner Hintergrund-Verlauf */
    background-image: radial-gradient(circle at top, #1f2937 0%, #111827 100%);
}

/* --- Die Karte --- */
.hub-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 3rem 2rem;
    border-radius: 24px;
    width: 100%;
    max-width: 480px;
    text-align: center;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 
                0 10px 10px -5px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.8s ease-out;
}

/* --- Logo & Header --- */
.logo-wrapper {
    margin-bottom: 1.5rem;
}

.hub-logo {
    width: 80px;
    height: 80px;
    border-radius: 18px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

.hub-icon {
    font-size: 3rem;
    color: var(--primary);
    background: rgba(88, 101, 242, 0.1);
    width: 80px;
    height: 80px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
}

h1 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.description {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: 1rem;
}

/* --- Status Badge --- */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.1); /* Grün transparent */
    color: #34d399;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.pulse {
    width: 8px;
    height: 8px;
    background: #34d399;
    border-radius: 50%;
    box-shadow: 0 0 0 rgba(52, 211, 153, 0.4);
    animation: pulse-green 2s infinite;
}

/* --- Links Liste --- */
.links-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hub-link {
    display: flex;
    align-items: center;
    background: var(--bg-body);
    border: 1px solid var(--border);
    padding: 1rem;
    border-radius: 16px;
    text-decoration: none;
    color: var(--text-main);
    transition: all 0.2s ease;
    text-align: left;
}

.hub-link:hover {
    transform: translateY(-2px);
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(88, 101, 242, 0.15);
}

/* Primary Link (Hervorgehoben) */
.hub-link.primary {
    background: linear-gradient(135deg, var(--primary) 0%, #404EED 100%);
    border: none;
    color: white;
}

.hub-link.primary .icon-box {
    background: rgba(255,255,255,0.2);
    color: white;
}

.hub-link.primary .subtitle {
    color: rgba(255,255,255,0.8);
}

/* Icons in Links */
.icon-box {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.1rem;
    color: var(--text-muted);
    transition: color 0.2s;
}

.link-text {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.title {
    font-weight: 700;
    font-size: 1rem;
}

.subtitle {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.arrow {
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.2s ease;
}

.hub-link:hover .arrow {
    opacity: 1;
    transform: translateX(0);
}

footer {
    margin-top: 3rem;
    color: var(--text-muted);
    font-size: 0.8rem;
    opacity: 0.6;
}

/* --- Animationen --- */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7); }
    70% { box-shadow: 0 0 0 6px rgba(52, 211, 153, 0); }
    100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

/* Mobile Optimierung */
@media (max-width: 480px) {
    .hub-card {
        padding: 2rem 1.5rem;
    }
}