/* vehaskazyno.com — «Vegas night» design system. Dark theme, no external resources. */
:root {
  --bg: #0e0b1e;
  --bg-2: #141026;
  --panel: #1b1533;
  --panel-2: #221a40;
  --line: #2e2554;
  --gold: #f5c542;
  --gold-soft: #ffe08a;
  --neon: #7c5cff;
  --neon-soft: #a893ff;
  --text: #f2eefc;
  --muted: #b9b2d6;
  --danger: #ff6b81;
  --radius: 14px;
  --radius-sm: 10px;
  --container: 1180px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(124, 92, 255, 0.16), transparent 60%),
    radial-gradient(900px 480px at -10% 8%, rgba(245, 197, 66, 0.07), transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  background-attachment: fixed;
  min-height: 100vh;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-soft); }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.35em; }
li { margin-bottom: 0.35em; }
strong { color: var(--text); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 44px 0; }
.section--tight { padding: 28px 0; }

h1, h2, h3, h4 { line-height: 1.18; margin: 0 0 0.55em; font-weight: 800; letter-spacing: -0.01em; overflow-wrap: break-word; }
h1 { font-size: clamp(30px, 5vw, 52px); }
h2 { font-size: clamp(24px, 3.4vw, 34px); }
h3 { font-size: clamp(19px, 2.4vw, 23px); }
h2 .accent, h1 .accent { color: var(--gold); }
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 62ch; }
.kicker {
  display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--neon-soft); margin-bottom: 12px;
}
.microcopy { font-size: 13px; color: var(--muted); }

/* Skip link */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--gold); color: #141026; font-weight: 700;
  padding: 10px 18px; border-radius: var(--radius-sm); transition: top 0.2s;
}
.skip-link:focus { top: 12px; color: #141026; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(14, 11, 30, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; gap: 18px; min-height: 66px; }
.site-logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav a {
  display: inline-block; padding: 10px 13px; border-radius: var(--radius-sm);
  color: var(--muted); font-weight: 600; font-size: 15px;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--text); background: var(--panel); }
.lang-switch { display: flex; align-items: center; gap: 2px; font-size: 13px; font-weight: 700; }
.lang-switch a, .lang-switch span { padding: 7px 10px; border-radius: 8px; color: var(--muted); }
.lang-switch span[aria-current] { color: #141026; background: var(--gold); }
.lang-switch a:hover { color: var(--text); background: var(--panel); }
.header-cta { flex-shrink: 0; }
.menu-toggle {
  display: none; margin-left: auto; background: var(--panel); color: var(--text);
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  min-width: 44px; min-height: 44px; font-size: 20px; cursor: pointer;
}

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 26px; border-radius: 12px;
  font-weight: 800; font-size: 16px; cursor: pointer; border: 0;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.button--primary {
  background: linear-gradient(135deg, var(--gold) 0%, #e8a93d 100%);
  color: #141026;
  box-shadow: 0 6px 22px rgba(245, 197, 66, 0.28);
}
.button--primary:hover { color: #141026; transform: translateY(-1px); box-shadow: 0 10px 28px rgba(245, 197, 66, 0.36); }
.button--outline {
  background: transparent; color: var(--text);
  border: 1.5px solid var(--neon);
}
.button--outline:hover { background: rgba(124, 92, 255, 0.14); color: var(--text); }
.button--full { width: 100%; }
.button--sm { min-height: 42px; padding: 8px 18px; font-size: 14.5px; }

/* Hero */
.hero { padding: 72px 0 56px; position: relative; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 48px; align-items: center; }
.hero__art { border-radius: var(--radius); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 18px; }
.badge-18 {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 46px; min-height: 46px; border-radius: 50%;
  border: 2px solid var(--danger); color: var(--danger);
  font-weight: 800; font-size: 15px;
}
.hero__meta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 20px; }
.disclaimer {
  background: rgba(124, 92, 255, 0.10); border: 1px solid var(--line);
  border-left: 4px solid var(--neon); border-radius: var(--radius-sm);
  padding: 14px 18px; font-size: 14.5px; color: var(--muted);
}
.disclaimer strong { color: var(--text); }

/* Trust panel */
.trust-panel { padding: 26px 0; }
.trust-panel__grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px;
}
.trust-item { display: flex; gap: 12px; align-items: flex-start; }
.trust-item svg { flex-shrink: 0; margin-top: 3px; }
.trust-item strong { display: block; font-size: 15px; }
.trust-item span { font-size: 13.5px; color: var(--muted); }

/* Card grids */
.card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.card-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
  display: block; background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px; color: var(--text);
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.card:hover { transform: translateY(-3px); border-color: var(--neon); color: var(--text); }
.card h3 { margin-bottom: 8px; font-size: 18px; }
.card p { font-size: 14px; color: var(--muted); margin: 0; }
.card .card__more { display: inline-block; margin-top: 12px; font-size: 13.5px; font-weight: 700; color: var(--gold); }

/* Game showcase */
.showcase { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.showcase--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.game-card {
  display: flex; flex-direction: column; background: var(--panel);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  color: var(--text); transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.game-card:hover, .game-card:focus-visible {
  transform: translateY(-4px); border-color: var(--gold);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45); color: var(--text);
}
.game-card__cover { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; display: block; background: var(--panel-2); }
.game-card__body { padding: 14px 16px 16px; }
.game-card__title { display: block; font-weight: 800; font-size: 16px; margin: 0 0 4px; }
.game-card__provider { display: block; font-size: 13px; color: var(--muted); margin: 0; }
.game-card__tag {
  display: inline-block; margin-top: 10px; font-size: 12px; font-weight: 700;
  padding: 3px 10px; border-radius: 999px;
  background: rgba(124, 92, 255, 0.18); color: var(--neon-soft);
  border: 1px solid rgba(124, 92, 255, 0.4);
}
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 22px; }
.filter-bar button {
  min-height: 44px; padding: 8px 16px; border-radius: 999px; cursor: pointer;
  background: var(--panel); border: 1px solid var(--line);
  color: var(--muted); font-weight: 700; font-size: 14px;
}
.filter-bar button[aria-pressed="true"] {
  background: var(--gold); border-color: var(--gold); color: #141026;
}
.filter-empty { display: none; color: var(--muted); }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); margin: 0 0 1.4em; }
table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 15px; }
caption { text-align: left; padding: 12px 16px 0; color: var(--muted); font-size: 14px; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--panel-2); font-size: 13.5px; text-transform: uppercase; letter-spacing: 0.05em; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: rgba(124, 92, 255, 0.06); }

