* {
    margin: 0;
    padding: 0;
    text-decoration: none;
}

html {
    font-size: 16px;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Ubuntu Sans Mono', monospace;
    background: linear-gradient(120deg, #0088CC, #00BFFF, #0066FF);
    background-size: 600% 600%;
    animation: gradientShift 18s ease infinite;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    position: relative;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

body::before,
body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.4) 0%, transparent 60%),
                radial-gradient(circle at 80% 80%, rgba(255,255,255,0.4) 0%, transparent 60%);
    animation: waves 12s linear infinite;
    z-index: 0;
}

body::after {
    animation-direction: reverse;
    opacity: 0.2;
}

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

@media (max-width: 768px) {
    body::before,
    body::after {
        width: 100vw;
        height: 100vh;
        top: 0;
        left: 0;
        background: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.3) 0%, transparent 70%),
                    radial-gradient(circle at 80% 80%, rgba(255,255,255,0.3) 0%, transparent 70%);
        animation: waves 15s linear infinite;
    }
    body::after {
        opacity: 0.15;
    }
}

h1 {
    font-size: clamp(1rem, 2.5vw, 1.125rem);
    font-weight: bold;
}

h2 {
    font-size: clamp(0.875rem, 2vw, 0.9375rem);
}

p {
    text-align: center;
    padding: 0.3125rem;
}

a {
    color: #000000;
    font-size: clamp(0.875rem, 2vw, 0.9375rem);
}

.container {
    text-align: center;
    max-width: 25rem;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.9375rem;
    box-shadow: 0 0.5rem 1.25rem rgba(0, 0, 0, 0.3);
    margin-top: 0.9375rem;
    margin-bottom: 5rem;
}

.slogan {
    font-size: clamp(1.1rem, 2.5vw, 1.2rem);
    margin-bottom: 2.5rem;
    text-shadow: 0.0625rem 0.0625rem 0.1875rem rgba(0, 0, 0, 0.2);
}

.cover-container {
    position: relative;
    margin-bottom: 1.25rem;
}

.artist-image {
    width: 37.5rem;
    max-width: 100%;
    height: auto;
    max-height: 37.5rem;
    border-radius: 0.625rem;
    box-shadow: 0 0.25rem 0.9375rem rgba(0, 0, 0, 0.3);
}

.rotating-logo {
    position: absolute;
    top: 0.9375rem;
    left: 0.9375rem;
    width: 3.125rem;
    height: 3.125rem;
    animation: spin 4s linear infinite;
    z-index: 2;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.3);
    border: none;
    border-radius: 50%;
    width: 6.25rem;
    height: 6.25rem;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 0.25rem 0.625rem rgba(0, 0, 0, 0.3);
    transition: background 0.3s, transform 0.2s;
    z-index: 3;
}

.play-button::before {
    content: '';
    position: absolute;
    inset: -0.25rem;
    border-radius: 50%;
    padding: 0.25rem;
    background: linear-gradient(45deg, #0088cc, #4ecdc4, #45b7d1, #96c93d);
    background-size: 400%;
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: spinGradient 8s linear infinite;
    z-index: -1;
}

.play-button:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%) scale(1.1);
}

@keyframes spinGradient {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 400% 50%;
    }
}

.play-icon {
    font-size: clamp(2rem, 3vw, 2.5rem);
}

.track-name {
    margin-bottom: 0.625rem;
    text-shadow: 0.0625rem 0.0625rem 0.1875rem rgba(0, 0, 0, 0.2);
}

.artist-name {
    font-size: clamp(1.6rem, 2.5vw, 1.8rem);
    font-weight: bold;
    text-shadow: 0.125rem 0.125rem 0.25rem rgba(0, 0, 0, 0.3);
}

.song-title {
    font-size: clamp(1.3rem, 2vw, 1.5rem);
    text-shadow: 0.0625rem 0.0625rem 0.1875rem rgba(0, 0, 0, 0.3);
}

.buttons {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.625rem;
    margin-bottom: 1.25rem;
    z-index: 2;
}

.button {
    background: rgba(255, 255, 255, 0.2);
    border: 0.0625rem solid rgba(255, 255, 255, 0.3);
    border-radius: 1.875rem;
    padding: 0.625rem 1.25rem;
    font-size: clamp(0.9rem, 2vw, 1rem);
    color: white;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.625rem;
    box-shadow: 0 0.125rem 0.3125rem rgba(0, 0, 0, 0.2);
    transition: background 0.3s, transform 0.2s;
    width: 100%;
}

