/* 1xslots-casino.cfd — архетип stitch: прошивка пунктиром по периметру блоков. ns: sth */

:root{
  --bg:#1f1f1f;          /* основной тёмный фон */
  --bg-deep:#060606;     /* подвал, глубокие подложки */
  --surface:#262626;     /* панели, карточки */
  --surface-2:#303031;   /* вложенные блоки, строки таблиц */
  --line:#363636;        /* границы */
  --gold:#fde4a5;        /* фирменное шампанское золото, главный акцент */
  --gold-2:#c9a339;      /* насыщенное золото, обводки и цифры */
  --gold-3:#937527;      /* тёмное золото, тени и низ градиента */
  --blue:#23507d;        /* фирменный синий */
  --blue-2:#367aba;      /* светлый синий, ссылки и подсветка */
  --blue-deep:#19405f;   /* глубокий синий, подложки */
  --green:#088c4f;       /* успех, подтверждения */
  --text:#e8e8e8;
  --text-2:#d9d9d9;
  --muted:#9b9b9b;
  --muted-2:#878787;
}

*,*::before,*::after{box-sizing:border-box}

html{scroll-behavior:smooth}

body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:"Alegreya Sans",system-ui,"Segoe UI",sans-serif;
  font-size:17px;
  line-height:1.66;
  -webkit-text-size-adjust:100%;
}

h1,h2,h3,.sth-kpi-num,.sth-btn,.sth-step-name{
  font-family:"Oswald","Alegreya Sans",system-ui,sans-serif;
  font-weight:500;
  letter-spacing:.01em;
}

a{color:var(--blue-2);text-decoration:none}
a:hover{color:var(--gold)}
p{margin:0 0 14px}

.sth-wrap{max-width:1080px;margin:0 auto;padding:0 22px}

/* ---------- прошивка: базовый мотив ---------- */
.sth-stitch{
  position:relative;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:4px;
  padding:26px 24px;
}
.sth-stitch::before{
  content:"";
  position:absolute;
  inset:7px;
  border:1px dashed var(--gold-3);
  border-radius:2px;
  pointer-events:none;
}
.sth-stitch--gold::before{border-color:var(--gold-2)}
.sth-stitch--blue{background:var(--blue-deep);border-color:var(--blue)}
.sth-stitch--blue::before{border-color:var(--blue-2)}

/* горизонтальный шов-разделитель */
.sth-seam{
  height:0;
  border-top:1px dashed var(--gold-3);
  margin:44px 0;
  opacity:.75;
}

/* ---------- шапка-строка: лого, кнопки, метка лицензии ---------- */
.sth-head{
  position:sticky;
  top:0;
  z-index:40;
  background:var(--surface);
  border-bottom:1px dashed var(--gold-3);
  box-shadow:0 2px 0 var(--bg-deep);
}
.sth-head-row{
  max-width:1080px;
  margin:0 auto;
  padding:10px 22px;
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
}
.sth-logo{
  display:flex;
  align-items:center;
  gap:9px;
  font-family:"Oswald",sans-serif;
  font-size:23px;
  letter-spacing:.04em;
  color:var(--gold);
  text-transform:uppercase;
}
.sth-logo:hover{color:var(--gold)}
.sth-logo svg{display:block;flex:0 0 auto}
.sth-lic{
  margin-left:auto;
  font-size:12.5px;
  line-height:1.3;
  color:var(--muted);
  border:1px dashed var(--line);
  border-radius:3px;
  padding:5px 10px;
  letter-spacing:.02em;
}
.sth-lic span{color:var(--gold-2)}
.sth-head-btns{display:flex;gap:10px;align-items:center}

