:root {
  --bg: #030303;
  --bg-elevated: #080808;
  --bg-card: #0c0c0c;
  --bg-card-hover: #121212;
  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #e4e4e4;
  --text-muted: #5e5e5e;
  --text-soft: #8a8a8a;
  --white: #f0f0f0;
  --radius: 4px;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Special Elite', 'Courier New', monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* Heavy film grain */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.13;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='5' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 140px 140px;
  mix-blend-mode: overlay;
}

/* Strong vignette + dirt */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 99;
  pointer-events: none;
  background: 
    radial-gradient(ellipse at center, transparent 25%, rgba(0, 0, 0, 0.75) 100%),
    radial-gradient(ellipse at 20% 80%, rgba(0,0,0,0.35) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(0,0,0,0.3) 0%, transparent 45%);
}

.bg-glow {
  display: none;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse at 50% 15%, black 5%, transparent 70%);
  opacity: 0.4;
}

/* Header */
.header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 32px;
  max-width: 1060px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  color: var(--white);
}

.logo-icon {
  color: var(--white);
  font-size: 1.1rem;
  opacity: 0.9;
  font-family: var(--font);
}

.logo-text .accent {
  color: var(--text-muted);
  font-weight: 400;
}

.nav {
  display: flex;
  gap: 28px;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--text);
}

/* Hero */
.hero {
  position: relative;
  z-index: 5;
  text-align: center;
  padding: 100px 24px 80px;
  max-width: 680px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  padding: 5px 14px;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: 1px;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-soft);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 36px;
  animation: fadeUp 0.8s ease-out both;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.9rem, 8vw, 4.4rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.12;
  margin-bottom: 24px;
  color: var(--white);
  animation: fadeUp 0.8s ease-out 0.1s both;
  text-shadow: 
    0 0 30px rgba(0, 0, 0, 0.9),
    1px 1px 0 rgba(0,0,0,0.5);
}

.gradient-text {
  background: none;
  -webkit-text-fill-color: unset;
  color: var(--white);
}

.hero-desc {
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 42px;
  letter-spacing: -0.01em;
  animation: fadeUp 0.8s ease-out 0.2s both;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 0.8s ease-out 0.3s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  border-radius: 1px;
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--white);
  color: #060606;
}

.btn-primary:hover {
  background: #cfcfcf;
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-1px);
}

/* Sections */
.section {
  position: relative;
  z-index: 5;
  max-width: 1060px;
  margin: 0 auto;
  padding: 52px 24px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
  text-align: center;
  color: var(--white);
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 40px;
  font-size: 0.88rem;
  font-weight: 400;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 14px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
  opacity: 0;
  transform: translateY(18px);
}

.card.visible {
  opacity: 1;
  transform: translateY(0);
}

.card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.platform-icon {
  font-size: 0.66rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 8px;
  border-radius: 1px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-soft);
}

.platform-icon.ios,
.platform-icon.android,
.platform-icon.pc {
  color: var(--text-soft);
}

.badge {
  font-size: 0.6rem;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 1px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge.recommended {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border-strong);
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  margin-bottom: 6px;
  color: var(--white);
}

.card-title.secondary {
  font-size: 1.05rem;
  margin-top: 4px;
}

.card-desc {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 14px;
  line-height: 1.5;
}

.card-link {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.84rem;
  letter-spacing: 0.01em;
  transition: opacity 0.2s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 1px;
}

.card-link:hover {
  opacity: 0.6;
  color: var(--text);
}

.card-divider {
  height: 1px;
  background: var(--border);
  margin: 18px 0;
}

/* Info section */
.info-section {
  padding-top: 28px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 14px;
  margin-top: 36px;
}

.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.info-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.info-icon {
  font-size: 1.25rem;
  margin-bottom: 12px;
  opacity: 0.7;
  filter: grayscale(1) contrast(1.15);
}

.info-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  margin-bottom: 9px;
  color: var(--white);
}

.info-card p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.6;
}

.info-card strong {
  color: var(--text);
  font-weight: 560;
}

/* Contacts */
.contacts-section {
  padding-bottom: 70px;
}

.contacts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 12px;
  margin-top: 36px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.contact-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.contact-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  opacity: 0.75;
  filter: grayscale(1) contrast(1.15);
}

.contact-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  margin-bottom: 2px;
  color: var(--white);
}

.contact-card p {
  color: var(--text-muted);
  font-size: 0.78rem;
}

.contact-card .arrow {
  margin-left: auto;
  color: var(--text-muted);
  font-size: 1.05rem;
  transition: transform 0.2s ease, color 0.2s ease;
}

.contact-card:hover .arrow {
  transform: translateX(3px);
  color: var(--text);
}

/* Footer */
.footer {
  position: relative;
  z-index: 5;
  text-align: center;
  padding: 26px 24px 38px;
  color: var(--text-muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-top: 1px solid var(--border);
  max-width: 1060px;
  margin: 0 auto;
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 640px) {
  .header {
    padding: 18px 18px;
    flex-direction: column;
    gap: 16px;
  }

  .nav {
    gap: 22px;
  }

  .hero {
    padding: 70px 18px 52px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .section {
    padding: 36px 18px;
  }

  .btn {
    width: 100%;
    max-width: 280px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
}
