:root {
  --bg: #000000;
  --text: #ffffff;
  --muted: #d5d5d5;
  --green: #57a15a;
  --btn-border: #2f2f2f;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
}

.page {
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px;
}

.desktop-header {
  width: 100%;
  max-width: 1200px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 80px;
}

.button-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.plain-button,
.icon-button,
.trailer-button {
  border: 1px solid var(--btn-border);
  border-radius: 8px;
  color: var(--text);
  background: transparent;
  padding: 10px 16px;
  font-size: 16px;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.plain-button:hover,
.icon-button:hover,
.trailer-button:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

.icon-button {
  width: 44px;
  height: 44px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  text-decoration: none;
}

.logo {
  width: 112px;
  height: 112px;
  border-radius: 16px;
  object-fit: cover;
  margin-bottom: 20px;
  border: 1px solid #3a3a3a;
}

h1 {
  margin: 0 0 20px;
  line-height: 1.1;
  font-size: 48px;
  font-weight: 600;
  white-space: pre-line;
}

.description {
  margin: 0 0 40px;
  width: min(540px, calc(100vw - 60px));
  font-size: 24px;
  color: var(--muted);
  line-height: 1.4;
}

.trailer-button {
  background: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 100px;
  font-weight: 600;
  min-width: 170px;
  justify-content: center;
  border: none;
}

.download-title {
  font-size: 18px;
  margin-bottom: 20px;
}

.stores {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.store-badge {
  border: 1px solid #595959;
  border-radius: 10px;
  padding: 10px 14px;
  color: var(--text);
  text-decoration: none;
  font-size: 15px;
  min-width: 180px;
  background: #121212;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.mobile-footer {
  display: none;
  margin-top: 60px;
  gap: 20px;
  flex-direction: column;
  align-items: center;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(14px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

.overlay.open {
  display: flex;
}

.overlay-content {
  width: min(1100px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.video-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.legal-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 32px 20px 48px;
  line-height: 1.6;
}

.legal-page h1,
.legal-page h2 {
  margin-top: 28px;
  white-space: normal;
  line-height: 1.3;
}

.legal-page a {
  color: #8dc7ff;
}

@media (max-width: 599px) {
  .desktop-header {
    display: none;
  }

  .page {
    padding-top: 80px;
  }

  h1 {
    display: none;
  }

  .description {
    font-size: 24px;
  }

  .mobile-footer {
    display: flex;
  }
}
