:root {
  --bg: #1b1726;
  --surface: #241f33;
  --border: #322d3e;
  --text: #e0e0e0;
  --text-dim: rgba(255, 255, 255, 0.55);
  --accent: #5e33ff;
  --accent-text: #ffffff;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: Archivo, -apple-system, "system-ui", "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

header {
  padding: 32px 0 8px;
}

header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  display: block;
  height: 28px;
  width: auto;
}

.lang-switch a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dim);
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.lang-switch a:hover {
  color: var(--text);
  border-color: var(--accent);
}

.hero {
  padding: 64px 0 48px;
}

.hero h1 {
  font-size: clamp(28px, 5vw, 40px);
  margin: 0 0 12px;
  font-weight: 800;
}

.hero p {
  font-size: 17px;
  color: var(--text-dim);
  max-width: 46ch;
  margin: 0;
}

section.apps {
  padding: 8px 0 56px;
}

section.apps h2 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin: 0 0 20px;
}

.app-list {
  display: grid;
  gap: 12px;
}

.app-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.15s ease;
}

.app-card.live:hover {
  border-color: var(--accent);
}

.app-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.app-card.placeholder .app-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--border);
  color: var(--text-dim);
  font-weight: 800;
  font-size: 18px;
}

.app-info h3 {
  margin: 0 0 2px;
  font-size: 16px;
  font-weight: 700;
}

.app-info p {
  margin: 0;
  font-size: 14px;
  color: var(--text-dim);
}

.app-card.placeholder {
  opacity: 0.5;
}

footer {
  border-top: 1px solid var(--border);
  padding: 28px 0 40px;
}

footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 14px;
  color: var(--text-dim);
}

footer a {
  text-decoration: none;
  font-weight: 600;
  color: var(--text);
}

footer a:hover {
  color: var(--accent);
}

@media (max-width: 480px) {
  footer .wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}
