/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: url('background.png') center center / cover no-repeat fixed;
    background-attachment: fixed;
    min-height: 100vh;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
}

/* Mobile: Einheitliche Performance-optimierte Version */
@media (max-width: 768px) {
    body {
        background: url('background.png') center center / cover no-repeat fixed;
        background-attachment: fixed;
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
        /* Performance-Optimierungen */
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        will-change: auto;
    }
    
    body::before {
        display: none; /* Keine animierten Hintergründe auf Mobile */
    }
    
    /* Mobile: Sterne komplett deaktivieren für bessere Performance */
    .star, .pre-star {
        display: none !important;
    }
    
    /* Mobile: Link-Items mit minimalen Box-Shadows für maximale Performance */
    .link-item {
        background: rgba(255, 255, 255, 0.15) !important;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        will-change: auto;
        transition: transform 0.15s ease !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
    }
    
    .link-item:hover {
        background: rgba(255, 255, 255, 0.2) !important;
        transform: scale(1.03) !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    }
    
    /* Verstecke zusätzliche Sterne auf Mobile */
    .star-mobile {
        display: none !important;
    }
    
    /* Mobile: Reduziere alle Animationen drastisch */
    .link-item {
        animation: none !important;
    }
    
    .link-item a::before {
        display: none !important; /* Verstecke Shimmer-Effekt */
    }
    
    .link-icon {
        transition: transform 0.1s ease !important;
    }
    
    .link-item:hover .link-icon {
        transform: scale(1.05) !important; /* Reduzierte Hover-Animation */
    }
    
    
    /* Reduziere Partikel-Anzahl */
    .light-point {
        display: none !important;
    }
    
    /* Mobile: Deaktiviere Overlay-Bild komplett */
    #overlay-image {
        display: none !important;
    }
    
    /* Mobile: Reduziere Header-Animationen */
    .header {
        animation: none !important;
    }
    
    .profile-pic {
        transition: none !important;
    }
    
    .profile-pic:hover {
        transform: none !important;
    }
    
    /* Mobile: Username-Glow optimiert für Performance */
    .username-glow {
        background: linear-gradient(45deg, #0066ff, #ff0000, #0066ff, #ff0000);
        background-size: 400% 400%;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        animation: mobileGradient 3s ease-in-out infinite; /* Langsamere Animation */
        text-shadow: 0 0 20px rgba(0, 102, 255, 0.3);
        position: relative;
        z-index: 2;
    }
    
    /* Mobile-optimierte Gradient-Animation */
    @keyframes mobileGradient {
        0% {
            background-position: 0% 50%;
        }
        50% {
            background-position: 100% 50%;
        }
        100% {
            background-position: 0% 50%;
        }
    }
    
    /* Container-Optimierungen */
    .container {
        padding: 12px;
        max-width: 100vw;
    }
    
    /* Mobile: Ultra-Performance-Mode */
    body {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        will-change: auto;
    }
    
    /* Mobile: Reduziere alle will-change Properties */
    * {
        will-change: auto !important;
    }
    
    /* Mobile: Deaktiviere alle komplexen Transitions */
    .link-item, .link-icon, .profile-pic, .header {
        transition: transform 0.1s ease !important;
    }
    
    .header {
        margin-bottom: 16px;
    }
    
    /* Overlay-Bild ausblenden */
    #overlay-image {
        display: none;
    }
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('background.png') center center / cover no-repeat fixed;
    background-attachment: fixed;
    z-index: -2;
    /* Blur entfernt für Performance */
    animation: cosmicPulse 8s ease-in-out infinite;
    transform: translateZ(0); /* Hardware acceleration */
    will-change: filter; /* Optimize for animations */
}

@keyframes cosmicPulse {
    0%, 100% { 
        filter: brightness(0.4) contrast(1.2);
    }
    25% { 
        filter: brightness(0.6) contrast(1.4);
    }
    50% { 
        filter: brightness(0.3) contrast(1.1);
    }
    75% { 
        filter: brightness(0.5) contrast(1.3);
    }
}

/* Mobile-spezifische Anpassungen */

/* Loading Screen */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 1s ease-out;
}

.loading-content {
    text-align: center;
    color: white;
}

.loading-logo {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    animation: logoSpin 2s linear infinite;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
    transform: translateZ(0); /* Hardware acceleration */
    will-change: transform; /* Optimize for animation */
}

.loading-logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.loading-text {
    font-size: 18px;
    font-weight: 300;
    letter-spacing: 2px;
    animation: loadingPulse 1.5s ease-in-out infinite;
}

