:root {
  --bg: #070b12;
  --bg-elevated: #0f1623;
  --bg-card: #141c2b;
  --border: rgba(255, 255, 255, 0.08);
  --text: #e8edf5;
  --text-muted: #9aa8bc;
  --accent: #2d5fef;
  --accent-2: #36c96b;
  --accent-ios: #368909;
  --gold: #f5c451;
  --danger: #ff5c7a;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --max: 1180px;
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: hidden;
  padding-bottom: env(safe-area-inset-bottom, 0);
}

body.has-mobile-cta {
  padding-bottom: calc(4.25rem + env(safe-area-inset-bottom, 0));
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: #6c9aff;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  padding: 0.75rem 1rem;
  background: var(--accent);
  color: #fff;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.toc a.is-active {
  color: var(--accent);
  font-weight: 600;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: inherit;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
}

.brand img,
.brand-logo {
  height: 42px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  border-radius: 6px;
}

.brand-logo--footer {
  height: 36px;
  max-width: 130px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.lang-dropdown {
  position: relative;
}

.lang-select {
  appearance: none;
  -webkit-appearance: none;
  min-height: 44px;
  min-width: 9.5rem;
  max-width: 11.5rem;
  padding: 0.5rem 2rem 0.5rem 0.75rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-card)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%239aa8bc' d='M1 1l5 5 5-5'/%3E%3C/svg%3E")
    no-repeat right 0.65rem center;
  color: var(--text);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
}

.lang-select:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.header-casino-btn {
  padding: 0.55rem 1rem;
  font-size: 0.88rem;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 8px;
  padding: 0.45rem 0.65rem;
  cursor: pointer;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.25rem 1rem;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}

.site-nav a:hover {
  color: var(--text);
}

/* Buttons — unified size & contrast */
.btn,
a.btn,
button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  box-sizing: border-box;
  min-height: 48px;
  min-width: 13.5rem;
  max-width: 100%;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.25;
  text-decoration: none !important;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
  white-space: normal;
  text-align: center;
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.btn-android {
  background: linear-gradient(135deg, #2d5fef, #1a3fbf);
  color: #fff !important;
  box-shadow: 0 10px 28px rgba(45, 95, 239, 0.35);
}

.btn-ios {
  background: linear-gradient(135deg, #3faa1e, #2a7a12);
  color: #fff !important;
  box-shadow: 0 10px 28px rgba(54, 137, 9, 0.35);
}

.btn-casino {
  background: linear-gradient(135deg, #f5c451, #e0901a);
  color: #1a1205 !important;
  box-shadow: 0 10px 28px rgba(245, 196, 81, 0.28);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text) !important;
  border: 1px solid var(--border);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.25rem 0;
  align-items: stretch;
}

.btn-group .btn {
  flex: 1 1 13.5rem;
}

.btn-compact {
  padding: 0.55rem 0.75rem;
  font-size: 0.82rem;
  min-height: 44px;
}

.hero-cta-block {
  margin: 0.5rem 0 1.25rem;
}

.hero-cta-block .promo-box {
  margin-top: 0;
  width: 100%;
  flex-wrap: wrap;
}

.hero-cta-block .btn-group {
  margin-bottom: 0;
}

/* Sticky conversion bar — mobile */
.mobile-cta-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 150;
  padding: 0.55rem max(0.75rem, env(safe-area-inset-left))
    calc(0.55rem + env(safe-area-inset-bottom, 0)) max(0.75rem, env(safe-area-inset-right));
  background: rgba(7, 11, 18, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  gap: 0.5rem;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.4);
}

.mobile-cta-bar .btn {
  flex: 1 1 0;
  min-width: 0;
  padding: 0.65rem 0.4rem;
  font-size: 0.8rem;
}

/* Hero */
.hero {
  padding: 2.5rem 0 2rem;
  background:
    radial-gradient(ellipse 80% 60% at 10% -10%, rgba(45, 95, 239, 0.22), transparent 55%),
    radial-gradient(ellipse 60% 50% at 90% 0%, rgba(54, 201, 107, 0.12), transparent 50%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: start;
}

.hero-content {
  display: flex;
  flex-direction: column;
}

.hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.65rem);
  line-height: 1.15;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

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

.promo-box {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  background: rgba(245, 196, 81, 0.1);
  border: 1px dashed rgba(245, 196, 81, 0.45);
  border-radius: var(--radius);
  margin: 0.75rem 0 1rem;
}

.promo-code {
  font-family: ui-monospace, monospace;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.08em;
}

.promo-copy {
  background: transparent;
  border: 1px solid rgba(245, 196, 81, 0.5);
  color: var(--gold);
  border-radius: 8px;
  padding: 0.35rem 0.65rem;
  cursor: pointer;
  font-size: 0.8rem;
}

.promo-box--inline {
  display: inline-flex;
  vertical-align: middle;
  margin: 0.15rem 0;
  padding: 0.35rem 0.55rem;
  gap: 0.5rem;
}

.promo-box--inline .promo-code {
  font-size: 1rem;
}

.page-layout--single {
  display: block;
  max-width: var(--max);
  margin: 0 auto;
}

.page-layout--single .content-card {
  max-width: 100%;
}

.site-header .brand--logo-only,
.footer-col--brand .brand--logo-only {
  gap: 0;
}

.hero-visual {
  position: relative;
}

.hero-visual img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.hero-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: rgba(7, 11, 18, 0.85);
  border: 1px solid var(--border);
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}

