body {
    margin: 0;
    padding: 0;
    font-family: 'Monocraft', Arial, sans-serif;
    overflow: hidden;
}

@font-face {
    font-family: 'Monocraft';
    src: url('Monocraft.otf') format('opentype');
}
@font-face {
    font-family: 'Shrift';
    src: url('shrift.otf') format('opentype');
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('icons/background.gif') no-repeat center center;
    background-size: cover;
    filter: blur(10px);
    z-index: -1;
}
/* Обертка для иконок */
.icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px; /* Уменьшенный размер обертки */
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5); /* Темный, но прозрачный фон */
    box-shadow: 0 0 8px rgba(238, 220, 255, 0.8); /* Светящаяся обводка */
    transition: all 0.3s ease;
    margin: 5px; /* Расстояние между иконками */
}

.icon-wrapper:hover {
    background: rgba(0, 0, 0, 0.7); /* Увеличенная непрозрачность при наведении */
    box-shadow: 0 0 12px rgba(138, 43, 226, 1); /* Более яркая обводка при наведении */
}



.main-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    padding: 20px;
    box-sizing: border-box;
    
}
#song-title {
    color: white; /* Устанавливаем белый цвет для текста */
}

.container {
    perspective: 1000px;
    background: rgba(66, 45, 71, 0.5);
    border-radius: 20px;
    padding: 20px;
    backdrop-filter: blur(36px);
    text-align: center;
    width: 400px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    position: relative;
    margin: px;
}
.text {
    color: rgb(255, 255, 255);
}
.track-info {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-grow: 1;
}

.control-btn:hover .control-icon {
    filter: invert(39%) sepia(98%) saturate(3669%) hue-rotate(261deg) brightness(110%) contrast(120%);
}
.time-controls {
    display: flex;
    align-items: center;
    width: 100%;
    margin: 10px 0;
}
.top-menu {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 10px;
    align-items: center;
    z-index: 2;
}

.top-menu a {
    position: relative;
    display: inline-block;
}

.icon {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(138, 43, 226, 0.8);
    filter: invert(39%) sepia(98%) saturate(3669%) hue-rotate(261deg) brightness(97%) contrast(103%);
    transition: all 0.3s ease;
}
.icon-l {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    transition: all 0.3s ease;

}

.social-links a:hover .tooltips {
    opacity: 1;
}
.social-links a:hover .tooltipss {
    opacity: 1;
}
.social-links a:hover .tooltipsss {
    opacity: 1;
}
.social-links a:hover .tooltipssss {
    opacity: 1;
}
.social-links a:hover .tooltip {
    opacity: 1;
}
.tooltip {
    position: absolute;
    bottom: -30px; /* Позиция под иконкой */
    left: 17%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    white-space: nowrap; /* Не переносить текст на новую строку */
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none; /* Отключаем события мыши для текста */
    z-index: 10;
}
.tooltips {
    position: absolute;
    bottom: -30px; /* Позиция под иконкой */
    left: 34%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    white-space: nowrap; /* Не переносить текст на новую строку */
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none; /* Отключаем события мыши для текста */
    z-index: 10;
}
.tooltipss {
    position: absolute;
    bottom: -30px; /* Позиция под иконкой */
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    white-space: nowrap; /* Не переносить текст на новую строку */
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none; /* Отключаем события мыши для текста */
    z-index: 10;
}
.tooltipsss {
    position: absolute;
    bottom: -30px; /* Позиция под иконкой */
    left: 67%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    white-space: nowrap; /* Не переносить текст на новую строку */
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none; /* Отключаем события мыши для текста */
    z-index: 10;
}


.tooltipssss {
    position: absolute;
    bottom: -30px; /* Позиция под иконкой */
    left: 83%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    white-space: nowrap; /* Не переносить текст на новую строку */
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none; /* Отключаем события мыши для текста */
    z-index: 10;
}


.top-menu a:hover .icon {
    filter: invert(39%) sepia(98%) saturate(3669%) hue-rotate(261deg) brightness(110%) contrast(120%);
    box-shadow: 0 0 15px rgba(138, 43, 226, 1);
}

.profile {
    position: relative;
    margin-top: 20px;
}

.profile-pic-container {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

.profile-pic {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 5px solid rgba(138, 43, 226, 0.9);
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.8);
}

h1 {
    font-family: 'Shrift', Arial, sans-serif;
    font-weight: 700;
    margin: 20px 0;
}

.typewriter {
    font-family: 'Monocraft', Arial, sans-serif;
    font-size: 1.2em;
    color: #ffffff;
    overflow: hidden;
    white-space: nowrap;
    border-right: .15em solid rgba(138, 43, 226, 0.9);
    animation: typing 4s steps(30, end), blink .75s step-end infinite;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink {
    from, to { border-color: transparent; }
    50% { border-color: rgba(138, 43, 226, 0.9); }
}

.social-links {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
}
.buttons a {
    text-decoration: none; /* Убирает подчеркивание с текста внутри кнопки */
}
.buttons {
    display: inline-block; /* Располагает div'ы горизонтально */
    margin-right: 10px; /* Отступ между кнопками */
}

.link-btn {
    background-color: rgba(138, 43, 226, 0.7);
    color: white;
    font-family: 'Monocraft', Arial, sans-serif;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    cursor: pointer;
    transition: background 0.3s;
    margin: 5px;
}

.link-btn:hover {
    background-color: rgba(138, 43, 226, 0.9);
}

.custom-music-player-container {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}
.custom-music-player {
    background: rgba(66, 45, 71, 0.5);
    backdrop-filter: blur(36px);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
    width: 500px;
}


.controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.player-controls {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 10px;
}

.control-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.control-icon {
    width: 30px;
    height: 30px;
    filter: invert(39%) sepia(98%) saturate(3669%) hue-rotate(261deg) brightness(97%) contrast(103%);
    transition: filter 0.3s ease;
}

.control-btn:hover .control-icon {
    filter: invert(39%) sepia(98%) saturate(3669%) hue-rotate(261deg) brightness(110%) contrast(120%);
}   

input[type="range"] {
    width: 100%;
    margin: px 0;
}

.volume-controls {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: center;
    margin-top: 10px;
}

.now-playing {
    display: flex;
    background: rgba(195, 0, 255, 0.2);
    box-shadow: 0 0 100px rgba(138, 43, 226, 5);
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.now-playing-pic {
    margin: 5px;
    width: 40px;
    height: 40px;
    filter: grayscale(100%);
}

.discord-menu {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
    display: none;
    z-index: 3;
}

.discord-menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}
#seek-bar {
    flex-grow: 1;
    margin: 0 10px;
}

#song-title {
    font-family: 'Monocraft', Arial, sans-serif;
    font-size: 1em;
    color: #ffffff;
    text-align: center;
    margin-bottom: 10px;
}

#current-time,
#duration {
    color: white;
    font-family: 'Monocraft', Arial, sans-serif;
}
.discord-menu button {
    background: rgba(138, 43, 226, 0.7);
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 10px;
}

.discord-menu button:hover {
    background: rgba(138, 43, 226, 0.9);
}
