:root {
  --bg: #0c0a0a;
  --text: #ffffff;
  --muted: #f2eae4;
  --primary: #ffb23f;
  --primary-700: #e09a2f;
  --accent: #ff6a3d;
  --hero-bg: url("images/hero-bg.jpg");
}

* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Montserrat", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 24px;
  z-index: 50;
  backdrop-filter: blur(6px);
  background: linear-gradient(180deg, rgba(12,10,10,0.7), rgba(12,10,10,0.15));
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.brand {
  display: flex; align-items: center; gap: 12px;
  color: var(--text); font-weight: 800; text-decoration: none;
}
.brand img { width: 36px; height: 36px; object-fit: contain; }
.nav ul { list-style: none; display: flex; gap: 20px; margin: 0; padding: 0; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 600; opacity: .9; }
.nav a:hover { opacity: 1; }

.btn {
  background: linear-gradient(0deg, var(--primary-700), var(--primary));
  padding: 12px 18px;
  border-radius: 12px;
  color: #1b1006;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(255,178,63,0.35);
  transition: transform .15s ease, filter .2s ease;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.05); }

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  padding: 140px 60px 80px;
  background: var(--hero-bg) no-repeat center/cover;
  position: relative;
}
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center; 
  padding: 160px 80px 80px;
  background: var(--hero-bg) no-repeat center/cover;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12,10,10,0.85) 0%, rgba(12,10,10,0.25) 70%);
  z-index: 0;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 640px;
  color: #fff;
  margin-left: -100px;
  text-align: left;
  transform: translateY(-40px);
}

.hero-character {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-character img {
  width: min(500px, 45vw);
  height: auto;
  transform: translate(80px, 20px); 
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.6));
}

.eyebrow {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.14);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  text-transform: uppercase;
  margin-bottom: 14px;
  color: #ffe8ce;
}
.title {
  font-size: clamp(38px, 6.5vw, 86px);
  font-weight: 900;
  text-transform: uppercase;
  margin: 0 0 14px 0;
  text-shadow: 0 6px 0 rgba(0,0,0,.18);
}
.subtitle {
  color: #ffe7d6;
  font-weight: 600;
  margin-bottom: 22px;
}
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }

.btn-ghost {
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
}
.btn-ghost:hover { background: rgba(255,255,255,0.14); }

.ip-card {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  font-weight: 700;
}
.hero-art { display: flex; justify-content: flex-end; align-items: flex-end; }
.character {
  width: min(520px, 45vw);
  filter: drop-shadow(0 30px 50px rgba(0,0,0,.55));
}

.section {
  padding: 64px 24px;
  background: linear-gradient(180deg, rgba(12,10,10,1), #0d0c0c);
  border-top: 1px solid rgba(255,255,255,0.05);
}
.container { max-width: 1120px; margin: 0 auto; }
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  padding: 20px;
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}
.card h3 { margin-top: 0; }

footer {
  text-align: center;
  color: #c9c3be;
  font-size: 14px;
  padding: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding-top: 92px; }
  .hero-art { justify-content: center; margin-bottom: -12px; }
  .character { width: min(460px, 80vw); }
  .nav ul { display: none; }
}

#loading-screen {
  position: fixed;
  inset: 0;
  background: rgba(10, 8, 12, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
}
.loader svg {
  animation: rotate 1.2s linear infinite;
  filter: drop-shadow(0 0 10px #a855f7);
}
@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero-install {
  text-align: center;
  padding: 160px 20px 80px;
  background: linear-gradient(180deg, rgba(255,178,63,0.1) 0%, rgba(12,10,10,0) 100%);
}
.hero-install h1 {
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.hero-install p {
  color: #ffdfb8;
  max-width: 720px;
  margin: 0 auto;
  font-weight: 600;
}

.install-section {
  display: flex;
  flex-direction: column;
  gap: 100px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 100px 24px;
}
.step {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.step:nth-child(even) { flex-direction: row-reverse; }
.step img {
  width: min(420px, 100%);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.step-content { flex: 1; min-width: 280px; }
.step-content h3 {
  font-size: 28px;
  margin-bottom: 10px;
}
.step-content p {
  color: #e9e4dc;
  line-height: 1.6;
  margin-bottom: 16px;
}
body.install {
  background-color: var(--bg);
  background-image:
    url("../images/install-bg.png"),
    linear-gradient(180deg, rgba(12,10,10,0.6) 0%, rgba(24,22,22,0.8) 100%);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center center;
  background-size: cover;
  color: var(--text);
}
body.install::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55); 
  z-index: -1; 
}
.step-content {
  flex: 1;
  min-width: 280px;
  padding: 32px;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.55); 
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
  color: var(--text);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.step-content:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6);
}
form .btn,
button.btn {
  display: inline-block;
  background: linear-gradient(180deg, #f5b83d, #e0a020);
  color: #000;
  font-weight: 700;
  font-family: "Montserrat", sans-serif;
  border: none;
  border-radius: 10px;
  padding: 12px 24px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

form .btn:hover,
button.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
}

form + a.btn {
  margin-left: 10px;
}
.hero-art {
  display: none; 
}