:root {
  --bg: #030303;
  --surface: #0a0a0a;
  --surface-hover: #121212;
  --text: #e6e6e6;
  --text-dim: #888;
  --red: #a80f0f;
  --red-glow: rgba(168, 15, 15, 0.4);

  --title: "Cinzel", serif;
  --mono: "JetBrains Mono", monospace;
  --body: "Inter", sans-serif;
}

html,
body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--body);
  overflow-x: clip !important;
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: auto !important;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1000;
  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="noise"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noise)"/%3E%3C/svg%3E');
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--title);
  font-weight: normal;
  margin: 0;
}
.red {
  color: var(--red);
}
.highlight {
  color: var(--text);
  font-weight: 500;
}

nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.5rem 5vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  background: linear-gradient(to bottom, rgba(3, 3, 3, 0.95), transparent);
}

.nav-meta {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--text-dim);
  text-align: left;
}

.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 5vw;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at center,
    rgba(168, 15, 15, 0.1) 0%,
    var(--bg) 60%
  );
  z-index: -1;
}
.hero h1 {
  font-size: clamp(5rem, 15vw, 12rem);
  line-height: 0.8;
  letter-spacing: -2px;
}
.hero-title-full {
  font-size: clamp(1rem, 3vw, 2.5rem);
  letter-spacing: 15px;
  margin-top: 1rem;
  color: var(--red);
}
.sub-brand {
  font-family: var(--mono);
  color: var(--text-dim);
  margin-top: 2rem;
  margin-bottom: 3rem;
  letter-spacing: 3px;
  font-size: 0.85rem;
}

.play-cta-btn {
  background: var(--red);
  color: #fff;
  text-decoration: none;
  padding: 1.2rem 4rem;
  font-family: var(--title);
  font-size: 1.2rem;
  letter-spacing: 4px;
  border: 1px solid var(--red);
  transition: all 0.3s;
  box-shadow: 0 0 20px rgba(168, 15, 15, 0.3);
  animation: pulse 2s infinite;
  cursor: pointer;
}
.play-cta-btn:hover {
  background: transparent;
  color: var(--red);
  box-shadow: 0 0 40px rgba(168, 15, 15, 0.6);
  animation: none;
  transform: scale(1.05);
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(168, 15, 15, 0.7);
  }
  70% {
    box-shadow: 0 0 0 20px rgba(168, 15, 15, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(168, 15, 15, 0);
  }
}

section.block {
  padding: 15vh 5vw;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.section-header {
  text-align: center;
  margin-bottom: 8vh;
}
.section-header h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: 5px;
  color: var(--red);
}
.section-header p {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-top: 15px;
  letter-spacing: 2px;
}

.deployment-box {
  border: 2px solid var(--red);
  padding: 4rem;
  text-align: center;
  position: relative;
  background: var(--surface);
  max-width: 800px;
  margin: 0 auto;
}
.deployment-box::before {
  content: "LIVE EVENT PROTOCOL";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg);
  padding: 0 1rem;
  color: var(--red);
  font-family: var(--mono);
  font-size: 0.8rem;
}
.dep-title {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--text);
}
.dep-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
  font-family: var(--mono);
  color: var(--text-dim);
  text-align: center;
}
.dep-meta strong {
  display: block;
  font-size: 1.5rem;
  color: var(--red);
  margin-bottom: 5px;
  font-weight: normal;
  font-family: var(--title);
}

.premise-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8vw;
  align-items: center;
}
.premise-meta {
  font-family: var(--mono);
  font-size: 0.8rem;
  border-left: 2px solid var(--red);
  padding-left: 1rem;
  margin-bottom: 2rem;
}
.premise-meta span {
  display: block;
  color: var(--red);
  margin-bottom: 10px;
}
.premise-text p {
  font-size: clamp(1.2rem, 3vw, 2.2rem);
  line-height: 1.4;
  color: var(--text-dim);
  margin-bottom: 2rem;
}

.mech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2vw;
}
.mech-card {
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 3rem;
  background: var(--surface);
  cursor: crosshair;
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}
.mech-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform 0.4s;
  transform-origin: left;
}
.mech-card:hover {
  border-color: rgba(168, 15, 15, 0.3);
  background: var(--surface-hover);
  transform: translateY(-5px);
}
.mech-card:hover::before {
  transform: scaleX(1);
}
.mech-title {
  font-size: 1.8rem;
  color: var(--text);
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
}
.mech-desc {
  font-size: 1rem;
  color: var(--text-dim);
  line-height: 1.7;
}

.community-split {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4vw;
  align-items: stretch;
  max-width: 1200px;
  margin: 0 auto;
}

.support-form-wrap {
  background: var(--surface);
  padding: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
}
.form-title {
  font-size: 2rem;
  margin-bottom: 10px;
  color: var(--red);
}
.form-desc {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.support-form input,
.support-form textarea {
  width: 100%;
  background: #000;
  border: 1px solid var(--text-dim);
  color: var(--text);
  padding: 1rem;
  font-family: var(--mono);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  outline: none;
  transition: border-color 0.3s;
}
.support-form textarea {
  min-height: 150px;
  resize: vertical;
}
.support-form input:focus,
.support-form textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 10px rgba(168, 15, 15, 0.2);
}

