/* =============================================
   JOYCASINO v5 — style.css
   Тема: COPPER AMBER — медь на тёмном шоколаде
   Шрифты: Cinzel (заголовки) + Nunito (текст)
   ============================================= */

:root {
  --bg:        #0c0906;
  --surf:      #161009;
  --surf2:     #1e1710;
  --cop:       #cd7f32;
  --cop-light: #e8a44a;
  --cop-dark:  #9d5f20;
  --cop-glow:  rgba(205,127,50,.3);
  --cop-dim:   rgba(205,127,50,.1);
  --amber:     #f59e0b;
  --cream:     #f0e6d3;
  --text:      #e8d9c0;
  --muted:     #7a6a55;
  --border:    rgba(205,127,50,.22);
  --radius:    12px;
  --shd:       0 6px 28px rgba(0,0,0,.65);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Nunito', sans-serif;
  font-size: 16px;
  line-height: 1.78;
  margin: 0; padding: 0;
}

/* Фоновая текстура — точки */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: radial-gradient(rgba(205,127,50,.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none; z-index: 0;
}
main, header, footer { position: relative; z-index: 1; }

h1, h2, h3, h4 {
  font-family: 'Cinzel', serif;
  margin-top: 0; line-height: 1.2;
}

h1 {
  font-size: clamp(20px, 3.4vw, 34px);
  font-weight: 900; text-align: center;
  color: var(--cop-light);
  text-shadow: 0 0 30px var(--cop-glow), 0 2px 4px rgba(0,0,0,.5);
  letter-spacing: .5px;
  margin-bottom: 20px;
}

h2 {
  font-size: clamp(17px, 2.5vw, 26px);
  font-weight: 700; text-align: center;
  color: var(--amber);
  letter-spacing: .3px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  position: relative;
}
h2::after {
  content: '◆';
  display: block;
  position: absolute;
  bottom: -2px; left: 50%;
  transform: translateX(-50%);
  font-size: 10px; color: var(--cop);
  line-height: 1;
}

h3 {
  font-size: clamp(14px, 1.8vw, 18px);
  color: var(--cop-light); letter-spacing: .2px;
  margin-bottom: 9px; font-weight: 600;
}

p { margin-bottom: 14px; }
a { color: var(--cop-light); text-decoration: none; transition: color .15s; }
a:hover { color: var(--amber); }
ul, ol { padding-left: 22px; }
li { margin-bottom: 8px; }
img { display: block; max-width: 100%; height: auto; }
strong { color: var(--cream); font-weight: 700; }

/* ── NAVBAR ──────────────────────────────────── */
.site-header {
  background: rgba(12,9,6,.97);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 1000;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0,0,0,.8);
}
.header-ornament {
  height: 3px;
  background: linear-gradient(90deg,
    transparent 0%, var(--cop-dark) 15%,
    var(--cop) 35%, var(--amber) 50%,
    var(--cop) 65%, var(--cop-dark) 85%, transparent 100%);
}
.navbar { padding: 10px 0; }
.navbar-toggler { border: none; background: none; cursor: pointer; padding: 6px; }
.hbar {
  display: block; width: 24px; height: 2px;
  background: var(--cop); margin: 5px 0;
  border-radius: 2px; transition: all .3s;
}
.nav-logo { filter: drop-shadow(0 0 8px var(--cop-glow)); }

.navbar .npill {
  color: var(--text) !important;
  font-family: 'Cinzel', serif;
  font-weight: 600; font-size: 12px;
  letter-spacing: .5px; text-transform: uppercase;
  padding: 8px 16px; border-radius: 20px;
  background: var(--cop-dim); border: 1px solid var(--border);
  transition: all .15s;
}
.navbar .npill:hover {
  background: var(--cop); color: #000 !important;
  border-color: var(--cop); transform: translateY(-1px);
  box-shadow: 0 4px 14px var(--cop-glow);
}