@keyframes logoSpin {
    0% {
        transform: translateZ(0) rotate(0deg);
    }
    100% {
        transform: translateZ(0) rotate(360deg);
    }
}

@keyframes loadingPulse {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

/* Pre-Info Screen */
#pre-info-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 2s ease-out, visibility 2s ease-out;
}

/* Container sollte standardmäßig sichtbar sein */
.container {
    opacity: 1;
    visibility: visible;
}

/* Verstecke Hauptinhalt bis Pre-Info-Screen vorbei ist */
body.pre-loading .container {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

body.loaded .container {
    opacity: 1;
    visibility: visible;
}

#pre-info-screen.show {
    opacity: 1;
    visibility: visible;
}

#pre-info-screen.fade-out {
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity 2s ease-out, visibility 2s ease-out !important;
}

.pre-info-content {
    text-align: center;
    color: white;
    animation: preInfoSlideUp 0.8s ease-out;
}


.pre-info-text {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    letter-spacing: 3px;
    position: relative;
    display: inline-block;
}

.pre-info-glow {
    background: linear-gradient(45deg, #0066ff, #ff0000, #0066ff, #ff0000);
    background-size: 200% 200%; /* Reduzierte Größe für bessere Performance */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: preInfoGradient 2s ease-in-out infinite, preInfoGlow 2s ease-in-out infinite;
    will-change: background-position, transform; /* Hardware acceleration */
    transform: translateZ(0); /* Force hardware acceleration */
    text-shadow: 0 0 30px rgba(0, 102, 255, 0.5);
    position: relative;
    z-index: 2;
}

.pre-info-stars {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.pre-star {
    position: absolute;
    font-size: 0.6rem;
    opacity: 0.8;
    display: block;
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.9));
    will-change: transform, opacity;
}

.pre-star-1 { top: 15%; left: 15%; animation: starDance1 4s linear infinite !important; }
.pre-star-2 { top: 25%; right: 20%; animation: starDance2 3.5s linear infinite !important; }
.pre-star-3 { bottom: 25%; left: 10%; animation: starDance3 4.2s linear infinite !important; }
.pre-star-4 { bottom: 15%; right: 15%; animation: starDance4 3.8s linear infinite !important; }
.pre-star-5 { top: 55%; left: 5%; animation: starDance5 4.5s linear infinite !important; }
.pre-star-6 { top: 65%; right: 10%; animation: starDance6 3.2s linear infinite !important; }
.pre-star-7 { top: 35%; left: 25%; animation: starDance7 4.8s linear infinite !important; }
.pre-star-8 { top: 65%; right: 30%; animation: starDance8 3.6s linear infinite !important; }
.pre-star-9 { bottom: 15%; left: 20%; animation: starDance9 4.1s linear infinite !important; }
.pre-star-10 { top: 75%; right: 5%; animation: starDance10 3.9s linear infinite !important; }
.pre-star-11 { top: 5%; left: 30%; animation: starDance11 4.3s linear infinite !important; }
.pre-star-12 { bottom: 5%; right: 25%; animation: starDance12 3.7s linear infinite !important; }
.pre-star-13 { top: 85%; left: 15%; animation: starDance13 4.6s linear infinite !important; }
.pre-star-14 { top: 10%; right: 35%; animation: starDance14 3.4s linear infinite !important; }
.pre-star-15 { bottom: 40%; left: 35%; animation: starDance15 4.4s linear infinite !important; }
.pre-star-16 { top: 40%; right: 40%; animation: starDance16 3.3s linear infinite !important; }

.pre-info-subtitle {
    font-size: 1.4rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 4px;
    margin-bottom: 40px;
    animation: preInfoFadeIn 1s ease-out 0.5s both;
}

.pre-info-loading {
    margin-top: 20px;
}

.loading-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.loading-dots span {
    width: 16px;
    height: 16px;
    background: linear-gradient(45deg, #0066ff, #ff0000);
    border-radius: 50%;
    animation: preInfoDotBounce 1.2s ease-in-out infinite both;
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.6);
}

.loading-dots span:nth-child(1) { animation-delay: -0.32s; }
.loading-dots span:nth-child(2) { animation-delay: -0.16s; }
.loading-dots span:nth-child(3) { animation-delay: 0s; }

@keyframes preInfoSlideUp {
    0% {
        transform: translateY(50px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes preInfoPulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.5));
    }
    50% {
        transform: scale(1.3);
        filter: drop-shadow(0 0 40px rgba(255, 255, 255, 1));
    }
}


