:root {
  --bg: #0a0c10;
  --bg-2: #0f1217;
  --panel: #121620;
  --panel-2: #161b27;
  --border: #1e2632;
  --text: #c9ced8;
  --text-dim: #6b7384;
  --text-bright: #e8ecf2;
  --accent: #d14f3a;
  --accent-2: #e8704a;
  --cold: #5b8def;
  --cold-dim: #2d4a7a;
  --warn: #d4a23a;
  --green: #4ea66b;
  --danger: #c4382f;
  --font-display: 'Cinzel', serif;
  --font-type: 'Special Elite', monospace;
  --font-body: 'Newsreader', serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
}

/* Grain overlay */
.grain {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grainShift 0.3s steps(2) infinite;
}

@keyframes grainShift {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-3px, 2px); }
}

.vignette {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.55) 100%);
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* NAV */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 12, 16, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}
.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text-bright);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 3px;
}
.nav-links {
  display: flex;
  gap: 28px;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-dim);
  font-family: var(--font-type);
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.2s;
  position: relative;
}
.nav-links a:hover {
  color: var(--accent-2);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.25s;
}
.nav-links a:hover::after { width: 100%; }

@media (max-width: 720px) {
  .nav-links { display: none; }
}

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.35) contrast(1.1) saturate(0.6);
  transform: scale(1.08);
  animation: heroZoom 18s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  0% { transform: scale(1.08) translate(0, 0); }
  100% { transform: scale(1.14) translate(-12px, -8px); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,12,16,0.5) 0%, rgba(10,12,16,0.2) 40%, rgba(10,12,16,0.9) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 0 24px;
  animation: heroFade 1.5s ease-out;
}
@keyframes heroFade {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-type);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-dim);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 2px;
  margin-bottom: 28px;
  background: rgba(10,12,16,0.4);
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(48px, 10vw, 104px);
  letter-spacing: clamp(4px, 1vw, 12px);
  color: var(--text-bright);
  text-shadow: 0 0 40px rgba(209, 79, 58, 0.3);
  margin-bottom: 24px;
  animation: flicker 6s linear infinite;
}
@keyframes flicker {
  0%, 100%, 71%, 73%, 82%, 84% { opacity: 1; text-shadow: 0 0 40px rgba(209, 79, 58, 0.3); }
  72%, 83% { opacity: 0.7; text-shadow: 0 0 10px rgba(209, 79, 58, 0.05); }
}
.hero-sub {
  font-size: 19px;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 36px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}
.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.btn {
  font-family: var(--font-type);
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 2px;
  transition: all 0.25s;
  cursor: pointer;
  display: inline-block;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
}
.btn-primary:hover {
  background: var(--accent-2);
  border-color: var(--accent-2);
  box-shadow: 0 0 30px rgba(209, 79, 58, 0.4);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--cold);
  color: var(--cold);
}
.hero-stats {
  display: flex;
  gap: 48px;
  justify-content: center;
}
.hero-stats div {
  text-align: center;
}
.hero-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--accent-2);
  font-weight: 600;
}
.hero-stats span {
  font-family: var(--font-type);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-dim);
}
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-family: var(--font-type);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-dim);
  animation: scrollBounce 2s ease-in-out infinite;
  z-index: 2;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* SECTIONS */
.section {
  padding: 120px 0;
  position: relative;
}
.section-head {
  max-width: 640px;
  margin-bottom: 64px;
}
.section-label {
  display: inline-block;
  font-family: var(--font-type);
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 600;
  color: var(--text-bright);
  letter-spacing: 1px;
  margin-bottom: 18px;
  line-height: 1.15;
}
.section-head p {
  color: var(--text-dim);
  font-size: 18px;
}

/* ABOUT */
.section-about {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  border-top: 1px solid var(--border);
}
.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-text h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  color: var(--text-bright);
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 600;
}
.about-text p {
  color: var(--text);
  margin-bottom: 18px;
}
.about-meta {
  display: flex;
  gap: 32px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.meta-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-dim);
}
.meta-item svg { color: var(--accent); flex-shrink: 0; }
.meta-item strong {
  display: block;
  font-family: var(--font-type);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 2px;
}
.meta-item span {
  color: var(--text-bright);
  font-family: var(--font-body);
  font-size: 15px;
}
.about-img {
  position: relative;
}
.about-img img {
  width: 100%;
  border-radius: 2px;
  border: 1px solid var(--border);
  filter: contrast(1.05) brightness(0.85);
}
.img-caption {
  font-family: var(--font-type);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 10px;
  text-align: center;
  padding-left: 12px;
  border-left: 2px solid var(--accent);
}

@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* GHOST TYPES */
.section-ghosts {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}
.ghost-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.ghost-card {
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 28px;
  border-radius: 2px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.ghost-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--accent);
  opacity: 0;
  transition: opacity 0.3s;
}
.ghost-card:hover {
  border-color: #2a3444;
  background: var(--panel-2);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}
