/* ============================================================
   Casino Drakaris — Dragon Emerald Dark
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800;900&display=swap');

:root {
  --bg-deep:        #050807;
  --bg-black:       #0a0e0c;
  --bg-card:        #0f1512;
  --bg-card-hover:  #141c18;
  --emerald:        #00e676;
  --emerald-bright: #39ff14;
  --emerald-dim:    #1b5e3a;
  --emerald-muted:  rgba(0,230,118,0.12);
  --emerald-border: rgba(0,230,118,0.35);
  --emerald-glow:   rgba(0,230,118,0.55);
  --text:           #e8f5e9;
  --text-muted:     #8fa898;
  --text-dim:       #5a7264;
  --white:          #ffffff;
  --font:           'Poppins', system-ui, sans-serif;
  --r:              6px;
  --r-lg:           12px;
  --max:            1120px;
  --hh:             72px;
}

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

body {
  font-family: var(--font);
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  min-height: 100vh;
  overflow-x: hidden;
}
body::before {
  content: '';
  position: fixed; inset: 0; z-index: -1;
  pointer-events: none; opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='52' viewBox='0 0 60 52' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0 L60 26 L30 52 L0 26 Z' fill='none' stroke='%2300e676' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 60px 52px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--emerald); text-decoration: none; transition: color .2s; }
a:hover { color: var(--emerald-bright); }
ul, ol { padding-left: 1.25rem; }
li { margin-bottom: 0.5rem; }
h1,h2,h3,h4 { font-weight: 800; line-height: 1.2; letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem,3.5vw,2.15rem); text-shadow: 0 0 20px rgba(0,230,118,.35); margin-bottom: 1rem; }
h3 { font-size: clamp(1.15rem,2.5vw,1.4rem); color: var(--emerald); margin-bottom: .75rem; }
p { margin-bottom: 1rem; color: var(--text-muted); }
p:last-child { margin-bottom: 0; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }

/* ────────────────────────────────────
   HEADER
──────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--hh);
  background: rgba(5,8,7,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--emerald-border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--hh); gap: 1rem;
}
.logo { display: flex; align-items: center; }
.logo img { height: 48px; width: auto; max-width: 200px; object-fit: contain; }
.header-ctas { display: flex; align-items: center; gap: .65rem; }

/* ────────────────────────────────────
   BUTTONS
──────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .7rem 1.4rem;
  font-family: var(--font); font-weight: 700; font-size: .9rem;
  letter-spacing: .03em; text-transform: uppercase;
  border-radius: var(--r); border: 2px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: transform .2s, box-shadow .2s, background .2s;
  text-shadow: none;
}
.btn:hover { transform: translateY(-2px); color: inherit; }

.btn-primary {
  background: var(--emerald); color: #021a0c;
  box-shadow: 0 0 18px var(--emerald-glow);
}
.btn-primary:hover {
  background: var(--emerald-bright);
  box-shadow: 0 0 32px var(--emerald-glow);
  color: #021a0c;
}
.btn-outline {
  background: transparent; color: var(--emerald);
  border-color: var(--emerald);
}
.btn-outline:hover { background: var(--emerald-muted); color: var(--emerald-bright); }

.btn-ghost {
  background: transparent; color: var(--text-muted);
  border: 2px solid rgba(138,168,152,.35);
}
.btn-ghost:hover { background: rgba(255,255,255,.05); color: var(--text); }

.btn-lg { padding: .95rem 2rem; font-size: 1rem; }

/* ────────────────────────────────────
   HERO
──────────────────────────────────── */
.hero {
  background: var(--bg-deep);
  border-bottom: 1px solid var(--emerald-border);
  overflow: hidden;
}

.hero-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2rem;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
  min-height: 420px;
}

/* левый текст */
.hero-text {
  flex: 1 1 0;
  min-width: 0;
  z-index: 1;
}

.hero-brand {
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--white);
  margin-bottom: .3rem;
  line-height: 1.1;
}
.hero-brand span {
  color: var(--emerald);
  display: block;
  text-shadow: 0 0 30px var(--emerald-glow);
}

.hero-text h1 {
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: .6rem;
  text-shadow: none;
  letter-spacing: -.01em;
}

.hero-text .lead {
  font-size: .95rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

/* правая картинка */
.hero-img-wrap {
  flex: 0 0 auto;
  width: clamp(280px, 44vw, 540px);
  align-self: stretch;
  display: flex;
  align-items: flex-end;
}
.hero-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--r-lg);
  border: 1px solid var(--emerald-border);
  box-shadow: 0 0 40px rgba(0,230,118,.12), 0 8px 40px rgba(0,0,0,.5);
}

/* ────────────────────────────────────
   SCALE DIVIDER
──────────────────────────────────── */
.scale-divider {
  display: flex; align-items: center; justify-content: center;
  padding: .5rem 0; overflow: hidden;
}
.scale-divider svg { width: 100%; max-width: 280px; height: 18px; opacity: .55; }

/* ────────────────────────────────────
   SECTIONS
──────────────────────────────────── */
.section { padding: 4rem 0; position: relative; }
.section-alt { background: linear-gradient(180deg,transparent,rgba(0,230,118,.03),transparent); }
.section-head { margin-bottom: 2rem; max-width: 720px; }
.section-head h2 { margin-bottom: .75rem; }

.claw-icon {
  display: inline-block; width: 28px; height: 28px;
  margin-right: .5rem; vertical-align: middle;
  color: var(--emerald);
  filter: drop-shadow(0 0 6px var(--emerald-glow));
}

/* внутри секций кнопки тоже в ряд */
.hero-ctas {
  display: flex; flex-wrap: wrap; gap: .75rem;
  margin-bottom: 0;
}