.sth-btn{
  display:inline-block;
  padding:10px 20px;
  border-radius:4px;
  font-size:15px;
  text-transform:uppercase;
  letter-spacing:.05em;
  border:1px dashed transparent;
  white-space:nowrap;
  cursor:pointer;
}
.sth-btn--main{
  background:linear-gradient(180deg,#fde4a5 0%,#c9a339 100%);
  color:var(--bg-deep);
  border-color:var(--gold-3);
  box-shadow:0 2px 0 var(--gold-3);
}
.sth-btn--main:hover{color:var(--bg-deep);filter:brightness(1.07)}
.sth-btn--ghost{
  background:transparent;
  color:var(--gold);
  border:1px dashed var(--gold-2);
}
.sth-btn--ghost:hover{color:var(--gold);background:var(--surface-2)}
.sth-btn--wide{padding:15px 38px;font-size:18px}

/* ---------- hero ---------- */
.sth-hero{padding:38px 0 8px}
.sth-hero h1{
  font-size:36px;
  line-height:1.2;
  margin:0 0 16px;
  color:var(--gold);
}
.sth-lead{font-size:18.5px;color:var(--text-2);max-width:820px}

.sth-kpi{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:12px;
  margin:26px 0 24px;
}
.sth-kpi-cell{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:4px;
  padding:16px 12px;
  text-align:center;
  position:relative;
}
.sth-kpi-cell::before{
  content:"";
  position:absolute;
  inset:5px;
  border:1px dashed var(--gold-3);
  border-radius:2px;
}
.sth-kpi-num{
  display:block;
  font-size:25px;
  color:var(--gold);
  line-height:1.15;
  position:relative;
}
.sth-kpi-cap{
  display:block;
  font-size:12.5px;
  color:var(--muted);
  text-transform:uppercase;
  letter-spacing:.06em;
  margin-top:6px;
  position:relative;
}

.sth-cta{margin:24px 0 10px;display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.sth-cta-note{font-size:14.5px;color:var(--muted)}

/* ---------- баннеры с прошивкой по краю ---------- */
.sth-shot{margin:26px 0;position:relative}
.sth-shot img{
  display:block;
  width:100%;
  max-width:100%;
  height:auto;
  border-radius:4px;
  border:1px solid var(--line);
  padding:7px;
  background:var(--surface);
  outline:1px dashed var(--gold-2);
  outline-offset:-14px;
}
.sth-shot figcaption{
  font-size:14px;
  color:var(--muted);
  margin-top:9px;
  padding-left:14px;
  border-left:2px dashed var(--gold-3);
}
.sth-shot--tall{max-width:320px}
.sth-split{display:grid;grid-template-columns:1fr 320px;gap:26px;align-items:start}

/* ---------- секции ---------- */
main section{padding:8px 0}
h2{
  font-size:27px;
  line-height:1.25;
  margin:34px 0 14px;
  color:var(--gold);
  padding-bottom:10px;
  border-bottom:1px dashed var(--gold-3);
}
h3{
  font-size:20px;
  margin:24px 0 10px;
  color:var(--text);
}
.sth-note{
  margin:18px 0;
  padding:14px 18px 14px 16px;
  background:var(--surface-2);
  border-left:3px dashed var(--blue-2);
  border-radius:3px;
  font-size:16px;
  color:var(--text-2);
}
.sth-ok{color:var(--green)}
.sth-acc{color:var(--gold-2)}
.sth-em{color:var(--gold);font-style:normal}

ul.sth-list{list-style:none;margin:16px 0;padding:0}
ul.sth-list li{
  position:relative;
  padding:0 0 0 24px;
  margin-bottom:9px;
}
ul.sth-list li::before{
  content:"";
  position:absolute;
  left:2px;
  top:11px;
  width:13px;
  border-top:2px dashed var(--gold-2);
}

/* ---------- таблицы ---------- */
.sth-tw{overflow-x:auto;margin:20px 0;border:1px dashed var(--gold-3);border-radius:4px;padding:6px}
table{border-collapse:collapse;width:100%;min-width:560px;font-size:15.5px}
caption{
  caption-side:top;
  text-align:left;
  font-size:14px;
  color:var(--muted);
  padding:6px 8px 10px;
}
th,td{padding:11px 13px;text-align:left;border-bottom:1px dashed var(--line)}
thead th{
  background:var(--blue-deep);
  color:var(--gold);
  font-family:"Oswald",sans-serif;
  font-weight:400;
  font-size:14px;
  text-transform:uppercase;
  letter-spacing:.04em;
}
tbody tr:nth-child(odd){background:var(--surface)}
tbody tr:nth-child(even){background:var(--surface-2)}
tbody tr:last-child td{border-bottom:none}

/* ---------- провайдеры ---------- */
.sth-prov{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:12px;
  margin:20px 0;
}
.sth-prov-cell{
  background:var(--surface-2);
  border:1px dashed var(--gold-3);
  border-radius:4px;
  padding:10px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.sth-prov-cell img{max-width:100%;height:auto;display:block}

/* ---------- клуб ---------- */
.sth-club{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin:20px 0}
.sth-club-cell{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:4px;
  padding:14px 12px;
  position:relative;
}
.sth-club-cell::after{
  content:"";
  position:absolute;
  inset:auto 8px 8px;
  border-top:1px dashed var(--gold-3);
}
.sth-step-name{display:block;color:var(--gold);font-size:18px;margin-bottom:4px}
.sth-club-cell p{font-size:14px;color:var(--muted);margin:0 0 14px}

/* ---------- отзыв ---------- */
.sth-quote{margin:24px 0;padding:22px 24px;background:var(--surface);border:1px dashed var(--gold-2);border-radius:4px}
.sth-quote p{margin:0 0 10px;font-size:17px;color:var(--text-2)}
.sth-quote cite{font-style:normal;font-size:14px;color:var(--muted);letter-spacing:.03em}

/* ---------- FAQ ---------- */
details{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:4px;
  margin-bottom:10px;
  padding:0;
}
details[open]{border-color:var(--gold-3)}
summary{
  cursor:pointer;
  padding:14px 18px;
  font-family:"Oswald",sans-serif;
  font-size:17px;
  color:var(--gold);
  list-style:none;
  border-bottom:1px dashed transparent;
}
details[open] summary{border-bottom-color:var(--gold-3)}
summary::-webkit-details-marker{display:none}
summary::before{content:"— ";color:var(--gold-2)}
details p{margin:0;padding:14px 18px;color:var(--text-2);font-size:16px}

/* ---------- источники + финальный CTA ---------- */
.sth-src ul.sth-list li{font-size:15.5px;color:var(--text-2)}
.sth-final{
  margin:26px 0 40px;
  padding:28px 24px;
  text-align:center;
  background:var(--surface-2);
  border:1px dashed var(--gold-2);
  border-radius:4px;
}
.sth-final p{color:var(--text-2)}

/* ---------- подвал ---------- */
.sth-foot{
  background:var(--bg-deep);
  border-top:1px dashed var(--gold-3);
  padding:30px 0 40px;
  color:var(--muted-2);
  font-size:14.5px;
}
.sth-foot p{margin:0 0 9px}
.sth-foot .sth-age{
  color:var(--text-2);
  border:1px dashed var(--line);
  border-radius:3px;
  padding:10px 14px;
  display:inline-block;
  margin-top:8px;
}

/* ---------- ≤640px ---------- */
@media (max-width:980px){
  .sth-kpi{grid-template-columns:repeat(3,1fr)}
  .sth-club{grid-template-columns:repeat(3,1fr)}
  .sth-split{grid-template-columns:1fr}
  .sth-shot--tall{max-width:100%}
}

@media (max-width:640px){
  body{font-size:16px}
  .sth-wrap{padding:0 14px}
  .sth-head-row{padding:8px 14px;gap:8px}
  .sth-logo{font-size:19px;order:1}
  .sth-lic{order:2;margin-left:auto;font-size:11px;padding:4px 7px}
  .sth-head-btns{order:3;width:100%;gap:8px}
  .sth-head-btns .sth-btn{flex:1 1 0;text-align:center;padding:9px 6px;font-size:13px;letter-spacing:.02em}
  .sth-hero h1{font-size:26px}
  .sth-lead{font-size:16.5px}
  h2{font-size:22px}
  h3{font-size:18px}
  .sth-kpi{grid-template-columns:repeat(2,1fr);gap:9px}
  .sth-kpi-num{font-size:21px}
  .sth-club{grid-template-columns:repeat(2,1fr)}
  .sth-prov{grid-template-columns:repeat(2,1fr)}
  .sth-btn--wide{padding:13px 20px;font-size:16px;display:block;text-align:center}
  .sth-stitch{padding:20px 16px}
  table{min-width:520px}
  img{max-width:100%;height:auto}
}
