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

body {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  background: #0a0a0f;
  color: #e0ddd5;
  line-height: 1.6;
}

/* Background */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: url('../images/hero_bg.jpg') center center / cover no-repeat;
  opacity: 0.12;
  filter: blur(1px);
}

/* Header Nav */
.header-nav {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 100;
  display: flex;
  gap: 1rem;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(180, 140, 80, 0.2);
  border-radius: 8px;
  padding: 0.45rem 0.9rem;
}

.header-nav a {
  color: #b4a880;
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}

.header-nav a:hover {
  color: #f0e8d8;
}

/* Language Switcher */
.lang-switcher {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 100;
  display: flex;
  gap: 0.25rem;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(180, 140, 80, 0.2);
  border-radius: 8px;
  padding: 0.25rem;
}

.lang-btn {
  background: none;
  border: none;
  color: #807860;
  padding: 0.4rem 0.7rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: background 0.2s, color 0.2s;
}

.lang-btn:hover {
  background: rgba(180, 140, 80, 0.1);
  color: #b4a880;
}

.lang-btn.active {
  background: rgba(180, 140, 80, 0.2);
  color: #f0e8d8;
}

/* Hero */
.hero {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 10vh;
  padding-bottom: 4rem;
  text-align: center;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 40%, rgba(180, 140, 80, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 2rem;
}

.hero-icon {
  width: 120px;
  height: 120px;
  border-radius: 24px;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 32px rgba(180, 140, 80, 0.3);
}

.title-logo {
  display: block;
  max-width: 400px;
  width: 80%;
  height: auto;
  margin: 0 auto 0.5rem;
}

.hero .subtitle {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: #c8b888;
  margin-bottom: 2.5rem;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

/* Store Links */
.store-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.store-badge {
  height: 48px;
  transition: opacity 0.2s, transform 0.2s;
}

.store-badge:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

/* Screenshots */
.screenshots {
  padding: 2rem 2rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
}


.screenshot-scroll {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  padding: 1rem 0 1.5rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.screenshot-scroll::-webkit-scrollbar { height: 6px; }
.screenshot-scroll::-webkit-scrollbar-track { background: #1a1520; border-radius: 3px; }
.screenshot-scroll::-webkit-scrollbar-thumb { background: #b4a880; border-radius: 3px; }

.screenshot-scroll img {
  height: 360px;
  border-radius: 12px;
  scroll-snap-align: center;
  flex-shrink: 0;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
}

/* Features */
.features {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.features h2 {
  text-align: center;
  font-size: 1.8rem;
  color: #f0e8d8;
  margin-bottom: 2.5rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.feature-card {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(180, 140, 80, 0.1);
  border-radius: 12px;
  transition: border-color 0.2s;
}

.feature-card:hover {
  border-color: rgba(180, 140, 80, 0.25);
}

.feature-card h3 {
  color: #b4a880;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.95rem;
  color: #a09888;
}

/* Reviews */
.reviews {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.reviews h2 {
  text-align: center;
  font-size: 1.8rem;
  color: #f0e8d8;
  margin-bottom: 2.5rem;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.review-card {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(180, 140, 80, 0.1);
  border-radius: 12px;
}

.review-stars {
  color: #d4a830;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.review-title {
  color: #f0e8d8;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.review-body {
  font-size: 0.9rem;
  color: #a09888;
}

/* CTA */
.cta {
  padding: 3rem 2rem 4rem;
  text-align: center;
}

/* Social Links */
.social-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  padding: 2rem 2rem 2rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(180, 140, 80, 0.15);
  transition: background 0.2s, border-color 0.2s;
}

.social-link:hover {
  background: rgba(180, 140, 80, 0.15);
  border-color: rgba(180, 140, 80, 0.35);
}

.social-link img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.social-link img[alt="YouTube"],
.social-link img[alt="note"] {
  width: 26px;
  height: 26px;
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem 2rem 3rem;
  border-top: 1px solid rgba(180, 140, 80, 0.1);
  color: #605848;
  font-size: 0.85rem;
}

footer a {
  color: #b4a880;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

.game-info {
  color: #706858;
  font-size: 0.8rem;
  margin-bottom: 0.75rem;
  white-space: pre-line;
}

footer .footer-links {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 480px) {
  .header-nav {
    top: 0.5rem;
    left: 0.5rem;
    padding: 0.35rem 0.7rem;
  }

  .header-nav a {
    font-size: 0.75rem;
  }

  .lang-switcher {
    top: 0.5rem;
    right: 0.5rem;
    gap: 0.1rem;
    padding: 0.2rem;
  }

  .lang-btn {
    padding: 0.3rem 0.5rem;
    font-size: 0.75rem;
  }

  .store-badge {
    height: 40px;
  }

  .screenshot-scroll {
    flex-direction: column;
    align-items: center;
    overflow-x: visible;
  }

  .screenshot-scroll img {
    height: auto;
    width: 100%;
    max-width: 100%;
  }

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

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