:root {
    /* Day Mode - Grauer, cleaner Hintergrund mit dunklem Text */
    --bg-color-1: #C5CAC6;
    --bg-color-2: #b9beb9;
    --bg-color-3: #d1d6d2;
    --text-main: #222222;
    
    /* GLASSMORPHISM - Day Mode (Milchglas auf hell) */
    --btn-bg: rgba(255, 255, 255, 0.45);
    --btn-border: rgba(255, 255, 255, 0.6);
    --btn-text: #222222;
    --btn-hover: rgba(255, 255, 255, 0.7);
    --btn-shadow: rgba(0, 0, 0, 0.05);
    
    --switch-bg: rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] {
    /* Dark Mode - Unverändert */
    --bg-color-1: #1e1e1e;
    --bg-color-2: #0a0a0a;
    --bg-color-3: #2a2a2a;
    --text-main: #ffffff;
    
    /* GLASSMORPHISM - Dark Mode (Milchglas auf dunkel) */
    --btn-bg: rgba(0, 0, 0, 0.3);
    --btn-border: rgba(255, 255, 255, 0.1);
    --btn-text: #ffffff;
    --btn-hover: rgba(0, 0, 0, 0.5);
    --btn-shadow: rgba(0, 0, 0, 0.3);
    
    --switch-bg: #444;
}

body {
    margin: 0;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: linear-gradient(-45deg, var(--bg-color-1), var(--bg-color-2), var(--bg-color-3));
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    padding: 40px 20px;
    box-sizing: border-box;
    transition: background 0.3s ease, color 0.3s ease;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.header-container {
    width: 100%;
    max-width: 680px;
    text-align: center;
}

.profile {
    margin-bottom: 32px;
}

.profile img.banner {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 16px;
    object-fit: cover;
    display: block;
    box-shadow: 0 4px 15px var(--btn-shadow);
}

.profile h1 {
    font-size: 22px;
    margin: 0 0 8px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.profile p {
    font-size: 15px;
    margin: 0;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
}

.links {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.link-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-color: var(--btn-bg);
    color: var(--btn-text);
    text-decoration: none;
    padding: 16px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    min-height: 60px;
    box-sizing: border-box;
    
    /* Glass Effekt */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--btn-border);
    box-shadow: 0 4px 15px var(--btn-shadow);
    
    /* Basis-Transition für den Hover-Effekt */
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
    
    /* Einflug-Animation beim Laden (Details unten) */
    animation: fadeInUp 0.5s ease backwards;
}

.link-btn:hover {
    background-color: var(--btn-hover);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 20px var(--btn-shadow);
}

.link-icon {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 4px;
    object-fit: cover;
}

.theme-switch-wrapper {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.theme-switch-label {
    font-size: 12px;
    font-weight: 600;
    opacity: 0.8;
}

.theme-switch {
    display: inline-block;
    height: 20px;
    position: relative;
    width: 36px;
}

.theme-switch input {
    display: none;
}

.slider {
    background-color: var(--switch-bg);
    bottom: 0;
    cursor: pointer;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: 0.3s;
    border-radius: 34px;
}

.slider:before {
    background-color: #fff;
    bottom: 3px;
    content: "";
    height: 14px;
    left: 4px;
    position: absolute;
    transition: 0.3s;
    width: 14px;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #2cc283;
}

input:checked + .slider:before {
    transform: translateX(14px);
}

/* Theme-spezifische Icons umschalten */
[data-theme="light"] .icon-night { display: none; }
[data-theme="dark"] .icon-day { display: none; }

/* Einflug-Animationen (Staggered Fade-In) */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Zeitverzögerung für jeden einzelnen Button */
.link-btn:nth-child(1) { animation-delay: 0.05s; }
.link-btn:nth-child(2) { animation-delay: 0.10s; }
.link-btn:nth-child(3) { animation-delay: 0.15s; }
.link-btn:nth-child(4) { animation-delay: 0.20s; }
.link-btn:nth-child(5) { animation-delay: 0.25s; }
.link-btn:nth-child(6) { animation-delay: 0.30s; }
.link-btn:nth-child(7) { animation-delay: 0.35s; }
.link-btn:nth-child(8) { animation-delay: 0.40s; }
.link-btn:nth-child(9) { animation-delay: 0.45s; }
.link-btn:nth-child(10) { animation-delay: 0.50s; }
.link-btn:nth-child(11) { animation-delay: 0.55s; }
.link-btn:nth-child(12) { animation-delay: 0.60s; }
.link-btn:nth-child(13) { animation-delay: 0.65s; }
.link-btn:nth-child(14) { animation-delay: 0.70s; }
.link-btn:nth-child(15) { animation-delay: 0.75s; }