.audio-player-title {
	font-family: "Montserrat", sans-serif;
	font-size: 34rem;
	font-weight: 400;
	text-transform: uppercase;
	line-height: 1.4;
	margin-bottom: 10rem;
}

@media (max-width: 768px) {
	.audio-player-title {
		font-size: 22rem;
	}
}

.audio-player-box {
	display: block;
	background-position: center;
	background-repeat: no-repeat;
	width: 100%;
	max-width: 554rem;
	position: relative;
	font-family: "Montserrat", sans-serif;
	margin-bottom: 74rem;
}

@media (max-width: 1024px) {
	.audio-player-box {
		max-width: 100%;
		margin-bottom: 60rem;
	}
}

@media (max-width: 768px) {
	.audio-player-box {
		margin-bottom: 46rem;
	}
}

.audio-player-bg-img {
	width: 100%;
}

.audio-player-wrap {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	display: flex;
	align-items: center;
	gap: 14rem;
	padding: 10rem 20rem 10rem 10rem;
	border-radius: 82rem;
	background: rgba(255, 255, 255, 0.6);
	backdrop-filter: blur(10.2432px);
	-webkit-backdrop-filter: blur(10.2432px);
	border: 1px solid rgba(255, 255, 255, 0.55);
	width: 96%;
}

@media (max-width: 1024px) {
	.audio-player-wrap {
		padding: 13rem 24rem 13rem 13rem;
		max-width: 654rem;
	}
}

@media (max-width: 768px) {
	.audio-player-wrap {
		padding: 7rem 16rem 7rem 7rem;
		max-width: 400rem;
		gap: 8rem;
	}
}

.audio-player-wrap::before {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: 82px;
	pointer-events: none;
	opacity: 0.5;
}