@keyframes preInfoGradient {
    0% {
        background-position: 0% 50%;
        transform: translateZ(0); /* Hardware acceleration */
    }
    50% {
        background-position: 100% 50%;
        transform: translateZ(0);
    }
    100% {
        background-position: 0% 50%;
        transform: translateZ(0);
    }
}

@keyframes preInfoGlow {
    0%, 100% {
        text-shadow: 0 0 20px rgba(0, 102, 255, 0.4), 0 0 40px rgba(255, 0, 0, 0.2);
        transform: translateZ(0); /* Hardware acceleration */
    }
    50% {
        text-shadow: 0 0 30px rgba(0, 102, 255, 0.6), 0 0 60px rgba(255, 0, 0, 0.4);
        transform: translateZ(0);
    }
}

@keyframes preInfoFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes preInfoDotBounce {
    0%, 80%, 100% {
        transform: scale(0.3);
        opacity: 0.3;
    }
    40% {
        transform: scale(1.2);
        opacity: 1;
    }
}

@keyframes starDance1 {
    0% { transform: translate(0, 0) scale(0.5) rotate(0deg); opacity: 0.3; }
    25% { transform: translate(20px, -15px) scale(0.8) rotate(90deg); opacity: 0.8; }
    50% { transform: translate(-10px, -25px) scale(0.6) rotate(180deg); opacity: 0.6; }
    75% { transform: translate(-15px, -5px) scale(0.9) rotate(270deg); opacity: 0.9; }
    100% { transform: translate(0, 0) scale(0.5) rotate(360deg); opacity: 0.3; }
}

@keyframes starDance2 {
    0% { transform: translate(0, 0) scale(0.5) rotate(0deg); opacity: 0.3; }
    25% { transform: translate(-15px, 20px) scale(0.8) rotate(-90deg); opacity: 0.8; }
    50% { transform: translate(20px, 15px) scale(0.6) rotate(-180deg); opacity: 0.6; }
    75% { transform: translate(10px, -10px) scale(0.9) rotate(-270deg); opacity: 0.9; }
    100% { transform: translate(0, 0) scale(0.5) rotate(-360deg); opacity: 0.3; }
}

@keyframes starDance3 {
    0% { transform: translate(0, 0) scale(0.5) rotate(0deg); opacity: 0.3; }
    25% { transform: translate(10px, 20px) scale(0.8) rotate(45deg); opacity: 0.8; }
    50% { transform: translate(-15px, 10px) scale(0.6) rotate(90deg); opacity: 0.6; }
    75% { transform: translate(20px, -15px) scale(0.9) rotate(135deg); opacity: 0.9; }
    100% { transform: translate(0, 0) scale(0.5) rotate(180deg); opacity: 0.3; }
}

@keyframes starDance4 {
    0% { transform: translate(0, 0) scale(0.5) rotate(0deg); opacity: 0.3; }
    25% { transform: translate(-20px, -10px) scale(0.8) rotate(-45deg); opacity: 0.8; }
    50% { transform: translate(15px, -20px) scale(0.6) rotate(-90deg); opacity: 0.6; }
    75% { transform: translate(-10px, 15px) scale(0.9) rotate(-135deg); opacity: 0.9; }
    100% { transform: translate(0, 0) scale(0.5) rotate(-180deg); opacity: 0.3; }
}

@keyframes starDance5 {
    0% { transform: translate(0, 0) scale(0.5) rotate(0deg); opacity: 0.3; }
    25% { transform: translate(20px, 5px) scale(0.8) rotate(60deg); opacity: 0.8; }
    50% { transform: translate(-10px, 20px) scale(0.6) rotate(120deg); opacity: 0.6; }
    75% { transform: translate(-15px, -10px) scale(0.9) rotate(180deg); opacity: 0.9; }
    100% { transform: translate(0, 0) scale(0.5) rotate(240deg); opacity: 0.3; }
}

@keyframes starDance6 {
    0% { transform: translate(0, 0) scale(0.5) rotate(0deg); opacity: 0.3; }
    25% { transform: translate(-15px, 20px) scale(0.8) rotate(-60deg); opacity: 0.8; }
    50% { transform: translate(20px, -10px) scale(0.6) rotate(-120deg); opacity: 0.6; }
    75% { transform: translate(10px, 15px) scale(0.9) rotate(-180deg); opacity: 0.9; }
    100% { transform: translate(0, 0) scale(0.5) rotate(-240deg); opacity: 0.3; }
}

