@charset "utf-8";
/* Into The Necrosphere | CSS */

html, body {
	background: #0f0201;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: 'Glacial Indifference', sans-serif;
	font-weight: 400;
	font-size: clamp(16px, 2vh, 18px);
	background: #32110d url("images/body-bg.webp") no-repeat center top fixed;
	background-size: cover;
	color: #f2f2f2;
	overflow-x: hidden;
}

@font-face {
	font-family: 'Glacial Indifference';
	src: url('fonts/glacialindifference.woff2') format('woff2'),
	     url('fonts/glacialindifference.woff') format('woff');
	font-weight: normal;
	font-style: normal;
}

a {
	color: #fff;
	font-size: 14px;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 1px;
}

a:hover {
	color: #9d7453;
	transition: color 0.3s ease;
}

h1 {
	font-family: 'Anton', sans-serif;
	font-weight: 400;	
	font-size: clamp(36px, 2vw, 38px);
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #fff;
}

h2 {
	font-family: 'Anton', sans-serif;
	font-weight: 400;
	font-size: clamp(35px, 2vw, 45px);
	letter-spacing: 2px;
	text-transform: uppercase;
	text-align: center;
}

h3 {
	font-size: clamp(24px, 2vw, 30px);
	color: #d3a377;
	text-transform: uppercase;
}

h4 {
	font-size: clamp(12px, 2vw, 14px);
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #fff;
}

.btn {
	font-weight: 700;
	text-decoration: none;
	font-size: 18px;
	color: #b67b57;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 20px auto;
	text-align: center;
	border-radius: 5px;
	padding: 15px 25px;
	border: 1px solid #b67b57;
	background: rgba(0,0,0,0.75);
	box-shadow: 0 6px 18px rgba(0,0,0,0.45);
	transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
	position: relative;
	overflow: hidden;
}

.btn::before {
	content: '';
	position: absolute;
	inset: 0;
	border: 1px solid transparent;
	pointer-events: none;
}

.btn:hover,
.btn:focus {
	background: rgba(0,0,0,0.65);
	box-shadow: 0 10px 28px rgba(0,0,0,0.6);
	opacity: 0.8;
}

.btn:focus-visible {
	outline: none;
	box-shadow: 0 0 0 3px rgba(182,123,87,0.18),
	            0 10px 28px rgba(0,0,0,0.6);
	border-color: #b67b57;
}

.btn:hover::before,
.btn:focus::before {
	border-color: #b67b57;
	animation: runeTrace 0.9s linear forwards;
}

@keyframes runeTrace {
	0%   { clip-path: inset(0 100% 100% 0); }
	25%  { clip-path: inset(0 0 100% 0); }
	50%  { clip-path: inset(0 0 0 100%); }
	100% { clip-path: inset(0 0 0 0); }
}

section {
	scroll-margin-top: 150px;
}

/* === MENU/HEADER === */
.site-header {
	position: sticky;
	top: 0;
	background: transparent;
	overflow: visible;
	z-index: 1000;
}

.header-inner {
	position: relative;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px 40px;
	z-index: 30;
}

.site-header::before {
	content: none;
}

.logo img {
	width: 100px;
	height: auto;
}

.main-nav ul {
	list-style: none;
	display: flex;
	gap: 24px;
	padding: 0;
	margin: 0;
}

.main-nav a {
	margin-left: 20px;
	font-weight: 700;
}

.social-icons img {
	width: 22px;
	margin-left: 8px;
	filter: brightness(0) invert(1);
	transition: opacity 0.7s;
}

.social-icons img:hover {
	opacity: 0.2;
}

.torn-edge {
	position: absolute;
	left: 0;
	bottom: -60px;
	width: 100%;
	height: 200px;
	background: url("images/menu-bg.webp") repeat-x bottom;
	background-size: contain;
	pointer-events: none;
	z-index: 10;
}

/* === HAMBURGER MENU ICON === */
.nav-toggle {
	display: none;
	position: absolute;
	top: 18px;
	right: 20px;
	z-index: 2000;
}

