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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #060607;
  font-family: 'Chakra Petch', monospace;
}

a { color: #ff6a5e; text-decoration: none; }
a:hover { color: #ff9d94; }

img { max-width: 100%; }

.page {
  min-height: 100vh;
  background: #060607;
  color: #ece7e3;
  overflow-x: hidden;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 32px;
  background: rgba(6, 6, 7, .55);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.brand-group {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: none;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.store-badges {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-icon {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(255, 43, 32, .45));
}

.brand-name {
  font: 700 18px 'Barlow Condensed', sans-serif;
  letter-spacing: .14em;
  color: #fff;
}

a.brand:hover .brand-name { color: #fff; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-link {
  flex: none;
  white-space: nowrap;
  font-size: 11px;
  letter-spacing: .16em;
  color: rgba(255, 255, 255, .6);
}

.nav-link:hover { color: #fff; }

.badge-link {
  display: block;
  flex: none;
}

.badge-link img {
  height: 42px;
  width: auto;
  display: block;
  opacity: .6;
  transition: opacity .15s;
}

.badge-link:hover img {
  opacity: 1;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
}

@supports (min-height: 100svh) {
  .hero { min-height: 92svh; }
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1200px 700px at 78% 110%, rgba(150, 15, 10, .35) 0%, transparent 60%),
    radial-gradient(900px 500px at 8% -10%, rgba(150, 15, 10, .18) 0%, transparent 55%),
    #060607;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.hero.has-video .hero-video { display: block; }
.hero.has-video .hero-frame { display: none; }

.hero-frame {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  border: 1px dashed rgba(255, 255, 255, .12);
  margin: 76px 24px 24px;
  border-radius: 14px;
}

.hero-frame-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
}

.hero-frame-icon {
  font-size: 16px;
  opacity: .25;
}

.hero-frame-text {
  font-size: 9px;
  letter-spacing: .2em;
  color: rgba(255, 255, 255, .28);
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 6, 7, .55) 0%, rgba(6, 6, 7, .25) 40%, rgba(6, 6, 7, .88) 100%);
}

.hero-scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .015) 0 1px, transparent 1px 3px);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  text-align: center;
  padding: 160px 24px 60px;
}

.hero-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo {
  width: 230px;
  height: 230px;
  object-fit: contain;
  opacity: .5;
  filter: drop-shadow(0 0 26px rgba(255, 43, 32, .45));
}

.hero-tagline {
  margin-top: 26px;
  font-size: 13px;
  letter-spacing: .22em;
  color: rgba(255, 255, 255, .65);
}

.hero-sub {
  margin-top: 6px;
  font-size: 11px;
  letter-spacing: .14em;
  color: rgba(255, 255, 255, .35);
}

@media (max-height: 780px) {
  .hero-inner { padding-top: 112px; }

  .hero-logo {
    width: 165px;
    height: 165px;
  }

  .hero-tagline { margin-top: 18px; }
}

.section {
  max-width: 1080px;
  margin: 0 auto;
  padding: 70px 32px 30px;
  scroll-margin-top: 90px;
}

.section--modes { padding-top: 90px; }

.section-title {
  font: italic 700 32px 'Barlow Condensed', sans-serif;
  letter-spacing: .12em;
  color: #fff;
}

.section-sub {
  margin-top: 6px;
  font-size: 10.5px;
  letter-spacing: .16em;
  color: rgba(255, 255, 255, .4);
}

.card {
  background: rgba(255, 255, 255, .04);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 10px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}

.modes-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.mode-card { padding: 22px; }
.mode-card:hover { border-color: rgba(255, 110, 100, .4); }

.mode-tag {
  font-size: 9px;
  letter-spacing: .24em;
  color: #ff6a5e;
}

.mode-name {
  margin-top: 8px;
  font: italic 700 24px 'Barlow Condensed', sans-serif;
  letter-spacing: .08em;
  color: #fff;
}

.mode-desc {
  margin-top: 10px;
  font-size: 11px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .55);
}

