/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none !important;
}

html {
    
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #0a0a0a;
    color: #e8e8e8;
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.profile-container {
    /* Deine bestehenden Styles bleiben */
    
    /* Glasmorphism-Effekt hinzufügen: */
    background: rgba(255, 255, 255, 0.00001);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.001);
    border-radius: 20px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 0 30px rgba(255, 255, 255, 0.9);
    padding: 30px; /* falls du Innenabstand brauchst */
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #e8e8e8;
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
    padding: 0;
    position: relative;
}

/* Video Background */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Optional: Overlay für bessere Lesbarkeit */
.video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(5, 5, 5, 0.2);
 	z-index: -1;
}


<style>
.top-typewriter {
    background: #333;
    color: #00ff00;
    padding: 10px 20px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    text-align: center;
    border-bottom: 2px solid #00ff00;
}

.typewriter-text {
    display: inline-block;
    border-right: 2px solid #00ff00;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { border-color: transparent; }
    51%, 100% { border-color: #00ff00; }
}
</style>



/* Masquer la scrollbar */
body::-webkit-scrollbar {
    display: none;
}

body {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Curseur personnalisé */
.cursor {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 999999;
    mix-blend-mode: difference;
}

.cursor-dot {
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
    transition: 
        transform 0.12s linear, /* Langsamere Position */
        width 0.1s ease,
        height 0.1s ease,
        background 0.1s ease;
}

.cursor-ring {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
    transition: 
        transform 0.12s linear, /* Langsamere Position */
        width 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        height 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        border 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cursor.hover .cursor-dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.8);
}

.cursor.hover .cursor-ring {
    width: 48px;
    height: 48px;
    border-color: rgba(255, 255, 255, 0.6);
    border-width: 2px;
}

.cursor.click .cursor-dot {
    width: 3px;
    height: 3px;
}

.cursor.click .cursor-ring {
    width: 24px;
    height: 24px;
}

/* Grille de fond */
.grid-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.02;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 1;
}

/* Particules */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 15s linear infinite;
}

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {.cursor
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* Container principal */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 10;
}

/* Section Hero */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-content {
    text-align: center;
    position: relative;
}

.profile-container {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-bottom: 4rem;
}

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

.avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.avatar.offline {
    opacity: 0.6;
    filter: grayscale(20%);
}

.avatar:hover {
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.3);
}



.status-ring {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    background: #0a0a0a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.status-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #f23f43;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(242, 63, 67, 0.4);
}

.status-dot.online {
    background: #00d26a;
    box-shadow: 0 0 20px rgba(0, 210, 106, 0.4);
}

.status-dot.offline {
    background: #747f8d;
    box-shadow: 0 0 20px rgba(244, 244, 244, 0.4);
}

.status-dot.idle {
    background: #ffb347;
    box-shadow: 0 0 20px rgba(255, 179, 71, 0.4);
}

.status-dot.dnd {
    background: #f23f43;
    box-shadow: 0 0 20px rgba(242, 63, 67, 0.4);
}