/* FAQ */
.faq details:not([open]) > :not(summary) { display: none; } /* robust collapse in all engines */
.faq details {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius-sm); margin-bottom: 12px;
}
.faq summary {
  cursor: pointer; padding: 16px 20px; font-weight: 700; font-size: 16.5px;
  list-style: none; position: relative; padding-right: 48px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  font-size: 22px; color: var(--gold); font-weight: 400;
}
.faq details[open] summary::after { content: "−"; }
.faq details > div { padding: 0 20px 16px; color: var(--muted); }

/* Breadcrumbs */
.breadcrumbs { padding: 18px 0 0; font-size: 14px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.breadcrumbs li { margin: 0; display: flex; align-items: center; gap: 6px; color: var(--muted); }
.breadcrumbs li + li::before { content: "›"; color: var(--line); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--gold); }
.breadcrumbs [aria-current] { color: var(--text); }

/* Panels / lists */
.panel {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px;
}
.panel--highlight { border-color: rgba(245, 197, 66, 0.45); background: linear-gradient(160deg, var(--panel) 0%, rgba(245, 197, 66, 0.06) 100%); }
.check-list { list-style: none; padding: 0; }
.check-list li { padding-left: 28px; position: relative; margin-bottom: 10px; color: var(--muted); }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 800; }

/* Sticky mobile CTA */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  display: none; gap: 10px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  background: rgba(20, 16, 38, 0.96); border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform 0.25s ease;
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta .button { flex: 1; min-height: 46px; font-size: 15px; padding: 10px 12px; }

/* Dialogs / bottom sheet */
dialog.modal {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--panel); color: var(--text);
  max-width: 440px; width: calc(100% - 32px); padding: 30px 26px 26px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
dialog.modal::backdrop { background: rgba(8, 6, 18, 0.72); backdrop-filter: blur(3px); }
dialog.modal h2 { font-size: 24px; margin-bottom: 10px; }
dialog.modal .modal__lead { color: var(--muted); font-size: 15px; margin-bottom: 20px; }
dialog.modal .button { margin-bottom: 10px; }
dialog.modal .microcopy { margin: 8px 0 0; text-align: center; }
.modal__close {
  position: absolute; top: 10px; right: 10px;
  min-width: 44px; min-height: 44px; border-radius: 50%;
  background: transparent; border: 0; color: var(--muted);
  font-size: 24px; cursor: pointer;
}
.modal__close:hover { color: var(--text); background: var(--panel-2); }

/* Footer */
.site-footer { margin-top: 64px; border-top: 1px solid var(--line); background: #0a0817; }
.footer-links { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; padding-top: 44px; padding-bottom: 30px; }
.footer-links strong { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold); margin-bottom: 12px; }
.footer-links a { display: block; color: var(--muted); font-size: 14.5px; padding: 4px 0; }
.footer-links a:hover { color: var(--text); }
.footer-bottom { border-top: 1px solid var(--line); padding: 22px 0 calc(22px + env(safe-area-inset-bottom, 0px)); }
.footer-bottom p { font-size: 13px; color: var(--muted); margin: 0 0 8px; }
.footer-meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 12px; }
.footer-support { font-size: 14px; font-weight: 700; }

/* Focus */
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

/* Body lock while dialog open */
body.dialog-open { overflow: hidden; }
body.dialog-open .sticky-cta { display: none !important; }

/* Responsive */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .hero__art { max-width: 560px; justify-self: center; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .showcase, .showcase--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-links { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  body { padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px)); } /* room for sticky CTA over footer */
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg-2); border-bottom: 1px solid var(--line);
    display: none;
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; padding: 12px 20px 20px; }
  .main-nav a { display: block; padding: 12px 14px; }
  .header-cta { display: none; }
  .site-header__inner { gap: 10px; }
  .trust-panel__grid { grid-template-columns: minmax(0, 1fr); }
  .sticky-cta { display: flex; }
  dialog.modal {
    max-width: none; width: 100%; margin: auto 0 0;
    border-radius: var(--radius) var(--radius) 0 0;
  }
  .hero { padding: 44px 0 40px; }
}
@media (max-width: 520px) {
  .card-grid, .card-grid--3, .showcase, .showcase--4 { grid-template-columns: minmax(0, 1fr); }
  .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__cta .button { width: 100%; }
  .site-header__inner { gap: 8px; }
  .site-logo img { width: 168px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