.button:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: translateY(-0.125rem);
}

.telegram {
    color: #0088cc;
}

.donate {
    color: #ff4444;
}

.android {
    color: #3DDC84;
}

.playlist-button {
    position: absolute;
    right: 0;
    bottom: 0.25rem;
    background: rgba(255, 255, 255, 0.2);
    border: 0.0625rem solid rgba(255, 255, 255, 0.3);
    border-radius: 0.625rem 0 0.625rem 0;
    padding: 0.625rem 0.9375rem;
    font-size: clamp(0.9rem, 2vw, 1rem);
    color: white;
    cursor: pointer;
    box-shadow: 0 0.125rem 0.3125rem rgba(0, 0, 0, 0.2);
    transition: background 0.3s, transform 0.2s;
    z-index: 2;
}

.playlist-button:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: translateY(-0.125rem);
}

.feedback {
    position: relative;
    background: rgba(255, 255, 255, 0.2);
    border: 0.0625rem solid rgba(255, 255, 255, 0.3);
    font-size: clamp(0.7rem, 1.5vw, 0.8rem);
    opacity: 0.8;
    text-shadow: 0.0625rem 0.0625rem 0.1875rem rgba(0, 0, 0, 0.7);
    z-index: 2;
}

#jp_container_1 {
    display: none;
}

@media (max-width: 768px) {
    .play-button {
        width: 4.6875rem;
        height: 4.6875rem;
    }
    .play-icon {
        font-size: clamp(1.3rem, 2vw, 1.5rem);
    }
    .button {
        width: 100%;
    }
}

.modal {
    display: none;
    position: fixed;
    z-index: 4;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
    justify-content: center;
    align-items: center;
}

.modal-content::before {
    content: 'Плейлист';
    position: fixed;
    top: 0.3125rem;
    left: 2.1875rem;
    border: 0.125rem solid #006e99;
    background: #00a5dd;
    padding: 0.125rem;
    font-size: clamp(1.3rem, 2.5vw, 1.5rem);
    z-index: 5;
}

.modal-content {
    background: linear-gradient(180deg, rgba(0, 191, 255, 0.8) 0%, rgba(107, 218, 255, 1) 50%, rgb(140 226 255) 100%);
    margin: 1.25rem;
    padding: 1.25rem;
    border-radius: 0.625rem;
    width: 80%;
    max-width: 25rem;
    max-height: 80%;
    overflow-y: auto;
    box-shadow: 0 0.5rem 1.25rem rgba(0, 0, 0, 0.3);
    position: absolute;
    left: 0;
    top: 0;
}

.close {
    color: white;
    float: right;
    font-size: clamp(1.5rem, 2.5vw, 1.75rem);
    font-weight: bold;
    cursor: pointer;
    text-shadow: 0.0625rem 0.0625rem 0.1875rem rgba(0, 0, 0, 0.2);
}

.playlist-item {
    padding: 0.625rem;
    border-bottom: 0.0625rem dashed rgba(255,255,255,0.5);
    text-align: left;
    text-shadow: 0.0625rem 0.0625rem 0.1875rem rgba(0, 0, 0, 0.6);
}

.playlist-item:last-child {
    border-bottom: none;
}

::-webkit-scrollbar {
    width: 0.625rem;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.3125rem;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 0.3125rem;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

#wrapper {
    margin: auto;
    position: relative;
    z-index: 3;
}

#wrapper #share {
    background: rgba(255, 255, 255, 0.2);
    border: 0.0625rem solid rgba(255, 255, 255, 0.3);
    position: relative;
    margin: 0 auto;
    margin-bottom: 0.9375rem;
    max-width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.625rem;
    padding: 0.625rem;
    box-shadow: 0 0.125rem 0.3125rem rgba(0, 0, 0, 0.2);
    transition: background 0.3s, transform 0.2s;
}

.container_social {
    position: relative;
    display: inline-block;
    width: 4.6875rem;
    height: 4.6875rem;
    line-height: 4.6875rem;
    text-align: center;
    margin: 0;
}

.container_social .circle {
    fill: none;
    stroke: #ffffff;
    stroke-width: 0.15625rem;
    stroke-dasharray: 1.25rem;
    transition: all 0.2s ease-in-out;
    animation: outWaveOut 1s cubic-bezier(0.42, 0, 0.58, 1) forwards;
}

