/* Main Page styles */
.column {
	display: flex;
	flex-direction: column;
	background-color: black;
	background-image: linear-gradient(to bottom right, black, #29110C);
}

/* ── Row 1 – Index row ──────────────────────────────────────────────── */
.row1 {
	color: #D2042D;
	min-height: 100vh;
	width: 100%;
	padding: 2rem 1rem;
	display: flex;
	align-items: center;
	justify-content: center;
}

.row1-content {
	display: flex;
	flex-direction: column-reverse;
	align-items: center;
	width: 100%;
	max-width: 1400px;
	gap: 1.5rem;
}

.unpolarizeimg {
	max-width: 100%;
	width: 95%;
	margin-left: auto;
	margin-right: auto;
	border: 1px solid #D2042D;
	border-radius: 50px;
	background-image: linear-gradient(to bottom right, #BD0F29, black);
	box-shadow: 5px 5px #D2042D;
	object-fit: cover;
}

.row1-rightcol {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.row1-rightcol h1 {
	font-family: "Bitcount Prop Double", system-ui;
	font-size: clamp(3rem, 10vw, 7rem);
	margin-left: 0;
	margin-top: clamp(3rem, 10vw, 10rem);
	text-shadow: 5px 5px 2.5px white;
	white-space: nowrap;
}

.mediarow {
	display: flex;
	gap: 1.5rem;
	flex-wrap: wrap;
	justify-content: center;
}

.mediarow a {
	display: inline-block;
	cursor: pointer;
	pointer-events: all;
	position: relative;
	z-index: 10;
}

a i {
	transition: all 0.2s ease;
}

a i:hover {
	opacity: 0.8;
	transform: scale(1.1);
}

/* ── Row 2 – Latest Releases ──────────────────────────────────────────────── */
.row2 {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 4rem 1.5rem 5rem;
	min-height: 60vh;
	background: linear-gradient(to bottom, #0d0000, black);
}

/* Section heading */
.releases-header {
	text-align: center;
	margin-bottom: 3rem;
}

.releases-title {
	font-family: "Oswald", Arial, sans-serif;
	font-size: clamp(1.8rem, 4vw, 3rem);
	color: #fff;
	letter-spacing: 6px;
	text-transform: uppercase;
	margin-bottom: 0.6rem;
}

.releases-title-bar {
	width: 60px;
	height: 3px;
	background: #D2042D;
	margin: 0 auto;
	border-radius: 2px;
}

/* Card grid */
.releases-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
	width: 100%;
	max-width: 1100px;
}

/* Individual card */
.release-card {
	background: #0f0000;
	border: 2px solid #2a0000;
	border-radius: 16px;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	cursor: pointer;
	transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.release-card:hover {
	border-color: #D2042D;
	transform: translateY(-6px);
	box-shadow: 0 12px 32px rgba(210, 4, 45, 0.35);
}

/* Album art */
.release-art-wrap {
	position: relative;
	width: 100%;
	aspect-ratio: 1 / 1;
	overflow: hidden;
}

.release-art {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}

.release-card:hover .release-art {
	transform: scale(1.06);
}

/* Spotify overlay on hover */
.release-play-overlay {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.55);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.release-card:hover .release-play-overlay {
	opacity: 1;
}

.release-play-overlay i {
	font-size: 3rem;
	color: #1DB954;
	filter: drop-shadow(0 0 8px rgba(29, 185, 84, 0.6));
}

/* Card text */
.release-info {
	padding: 0.9rem 1rem 1.1rem;
}

.release-type {
	font-family: "Oswald", Arial, sans-serif;
	font-size: 0.65rem;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: #D2042D;
}

.release-name {
	font-family: "Oswald", Arial, sans-serif;
	font-size: clamp(0.9rem, 2vw, 1.1rem);
	color: #fff;
	margin-top: 0.3rem;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.release-date {
	font-size: 0.75rem;
	color: #666;
	margin-top: 0.2rem;
}

/* Skeleton loading state */
.release-card.skeleton {
	pointer-events: none;
	border-color: #1a0000;
}

.release-card.skeleton .release-art-wrap {
	aspect-ratio: 1 / 1;
	background: linear-gradient(90deg, #1a0000 25%, #2d0000 50%, #1a0000 75%);
	background-size: 200% 100%;
	animation: shimmer 1.4s infinite;
}

@keyframes shimmer {
	0%   { background-position: 200% 0; }
	100% { background-position: -200% 0; }
}

/* Error fallback */
.releases-error {
	color: #888;
	font-family: "Oswald", Arial, sans-serif;
	font-size: 1rem;
	text-align: center;
}

.releases-error a {
	color: #D2042D;
	text-decoration: underline;
}

/* ── Scroll reveal animation ─────────────────────────────────────────────── */
.reveal-item {
	opacity: 0;
	transform: translateY(50px) scale(0.97);
	transition:
		opacity 0.6s ease calc(var(--delay, 0ms)),
		transform 0.6s ease calc(var(--delay, 0ms));
}

.reveal-item.visible {
	opacity: 1;
	transform: translateY(0) scale(1);
}

/* ── Row 3 – About Me ──────────────────────────────────────────────── */
.row3 {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: center;
	padding: 4rem 2rem 5rem;
	min-height: 40vh;
	background-image: linear-gradient(to bottom right, #29110C, black);
}

.about-title {
	display: column;
	justify-content: flex-start;
	width: 30vh;
	color: white;
	margin-bottom: 1rem;
	font-family: "Bitcount Prop Double", system-ui;
	font-size: clamp(0.5rem, 5vw, 2rem);
	text-shadow: 5px 5px #D2042D;
}

.about-text {
	display: flex;
	align-items: center;
	color: white;
	font-family: "Bitcount Prop Double", system-ui;
	font-size: clamp(1.5rem, 5vw, 2rem);
	text-shadow: 2.5px 2.5px black;
}

/* ===== Tablet (768px – 1024px) ===== */
@media screen and (min-width: 768px) {
	.row1 {
		min-height: 100vh;
		padding: 0;
		align-items: stretch;
	}

	.row1-content {
		flex-direction: row;
		gap: 0;
		align-items: stretch;
		max-width: 100%;
	}

	.unpolarizeimg {
		width: 58%;
		height: 90vh;
		margin: 2rem 0 2rem 2rem;
		flex-shrink: 0;
		border-radius: 40px;
		align-self: center;
	}

	.row1-rightcol {
		align-items: center;
		justify-content: center;
		flex: 1;
		min-width: 0;
		overflow: visible;
		padding: 2rem;
	}

	.row1-rightcol h1 {
		margin-left: 0;
		margin-top: 0;
		letter-spacing: 2px;
		text-shadow: 8px 8px 4px white;
		font-size: clamp(1.8rem, 4.5vw, 3.5rem);
		text-align: center;
		width: 100%;
	}

	.mediarow {
		margin-left: 0;
		gap: 1.5rem;
		justify-content: center;
	}

	.row2 {
		padding: 4rem 2rem 5rem;
	}

	.releases-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* ===== Desktop (1025px+) ===== */
@media screen and (min-width: 1025px) {
	.row1 {
		padding: 0;
	}

	.row1-content {
		justify-content: center;
		margin-left: auto;
		margin-right: auto;
		max-width: 100%;
	}

	.unpolarizeimg {
		width: 58%;
		height: 88vh;
		margin: 2.5rem 0 2.5rem 3rem;
		border-radius: 50px;
	}

	.row1-rightcol {
		align-items: center;
		justify-content: center;
		padding: 2rem 3rem;
	}

	.row1-rightcol h1 {
		margin-left: 0;
		margin-top: 0;
		letter-spacing: clamp(5px, 1vw, 15px);
		text-shadow: 10px 10px 5px white;
		font-size: clamp(2.5rem, 4vw, 5rem);
		text-align: center;
		width: 100%;
	}

	.mediarow {
		margin-left: 0;
		gap: 2rem;
		justify-content: center;
	}

	.row2 {
		padding: 5rem 4rem 6rem;
	}

	.releases-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 2rem;
	}

	.row3 {
		flex-direction: row;
		justify-content: flex-start;
		align-items: flex-start;
		padding: 4rem 4rem 5rem;
	}

	.about-title {
		margin-bottom: 0;
	}

	.about-text {
		margin-top: 10rem;
	}
}

/* ===== Small phones (< 480px) ===== */
@media screen and (max-width: 480px) {
	.row1 {
		padding: 1.5rem 0.75rem;
	}

	.unpolarizeimg {
		width: 98%;
		border-radius: 30px;
	}

	.row1-rightcol h1 {
		margin-top: 2rem;
	}

	.mediarow {
		gap: 1rem;
	}

	.row2 {
		padding: 3rem 0.75rem 4rem;
	}

	.releases-grid {
		grid-template-columns: 1fr;
		max-width: 400px;
	}
}