.mode-meta {
  margin-top: 14px;
  font-size: 9.5px;
  letter-spacing: .14em;
  color: rgba(255, 255, 255, .35);
}

.news-list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.news-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 16px 20px;
}

.news-item:hover { border-color: rgba(255, 110, 100, .35); }

.news-side {
  width: 86px;
  flex: none;
}

.news-tag {
  display: inline-block;
  transform: skewX(-8deg);
  padding: 4px 10px;
  background: rgba(255, 255, 255, .08);
}

.news-tag span {
  display: inline-block;
  transform: skewX(8deg);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: .18em;
  color: rgba(255, 255, 255, .6);
}

.news-tag--update { background: rgba(255, 59, 48, .15); }
.news-tag--update span { color: #ff8a80; }

.news-tag--event { background: rgba(87, 209, 123, .14); }
.news-tag--event span { color: #57d17b; }

.news-date {
  margin-top: 8px;
  font-size: 9px;
  letter-spacing: .1em;
  color: rgba(255, 255, 255, .35);
}

.news-main { flex: 1; }

.news-title {
  font: 600 15px 'Chakra Petch', monospace;
  letter-spacing: .03em;
  color: #fff;
}

.news-text {
  margin-top: 6px;
  font-size: 11px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .55);
}

.news-status {
  font-size: 10px;
  letter-spacing: .14em;
  color: rgba(255, 255, 255, .25);
  padding: 6px 2px;
}

.devlog-list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.devlog-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 16px;
}

.devlog-item:hover { border-color: rgba(255, 110, 100, .35); }

.devlog-media {
  width: 360px;
  flex: none;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  background: #0b0b0d;
}

.devlog-play {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.devlog-play img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .75;
  transition: opacity .15s;
}

.devlog-play:hover img,
.devlog-play:focus-visible img { opacity: 1; }

.devlog-play-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 54px;
  height: 38px;
  margin: -19px 0 0 -27px;
  transform: skewX(-8deg);
  background: linear-gradient(180deg, #ff3b30, #c40f0d);
  box-shadow: 0 0 18px rgba(255, 43, 32, .35);
}

.devlog-play-badge::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -8px 0 0 -5px;
  border-style: solid;
  border-width: 8px 0 8px 13px;
  border-color: transparent transparent transparent #fff;
  transform: skewX(8deg);
}

.devlog-play:hover .devlog-play-badge { background: linear-gradient(180deg, #ff544a, #d31512); }

.devlog-frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.devlog-main { flex: 1; }

.devlog-date {
  font-size: 9px;
  letter-spacing: .1em;
  color: rgba(255, 255, 255, .35);
}

.devlog-title {
  margin: 6px 0 0;
  font: 600 15px 'Chakra Petch', monospace;
  letter-spacing: .03em;
  color: #fff;
}

.devlog-body {
  margin-top: 6px;
  font-size: 11px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .55);
}

.faq-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.faq-card { padding: 18px 20px; }

.faq-q {
  font: 600 13px 'Chakra Petch', monospace;
  color: #ff8a80;
}

.faq-a {
  margin-top: 8px;
  font-size: 11px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .55);
}

.community {
  position: relative;
  margin-top: 60px;
  padding: 70px 32px;
  overflow: hidden;
}

.community-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(900px 400px at 50% 120%, rgba(150, 15, 10, .3) 0%, transparent 60%);
}

.community-inner {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  text-align: center;
}

.community-sub {
  margin-top: 8px;
  font-size: 11px;
  letter-spacing: .16em;
  color: rgba(255, 255, 255, .45);
}

.community-actions {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  gap: 14px;
}

.btn {
  display: block;
  filter: drop-shadow(0 0 16px rgba(255, 43, 32, .3));
}