@keyframes starDance7 {
    0% { transform: translate(0, 0) scale(0.5) rotate(0deg); opacity: 0.3; }
    25% { transform: translate(5px, -20px) scale(0.8) rotate(30deg); opacity: 0.8; }
    50% { transform: translate(-20px, -5px) scale(0.6) rotate(60deg); opacity: 0.6; }
    75% { transform: translate(15px, 15px) scale(0.9) rotate(90deg); opacity: 0.9; }
    100% { transform: translate(0, 0) scale(0.5) rotate(120deg); opacity: 0.3; }
}

@keyframes starDance8 {
    0% { transform: translate(0, 0) scale(0.5) rotate(0deg); opacity: 0.3; }
    25% { transform: translate(-20px, 15px) scale(0.8) rotate(-30deg); opacity: 0.8; }
    50% { transform: translate(10px, 20px) scale(0.6) rotate(-60deg); opacity: 0.6; }
    75% { transform: translate(-15px, -15px) scale(0.9) rotate(-90deg); opacity: 0.9; }
    100% { transform: translate(0, 0) scale(0.5) rotate(-120deg); opacity: 0.3; }
}

@keyframes starDance9 {
    0% { transform: translate(0, 0) scale(0.5) rotate(0deg); opacity: 0.3; }
    25% { transform: translate(15px, 15px) scale(0.8) rotate(75deg); opacity: 0.8; }
    50% { transform: translate(-5px, -20px) scale(0.6) rotate(150deg); opacity: 0.6; }
    75% { transform: translate(-20px, 5px) scale(0.9) rotate(225deg); opacity: 0.9; }
    100% { transform: translate(0, 0) scale(0.5) rotate(300deg); opacity: 0.3; }
}

@keyframes starDance10 {
    0% { transform: translate(0, 0) scale(0.5) rotate(0deg); opacity: 0.3; }
    25% { transform: translate(-10px, -15px) scale(0.8) rotate(-75deg); opacity: 0.8; }
    50% { transform: translate(20px, 10px) scale(0.6) rotate(-150deg); opacity: 0.6; }
    75% { transform: translate(10px, -20px) scale(0.9) rotate(-225deg); opacity: 0.9; }
    100% { transform: translate(0, 0) scale(0.5) rotate(-300deg); opacity: 0.3; }
}

@keyframes starDance11 {
    0% { transform: translate(0, 0) scale(0.5) rotate(0deg); opacity: 0.3; }
    25% { transform: translate(20px, -10px) scale(0.8) rotate(105deg); opacity: 0.8; }
    50% { transform: translate(-15px, 15px) scale(0.6) rotate(210deg); opacity: 0.6; }
    75% { transform: translate(-20px, -20px) scale(0.9) rotate(315deg); opacity: 0.9; }
    100% { transform: translate(0, 0) scale(0.5) rotate(420deg); opacity: 0.3; }
}

@keyframes starDance12 {
    0% { transform: translate(0, 0) scale(0.5) rotate(0deg); opacity: 0.3; }
    25% { transform: translate(-20px, 10px) scale(0.8) rotate(-105deg); opacity: 0.8; }
    50% { transform: translate(15px, -15px) scale(0.6) rotate(-210deg); opacity: 0.6; }
    75% { transform: translate(20px, 20px) scale(0.9) rotate(-315deg); opacity: 0.9; }
    100% { transform: translate(0, 0) scale(0.5) rotate(-420deg); opacity: 0.3; }
}

@keyframes starDance13 {
    0% { transform: translate(0, 0) scale(0.5) rotate(0deg); opacity: 0.3; }
    25% { transform: translate(10px, 20px) scale(0.8) rotate(135deg); opacity: 0.8; }
    50% { transform: translate(-20px, -10px) scale(0.6) rotate(270deg); opacity: 0.6; }
    75% { transform: translate(20px, 10px) scale(0.9) rotate(405deg); opacity: 0.9; }
    100% { transform: translate(0, 0) scale(0.5) rotate(540deg); opacity: 0.3; }
}

@keyframes starDance14 {
    0% { transform: translate(0, 0) scale(0.5) rotate(0deg); opacity: 0.3; }
    25% { transform: translate(-10px, -20px) scale(0.8) rotate(-135deg); opacity: 0.8; }
    50% { transform: translate(20px, 10px) scale(0.6) rotate(-270deg); opacity: 0.6; }
    75% { transform: translate(-20px, -10px) scale(0.9) rotate(-405deg); opacity: 0.9; }
    100% { transform: translate(0, 0) scale(0.5) rotate(-540deg); opacity: 0.3; }
}