/* === HERO === */
.hero {
	position: relative;
	z-index: 0;
	width: 100%;
	min-height: 800px;
	display: flex;
	justify-content: center;
	align-items: center;
	background: url("images/hero-img.webp") no-repeat center top;
	background-size: contain;
}

.hero-content {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
	color: #fff;
	max-width: 1500px;
	text-shadow: 0 0 15px rgba(0, 0, 0, 0.7);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0;
	z-index: 2;
}

.hero-logo img {
	width: 100%;
	max-width: 800px;
	height: auto;
	display: block;
	margin: 0 auto;
	filter: drop-shadow(0 0 25px rgba(255, 0, 0, 0.4));
}

.hero-content h1,
.hero-content h3 {
	margin: 0;
	padding: 0;
	line-height: 1.3;
}

/* === PODCAST: THIS WEEK === */
.podcast {
	width: 100%;
	padding: 100px 0 150px;
	color: #fff;
	position: relative;
	text-align: center;
	background: url("images/section-bg.webp") repeat-x center;
	background-size: cover;
}

.podcast-intro {
	max-width: 950px;
	margin: 0 auto 40px;
}

.podcast a {
	text-transform: none;
	font-size: 16px;
}

.podcast .inner {
	max-width: 1180px;
	margin: 0 auto;
}

.podcast-grid {
	display: grid;
	grid-template-columns: 1fr 420px;
	gap: 28px;
	align-items: center;
}

.video-wrap {
	width: 100%;
	border-radius: 5px;
	overflow: hidden;
	background: #000;
	box-shadow: 0 8px 30px rgba(0,0,0,0.6);
}

.video-wrap iframe {
	width: 100%;
	height: 100%;
	aspect-ratio: 16/9;
	border: 0;
	display: block;
}

.podcast-right {
	display: flex;
	flex-direction: column;
	gap: 10px;
	justify-content: center;
	padding: 10px;
}

.episode {
	font-family: 'Anton', sans-serif;
	font-size: 30px;
	letter-spacing: 1.3px;
	text-transform: uppercase;
	text-align: center;
	margin: 0;
}

.guest {
	font-size: 20px;
	font-weight: 600;
	letter-spacing: 1.3px;
	text-transform: uppercase;
	text-align: center;
	margin: 0;
}

.logo-wrap {
	display: flex;
	justify-content: center;
}

.episode-logo {
	max-width: 350px;
	width: 100%;
	height: auto;
	display: block;
	padding: 40px;
}

.cta-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 10px;
	align-items: center;
}

.cta-button {
	box-sizing: border-box;
	border-radius: 5px;
	padding: 12px 10px;
	min-width: 110px;
	min-height: 40px;
	line-height: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: rgba(0,0,0,0.75);
	border: 1px solid #b67b57;
	box-shadow: 0 6px 18px rgba(0,0,0,0.45);
	transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
	overflow: hidden;
	position: relative;
	cursor: pointer;
}

.cta-button::before {
	content: '';
	position: absolute;
	inset: 0;
	border: 1px solid transparent;
	pointer-events: none;
	}

.cta-button:hover,
.cta-button:focus {
	background: rgba(0,0,0,0.65);
	box-shadow: 0 10px 28px rgba(0,0,0,0.6);
	opacity: 0.8;
}

.cta-button:focus-visible {
	outline: none;
	box-shadow:
		0 0 0 3px rgba(182,123,87,0.18),
		0 10px 28px rgba(0,0,0,0.6);
	border-color: #b67b57;
}

.cta-button:hover::before,
.cta-button:focus::before {
	border-color: #b67b57;
	animation: runeTrace 0.9s linear forwards;
}

.cta-logo {
	height: 26px;
	width: auto;
	display: block;
	object-fit: contain;
	pointer-events: none;
	user-select: none;
	flex: 0 0 auto;
	max-width: none;
}

/* === SAME RUNE TRACE ANIMATION AS MAIN BUTTON === */
@keyframes runeTrace {
	0%   { clip-path: inset(0 100% 100% 0); }
	25%  { clip-path: inset(0 0 100% 0); }
	50%  { clip-path: inset(0 0 0 100%); }
	100% { clip-path: inset(0 0 0 0); }
}

