#homeHero {
	position: relative;
	min-height: 900px;
	/* Safer min-height for all content */
	height: auto;
	width: 100%;
	overflow: visible;
	display: flex;
	padding: 100px 0;
	/* Balanced padding */
	align-items: center;
	/* Back to centered */
	justify-content: center;
}

#heroBgLayer {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
	transition: transform 0.5s ease;
}

#heroOverlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, rgba(17, 17, 17, 1) 0%, rgba(17, 17, 17, 0.7) 50%, rgba(17, 17, 17, 0.4) 100%);
}

#heroContent {
	position: relative;
	z-index: 5;
	width: 90%;
	max-width: 1400px;
	gap: 0 60px;
	display: grid;
	grid-template-columns: 1fr 400px;
	grid-template-areas:
		"heroText heroWidget"
		"heroFeaturedEvent heroWidget";
	align-items: flex-start;
}

#heroText {
	grid-area: heroText;
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
}

#featuredBandMsg {
	display: -webkit-box;
	-webkit-line-clamp: 8;
	line-clamp: 8;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	font-size: 1.1rem;
	color: #94a3b8;
	/* Slightly brighter blue-grey for better legibility */
	max-width: 700px;
	margin-bottom: 40px;
	line-height: 1.7;
	word-wrap: break-word;
	overflow-wrap: break-word;
	word-break: break-word;
}

.heroFeaturedLabel {
	font-size: 0.8rem;
	text-transform: uppercase;
	color: #607d8b;
	font-weight: 800;
	letter-spacing: 3px;
	margin-bottom: 5px;
	/* Reduced from 15px */
}

#featuredBandName {
	font-size: 4rem;
	/* Reduced from 5rem */
	font-weight: 900;
	color: #fff;
	margin-bottom: 10px;
	/* Reduced from 20px */
	line-height: 1.1;
	text-transform: uppercase;
	letter-spacing: -2px;
}

/* Consolidated into first #featuredBandMsg block */

.promoSpotifyEmbed {
	margin-bottom: 30px;
	width: 100%;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.promoSpotifyEmbed iframe {
	border-radius: 12px;
	display: block;
}

.promoArtwork {
	margin-bottom: 30px;
	/* Reduced from 40px */
	width: 220px;
	/* Slightly reduced */
	height: 220px;
	/* Slightly reduced */
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1);
	transition: transform 0.3s ease;
}

.promoArtwork:hover {
	transform: scale(1.02);
}

.promoArtwork img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

#featuredBandMsg img,
#featuredBandMsg iframe {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
	margin-top: 10px;
}

.heroActions {
	gap: 20px;
	margin-top: 10px;
	margin-bottom: 60px;
}


#heroFeaturedEvent {
	grid-area: heroFeaturedEvent;
	margin-top: 60px;
	border-top: 1px solid rgba(255, 255, 255, 0.05);
	padding-top: 40px;
}

.highlightLabel {
	font-size: 0.8rem;
	text-transform: uppercase;
	color: #94a3b8;
	font-weight: 800;
	letter-spacing: 2px;
	margin-bottom: 20px;
	display: flex;
	align-items: center;
	gap: 15px;
}

.highlightLabel .pulse {
	width: 8px;
	height: 8px;
	background: #607d8b;
	border-radius: 50%;
	display: inline-block;
	box-shadow: 0 0 0 rgba(96, 125, 139, 0.4);
	animation: pulseBtn 2s infinite;
}

@keyframes pulseBtn {
	0% {
		box-shadow: 0 0 0 0 rgba(96, 125, 139, 0.7);
	}

	70% {
		box-shadow: 0 0 0 10px rgba(96, 125, 139, 0);
	}

	100% {
		box-shadow: 0 0 0 0 rgba(96, 125, 139, 0);
	}
}

