:root {
  --bg: #0d0221;
  --bg-alt: #150a33;
  --card: #1c0f42;
  --border: #33215f;
  --text: #f5f0ff;
  --text-dim: #b8a8d8;
  --accent: #ffb800;
  --accent-2: #ff6f3c;
  --radius: 16px;
  --max-w: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

header.site {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(13, 2, 33, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--text);
}

.brand img { width: 28px; height: 28px; border-radius: 7px; }

nav.site a {
  color: var(--text-dim);
  margin-left: 24px;
  font-size: 0.95rem;
}

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

.hero {
  padding: 64px 0 40px;
  text-align: center;
}

.hero img.icon {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  margin: 0 auto 24px;
  box-shadow: 0 12px 40px rgba(255, 184, 0, 0.3);
}

.hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0 0 12px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.tagline {
  color: var(--text-dim);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  background: var(--accent);
  color: #1a1200;
  font-weight: 600;
  font-size: 0.95rem;
}

.btn:hover { background: #e0a400; text-decoration: none; }

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

.btn.secondary:hover { border-color: var(--accent); background: var(--card); }

.btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

section { padding: 48px 0; }

section h2 {
  font-size: 1.6rem;
  margin-bottom: 28px;
  text-align: center;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.card h3 { margin: 0 0 8px; font-size: 1.05rem; }
.card p { margin: 0; color: var(--text-dim); font-size: 0.92rem; }

.shots {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
  -webkit-overflow-scrolling: touch;
}

.shots img {
  flex: 0 0 auto;
  width: 220px;
  border-radius: 14px;
  border: 1px solid var(--border);
  scroll-snap-align: start;
}

.shots::-webkit-scrollbar { height: 8px; }
.shots::-webkit-scrollbar-track { background: transparent; }
.shots::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 999px;
}

.lang-row {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 8px;
}

.lang-pill {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 0.85rem;
  color: var(--text-dim);
}

footer.site {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  margin-top: 40px;
  color: var(--text-dim);
  font-size: 0.9rem;
}

footer.site .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

footer.site nav a { margin-left: 18px; }
footer.site nav a:first-child { margin-left: 0; }

.doc {
  padding: 56px 0 80px;
}

.doc h1 { font-size: 1.9rem; margin-bottom: 4px; }
.doc .updated { color: var(--text-dim); font-size: 0.9rem; margin-bottom: 32px; }
.doc h2 { font-size: 1.25rem; margin-top: 36px; margin-bottom: 12px; }
.doc h3 { font-size: 1.05rem; margin-top: 24px; margin-bottom: 8px; }
.doc p, .doc li { color: #dcd2f0; }
.doc ul { padding-left: 20px; }

table.perm {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
}

table.perm th, table.perm td {
  border: 1px solid var(--border);
  padding: 10px 12px;
  text-align: left;
  font-size: 0.92rem;
}

table.perm th { background: var(--bg-alt); }

.contact-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
}

.contact-card .email {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 12px 0 20px;
}
