@import url('https://fonts.googleapis.com/css2?family=Special+Elite&family=Courier+Prime:ital,wght@0,400;0,700;1,400&display=swap');

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

:root {
  --ft: 'Special Elite', serif;
  --fm: 'Courier Prime', monospace;
  --cream: #e8e2d4;
  --dark: #0a0908;
  --mid: #888880;
  --accent: #d4c9a8;
}

::selection {
  background: #c81010;
  color: #ffffff;
  text-shadow: none;
}

::-moz-selection {
  background: #c81010;
  color: #ffffff;
  text-shadow: none;
}

html { scroll-behavior: smooth; }

body {
  background: var(--dark);
  color: var(--cream);
  font-family: var(--fm);
  overflow-x: hidden;
  cursor: none;
}

#cursor {
  position: fixed;
  width: 10px; height: 10px;
  border: 1.5px solid rgba(255,255,255,0.6);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%,-50%);
  z-index: 99999;
  mix-blend-mode: difference;
  transition: transform 0.1s ease;
}

.grain {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 90;
  opacity: .35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='.15'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  animation: grainShift .08s steps(1) infinite;
}
@keyframes grainShift {
  0%   { transform: translate(0,0) }
  25%  { transform: translate(-1px,1px) }
  50%  { transform: translate(1px,-1px) }
  75%  { transform: translate(-1px,-1px) }
}

.scanlines {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 91;
  background: repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(0,0,0,.07) 4px);
}

.film-edge {
  position: fixed; top: 0; bottom: 0; width: 20px;
  background: #000; z-index: 95; pointer-events: none;
}
.film-edge.left  { left: 0; }
.film-edge.right { right: 0; }

.sprocket {
  position: fixed; width: 12px; height: 18px;
  background: #060504; border: 1px solid #111; border-radius: 3px;
  z-index: 96; pointer-events: none;
}
.film-band {
  position: fixed; left: 0; right: 0; height: 4px;
  background: rgba(255,255,255,.03);
  pointer-events: none; z-index: 92;
  animation: bandScroll 7s linear infinite;
}
@keyframes bandScroll { 0% { top: -4px; } 100% { top: 100%; } }

.pkf-header {
  position: fixed; top: 0; left: 20px; right: 20px;
  z-index: 80;
  display: flex; 
  align-items: stretch;
  justify-content: space-between;
  padding: 0 12px;
  height: 46px;
  border-bottom: .7px solid rgba(255,255,255,.22);
  background: rgba(8,8,8,.85);
  backdrop-filter: blur(2px);
}

.pkf-left { 
  display: flex; 
  align-items: stretch;
  gap: 24px; 
}

