/* --- Variablen & Reset --- */
:root {
    --bg-color: #050505;
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-hover: rgba(255, 255, 255, 0.1);
    --text-main: #ffffff;
    --text-sub: #a1a1aa;
    --accent-glow: #8b5cf6; /* Lila Neon */
    --twitch-color: #9146ff;
    --discord-color: #5865F2;
    --yt-color: #ff0000;
    --tiktok-color: #fe2c55;
    --whatsapp-color: #25D366;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    display: flex;
    justify-content: center;
    min-height: 100vh;
    overflow-x: hidden;
}

/* --- Hintergrund Animation --- */
.bg-animation {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.15), transparent 60%);
    z-index: -1;
    animation: pulseBg 10s infinite alternate;
}

@keyframes pulseBg {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.2); opacity: 0.8; }
}

/* --- Container --- */
.container {
    width: 100%;
    max-width: 600px;
    padding: 40px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* --- Profil Header --- */
.profile-header .img-container {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
}

#profile-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255,255,255,0.1);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
    transition: transform 0.3s ease;
}

#profile-img:hover {
    transform: scale(1.05) rotate(2deg);
    border-color: var(--accent-glow);
}

.status-indicator {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 3px solid var(--bg-color);
    background-color: #555; /* Grau = Offline */
}

.status-indicator.live {
    background-color: #ff0000;
    box-shadow: 0 0 10px #ff0000;
    animation: blink 2s infinite;
}

h1 {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(255,255,255,0.2);
}

.bio {
    color: var(--text-sub);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* --- Link Cards --- */
.links-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.link-card {
    display: flex;
    align-items: center;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 15px 20px;
    border-radius: 16px;
    text-decoration: none;
    color: var(--text-main);
    border: 1px solid rgba(255,255,255,0.05);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.link-card:hover {
    background: var(--card-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    border-color: rgba(255,255,255,0.2);
}

.icon-box {
    font-size: 1.5rem;
    width: 40px;
    display: flex;
    justify-content: center;
}

.link-text {
    flex-grow: 1;
    text-align: left;
    padding-left: 15px;
    display: flex;
    flex-direction: column;
}

.link-text span {
    font-weight: 600;
    font-size: 1.1rem;
}

.link-text small {
    font-size: 0.8rem;
    color: var(--text-sub);
    margin-top: 2px;
}

.arrow {
    opacity: 0.5;
    transition: transform 0.3s;
}

.link-card:hover .arrow {
    transform: translateX(5px);
    opacity: 1;
}

/* Markenspezifische Hover-Farben */
.twitch:hover { box-shadow: 0 0 15px rgba(145, 70, 255, 0.3); border-color: var(--twitch-color); }
.youtube:hover { box-shadow: 0 0 15px rgba(255, 0, 0, 0.3); border-color: var(--yt-color); }
.tiktok:hover { box-shadow: 0 0 15px rgba(254, 44, 85, 0.3); border-color: var(--tiktok-color); }
.whatsapp:hover { box-shadow: 0 0 15px rgba(37, 211, 102, 0.3); border-color: var(--whatsapp-color); }

/* --- Discord Highlight --- */
.discord {
    background: linear-gradient(90deg, rgba(88, 101, 242, 0.2), rgba(88, 101, 242, 0.05));
    border: 1px solid rgba(88, 101, 242, 0.4);
    animation: glowPulse 3s infinite;
}

@keyframes glowPulse {
    0% { box-shadow: 0 0 5px rgba(88, 101, 242, 0.2); }
    50% { box-shadow: 0 0 15px rgba(88, 101, 242, 0.6); }
    100% { box-shadow: 0 0 5px rgba(88, 101, 242, 0.2); }
}

.discord:hover {
    background: var(--discord-color);
    border-color: var(--discord-color);
}

/* --- Footer --- */
footer {
    margin-top: 20px;
    font-size: 0.8rem;
    color: var(--text-sub);
}

footer a {
    color: var(--text-sub);
    text-decoration: none;
    margin-bottom: 5px;
    display: block;
}

footer a:hover {
    color: var(--text-main);
    text-decoration: underline;
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* Mobile Optimierung */
@media (max-width: 480px) {
    h1 { font-size: 1.8rem; }
    .container { padding: 30px 15px; }
}