/* Wasted Worlds – Early Alpha site. No build step, no external requests. */
@font-face { font-family: "Poppins"; src: url("../fonts/Poppins-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/Poppins-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/Poppins-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --bg: #0d0a14;
  --bg-alt: #151020;
  --panel: #1d1729;
  --line: #2e2540;
  --cream: #fff4de;
  --text: #e9e2d6;
  --muted: #b3a9a0;
  --ember: #ff9a4a;
  --red: #d6402c;
  --red-dark: #a92f1f;
  --radius: 14px;
  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.65 "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ember); }
h1, h2, h3 { color: var(--cream); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; }
h2 { font-size: clamp(28px, 4vw, 44px); }
h3 { font-size: 22px; }
p { margin: 0 0 1em; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--cream); color: var(--bg); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--ember); outline-offset: 3px; }

/* buttons + badge */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 12px;
  background: var(--red); color: #fff8ec; text-decoration: none;
  font-weight: 700; font-size: 17px;
  border: 2px solid #ffd6a0; box-shadow: 0 8px 30px rgba(214, 64, 44, .35);
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { background: var(--red-dark); transform: translateY(-1px); }
.btn svg { width: 20px; height: 20px; fill: currentColor; }
.btn--ghost { background: rgba(13, 10, 20, .45); border-color: rgba(255, 244, 222, .6); box-shadow: none; }
.btn--ghost:hover { background: rgba(13, 10, 20, .7); }
.btn--small { padding: 8px 16px; font-size: 14px; border-width: 1.5px; box-shadow: none; }
.badge {
  display: inline-block; padding: 5px 14px; border-radius: 8px;
  background: var(--red); border: 2px solid #ffd6a0; color: #fff8ec;
  font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase;
}

/* header */
.top { position: sticky; top: 0; z-index: 50; background: rgba(13, 10, 20, .82); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.top__inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--cream); text-decoration: none; font-weight: 700; letter-spacing: .02em; }
.brand img { border-radius: 8px; }
.top__nav { display: flex; gap: 22px; margin-left: auto; }
.top__nav a { color: var(--text); text-decoration: none; font-size: 15px; font-weight: 500; opacity: .85; }
.top__nav a:hover { color: var(--cream); opacity: 1; }
@media (max-width: 860px) { .top__nav { display: none; } .top__inner .btn--small { margin-left: auto; } }

/* hero */
.hero { position: relative; min-height: min(88vh, 860px); display: flex; align-items: flex-end; overflow: hidden; }
.hero__bg, .hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__bg img { object-fit: cover; object-position: 50% 40%; }
.hero__shade { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(13,10,20,.15) 0%, rgba(13,10,20,0) 35%, rgba(13,10,20,.55) 70%, var(--bg) 100%),
  radial-gradient(ellipse at 20% 80%, rgba(13,10,20,.55), transparent 60%); }
.hero__content { position: relative; padding: 120px 0 72px; }
.title {
  font-size: clamp(48px, 9vw, 120px); letter-spacing: .01em; margin: 14px 0 6px; text-transform: uppercase;
  text-shadow: 0 0 40px rgba(255, 140, 50, .45), 0 4px 0 rgba(20, 12, 8, .9), 0 0 2px rgba(20, 12, 8, 1);
  -webkit-text-stroke: 2px rgba(20, 12, 8, .9);
}
.hero__lead { font-size: clamp(19px, 2.4vw, 26px); color: var(--cream); font-weight: 500; text-shadow: 0 2px 10px rgba(0,0,0,.6); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }

/* sections */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section--alt { background: var(--bg-alt); }
.kicker { color: var(--ember); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: 14px; margin-bottom: 10px; }
.section__lead { max-width: 720px; font-size: 19px; color: var(--muted); margin-bottom: 36px; }
.small { font-size: 14px; color: var(--muted); }

/* video */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: 0 30px 80px rgba(0,0,0,.5); margin-bottom: 14px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__facade { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; cursor: pointer; background: #000; color: inherit; font: inherit; }
.video__facade img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease, filter .3s ease; filter: brightness(.85); }
.video__facade:hover img { transform: scale(1.02); filter: brightness(1); }
.video__play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center;
  background: var(--red); border: 3px solid #ffd6a0; box-shadow: 0 10px 40px rgba(0,0,0,.5);
}
.video__play svg { width: 44px; height: 44px; fill: #fff8ec; margin-left: 6px; }
.video__note { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 16px; font-size: 13px; color: #d9d0c4; background: linear-gradient(0deg, rgba(0,0,0,.65), transparent); text-align: left; }

/* features */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.feature { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; }
.feature h3 { font-size: 20px; }
.feature p { color: var(--muted); margin: 0; font-size: 16px; }

/* bosses */
.bosses { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 26px; margin-top: 30px; }
.boss { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.boss img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.boss__text { padding: 24px 26px 28px; }
.boss__where { color: var(--ember); font-weight: 500; font-size: 14px; letter-spacing: .04em; margin-bottom: 4px; }
.boss__text h3 { font-size: 28px; text-transform: uppercase; }
.boss__text p:last-child { color: var(--muted); margin: 0; }

/* gallery */
.gallery { list-style: none; padding: 0; margin: 0 0 14px; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.gallery a { display: block; border-radius: 10px; overflow: hidden; background: #000; }
.gallery img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; transition: transform .35s ease, opacity .2s ease; }
.gallery a:hover img { transform: scale(1.04); }

.lightbox { padding: 0; border: 0; background: transparent; max-width: min(1600px, 96vw); max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(5, 4, 8, .88); }
.lightbox img { max-width: min(1600px, 96vw); max-height: 92vh; width: auto; border-radius: 10px; }
.lightbox__close { position: absolute; top: -14px; right: -14px; width: 40px; height: 40px; border-radius: 50%; border: 2px solid #ffd6a0; background: var(--red); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; }

/* alpha */
.alpha { background:
  radial-gradient(ellipse at 85% 30%, rgba(214, 64, 44, .22), transparent 55%),
  radial-gradient(ellipse at 10% 90%, rgba(255, 154, 74, .12), transparent 50%), var(--bg); }
.alpha__inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .alpha__inner { grid-template-columns: 1fr; } }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 32px; }
.checks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 18px; height: 18px; border-radius: 5px; background: var(--red); box-shadow: inset 0 0 0 2px #ffd6a0; }
.alpha__card { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 32px; display: grid; justify-items: center; gap: 14px; text-align: center; }
.alpha__card img { border-radius: 24px; box-shadow: 0 16px 40px rgba(0,0,0,.45); }
.alpha__title { font-size: 26px; font-weight: 700; color: var(--cream); margin: 4px 0 0; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 36px 0 44px; }
.foot__inner p { margin: 0 0 6px; }
