:root {
  --bg: #070707;
  --bg-soft: #111111;
  --line: #383838;
  --text: #fff4e8;
  --muted: #e2b99e;
  --orange: #ff7a00;
  --orange-strong: #ff9a2f;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 15%, rgba(255, 122, 0, 0.25), transparent 35%),
    radial-gradient(circle at 80% 75%, rgba(255, 154, 47, 0.16), transparent 30%),
    var(--bg);
  min-height: 100vh;
  --scroll-shift: 0px;
}

.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 122, 0, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 122, 0, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  background-position: 0 calc(var(--scroll-shift) * 0.15);
  mask-image: radial-gradient(circle at center, black 40%, transparent 95%);
}

.bg-grid::before,
.bg-grid::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.bg-grid::before {
  background: repeating-linear-gradient(
    -35deg,
    rgba(255, 165, 70, 0) 0 22px,
    rgba(255, 165, 70, 0.1) 22px 24px
  );
  transform: translateY(calc(var(--scroll-shift) * -0.12));
  animation: warp-slide 8s linear infinite;
  opacity: 0.35;
}

.bg-grid::after {
  background-image: radial-gradient(circle, rgba(255, 200, 140, 0.6) 1px, transparent 1px);
  background-size: 3px 3px;
  opacity: 0.08;
  animation: stars-drift 20s linear infinite;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
  background: rgba(8, 8, 8, 0.86);
}

.brand {
  font-family: "Orbitron", sans-serif;
  color: var(--orange-strong);
  text-shadow: 0 0 22px rgba(255, 122, 0, 0.5);
}

.site-nav {
  display: flex;
  gap: 10px;
}

.site-nav a {
  color: var(--text);
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 7px 11px;
}

.site-nav a:hover {
  border-color: var(--orange);
  box-shadow: 0 0 14px rgba(255, 122, 0, 0.4);
}

main {
  width: 100%;
  margin: 0 auto;
  padding: 26px 0 56px;
}

.hero {
  min-height: 72vh;
  width: 100%;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
  align-items: center;
  padding: 28px clamp(18px, 6vw, 76px);
  border-bottom: 1px solid #29160a;
  background:
    linear-gradient(90deg, rgba(255, 122, 0, 0.18), rgba(255, 122, 0, 0.02) 35%, rgba(7, 7, 7, 0.35) 70%),
    radial-gradient(circle at 22% 30%, rgba(255, 122, 0, 0.16), transparent 45%);
  animation: rise-in 0.8s ease;
}

.hero-copy {
  max-width: 900px;
}

.eyebrow {
  margin: 0;
  color: var(--orange-strong);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

h1, h2 {
  font-family: "Orbitron", sans-serif;
}

h1 {
  margin: 0;
  font-size: clamp(2.2rem, 7vw, 4rem);
  line-height: 1.05;
  text-shadow: 0 0 36px rgba(255, 122, 0, 0.6);
}

.hero-sub {
  max-width: 64ch;
  color: var(--muted);
  font-size: 1.06rem;
}

.hero-cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  min-height: 420px;
}

.planet {
  position: absolute;
  border-radius: 50%;
  box-shadow: 0 0 48px rgba(255, 122, 0, 0.35);
}

.planet-lg {
  width: 230px;
  height: 230px;
  right: 10%;
  top: 16%;
  background: radial-gradient(circle at 35% 30%, #ffc78f, #ff8a22 55%, #7e3300 90%);
  animation: float-orbit 8s ease-in-out infinite;
}

.planet-sm {
  width: 86px;
  height: 86px;
  right: 52%;
  top: 56%;
  background: radial-gradient(circle at 35% 30%, #ffd8b4, #ff9a2f 55%, #6f2f07 90%);
  animation: float-orbit 6s ease-in-out infinite reverse;
}

.ship {
  position: absolute;
  width: 120px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.95), rgba(255, 140, 60, 0.85));
  box-shadow: 0 0 28px rgba(255, 122, 0, 0.55);
}

.ship::after {
  content: "";
  position: absolute;
  left: -140px;
  top: 2px;
  width: 140px;
  height: 6px;
  background: linear-gradient(90deg, rgba(255, 122, 0, 0), rgba(255, 122, 0, 0.6));
}

.ship-a {
  right: 30%;
  top: 22%;
  transform: rotate(-18deg);
  animation: ship-fly-a 7s linear infinite;
}