.check-list {
  margin: 1rem 0;
  padding-left: 1.2rem;
}

.check-list li {
  margin: 0.35rem 0;
}

.check-list li::marker {
  color: var(--accent-2);
}

/* Layout */
.page-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 2rem;
  padding: 1rem 0 3rem;
  align-items: start;
}

.content-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: var(--shadow);
}

.content-card h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  margin: 2.25rem 0 1rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
  scroll-margin-top: 90px;
}

.content-card h2:first-child {
  margin-top: 0;
  border-top: none;
  padding-top: 0;
}

.content-card h3 {
  font-size: 1.15rem;
  margin: 1.5rem 0 0.75rem;
  color: #c5d4ea;
}

.content-card p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.content-card p strong,
.content-card li strong {
  color: var(--text);
}

.content-card ul,
.content-card ol {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  color: var(--text-muted);
}

.content-card li {
  margin: 0.35rem 0;
}

.figure {
  margin: 1.5rem 0;
  text-align: center;
}

.figure img {
  margin-inline: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.figure figcaption {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.gallery img {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
}

/* Tables */
.table-wrap {
  overflow-x: auto;
  margin: 1rem 0 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

th,
td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

th {
  background: rgba(45, 95, 239, 0.12);
  color: var(--text);
  font-weight: 600;
}

tr:last-child td {
  border-bottom: none;
}

tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.02);
}

/* Sidebar */
.sidebar {
  position: sticky;
  top: 88px;
}

.toc-collapsible {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.toc-collapsible > summary {
  padding: 0.9rem 1.1rem;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  list-style: none;
  user-select: none;
}

.toc-collapsible > summary::-webkit-details-marker {
  display: none;
}

.toc-collapsible > summary::after {
  content: "+";
  float: right;
  color: var(--accent);
  font-weight: 700;
}

.toc-collapsible[open] > summary::after {
  content: "−";
}

.toc-collapsible nav {
  padding: 0 1.1rem 1rem;
  border-top: 1px solid var(--border);
}

.toc-collapsible ol {
  margin: 0.75rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.88rem;
}

.toc a {
  color: var(--text-muted);
  text-decoration: none;
  display: block;
  padding: 0.2rem 0;
}

.toc a:hover {
  color: var(--text);
}

.cta-card {
  margin-top: 1rem;
  padding: 1.1rem;
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(45, 95, 239, 0.18), rgba(54, 201, 107, 0.08));
  border: 1px solid var(--border);
  text-align: center;
}

.cta-card p {
  margin: 0 0 0.75rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* Reviews */
.reviews {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0;
}

.review-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
}

.review-stars {
  color: var(--gold);
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.review-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.review-card p {
  margin: 0;
  font-size: 0.95rem;
}

/* Expert */
.expert {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.25rem;
  background: rgba(45, 95, 239, 0.08);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin: 1.5rem 0;
}

.expert img {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
}

.expert-name {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

/* FAQ */
.faq-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.65rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
}

.faq-item summary {
  padding: 1rem 1.1rem;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

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

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--accent);
  font-weight: 700;
}

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

.faq-answer {
  padding: 0 1.1rem 1rem;
  color: var(--text-muted);
  margin: 0;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: #05080e;
  padding: 2rem 0;
  margin-top: 2rem;
  text-align: center;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem 1.5rem;
  width: 100%;
  max-width: 900px;
  justify-items: center;
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-col--brand .brand {
  justify-content: center;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer h3 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin: 0 0 0.75rem;
}

.site-footer li {
  margin: 0.35rem 0;
}

.site-footer a {
  color: var(--text-muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--text);
}

.footer-bottom {
  margin-top: 1.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  width: 100%;
  max-width: 900px;
  font-size: 0.88rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  text-align: center;
}

.copyright-line {
  display: block;
}

/* Cookie */
.cookie-banner {
  position: fixed;
  bottom: calc(1rem + env(safe-area-inset-bottom, 0));
  right: 1rem;
  left: 1rem;
  max-width: 480px;
  margin-left: auto;
  z-index: 200;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow);
  display: none;
}

.cookie-banner.is-visible {
  display: block;
}

.cookie-banner p {
  margin: 0 0 0.85rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: center;
  font-size: 0.85rem;
}

.footer-legal a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-legal a:hover {
  color: var(--gold);
}

.legal-updated {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.breadcrumbs {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.breadcrumbs ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.breadcrumbs li:not(:last-child)::after {
  content: "›";
  margin-left: 0.35rem;
  opacity: 0.5;
}

.breadcrumbs a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 0.75rem;
}

.footer-dmca {
  margin-top: 1rem;
  opacity: 0.85;
}

.cta-card-casino {
  display: flex;
  width: 100%;
  margin-top: 0.5rem;
  justify-content: center;
}

.inner-page-cta {
  max-width: var(--max);
  margin: 0 auto 1rem;
  padding: 0 1rem;
}

.inner-page-cta .btn-group .btn {
  min-height: 48px;
}

/* WordPress content compatibility */
.wp-content .article-body img,
.content-card.wp-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.wp-content .article-body h2,
.content-card.wp-content h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  margin: 2rem 0 1rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
  color: var(--text);
}

.wp-content .article-body h3 {
  font-size: 1.1rem;
  margin: 1.25rem 0 0.65rem;
  color: #c5d4ea;
}

.wp-content .article-body p,
.wp-content .article-body li {
  color: var(--text-muted);
}

.wp-content .article-body a {
  color: var(--accent);
}

.wp-content .article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}

