/* MAGIC XMAS @ DAIMON — pagina campaniei. Culori: roșu, negru, alb. Font: Barlow Condensed. */

@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/bc-500.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/bc-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/bc-700.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 800; font-display: swap; src: url("fonts/bc-800.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: italic; font-weight: 800; font-display: swap; src: url("fonts/bc-800i.woff2") format("woff2"); }

.mx {
	--mx-red: #b71c22;
	--mx-red-dark: #7d0e14;
	--mx-black: #0b0b0b;
	--mx-white: #fff;
	--mx-grey: #5a5a5a;
	--mx-line: #e6e1e1;
	--mx-font: "Barlow Condensed", "Helvetica Neue", Helvetica, Arial, sans-serif;

	/* full-bleed în interiorul conținutului paginii */
	width: 100vw;
	margin-left: calc(50% - 50vw);
	font-family: var(--mx-font);
	color: var(--mx-black);
	background: var(--mx-white);
	line-height: 1.15;
	-webkit-font-smoothing: antialiased;
}
body:has(.mx) { overflow-x: clip; }
.mx *, .mx *::before, .mx *::after { box-sizing: border-box; }
:where(.mx) :where(p, h1, h2, h3, ul) { margin: 0; padding: 0; }
:where(.mx) :where(ul) { list-style: none; }
.mx .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.mx-wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }

/* ---------- Butoane + stări CTA ---------- */
.mx-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	min-height: 56px; padding: 0 34px;
	font: 800 1.35rem/1 var(--mx-font); letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
	border: 2px solid transparent; border-radius: 6px; cursor: pointer;
	transition: background-color .2s, color .2s, transform .2s, border-color .2s;
}
.mx-btn:focus-visible { outline: 3px solid var(--mx-black); outline-offset: 3px; }
.mx-btn--dark { background: var(--mx-black); color: var(--mx-white); }
.mx-btn--dark:hover { background: var(--mx-red); color: var(--mx-white); }
.mx-btn--buy { background: var(--mx-red); color: var(--mx-white); }
.mx-btn--buy:hover { background: var(--mx-red-dark); color: var(--mx-white); transform: translateY(-2px); }
.mx-btn--white { background: var(--mx-white); color: var(--mx-red); }
.mx-btn--white:hover { background: var(--mx-black); color: var(--mx-white); }
.mx-btn--wait, .mx-btn--ended { background: var(--mx-black); color: var(--mx-white); cursor: default; opacity: 1; }
.mx-btn--on-red { background: transparent; color: var(--mx-white); border-color: var(--mx-white); }
.mx-cta { display: block; }
.mx-cta .mx-btn { width: 100%; }
.mx-cta--final .mx-btn { width: auto; min-width: 300px; }

.mx-cta .mx-btn--buy, .mx-cta .mx-btn--ended { display: none; }
.mx[data-state="live"] .mx-cta .mx-btn--wait,
.mx[data-state="live"] .mx-cta .mx-btn--ended,
.mx[data-state="ended"] .mx-cta .mx-btn--wait,
.mx[data-state="ended"] .mx-cta .mx-btn--buy,
.mx[data-state="upcoming"] .mx-cta .mx-btn--buy,
.mx[data-state="upcoming"] .mx-cta .mx-btn--ended { display: none; }
.mx[data-state="live"] .mx-cta .mx-btn--buy,
.mx[data-state="ended"] .mx-cta .mx-btn--ended,
.mx[data-state="upcoming"] .mx-cta .mx-btn--wait { display: inline-flex; }