.pkf-left > div:first-child {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pkf-left strong { font-family: var(--fm); font-size: 13px; font-weight: 700; letter-spacing: 4px; color: #fff; opacity: .75; display: block; }
.pkf-left span   { font-family: var(--fm); font-size: 10px; letter-spacing: 2px; color: #ccc; opacity: .6; }

.pkf-right { 
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: right; 
  font-family: var(--fm); font-size: 10px; letter-spacing: 1.5px; color: #aaa; opacity: .55; 
}
.pkf-right p { margin: 1px 0; }

.lang-switcher { 
  position: relative; 
  display: flex;
}

.lang-btn {
  background: rgba(0, 0, 0, 0.4);
  border: none;
  border-left: 0.8px solid rgba(255, 255, 255, 0.15);
  border-right: 0.8px solid rgba(255, 255, 255, 0.15);
  color: #ccc;
  cursor: pointer;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--fm);
  font-size: 11px;
  letter-spacing: 2px;
  transition: all 0.2s ease;
  height: 100%;
}
.lang-btn:hover, .lang-btn.active-btn {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}
.globe-icon {
  width: 16px;
  height: 16px;
}

.lang-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(10, 10, 10, 0.95);
  border: 0.8px solid rgba(255, 255, 255, 0.2);
  border-top: none;
  display: flex;
  flex-direction: column;
  min-width: 100%;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  backdrop-filter: blur(4px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.8);
}
.lang-menu.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.lang-menu button {
  background: none;
  border: none;
  border-bottom: 0.8px solid rgba(255, 255, 255, 0.1);
  color: #aaa;
  cursor: pointer;
  padding: 14px 20px;
  text-align: left;
  font-family: var(--fm);
  font-size: 10px;
  letter-spacing: 2px;
  transition: all 0.2s;
  text-transform: uppercase;
}
.lang-menu button:last-child { border-bottom: none; }
.lang-menu button:hover { background: rgba(255, 255, 255, 0.08); color: #fff; padding-left: 26px; }
.lang-menu button.active { color: #fff; font-weight: 700; background: rgba(255, 255, 255, 0.04); }

.pkf-right { text-align: right; font-family: var(--fm); font-size: 10px; letter-spacing: 1.5px; color: #aaa; opacity: .55; }

.pkf-caption {
  position: fixed; bottom: 0; left: 20px; right: 20px;
  z-index: 80;
  background: rgba(0,0,0,.75);
  border-top: 1px solid rgba(255,255,255,.3);
  border-bottom: 1px solid rgba(255,255,255,.3);
  padding: 7px 32px;
  display: flex; justify-content: space-between; align-items: center;
  min-height: 50px;
}
.cap-left p:first-child { font-size: 12px; font-weight: 700; letter-spacing: 2px; opacity: .82; }
.cap-left p:last-child  { font-size: 10px; color: #ccc; letter-spacing: 1px; opacity: .6; margin-top: 2px; }
.cap-right { text-align: right; font-size: 10px; letter-spacing: 1px; color: #aaa; opacity: .55; }
.fi-tag {
  position: fixed; bottom: 2px; left: 0; right: 0; text-align: center;
  z-index: 79; pointer-events: none;
  font-family: var(--fm); font-size: 9px; letter-spacing: 3px; color: #444; opacity: .5;
}

#hero {
  min-height: 100vh;
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 90px 40px 70px;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.6;
  filter: grayscale(100%) contrast(1.2) brightness(0.7);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 70% at 50% 48%, rgba(51, 51, 51, 0.3) 0%, rgba(17, 17, 17, 0.8) 50%, #000 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}

.hero-eyebrow {
  font-family: var(--fm); font-size: 11px; letter-spacing: 5px;
  color: #999; opacity: .7; text-transform: uppercase;
  margin-bottom: 20px; text-align: center;
}

.hero-title {
  font-family: var(--ft);
  font-size: clamp(44px, 7vw, 96px);
  color: #fff; opacity: .92;
  letter-spacing: 6px; text-align: center; line-height: 1.05;
  text-shadow: 3px 3px 0 rgba(0,0,0,.8);
}

.hero-logo {
  width: 100%;
  max-width: 650px;
  margin: 10px 0 15px;
  filter: drop-shadow(0px 15px 25px rgba(0,0,0,0.95));
  z-index: 5;
  position: relative;
}
.hero-subtitle {
  font-family: 'Times New Roman', serif; font-style: italic;
  font-size: clamp(16px, 2.5vw, 28px);
  color: #ddd; opacity: .75; letter-spacing: 5px;
  text-align: center; margin-top: 14px;
}

.divider-thick { width: 60%; max-width: 480px; height: 2.5px; background: rgba(255,255,255,.5); margin: 22px auto 4px; }
.divider-thin  { width: 60%; max-width: 480px; height: .8px;  background: rgba(255,255,255,.25); margin: 0 auto 28px; }

.hero-tagline {
  font-family: var(--fm); font-size: clamp(13px, 1.6vw, 16px);
  color: #d0cbc0; opacity: .78; line-height: 1.9; letter-spacing: .8px;
  text-align: center; max-width: 640px;
  text-shadow: 1px 1px 2px #000;
}

.hero-cta {
  margin-top: 36px;
  display: flex; gap: 16px; flex-wrap: wrap; justify-content: center;
}

.btn-pkf {
  font-family: var(--fm); font-size: 12px; letter-spacing: 3px; text-transform: uppercase;
  padding: 12px 28px; text-decoration: none;
  border: .8px solid rgba(255,255,255,.5); color: rgba(255,255,255,.85);
  background: transparent; cursor: pointer;
  transition: all .25s; display: inline-flex; align-items: center; gap: 8px;
  backdrop-filter: blur(2px);
}
.btn-pkf:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.1); }
.btn-pkf.primary { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.7); }

#about, #atmosphere {
  padding: 100px 40px;
  max-width: 1100px; margin: 0 auto;
}

.section-label {
  font-family: var(--fm); font-size: 11px; letter-spacing: 5px; color: #666;
  text-transform: uppercase; margin-bottom: 16px;
}
.section-title {
  font-family: var(--ft); font-size: clamp(28px, 4vw, 52px);
  color: #fff; opacity: .88; letter-spacing: 4px; line-height: 1.12;
  text-shadow: 2px 2px 0 rgba(0,0,0,.4);
  margin-bottom: 12px;
}

.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 48px;
  align-items: start;
}
@media (max-width: 700px) { .about-grid { grid-template-columns: 1fr; } }

.about-text p {
  font-family: var(--fm); font-size: clamp(13px, 1.5vw, 15px);
  color: #c8c0b4; line-height: 1.95; letter-spacing: .5px; opacity: .85;
  margin-bottom: 16px;
}

.feature-list { list-style: none; }
.feature-list li {
  font-family: var(--fm); font-size: clamp(12px, 1.4vw, 14px);
  color: #bbb; letter-spacing: .5px; line-height: 1.8;
  padding: 8px 0; border-top: .5px solid rgba(255,255,255,.1);
  display: flex; gap: 12px; align-items: baseline;
}
.feature-list li::before { content: '—'; color: #666; flex-shrink: 0; }
.feature-list strong { color: #fff; font-weight: 700; margin-right: 4px; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 48px;
}
.gallery-item {
  position: relative;
  border: 1.5px solid rgba(255,255,255,.3);
  padding: 6px;
  background: rgba(255,255,255,.05);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 1; 
}
.gallery-item:hover {
  transform: scale(1.75);
  border-color: rgba(255,255,255,0.9);
  z-index: 10;
  box-shadow: 0 20px 50px rgba(0,0,0,0.9);
  background: rgba(0,0,0,0.8);
}
.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  filter: grayscale(20%) contrast(110%);
  transition: filter 0.4s ease;
}
.gallery-item:hover img {
  filter: grayscale(0%) contrast(100%);
}
.gallery-caption {
  font-family: var(--fm); font-size: 10px; letter-spacing: 2px;
  color: #888; text-transform: uppercase; text-align: center;
  padding-top: 10px; padding-bottom: 4px;
}

#gameplay {
  padding: 80px 40px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,.02) 50%, transparent);
}
.loop-container { max-width: 960px; margin: 0 auto; }