/* === HORSEMEN APOCALYPSE === */
.horsemen {
	width: 100%;
	padding: 20px 40px 80px;
	box-sizing: border-box;
	color: #fff;
	text-align: center;
}

.horsemen-intro {
	max-width: 1100px;
	margin: 0 auto 40px;
}

.horsemen-grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 30px;
	justify-items: center;
	align-items: start;
	max-width: 1550px;
	margin: 0 auto;
}

.horsemen-card {
	position: relative;
	background: url("images/card-bg.webp") no-repeat center / contain; /* changed from cover */
	background-size: 100% 100%;
	text-align: center;
	padding: 30px 14px 30px;
	width: 100%;
	max-width: 220px;
	aspect-ratio: 4 / 5; /*  height ratio for all cards */
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	border: none;
}

.horsemen-card img {
	display: block;
	margin: 0 auto 10px;
	width: 85%;
	height: auto;
}

.small {
	font-size: 0.9em;
	opacity: 0.8;
}

.horsemen-links {
	display: flex;
	justify-content: center;
	gap: 12px;
	margin-top: auto;
}

.horsemen-links img {
	width: 24px;
	height: 24px;
	filter: brightness(0) invert(1);
	opacity: 0.8;
	transition: opacity 0.7s ease;
}

.horsemen-links img:hover {
	opacity: 0.2;
}

/* === PLAYLIST OF THE WEEK === */
.playlist {
	width: 100%;
	position: relative;
	text-align: center;
	color: #fff;
	background: url("images/section-bg.webp") repeat-x center;
	background-size: cover;
	padding-top: 100px;
	padding-bottom: 150px;
}

.playlist-frame {
	max-width: 1180px;
	margin: 0 auto;
	border-radius: 5px;
	box-shadow: 0 8px 30px rgba(0,0,0,0.6);
	overflow: hidden;
	background: rgba(0,0,0,0.2);
}

/* === UNSANCTIONED FILTH === */
.filth {
	padding: 30px 0 50px;
	text-align: center;
}

.filth-page {
	padding: 125px 0 125px;
	text-align: center;
}

.filth-intro {
	max-width: 1100px;
	margin: 0 auto 40px;
}

.filth-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 25px;
	justify-items: center;
	max-width: 1200px;
	margin: 0 auto;
}

.filth-card {
	width: 100%;
	max-width: 250px;
	aspect-ratio: 1 / 1;
	background: url("images/card-bg.webp") no-repeat center / contain; /* changed from cover */
	background-size: 100% 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between; /* evenly distribute content */
	overflow: hidden;
	padding: 25px 20px;
}

.filth-card img {
	width: 80%;
	height: auto;
	object-fit: contain;
	margin: 0 auto 10px;
	padding-top: 10px;
}

.band-links {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-top: 5px;
}

.band-links img {
	width: 22px;
	filter: brightness(0) invert(1);
	opacity: 0.8;
	transition: opacity 0.7s ease;
}

.band-links img:hover {
	opacity: 0.2;
}

/* === MERCH === */
.merch {
	width: 100%;
	padding: 200px 0 250px;
	position: relative;
	text-align: center;
	color: #fff;
	background: url("images/section-bg.webp") repeat-x center;
	background-size: contain;
}

.merch .inner {
	max-width: 1180px;
	margin: 0 auto;
}

.merch-text {
	font-size: 22px;
	letter-spacing: 1px;
	color: #cdb59b;
	text-transform: uppercase;
	margin-top: 20px;
}

/* === CONTACT === */
.contact {
	padding: 80px 0 100px;
	text-align: center;
}

.contact-grid {
	display: grid;
	grid-template-columns: 1.5fr 2fr;
	max-width: 850px;
	margin: 0 auto;
	margin-top: 35px;
	gap: 25px;
	align-items: center;
}

.contact-info {
	width: 90%;
	display: flex;
	text-align: left;
	flex-direction: column;
	justify-content: center;
	justify-self: end;
	gap: 40px;
}