.ship-b {
  right: 12%;
  top: 70%;
  transform: rotate(-8deg);
  animation: ship-fly-b 9s linear infinite;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 10px;
  padding: 10px 14px;
  border: 1px solid var(--orange);
  font-weight: 700;
  cursor: pointer;
  font: inherit;
}

.btn-primary {
  color: #140800;
  background: linear-gradient(135deg, var(--orange), var(--orange-strong));
  box-shadow: 0 0 20px rgba(255, 122, 0, 0.45);
}

.btn-ghost {
  color: var(--text);
  background: rgba(255, 122, 0, 0.08);
}

.panel {
  margin-top: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px clamp(16px, 5vw, 68px);
  background: linear-gradient(160deg, rgba(20, 20, 20, 0.95), rgba(11, 11, 11, 0.95));
  box-shadow: 0 0 0 1px rgba(255, 122, 0, 0.08), 0 8px 28px rgba(0, 0, 0, 0.4);
}

.panel-about {
  background:
    radial-gradient(circle at 85% 15%, rgba(255, 122, 0, 0.14), transparent 38%),
    linear-gradient(155deg, rgba(16, 16, 16, 0.95), rgba(10, 10, 10, 0.95));
}

.panel-faq {
  background:
    radial-gradient(circle at 10% 80%, rgba(255, 182, 90, 0.1), transparent 30%),
    linear-gradient(145deg, rgba(14, 14, 14, 0.96), rgba(8, 8, 8, 0.95));
}

.panel-help {
  background:
    radial-gradient(circle at 80% 40%, rgba(255, 122, 0, 0.12), transparent 32%),
    linear-gradient(145deg, rgba(12, 12, 12, 0.96), rgba(9, 9, 9, 0.96));
}

.panel-privacy {
  background:
    radial-gradient(circle at 18% 30%, rgba(255, 170, 90, 0.08), transparent 28%),
    linear-gradient(145deg, rgba(10, 10, 10, 0.96), rgba(7, 7, 7, 0.98));
}

.game-card {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 16px;
  align-items: center;
  border: 1px solid #5a3a22;
  border-radius: 14px;
  padding: 14px;
  background: linear-gradient(145deg, rgba(24, 16, 10, 0.92), rgba(12, 10, 8, 0.95));
  box-shadow: 0 0 24px rgba(255, 122, 0, 0.18);
}

.game-card-link {
  text-decoration: none;
  color: inherit;
}

.game-card-link:hover {
  box-shadow: 0 0 28px rgba(255, 122, 0, 0.35);
}

.game-card-icon {
  width: 100%;
  max-width: 128px;
  border-radius: 18px;
  border: 2px solid rgba(255, 146, 53, 0.7);
  box-shadow: 0 0 26px rgba(255, 122, 0, 0.4);
}

.game-card-copy h3 {
  margin: 0 0 8px;
  color: var(--orange-strong);
  font-family: "Orbitron", sans-serif;
  letter-spacing: 0.03em;
}

.game-card-copy p {
  margin: 0 0 8px;
}

.release-preview {
  margin-top: 16px;
  border: 1px solid #5a3a22;
  border-radius: 12px;
  padding: 14px;
  background: linear-gradient(145deg, rgba(22, 16, 10, 0.92), rgba(14, 10, 8, 0.95));
}

.release-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.release-preview-head h3 {
  margin: 0;
  color: var(--orange-strong);
}

.release-preview-list {
  margin: 12px 0 0;
  padding-left: 20px;
}

.details-hero {
  margin-top: 10px;
}

.details-title-row {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 14px;
  align-items: center;
}

.details-icon {
  width: 100%;
  max-width: 112px;
  border-radius: 16px;
  border: 2px solid rgba(255, 146, 53, 0.7);
  box-shadow: 0 0 24px rgba(255, 122, 0, 0.42);
}