/* Play/Pause */
.play-btn {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	border: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	background: #0070BA;
	filter: drop-shadow(0px 0px 7.87939px #6992AF);
	transition: transform 0.1s ease, box-shadow 0.1s ease;
	z-index: 1;
}

@media (max-width: 1024px) {
	.play-btn {
		width: 78px;
		height: 78px;
	}
}

@media (max-width: 768px) {
	.play-btn {
		width: 41px;
		height: 41px;
		filter: drop-shadow(0px 0px 5px #6992AF);
	}
}

.play-btn:hover {
	transform: scale(1.01);
}

.play-btn:active {
	transform: scale(0.99);
}

.play-btn svg {
	width: 28rem;
	height: 28rem;
	fill: white;
	margin-left: 3rem;
}

@media (max-width: 1024px) {
	.play-btn svg {
		width: 34rem;
		height: 34rem;
		margin-left: 4rem;
	}
}

@media (max-width: 768px) {
	.play-btn svg {
		width: 19rem;
		height: 19rem;
		margin-left: 2rem;
	}
}

.play-btn.playing .icon-play {
	display: none;
}

.play-btn .icon-pause {
	margin-left: 0;
}

.play-btn:not(.playing) .icon-pause {
	display: none;
}

/* Время */
.time-display {
	font-size: 20rem;
	font-weight: 500;
	color: #0070BA;
	white-space: nowrap;
	min-width: 100px;
}

@media (max-width: 1024px) {
	.time-display {
		font-size: 26rem;
		min-width: 120px;
	}
}

@media (max-width: 768px) {
	.time-display {
		font-size: 14rem;
		min-width: 74px;
	}
}

/* Прогресс */
.progress-wrap {
	flex: 1;
	position: relative;
	height: 20px;
	display: flex;
	align-items: center;
	cursor: pointer;
	z-index: 1;
}

.progress-track {
	width: 100%;
	height: 10px;
	border-radius: 5px;
	background: rgba(0, 112, 186, 0.15);
	position: relative;
	overflow: hidden;
	transition: height 0.15s;
}

@media (max-width: 1024px) {
	.progress-track {
		height: 14px;
		border-radius: 7px;
	}
}

@media (max-width: 768px) {
	.progress-track {
		height: 8px;
		border-radius: 4px;
	}
}

.progress-wrap:hover .progress-track {
	height: 14px;
	border-radius: 7px;
}

@media (max-width: 1024px) {
	.progress-wrap:hover .progress-track {
		height: 16px;
		border-radius: 8px;
	}
}

@media (max-width: 768px) {
	.progress-wrap:hover .progress-track {
		height: 10px;
		border-radius: 5px;
	}
}

.progress-fill {
	height: 100%;
	border-radius: 5px;
	background: #0070BA;
	width: 0%;
	transition: width 0.1s linear;
}

@media (max-width: 1024px) {
	.progress-fill {
		border-radius: 7px;
	}
}

@media (max-width: 768px) {
	.progress-fill {
		border-radius: 4px;
	}
}

.progress-input {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	cursor: pointer;
	margin: 0;
}

/* Кнопка скорости */
.speed-btn {
	font-size: 22rem;
	font-weight: 500;
	color: #0070BA;
	background: none;
	border: none;
	cursor: pointer;
	padding: 4px 6px;
	border-radius: 8px;
	transition: background 0.15s, color 0.15s;
	white-space: nowrap;
	z-index: 1;
	min-width: 56rem;
	text-align: center;
}

@media (max-width: 1024px) {
	.speed-btn {
		font-size: 26rem;
	}
}

@media (max-width: 768px) {
	.speed-btn {
		font-size: 14rem;
		min-width: 38rem;
		padding: 4px 2px;
	}
}

.speed-btn:hover {
	background: rgba(0, 112, 186, 0.15);
	color: #0070BA;
}

/* Громкость */
.volume-wrap {
	display: flex;
	align-items: center;
	position: relative;
	z-index: 2;
	flex-shrink: 0;
}

@media (max-width: 768px) {
	.volume-btn {
		padding: 0;
	}
}

.volume-btn {
	background: none;
	border: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	transition: background 0.15s;
	flex-shrink: 0;
}

@media (max-width: 1024px) {
	.volume-btn {
		width: 46px;
		height: 46px;
	}
}

@media (max-width: 768px) {
	.volume-btn {
		width: 26px;
		height: 26px;
	}
}

.volume-wrap .volume-slider-wrap {
	width: 0;
	opacity: 0;
	margin-left: 0;
	transition: width 0.28s cubic-bezier(0.34,1.2,0.64,1), opacity 0.2s ease;
}

.volume-wrap.volume-active .volume-slider-wrap {
	width: 72px;
	opacity: 1;
	margin-left: 6px;
}

.volume-btn svg {
	width: 30px;
	height: 30px;
	fill: rgba(30, 60, 100, 0.65);
}

.volume-btn svg {
	width: 26px;
	height: 26px;
	fill: rgba(30, 60, 100, 0.65);
}

.volume-btn.volume-muted .volume-not-muted {
	display: none;
}

.volume-btn svg.volume-muted {
	padding-right: 9rem;
	width: 44px;
}

.volume-btn:not(.volume-muted) .volume-muted {
	display: none;
}

@media (max-width: 1024px) {
	.volume-btn svg {
		width: 30px;
		height: 30px;
	}
}

@media (max-width: 768px) {
	.volume-btn svg {
		width: 22px;
		height: 22px;
	}
	.volume-btn svg.volume-muted {
		padding-right: 9rem;
		width: 36px;
	}
}

.volume-slider-wrap {
	display: flex;
	align-items: center;
	overflow: hidden;
	width: 0;
	opacity: 0;
	transition: width 0.28s cubic-bezier(0.34, 1.2, 0.64, 1), opacity 0.2s ease;
	margin-left: 0;
}

.volume-wrap:hover .volume-slider-wrap,
.volume-wrap:focus-within .volume-slider-wrap {
	width: 100px;
	opacity: 1;
	margin-left: 6px;
}

@media (max-width: 1024px) {
	.volume-wrap:hover .volume-slider-wrap,
	.volume-wrap:focus-within .volume-slider-wrap {
		width: 120px;
	}
}

@media (max-width: 768px) {
	.volume-wrap:hover .volume-slider-wrap,
	.volume-wrap:focus-within .volume-slider-wrap {
		display: none;
	}
}

.volume-track {
	width: 100px;
	height: 10px;
	border-radius: 5px;
	background: rgba(0, 112, 186, 0.15);
	position: relative;
	flex-shrink: 0;
}

@media (max-width: 1024px) {
	.volume-track {
		width: 120px;
	}
}

@media (max-width: 768px) {
	.volume-track {
		width: 70px;
		height: 8px;
		border-radius: 4px;
	}
}

.volume-fill {
	height: 100%;
	border-radius: 4px;
	background: #0070BA;
	width: 100%;
	pointer-events: none;
	transition: width 0.05s linear;
}

.volume-input {
	position: absolute;
	inset: -8px 0;
	width: 100%;
	height: calc(100% + 16px);
	opacity: 0;
	cursor: pointer;
	margin: 0;
}

/* Меню — обёртка */
.menu-wrap {
	position: relative;
	flex-shrink: 0;
	z-index: 10;
}

.menu-btn {
	background: none;
	border: none;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 3px;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	transition: background 0.15s;
	padding: 2px;
}

@media (max-width: 768px) {
	.menu-btn {
		width: 20px;
		height: 30px;
	}
}

.menu-btn:hover {
	background: rgba(0, 112, 186, 0.15);
}

.menu-btn.active {
	background: rgba(0, 112, 186, 0.20);
}

.menu-btn span {
	display: block;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: rgba(0, 112, 186, 1);
	transition: background 0.15s;
}

@media (max-width: 768px) {
	.menu-btn span {
		width: 4px;
		height: 4px;
	}
}

.menu-btn.active span {
	background: rgba(0, 112, 186, 0.85);
}

/* Dropdown */
.dropdown {
	position: absolute;
	right: 0;
	bottom: calc(100% + 10px);
	min-width: 196px;
	background: #fff;
	backdrop-filter: blur(24px);
	-webkit-backdrop-filter: blur(24px);
	border: 1px solid rgba(255, 255, 255, 0.7);
	border-radius: 16px;
	box-shadow: 0 8px 32px rgba(0, 112, 186, 0.2),
	0 1px 0 rgba(255, 255, 255, 0.75) inset;
	overflow: hidden;
	transform-origin: bottom right;
	transform: scale(0.88) translateY(6px);
	opacity: 0;
	pointer-events: none;
	transition: transform 0.2s cubic-bezier(0.34, 1.3, 0.64, 1), opacity 0.15s ease;
}

.dropdown.open {
	transform: scale(1) translateY(0);
	opacity: 1;
	pointer-events: all;
}

.dropdown-section {
	padding: 5px 0;
}

.dropdown-section + .dropdown-section {
	border-top: 1px solid rgba(0, 112, 186, 0.13);
}

.dropdown-label {
	font-size: 9px;
	font-weight: 500;
	text-transform: uppercase;
	color: rgba(0, 112, 186, 0.85);
	padding: 5px 14px 3px;
}

.dropdown-item {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	padding: 9px 14px;
	background: none;
	border: none;
	cursor: pointer;
	font-family: inherit;
	font-size: 13.5px;
	font-weight: 500;
	color: rgba(20, 50, 90, 0.85);
	text-align: left;
	transition: background 0.12s;
}

.dropdown-item:hover {
	background: rgba(74, 159, 224, 0.13);
	color: rgba(20, 50, 90, 1);
}

.dropdown-item svg {
	width: 16px;
	height: 16px;
	fill: rgba(46, 127, 197, 0.8);
	flex-shrink: 0;
}

/* Блок выбора скорости */
.speed-options {
	display: flex;
	gap: 4px;
	padding: 4px 10px 10px;
	flex-wrap: wrap;
}

.speed-option {
	flex: 1;
	min-width: 38px;
	padding: 5px 2px;
	border: 1.5px solid rgba(80, 130, 200, 0.2);
	border-radius: 8px;
	background: none;
	cursor: pointer;
	font-family: inherit;
	font-size: 11.5px;
	font-weight: 600;
	color: rgba(30, 60, 100, 0.65);
	transition: all 0.12s;
	text-align: center;
}

.speed-option:hover {
	background: rgba(74, 159, 224, 0.12);
	border-color: rgba(74, 159, 224, 0.4);
	color: rgba(20, 50, 90, 0.95);
}

.speed-option.active {
	background: linear-gradient(145deg, #4a9fe0, #2e7fc5);
	border-color: transparent;
	color: white;
	box-shadow: 0 2px 6px rgba(46, 127, 197, 0.35);
}