@keyframes starDance15 {
    0% { transform: translate(0, 0) scale(0.5) rotate(0deg); opacity: 0.3; }
    25% { transform: translate(25px, 5px) scale(0.8) rotate(165deg); opacity: 0.8; }
    50% { transform: translate(-15px, 20px) scale(0.6) rotate(330deg); opacity: 0.6; }
    75% { transform: translate(-10px, -25px) scale(0.9) rotate(495deg); opacity: 0.9; }
    100% { transform: translate(0, 0) scale(0.5) rotate(660deg); opacity: 0.3; }
}

@keyframes starDance16 {
    0% { transform: translate(0, 0) scale(0.5) rotate(0deg); opacity: 0.3; }
    25% { transform: translate(-25px, -5px) scale(0.8) rotate(-165deg); opacity: 0.8; }
    50% { transform: translate(15px, -20px) scale(0.6) rotate(-330deg); opacity: 0.6; }
    75% { transform: translate(10px, 25px) scale(0.9) rotate(-495deg); opacity: 0.9; }
    100% { transform: translate(0, 0) scale(0.5) rotate(-660deg); opacity: 0.3; }
}


/* Pre-Star Animationen verwenden die gleichen Keyframes wie die Haupt-Sterne */


@keyframes overlayRotate {
    0% {
        transform: translateZ(0) rotate(0deg);
    }
    100% {
        transform: translateZ(0) rotate(-360deg);
    }
}

/* Overlay Image */
#overlay-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('unbenannt-2.png') center center / 80% no-repeat;
    z-index: 0; /* Über den Karten */
    pointer-events: none;
    opacity: 1; /* Vollständig deckend */
    filter: brightness(0.45) contrast(1.4); /* Minimal dunkler */
    animation: overlayRotate 4s linear infinite; /* Einfache Rotation */
    transform: translateZ(0); /* Hardware acceleration */
    will-change: transform, filter; /* Optimize for animation */
}

#smoke-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Unter dem Overlay-Bild */
    pointer-events: none;
    background: transparent;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
}

/* Mobile: Canvas komplett deaktivieren für bessere Performance */
@media (max-width: 768px) {
    #smoke-canvas {
        display: none !important;
    }
}


.container {
    max-width: 480px;
    margin: 0 auto;
    padding: 16px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

/* PC: Vertikale Zentrierung */
@media (min-width: 769px) {
    .container {
        justify-content: center;
        padding: 40px 16px;
    }
    
    .header {
        margin-bottom: 32px;
    }
    
    .links-container {
        margin-bottom: 0;
    }
}

/* Header Styles */
.header {
    text-align: center;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease-out;
}

.profile-pic {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    position: relative;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.profile-pic:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.profile-pic:hover .profile-image {
    transform: scale(1);
}

/* PC: Größeres Profilbild */
@media (min-width: 769px) {
    .profile-pic {
        width: 200px;
        height: 200px;
        margin-bottom: 24px;
    }
}

.username {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
}

.username-glow {
    background: linear-gradient(45deg, #0066ff, #ff0000, #0066ff, #ff0000);
    background-size: 200% 200%; /* Reduzierte Größe für bessere Performance */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: preInfoGradient 2s ease-in-out infinite, preInfoGlow 2s ease-in-out infinite;
    will-change: background-position, transform; /* Hardware acceleration */
    transform: translateZ(0); /* Force hardware acceleration */
    text-shadow: 0 0 30px rgba(0, 102, 255, 0.5);
    position: relative;
    z-index: 2;
}

.stars-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.star {
    position: absolute;
    font-size: 0.4rem;
    opacity: 0.7;
    display: block;
    filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.8));
    will-change: transform, opacity;
}

.star-1 { top: 15%; left: 10%; animation: starDance1 4s linear infinite !important; }
.star-2 { top: 25%; right: 15%; animation: starDance2 3.5s linear infinite !important; }
.star-3 { bottom: 35%; left: 5%; animation: starDance3 4.2s linear infinite !important; }
.star-4 { bottom: 25%; right: 10%; animation: starDance4 3.8s linear infinite !important; }
.star-5 { top: 45%; left: 8%; animation: starDance5 4.5s linear infinite !important; }
.star-6 { top: 55%; right: 12%; animation: starDance6 3.2s linear infinite !important; }
.star-7 { top: 35%; left: 25%; animation: starDance7 4.8s linear infinite !important; }
.star-8 { top: 65%; right: 30%; animation: starDance8 3.6s linear infinite !important; }
.star-9 { bottom: 15%; left: 20%; animation: starDance9 4.1s linear infinite !important; }
.star-10 { top: 75%; right: 5%; animation: starDance10 3.9s linear infinite !important; }
.star-11 { top: 5%; left: 30%; animation: starDance11 4.3s linear infinite !important; }
.star-12 { bottom: 5%; right: 25%; animation: starDance12 3.7s linear infinite !important; }
.star-13 { top: 85%; left: 15%; animation: starDance13 4.6s linear infinite !important; }
.star-14 { top: 10%; right: 35%; animation: starDance14 3.4s linear infinite !important; }
.star-15 { bottom: 40%; left: 35%; animation: starDance15 4.4s linear infinite !important; }
.star-16 { top: 40%; right: 40%; animation: starDance16 3.3s linear infinite !important; }

.bio {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
}

/* Discord Hero Section - Hauptanlaufstelle */
.discord-hero {
    margin-bottom: 32px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.discord-hero-item {
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.25) 0%, rgba(88, 101, 242, 0.15) 100%);
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 
        0 20px 60px rgba(88, 101, 242, 0.3), 
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        0 0 0 2px rgba(88, 101, 242, 0.4),
        0 0 60px rgba(88, 101, 242, 0.2);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(88, 101, 242, 0.5);
    position: relative;
    transform: translateZ(0);
    will-change: transform, box-shadow;
}

