:root {
  --bg: #0f0828;
  --bg-soft: #1a0f3b;
  --text: #f5f2ff;
  --muted: #c6bfe0;
  --accent: #ffd00a;
  --accent-dark: #e0b400;
  --line: #32205f;
  --radius: 16px;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  background: linear-gradient(180deg, #0c0620 0%, #130933 60%, #0f0828 100%);
  color: var(--text);
  line-height: 1.55;
}
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(7px);
  background: rgba(10, 5, 28, 0.88);
  border-bottom: 1px solid #26154f;
}
.header-row {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 800;
}
.logo {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, #ffdf4d, #ffc300 55%, #f7ae00);
  color: #2f1b00;
  display: grid;
  place-items: center;
  font-size: 18px;
}
.brand span small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
}
.search-wrap {
  flex: 1;
  max-width: 420px;
  min-width: 180px;
  position: relative;
}
.search-wrap input {
  width: 100%;
  border: 1px solid var(--line);
  background: #140b31;
  border-radius: 999px;
  color: #fff;
  padding: 11px 16px;
  outline: none;
}
.search-wrap input::placeholder { color: #a99bcf; }
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  text-decoration: none;
  color: #1f1700;
  background: var(--accent);
  font-weight: 700;
  transition: .2s ease;
}
.btn:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn-outline {
  color: var(--accent);
  background: transparent;
}
.btn-outline:hover { background: rgba(255, 208, 10, .12); }
.hero {
  padding: 44px 0 28px;
  background:
    linear-gradient(90deg, rgba(10, 5, 28, .94) 0%, rgba(10, 5, 28, .72) 50%, rgba(10, 5, 28, .86) 100%),
    url("images/dragonmani.jpg") center/cover no-repeat;
  border-bottom: 1px solid #26154f;
}
.kicker {
  display: inline-block;
  background: rgba(255, 208, 10, .12);
  border: 1px solid rgba(255, 208, 10, .5);
  color: #ffdd57;
  border-radius: 999px;
  padding: 6px 12px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .3px;
  text-transform: uppercase;
}
h1 {
  margin: 16px 0 10px;
  font-size: clamp(30px, 5vw, 54px);
  line-height: 1.08;
  max-width: 900px;
}
.sub {
  color: #ddd6ef;
  max-width: 760px;
  margin-bottom: 24px;
}
.hero-btns {
  display: grid;
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  gap: 12px;
  max-width: 860px;
}
.hero-btns a { min-height: 46px; }
section { padding: 42px 0; }
h2 {
  font-size: clamp(24px, 3.6vw, 38px);
  margin: 0 0 12px;
}
.muted { color: var(--muted); }
.cards {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.card {
  background: linear-gradient(180deg, #1a0f3f 0%, #160c37 100%);
  border: 1px solid #2f1d5d;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}
.card-body {
  padding: 14px;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
}
.card h3 { margin: 0; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 14px; }
.card .btn { width: 100%; margin-top: auto; }
.seo-block {
  background: var(--bg-soft);
  border: 1px solid #2f1d5f;
  border-radius: var(--radius);
  padding: 24px;
}
.seo-block p { margin: 0 0 14px; }
.faq {
  display: grid;
  gap: 10px;
}
.faq-item {
  background: #160d35;
  border: 1px solid #2d1b58;
  border-radius: 12px;
  overflow: hidden;
}
.faq-question {
  margin: 0;
  padding: 12px 14px;
  cursor: pointer;
  font-weight: 700;
  color: #ffe17a;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 14px;
  color: var(--muted);
  transition: max-height .25s ease, padding .25s ease;
}
.faq-item.active .faq-answer {
  max-height: 180px;
  padding: 0 14px 14px;
}
footer {
  border-top: 1px solid #26154f;
  padding: 24px 0 34px;
  color: var(--muted);
  font-size: 14px;
}
@media (max-width: 1020px) {
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-btns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .header-row { flex-wrap: wrap; padding: 10px 0; }
  .search-wrap { order: 3; max-width: none; width: 100%; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .cards { grid-template-columns: 1fr; }
  .hero-btns { grid-template-columns: 1fr; }
  .header-actions { width: 100%; }
  .header-actions a { flex: 1; }
}
