/* Binobet Casino — site styles (system fonts, no external loads) */
:root {
  --bg: #12161c;
  --bg-elevated: #1a212b;
  --bg-soft: #222b38;
  --text: #e8ecf1;
  --text-muted: #a8b3c2;
  --accent: #d4a017;
  --accent-hover: #e8b82a;
  --accent-text: #141414;
  --link: #5ec4b6;
  --link-hover: #7ed9cc;
  --border: rgba(255, 255, 255, 0.08);
  --header-h: 72px;
  --radius: 10px;
  --max: 1100px;
  --font: Georgia, "Times New Roman", Times, serif;
  --font-ui: Tahoma, Geneva, Verdana, sans-serif;
}

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

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

body {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(212, 160, 23, 0.12), transparent),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(94, 196, 182, 0.08), transparent);
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: var(--link);
  text-decoration: none;
}

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

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(18, 22, 28, 0.95);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.logo img {
  width: 180px;
  height: auto;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-elevated);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--text);
}

.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  display: block;
  padding: 8px 12px;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--accent);
  background: rgba(212, 160, 23, 0.1);
  text-decoration: none;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 20px;
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none !important;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-text) !important;
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: var(--accent-text) !important;
}

.btn-ghost {
  background: transparent;
  color: var(--text) !important;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent) !important;
}

.btn-lg {
  min-height: 52px;
  padding: 14px 28px;
  font-size: 17px;
}

/* Hero banner */
.hero-banner {
  margin: 24px 0 8px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-elevated);
}

.hero-banner a {
  display: block;
  position: relative;
  text-decoration: none;
}

.hero-banner picture,
.hero-banner img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-cta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--radius) var(--radius);
  margin-top: -1px;
}

.hero-banner + .hero-cta-bar,
.hero-wrap .hero-cta-bar {
  margin-top: 0;
}

.hero-wrap {
  margin: 24px 0 32px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.hero-wrap .hero-banner {
  margin: 0;
  border-radius: 0;
  border: none;
}

.hero-offer {
  font-family: var(--font);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.hero-offer span {
  color: var(--accent);
}

/* Main content */
.main {
  padding: 8px 0 48px;
}

.article h1,
.article h2,
.article h3 {
  font-family: var(--font);
  font-weight: 700;
  line-height: 1.25;
  color: var(--accent);
  margin: 2em 0 0.75em;
}

.article h1 {
  font-size: clamp(1.6rem, 4vw, 2.15rem);
  margin-top: 0.5em;
  color: var(--text);
}

.article h2 {
  font-size: clamp(1.25rem, 3vw, 1.65rem);
}

.article h3 {
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  color: var(--link);
}

.article p {
  margin: 0 0 1.15em;
  color: var(--text);
}

.article ul,
.article ol {
  margin: 0 0 1.25em;
  padding-left: 1.4em;
}

.article li {
  margin-bottom: 0.45em;
}

.article li::marker {
  color: var(--accent);
}

.article strong {
  color: #fff;
  font-weight: 700;
}

.article em {
  font-style: italic;
  color: var(--text-muted);
}

.article table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.5em;
  font-size: 0.95rem;
  background: var(--bg-elevated);
  border-radius: var(--radius);
  overflow: hidden;
}

.article caption {
  caption-side: top;
  text-align: left;
  padding: 0 0 10px;
  font-weight: 700;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.article th,
.article td {
  padding: 12px 14px;
  border: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.article th {
  background: var(--bg-soft);
  color: var(--accent);
  font-weight: 700;
}

.article tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.03);
}

.article .table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1.5em;
}

.article .table-wrap table {
  margin-bottom: 0;
  min-width: 560px;
}

.cta-inline {
  display: flex;
  justify-content: center;
  margin: 28px 0;
}

/* FAQ accordion */
.faq-list {
  margin: 1.5em 0;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-elevated);
  margin-bottom: 10px;
  overflow: hidden;
}

.faq-item h3 {
  margin: 0 !important;
  font-size: 1rem !important;
  font-family: var(--font-ui) !important;
  color: var(--text) !important;
  display: inline;
  font-weight: 700;
}

.faq-item summary,
.faq-item .faq-question {
  display: block;
  padding: 16px 18px;
  cursor: pointer;
  font-weight: 700;
  color: var(--text);
  list-style: none;
  position: relative;
  padding-right: 44px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--accent);
  font-weight: 400;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item .faq-answer {
  padding: 0 18px 16px;
  margin: 0;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

/* Footer */
.site-footer {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  padding: 32px 0 24px;
  margin-top: 24px;
}

.footer-age {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.footer-age img {
  height: 48px;
  width: auto;
  opacity: 0.9;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}

.footer-nav a {
  color: var(--text-muted);
  font-size: 14px;
}

.footer-copy {
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
  margin: 0;
  line-height: 1.5;
}

.footer-copy a {
  color: var(--text-muted);
}

/* Mobile */
@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
    order: 2;
    margin-left: auto;
  }

  .header-cta {
    order: 3;
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .logo {
    order: 1;
  }

  .site-nav-wrap {
    order: 4;
    width: 100%;
    display: none;
    padding-bottom: 12px;
  }

  .site-nav-wrap.is-open {
    display: block;
  }

  .site-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .site-nav a {
    padding: 12px 14px;
    font-size: 16px;
  }

  .header-cta .btn {
    min-height: 40px;
    padding: 8px 12px;
    font-size: 13px;
  }

  .logo img {
    width: 140px;
  }

  .hero-cta-bar {
    flex-direction: column;
    text-align: center;
  }

  .hero-cta-bar .btn {
    width: 100%;
  }

  .article table {
    font-size: 0.88rem;
  }

  .article th,
  .article td {
    padding: 10px;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 16px;
  }

  .container {
    padding: 0 14px;
  }

  .header-cta .btn-ghost {
    display: none;
  }

  .btn-lg {
    width: 100%;
  }
}