/* ── BUTTONS ──────────────────────────────────── */
.btn-in {
  display: inline-block; padding: 9px 20px;
  background: transparent; border: 1.5px solid var(--cop);
  color: var(--cop) !important;
  font-family: 'Cinzel', serif; font-weight: 600;
  font-size: 12px; letter-spacing: .8px; text-transform: uppercase;
  border-radius: 6px; transition: all .15s; text-decoration: none;
}
.btn-in:hover {
  background: var(--cop); color: #0c0906 !important;
  box-shadow: 0 4px 14px var(--cop-glow); text-decoration: none;
}

.btn-reg {
  display: inline-block; padding: 9px 20px;
  background: linear-gradient(135deg, var(--cop-dark), var(--cop), var(--cop-light));
  border: none; color: #0c0906 !important;
  font-family: 'Cinzel', serif; font-weight: 700;
  font-size: 12px; letter-spacing: .8px; text-transform: uppercase;
  border-radius: 6px; transition: all .15s; text-decoration: none;
}
.btn-reg:hover {
  filter: brightness(1.1); transform: translateY(-1px);
  box-shadow: 0 6px 18px var(--cop-glow); text-decoration: none;
}

.bc { text-align: center; margin: 26px 0; }

.cta {
  display: inline-block; min-width: 220px;
  padding: 15px 38px;
  background: linear-gradient(135deg, var(--cop-dark), var(--cop), var(--amber));
  background-size: 200%;
  animation: copperShift 5s ease infinite;
  color: #0c0906 !important;
  font-family: 'Cinzel', serif; font-weight: 900;
  font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase;
  text-align: center; text-decoration: none; border: none;
  border-radius: var(--radius);
  box-shadow: 0 6px 24px var(--cop-glow), inset 0 1px 0 rgba(255,255,255,.15);
  cursor: pointer; transition: transform .12s, box-shadow .12s;
  position: relative; overflow: hidden;
}
@keyframes copperShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.cta::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.15), transparent);
  transform: translateX(-100%); transition: transform .5s;
}
.cta:hover::before { transform: translateX(100%); }
.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(205,127,50,.5);
  text-decoration: none;
}
.cta:active { transform: translateY(0); }

/* ── BLOCKS ──────────────────────────────────── */
.block {
  padding: 30px 28px; margin: 18px 0;
  background: var(--surf);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shd);
  position: relative;
}
.block::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cop-dark), transparent);
}