.ghost-card:hover::before { opacity: 1; }
.ghost-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.ghost-num {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--text-dim);
  font-weight: 400;
}
.ghost-threat {
  font-family: var(--font-type);
  font-size: 10px;
  letter-spacing: 1.5px;
  padding: 4px 10px;
  border-radius: 2px;
  text-transform: uppercase;
}
.threat-high { background: rgba(196, 56, 47, 0.15); color: var(--danger); border: 1px solid rgba(196, 56, 47, 0.3); }
.threat-med { background: rgba(212, 162, 58, 0.12); color: var(--warn); border: 1px solid rgba(212, 162, 58, 0.25); }
.threat-low { background: rgba(78, 166, 107, 0.12); color: var(--green); border: 1px solid rgba(78, 166, 107, 0.25); }

.ghost-card h3 {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--text-bright);
  margin-bottom: 12px;
  font-weight: 600;
}
.ghost-desc {
  color: var(--text);
  font-size: 15px;
  margin-bottom: 18px;
  line-height: 1.6;
}
.ghost-evidence {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.evidence-tag {
  font-family: var(--font-type);
  font-size: 11px;
  letter-spacing: 0.5px;
  color: var(--cold);
  background: rgba(91, 141, 239, 0.08);
  border: 1px solid rgba(91, 141, 239, 0.2);
  padding: 5px 10px;
  border-radius: 2px;
}
.ghost-note {
  font-size: 13px;
  color: var(--text-dim);
  padding-top: 16px;
  border-top: 1px solid var(--border);
  line-height: 1.5;
}
.ghost-note strong { color: var(--accent-2); font-family: var(--font-type); font-size: 12px; letter-spacing: 1px; }
.ghost-footer {
  text-align: center;
  margin-top: 48px;
  font-family: var(--font-type);
  font-size: 13px;
  color: var(--text-dim);
  letter-spacing: 0.5px;
}

/* EVIDENCE */
.section-evidence {
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.evidence-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: start;
}
.evidence-img {
  position: sticky;
  top: 80px;
}
.evidence-img img {
  width: 100%;
  border-radius: 2px;
  border: 1px solid var(--border);
  filter: contrast(1.05) brightness(0.9);
}
.evidence-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.evidence-item {
  display: flex;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  transition: padding 0.25s;
}
.evidence-item:hover {
  padding-left: 8px;
}
.evidence-item:last-child { border-bottom: none; }
.ev-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--accent);
  transition: all 0.25s;
}
.evidence-item:hover .ev-icon {
  background: rgba(209, 79, 58, 0.1);
  border-color: var(--accent);
  color: var(--accent-2);
}
.evidence-item h4 {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--text-bright);
  margin-bottom: 6px;
  font-weight: 600;
}
.evidence-item p {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.55;
}

@media (max-width: 860px) {
  .evidence-layout { grid-template-columns: 1fr; gap: 40px; }
  .evidence-img { position: static; }
}

/* HOW TO PLAY */
.section-how {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  border-top: 1px solid var(--border);
}
.steps {
  display: flex;
  align-items: stretch;
  gap: 16px;
  justify-content: center;
}
.step {
  flex: 1;
  max-width: 320px;
  text-align: center;
  padding: 32px 24px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 2px;
  transition: all 0.3s;
}
.step:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 32px rgba(209, 79, 58, 0.1);
}
.step-num {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
  transition: all 0.3s;
}
.step:hover .step-num {
  background: rgba(209, 79, 58, 0.1);
  transform: scale(1.05);
}
.step h3 {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--text-bright);
  margin-bottom: 12px;
  font-weight: 600;
}
.step p {
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.6;
}
.step-arrow {
  display: flex;
  align-items: center;
  color: var(--border);
  align-self: center;
}

@media (max-width: 860px) {
  .steps { flex-direction: column; align-items: center; }
  .step-arrow { transform: rotate(90deg); }
}

/* TIPS */
.section-tips {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}
.tips-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  align-items: start;
}
.tips-img img {
  width: 100%;
  border-radius: 2px;
  border: 1px solid var(--border);
  filter: contrast(1.05) brightness(0.85);
  position: sticky;
  top: 80px;
}
.tips-content h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  color: var(--text-bright);
  margin-bottom: 18px;
  font-weight: 600;
}
.tips-intro {
  color: var(--text-dim);
  font-size: 16px;
  margin-bottom: 28px;
}
.tip-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.tip {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 20px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 2px;
  transition: all 0.25s;
}
.tip:hover {
  border-left-color: var(--accent-2);
  background: var(--panel-2);
  transform: translateX(4px);
}
.tip svg {
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 2px;
}
.tip p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.55;
}
.tip strong {
  color: var(--text-bright);
  font-weight: 500;
}

@media (max-width: 860px) {
  .tips-grid { grid-template-columns: 1fr; gap: 40px; }
  .tips-img img { position: static; }
}

/* FOOTER */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 80px 0 40px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  margin-bottom: 56px;
}
.footer-left h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  color: var(--text-bright);
  margin-bottom: 16px;
  font-weight: 600;
}
.footer-left p {
  color: var(--text-dim);
  margin-bottom: 28px;
  font-size: 16px;
}
.footer-right {
  display: flex;
  gap: 48px;
  justify-content: flex-end;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col-title {
  font-family: var(--font-type);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.footer-links a {
  text-decoration: none;
  color: var(--text-dim);
  font-size: 15px;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text-bright); }
.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.footer-bottom p {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.5;
}

@media (max-width: 720px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-right { justify-content: flex-start; }
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