.info-block {
	margin: 0;
	line-height: 1;
}

.info-block strong {
	display: block;
}

.info-block a {
	color: #cdb59b;
	font-size: 16px;
	text-transform: none;
}

.info-block a:hover {
	color: #d3a377;
}

/* FORM */
.contact-form {
	background: url("images/card-bg.webp") no-repeat center / cover;
	background-size: 100% 100%;
	padding: 80px;
	text-align: left;
}

.contact-form label {
	display: block;
	margin: 20px 0 6px;
	color: #d3a377;
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.contact-form input,
.contact-form textarea {
	width: 100%;
	background: transparent;
	border: none;
	border-bottom: 1px solid rgba(255,255,255,0.25);
	color: #f2f2f2;
	font-family: 'Glacial Indifference', sans-serif;
	font-size: 16px;
	padding: 8px 4px 10px;
	outline: none;
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
	color: rgba(255,255,255,0.4);
}

.contact-form input:focus,
.contact-form textarea:focus {
	border-bottom-color: #d3a377;
}

.contact-form select {
	width: 100%;
	background: transparent;
	border: none;
	border-bottom: 1px solid rgba(255,255,255,0.25);
	color: #f2f2f2;
	font-family: 'Glacial Indifference', sans-serif;
	font-size: 16px;
	padding: 8px 4px 10px;
	outline: none;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	cursor: pointer;
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
	background-image: url("data:image/svg+xml;charset=UTF-8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8'><path fill='%23d3a377' d='M1 1l5 5 5-5'/></svg>");
	background-repeat: no-repeat;
	background-position: right 8px center;
	background-size: 12px 8px;
	padding-right: 28px;
	background-color: transparent; /* Prevent white flash */
}

.contact-form select:focus {
	border-bottom-color: #d3a377;
}

.contact-form select:required:invalid {
	color: rgba(255,255,255,0.4);
}

.contact-form select option {
	background-color: #000;
	color: #f2f2f2;
}

.contact-form select option[value=""] {
	color: rgba(255,255,255,0.4);
}

.contact-form select option:hover,
.contact-form select option:focus,
.contact-form select option:checked {
	background-color: #222;
	color: #d3a377;
}

.contact-form .btn {
	display: block;
	margin: 30px auto 0;
	width: 45%;
	border-width: 2px;
	font-family: 'Glacial Indifference', sans-serif;
	font-size: 16px;
	font-weight: 700;
	text-transform: uppercase;
	padding: 10px 10px;
	cursor: pointer;
}

/* Honeypot */
.verify-email {
	position: absolute;
	left: -9999px;
	top: -9999px;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

/* Message back to user after form submission */
.form-status-message {
	background: rgba(0, 0, 0, 0.5);
	border: 1px solid #d3a377;
	color: #d3a377;
	font-weight: 600;
	text-align: center;
	padding: 15px;
	margin-bottom: 20px;
	border-radius: 5px;
}

/* === FOOTER === */
.site-footer {
	position: relative;
	text-align: center;
	padding: 60px 20px 60px;
	font-size: 0.9rem;
	color: #f2f2f2;
	line-height: 1.5;
	overflow: hidden;
}

.site-footer::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: url("images/footer-bg.webp") repeat-x top;
	background-size: contain;
	pointer-events: none;
	z-index: 0;
}

.footer-logo,
.footer-social,
.footer-tagline,
.footer-credit {
	position: relative;
	z-index: 1;
}

.footer-logo img {
	width: 120px;
	height: auto;
	margin-bottom: 20px;
}

.footer-social {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 16px;
	margin-bottom: 16px;
}

.footer-tagline {
	font-size: 15px;
	text-transform: uppercase;
	letter-spacing: 2px;
	margin-bottom: 18px;
}

.footer-credit {
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 1.2px;
	opacity: 0.8;
}

.footer-credit a {
	font-size: 13px;
}

.footer-credit a:hover {
  cursor: url('images/suntelia-cursor.png'), auto;
}