:root {
	--accent: #bc24ad;      /* Основной акцент — розово-фиолетовый */
	--accent2: #03aad6;     /* Вторичный акцент — яркий голубой */
	--bg: #f7f7f7;          /* Светлый фон */
	--text: #ffffff;        /* Основной текст */
	--menu-bg: #2a1e2a;     /* Темный фон меню */
	--player-bg: #111111;   /* Темный фон плеера */
	--cover-bg: #e0e0e0;    /* Фон для обложек */
}
* {
	box-sizing: border-box;
}
body {
	margin: 0;
	font-family: Verdana, Arial, sans-serif;
	background: var(--bg);
	color: #111;
	display: flex;
	flex-direction: column;
	height: 100vh;
	overflow: hidden;
}
header {
	padding: 10px;
	background: var(--menu-bg);
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	gap: 10px;
	flex-wrap: wrap;
}
.logo {
	display: block;
	flex-shrink: 0;
	max-width: 177px;
}
.logo img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 32px;
	object-fit: contain;
}
header form {
	display: flex;
	flex: 1;
	align-items: center;
	gap: 5px;
	min-width: 0;
}
header input[type="search"] {
	flex: 1;
	min-width: 0;
	padding: 8px;
	border-radius: 5px;
	border: none;
	outline: none;
	font-size: 14px;
}
#search {
	width: 32px;
	height: 32px;
	border: none;
	background: url('/img/search_ico.png') no-repeat center center;
	background-size: 24px;
	cursor: pointer;
	border-radius: 5px;
	flex-shrink: 0;
	margin-left: -38px;
}
#hamburger {
	display: none;
	font-size: 21px;
	background: var(--accent);
	color: #ffffff;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	width: 32px;
	height: 32px;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