.details-title {
  margin: 0;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.feature-card {
  border: 1px solid #4c3420;
  border-radius: 10px;
  padding: 12px;
  background: #120e0b;
}

.feature-card h3 {
  margin: 0 0 8px;
  color: var(--orange-strong);
}

.feature-card p {
  margin: 0;
}

.shots-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.shots-grid img {
  width: 100%;
  border-radius: 10px;
  border: 1px solid #5a3a22;
  box-shadow: 0 0 16px rgba(255, 122, 0, 0.2);
}

.release-list {
  display: grid;
  gap: 12px;
  margin-top: 10px;
}

.release-item {
  border: 1px solid #4c3420;
  border-radius: 10px;
  padding: 12px;
  background: #120e0b;
}

.release-item h3 {
  margin: 0 0 8px;
  color: var(--orange-strong);
}

.release-item ul {
  margin: 0;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  border: 1px solid #4c3420;
  border-radius: 10px;
  padding: 10px 12px;
  background: #140f0b;
}

.faq-item h3 {
  margin: 0 0 6px;
  color: var(--orange-strong);
}

.muted { color: var(--muted); }

.support-form {
  display: grid;
  gap: 10px;
  max-width: min(920px, 100%);
}

.support-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.chat-box {
  min-height: 220px;
  max-height: 320px;
  overflow: auto;
  border: 1px solid #4c3420;
  border-radius: 10px;
  padding: 10px;
  background: #0f0f0f;
  white-space: pre-wrap;
}

label {
  display: grid;
  gap: 6px;
  font-weight: 600;
}

input, textarea {
  width: 100%;
  border: 1px solid #4c3420;
  border-radius: 10px;
  padding: 11px;
  background: #0f0f0f;
  color: var(--text);
  font: inherit;
}

.form-status {
  margin-top: 8px;
  min-height: 20px;
  color: var(--orange-strong);
}

.chat-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 50;
  width: 60px;
  height: 60px;
  border-radius: 999px;
  border: 1px solid var(--orange);
  color: #140800;
  background: linear-gradient(135deg, var(--orange), var(--orange-strong));
  box-shadow: 0 0 24px rgba(255, 122, 0, 0.5);
  font-weight: 800;
  cursor: pointer;
}

.chat-widget {
  position: fixed;
  right: 20px;
  bottom: 92px;
  z-index: 55;
  width: min(420px, calc(100vw - 20px));
  max-height: min(74vh, 700px);
  overflow: auto;
  border: 1px solid #5a3a22;
  border-radius: 12px;
  padding: 12px;
  background: linear-gradient(145deg, rgba(12, 12, 12, 0.98), rgba(8, 8, 8, 0.98));
  box-shadow: 0 0 26px rgba(0, 0, 0, 0.5), 0 0 24px rgba(255, 122, 0, 0.22);
}

.chat-widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid #4c3420;
}

.chat-widget-close {
  border: 1px solid #7b522f;
  border-radius: 8px;
  background: #130d09;
  color: var(--text);
  padding: 4px 8px;
  cursor: pointer;
}

.chat-widget-view {
  display: grid;
  gap: 10px;
}

.ticket-list {
  display: grid;
  gap: 8px;
  max-height: 280px;
  overflow: auto;
}

.ticket-item {
  width: 100%;
  border: 1px solid #5a3a22;
  border-radius: 10px;
  background: #130d09;
  color: var(--text);
  text-align: left;
  padding: 10px;
  cursor: pointer;
}

.ticket-item:hover {
  box-shadow: 0 0 14px rgba(255, 122, 0, 0.28);
}

.hidden {
  display: none !important;
}

a { color: var(--orange-strong); }

@keyframes rise-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes warp-slide {
  from { transform: translateY(0); }
  to { transform: translateY(120px); }
}

@keyframes stars-drift {
  from { transform: translateY(0); }
  to { transform: translateY(140px); }
}

@keyframes float-orbit {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-12px) translateX(8px); }
}

@keyframes ship-fly-a {
  0% { transform: translateX(0) rotate(-18deg); opacity: 0.8; }
  60% { opacity: 1; }
  100% { transform: translateX(120px) rotate(-18deg); opacity: 0.75; }
}

@keyframes ship-fly-b {
  0% { transform: translateX(0) rotate(-8deg); opacity: 0.7; }
  50% { opacity: 1; }
  100% { transform: translateX(-130px) rotate(-8deg); opacity: 0.72; }
}

@media (max-width: 760px) {
  .site-header {
    gap: 10px;
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 64vh;
    padding: 24px 16px;
  }

  .hero-visual {
    min-height: 240px;
  }

  .planet-lg {
    width: 170px;
    height: 170px;
    right: 4%;
    top: 10%;
  }

  .panel {
    padding: 18px 14px;
  }

  .support-layout {
    grid-template-columns: 1fr;
  }

  .game-card {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .game-card-icon {
    max-width: 112px;
  }

  .details-title-row {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .shots-grid {
    grid-template-columns: 1fr 1fr;
  }

  .chat-widget {
    right: 10px;
    bottom: 82px;
    width: calc(100vw - 20px);
  }

  .chat-fab {
    right: 12px;
    bottom: 12px;
  }
}
