* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    overflow: hidden;
    color: white;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background: #0a0a0a;
}

.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.video-background video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.video-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 0;
}

@media (min-aspect-ratio: 16/9) {
    .video-background video {
        width: 100%;
        height: auto;
    }
}

@media (max-aspect-ratio: 16/9) {
    .video-background video {
        width: auto;
        height: 100%;
    }
}

.content {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    z-index: 1;
    width: 100%;
    max-width: 800px;
    padding: 20px;
    margin-left: auto;
}

.glass-card {
    background: rgba(20, 20, 30, 0.25);
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    border-radius: 20px;
    padding: 30px;
    width: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.12);
    margin-bottom: 30px;
}

.avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.username {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 15px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
    color: rgba(255, 255, 255, 0.95);
}

.typing-text {
    min-height: 60px;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 300;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 10px;
}

.icon-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(30, 30, 40, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.icon:hover {
    transform: scale(1.15);
    background: rgba(40, 40, 50, 0.4);
    color: rgba(255, 255, 255, 1);
}

.icon-tooltip {
    position: absolute;
    bottom: -30px;
    background: rgba(0, 0, 0, 0.8);
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    white-space: nowrap;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.icon-wrapper:hover .icon-tooltip {
    opacity: 1;
}

.music-player {
    background: rgba(20, 20, 30, 0.25);
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    border-radius: 15px;
    padding: 15px;
    width: 350px;
    display: flex;
    align-items: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.music-cover {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    object-fit: cover;
    margin-right: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.music-info {
    flex-grow: 1;
}

.music-title {
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 4px;
    color: rgba(255, 255, 255, 0.95);
}

.music-artist {
    font-size: 12px;
    opacity: 0.8;
    color: rgba(255, 255, 255, 0.8);
}

.music-controls {
    display: flex;
    gap: 10px;
}

.control-btn {
    background: rgba(30, 30, 40, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(5px);
}

.control-btn:hover {
    background: rgba(40, 40, 50, 0.4);
    transform: scale(1.1);
    color: rgba(255, 255, 255, 1);
}

.bio-panel {
    position: fixed;
    top: 0;
    left: -400px;
    width: 350px;
    height: 100vh;
    background: rgba(15, 15, 25, 0.25);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: 30px;
    box-shadow: 5px 0 30px rgba(0, 0, 0, 0.4);
    transition: left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Плавная анимация */
    z-index: 100;
    overflow-y: auto;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.bio-panel.active {
    left: 0;
}

.bio-content h2 {
    margin-bottom: 20px;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding-bottom: 10px;
    color: rgba(255, 255, 255, 0.95);
}

.bio-content p {
    line-height: 1.6;
    margin-bottom: 15px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
}

.close-bio {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(30, 30, 40, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.close-bio:hover {
    transform: rotate(90deg);
    background: rgba(40, 40, 50, 0.4);
    color: rgba(255, 255, 255, 1);
}

.bio-panel::-webkit-scrollbar {
    width: 6px;
}

.bio-panel::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.bio-panel::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.bio-panel::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
    .glass-card, .music-player {
        width: 90%;
    }
    
    .bio-panel {
        width: 85%;
        left: -100%;
    }
    
    .video-background video {
        left: 0;
        transform: translate(0, -50%);
    }
    
    .content {
        align-items: center;
        margin-left: 0;
    }
}