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

:root {
  --bg: #000000;
  --surface: #141414;
  --card: #1a1a1a;
  --border: #2a2a2a;
  --text: #ffffff;
  --text-secondary: #a0a0a0;
  --highlight: #ffd54a;
  --success: #22c55e;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  min-height: 100%;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  border: none;
  background: none;
  color: inherit;
  cursor: pointer;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 5px;
}

.top-gradient {
  position: fixed;
  inset: 0 0 auto;
  height: 600px;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(
    180deg,
    rgba(34, 197, 94, 0.15) 0%,
    rgba(255, 213, 74, 0.1) 25%,
    rgba(0, 0, 0, 0) 100%
  );
}

main {
  position: relative;
  z-index: 1;
}

.highlight {
  color: var(--highlight);
  font-weight: 600;
}

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Language selector */
.lang-selector {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
}

.lang-button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  user-select: none;
}

.lang-flag {
  font-size: 20px;
}

.lang-code {
  font-size: 14px;
  font-weight: 700;
  color: var(--highlight);
  letter-spacing: 0.5px;
}

.lang-arrow {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.6);
}

.lang-modal[hidden] {
  display: none;
}

.lang-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lang-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}

.lang-dropdown {
  position: relative;
  min-width: 220px;
  padding: 8px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(20, 20, 20, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lang-dropdown-title {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 8px 12px;
  margin-bottom: 4px;
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  text-align: left;
}

.lang-option:hover {
  background: rgba(255, 255, 255, 0.05);
}

.lang-option.is-active {
  background: rgba(196, 30, 58, 0.2);
}

.lang-option-flag {
  font-size: 24px;
}

.lang-option-code {
  font-size: 14px;
  font-weight: 700;
  color: var(--highlight);
  min-width: 28px;
}

.lang-option-name {
  flex: 1;
  font-size: 16px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}

.lang-option.is-active .lang-option-name {
  color: #fff;
  font-weight: 600;
}

.lang-check {
  color: var(--success);
  font-weight: 700;
  opacity: 0;
}

.lang-option.is-active .lang-check {
  opacity: 1;
}

/* Hero */
.hero {
  padding: 80px 20px 100px;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.hero-left {
  width: 100%;
  max-width: 600px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  margin-bottom: 24px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--card);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
}

.hero-title {
  font-size: 40px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.55;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.store-link {
  display: inline-block;
  margin-bottom: 20px;
}

.play-badge {
  width: 200px;
  height: 60px;
  object-fit: contain;
}

.hero-right {
  width: 100%;
  display: flex;
  justify-content: center;
}

.hero-image-card {
  width: min(100%, 300px);
  aspect-ratio: 300 / 616;
  border-radius: 16px;
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--card);
}

.hero-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Features */
.feature {
  padding: 100px 20px;
  background: var(--bg);
}

.feature-alt {
  background: #141414;
}

.feature-emotional {
  background: #050505;
  padding: 100px 20px;
}

.feature-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.feature-center {
  max-width: 900px;
}

.feature-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.feature-image {
  width: 100%;
  max-width: 500px;
  border-radius: 16px;
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--card);
  aspect-ratio: 5 / 4;
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-card {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
}

.feature-emoji {
  font-size: 48px;
  margin-bottom: 24px;
}

.feature-card h2 {
  font-size: 28px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.feature-card p {
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-secondary);
  max-width: 600px;
}

/* CTA */
.cta {
  padding: 120px 20px;
  background: var(--surface);
}

.cta-inner {
  max-width: 900px;
  margin: 0 auto;
}

.cta-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px 24px;
  text-align: center;
}

.cta-title {
  font-size: 32px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.cta-subtitle {
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.finish-line {
  margin-top: 50px;
  width: 100%;
  height: 3px;
  border-radius: 2px;
  overflow: hidden;
  background: var(--border);
}

.finish-line-bar {
  width: 100%;
  height: 100%;
  background: var(--success);
}

/* Social */
.social {
  padding: 60px 20px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  text-align: center;
}

.social-inner {
  max-width: 900px;
  margin: 0 auto;
}

.social h2 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.social p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.social-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.yt-wrap {
  transform: scale(1.875);
  margin: 12px;
  border-radius: 10px;
  overflow: hidden;
  min-height: 32px;
}

.instagram-link {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
}

.instagram-link img {
  width: 75px;
  height: 75px;
  object-fit: cover;
}

@media (min-width: 768px) {
  .hero-content {
    flex-direction: row;
    justify-content: space-between;
    padding: 0 20px;
  }

  .hero-title {
    font-size: 52px;
  }

  .hero-subtitle {
    font-size: 22px;
  }

  .hero-image-card {
    width: 340px;
    aspect-ratio: 340 / 698;
  }

  .feature-card h2 {
    font-size: 34px;
  }

  .feature-card p {
    font-size: 18px;
  }

  .feature-emoji {
    font-size: 64px;
  }

  .cta-card {
    padding: 60px;
  }

  .cta-title {
    font-size: 40px;
  }

  .cta-subtitle {
    font-size: 18px;
  }

  .social h2 {
    font-size: 28px;
  }

  .social p {
    font-size: 16px;
  }

  .social-buttons {
    flex-direction: row;
  }
}

@media (min-width: 1024px) {
  .hero {
    padding-left: 40px;
    padding-right: 40px;
  }

  .hero-title {
    font-size: 64px;
  }

  .hero-image-card {
    width: 380px;
    aspect-ratio: 380 / 780;
  }

  .feature-row {
    flex-direction: row;
  }

  .feature-row-reverse {
    flex-direction: row-reverse;
  }

  .feature-image,
  .feature-card {
    flex: 1;
  }

  .feature-card h2 {
    font-size: 40px;
  }

  .cta-title {
    font-size: 48px;
  }

  .social h2 {
    font-size: 32px;
  }
}