.loop-nodes {
  display: flex; align-items: stretch; gap: 0;
  margin: 32px 0 8px; width: 100%;
}
@media (max-width: 800px) {
  .loop-nodes { flex-direction: column; gap: 16px; }
  .loop-arrow { transform: rotate(90deg); margin: 8px 0; }
}
.loop-node {
  background: rgba(255,255,255,.05);
  border: .8px solid rgba(255,255,255,.22);
  padding: 20px 18px; text-align: center; flex: 1;
  transition: background 0.3s;
}
.loop-node:hover { background: rgba(255,255,255,.1); }
.loop-node-num  { font-family: var(--ft); font-size: 11px; color: #666; letter-spacing: 2px; margin-bottom: 6px; }
.loop-node-name { font-family: var(--ft); font-size: clamp(14px, 1.8vw, 20px); color: #fff; letter-spacing: 2px; margin-bottom: 8px; }
.loop-node-desc { font-family: var(--fm); font-size: clamp(10px, 1.1vw, 13px); color: #999; line-height: 1.6; }
.loop-arrow     { font-family: var(--fm); font-size: 18px; color: rgba(255,255,255,.3); padding: 0 4px; flex-shrink: 0; align-self: center; }

#platforms {
  padding: 80px 40px;
  max-width: 900px; margin: 0 auto; text-align: center;
}

.platform-badges { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
.platform-badge {
  font-family: var(--fm); font-size: 12px; letter-spacing: 2px; color: #aaa;
  border: .6px solid rgba(255,255,255,.25); padding: 7px 22px; text-transform: uppercase;
}
.platform-badge.highlight { color: #fff; border-color: #fff; background: rgba(255,255,255,.1); }

.release-info {
  display: flex; gap: 48px; justify-content: center; flex-wrap: wrap; margin-top: 36px;
}
.ri-item { text-align: center; }
.ri-val { font-family: var(--ft); font-size: clamp(28px, 4vw, 44px); color: #fff; letter-spacing: 2px; }
.ri-lbl { font-family: var(--fm); font-size: 10px; letter-spacing: 3px; color: #666; text-transform: uppercase; margin-top: 4px; }

#wishlist {
  padding: 100px 40px;
  text-align: center;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(255,255,255,.03) 0%, transparent 70%);
}

.wishlist-title {
  font-family: var(--ft); font-size: clamp(26px, 4vw, 52px);
  color: #fff; letter-spacing: 5px; line-height: 1.15;
  text-shadow: 3px 3px 0 rgba(0,0,0,.5);
  margin-bottom: 20px; max-width: 800px; margin-inline: auto;
}
.wishlist-sub {
  font-family: var(--fm); font-size: clamp(12px, 1.4vw, 15px);
  color: #aaa; letter-spacing: 1px; line-height: 1.8; opacity: .8;
  max-width: 560px; margin: 0 auto 36px;
}

.btn-steam {
  font-family: var(--ft); font-size: 18px; letter-spacing: 3px;
  padding: 16px 48px; text-decoration: none;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.6); color: #fff;
  display: inline-flex; align-items: center; gap: 12px;
  transition: all .25s; cursor: pointer;
  text-shadow: 1px 1px 0 rgba(0,0,0,.4);
}
.btn-steam:hover { background: rgba(255,255,255,.18); border-color: #fff; letter-spacing: 4px; }
.btn-steam svg { width: 22px; height: 22px; fill: currentColor; }

footer {
  padding: 40px 40px 80px;
  border-top: .7px solid rgba(255,255,255,.12);
  text-align: center;
  font-family: var(--fm); font-size: 11px; letter-spacing: 2px; color: #555;
}
footer a { color: #777; text-decoration: none; }
footer a:hover { color: #aaa; }

.sep {
  width: 100%; height: .7px;
  background: linear-gradient(to right, transparent, rgba(255,255,255,.25) 30%, rgba(255,255,255,.25) 70%, transparent);
}

@keyframes fadeIn {
  from { opacity: 0; filter: brightness(2.5) blur(1px); }
  40%  { opacity: .7; filter: brightness(1.3); }
  to   { opacity: 1; filter: none; }
}
#hero { animation: fadeIn .6s ease-out; }
@media (max-width: 768px), (pointer: coarse) {
  #cursor { display: none !important; }
  body { cursor: auto !important; }
  .grain { display: none !important; }
  .pkf-header, .lang-menu, .btn-pkf { 
    backdrop-filter: none !important; 
  }
  .pkf-header { background: rgba(8,8,8,0.98) !important; }
  .lang-menu { background: rgba(10,10,10,0.98) !important; }
}