.miniEventCard {
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
	backdrop-filter: blur(25px);
	-webkit-backdrop-filter: blur(25px);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 20px;
	padding: 20px;
	gap: 25px;
	align-items: flex-start;
	max-width: 550px;
	transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.miniEventCard:hover {
	transform: translateY(-5px);
	border-color: rgba(96, 125, 139, 0.5);
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.miniPosterWrapper {
	position: relative;
	flex-shrink: 0;
	z-index: 1;
}

.posterGlow {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 90%;
	height: 90%;
	background-size: cover;
	background-position: center;
	filter: blur(20px) saturate(2);
	opacity: 0.4;
	transition: opacity 0.4s ease;
}

.miniEventCard:hover .posterGlow {
	opacity: 0.7;
}

.miniPoster {
	position: relative;
	width: 100px;
	height: 140px;
	background-size: cover;
	background-position: center;
	border-radius: 12px;
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
	border: 1px solid rgba(255, 255, 255, 0.1);
	z-index: 2;
}

.miniEventInfo {
	flex: 1;
	min-width: 0;
}

.miniEventInfo h3 {
	font-size: 1.3rem;
	font-weight: 900;
	color: #fff;
	margin: 0 0 10px 0;
	text-transform: uppercase;
	letter-spacing: -0.5px;
}

.miniEventMeta {
	margin-bottom: 15px;
	font-size: 0.8rem;
	color: #94b2c1;
	font-weight: 600;
}

.lineupListing {
	background: rgba(0, 0, 0, 0.2);
	border-radius: 10px;
	padding: 10px 15px;
	margin-bottom: 20px;
	border-left: 3px solid #607d8b;
}

.lineupLabel {
	font-size: 0.7rem;
	font-weight: 800;
	color: #607d8b;
	text-transform: uppercase;
	display: block;
	margin-bottom: 2px;
}

.lineupNames {
	font-size: 0.85rem;
	color: #cbd5e1;
	line-height: 1.4;
	font-weight: 500;
}

.miniEventActions {
	margin-top: 5px;
}

.eventLink {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 8px 20px;
	background: #607d8b;
	color: #fff;
	font-size: 0.8rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 1px;
	border-radius: 30px;
	transition: all 0.3s ease;
	box-shadow: 0 5px 15px rgba(96, 125, 139, 0.2);
}

.eventLink:hover {
	background: #78909c;
	color: #fff;
	transform: scale(1.05);
	box-shadow: 0 10px 25px rgba(96, 125, 139, 0.4);
}

.eventLink img {
	transition: transform 0.3s ease;
}

.eventLink:hover img {
	transform: translateX(5px);
}

#heroWidget {
	grid-area: heroWidget;
	width: 400px;
	flex-shrink: 0;
	/* Prevent the player from crushing when text expands */
}

.spotifyGlass {
	background: rgba(0, 0, 0, 0.5);
	backdrop-filter: blur(20px);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

/* Home Sections */
.homeSection {
	width: 90%;
	max-width: 1400px;
	margin: 100px auto;
}

.sectionHeader {
	justify-content: space-between;
	align-items: flex-end;
	margin-bottom: 40px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
	padding-bottom: 20px;
}

.headerTitle h2 {
	font-size: 2.5rem;
	font-weight: 900;
	text-transform: uppercase;
	color: #fff;
}

.headerTitle p {
	color: #666;
	letter-spacing: 2px;
	text-transform: uppercase;
	font-size: 0.8rem;
	font-weight: bold;
}

.viewAllLink {
	color: #888;
	font-weight: bold;
	display: flex;
	align-items: center;
	gap: 8px;
	transition: color 0.3s ease;
}

.viewAllLink:hover {
	color: #fff;
}

/* News Grid */
.newsGridContainer {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 30px;
}

.homeNewsCard {
	background: rgba(255, 255, 255, 0.02);
	border: 1px solid rgba(255, 255, 255, 0.05);
	border-radius: 20px;
	overflow: hidden;
	transition: all 0.3s ease;
}

.homeNewsCard:hover {
	transform: translateY(-10px);
	border-color: rgba(96, 125, 139, 0.4);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.newsCardThumb {
	height: 200px;
	background-size: cover;
	background-position: center;
	position: relative;
}

.newsDateBadge {
	position: absolute;
	top: 15px;
	right: 15px;
	background: rgba(17, 17, 17, 0.8);
	backdrop-filter: blur(5px);
	padding: 5px 12px;
	border-radius: 8px;
	font-size: 0.75rem;
	font-weight: bold;
	color: #fff;
}

.newsCardBody {
	padding: 25px;
}

.newsCardBody h3 {
	font-size: 1.2rem;
	color: #eee;
	margin-bottom: 15px;
	line-height: 1.4;
}

.readMore {
	font-size: 0.8rem;
	font-weight: bold;
	color: #607d8b;
	text-transform: uppercase;
	letter-spacing: 1px;
}

/* Community Section */
#communitySection {
	gap: 60px;
}

.communityCol {
	flex: 1;
}

.communityList {
	gap: 20px;
}

.communityItem {
	background: rgba(255, 255, 255, 0.02);
	padding: 15px;
	border-radius: 15px;
	gap: 20px;
	align-items: center;
	border: 1px solid rgba(255, 255, 255, 0.05);
	transition: all 0.3s ease;
}

.communityItem:hover {
	background: rgba(255, 255, 255, 0.05);
	border-color: rgba(96, 125, 139, 0.3);
}

.itemThumb {
	width: 80px;
	height: 80px;
	background-size: cover;
	background-position: center;
	border-radius: 10px;
}



.itemText h4 {
	font-size: 1.1rem;
	color: #fff;
	margin-bottom: 5px;
}

.communityLink {
	font-size: 0.8rem;
	color: #607d8b;
	text-transform: uppercase;
	font-weight: 800;
	letter-spacing: 1px;
	display: flex;
	align-items: center;
	gap: 5px;
	transition: all 0.3s ease;
}

.communityItem:hover .communityLink {
	color: #fff;
	transform: translateX(5px);
}

/* Connected Section - "United Front" Theme */
#connectedSection {
	position: relative;
	height: 600px;
	/* Placeholder: Dark gradient + logo pattern until crowd image is available */
	background:
		linear-gradient(rgba(17, 17, 17, 0.8), rgba(17, 17, 17, 0.9)),
		url('/imgs/metal_crowd_hero_1771358124320.webp') center/cover fixed;
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
}

#connectedOverlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: radial-gradient(circle at center, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.8) 100%);
	pointer-events: none;
}