main {
	display: flex;
	flex: 1;
	overflow: hidden;
}
.mobhead {
	display: none;
}
h1 {
	margin-top: 5px;
	background-color: var(--accent);
	color: #fff;
	line-height: 43px;
	font-size: 27px;
	padding-left: 10px;
	border-radius: 5px;
}
h2 {
	color: #111;
}
aside {
	background: var(--menu-bg);
	width: 300px;
	padding: 5px;
	max-height: calc(100vh - 80px);
	overflow-y: auto;
	transition: transform 0.3s ease;
	margin-bottom: 60px;
	order: 2;
}
aside::-webkit-scrollbar {
	width: 8px;
}
aside::-webkit-scrollbar-thumb {
	background-color: var(--accent);
	border-radius: 4px;
}
aside h3 {
	background: var(--accent);
	color: #fff;
	margin: 15px 0;
	padding: 5px;
	text-align: center;
	border-radius: 5px;
}
.main-menu, #genres, #artists, #newtracks {
	list-style: none;
	padding: 0;
	margin: 0;
}
.main-menu li {
	margin: 10px 0;
}
.main-menu a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px;
	border: 2px solid #999;
	border-radius: 6px;
	color: var(--text);
	text-decoration: none;
	transition: border 0.3s, background 0.3s;
}
.main-menu a:hover {
	border-color: var(--accent);
	background: rgba(188, 36, 173, 0.1);
	color: var(--accent2);
}
.main-menu svg {
	stroke: currentColor;
	fill: none;
}
.title a {
	color: #bc24ad;
}
#artists a, #genres a {
	display: flex;
	align-items: center;
	gap: 15px;
	padding: 5px;
	text-decoration: none;
	color: var(--text);
	transition: color 0.3s;
}
#artists a:hover, #genres a:hover {
	color: var(--accent2);
}
#artists img, #newtracks img {
	width: 32px;
	height: 32px;
	border-radius: 6px;
	background: var(--cover-bg);
}
#genres img {
	width: 20px;
	height: 20px;
}
#newtracks li {
	display: flex;
	align-items: center;
	border-bottom: 1px solid #444;
}
#newtracks li a {
	display: flex;
	align-items: center;
	width: 100%;
	font-size: 14px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	padding: 5px;
	color: var(--text);
	text-decoration: none;
}
#newtracks li a div {
	display: flex;
	flex-direction: column;
	margin-left: 10px;
}
#newtracks li span {
	font-size: 12px;
	color: #ccc;
}
aside a {
	padding: 10px;
}
a {
	color: var(--text);
	text-decoration: none;
	transition: color 0.3s;
}
a:hover {
	color: var(--accent2);
}
aside p, aside p a {
	text-align: center;
	color: var(--accent);
}
.content {
	flex: 1;
	overflow-y: auto;
	padding: 10px 10px 110px 10px;
	margin-bottom: 60px;
}
#overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
	display: none;
	z-index: 1000;
}
.track-info .title {
	font-weight: bold;
	font-size: 1rem;
	margin-bottom: 4px;
}
.track-info .artist {
	color: #555;
	font-size: 0.9rem;
}
.track-actions {
	display: flex;
	align-items: center;
}
.download-btn {
	text-decoration: none;
	font-size: 1.2rem;
	color: #555;
	padding: 6px;
	border-radius: 4px;
	transition: background 0.2s;
}
.download-btn:hover {
	color: #222;
	background: #eee;
}
.track-grid {
	display: grid;
	gap: 10px;
}
.track-item {
	display: grid;
	grid-template-columns: 64px 1fr auto;
	gap: 10px;
	align-items: center;
	padding: 8px;
	border: 1px solid #ccc;
	border-radius: 8px;
	background: #fff;
}
.cover-wrapper {
	position: relative;
	width: 48px;
	height: 48px;
}
.cover-wrapper img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 5px;
	display: block;
	background: var(--cover-bg);
}
.play-btn {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	color: #fff;
	font-size: 1.5rem;
	border: none;
	opacity: 0;
	cursor: pointer;
	border-radius: 5px;
	transition: opacity 0.2s;
}
.cover-wrapper:hover .play-btn {
	opacity: 1;
}
.track-info {
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.playing {
	border: 3px solid var(--accent);
}
footer.player {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	background: var(--player-bg);
	color: #ffffff;
	padding: 10px;
	z-index: 999;
}
footer p {
	text-align: center;
	margin: 0;
	font-size: 12px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.bodyplayer {
	display: flex;
	width: 100%;
}
.controls {
	width: 135px;
	display: flex;
	align-items: center;
	gap: 10px;
}
.progress-container {
	width: calc(100% - 310px);
	text-align: center;
}
.progress-container span {
	font-size: 12px;
}
.volume-container {
	width: 180px;
}
#seek-bar {
	width: 70%;
}
#prev-btn, #next-btn, #play-pause-btn {
	background: none;
	border: none;
	cursor: pointer;
}
#prev-btn img, #next-btn img {
	width: 22px;
	height: 22px;
}
#play-pause-btn img {
	width: 24px;
	height: 24px;
}
.pagination {
	margin-top: 20px;
	text-align: center;
}
.pagination a {
	margin: 0 5px;
	padding: 5px 10px;
	background: #ddd;
	color: #222 !important;
	text-decoration: none !important;
	border-radius: 3px;
}
.pagination a:hover {
	background: var(--accent);
	color: #fff !important;
}
.pagination a.current {
	background: #666;
	color: #fff !important;
}
input[type="range"] {
	accent-color: var(--accent);
	height: 4px;
	background: #ccc;
	border-radius: 2px;
	cursor: pointer;
}
.container {
	max-width: 1100px;
	margin: auto;
	padding: 20px;
}
nav.breadcrumbs {
	font-size: 14px;
	margin-bottom: 15px;
}
nav.breadcrumbs a {
	color: #777;
	text-decoration: none;
}
nav.breadcrumbs a:hover {
	text-decoration: underline;
}
.track-section {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	align-items: flex-start;
}
.trackinfo {
	flex: 1 1 300px;
}
.track-cover {
	flex: 0 0 170px;
	max-width: 100%;
	border-radius: 8px;
}
.buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 15px 0;
}
.buttons a {
	padding: 10px 20px;
	background: var(--accent);
	color: #fff;
	text-decoration: none;
	border-radius: 5px;
	font-weight: bold;
	transition: background 0.2s;
}
.buttons a:hover {
	background: #9b1b8b;
}
.stext {
	margin-top: 30px;
	font-size: 16px;
	line-height: 1.6;
	color: #444;
}
.comment-form textarea,
.comment-form input[type="text"],
.comment-form input[type="email"] {
	width: 100%;
	padding: 10px;
	border-radius: 5px;
	border: 1px solid #ccc;
	margin-bottom: 10px;
}
.comment-form button {
	padding: 10px 20px;
	background: var(--accent);
	color: #fff;
	border: none;
	border-radius: 5px;
	cursor: pointer;
}
.comment-form button:hover {
	opacity: 0.9;
}
.bplayer {
	border: none;
}
.other-tracks, .comments {
	margin-top: 40px;
}
.ti {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	padding: 0;
	margin: 20px 0;
	gap: 10px;
}
.ti li {
	width: calc(33.333% - 10px);
	background: #f0f0f0;
	border-left: 4px solid var(--accent);
	padding: 8px 10px;
	border-radius: 4px;
	color: #111111;
	font-size: 13px;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.ti .label {
	color: #555;
}
.ti .value {
	font-weight: bold;
	color: #111111;
}
.other-tracks li {
	margin-bottom: 5px;
}
.ti a {
	color: #111111;
}
.other-tracks a {
	color: #111111;
	text-decoration: underline;
}
.other-tracks a:hover {
	color: var(--accent2);
}
.glist {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 1.5rem;
	padding: 0;
	margin: 0;
	list-style: none;
}
.glist li {
	margin-bottom: 0.25em;
	margin-left: 25px;
}
.glist a {
	color: #bc24ad;
}
.artists img {
	width: 175px;
	height: 175px;
	border-radius: 8px;
}
.artists p {
	text-align: center;
	color: var(--text);
}
.txt {
	margin-top: 35px;
	padding-left: 25px;
	border-left: 4px solid var(--accent);
	font-size: 14px;
	color: #555;
}
hr {
	border: 0;
	height: 4px;
	background: var(--cover-bg);
}
.share-buttons {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	justify-content: center;
}
.share {
	padding: 8px 12px;
	border-radius: 5px;
	color: white;
	text-decoration: none;
	font-size: 14px;
	font-weight: bold;
	transition: opacity 0.3s;
}
.share.fb { background: #3b5998; }
.share.tw { background: #1da1f2; }
.share.tg { background: #0088cc; }
.share.wa { background: #25d366; }
.share.vk { background: #4c75a3; }
.share:hover {
	opacity: 0.85;
}

@media (max-width: 999px) {
	.ti li {
		width: calc(50% - 10px);
	}
}
@media (max-width: 768px) {
	#hamburger {
		display: block;
	}
	aside {
		position: fixed;
		top: 0;
		right: 0;
		bottom: 53px;
		width: 300px;
		transform: translateX(100%);
		z-index: 1001;
	}
	aside.open {
		transform: translateX(0);
	}
	#overlay.show {
		display: block;
	}
	.mobhead {
		background: var(--accent);
		height: 40px;
		line-height: 40px;
		border-radius: 8px;
		display: flex;
		align-items: center;
		gap: 10px;
		color: #fff;
		padding: 0 10px;
	}
	.mobhead img {
		width: 32px;
		height: 32px;
	}
	.mobhead b {
		font-size: 18px;
	}
	.bodyplayer {
		display: block;
		width: 100%;
	}
	.controls {
		width: 100%;
		text-align: center;
		padding: 15px;
	}
	.volume-container {
		display: none;
	}
	.progress-container {
		width: 100%;
		text-align: center;
	}
	.track-item {
		grid-template-columns: 48px 1fr auto;
		gap: 8px;
		padding: 6px;
	}
	.cover-wrapper {
		width: 48px;
		height: 48px;
	}
	.play-btn {
		font-size: 1.2rem;
	}
	.track-info .title {
		font-size: 0.95rem;
	}
	.track-info .artist {
		font-size: 0.85rem;
	}
	.track-section {
		flex-direction: column;
		align-items: center;
	}
	.track-cover {
		max-width: 100%;
	}
	.buttons a {
		width: 100%;
	}
	.ti li {
		width: 100%;
	}
}