.single-beat-page,
.single-beat-page * ,
.single-beat-page *::before,
.single-beat-page *::after {
	box-sizing: border-box;
}

.single-beat-page {
	padding: 30px 0 20px;
	color: #f5f5f5;
	font-family: 'Inter', sans-serif;
	font-weight: 400;
	line-height: 1.6;
}

.single-beat-page a { color: inherit; text-decoration: none; }
.single-beat-page img { display: block; width: 100%; }

.single-beat-page .btn-primary,
.single-beat-page .btn-outline {
	display: inline-block;
	font-size: 0.9rem;
	font-weight: 600;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	cursor: pointer;
	transition: 0.25s cubic-bezier(0.2, 0, 0, 1);
}

.single-beat-page .btn-primary {
	padding: 0.8rem 2rem;
	background: #a855f7;
	border: none;
	border-radius: 6px;
	color: #0b0b0b;
}

.single-beat-page .btn-primary:hover,
.single-beat-page .btn-primary:focus-visible {
	background: #c084fc;
	box-shadow: 0 8px 20px rgba(168, 85, 247, 0.35);
	transform: translateY(-2px);
}

.single-beat-page .btn-outline {
	padding: 0.8rem 2rem;
	background: transparent;
	border: 1px solid #2a2a2a;
	border-radius: 6px;
	color: #f5f5f5;
}

.single-beat-page .btn-outline:hover,
.single-beat-page .btn-outline:focus-visible {
	background: rgba(168, 85, 247, 0.08);
	border-color: #a855f7;
	color: #a855f7;
}

.single-beat-page .container {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 24px;
}

.single-beat-page .back-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 24px;
	color: #b0b0b0;
	font-size: 0.9rem;
}

.single-beat-page .back-link:hover { color: #a855f7; }

.single-beat-grid {
	display: grid;
	grid-template-columns: 0.8fr 1.2fr;
	align-items: start;
	gap: 48px;
}

.beat-artwork {
	position: relative;
	max-width: 400px;
	overflow: hidden;
	background: #181818;
	border: 1px solid #2a2a2a;
	border-radius: 10px;
}

.beat-artwork img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

.beat-artwork .play-overlay {
	position: absolute;
	top: 50%;
	left: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	padding: 0;
	transform: translate(-50%, -50%);
	background: rgba(168, 85, 247, 0.9);
	border: 2px solid #fff;
	border-radius: 50%;
	box-shadow: 0 0 30px rgba(168, 85, 247, 0.4);
	color: #fff;
	font-size: 1.5rem;
	cursor: pointer;
	transition: 0.25s cubic-bezier(0.2, 0, 0, 1);
}

.beat-artwork .play-overlay:hover,
.beat-artwork .play-overlay:focus-visible { transform: translate(-50%, -50%) scale(1.08); background: #c084fc; }
.beat-artwork .play-overlay.playing { background: rgba(168, 85, 247, 0.7); }

.beat-details h1 {
	margin: 0 0 4px;
	font-family: 'Space Grotesk', 'Inter', sans-serif;
	font-size: 2.8rem;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.beat-details .producer {
	margin: 0 0 16px;
	color: #b0b0b0;
	font-size: 1.1rem;
}

.beat-details .producer a {
	color: inherit;
	text-decoration: none;
}

.beat-details .producer i { margin-right: 6px; color: #a855f7; }

.beat-meta-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
	gap: 12px;
	margin: 16px 0 24px;
	padding: 16px;
	background: #181818;
	border: 1px solid #2a2a2a;
	border-radius: 10px;
}

.beat-meta-grid .meta-item { text-align: center; }
.beat-meta-grid .meta-item .label { color: #777; font-size: 0.7rem; letter-spacing: 0.05em; text-transform: uppercase; }
.beat-meta-grid .meta-item .value { color: #f5f5f5; font-size: 1rem; font-weight: 600; }
.beat-meta-grid .meta-item .value a:hover { color: #a855f7; }

.beat-price-section {
	display: flex;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
	margin: 20px 0 28px;
	padding: 20px;
	background: #1e1e1e;
	border: 1px solid #2a2a2a;
	border-radius: 10px;
}

.beat-price-section .price { color: #a855f7; font-size: 2.2rem; font-weight: 700; }
.beat-price-section .price-label { color: #777; font-size: 0.8rem; }

.beat-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.beat-actions .btn-primary { padding: 0.8rem 2.5rem; font-size: 0.9rem; }
.beat-actions .btn-outline { padding: 0.8rem 2rem; font-size: 0.9rem; }
.beat-actions i { margin-right: 8px; }

.share-wrapper { position: relative; display: inline-block; }
.share-dropdown {
	position: absolute;
	top: 110%;
	right: 0;
	z-index: 50;
	display: none;
	min-width: 180px;
	padding: 12px;
	background: #181818;
	border: 1px solid #2a2a2a;
	border-radius: 10px;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7);
}
.share-dropdown.active { display: block; }
.share-dropdown a { display: flex; align-items: center; gap: 10px; padding: 8px 12px; color: #b0b0b0; font-size: 0.9rem; }
.share-dropdown a:hover { background: #1e1e1e; color: #f5f5f5; }
.share-dropdown a i { width: 24px; color: #a855f7; }

.beat-description { margin: 20px 0 16px; color: #b0b0b0; line-height: 1.8; }
.beat-description p { margin: 0 0 1em; }
.beat-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.beat-tags span { padding: 4px 14px; background: #232323; border: 1px solid #2a2a2a; border-radius: 20px; color: #b0b0b0; font-size: 0.8rem; }

.related-section { margin-top: 60px; padding-top: 40px; border-top: 1px solid #2a2a2a; }
.related-section h2 { margin: 0 0 20px; font-family: 'Space Grotesk', 'Inter', sans-serif; font-size: 1.6rem; font-weight: 700; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.related-card { overflow: hidden; background: #181818; border: 1px solid #2a2a2a; border-radius: 10px; transition: 0.25s cubic-bezier(0.2, 0, 0, 1); }
.related-card:hover { transform: translateY(-4px); border-color: #a855f7; box-shadow: 0 12px 30px rgba(168, 85, 247, 0.1); }
.related-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.related-card .info { padding: 10px 12px 14px; }
.related-card .info h4 { margin: 0; font-size: 0.9rem; font-weight: 600; }
.related-card .info p { margin: 0; color: #777; font-size: 0.75rem; }
.related-card .info .price { margin-top: 4px; color: #a855f7; font-size: 0.85rem; font-weight: 700; }

body.single-beat .site-footer { margin-top: 40px; }

@media (max-width: 1024px) {
	.single-beat-grid { grid-template-columns: 1fr; gap: 32px; }
	.beat-artwork { max-width: 500px; margin: 0 auto; }
}

@media (max-width: 768px) {
	.beat-details h1 { font-size: 2rem; }
	.beat-price-section .price { font-size: 1.8rem; }
	.beat-meta-grid { grid-template-columns: repeat(auto-fit, minmax(80px, 1fr)); gap: 8px; padding: 12px; }
	.related-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
	.beat-actions { flex-direction: column; width: 100%; }
	.beat-actions .btn-primary, .beat-actions .btn-outline { width: 100%; text-align: center; }
	.share-wrapper, .share-wrapper .btn-outline { width: 100%; }
	.share-dropdown { right: 0; left: 0; min-width: unset; }
	.beat-artwork { max-width: 100%; }
}

@media (max-width: 480px) {
	.beat-details h1 { font-size: 1.6rem; }
	.beat-artwork .play-overlay { width: 50px; height: 50px; font-size: 1.2rem; }
	.related-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; }
}