.wp-content .article-body td,
.wp-content .article-body th {
  border: 1px solid var(--border);
  padding: 0.6rem 0.75rem;
}

.page-layout--inner {
  align-items: start;
}

/* Imported WP content — normalized */
.article-body .content-img,
.wp-content img,
.content-card.wp-content img {
  max-width: 100% !important;
  width: auto !important;
  height: auto !important;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin: 0.5rem auto;
}

.article-body > .figure:first-child img,
.article-body > figure:first-child img,
.content-figure img {
  max-height: 420px;
  object-fit: cover;
  width: 100%;
}

.article-body .figure,
.content-figure {
  margin: 1.25rem auto;
  text-align: center;
  max-width: 100%;
}

/* Phone screenshots — limit width */
.article-body img.content-img[width],
.article-body figure img {
  max-width: min(100%, 420px);
  margin-inline: auto;
}

.feature-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.feature-card {
  background: rgba(45, 95, 239, 0.08);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  color: var(--text);
}

.feature-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.2rem;
  color: var(--text);
}

.feature-card ul {
  margin: 0 0 1rem;
  padding-left: 1.1rem;
  color: var(--text-muted);
}

.feature-card .btn-group {
  margin: 0;
}

/* Hide leftover WP widgets (not converted reviews) */
.ti-widget:not(:has(.review-card)),
.ti-review-item,
.ti-review-header,
.ti-footer,
.expert-review-faq,
.expert-review-expert,
.wp-block-pullquote,
.copy-the-code-shortcode,
.table-of-contents,
#toc_container,
.toc_container,
.copy-the-code-shortcode {
  display: none !important;
}

/* WP button wrappers — let .btn flex rules apply */
.article-body .wp-block-button,
.article-body .wp-block-buttons .wp-block-button {
  display: contents;
  margin: 0;
}

.article-body a.btn,
.feature-card a.btn,
.btn-group a.btn {
  color: inherit;
}

.article-body .has-text-color a.btn,
.article-body .wp-block-button__link {
  color: inherit;
}

.article-body .wp-block-paragraph,
.article-body p {
  color: var(--text-muted);
}

.article-body .wp-block-heading,
.article-body h2.wp-block-heading,
.article-body h2 {
  color: var(--text);
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  margin: 2rem 0 1rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
}