/* ────────────────────────────────────
   CARDS
──────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--emerald-border);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.card:hover { border-color: var(--emerald); background: var(--bg-card-hover); box-shadow: 0 0 28px rgba(0,230,118,.15); }
.card h3 { display: flex; align-items: center; gap: .5rem; }
.cards-grid   { display: grid; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); gap: 1.25rem; }
.cards-grid-2 { display: grid; grid-template-columns: repeat(auto-fit,minmax(300px,1fr)); gap: 1.5rem; }

/* ────────────────────────────────────
   TABLES
──────────────────────────────────── */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--emerald-border);
  border-radius: var(--r-lg);
  background: var(--bg-card);
  margin: 1.5rem 0;
}
table { width: 100%; border-collapse: collapse; font-size: .92rem; }
thead { background: rgba(0,230,118,.1); }
th {
  text-align: left; padding: .9rem 1rem;
  font-weight: 700; color: var(--emerald);
  text-transform: uppercase; font-size: .78rem; letter-spacing: .06em;
  border-bottom: 1px solid var(--emerald-border); white-space: nowrap;
}
td { padding: .85rem 1rem; border-bottom: 1px solid rgba(0,230,118,.1); color: var(--text-muted); }
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover td { background: var(--emerald-muted); color: var(--text); }
.table-note { font-size: .88rem; color: var(--text-dim); margin-top: .75rem; }
.code-badge {
  display: inline-block; padding: .2rem .55rem;
  background: var(--emerald-muted); border: 1px solid var(--emerald-border);
  border-radius: 4px; color: var(--emerald-bright);
  font-weight: 700; font-size: .82rem; letter-spacing: .04em;
}

/* ────────────────────────────────────
   FEATURE LIST
──────────────────────────────────── */
.feature-list { list-style: none; padding: 0; }
.feature-list li {
  position: relative; padding: .65rem 0 .65rem 1.75rem;
  border-bottom: 1px solid rgba(0,230,118,.1);
  color: var(--text-muted); margin-bottom: 0;
}
.feature-list li::before {
  content: ''; position: absolute; left: 0; top: 1rem;
  width: 10px; height: 10px;
  background: var(--emerald);
  clip-path: polygon(50% 0%,100% 50%,50% 100%,0% 50%);
  box-shadow: 0 0 8px var(--emerald-glow);
}

/* ────────────────────────────────────
   FAQ
──────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: .85rem; }
.faq-item {
  background: var(--bg-card); border: 1px solid var(--emerald-border);
  border-radius: var(--r); padding: 1.25rem 1.5rem;
  transition: border-color .2s, box-shadow .2s;
}
.faq-item:hover { border-color: var(--emerald); box-shadow: 0 0 16px rgba(0,230,118,.12); }
.faq-item h3 { font-size: 1.05rem; margin-bottom: .5rem; text-shadow: none; }
.faq-item p  { margin-bottom: 0; font-size: .95rem; }

/* ────────────────────────────────────
   CTA BANNER
──────────────────────────────────── */
.cta-banner {
  text-align: center; padding: 3.5rem 2rem;
  background: radial-gradient(ellipse at center,rgba(0,230,118,.12) 0%,transparent 65%), var(--bg-card);
  border: 1px solid var(--emerald-border); border-radius: var(--r-lg);
  box-shadow: 0 0 40px rgba(0,230,118,.1);
}
.cta-banner h2 { margin-bottom: .75rem; }
.cta-banner p  { margin-bottom: 1.75rem; max-width: 520px; margin-left: auto; margin-right: auto; }

/* ────────────────────────────────────
   PAGE BANNER
──────────────────────────────────── */
.page-banner {
  margin: 2rem 0; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--emerald-border); background: #050807; line-height: 0;
}
.page-banner img { width: 100%; height: auto; object-fit: contain; }

/* ────────────────────────────────────
   FOOTER
──────────────────────────────────── */
.site-footer {
  background: #030505; border-top: 1px solid var(--emerald-border);
  padding: 3rem 0 2rem; margin-top: 2rem;
}
.footer-brand { display: inline-block; margin-bottom: .75rem; }
.footer-brand img { height: 44px; width: auto; max-width: 220px; object-fit: contain; }
.footer-tagline { color: var(--text-dim); font-size: .9rem; margin-bottom: 2rem; }
.footer-nav {
  display: flex; flex-wrap: wrap; gap: .75rem 1.5rem;
  margin-bottom: 2rem; padding-bottom: 2rem;
  border-bottom: 1px solid rgba(0,230,118,.12);
}
.footer-nav a { color: var(--text-muted); font-size: .88rem; font-weight: 500; }
.footer-nav a:hover { color: var(--emerald); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; align-items: center; }
.footer-copy { color: var(--text-dim); font-size: .8rem; }
.footer-cta .btn { font-size: .8rem; padding: .55rem 1.1rem; }

/* ────────────────────────────────────
   RESPONSIVE
──────────────────────────────────── */
@media (max-width: 860px) {
  .hero-inner {
    flex-direction: column-reverse;
    min-height: auto;
    padding-top: 2rem;
    padding-bottom: 2rem;
    text-align: center;
  }
  .hero-ctas { justify-content: center; }
  .hero-img-wrap {
    width: clamp(240px, 75vw, 420px);
    align-self: center;
  }
}

@media (max-width: 720px) {
  .header-ctas .btn-outline { display: none; }
  .btn { padding: .6rem 1rem; font-size: .8rem; }
  .section { padding: 2.75rem 0; }
  th, td { padding: .7rem .75rem; font-size: .82rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 1.85rem; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; justify-content: center; }
  .pill { padding: .45rem .65rem; }
  .pill b { font-size: .95rem; }
}

@media (max-width: 420px) {
  .logo img { height: 40px; }
}