.btn-submit {
  background: var(--red);
  border: none;
  color: white;
  padding: 1rem;
  width: 100%;
  font-family: var(--title);
  font-size: 1rem;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.3s;
}
.btn-submit:hover {
  background: #fff;
  color: var(--red);
}
.success-msg {
  color: #00ff00;
  font-family: var(--mono);
  font-size: 0.8rem;
  display: none;
  margin-top: 1rem;
}

.message-board {
  background: #050505;
  border: 1px solid var(--text-dim);
  height: 100%;
  max-height: 500px;
  overflow-y: auto;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.msg {
  border-left: 2px solid var(--red);
  background: rgba(255, 255, 255, 0.02);
  padding: 1.5rem;
  position: relative;
}
.msg-meta {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
}
.msg-text {
  font-family: var(--body);
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text);
  font-weight: 300;
}
.terminal-header {
  background: var(--text-dim);
  color: #000;
  padding: 0.5rem 1rem;
  font-family: var(--mono);
  font-size: 0.8rem;
  display: flex;
  justify-content: space-between;
}

.poster-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
#render-poster {
  width: 450px;
  aspect-ratio: 2/3.2;
  background: #000;
  border: 1px solid #222;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2.5rem;
  background-image: linear-gradient(
      to top,
      rgba(0, 0, 0, 1) 0%,
      rgba(0, 0, 0, 0.6) 50%,
      rgba(0, 0, 0, 0.2) 100%
    ),
    url("https://images.unsplash.com/photo-1510468944111-73dcde12e2fb?q=80&w=1200&auto=format&fit=crop");
  background-size: cover;
  background-position: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}
.pos-top {
  font-family: var(--mono);
  font-size: 0.5rem;
  color: #fff;
  opacity: 0.6;
  display: flex;
  justify-content: space-between;
}
.pos-mid {
  margin-top: auto;
  margin-bottom: 2rem;
}
.pos-subtext-above {
  font-family: var(--body);
  color: var(--text-dim);
  letter-spacing: 3px;
  font-size: 0.8rem;
  margin-bottom: 10px;
}
.pos-mid-split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end; 
}
.pos-title-block {
  display: flex;
  flex-direction: column;
}
.pos-mid h2 {
  font-size: 5rem;
  line-height: 0.9;
  color: var(--text);
  filter: drop-shadow(0 0 20px rgba(168, 15, 15, 0.8));
}
.pos-mid h3 {
  color: var(--red);
  font-size: 0.9rem;
  font-family: var(--body);
  font-weight: 600;
  letter-spacing: 6px;
  margin-top: 15px;
}
.pos-qr-block {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 0px; 
}
.pos-render-qr {
  width: 90px;
  height: 90px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.6));
}

.pos-bot {
  text-align: center;
  color: var(--text-dim);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1rem;
}
.pos-bot-billing {
  font-family: var(--body);
  font-size: 0.5rem;
  text-transform: uppercase;
  margin-bottom: 8px;
  letter-spacing: 1.5px;
  line-height: 1.5;
}

.btn-action {
  margin-top: 3rem;
  background: transparent;
  border: 1px solid var(--text);
  color: var(--text);
  font-family: var(--mono);
  padding: 1rem 3rem;
  cursor: pointer;
  letter-spacing: 3px;
  font-size: 0.9rem;
  transition: all 0.3s;
}
.btn-action:hover {
  background: var(--red);
  color: white;
  border-color: var(--red);
  box-shadow: 0 0 25px var(--red-glow);
}

.resolution-section {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: #fff;
  color: #000;
  padding: 0 10vw;
}
.res-text {
  font-family: var(--title);
  font-size: clamp(1.5rem, 4vw, 3rem);
  line-height: 1.4;
  opacity: 0;
  transform: translateY(20px);
  max-width: 1000px;
}

.credits-wrap {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 5vh 0;
}
.credit-group {
  margin-bottom: 4rem;
}
.role {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--red);
  letter-spacing: 4px;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}
.names {
  font-family: var(--title);
  font-size: clamp(1.2rem, 3vw, 2.5rem);
  line-height: 1.6;
  color: var(--text);
}
.names span {
  display: inline-block;
  margin: 0 15px;
}

@media (max-width: 900px) {
  nav {
    padding: 1.5rem;
  }
  .premise-grid,
  .mech-grid,
  .community-split,
  .dep-meta {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  .deployment-box {
    padding: 2rem 1rem;
    border: none;
    border-top: 2px solid var(--red);
    border-bottom: 2px solid var(--red);
    background: transparent;
  }
  #render-poster {
    width: 100%;
    aspect-ratio: 2/3.2;
    padding: 1.5rem;
  }
  .pos-mid h2 {
    font-size: 4rem;
  }
  .pos-render-qr {
    width: 75px;
    height: 75px;
  }
  .nav-brand {
    font-size: 0.9rem;
  }
  .nav-meta {
    display: none;
  }
  .resolution-section {
    padding: 0 5vw;
  }
}