/* =========================================================
   Doom drop — iron and emerald, a dark throne-room look
   Used by template-doom.php (landing page)
   ========================================================= */

.dm, .dm-promo {
	--dm-void: #050806;
	--dm-iron: #121a16;
	--dm-iron-2: #1b2620;
	--dm-emerald: #19e07c;
	--dm-jade: #0c9a55;
	--dm-moss: #0b3d25;
	--dm-steel: #c9d4cf;
	--dm-gold: #d6b35a;
	--dm-grad-iron: linear-gradient(180deg, #ffffff 0%, #dfe7e3 26%, #8e9b95 52%, #4c5a54 70%, #b7c4be 86%, #6f7d77 100%);
	--dm-grad-fire: linear-gradient(100deg, #0c9a55 0%, #19e07c 45%, #7dffb7 100%);
	--dm-ease: cubic-bezier(.22, 1, .36, 1);
}

.dm {
	--aura-ink: #eef6f1;
	--aura-ink-soft: #b9cbc2;
	--aura-ink-faint: #82948b;
	--aura-bg: var(--dm-void);
	--aura-surface: #0d1410;
	--aura-line: rgba(255, 255, 255, .12);
	--aura-line-soft: rgba(255, 255, 255, .07);
	--aura-ph: #0f1813;
	--aura-ph-alt: #142019;
	background: var(--dm-void);
	color: var(--aura-ink);
	overflow: hidden;
}

body.page-template-template-doom { background: #050806; }

.dm-kicker {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 16px;
	font-family: var(--aura-text);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .24em;
	text-transform: uppercase;
	color: var(--dm-emerald);
}
.dm-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--dm-emerald); box-shadow: 0 0 0 4px rgba(25, 224, 124, .22), 0 0 14px var(--dm-emerald); animation: dm-pulse 2s ease-in-out infinite; }

/* Brushed iron lettering with a green under-glow */
.dm-iron {
	background: var(--dm-grad-iron);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	filter: drop-shadow(0 0 26px rgba(25, 224, 124, .45)) drop-shadow(0 6px 0 rgba(0, 0, 0, .7));
}

.dm-h2 {
	margin: 0 0 14px;
	font-family: var(--aura-display);
	font-weight: 800;
	font-size: clamp(32px, 5vw, 60px);
	letter-spacing: -.04em;
	line-height: .98;
	color: #fff;
}
.dm-h2 em, .dm-hero__title em {
	font-family: var(--v2-serif, 'Instrument Serif', serif);
	font-style: italic;
	font-weight: 400;
	letter-spacing: -.02em;
	color: var(--dm-emerald);
}

/* Buttons */
.dm-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 0 28px;
	border-radius: 999px;
	font-family: var(--aura-text);
	font-weight: 700;
	font-size: 15px;
	text-decoration: none;
	white-space: nowrap;
	transition: transform .35s var(--dm-ease), box-shadow .35s var(--dm-ease), background-position .6s var(--dm-ease);
}
.dm-btn:hover { transform: translateY(-2px); }
.dm-btn--fire {
	background: linear-gradient(100deg, #0c9a55, #19e07c 45%, #7dffb7 80%, #0c9a55) 0 0 / 220% 100%;
	color: #03130a;
	box-shadow: 0 0 0 1px rgba(255, 255, 255, .2) inset, 0 12px 30px -10px rgba(25, 224, 124, .7), 0 0 30px -6px rgba(25, 224, 124, .5);
}
.dm-btn--fire:hover { background-position: 100% 0; color: #03130a; }
.dm-btn--ghost { border: 1.5px solid rgba(214, 179, 90, .65); color: var(--dm-gold); }
.dm-btn--ghost:hover { background: rgba(214, 179, 90, .1); color: #fff; }

/* ---------------- Hero ---------------- */

.dm-hero {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	gap: 24px;
	min-height: min(88vh, 860px);
	padding: clamp(56px, 8vw, 110px) max(var(--aura-gut, 16px), calc((100vw - var(--aura-max, 1320px)) / 2)) clamp(110px, 13vw, 170px);
	isolation: isolate;
}

.dm-hero__sky {
	position: absolute;
	inset: 0;
	z-index: -1;
	overflow: hidden;
	background:
		radial-gradient(55% 60% at 72% 58%, rgba(25, 224, 124, .28), transparent 70%),
		radial-gradient(70% 50% at 50% 110%, rgba(12, 154, 85, .45), transparent 70%),
		linear-gradient(180deg, #030504 0%, #07110c 45%, #0a1d13 100%);
}

/* Castle stone: faint block joints */
.dm-hero__stone {
	position: absolute;
	inset: 0;
	opacity: .35;
	background:
		repeating-linear-gradient(0deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 64px),
		repeating-linear-gradient(90deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 128px);
	-webkit-mask: radial-gradient(80% 80% at 50% 40%, #000 30%, transparent 80%);
	mask: radial-gradient(80% 80% at 50% 40%, #000 30%, transparent 80%);
}

/* Drifting green smoke */
.dm-smoke { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; }
.dm-smoke--a { width: 60vw; height: 40vw; left: -15vw; bottom: -12vw; background: radial-gradient(circle, rgba(25, 224, 124, .35), transparent 65%); animation: dm-drift 16s ease-in-out infinite; }
.dm-smoke--b { width: 50vw; height: 34vw; right: -10vw; top: -8vw; background: radial-gradient(circle, rgba(12, 154, 85, .4), transparent 65%); animation: dm-drift 20s ease-in-out infinite reverse; }

/* The eclipse ring behind the phones */
.dm-ring {
	position: absolute;
	left: 72%;
	top: 50%;
	width: min(40vw, 520px);
	aspect-ratio: 1;
	transform: translate(-50%, -50%);
	border-radius: 50%;
	border: 3px solid rgba(160, 255, 205, .9);
	box-shadow: 0 0 24px 4px rgba(25, 224, 124, .8), 0 0 90px 20px rgba(25, 224, 124, .35), inset 0 0 40px 6px rgba(25, 224, 124, .45);
	animation: dm-ring 5s ease-in-out infinite;
}

/* Rising embers */
.dm-embers {
	position: absolute;
	inset: 0;
	background-image:
		radial-gradient(circle, rgba(125, 255, 183, .9) 0 1.5px, transparent 2.5px),
		radial-gradient(circle, rgba(25, 224, 124, .7) 0 1px, transparent 2px),
		radial-gradient(circle, rgba(214, 179, 90, .6) 0 1px, transparent 2px);
	background-size: 230px 310px, 170px 240px, 290px 380px;
	background-position: 0 0, 60px 90px, 120px 40px;
	-webkit-mask: linear-gradient(0deg, #000 0%, transparent 85%);
	mask: linear-gradient(0deg, #000 0%, transparent 85%);
	animation: dm-embers 14s linear infinite;
}

.dm-hero__inner { position: relative; z-index: 2; max-width: 640px; }
.dm-hero__title { margin: 0 0 20px; font-family: var(--aura-display); font-weight: 800; line-height: .86; letter-spacing: -.04em; }
.dm-hero__title .dm-iron { display: block; font-size: clamp(84px, 14vw, 200px); }
.dm-hero__title em { display: block; font-size: clamp(34px, 5vw, 66px); margin-top: 6px; color: var(--dm-emerald); text-shadow: 0 0 24px rgba(25, 224, 124, .6); }
.dm-hero__sub { max-width: 44ch; margin: 0 0 30px; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.6; color: rgba(238, 246, 241, .86); }
.dm-hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }

.dm-price-tag {
	display: inline-flex;
	align-items: baseline;
	gap: 8px;
	padding: 12px 18px;
	border-radius: 14px;
	background: rgba(5, 8, 6, .6);
	border: 1px solid rgba(255, 255, 255, .16);
	color: #fff;
	font-weight: 700;
	backdrop-filter: blur(8px);
}
.dm-price-tag del { color: rgba(255, 255, 255, .5); font-weight: 500; font-size: .9em; }

.dm-hero__facts { display: flex; gap: clamp(20px, 4vw, 44px); margin: 36px 0 0; padding: 0; list-style: none; }
.dm-hero__facts li { display: flex; flex-direction: column; }
.dm-hero__facts strong { font-family: var(--aura-display); font-size: 30px; font-weight: 800; letter-spacing: -.03em; color: var(--dm-gold); text-shadow: 0 0 18px rgba(214, 179, 90, .4); }
.dm-hero__facts span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .65); }

/* Fanned phone mockups */
.dm-hero__phones { position: relative; z-index: 2; height: clamp(360px, 46vw, 600px); }
.dm-phone {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 52%;
	aspect-ratio: 1 / 1;
	border-radius: 28px;
	overflow: hidden;
	background: #0d1410;
	box-shadow: 0 0 0 1.5px rgba(201, 212, 207, .3), 0 40px 80px -24px rgba(0, 0, 0, .95), 0 0 60px -10px rgba(25, 224, 124, .45);
	transition: transform .6s var(--dm-ease);
}
.dm-phone img { display: block; width: 100%; height: 100%; object-fit: cover; }
.dm-phone--1 { z-index: 3; transform: translate(-50%, -50%) rotate(-2deg); animation: dm-float 6s ease-in-out infinite; }
.dm-phone--2 { z-index: 2; transform: translate(-108%, -42%) rotate(-12deg) scale(.86); }
.dm-phone--3 { z-index: 1; transform: translate(8%, -42%) rotate(11deg) scale(.86); }
.dm-hero__phones:hover .dm-phone--2 { transform: translate(-118%, -44%) rotate(-16deg) scale(.88); }
.dm-hero__phones:hover .dm-phone--3 { transform: translate(18%, -44%) rotate(15deg) scale(.88); }

/* ---------------- Ticker ---------------- */

.dm-ticker {
	position: relative;
	z-index: 3;
	overflow: hidden;
	padding: 16px 0;
	background: linear-gradient(100deg, #0b3d25, #0c9a55 50%, #0b3d25);
	border-top: 1px solid rgba(125, 255, 183, .4);
	border-bottom: 1px solid rgba(125, 255, 183, .4);
	box-shadow: 0 0 40px rgba(25, 224, 124, .35);
	transform: rotate(-1.2deg) scale(1.02);
	margin-top: -36px;
}
.dm-ticker__track { display: flex; align-items: center; gap: 28px; width: max-content; animation: dm-marquee 28s linear infinite; }
.dm-ticker span { font-family: var(--aura-display); font-weight: 800; font-size: clamp(20px, 2.6vw, 30px); letter-spacing: -.01em; text-transform: uppercase; color: #fff; white-space: nowrap; }
.dm-ticker i { font-style: normal; color: var(--dm-gold); font-size: 18px; }

/* ---------------- Feature ---------------- */

.dm-feature {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(32px, 6vw, 90px);
	max-width: var(--aura-max, 1320px);
	margin: 0 auto;
	padding: clamp(70px, 9vw, 120px) var(--aura-gut, 16px);
}
.dm-feature__media { position: relative; }
.dm-feature__img { display: block; width: 100%; height: auto; border-radius: 26px; box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .12), 0 40px 90px -30px rgba(0, 0, 0, .9), 0 0 80px -20px rgba(25, 224, 124, .45); }
.dm-feature__img--alt { position: absolute; right: -6%; bottom: -10%; width: 44%; border-radius: 20px; transform: rotate(6deg); box-shadow: 0 0 0 3px var(--dm-gold), 0 30px 60px -20px rgba(0, 0, 0, .9), 0 0 40px rgba(214, 179, 90, .35); }
.dm-feature__text p:not(.dm-kicker) { max-width: 46ch; font-size: 17px; line-height: 1.7; color: var(--aura-ink-soft); }
.dm-feature__row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 26px; }
.dm-feature__price { font-size: 26px; font-weight: 800; color: #fff; }
.dm-feature__price del { font-size: 17px; font-weight: 500; color: var(--aura-ink-faint); }
.dm-feature__price ins { text-decoration: none; }

/* ---------------- Designs grid ---------------- */

.dm-designs {
	position: relative;
	max-width: var(--aura-max, 1320px);
	margin: 0 auto;
	padding: clamp(40px, 6vw, 80px) var(--aura-gut, 16px) clamp(70px, 9vw, 110px);
}
.dm-designs::before {
	content: "";
	position: absolute;
	inset: 0 -40vw;
	z-index: -1;
	background: radial-gradient(50% 40% at 50% 0%, rgba(12, 154, 85, .3), transparent 70%);
}
.dm-designs__head { margin-bottom: clamp(26px, 4vw, 44px); text-align: center; }
.dm-designs__sub { margin: 0 auto; max-width: 52ch; color: var(--aura-ink-soft); }

.dm-tabs { display: flex; justify-content: center; gap: 8px; margin: 0 auto 28px; padding: 5px; width: max-content; max-width: 100%; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); }
.dm-tab { appearance: none; border: 0; cursor: pointer; padding: 10px 20px; border-radius: 999px; background: transparent; color: rgba(255, 255, 255, .72); font: inherit; font-weight: 700; font-size: 15px; transition: background .3s var(--dm-ease), color .3s var(--dm-ease); }
.dm-tab span { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: rgba(255, 255, 255, .12); font-size: 12px; }
.dm-tab:hover { color: #fff; }
.dm-tab[aria-selected="true"] { background: var(--dm-grad-fire); color: #03130a; box-shadow: 0 6px 20px -6px rgba(25, 224, 124, .6); }
.dm-tab[aria-selected="true"] span { background: rgba(3, 19, 10, .18); }
.dm-tab:focus-visible { outline: 2px solid var(--dm-gold); outline-offset: 2px; }
.dm-grid[hidden] { display: none !important; }

.dm-grid .aura-card {
	border-radius: 20px;
	padding: 10px 10px 14px;
	background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015));
	box-shadow: 0 0 0 1px rgba(255, 255, 255, .08) inset;
	transition: transform .45s var(--dm-ease), box-shadow .45s var(--dm-ease);
}
.dm-grid .aura-card:hover { transform: translateY(-6px); box-shadow: 0 0 0 1.5px rgba(25, 224, 124, .65) inset, 0 24px 50px -20px rgba(25, 224, 124, .45); }
.dm-grid .aura-card__media { border-radius: 14px; overflow: hidden; }
.dm-grid .aura-card__name { color: #fff; }
.dm-grid .aura-card__price, .dm-grid .aura-card__price ins { color: var(--dm-emerald); text-decoration: none; }
.dm-grid .aura-card__price del { color: var(--aura-ink-faint); }
.dm-grid .aura-badge { background: var(--dm-jade); color: #fff; }
.dm-grid .aura-card__add { background: var(--dm-grad-fire) !important; color: #03130a !important; border: 0 !important; border-radius: 999px; }

/* ---------------- Why ---------------- */

.dm-why { padding: 0 var(--aura-gut, 16px) clamp(60px, 8vw, 100px); }
.dm-why__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: var(--aura-max, 1320px); margin: 0 auto; padding: 0; list-style: none; }
.dm-why__list li { display: flex; flex-direction: column; gap: 6px; padding: 26px; border-radius: 22px; background: linear-gradient(160deg, rgba(27, 38, 32, .9), rgba(11, 61, 37, .45)); border: 1px solid rgba(255, 255, 255, .09); }
.dm-why__icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 10px; border-radius: 14px; background: var(--dm-grad-fire); color: #03130a; font-size: 20px; box-shadow: 0 0 24px rgba(25, 224, 124, .4); }
.dm-why__list strong { font-family: var(--aura-display); font-size: 21px; letter-spacing: -.02em; color: #fff; }
.dm-why__list em { font-style: normal; color: var(--aura-ink-soft); }

/* ---------------- Deal ---------------- */

.dm-deal { padding: 0 var(--aura-gut, 16px); }
.dm-deal__card {
	display: flex;
	align-items: center;
	gap: clamp(20px, 4vw, 48px);
	flex-wrap: wrap;
	max-width: var(--aura-max, 1320px);
	margin: 0 auto;
	padding: clamp(28px, 4vw, 48px);
	border-radius: 28px;
	background: linear-gradient(120deg, #0d1410, #12241a 50%, #0b3d25);
	border: 1px solid rgba(214, 179, 90, .35);
	box-shadow: 0 0 60px -20px rgba(25, 224, 124, .4);
}
.dm-deal__card > div:nth-child(2) { flex: 1 1 320px; }
.dm-deal__card p { margin: 0; color: var(--aura-ink-soft); }
.dm-deal__nums { display: flex; align-items: baseline; gap: 8px; font-family: var(--aura-display); font-weight: 800; }
.dm-deal__nums span { font-size: clamp(60px, 8vw, 96px); line-height: .9; background: var(--dm-grad-iron); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dm-deal__nums i { font-family: var(--v2-serif, serif); font-style: italic; font-weight: 400; font-size: 28px; color: var(--dm-emerald); }
.dm-note { max-width: var(--aura-max, 1320px); margin: 0 auto; padding: 22px var(--aura-gut, 16px) clamp(60px, 8vw, 100px); font-size: 12px; color: var(--aura-ink-faint); text-align: center; }

/* ---------------- Motion ---------------- */

@keyframes dm-ring { 0%, 100% { opacity: .85; transform: translate(-50%, -50%) scale(1); } 50% { opacity: 1; transform: translate(-50%, -50%) scale(1.03); } }
@keyframes dm-drift { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(6vw, -3vw); } }
@keyframes dm-embers { from { background-position: 0 0, 60px 90px, 120px 40px; } to { background-position: 0 -310px, 60px -150px, 120px -340px; } }
@keyframes dm-float { 0%, 100% { transform: translate(-50%, -50%) rotate(-2deg); } 50% { transform: translate(-50%, -54%) rotate(-1deg); } }
@keyframes dm-marquee { to { transform: translateX(-50%); } }
@keyframes dm-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }

@media (prefers-reduced-motion: reduce) {
	.dm *, .dm-promo * { animation: none !important; transition: none !important; }
}

/* ---------------- Tablet & phone ---------------- */

@media (max-width: 900px) {
	.dm-hero { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-top: 44px; padding-bottom: 110px; }
	.dm-hero__phones { height: 360px; order: 2; }
	.dm-ring { left: 50%; top: auto; bottom: 4%; width: 78vw; transform: translate(-50%, 0); animation: none; }
	.dm-feature { grid-template-columns: minmax(0, 1fr); }
	.dm-feature__img--alt { right: 2%; bottom: -8%; width: 38%; }
	.dm-why__list { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 600px) {
	.dm-hero__title .dm-iron { font-size: 92px; }
	.dm-hero__title em { font-size: 36px; }
	.dm-hero__cta .dm-btn { flex: 1 1 100%; }
	.dm-hero__facts { justify-content: space-between; margin-top: 26px; padding: 14px 18px; border-radius: 18px; background: rgba(5, 8, 6, .65); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(10px); }
	.dm-hero { padding-bottom: 90px; gap: 8px; }
	.dm-hero__facts strong { font-size: 24px; }
	.dm-phone { border-radius: 20px; }
	.dm-hero__phones { height: 300px; }
	.dm-ticker { margin-top: -28px; padding: 12px 0; }
	.dm-feature__row .dm-btn { flex: 1 1 100%; }
	.dm-grid .aura-card { padding: 6px 6px 10px; border-radius: 16px; }
	.dm-deal__card .dm-btn { width: 100%; }
}

/* ---------------- Homepage promo ---------------- */

.dm-promo { padding: clamp(24px, 4vw, 48px) var(--aura-gut, 16px); }
.dm-promo__card {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	align-items: center;
	gap: 20px;
	max-width: var(--aura-max, 1320px);
	min-height: 440px;
	margin: 0 auto;
	padding: clamp(32px, 5vw, 64px);
	border-radius: 32px;
	overflow: hidden;
	isolation: isolate;
	text-decoration: none;
	color: #fff;
	box-shadow: 0 30px 80px -30px rgba(25, 224, 124, .45), 0 0 0 1px rgba(255, 255, 255, .1) inset;
}
.dm-promo__card:hover { color: #fff; }
.dm-promo__sky {
	position: absolute;
	inset: 0;
	z-index: -1;
	overflow: hidden;
	background:
		radial-gradient(55% 70% at 75% 55%, rgba(25, 224, 124, .3), transparent 70%),
		radial-gradient(70% 60% at 30% 120%, rgba(12, 154, 85, .45), transparent 70%),
		linear-gradient(160deg, #030504 0%, #07110c 50%, #0a1d13 100%);
}
.dm-promo .dm-ring { left: 74%; width: min(34vw, 400px); }
.dm-promo__text { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; }
.dm-promo__title { display: block; margin: 0 0 14px; font-family: var(--aura-display); font-weight: 800; font-size: clamp(60px, 9vw, 124px); line-height: .88; letter-spacing: -.04em; }
.dm-promo__title em { display: block; font-family: var(--v2-serif, 'Instrument Serif', serif); font-style: italic; font-weight: 400; font-size: .42em; letter-spacing: -.02em; color: var(--dm-emerald); text-shadow: 0 0 20px rgba(25, 224, 124, .6); }
.dm-promo__sub { display: block; max-width: 38ch; margin-bottom: 24px; font-size: 17px; line-height: 1.55; color: rgba(238, 246, 241, .88); }
.dm-promo__sub .amount { font-weight: 800; color: var(--dm-gold); }
.dm-promo__phones { position: relative; z-index: 2; height: clamp(300px, 34vw, 420px); }
.dm-promo__card:hover .dm-phone--2 { transform: translate(-118%, -44%) rotate(-16deg) scale(.88); }
.dm-promo__card:hover .dm-phone--3 { transform: translate(18%, -44%) rotate(15deg) scale(.88); }

@media (max-width: 900px) {
	.dm-promo__card { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-bottom: 20px; }
	.dm-promo__phones { height: 300px; }
	.dm-promo .dm-ring { left: 50%; top: auto; bottom: 4%; width: 74vw; transform: translate(-50%, 0); animation: none; }
}
@media (max-width: 600px) {
	.dm-promo__card { border-radius: 24px; padding: 28px 20px 10px; }
	.dm-promo__title { font-size: 72px; }
	.dm-promo__sub { font-size: 15px; }
	.dm-promo__phones { height: 250px; }
	.dm-promo .dm-btn { width: 100%; }
}