.avatar-glow {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.avatar-wrapper:hover .avatar-glow {
    opacity: 1;
}

.profile-text {
    text-align: left;
}

.name {
    font-family: 'JetBrains Mono', monospace;
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #fff 0%, #a0a0a0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.typing-text {
    display: inline-block;
}

.cursor-blink {
    animation: blink 1s infinite;
    color: #fff;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}


@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.floating-music-player.autoplay-blocked {
    animation: pulse 2s infinite;
}


.floating-music-player.autoplay-blocked .play-button {
    background: linear-gradient(45deg, #ff6b6b, #feca57);
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.3);
}


@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}



.tagline {
    font-size: 1.2rem;
    color: #888;
    margin-bottom: 20rem;
    font-weight: 300;
}


.tag {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 500;
    margin-right: 8px;
    margin-bottom: 16px; /* Das hier hinzufügen */
    display: inline-block;
}

.quick-stats {
    display: flex;
    gap: 2rem;
}

.stat {
    text-align: center;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.stat:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.8rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.scroll-indicator {
    position: absolute;
    bottom: -12rem; /* Encore plus bas */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 0.6;
    z-index: 10;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, #fff, transparent);
    animation: scroll-pulse 2s ease-in-out infinite;
}

.scroll-text {
    
    font-size: 0.8rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 2px;
}

@keyframes scroll-pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* Section principale */
.main-content {
    padding: 4rem 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.left-column,
.right-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Cards */
.card {
    background: rgba(15, 15, 15, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.card-icon {
    width: 24px;
    height: 24px;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.card:hover .card-icon {
    opacity: 1;
    transform: scale(1.1);
}

.card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    flex: 1;
}


* Discord Card - Erweitert für dynamische Hintergrundfarbe */
.discord-card {
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.1), rgba(15, 15, 15, 0.8));
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Status-spezifische Hintergrundfarben */
.discord-card.status-online {
    background: linear-gradient(135deg, rgba(0, 210, 106, 0.15), rgba(15, 15, 15, 0.8));
}

.discord-card.status-offline {
    background: linear-gradient(135deg, rgba(116, 127, 141, 0.1), rgba(15, 15, 15, 0.8));
}

.discord-card.status-idle {
    background: linear-gradient(135deg, rgba(255, 179, 71, 0.15), rgba(15, 15, 15, 0.8));
}

.discord-card.status-dnd {
    background: linear-gradient(135deg, rgba(242, 63, 67, 0.15), rgba(15, 15, 15, 0.8));
}

/* Hover-Effekte verstärken die Farbe */
.discord-card.status-online:hover {
    background: linear-gradient(135deg, rgba(0, 210, 106, 0.25), rgba(15, 15, 15, 0.9));
}

.discord-card.status-offline:hover {
    background: linear-gradient(135deg, rgba(116, 127, 141, 0.2), rgba(15, 15, 15, 0.9));
}

.discord-card.status-idle:hover {
    background: linear-gradient(135deg, rgba(255, 179, 71, 0.25), rgba(15, 15, 15, 0.9));
}

.discord-card.status-dnd:hover {
    background: linear-gradient(135deg, rgba(242, 63, 67, 0.25), rgba(15, 15, 15, 0.9));
}


.discord-icon {
    color: #5865f2;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    background: rgba(242, 63, 67, 0.2);
    color: #f23f43;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.online {
    background: rgba(0, 210, 106, 0.2);
    color: #00d26a;
}

.status-badge.offline {
    background: rgba(116, 127, 141, 0.1);
    color: #747f8d;
}

.status-badge.idle {
    background: rgba(255, 179, 71, 0.2);
    color: #ffb347;
}

.status-badge.dnd {
    background: rgba(242, 63, 67, 0.2);
    color: #f23f43;
}

.discord-activity {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.activity-image {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
}

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

.activity-name {
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.activity-details {
    color: #888;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Skills Card */
.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.skill-tag {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #e8e8e8;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.skill-tag:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.skill-tag.hidden {
    display: none;
}

.skill-expand {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.skill-expand:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Spotify Card */
/* === SPOTIFY CARD - NOUVEAU STYLE === */
.spotify-card {
    background: linear-gradient(135deg, rgba(29, 185, 84, 0.15), rgba(15, 15, 15, 0.9));
    border: 1px solid rgba(29, 185, 84, 0.3);
}

.spotify-icon {
    color: #1db954;
}

/* Contenu principal */
.spotify-content {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

/* Section du haut - Album + Infos */
.spotify-top {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Album artwork */
.album-artwork {
    position: relative;
    width: 64px;
    height: 64px;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.album-artwork img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* Indicateur de musique */
.music-indicator {
    position: absolute;
    bottom: 6px;
    right: 6px;
    background: rgba(0, 0, 0, 0.85);
    border-radius: 4px;
    padding: 4px 6px;
    backdrop-filter: blur(8px);
}

.bars {
    display: flex;
    align-items: end;
    gap: 2px;
    height: 12px;
}

.bar {
    width: 2px;
    background: #1db954;
    border-radius: 1px;
    animation: musicBars 1.4s ease-in-out infinite;
    min-height: 2px;
}

.bar:nth-child(1) { animation-delay: 0s; }
.bar:nth-child(2) { animation-delay: 0.2s; }
.bar:nth-child(3) { animation-delay: 0.4s; }
.bar:nth-child(4) { animation-delay: 0.6s; }

@keyframes musicBars {
    0%, 100% {
        height: 2px;
        opacity: 0.6;
    }
    50% {
        height: 12px;
        opacity: 1;
    }
}

/* Détails de la piste */
.track-details {
    flex: 1;
    min-width: 0;
}

.song-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.3rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.artist-name {
    font-size: 0.9rem;
    color: #b3b3b3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

/* Section du bas - Progression */
.spotify-bottom {
    width: 100%;
}

.progress-section {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

/* Barre de progression */
.progress-track {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #1db954, #1ed760);
    border-radius: 2px;
    width: 0%;
    transition: width 0.3s ease;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: #ffffff;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.progress-track:hover .progress-fill::after {
    opacity: 1;
}

/* Informations de temps */
.time-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #b3b3b3;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .spotify-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.8rem;
    }
    
    .album-artwork {
        width: 80px;
        height: 80px;
    }
    
    .track-details {
        text-align: center;
    }
    
    .song-title {
        font-size: 1rem;
    }
    
    .artist-name {
        font-size: 0.85rem;
    }
}

/* États de hover */
.spotify-card:hover {
    border-color: rgba(29, 185, 84, 0.5);
    background: linear-gradient(135deg, rgba(29, 185, 84, 0.2), rgba(15, 15, 15, 0.9));
}

.spotify-card:hover .progress-track {
    background: rgba(255, 255, 255, 0.3);
}

.spotify-card .play-indicator,
.spotify-card .sound-wave,
.spotify-card .wave {
    pointer-events: none;
}

/* Responsive pour mobile */
@media (max-width: 768px) {
    .spotify-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .track-info {
        text-align: center;
    }
    
    .album-art {
        width: 100px;
        height: 100px;
    }
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.link-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    text-decoration: none;
    color: #e8e8e8;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

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

.link-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.link-icon {
    width: 32px;
    height: 32px;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.discord-link {
    background: rgba(88, 101, 242, 0.2);
    color: #5865f2;
}

.youtube-link {
    background: rgba(255, 0, 0, 0.2);
    color: #ff0000;
}

.youtube-link:hover {
    background: rgba(255, 0, 0, 0.3);
    color: #ff0000;
    transform: scale(1.05);
}







/* Floating Music Player - Oben links positioniert */
.floating-music-player {
    position: fixed;
    top: 50px;
    left: 50px;
    z-index: 1000;
}

.music-player-container {
    position: relative;
    display: flex;
    align-items: center;
    /* Entfernt: padding-right für bessere Kontrolle */
}

/* Erweiterte Hover-Zone für den gesamten Player */
.music-player-container::before {
    content: '';
    position: absolute;
    left: -15px; /* Erweitert nach links */
    top: -15px; /* Erweitert nach oben */
    right: -15px; /* Erweitert nach rechts */
    bottom: -15px; /* Erweitert nach unten */
    width: calc(100% + 270px); /* Komplette Breite + Controls + Extra */
    height: calc(100% + 30px); /* Höhe + Extra Raum */
    z-index: -1;
    pointer-events: auto;
}

.play-button {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-button:hover {
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
}

.player-controls {
    position: absolute;
    left: 75px;
    top: 50%;
    transform: translateY(-50%);
    /* Angepasste Breite und flexible Größe */
    min-width: 180px;
    max-width: 220px;
    width: auto;
    height: 45px;
    background: rgba(26, 26, 26, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 22px;
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    /* Reduziertes Padding für mehr Platz */
    padding: 0 15px;
    opacity: 0;
    transform: translateY(-50%) translateX(-10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    /* Verhindert Überlauf */
    overflow: hidden;
    box-sizing: border-box;
    /* Erweiterte Hover-Zone */
    margin-left: -5px; /* Leicht nach links erweitern */
    padding-left: 20px; /* Padding entsprechend anpassen */
}

/* Erweiterte Hover-Zone für bessere Usability */
.player-controls::before {
    content: '';
    position: absolute;
    left: -30px; /* Mehr Raum nach links */
    top: -20px; /* Mehr Raum nach oben */
    right: -20px; /* Mehr Raum nach rechts */
    bottom: -20px; /* Mehr Raum nach unten */
    z-index: -1;
}

/* Für dein Haupt-Container Element */
.your-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}





/* Mit Glow-Effekt */
.glass-with-glow {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 0 30px rgba(255, 255, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Starker Glow */
.strong-glow {
    box-shadow: 
        0 0 50px rgba(255, 255, 255, 0.3),
        0 0 100px rgba(255, 255, 255, 0.1),
        0 20px 40px rgba(0, 0, 0, 0.2);
}


.music-player-container:hover .player-controls {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
    pointer-events: all;
}

.volume-slider {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px; /* Reduziert von 12px */
    /* Wichtig: Verhindert Überlauf */
    min-width: 0;
}

.volume-icon {
    width: 16px;
    height: 16px;
    fill: white;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

/* Volume Icon States */
.volume-icon.volume-muted { opacity: 0.5; }
.volume-icon.volume-low { opacity: 0.7; }
.volume-icon.volume-medium { opacity: 0.9; }
.volume-icon.volume-high { 
    opacity: 1;
    transform: scale(1.1);
}

#volumeSlider {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    outline: none;
    cursor: pointer;
    -webkit-appearance: none;
    transition: background 0.2s ease;
    /* Wichtig: Verhindert Überlauf des Sliders */
    min-width: 0;
    max-width: 100%;
}

#volumeSlider:hover {
    background: rgba(255, 255, 255, 0.3);
}

#volumeSlider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px; /* Reduziert von 16px */
    height: 14px;
    background: white;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: all 0.2s ease;
}

#volumeSlider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

#volumeSlider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    background: white;
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Alternative: Responsive Ansatz für verschiedene Bildschirmgrößen */
@media (max-width: 768px) {
    .player-controls {
        min-width: 150px;
        max-width: 180px;
        padding: 0 12px;
    }
    
    .volume-slider {
        gap: 8px;
    }
    
    .volume-icon {
        width: 14px;
        height: 14px;
    }
}

/* Cursor Styles */
.play-button,
.player-controls,
#volumeSlider,
.volume-icon,
.link-item,
.skill-expand,
a,
button,
input[type="range"] {
    cursor: pointer !important;
}




.spotify-link {
    background: rgba(29, 185, 84, 0.2);
    color: #1db954;
}

.email-link {
    background: rgba(255, 179, 71, 0.2);
    color: #ffb347;
}

.link-item:hover .link-icon {
    transform: scale(1.1);
}

.link-item span {
    font-weight: 500;
    font-size: 0.9rem;
}

.footer {
            padding: 3rem 0;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            margin-top: 4rem;
        }
        
.footer-content {
     display: flex;
     align-items: center;
     justify-content: center;
     color: #888;
     font-size: 0.9rem;
     text-align: center;
 }


.footer-dot {
    color: #555;
}

/* Notifications */
.copy-notification {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background: rgba(0, 0, 0, 0.9);
    color: #fff;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    font-size: 0.9rem;
    font-weight: 500;
    z-index: 10000;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.copy-notification.show {
    transform: translateX(0);
    opacity: 1;
}

.copy-notification.hide {
    transform: translateX(100%);
    opacity: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .profile-container {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .profile-text {
        text-align: center;
    }
    
    .name {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .name {
        font-size: 2rem;
    }
    
    .quick-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .links-grid {
        grid-template-columns: 1fr;
    }
    
    .card {
        padding: 1.5rem;
    }
    
    .copy-notification {
        top: 1rem;
        right: 1rem;
        left: 1rem;
        transform: translateY(-100%);
    }
    
    .copy-notification.show {
        transform: translateY(0);
    }
    
    .copy-notification.hide {
        transform: translateY(-100%);
    }
}

@media (max-width: 480px) {
    .avatar {
        width: 120px;
        height: 120px;
    }
    
    .name {
        font-size: 1.8rem;
    }
    
    .skills-container {
        gap: 0.5rem;
    }
    
    .skill-tag,
    .skill-expand {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}

/* =====================================================================
   ===  NEU: CLICK / TAP TO ENTER (startet die Musik)  ===
   ===================================================================== */
.enter-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999; /* über allem, nur der eigene Cursor liegt drüber */
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(5, 5, 5, 0.6);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    transition: opacity 0.8s ease, visibility 0.8s ease;
    touch-action: none;
}

.enter-screen.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.enter-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 4px;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.35);
    animation: enter-breathe 2.4s ease-in-out infinite;
}

.enter-text::after {
    content: '_';
    animation: blink 1s infinite;
}

.enter-touch {
    display: none;
}

@keyframes enter-breathe {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.55; }
}


/* =====================================================================
   ===  NEU: HANDY-FIXES (am PC ändert sich hier nichts)  ===
   ===================================================================== */

/* --- Touch-Geräte (Handy / Tablet) --- */
@media (hover: none), (pointer: coarse) {
    /* Maus-Cursor gibt's am Handy nicht – der Punkt blieb sonst nach dem Antippen auf dem Bildschirm kleben */
    .cursor {
        display: none !important;
    }

    /* Lautstärke-Popup + unsichtbare Hover-Fläche um den Play-Button (hat Antippen blockiert) */
    .player-controls,
    .music-player-container::before {
        display: none;
    }

    /* "tap to enter" statt "click to enter" */
    .enter-desktop {
        display: none;
    }

    .enter-touch {
        display: inline;
    }

    /* Hover-Bewegungen blieben nach dem Antippen "hängen" (Karten sprangen hoch) */
    .avatar:hover,
    .stat:hover,
    .card:hover,
    .card:hover .card-icon,
    .skill-tag:hover,
    .skills-container .skill-tag.clickable:hover,
    .skill-expand:hover,
    .link-item:hover,
    .link-item:hover .link-icon,
    .youtube-link:hover,
    .play-button:hover {
        transform: none;
    }
}

/* --- Tablet & Handy: Seite nicht mehr breiter als der Bildschirm --- */
@media (max-width: 1024px) {
    .content-grid {
        /* minmax(0, …): lange Songtitel etc. haben die Seite breiter als das Handy gemacht (= rein-/rauszoomen, wackeln) */
        grid-template-columns: minmax(0, 1fr);
    }

    .card {
        min-width: 0;
    }

    .scroll-text {
        white-space: nowrap;
    }
}

/* --- Handy --- */
@media (max-width: 768px) {
    /* Leeres Typewriter-Div oben (unsichtbar) – am Handy schiebt es nur alles 25px nach unten */
    .top-typewriter {
        display: none;
    }

    /* Musik-Button oben links */
    .floating-music-player {
        top: 16px;
        left: 16px;
    }

    /* Links oben: passen jetzt neben den Musik-Button, statt abgeschnitten drüber zu liegen.
       Am Handy scrollen sie mit weg, sonst liegen sie beim Scrollen über dem Text der Karten. */
    .top-links {
        position: absolute !important;
        top: 16px !important;
        right: 16px !important;
        left: 76px;
        height: 50px;
        justify-content: flex-end;
        gap: 10px !important;
        font-size: 14px !important;
    }

    .top-links a {
        font-size: 14px !important;
        letter-spacing: 0 !important;
        white-space: nowrap;
    }

    .top-links > span {
        font-size: 16px !important;
    }

    /* Startbildschirm: passt in die sichtbare Höhe, "Scroll to explore" unten statt über den Karten */
    .hero-section {
        min-height: 100vh;
        min-height: 100svh;
        padding: 90px 0 110px;
    }

    .hero-content {
        position: static;
    }

    .scroll-indicator {
        bottom: 24px;
    }

    .scroll-line {
        height: 40px;
    }

    /* Spotify: lange Titel bekommen "…" statt die Seite zu verbreitern */
    .spotify-top,
    .track-details {
        width: 100%;
        min-width: 0;
    }

    .spotify-content {
        align-items: stretch;
    }

    /* Discord-Karte: Titel + Status passen in eine Zeile */
    .card-title {
        font-size: 1rem;
        min-width: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .status-badge {
        flex-shrink: 0;
        white-space: nowrap;
        font-size: 0.65rem;
        letter-spacing: 0.3px;
    }
}

/* --- Normale Handys: Links etwas kleiner --- */
@media (max-width: 480px) {
    .top-links {
        gap: 6px !important;
    }

    .top-links a {
        font-size: clamp(11px, 3.3vw, 13px) !important;
    }

    .top-links > span {
        font-size: 13px !important;
    }
}

/* --- Kleine Handys: Trennstriche weg, damit alle 4 Links Platz haben --- */
@media (max-width: 374px) {
    .top-links {
        gap: 10px !important;
    }

    .top-links > span {
        display: none;
    }

    /* Status-Badge rutscht unter den Titel, statt ihn abzuschneiden */
    .card-header {
        flex-wrap: wrap;
        row-gap: 0.5rem;
    }

    .card-title {
        flex: 1 1 auto;
    }
}