.discord-hero-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
    z-index: 1;
}

.discord-hero-item:hover::before {
    left: 100%;
}

.discord-hero-item:hover {
    transform: scale(1.08);
    box-shadow: 
        0 40px 120px rgba(88, 101, 242, 0.4), 
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        0 0 0 2px rgba(88, 101, 242, 0.6),
        0 0 80px rgba(88, 101, 242, 0.4);
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.35) 0%, rgba(88, 101, 242, 0.2) 100%);
    border: 2px solid rgba(88, 101, 242, 0.7);
}

.discord-hero-item a {
    display: flex;
    align-items: center;
    padding: 24px;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.discord-hero-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin-right: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 12px 30px rgba(88, 101, 242, 0.4);
    background: linear-gradient(135deg, #5865f2, #4752c4);
    color: white;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.discord-hero-item:hover .discord-hero-icon {
    transform: scale(1.2) rotate(10deg);
    box-shadow: 0 20px 50px rgba(88, 101, 242, 0.6);
}

.discord-hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.discord-hero-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.6);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.discord-hero-subtitle {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

.discord-hero-arrow {
    color: rgba(255, 255, 255, 0.9);
    font-size: 24px;
    transition: transform 0.3s ease;
    margin-left: 12px;
}

.discord-hero-item:hover .discord-hero-arrow {
    transform: translateX(8px);
}

/* Mobile: Discord Hero anpassen */
@media (max-width: 768px) {
    .discord-hero {
        margin-bottom: 24px;
    }
    
    .discord-hero-item a {
        padding: 20px;
    }
    
    .discord-hero-icon {
        width: 64px;
        height: 64px;
        font-size: 32px;
        margin-right: 16px;
        border-radius: 16px;
    }
    
    .discord-hero-title {
        font-size: 1.1rem;
    }
    
    .discord-hero-subtitle {
        font-size: 0.8rem;
    }
    
    .discord-hero-arrow {
        font-size: 20px;
    }
    
    .discord-hero-item:hover {
        transform: scale(1.05);
    }
}

/* PC: Discord Hero größer */
@media (min-width: 769px) {
    .discord-hero-item a {
        padding: 28px;
    }
    
    .discord-hero-icon {
        width: 96px;
        height: 96px;
        font-size: 48px;
        margin-right: 24px;
        border-radius: 24px;
    }
    
    .discord-hero-title {
        font-size: 1.3rem;
    }
    
    .discord-hero-subtitle {
        font-size: 0.95rem;
    }
    
    .discord-hero-arrow {
        font-size: 28px;
    }
}

/* Links Container */
.links-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.link-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.15), 
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    /* Blur entfernt für Performance */
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
    position: relative;
    transform: translateZ(0);
    will-change: transform, box-shadow;
}


.link-item:nth-child(1) { animation-delay: 0.1s; }
.link-item:nth-child(2) { animation-delay: 0.2s; }
.link-item:nth-child(3) { animation-delay: 0.3s; }
.link-item:nth-child(4) { animation-delay: 0.4s; }
.link-item:nth-child(6) { animation-delay: 0.5s; }
.link-item:nth-child(7) { animation-delay: 0.6s; }