/* ---------- Hero (variantă închisă, fotografie în sală) ---------- */
.mx-hero { --mx-gold: #ee2a35; position: relative; isolation: isolate; background: #070707; color: var(--mx-white); padding-top: 76px; /* loc pentru header-ul fix */ overflow: hidden; }
.mx-hero__media { position: absolute; right: max(2vw, calc(50% - 600px)); bottom: 0; height: min(100% - 90px, 760px); aspect-ratio: 717 / 1100; z-index: -1; line-height: 0; }
.mx-hero::before { content: ""; position: absolute; z-index: -2; right: 0; bottom: 0; width: 70%; height: 100%; background: radial-gradient(ellipse 55% 60% at 68% 55%, rgba(200, 24, 36, .55) 0%, rgba(120, 12, 20, .25) 45%, rgba(7, 7, 7, 0) 72%); }
.mx-hero__media img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: bottom; filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .55)); }
.mx-hero__inner { width: min(1240px, 100% - 40px); margin-inline: auto; min-height: clamp(560px, calc(100vh - 150px), 700px); display: flex; align-items: center; }
.mx-hero__copy { padding: 28px 0 40px; max-width: 640px; }
.mx-title { text-transform: uppercase; font-style: italic; font-weight: 800; letter-spacing: -.01em; line-height: .84; }
.mx-title__a, .mx-title__b { display: block; font-size: clamp(5rem, 9.5vw, 8.2rem); }
.mx-title__a { color: #f7f5f1; }
.mx-title__b { background: linear-gradient(180deg, #ee2a35 0%, #b01821 100%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.mx-title__c { display: flex; align-items: center; gap: 18px; margin-top: 16px; max-width: 28rem; font-size: clamp(1.4rem, 2.4vw, 1.9rem); letter-spacing: .14em; line-height: 1; color: var(--mx-white); }
.mx-title__c::before, .mx-title__c::after { content: ""; flex: 1; height: 1px; background: var(--mx-red); }
.mx-sub { margin-top: 10px; font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 500; letter-spacing: .02em; text-transform: uppercase; color: #ee2a35; }
.mx-lowest { margin-top: 18px; font-size: clamp(2rem, 3.4vw, 2.8rem); font-weight: 800; font-style: italic; color: var(--mx-white); text-transform: uppercase; letter-spacing: .03em; }
.mx-date { display: inline-flex; align-items: center; gap: 12px; margin-top: 20px; padding: 10px 22px; background: rgba(15, 12, 10, .72); border: 1px solid rgba(238, 42, 53, .55); color: var(--mx-white); border-radius: 6px; font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 700; text-transform: uppercase; }
.mx-date .mx-icon { width: 1.3em; height: 1.3em; flex: none; color: var(--mx-gold); }

.mx-countdown { margin: 18px 0 0; display: none; }
.mx[data-state="upcoming"] .mx-countdown { display: block; }
.mx-countdown__label { font-size: 1.05rem; font-weight: 500; text-transform: uppercase; letter-spacing: .22em; color: rgba(255, 255, 255, .6); margin-bottom: 8px; }
.mx-countdown__grid { display: flex; gap: 10px; }
.mx-countdown__grid li { min-width: 72px; padding: 8px 8px 7px; text-align: center; background: rgba(15, 12, 10, .72); border: 1px solid rgba(255, 255, 255, .22); border-radius: 6px; }
.mx-countdown__grid b { display: block; font-size: 2.1rem; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.mx-countdown__grid span { display: block; margin-top: 4px; font-size: .9rem; font-weight: 500; text-transform: uppercase; letter-spacing: .12em; color: rgba(255, 255, 255, .6); }
.mx-hero__copy .mx-btn--dark { margin-top: 22px; min-height: 52px; background: linear-gradient(180deg, #e8212d, #b01821); box-shadow: 0 10px 30px -8px rgba(232, 33, 45, .65); }
.mx-hero__copy .mx-btn--dark:hover { background: var(--mx-white); color: var(--mx-red); }

/* ---------- Abonamente ---------- */
.mx-plans { padding: clamp(56px, 8vw, 104px) 0; background: #faf7f7; scroll-margin-top: 90px; }
.mx-h2 { font-size: clamp(2.6rem, 5.5vw, 4.4rem); font-weight: 800; font-style: italic; text-transform: uppercase; text-align: center; letter-spacing: .01em; line-height: 1; }
.mx-h2--light { color: var(--mx-white); }
.mx-lead { margin-top: 12px; font-size: clamp(1.3rem, 2vw, 1.6rem); text-align: center; color: var(--mx-grey); font-weight: 500; }
.mx-lead--light { color: rgba(255, 255, 255, .82); }
.mx-cards { margin-top: 44px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-items: stretch; }
.mx-card { position: relative; display: flex; flex-direction: column; padding: 38px 34px 34px; background: var(--mx-white); border: 2px solid var(--mx-line); border-radius: 14px; }
.mx-card--plus { border-color: var(--mx-red); box-shadow: 0 18px 50px -24px rgba(183, 28, 34, .5); }
.mx-badge { align-self: flex-start; margin-bottom: 14px; padding: 7px 16px; background: linear-gradient(180deg, var(--mx-red), var(--mx-red-dark)); color: var(--mx-white); border-radius: 6px; font-size: 1.1rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.mx-card:not(.mx-card--plus) .mx-card__name { margin-top: calc(14px + 1.1rem * 1.15 + 14px); }
.mx-card__name { font-size: clamp(2.4rem, 4vw, 3.2rem); font-weight: 800; text-transform: uppercase; line-height: 1; }
.mx-card__term { margin-top: 6px; font-size: 1.25rem; font-weight: 500; color: var(--mx-grey); text-transform: uppercase; letter-spacing: .04em; }
.mx-price { margin-top: 20px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 24px; }
.mx-price__old { font-size: clamp(1.7rem, 3vw, 2.2rem); font-weight: 500; font-style: italic; color: var(--mx-grey); }
.mx-price__old s { text-decoration-color: var(--mx-red); text-decoration-thickness: 3px; }
.mx-price__new { font-size: clamp(3.6rem, 7vw, 5rem); font-weight: 800; color: var(--mx-red); line-height: 1; }
.mx-card__flex { margin-top: 10px; font-size: 1.2rem; font-weight: 700; text-transform: uppercase; }
.mx-list { margin: 24px 0 8px; padding-top: 22px; border-top: 1px solid var(--mx-line); display: grid; gap: 12px; }
.mx-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 1.3rem; font-weight: 500; line-height: 1.2; }
.mx-list .mx-icon { flex: none; width: 22px; height: 22px; margin-top: 1px; color: var(--mx-red); stroke-width: 2.6; }
.mx-list__title { margin-top: 22px; font-size: 1.15rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--mx-grey); }
.mx-list--bonus { margin-top: 12px; padding-top: 0; border-top: 0; }
.mx-list .mx-ghost { visibility: hidden; }
@media (max-width: 900px) { .mx-list .mx-ghost { display: none; } }
.mx-tag { flex: none; align-self: center; margin-left: 2px; padding: 3px 8px 2px; background: var(--mx-red); color: var(--mx-white); border-radius: 4px; font-style: normal; font-size: 1rem; font-weight: 800; letter-spacing: .1em; line-height: 1.1; }
.mx-note { margin-top: 6px; font-size: 1.15rem; color: var(--mx-grey); font-style: italic; }
.mx-card .mx-cta { margin-top: auto; padding-top: 28px; }

/* ---------- Bonusuri ---------- */
.mx-bonus { padding: clamp(56px, 8vw, 96px) 0; background: var(--mx-black); color: var(--mx-white); }
.mx-bonus__grid { margin-top: 44px; display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.mx-bonus__grid li { flex: 0 1 calc(25% - 14px); min-width: 230px; display: flex; flex-direction: column; gap: 4px; padding: 26px 22px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 12px; background: rgba(255, 255, 255, .04); }
.mx-bonus__grid b { font-size: 1.6rem; font-weight: 800; text-transform: uppercase; line-height: 1.05; }
.mx-bonus__grid li > span:last-child { font-size: 1.2rem; font-weight: 500; color: rgba(255, 255, 255, .75); }
.mx-bonus__icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 12px; border-radius: 50%; background: var(--mx-red); }
.mx-bonus__icon .mx-icon { width: 26px; height: 26px; }

/* ---------- CTA final ---------- */
.mx-final { position: relative; overflow: hidden; }
.mx-final .mx-wrap { position: relative; z-index: 1; }
.mx-final__deco { display: none; position: absolute; bottom: 0; height: auto; pointer-events: none; filter: drop-shadow(0 14px 30px rgba(0, 0, 0, .4)); }
@media (min-width: 1200px) {
	.mx-final__deco { display: block; }
	.mx-final__deco--l { left: max(1vw, calc(50% - 760px)); width: clamp(200px, 17vw, 270px); bottom: 24px; }
	.mx-final__deco--r { right: max(1vw, calc(50% - 760px)); width: clamp(210px, 18vw, 290px); bottom: 24px; }
}
.mx-final { padding: clamp(56px, 8vw, 96px) 0 clamp(96px, 12vw, 140px); background: linear-gradient(135deg, var(--mx-red) 0%, var(--mx-red-dark) 100%); color: var(--mx-white); text-align: center; }
.mx-final__title { font-size: clamp(2.8rem, 6.5vw, 5.4rem); font-weight: 800; font-style: italic; text-transform: uppercase; line-height: .98; }
.mx-final__text { margin: 18px 0 32px; font-size: clamp(1.35rem, 2.2vw, 1.8rem); font-weight: 500; }
.mx-final__sign { margin-top: 44px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .35); display: grid; gap: 6px; font-size: 1.35rem; font-weight: 500; }
.mx-final__brand { font-size: 1.15rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; }
.mx-final__dates { font-size: 1.8rem; font-weight: 800; text-transform: uppercase; }

/* ---------- Mobil / tabletă ---------- */
@media (max-width: 900px) {
	.mx-hero { padding-top: 78px; }
	.mx-hero__inner { width: calc(100% - 40px); min-height: 0; }
	.mx-hero__copy { padding: 28px 0 36px; max-width: none; }
	.mx-hero__media { display: none; }
	.mx-cards { grid-template-columns: 1fr; }
	.mx-card:not(.mx-card--plus) .mx-card__name { margin-top: 0; }
	.mx-bonus__grid li { flex-basis: calc(50% - 9px); min-width: 0; }
}
@media (max-width: 520px) {
	.mx-btn { min-height: 54px; padding: 0 22px; font-size: 1.25rem; }
	.mx-hero .mx-btn--dark { width: 100%; }
	.mx-countdown__grid { gap: 8px; }
	.mx-countdown__grid li { flex: 1; min-width: 0; }
	.mx-card { padding: 30px 22px 26px; }
	.mx-bonus__grid { gap: 12px; }
	.mx-bonus__grid li { flex-basis: calc(50% - 6px); }
	.mx-bonus__grid li { padding: 20px 16px; }
	.mx-bonus__grid b { font-size: 1.35rem; }
	.mx-cta--final .mx-btn { width: 100%; min-width: 0; }
	.mx-hero__band { padding-block: 16px; }
}
@media (prefers-reduced-motion: reduce) {
	.mx *, .mx *::before, .mx *::after { transition: none !important; }
}

/* ---------- Formular „anunță-mă” (doar înainte de începerea ofertei) ---------- */
.mx-signup { display: none; padding: clamp(40px, 6vw, 72px) 0; background: linear-gradient(135deg, var(--mx-red) 0%, var(--mx-red-dark) 100%); color: var(--mx-white); }
.mx[data-state="upcoming"] .mx-signup { display: block; }
.mx-signup__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.mx-signup__title { font-size: clamp(2.6rem, 5vw, 4.2rem); font-weight: 800; font-style: italic; text-transform: uppercase; line-height: 1; }
.mx-signup__copy p { margin-top: 14px; font-size: clamp(1.4rem, 2vw, 1.75rem); font-weight: 500; max-width: 30rem; }
.mx-form { display: grid; gap: 14px; }
.mx-form__row { display: grid; gap: 6px; }
.mx-form label { font-size: 1.1rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.mx-form input[type="text"], .mx-form input[type="email"], .mx-form input[type="tel"] { width: 100%; height: 54px; padding: 0 16px; font: 500 1.5rem var(--mx-font); color: var(--mx-black); background: var(--mx-white); border: 2px solid transparent; border-radius: 6px; }
.mx-form input:focus-visible { outline: 3px solid var(--mx-black); outline-offset: 2px; }
.mx-form .mx-form__consent { display: flex; gap: 10px; align-items: flex-start; font-size: 1.15rem; font-weight: 500; text-transform: none; letter-spacing: 0; line-height: 1.2; }
.mx-form__consent input { flex: none; width: 20px; height: 20px; margin-top: 1px; accent-color: var(--mx-black); }
.mx-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.mx-form .mx-btn { width: 100%; }
.mx-form .mx-btn[disabled] { opacity: .7; cursor: wait; }
.mx-form__msg { min-height: 1.4em; font-size: 1.25rem; font-weight: 600; }
.mx-form__msg.is-error { background: var(--mx-black); padding: 8px 12px; border-radius: 6px; }
.mx-signup.is-done .mx-form > :not(.mx-form__msg) { display: none; }
.mx-signup.is-done .mx-form__msg { font-size: 1.8rem; font-weight: 800; text-transform: uppercase; }
@media (max-width: 900px) { .mx-signup__grid { grid-template-columns: 1fr; } }