.container_social .social {
    color: white;
    font-size: clamp(1.4rem, 2.1vw, 1.5rem);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: all 0.5s ease-in-out;
}

.container_social:hover {
    cursor: pointer;
}

.telegram:hover .circle {
    fill: #ffffff;
    fill-opacity: 1;
    animation: outWaveIn 1s cubic-bezier(0.42, 0, 0.58, 1) forwards,
              colorTelegram 1s linear forwards;
}

.telegram:hover .social {
    color: #0088cc;
}

.facebook:hover .circle {
    fill: #ffffff;
    fill-opacity: 1;
    animation: outWaveIn 1s cubic-bezier(0.42, 0, 0.58, 1) forwards,
              colorFacebook 1s linear forwards;
}

.facebook:hover .social {
    color: #3b5998;
}

.download:hover .circle {
    fill: #ffffff;
    fill-opacity: 1;
    animation: outWaveIn 1s cubic-bezier(0.42, 0, 0.58, 1) forwards,
              colorDownload 1s linear forwards;
}

.download:hover .social {
    color: #4caf50;
}

@keyframes colorTelegram {
    from {
        stroke: #ffffff;
    }
    to {
        stroke: #0088cc;
    }
}

@keyframes colorFacebook {
    from {
        stroke: #ffffff;
    }
    to {
        stroke: #3b5998;
    }
}

@keyframes colorDownload {
    from {
        stroke: #ffffff;
    }
    to {
        stroke: #4caf50;
    }
}

@keyframes outWaveIn {
    to {
        stroke-width: 0.3125rem;
        stroke-dasharray: 12.5rem;
    }
}

@keyframes outWaveOut {
    from {
        stroke-width: 0.3125rem;
        stroke-dasharray: 12.5rem;
    }
    to {
        stroke: #ffffff;
        stroke-width: 0.15625rem;
        stroke-dasharray: 1.25rem;
    }
}

@media (max-width: 768px) {
    .container_social {
        width: 3.125rem;
        height: 3.125rem;
        line-height: 3.125rem;
    }
    .container_social .social {
        font-size: clamp(1rem, 2.2vw, 1.1rem);
    }
    .container_social .circle {
        stroke-width: 0.125rem;
        stroke-dasharray: 1rem;
    }
    @keyframes outWaveIn {
        to {
            stroke-width: 0.25rem;
            stroke-dasharray: 10rem;
        }
    }
    @keyframes outWaveOut {
        from {
            stroke-width: 0.25rem;
            stroke-dasharray: 10rem;
        }
        to {
            stroke: #ffffff;
            stroke-width: 0.125rem;
            stroke-dasharray: 1rem;
        }
    }
}

.tooltip {
    position: relative;
    font-size: clamp(0.75rem, 1.5vw, 0.875rem);
    opacity: 0.8;
    z-index: 3;
}

.tooltip-inner {
    background-color: #1c1f26;
    color: #ffffff;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    font-weight: 500;
}

.p24-btn {
	position: relative;
	display: inline-block;
	padding: 10px 18px;
	border-radius: 10px;
	color: #ffffff;
	text-decoration: none;
	font-weight: 600;
	letter-spacing: .2px;
	background: linear-gradient(180deg, #07121a 0%, #0b1f2a 100%);
	z-index: 3;
	transition: transform .12s ease, box-shadow .12s ease;
}

.p24-btn::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	padding: 0;
	box-shadow: 0 0 0 3px transparent;
	background: linear-gradient(90deg,
		#00c853 0%,
		#00b0ff 25%,
		#00e676 50%,
		#00b0ff 75%,
		#00c853 100%);
	background-size: 200% 200%;
	z-index: -2;
	filter: blur(6px);
	animation: gradient_p24 1.5s linear infinite;
}

.p24-btn::after {
	content: "";
	position: absolute;
	inset: 3px;
	border-radius: calc(10px - 3px);
	background: linear-gradient(180deg, #07121a 0%, #0b1f2a 100%);
	z-index: -1;
}

.p24-btn:hover {
	transform: translateY(2px);
	box-shadow: 0 6px 20px rgba(3, 18, 30, .45);
}

@keyframes gradient_p24 {
	0%   { background-position: 0% 50%; }
	50%  { background-position: 100% 50%; }
	100% { background-position: 0% 50%; }
}