.link-item:hover {
    transform: scale(1.06);
    box-shadow: 
        0 30px 100px rgba(0, 0, 0, 0.25), 
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.3),
        0 0 40px rgba(255, 255, 255, 0.1);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 100%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    /* Blur entfernt für Performance */
}


.link-item a {
    display: flex;
    align-items: center;
    padding: 16px;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
    z-index: 2;
}

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

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

.link-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-right: 14px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.platform-avatar {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    object-fit: cover;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.link-item:hover .link-icon {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

/* Hover-Glow für spezifische Plattformen */
.link-item[data-platform="twitch"]:hover .link-icon {
    box-shadow: 0 12px 30px rgba(145, 70, 255, 0.5);
}

.link-item[data-platform="tiktok"]:hover .link-icon {
    box-shadow: 0 12px 30px rgba(255, 0, 80, 0.5);
}

.link-item[data-platform="youtube"]:hover .link-icon {
    box-shadow: 0 12px 30px rgba(255, 0, 0, 0.5);
}

.link-item[data-platform="discord"]:hover .link-icon {
    box-shadow: 0 12px 30px rgba(88, 101, 242, 0.5);
}

.link-item[data-platform="cbs-tiktok"]:hover .link-icon {
    box-shadow: 0 12px 30px rgba(255, 107, 107, 0.5);
}

.link-item[data-platform="cbs-instagram"]:hover .link-icon {
    box-shadow: 0 12px 30px rgba(228, 64, 95, 0.5);
}

/* Platform-specific colors mit Glow-Effekten */
.link-item[data-platform="twitch"] .link-icon {
    background: linear-gradient(135deg, #9146ff, #772ce8);
    color: white;
    box-shadow: 0 8px 20px rgba(145, 70, 255, 0.3);
}

.link-item[data-platform="tiktok"] .link-icon {
    background: linear-gradient(135deg, #000, #ff0050);
    color: white;
    box-shadow: 0 8px 20px rgba(255, 0, 80, 0.3);
}

.link-item[data-platform="youtube"] .link-icon {
    background: linear-gradient(135deg, #ff0000, #cc0000);
    color: white;
    box-shadow: 0 8px 20px rgba(255, 0, 0, 0.3);
}

.link-item[data-platform="discord"] .link-icon {
    background: linear-gradient(135deg, #5865f2, #4752c4);
    color: white;
    box-shadow: 0 8px 20px rgba(88, 101, 242, 0.3);
}

.link-item[data-platform="cbs-tiktok"] .link-icon {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.3);
}

.link-item[data-platform="cbs-instagram"] .link-icon {
    background: linear-gradient(135deg, #e4405f, #c13584);
    color: white;
    box-shadow: 0 8px 20px rgba(228, 64, 95, 0.3);
}


.link-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.link-title {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.link-subtitle {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

.link-arrow {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    transition: transform 0.3s ease;
}

.link-item:hover .link-arrow {
    transform: translateX(4px);
}

/* Section Divider */
.section-divider {
    text-align: center;
    margin: 24px 0 16px;
    position: relative;
}

.section-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
    margin-left: -80px;
}

.section-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 50%;
    transform: translateX(50%);
    width: 40px;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
    margin-right: -80px;
}

.section-divider span {
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 20px;
    border-radius: 20px;
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
    z-index: 1;
    /* Blur entfernt für Performance */
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Footer */
.footer {
    text-align: center;
    padding: 20px 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */


/* Loading animation */
.loading {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Hover effects for better UX */
.link-item:active {
    transform: translateY(-2px) scale(0.98);
}

/* Focus states for accessibility */
.link-item a:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Zusätzliche interaktive Effekte */
.container {
    /* Blur entfernt für Performance */
    transition: background 0.3s ease;
}

.container:hover {
    /* Blur entfernt für Performance */
}

/* Cursor-Effekte */
body {
    cursor: none;
}

body:hover {
    cursor: default;
}



@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Performance-Optimierungen */
.link-item:hover {
    will-change: transform, box-shadow;
}


/* Desktop: Zeige alle Sterne */
@media (min-width: 769px) {
    .star-mobile {
        display: block;
        position: absolute;
        font-size: 0.4rem;
        opacity: 0.7;
        filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.8));
        will-change: transform, opacity;
    }
    
    .star-17 { top: 20%; left: 40%; animation: starDance1 4s linear infinite !important; }
    .star-18 { top: 60%; right: 45%; animation: starDance2 3.5s linear infinite !important; }
    .star-19 { bottom: 30%; left: 45%; animation: starDance3 4.2s linear infinite !important; }
    .star-20 { top: 80%; right: 20%; animation: starDance4 3.8s linear infinite !important; }
}

/* Low Performance Mode für alte Geräte */
body.low-performance {
    /* Reduziere alle Animationen */
    .star, .pre-star {
        animation-duration: 8s !important;
        animation-timing-function: linear !important;
    }
    
    .link-item {
        transition: transform 0.2s ease !important;
    }
    
    .link-item:hover {
        transform: scale(1.03) !important;
    }
    
    /* Verstecke Canvas komplett */
    #smoke-canvas {
        display: none !important;
    }
    
    /* Reduziere Blur-Effekte */
    .link-item {
        /* Blur entfernt für Performance */
    }
}

/* Ultra Low Performance Mode für sehr alte Geräte */
body.ultra-low-performance {
    /* Verstecke alle Sterne */
    .star, .pre-star {
        display: none !important;
    }
    
    /* Verstecke Canvas komplett */
    #smoke-canvas {
        display: none !important;
    }
    
    /* Verstecke Overlay-Bild */
    #overlay-image {
        display: none !important;
    }
    
    /* Reduziere alle Animationen */
    * {
        animation: none !important;
        transition: none !important;
    }
    
    /* Einfache Hover-Effekte */
    .link-item:hover {
        transform: scale(1.02) !important;
        transition: transform 0.1s ease !important;
    }
    
    /* Reduziere Blur-Effekte komplett */
    .link-item {
        /* Blur bereits entfernt */
        background: rgba(255, 255, 255, 0.1) !important;
    }
    
    /* Reduziere Box-Shadow */
    .link-item {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    }
    
    .link-item:hover {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    }
}

/* Reduzierte Motion für Accessibility */
@media (prefers-reduced-motion: reduce) {
    #smoke-canvas {
        animation: none;
    }
    
    .link-item::before {
        animation: none;
    }
    
    * {
        transition: none !important;
        animation: none !important;
    }
}

/* Yu-Gi-Oh! Varianten-Auswahl */
.variant-selector {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.variant-btn {
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid #FFD700;
    border-radius: 8px;
    color: #FFD700;
    padding: 8px 16px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 12px;
    transition: all 0.3s ease;
    /* Blur entfernt für Performance */
}

.variant-btn:hover {
    background: rgba(255, 215, 0, 0.2);
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

.variant-btn.active {
    background: rgba(255, 215, 0, 0.3);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

    
    /* Mobile: Reduziere Link-Item-Padding */
    .link-item a {
        padding: 12px;
    }
    
    /* Mobile: Reduziere Icon-Größe */
    .link-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
        margin-right: 12px;
    }
    
    /* Mobile: Reduziere Schriftgrößen */
    .username {
        font-size: 1.8rem;
    }
    
    .link-title {
        font-size: 0.9rem;
    }
    
    .link-subtitle {
        font-size: 0.75rem;
    }
}

/* Impressum Button */
.impressum-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.1);
    color: rgba(255, 255, 255, 0.3);
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    /* Blur entfernt für Performance */
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    -webkit-user-select: none;
}

.impressum-button:hover {
    background: rgba(0, 0, 0, 0.3);
    color: rgba(255, 255, 255, 0.6);
    border-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.impressum-button:active {
    transform: scale(0.95);
}

/* Impressum Modal */
.impressum-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    /* Blur entfernt für Performance */
}

.impressum-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: impressumFadeIn 0.3s ease-out;
}

.impressum-content {
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 0;
    max-width: 400px;
    width: 90%;
    /* Blur entfernt für Performance */
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: impressumSlideIn 0.3s ease-out;
}

.impressum-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.impressum-header h2 {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.impressum-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.impressum-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.impressum-body {
    padding: 24px;
}

.impressum-body p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 16px 0;
    font-size: 1rem;
    line-height: 1.5;
}

.impressum-body p:last-child {
    margin-bottom: 0;
}

.impressum-body h3 {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 24px 0 12px 0;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.impressum-body h3:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.impressum-body a {
    color: #0066ff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.impressum-body a:hover {
    color: #ff0000;
}

@keyframes impressumFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes impressumSlideIn {
    from {
        transform: translateY(-50px) scale(0.9);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

/* Mobile: Impressum Button anpassen */
@media (max-width: 768px) {
    .impressum-button {
        bottom: 15px;
        right: 15px;
        width: 28px;
        height: 28px;
        font-size: 11px;
    }
    
    .impressum-content {
        margin: 20px;
        width: calc(100% - 40px);
    }
}

/* Responsive Design für Varianten */