.hero-block {
  background:
    radial-gradient(ellipse at 70% 0%, rgba(205,127,50,.07) 0%, transparent 55%),
    radial-gradient(ellipse at 30% 100%, rgba(245,158,11,.04) 0%, transparent 55%),
    var(--surf);
  border-color: rgba(205,127,50,.35);
  padding-top: 36px;
}
/* Ключи в тёмной секции — синим */
.hero-block strong { color: #5bb8ff; }
.h-lead { color: #c8b89a; font-size: 17px; font-weight: 400; }

.hero-tag {
  display: inline-block;
  background: linear-gradient(135deg, rgba(205,127,50,.15), rgba(245,158,11,.1));
  border: 1px solid rgba(205,127,50,.3); color: var(--cop-light);
  font-family: 'Cinzel', serif; font-weight: 600;
  font-size: 11px; letter-spacing: 1px; text-transform: uppercase;
  padding: 5px 16px; border-radius: 20px; margin-bottom: 16px;
}

/* ── IMAGES ──────────────────────────────────── */
.img-box {
  max-width: 820px; margin: 22px auto;
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(0,0,0,.6), 0 0 0 1px rgba(205,127,50,.05);
  transition: box-shadow .3s;
}
.img-box:hover { box-shadow: 0 12px 40px rgba(0,0,0,.65), 0 0 20px rgba(205,127,50,.12); }
.img-box img { width: 100%; height: auto; display: block; }

/* ── TOC ──────────────────────────────────────── */
.toc-toggle {
  display: block; margin: 18px auto 0;
  background: var(--surf2); color: var(--cop-light);
  border: 1px solid var(--border); border-radius: 8px;
  padding: 10px 22px;
  font-family: 'Cinzel', serif; font-weight: 600;
  font-size: 13px; letter-spacing: .5px; text-transform: uppercase;
  cursor: pointer; transition: all .15s;
}
.toc-toggle:hover { background: var(--cop); color: #0c0906; border-color: var(--cop); }

.toc {
  max-width: 680px; margin: 14px auto;
  background: var(--surf2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px 26px; overflow: hidden;
  transition: max-height .35s ease, opacity .35s ease, padding .35s ease;
}
.toc.is-collapsed { max-height: 0; opacity: 0; padding: 0 26px; }
.toc:not(.is-collapsed) { max-height: 700px; opacity: 1; }

.toc ul { list-style: none; padding: 0; margin: 0; }
.toc ul li { border-bottom: 1px solid rgba(205,127,50,.07); }
.toc ul li:last-child { border-bottom: none; }
.toc ul li a {
  display: block; padding: 6px 0;
  color: var(--muted); font-family: 'Nunito', sans-serif;
  font-size: 14px; font-weight: 600;
  transition: color .15s, padding-left .15s;
}
.toc ul li a:hover { color: var(--cop-light); padding-left: 6px; }

.toc-back-top {
  display: none; position: fixed;
  bottom: 28px; right: 28px;
  width: 46px; height: 46px;
  background: linear-gradient(135deg, var(--cop-dark), var(--cop));
  color: #0c0906; border: none; border-radius: 50%;
  font-size: 20px; font-weight: bold; cursor: pointer;
  z-index: 999; box-shadow: 0 4px 18px var(--cop-glow);
  transition: transform .15s;
}
.toc-back-top.is-visible { display: flex; align-items: center; justify-content: center; }
.toc-back-top:hover { transform: translateY(-2px) scale(1.05); }

/* ── TABLE ───────────────────────────────────── */
.tbl5 {
  width: 100%; border-collapse: collapse; margin: 22px 0;
  font-family: 'Nunito', sans-serif; font-size: 14px;
  border-radius: var(--radius); overflow: hidden;
  table-layout: fixed;
  box-shadow: 0 4px 24px rgba(0,0,0,.5);
  animation: copperPulse 5s ease-in-out infinite;
}
@keyframes copperPulse {
  0%, 100% { box-shadow: 0 4px 24px rgba(0,0,0,.5), 0 0 0 1px rgba(205,127,50,.1); }
  50%       { box-shadow: 0 4px 32px rgba(0,0,0,.55), 0 0 18px rgba(205,127,50,.2), 0 0 0 1px rgba(205,127,50,.28); }
}

.tbl5 thead tr { background: linear-gradient(90deg, #1c1108, #251809); }
.tbl5 th {
  padding: 14px 14px; color: var(--cop-light);
  font-family: 'Cinzel', serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: .8px; text-transform: uppercase;
  border-bottom: 2px solid var(--cop-dark); text-align: left;
}
.tbl5 td {
  padding: 11px 14px;
  border-bottom: 1px solid rgba(205,127,50,.08);
  color: var(--text); word-wrap: break-word;
}
.tbl5 tbody tr:last-child td { border-bottom: none; }
.tbl5 tbody tr:nth-child(even) td { background: rgba(205,127,50,.04); }
.tbl5 tbody tr:hover td { background: rgba(205,127,50,.09); transition: background .2s; }

/* ── VERDICT ──────────────────────────────────── */
.verdict-block {
  border-left: 3px solid var(--cop);
  background: linear-gradient(135deg, rgba(205,127,50,.05) 0%, var(--surf) 60%);
}
.vgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 18px 0; }
.vp, .vc {
  background: var(--surf2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px 20px;
}
.vp h3 { color: #4ade80; }
.vc h3 { color: #f87171; }
.vp li, .vc li { font-size: 14px; font-weight: 600; margin-bottom: 7px; }
.vrate {
  text-align: center; font-family: 'Cinzel', serif;
  font-size: 20px; color: var(--muted); margin-top: 16px;
}
.vrate strong { color: var(--amber); }

/* ── FAQ ──────────────────────────────────────── */
.faq-section { margin: 40px 0; padding: 10px 0; }
.faq-title {
  font-family: 'Cinzel', serif; font-weight: 900;
  font-size: clamp(18px, 2.5vw, 26px);
  color: var(--amber); text-align: center;
  margin-bottom: 32px; position: relative; padding-bottom: 16px;
  letter-spacing: .4px;
}
.faq-title::after {
  content: '◆ ◆ ◆';
  display: block; position: absolute;
  bottom: 0; left: 50%; transform: translateX(-50%);
  font-size: 8px; color: var(--cop-dark); letter-spacing: 6px;
  line-height: 1;
}

.faq-container { max-width: 820px; margin: 0 auto; }
.faq-item {
  margin-bottom: 10px; border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  background: var(--surf); transition: border-color .2s, box-shadow .2s;
}
.faq-item:hover { border-color: rgba(205,127,50,.4); }
.faq-item.active { border-color: var(--cop); }

.faq-question {
  width: 100%; background: var(--surf2); color: var(--text);
  padding: 16px 20px; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  border: none; text-align: left;
  font-family: 'Nunito', sans-serif; font-size: 15px; font-weight: 700;
  transition: background .2s;
}
.faq-question:hover { background: rgba(205,127,50,.07); }
.faq-item.active .faq-question { background: rgba(205,127,50,.12); }
.faq-question span:first-child { flex: 1; padding-right: 14px; }

.faq-icon {
  font-size: 20px; color: var(--cop);
  transition: transform .3s; min-width: 22px; text-align: center;
}
.faq-item.active .faq-icon { transform: rotate(45deg); color: var(--amber); }

.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease; background: var(--surf);
}
.faq-item.active .faq-answer { max-height: 300px; }
.faq-answer > div { padding: 16px 20px; }
.faq-answer p { margin: 0; font-size: 15px; color: var(--muted); line-height: 1.7; }

/* ── FOOTER ──────────────────────────────────── */
.site-footer {
  background: var(--surf);
  border-top: 1px solid var(--border);
  padding: 34px 0 18px;
}
.footer-inner {
  display: flex; align-items: center;
  justify-content: space-between; gap: 20px;
  flex-wrap: wrap; padding-bottom: 22px;
}
.f-logo { max-height: 48px; margin: 0 !important; }
.f-tagline {
  color: var(--muted); font-family: 'Cinzel', serif;
  font-size: 12px; letter-spacing: .5px; text-transform: uppercase;
  margin: 6px 0 0;
}
.f-right { display: flex; align-items: center; gap: 14px; }
.age-badge {
  width: 44px; height: 44px;
  border: 2px solid var(--cop); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--cop); font-family: 'Cinzel', serif;
  font-weight: 900; font-size: 14px;
}
.f-lic {
  font-family: 'Cinzel', serif; font-size: 10px;
  font-weight: 600; text-transform: uppercase;
  letter-spacing: .5px; color: var(--muted); line-height: 1.5;
}
.f-nav { padding: 12px 0; }
.f-nav a { color: var(--muted); font-family: 'Nunito', sans-serif; font-size: 14px; font-weight: 600; }
.f-nav a:hover { color: var(--cop-light); }
.f-nav span { margin: 0 10px; color: rgba(255,255,255,.07); }
.f-disc {
  font-family: 'Nunito', sans-serif; font-size: 12px;
  color: rgba(122,106,85,.45); max-width: 680px;
  margin: 8px auto; line-height: 1.6;
}
.f-copy { font-size: 12px; color: rgba(122,106,85,.25); margin-top: 5px; }

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 768px) {
  .block { padding: 18px 14px; }
  .vgrid { grid-template-columns: 1fr; gap: 12px; }
  .tbl5 { font-size: 13px; }
  .tbl5 th, .tbl5 td { padding: 9px 10px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  h2::after { display: none; }
}
@media (max-width: 480px) {
  .tbl5 { font-size: 12px; }
  .tbl5 th, .tbl5 td { padding: 7px 8px; }
  .cta { min-width: 180px; padding: 12px 20px; font-size: 13px; }
}
