/* Blackfront website: the landing page (index.html) */
:root { color-scheme: dark; --gold: #ffc633; --gold2: #d99200; --ink: #07090c; --panel: rgba(10, 13, 18, .72); --line: rgba(255, 255, 255, .1); --muted: #8f9ab5; --text: #e8edf4; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--text); font: 16px/1.6 "Segoe UI", Tahoma, Arial, sans-serif; overflow-x: hidden; }
a { color: var(--gold); }
h1, h2, h3 { font-family: Bahnschrift, "Segoe UI", Arial, sans-serif; letter-spacing: .02em; margin: 0; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
/* ---- hero: the short trailer loops behind the title ---- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.hero video, .hero .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero .poster { background: radial-gradient(ellipse at 50% 40%, #2a1a0c 0%, #0a0a0d 60%, #000 100%); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(7, 9, 12, .55) 0%, rgba(7, 9, 12, .25) 40%, rgba(7, 9, 12, .85) 85%, var(--ink) 100%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 4px); pointer-events: none; }
.hero .wrap { position: relative; z-index: 2; text-align: center; padding-top: 10vh; padding-bottom: 12vh; }
.brand { display: inline-flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.brand svg { width: clamp(64px, 9vw, 110px); height: auto; filter: drop-shadow(0 0 22px rgba(255, 190, 40, .45)); }
.brand h1 { font-size: clamp(44px, 9vw, 112px); font-weight: 900; line-height: .95; color: #fff; text-shadow: 0 4px 30px rgba(0, 0, 0, .7); }
.brand h1 span { color: var(--gold); background: linear-gradient(180deg, #fff0b0, var(--gold) 55%, var(--gold2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tag { font: 700 clamp(13px, 1.6vw, 20px) Bahnschrift, "Segoe UI", sans-serif; letter-spacing: .32em; text-transform: uppercase; color: #ffd466; text-shadow: 0 2px 12px rgba(0, 0, 0, .8); margin: 0 0 8px; }
.sub { max-width: 640px; margin: 0 auto 30px; font-size: clamp(15px, 1.5vw, 19px); color: #d7deea; text-shadow: 0 2px 10px rgba(0, 0, 0, .8); }
.cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 30px; border-radius: 6px; font: 800 17px Bahnschrift, "Segoe UI", sans-serif; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; cursor: pointer; border: 2px solid transparent; transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { transform: translateY(-2px); }
.btn.gold { background: linear-gradient(180deg, #ffe08a, var(--gold) 55%, var(--gold2)); color: #201600; box-shadow: 0 8px 30px rgba(255, 198, 51, .35); }
.btn.gold:hover { box-shadow: 0 12px 40px rgba(255, 198, 51, .5); }
.btn.ghost { background: rgba(10, 13, 18, .6); color: #fff; border-color: rgba(255, 255, 255, .35); backdrop-filter: blur(6px); }
.btn.ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn[hidden] { display: none; }
.hero .note { margin-top: 18px; font-size: 13px; color: var(--muted); }
.hero .note a { color: var(--muted); }
.scroll { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 2; color: var(--muted); font-size: 12px; letter-spacing: .3em; text-transform: uppercase; animation: bob 2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translate(-50%, 6px); } }
/* ---- sections ---- */
section { padding: 80px 0; }
.sec-t { font-size: clamp(26px, 3.6vw, 44px); font-weight: 900; color: #fff; margin-bottom: 8px; }
.sec-t em { color: var(--gold); font-style: normal; }
.sec-s { color: var(--muted); max-width: 680px; margin-bottom: 34px; }
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--panel); border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: 8px; padding: 22px 22px 20px; }
.card h3 { font-size: 20px; color: #fff; margin-bottom: 6px; }
.card p { margin: 0; color: #c9d3e6; font-size: 15px; }
.card .ico { font-size: 28px; margin-bottom: 10px; filter: drop-shadow(0 0 10px rgba(255, 198, 51, .35)); }
/* ---- factions ---- */
.facs { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.fac { position: relative; text-align: center; padding: 22px 12px 18px; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; transition: transform .2s, border-color .2s; }
.fac:hover { transform: translateY(-4px); border-color: var(--fc); }
.fac::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 20%, color-mix(in srgb, var(--fc) 22%, transparent), transparent 65%); opacity: .7; }
.fac svg { position: relative; width: 72px; height: 72px; filter: drop-shadow(0 0 10px color-mix(in srgb, var(--fc) 70%, transparent)); }
.fac svg .m { fill: var(--fc); fill-opacity: .28; stroke: var(--fc); stroke-width: 3; stroke-linejoin: round; }
.fac svg .d { fill: none; stroke: var(--fc); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.fac svg .ey { fill: #0b0e18; stroke: var(--fc); stroke-width: 2; } .fac svg .tx { fill: var(--fc); }
.fac b { position: relative; display: block; margin-top: 10px; font: 800 15px Bahnschrift, "Segoe UI", sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--fc); }
.fac span { position: relative; display: block; font-size: 13px; color: #c9d3e6; margin-top: 4px; }
/* ---- trailers ---- */
.vids { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.vid { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.vid .frame { position: relative; aspect-ratio: 16 / 9; background: #000; }
.vid .frame iframe, .vid .frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vid .frame .soon { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font: 700 13px Bahnschrift, sans-serif; letter-spacing: .24em; text-transform: uppercase; background: radial-gradient(ellipse at center, #1a1208, #000); }
.vid h3 { font-size: 16px; padding: 12px 16px 14px; color: #fff; }
/* ---- install ---- */
.install { background: linear-gradient(180deg, rgba(255, 198, 51, .06), transparent); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-top: 24px; }
.step { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 20px; }
.step b { display: block; font: 800 13px Bahnschrift, sans-serif; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.step p { margin: 0; color: #c9d3e6; font-size: 15px; }
/* ---- footer ---- */
footer { padding: 36px 0 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; justify-content: space-between; }
footer a { color: var(--muted); text-decoration: none; margin-right: 16px; } footer a:hover { color: var(--gold); }
/* ---- reveal on scroll ---- */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; } .rv.in { opacity: 1; transform: none; }
.rv:nth-child(2) { transition-delay: .08s; } .rv:nth-child(3) { transition-delay: .16s; } .rv:nth-child(4) { transition-delay: .24s; } .rv:nth-child(5) { transition-delay: .32s; } .rv:nth-child(6) { transition-delay: .4s; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } .scroll { animation: none; } }
@media (max-width: 640px) { .btn { width: 100%; justify-content: center; } section { padding: 56px 0; } }