.article-body h3.wp-block-heading,
.article-body h3 {
  color: #c5d4ea;
  font-size: 1.1rem;
  margin: 1.25rem 0 0.65rem;
  border: none;
  padding: 0;
}

.article-body .table-wrap,
.article-body table {
  margin: 1rem 0 1.5rem;
}

.article-body .btn-group {
  margin: 1rem 0 1.5rem;
}

.reviews-more {
  margin: 0.5rem 0 0;
  text-align: center;
}

.reviews-more .btn {
  min-width: 13.5rem;
}

.html-sitemap ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.html-sitemap li {
  margin: 0.5rem 0;
  padding: 0.65rem 0.85rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.html-sitemap a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
}

.html-sitemap a:hover {
  color: var(--accent);
}

.expert-photo {
  width: 88px !important;
  height: 88px !important;
  max-width: 88px !important;
  border-radius: 50%;
  object-fit: cover;
  margin: 0;
}

.article-body blockquote {
  border-left: 3px solid var(--accent);
  margin: 1rem 0;
  padding: 0.75rem 1rem;
  background: rgba(45, 95, 239, 0.06);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--text-muted);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  max-width: 480px;
  margin: 0.35rem auto;
  display: block;
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 960px) {
  body.has-mobile-cta .cookie-banner.is-visible {
    bottom: calc(4.75rem + env(safe-area-inset-bottom, 0));
  }

  .mobile-cta-bar {
    display: flex;
  }

  .hero-grid,
  .page-layout {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 1.25rem;
  }

  .hero-content {
    display: contents;
  }

  .hero-grid .hero-head {
    order: 1;
  }

  .hero-grid .hero-cta-block {
    order: 2;
  }

  .hero-grid .hero-visual {
    order: 3;
  }

  .hero-grid .hero-body {
    order: 4;
  }

  .hero h1 {
    font-size: clamp(1.45rem, 5.5vw, 2rem);
  }

  .hero-cta-block .btn-group {
    flex-direction: column;
  }

  .hero-cta-block .btn {
    width: 100%;
    min-height: 48px;
  }

  .sidebar {
    position: static;
    order: -1;
  }

  .header-inner {
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0;
  }

  .brand {
    flex: 0 1 auto;
    min-width: 0;
  }

  .brand span {
    font-size: 0.95rem;
  }

  .brand-logo {
    height: 34px;
    max-width: 96px;
  }

  .header-casino-btn {
    display: none !important;
  }

  .lang-select {
    min-width: 0;
    width: 4.5rem;
    max-width: 4.75rem;
    min-height: 40px;
    padding: 0.35rem 1.25rem 0.35rem 0.45rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.02em;
  }

  .header-actions {
    flex: 0 1 auto;
    margin-left: auto;
    min-width: 0;
    flex-wrap: nowrap;
    gap: 0.35rem;
  }

  .nav-toggle {
    order: 3;
    flex-shrink: 0;
  }

  .nav-toggle {
    display: inline-flex;
    min-height: 44px;
    min-width: 44px;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
    padding: 1rem;
    max-height: min(70vh, 420px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

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

  .site-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .site-nav a {
    display: block;
    padding: 0.65rem 0;
    min-height: 44px;
    line-height: 1.4;
  }

  .site-header .header-inner {
    position: relative;
  }

  .content-card {
    padding: 1.1rem;
  }

  .content-card h2 {
    scroll-margin-top: 72px;
    font-size: 1.3rem;
  }

  .expert {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .expert img {
    margin-inline: auto;
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(100% - 1.25rem, var(--max));
  }

  body {
    font-size: 16px;
  }

  .btn-group:not(.hero-cta-block .btn-group) {
    flex-direction: column;
  }

  .btn-group:not(.hero-cta-block .btn-group) .btn,
  .btn-group .btn {
    width: 100%;
    min-width: 0;
    flex: 1 1 100%;
    min-height: 48px;
  }

  .promo-box {
    display: flex;
    width: 100%;
    justify-content: space-between;
  }

  th,
  td {
    padding: 0.6rem 0.65rem;
    font-size: 0.85rem;
  }

  .mobile-cta-bar .btn {
    font-size: 0.75rem;
  }
}

@media (min-width: 961px) {
  .hero-cta-block .btn-group {
    flex-wrap: nowrap;
  }

  .article-body .btn-group .btn,
  .feature-card .btn-group .btn {
    flex: 1 1 0;
    min-width: 13.5rem;
    max-width: 320px;
  }
}
