:root {
  --bg: #07060a;
  --bg-2: #0d0b10;
  --red: #e02a2a;
  --red-deep: #8f1414;
  --amber: #e0a526;
  --text: #cfcbd6;
  --muted: #8a8593;
  --line: rgba(255, 255, 255, 0.14);
  --display: "Anton", "Impact", sans-serif;
  --mono: "Chakra Petch", "Consolas", monospace;
  --body: "Archivo", system-ui, sans-serif;
  --script: "Permanent Marker", cursive;
  --cut: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.red { color: var(--red); }
.wrap { width: min(1152px, 100% - 48px); margin-inline: auto; }
.wrap.narrow { width: min(760px, 100% - 48px); }
.center { text-align: center; justify-content: center; margin-inline: auto; }

/* ---------- NAV ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 14px max(24px, calc((100vw - 1152px) / 2));
  transition: background .3s, backdrop-filter .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(7, 6, 10, .82);
  backdrop-filter: blur(10px);
  border-color: var(--line);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 14px rgba(224, 42, 42, .5); }
.brand-text { font-family: var(--display); font-size: 22px; letter-spacing: .02em; color: #fff; text-transform: uppercase; }
.brand-text em { font-style: normal; color: var(--red); }

.nav-links { display: flex; gap: 34px; }
.nav-links a {
  font-family: var(--mono); font-size: 13px; letter-spacing: .22em; text-transform: uppercase;
  color: #b9b4c2; transition: color .2s;
}
.nav-links a:hover { color: #fff; }

.nav-actions { display: flex; align-items: center; gap: 12px; }

.chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  padding: 9px 14px; background: transparent; cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}
.chip-pending { color: var(--amber); background: rgba(224, 165, 38, .08); border: 1px solid rgba(224, 165, 38, .5); cursor: default; }
.chip-pending.live { color: #4ade80; background: rgba(74, 222, 128, .08); border-color: rgba(74, 222, 128, .5); }
.chip-copy { color: #e8e5ee; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); }
.chip-copy:hover { border-color: var(--red); color: #fff; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--mono); font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  cursor: pointer; transition: transform .2s, filter .2s, background .2s, border-color .2s;
  border: 0;
}
.btn-sm { font-size: 13px; padding: 11px 20px; }
.btn-lg { font-size: 15px; padding: 20px 32px; }
.btn-solid {
  background: var(--red); color: #fff;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}
.btn-solid:hover { filter: brightness(1.15); transform: translateY(-2px); }
.btn-ghost {
  color: #fff; background: rgba(255, 255, 255, .02);
  box-shadow: inset 0 0 0 1px var(--line);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}
.btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--red); transform: translateY(-2px); }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 120px 0 90px; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 45% 60% at 78% 52%, rgba(190, 20, 20, .38), transparent 70%),
    radial-gradient(ellipse 60% 50% at 10% 0%, rgba(60, 55, 70, .35), transparent 70%),
    linear-gradient(180deg, #0a090d 0%, #070609 100%);
}
.hero-grain {
  position: absolute; inset: 0; opacity: .12; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 40px; }

.eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.eyebrow-line { width: 40px; height: 1px; background: var(--red); }
.eyebrow-text { font-family: var(--mono); font-size: 13px; letter-spacing: .38em; text-transform: uppercase; color: var(--red); }
.eyebrow-est { font-family: var(--script); font-size: 14px; color: #fff; }

.title { font-family: var(--display); font-weight: 400; text-transform: uppercase; line-height: .8; display: flex; flex-direction: column; }
.title span { display: block; font-size: clamp(110px, 16vw, 190px); letter-spacing: -.01em; }
.t-rack {
  background: linear-gradient(180deg, #fff 0%, #dfe3ec 40%, #7f8798 52%, #e9ecf3 62%, #aeb4c2 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.t-city { color: transparent; -webkit-text-stroke: 1.5px #fff; margin-top: -4px; }
.t-rp {
  position: relative; margin-top: -4px; width: fit-content;
  background: linear-gradient(180deg, #ee3333 0%, #b81c1c 55%, #7a1010 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.tagline {
  position: absolute; left: 100%; top: 18%; margin-left: 14px; white-space: nowrap;
  font-family: var(--script); font-size: clamp(22px, 2.6vw, 32px) !important; letter-spacing: .02em;
  text-transform: uppercase; color: #f0a8b6; -webkit-text-fill-color: #f0a8b6;
  background: none; transform: rotate(-3deg);
}

.lede { font-size: 18px; line-height: 1.7; color: #b3aebd; max-width: 590px; margin-top: 44px; }
.lede.center { margin-top: 18px; }

.notice {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 30px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .26em; text-transform: uppercase;
  color: var(--amber); background: rgba(224, 165, 38, .07);
  border: 1px solid rgba(224, 165, 38, .45); padding: 14px 20px;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}
.notice.live { color: #4ade80; background: rgba(74, 222, 128, .07); border-color: rgba(74, 222, 128, .45); }

.cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero-art { position: relative; display: grid; place-items: center; }
.logo-glow {
  position: absolute; width: 112%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 30, 30, .5), transparent 65%);
  filter: blur(30px); animation: pulse 4.5s ease-in-out infinite;
}
.logo-main {
  position: relative; width: min(380px, 78%); aspect-ratio: 1; border-radius: 50%; object-fit: cover;
  box-shadow: 0 0 0 2px rgba(255, 80, 60, .85), 0 0 50px rgba(224, 42, 42, .6);
  animation: float 6s ease-in-out infinite, ringGlow 3.5s ease-in-out infinite;
}
@keyframes ringGlow {
  0%, 100% { box-shadow: 0 0 0 2px rgba(255, 80, 60, .55), 0 0 22px rgba(224, 42, 42, .35); }
  50%      { box-shadow: 0 0 0 2px rgba(255, 110, 80, 1),  0 0 70px rgba(255, 40, 30, .85); }
}
.title { display: block; line-height: 0; }
.title-img {
  width: min(640px, 100%); height: auto; display: block;
  animation: titleGlow 3.5s ease-in-out infinite;
}
@keyframes titleGlow {
  0%, 100% { filter: brightness(.82) saturate(.9) drop-shadow(0 0 6px rgba(224, 42, 42, .25)); }
  50%      { filter: brightness(1.18) saturate(1.25) drop-shadow(0 0 28px rgba(255, 40, 30, .9)); }
}
.logo-tag {
  position: absolute; bottom: -14px; left: 50%; transform: translateX(-50%);
  font-family: var(--mono); font-size: 11px; letter-spacing: .38em; text-transform: uppercase; color: var(--red);
  background: #0a090c; padding: 8px 20px;
  clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 8px 100%);
}
@keyframes pulse { 0%, 100% { opacity: .75; transform: scale(1); } 50% { opacity: 1; transform: scale(1.05); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.scroll {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  font-family: var(--mono); font-size: 10px; letter-spacing: .4em; text-transform: uppercase; color: var(--muted);
}

/* ---------- SECTIONS ---------- */
.section { padding: 110px 0; position: relative; }
.section-alt { background: var(--bg-2); border-block: 1px solid rgba(255, 255, 255, .05); }
.kicker { font-family: var(--mono); font-size: 13px; letter-spacing: .34em; text-transform: uppercase; color: var(--red); margin-bottom: 10px; }
.h2 { font-family: var(--display); font-weight: 400; font-size: clamp(40px, 6vw, 68px); text-transform: uppercase; color: #fff; line-height: 1; margin-bottom: 40px; }
.section .center + .cta, .cta.center { margin-top: 30px; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.card {
  padding: 28px; background: linear-gradient(160deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .01));
  border: 1px solid var(--line); transition: transform .25s, border-color .25s;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
}
.card:hover { transform: translateY(-4px); border-color: var(--red); }
.card h3 { font-family: var(--display); font-weight: 400; font-size: 24px; letter-spacing: .03em; text-transform: uppercase; color: #fff; margin-bottom: 10px; }
.card p { font-size: 15px; color: var(--muted); }

.rules { list-style: none; counter-reset: r; display: grid; gap: 14px; max-width: 820px; }
.rules li {
  counter-increment: r; position: relative; padding: 18px 20px 18px 74px;
  background: rgba(255, 255, 255, .03); border-left: 3px solid var(--red);
}
.rules li::before {
  content: "0" counter(r); position: absolute; left: 20px; top: 50%; transform: translateY(-50%);
  font-family: var(--display); font-size: 30px; color: var(--red);
}
.rules strong { color: #fff; }
.fineprint { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--muted); margin-top: 22px; }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.gallery figure {
  aspect-ratio: 16 / 10; overflow: hidden; background: #14111a; border: 1px solid var(--line);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
}
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery figure:hover img { transform: scale(1.06); }

.footer { padding: 36px 0; border-top: 1px solid var(--line); }
.footer-in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.footer .fineprint { margin: 0; }

.toast {
  position: fixed; bottom: 28px; left: 50%; transform: translate(-50%, 30px); opacity: 0; pointer-events: none;
  font-family: var(--mono); font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  background: var(--red); color: #fff; padding: 12px 22px; z-index: 100; transition: .3s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.discord-embed { display: flex; justify-content: center; margin-top: 48px; }
.discord-embed iframe { width: 350px; height: 500px; flex: none; border: 0; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .hero-grid { grid-template-columns: 1fr; text-align: left; }
  .hero-art { order: -1; margin-bottom: 30px; }
  .logo-main { width: min(260px, 62%); }
  .tagline { position: static; display: block; margin: 8px 0 0; }
  .chip-pending { display: none; }
}
@media (max-width: 560px) {
  .chip-copy { display: none; }
  .btn-lg { width: 100%; }
  .brand-text { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