#connectedContent {
	position: relative;
	z-index: 2;
	max-width: 800px;
	padding: 0 20px;
}

#connectedContent h2 {
	font-size: 4rem;
	font-weight: 900;
	text-transform: uppercase;
	margin-bottom: 20px;
	color: #fff;
	text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
	letter-spacing: -2px;
}

#connectedContent p {
	color: #ccc;
	font-size: 1.25rem;
	margin-bottom: 40px;
	line-height: 1.6;
}

.homeSocialLinks {
	gap: 20px;
	justify-content: center;
	margin-top: 20px;
}

.homeSocialIcon {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 12px 25px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.05);
	color: #fff;
	text-transform: uppercase;
	font-weight: bold;
	letter-spacing: 2px;
	transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	min-width: 60px;
}

.homeSocialIcon.hasIcon {
	padding: 10px 15px;
}

.homeSocIcon {
	transition: all 0.3s ease;
}

.homeSocialIcon:hover {
	background: #607d8b;
	border-color: #607d8b;
	color: #fff;
	box-shadow: 0 10px 30px rgba(96, 125, 139, 0.4);
	animation: glitch 0.3s linear infinite;
}

.homeSocialIcon:hover .homeSocIcon {
	filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
}

@keyframes glitch {
	0% {
		transform: scale(1.15) rotate(-2deg) translate(0);
	}

	20% {
		transform: scale(1.15) rotate(-2deg) translate(-2px, 2px);
	}

	40% {
		transform: scale(1.15) rotate(-2deg) translate(-2px, -2px);
	}

	60% {
		transform: scale(1.15) rotate(-2deg) translate(2px, 2px);
	}

	80% {
		transform: scale(1.15) rotate(-2deg) translate(2px, -2px);
	}

	100% {
		transform: scale(1.15) rotate(-2deg) translate(0);
	}
}

/* Events Grid */
.eventsGrid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 20px;
}

.homeEventCard {
	background: rgba(255, 255, 255, 0.02);
	border-radius: 15px;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.05);
	transition: all 0.3s ease;
}

.homeEventCard:hover {
	border-color: #607d8b;
	transform: translateY(-5px);
}

.eventPosterArea {
	height: 250px;
	background-size: cover;
	background-position: center;
	position: relative;
}

.eventCardDate {
	position: absolute;
	bottom: 15px;
	left: 15px;
	background: #607d8b;
	color: #fff;
	padding: 5px 10px;
	border-radius: 8px;
	text-align: center;
	line-height: 1;
}

.eventCardDate .d {
	font-size: 1rem;
	font-weight: 900;
	display: block;
}

.eventCardDate .m {
	font-size: 0.6rem;
	text-transform: uppercase;
	font-weight: bold;
	display: block;
}

.eventCardDate .y {
	font-size: 0.55rem;
	font-weight: bold;
	display: block;
	opacity: 0.8;
}

.eventCardInfo {
	padding: 15px;
}

.eventCardInfo h4 {
	font-size: 0.9rem;
	color: #eee;
	margin-bottom: 10px;
}

.eventPriceTag {
	font-size: 0.75rem;
	font-weight: bold;
	color: #888;
}

/* Mobile */
@media screen and (max-width: 1000px) {
	#heroContent {
		grid-template-columns: 1fr;
		grid-template-areas:
			"heroText"
			"heroWidget"
			"heroFeaturedEvent";
		text-align: center;
		align-items: center;
		justify-items: center;
	}

	#heroText {
		align-items: center;
	}

	#featuredBandName {
		font-size: 3.5rem;
	}

	.heroActions {
		flex-direction: column;
		width: 100%;
		max-width: 300px;
	}

	#heroWidget {
		grid-area: heroWidget;
		width: 100%;
		max-width: 400px;
	}

	#heroWidget.noSpotify {
		display: none;
	}

	.promoArtwork {
		width: 200px;
		height: 200px;
		margin-bottom: 30px;
	}

	#featuredBandMsg {
		margin-bottom: 25px;
	}

	.heroActions {
		margin-bottom: 35px;
	}

	#communitySection {
		flex-direction: column;
	}
}

@media screen and (max-width: 600px) {
	#homeHero {
		height: auto;
		padding: 100px 0;
	}

	#featuredBandName {
		font-size: 2.2rem;
		/* Further reduced for mobile */
	}

	.promoArtwork {
		width: 180px;
		height: 180px;
		margin-bottom: 25px;
	}

	#featuredBandMsg {
		margin-bottom: 20px;
	}

	.heroActions {
		margin-bottom: 30px;
	}

	.headerTitle h2 {
		font-size: 1.8rem;
	}

	/* Stay Connected Mobile */
	#connectedSection {
		height: auto;
		padding: 60px 0;
	}

	#connectedContent h2 {
		font-size: 2.2rem;
		text-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
	}

	.homeSocialLinks {
		flex-wrap: wrap;
		gap: 15px;
	}

	.homeSocialLinks a {
		padding: 12px 20px;
		font-size: 0.9rem;
		width: 100%;
		display: block;
	}
}