@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    font-family: 'Inter', sans-serif;
    height: 100%;
    background: #0a0a0f;
    color: #fff;
}

body {
    background-image: url('../images/Pietro_Hintergrund.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    padding: 40px 16px;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 0;
}

.fullscreen-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(4px);
}

.loader-content {
    text-align: center;
    animation: fadeUp 0.6s ease;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.loader-icon {
    font-size: 64px;
    color: #4fc3f7;
    margin-bottom: 16px;
    animation: pulse 2s ease-in-out infinite;
}

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

.loader-content h2 {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 32px;
    background: linear-gradient(135deg, #4fc3f7, #81d4fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.enter-btn {
    padding: 14px 40px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #4fc3f7, #2196f3);
    color: #fff;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(79, 195, 247, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.enter-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(79, 195, 247, 0.5);
}

.enter-btn:active {
    transform: translateY(-1px);
}

.hidden {
    display: none !important;
}

#linktree {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 420px;
    width: 100%;
    animation: fadeUp 0.5s ease;
}

.card {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 24px;
    transition: all 0.3s ease;
}

.card:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.profile-card {
    text-align: center;
    padding: 32px 24px;
}

.profile-img-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 16px;
}

.profile-picture {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(79, 195, 247, 0.5);
    transition: transform 0.4s ease, border-color 0.4s ease;
}

.profile-picture:hover {
    transform: scale(1.05);
    border-color: #4fc3f7;
}

.status-dot {
    position: absolute;
    bottom: 6px;
    right: 6px;
    width: 16px;
    height: 16px;
    background: #4caf50;
    border-radius: 50%;
    border: 3px solid #0a0a0f;
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.5);
}

.profile-card h1 {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 6px;
    background: linear-gradient(135deg, #fff, #b0bec5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.profile-card .bio {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
    line-height: 1.5;
}

.music-card {
    padding: 20px;
}

.music-info {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.music-avatar {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #4fc3f7, #0288d1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    flex-shrink: 0;
}

.music-meta {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.track-name {
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.artist-name {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
}

.progress-track {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 14px;
    cursor: pointer;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #4fc3f7, #81d4fa);
    border-radius: 4px;
    transition: width 0.3s linear;
}

.music-controls {
    display: flex;
    align-items: center;
    gap: 16px;
}

.ctrl-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.ctrl-btn:hover {
    background: rgba(79, 195, 247, 0.3);
    transform: scale(1.05);
}

.volume-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

#volume-slider {
    flex: 1;
    height: 4px;
    -webkit-appearance: none;
    appearance: none;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    outline: none;
}

#volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #4fc3f7;
    cursor: pointer;
    transition: transform 0.2s ease;
}

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

#volume-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #4fc3f7;
    cursor: pointer;
    border: none;
}

.social-card {
    padding: 16px 24px;
}

.social-row {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.social-icon:hover {
    background: var(--c);
    border-color: var(--c);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.copy-btn {
    outline: none;
}

.copy-tooltip {
    position: absolute;
    bottom: -28px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    font-size: 11px;
    font-weight: 500;
    padding: 3px 10px;
    border-radius: 6px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.copy-btn:hover .copy-tooltip {
    opacity: 1;
}

.discord-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    font-size: 15px;
    padding: 16px 24px;
    background: rgba(88, 101, 242, 0.15);
    border-color: rgba(88, 101, 242, 0.2);
    cursor: pointer;
}

.discord-link:hover {
    background: rgba(88, 101, 242, 0.25);
    border-color: rgba(88, 101, 242, 0.4);
}

.discord-link i:first-child {
    font-size: 24px;
    color: #5865f2;
}

.discord-link span {
    flex: 1;
}

.discord-link i:last-child {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
    transition: transform 0.3s ease;
}

.discord-link:hover i:last-child {
    transform: translateX(4px);
}

.hobbies-card {
    padding: 20px 24px;
}

.hobbies-card h3 {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 14px;
}

.hobbies-card h3 i {
    margin-right: 8px;
}

.hobby-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tag:hover {
    background: rgba(79, 195, 247, 0.15);
    border-color: rgba(79, 195, 247, 0.3);
    transform: translateY(-2px);
}

.tag i {
    color: #4fc3f7;
    font-size: 14px;
}

.footer-note {
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.2);
    margin-top: 8px;
    padding-bottom: 16px;
}

@media (max-width: 480px) {
    body {
        padding: 20px 12px;
    }
    .profile-picture {
        width: 90px;
        height: 90px;
    }
    .profile-card h1 {
        font-size: 22px;
    }
    .card {
        padding: 18px;
    }
    .social-row {
        gap: 14px;
    }
    .social-icon {
        width: 42px;
        height: 42px;
        font-size: 18px;
    }
}
