/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #0a0a0f;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow-x: hidden;
}

/* ===== ANIMIERTER HINTERGRUND ===== */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(145, 70, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(0, 255, 200, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 50% 100%, rgba(255, 0, 100, 0.05) 0%, transparent 50%);
    z-index: 0;
    animation: bgPulse 15s ease-in-out infinite alternate;
}

@keyframes bgPulse {
    0% { opacity: 0.5; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.1); }
}

/* ===== FLOATING PARTICLES ===== */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(145, 70, 255, 0.3);
    border-radius: 50%;
    animation: floatParticle linear infinite;
}

@keyframes floatParticle {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% {
        transform: translateY(-100vh) rotate(720deg);
        opacity: 0;
    }
}

/* ===== CONTAINER ===== */
.container {
    position: relative;
    z-index: 1;
    max-width: 560px;
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 32px;
    padding: 40px 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    animation: containerIn 0.8s ease-out;
}

@keyframes containerIn {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ===== PROFILE ===== */
.profile {
    text-align: center;
    margin-bottom: 30px;
}

.profile-avatar-wrapper {
    position: relative;
    display: inline-block;
}

.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(145, 70, 255, 0.3);
    box-shadow: 0 0 40px rgba(145, 70, 255, 0.15);
    transition: all 0.4s ease;
}

.profile-avatar:hover {
    transform: scale(1.05) rotate(-3deg);
    border-color: rgba(145, 70, 255, 0.8);
    box-shadow: 0 0 60px rgba(145, 70, 255, 0.3);
}

.profile-status-dot {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 18px;
    height: 18px;
    background: #00ff88;
    border-radius: 50%;
    border: 3px solid #0a0a0f;
    animation: statusPulse 2s infinite;
}

.profile-status-dot.offline {
    background: #ff4444;
    animation: none;
}

@keyframes statusPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 10px rgba(0, 255, 136, 0.3); }
    50% { transform: scale(1.1); box-shadow: 0 0 25px rgba(0, 255, 136, 0.6); }
}

.profile-name {
    font-size: 32px;
    font-weight: 900;
    color: #fff;
    margin-top: 12px;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #fff 60%, #9146ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.profile-title {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
    margin-top: 2px;
}

.profile-bio {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.35);
    margin-top: 6px;
    font-weight: 300;
}

/* ===== SECTION TITLES ===== */
.section-title {
    font-size: 11px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.25);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 28px 0 12px 0;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.section-title:first-of-type {
    margin-top: 0;
}

/* ===== LINKS ===== */
.link-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.04);
    padding: 14px 18px;
    border-radius: 14px;
    margin-bottom: 8px;
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.04);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateX(-20px);
    animation: linkIn 0.5s ease forwards;
}

@keyframes linkIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: left 0.6s ease;
}

.link-card:hover::before {
    left: 100%;
}

.link-card:hover {
    transform: translateX(4px) scale(1.01);
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.link-card .link-icon {
    font-size: 20px;
    width: 32px;
    text-align: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.link-card:hover .link-icon {
    transform: scale(1.15) rotate(-5deg);
}

.link-card .link-text {
    flex: 1;
    font-size: 15px;
    line-height: 1.3;
}

.link-card .link-badge {
    font-size: 10px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    background: rgba(145, 70, 255, 0.15);
    color: #9146ff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.link-card .link-arrow {
    font-size: 12px;
    opacity: 0.3;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.link-card:hover .link-arrow {
    opacity: 1;
    transform: translateX(4px);
}

/* ===== ICON FARBEN ===== */
.link-card.youtube .link-icon { color: #ff0000; }
.link-card.twitch .link-icon { color: #9146ff; }
.link-card.discord .link-icon { color: #5865f2; }
.link-card.instagram .link-icon { color: #e4405f; }
.link-card.whatsapp .link-icon { color: #25d366; }
.link-card.tiktok .link-icon { color: #ffffff; }
.link-card.merch .link-icon { color: #ff6b35; }
.link-card.holy .link-icon { color: #ffd700; }
.link-card.tubehosting .link-icon { color: #00d4ff; }
.link-card.pcsetup .link-icon { color: #00ff88; }
.link-card.project .link-icon { color: #ff6bcb; }
.link-card.email .link-icon { color: #ffb347; }
.link-card.default .link-icon { color: #aaa; }

/* ===== BUSINESS CARD ===== */
.business-card {
    background: rgba(145, 70, 255, 0.06);
    border: 1px solid rgba(145, 70, 255, 0.1);
    border-radius: 14px;
    padding: 16px 20px;
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: all 0.3s ease;
}

.business-card:hover {
    background: rgba(145, 70, 255, 0.1);
    border-color: rgba(145, 70, 255, 0.2);
    transform: scale(1.01);
}

.business-card .business-icon {
    font-size: 28px;
    color: #9146ff;
    flex-shrink: 0;
}

.business-card .business-info {
    flex: 1;
    min-width: 0;
}

.business-card .business-label {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.business-card .business-email {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
    word-break: break-all;
}

.business-card .business-email:hover {
    color: #9146ff;
}

/* ===== FOOTER ===== */
.footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer a {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.2);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 400;
}

.footer a:hover {
    color: rgba(255, 255, 255, 0.6);
}

.footer .footer-copy {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.1);
    width: 100%;
    text-align: center;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 480px) {
    .container {
        padding: 24px 16px;
        border-radius: 24px;
    }

    .profile-name {
        font-size: 26px;
    }

    .profile-avatar {
        width: 80px;
        height: 80px;
    }

    .link-card {
        padding: 12px 14px;
        font-size: 14px;
    }

    .link-card .link-icon {
        font-size: 18px;
        width: 28px;
    }

    .link-card .link-text {
        font-size: 14px;
    }

    .business-card {
        flex-direction: column;
        text-align: center;
        padding: 16px;
    }

    .business-card .business-email {
        font-size: 14px;
    }
}

@media (max-width: 380px) {
    .container {
        padding: 16px 12px;
    }

    .profile-name {
        font-size: 22px;
    }

    .link-card {
        padding: 10px 12px;
        font-size: 13px;
    }

    .link-card .link-text {
        font-size: 13px;
    }
}

/* ===== WENN SEHR VIELE LINKS ===== */
@media (min-width: 600px) {
    .container {
        max-width: 580px;
    }
    
    .link-card {
        padding: 16px 20px;
        margin-bottom: 10px;
    }
}

/* Bei sehr vielen Links (10+) etwas kompakter */
.link-card.many-links {
    padding: 12px 16px;
    margin-bottom: 6px;
    font-size: 14px;
}

.link-card.many-links .link-icon {
    font-size: 18px;
    width: 28px;
}