.btn-skew {
  display: inline-block;
  transform: skewX(-8deg);
  background: linear-gradient(180deg, #ff3b30, #c40f0d);
  padding: 12px 30px;
}

.btn:hover .btn-skew { background: linear-gradient(180deg, #ff544a, #d31512); }

.btn:active .btn-skew {
  transform: skewX(-8deg) translateY(2px);
  background: linear-gradient(180deg, #e02a20, #a80c0a);
}

.btn-label {
  display: inline-block;
  transform: skewX(8deg);
  font: italic 700 18px 'Barlow Condensed', sans-serif;
  letter-spacing: .16em;
  color: #fff;
}

.btn:hover .btn-label { color: #fff; }

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 22px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 9px;
  letter-spacing: .16em;
  color: rgba(255, 255, 255, .3);
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a { color: rgba(255, 255, 255, .3); }
.footer-links a:hover { color: #ff6a5e; }

.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 120px 32px 80px;
}

.legal-title {
  font: italic 700 36px 'Barlow Condensed', sans-serif;
  letter-spacing: .1em;
  color: #fff;
}

.legal-updated {
  margin-top: 8px;
  font-size: 10px;
  letter-spacing: .16em;
  color: rgba(255, 255, 255, .35);
}

.legal-body {
  margin-top: 34px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  font-size: 12.5px;
  line-height: 1.8;
  color: rgba(255, 255, 255, .65);
}

.legal-h {
  font: 600 14px 'Chakra Petch', monospace;
  color: #ff8a80;
  margin-bottom: 8px;
}

.legal-list {
  margin: 10px 0 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.legal-list a { word-break: break-word; }

@media (max-width: 900px) {
  .section {
    padding: 56px 20px 24px;
  }

  .section--modes { padding-top: 64px; }

  .modes-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .community {
    margin-top: 44px;
    padding: 56px 20px;
  }

  .legal { padding: 104px 20px 64px; }
}

@media (max-width: 720px) {
  .modes-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .site-header { padding: 10px 14px; }

  .brand {
    flex: none;
    gap: 9px;
  }

  .brand-icon {
    width: 34px;
    height: 34px;
  }

  .brand-name { font-size: 16px; }

  .brand-group { gap: 14px; }

  .store-badges { gap: 8px; }

  .header-actions { gap: 14px; }

  .nav-link {
    font-size: 10px;
    letter-spacing: .12em;
  }

  .badge-link img { height: 34px; }

  .hero-frame { margin: 62px 14px 14px; }

  .hero-frame-label {
    padding: 10px 12px;
    gap: 8px;
  }

  .hero-frame-text {
    font-size: 8px;
    letter-spacing: .16em;
  }

  .hero-inner { padding: 96px 18px 48px; }

  .hero-logo {
    width: clamp(140px, 42vw, 230px);
    height: auto;
  }

  .hero-tagline {
    margin-top: 20px;
    font-size: 11.5px;
    letter-spacing: .18em;
  }

  .hero-sub {
    font-size: 10px;
    letter-spacing: .12em;
  }

  .section { padding: 48px 18px 20px; }
  .section--modes { padding-top: 56px; }

  .section-title { font-size: clamp(24px, 7.4vw, 32px); }

  .news-item {
    flex-direction: column;
    gap: 12px;
    padding: 16px;
  }

  .news-side {
    width: auto;
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .news-date { margin-top: 0; }

  .devlog-item {
    flex-direction: column;
    gap: 14px;
    padding: 14px;
  }

  .devlog-media { width: 100%; }

  .community {
    margin-top: 36px;
    padding: 48px 18px;
  }

  .community-sub {
    font-size: 10px;
    letter-spacing: .12em;
  }

  .community-actions {
    margin-top: 20px;
    flex-wrap: wrap;
  }

  .btn-skew { padding: 11px 26px; }

  .btn-label {
    font-size: 16px;
    letter-spacing: .14em;
  }

  .site-footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    padding: 22px 18px;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
  }

  .legal { padding: 92px 18px 56px; }

  .legal-title { font-size: clamp(26px, 8vw, 36px); }

  .legal-body {
    margin-top: 26px;
    gap: 22px;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .brand-name { display: none; }
  .brand-group { gap: 12px; }
  .store-badges { gap: 8px; }
  .badge-link img { height: 30px; }
}

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
