/* Số Xịn website: the app's look (dark aurora, champagne gold, glass) with no animation and no
   external requests. */
:root {
  color-scheme: dark;
  --bg: #07060b;
  --ink: #ffffff;
  --muted: rgba(255, 255, 255, 0.68);
  --faint: rgba(255, 255, 255, 0.42);
  --line: rgba(255, 255, 255, 0.12);
  --glass: rgba(255, 255, 255, 0.06);
  --gold: #f2c96b;
  --gold-grad: linear-gradient(135deg, #ffedb8 0%, #f2c96b 45%, #c4892c 100%);
  --violet: #8b5cf6;
  --radius: 28px;
  --wide: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(60rem 40rem at 10% -10%, rgba(91, 33, 182, 0.55), transparent 60%),
    radial-gradient(50rem 36rem at 100% 20%, rgba(190, 40, 120, 0.28), transparent 60%),
    radial-gradient(60rem 40rem at 40% 105%, rgba(242, 180, 80, 0.16), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  color: var(--ink);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }

/* Header */
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 0; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; font-size: 19px; }
.brand:hover { text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.brand span { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav { display: flex; gap: 18px; font-size: 15px; }
.nav a { color: var(--muted); }
.nav a:hover { color: var(--ink); text-decoration: none; }

/* Hero */
.hero { display: grid; gap: 40px; align-items: center; padding: 36px 0 56px; }
@media (min-width: 900px) { .hero { grid-template-columns: 1.1fr 0.9fr; padding: 56px 0 80px; } }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin: 0 0 14px; }
h1, h2, h3 { font-family: var(--wide); line-height: 1.15; margin: 0; }
h1 { font-size: clamp(38px, 7vw, 64px); font-weight: 900; letter-spacing: -0.02em; }
h1 .gold, h2 .gold { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(18px, 2.4vw, 21px); color: var(--muted); margin: 20px 0 30px; max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px;
  font-weight: 700; font-size: 17px; border: 1px solid transparent;
}
.btn:hover { text-decoration: none; }
.btn-gold { background: var(--gold-grad); color: #111; box-shadow: 0 10px 40px rgba(242, 201, 107, 0.25); }
.btn-gold[aria-disabled="true"] { cursor: default; }
.btn-glass { background: var(--glass); border-color: var(--line); color: var(--ink); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.note { color: var(--faint); font-size: 14px; margin-top: 14px; }
.hero-art { display: flex; justify-content: center; }
.hero-art img { width: min(340px, 78vw); height: auto; border-radius: 36px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px var(--line); }

/* Sections */
section { padding: 40px 0; }
.section-head { margin-bottom: 26px; }
h2 { font-size: clamp(28px, 4.4vw, 40px); font-weight: 850; letter-spacing: -0.01em; }
.section-head p { color: var(--muted); margin: 10px 0 0; max-width: 40em; }

.gallery { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 16px 18px; margin: 0 -16px; }
.gallery img { flex: 0 0 auto; width: min(240px, 62vw); height: auto; border-radius: 24px; scroll-snap-align: center; box-shadow: 0 0 0 1px var(--line); }

.grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid.three { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
}
.card h3 { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.card p { color: var(--muted); margin: 0; }
.card .icon { font-size: 26px; line-height: 1; margin-bottom: 14px; display: block; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip { font-size: 14px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); border: 1px solid var(--line); }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
details:first-of-type { border-top: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 700; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--gold); font-size: 24px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin: 10px 0 0; }

/* Text pages */
.doc { max-width: 720px; padding: 24px 0 64px; }
.doc h1 { font-size: clamp(32px, 6vw, 46px); margin-bottom: 8px; }
.doc h2 { font-size: 22px; margin: 36px 0 10px; }
.doc p, .doc li { color: var(--muted); }
.doc ul { padding-left: 22px; }
.doc .updated { color: var(--faint); font-size: 15px; margin: 0 0 28px; }
.doc .card { margin: 22px 0; }
.doc strong { color: var(--ink); }

/* Footer */
footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 28px 0 40px; color: var(--faint); font-size: 14px; }
footer .row { display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: space-between; }
footer a { color: var(--muted); }
