/* ==========================================================================
   u7777 game — Main stylesheet
   1.  Layout primitives
   2.  Typography helpers
   3.  Buttons & badges
   4.  Header / navigation / drawer
   5.  Language switcher
   6.  Footer
   7.  Floating support FAB + mobile bottom bar
   8.  Cards, panels & shared blocks
   9.  Marquee ticker
   10. FAQ accordion
   11. Scroll-reveal & keyframes
   ========================================================================== */

/* ============================== 1. LAYOUT ============================== */

.container {
  width: 100%;
  max-width: calc(var(--container-max) + (var(--gutter) * 2));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--wide { max-width: calc(var(--container-wide) + (var(--gutter) * 2)); }
.container--text { max-width: calc(var(--container-text) + (var(--gutter) * 2)); }

.section { position: relative; padding-block: var(--section-y); }
.section--alt { background: var(--color-bg-alt); }
.section--tight { padding-block: clamp(2.25rem, 1.8rem + 2vw, 3.5rem); }
.section--flush-top { padding-top: 0; }

/* Hairline gold rules replace hard borders between sections */
.section--ruled::before,
.rule-gold {
  content: '';
  display: block;
  height: 1px;
  background: var(--gradient-gold-line);
  opacity: 0.55;
}
.section--ruled::before {
  position: absolute;
  inset-inline: 0;
  top: 0;
  width: 100%;
}

/* Faint geometric depth layer used behind hero + CTA bands */
.bg-grid {
  position: absolute;
  inset: 0;
  z-index: var(--z-decor);
  pointer-events: none;
  background-image:
    linear-gradient(rgba(91, 109, 150, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91, 109, 150, 0.055) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(ellipse 80% 62% at 50% 34%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 62% at 50% 34%, #000 20%, transparent 78%);
}

.skip-link {
  position: absolute;
  left: 50%;
  top: -100px;
  transform: translateX(-50%);
  z-index: var(--z-modal);
  padding: 0.75rem 1.5rem;
  background: var(--color-accent);
  color: #0A0E1A;
  font-weight: 700;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  transition: top var(--t-mid) var(--ease);
}
.skip-link:focus { top: 0; color: #0A0E1A; }

/* Visually hidden but announced by screen readers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.grid { display: grid; gap: var(--sp-5); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 336px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 235px), 1fr)); }

/* ============================ 2. TYPOGRAPHY ============================ */

.section-head {
  max-width: 760px;
  margin-bottom: clamp(2rem, 1.6rem + 1.4vw, 3.25rem);
}
.section-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: var(--sp-4);
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-accent);
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-accent));
}
.section-head--center .eyebrow::after {
  content: '';
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, var(--color-accent), transparent);
}

.section-title { font-size: var(--fs-h2); margin-bottom: var(--sp-4); }
.section-title--sm { font-size: var(--fs-h3); }

.lead {
  font-size: var(--fs-lead);
  line-height: 1.72;
  color: var(--color-text-secondary);
}

.text-gold {
  background: var(--gradient-gold-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--color-accent);
}
.text-muted { color: var(--color-text-muted); }
.text-center { text-align: center; }

.prose p { margin-bottom: var(--sp-4); }
/* Body-font subheads keep long-form copy readable; the serif is reserved for
   section titles so the hierarchy stays legible rather than shouty. */
.prose h3 {
  position: relative;
  margin-top: var(--sp-7);
  padding-left: 0.95rem;
  font-family: var(--font-body);
  font-size: var(--fs-h3);
  font-weight: 700;
  letter-spacing: -0.005em;
}
.prose h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.16em;
  bottom: 0.16em;
  width: 3px;
  border-radius: 2px;
  background: var(--gradient-gold);
}
.prose h4 {
  margin-top: var(--sp-5);
  font-size: var(--fs-h4);
  font-family: var(--font-body);
  letter-spacing: 0.01em;
  color: var(--color-accent);
}
.prose ul, .prose ol { margin-bottom: var(--sp-5); }
.prose li::marker { color: var(--color-accent); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }

/* Keyword-rich inline chip list */
.keyword-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
  margin: var(--sp-5) 0 0;
  list-style: none;
}
.keyword-cloud li { margin: 0; }
.keyword-cloud span,
.keyword-cloud a {
  display: inline-block;
  padding: 0.34rem 0.8rem;
  border: 1px solid var(--color-border);
  border-radius: var(--r-pill);
  background: rgba(19, 26, 46, 0.7);
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  transition: border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.keyword-cloud a:hover { border-color: var(--color-accent); color: var(--color-accent); }

/* ============================== 3. BUTTONS ============================= */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.92rem 1.75rem;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform var(--t-mid) var(--ease-out),
              box-shadow var(--t-mid) var(--ease),
              background-color var(--t-mid) var(--ease),
              border-color var(--t-mid) var(--ease),
              color var(--t-mid) var(--ease);
}
.btn:active { transform: translateY(1px) scale(0.99); }

/* Gold shimmer sweep */
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, 0.42) 48%, transparent 74%);
  transform: translateX(-120%);
  transition: transform 620ms var(--ease-out);
}
.btn:hover::after { transform: translateX(120%); }

.btn--primary {
  background: var(--gradient-gold);
  color: #14100A;
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.26), var(--shadow-inset-top);
}
.btn--primary:hover {
  color: #14100A;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.38), var(--shadow-glow-gold);
}

.btn--ghost {
  border: 1px solid var(--color-slate);
  background: rgba(26, 35, 64, 0.55);
  color: var(--color-text-primary);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover {
  border-color: var(--color-accent);
  color: var(--color-accent-bright);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-gold);
}

.btn--outline-gold {
  border: 1px solid rgba(212, 175, 55, 0.55);
  background: rgba(212, 175, 55, 0.06);
  color: var(--color-accent);
}
.btn--outline-gold:hover {
  border-color: var(--color-accent);
  background: rgba(212, 175, 55, 0.13);
  color: var(--color-accent-bright);
  transform: translateY(-2px);
}

/* Telegram action button — real brand icon, brand-blue tinted */
.btn--telegram {
  border: 1px solid rgba(41, 169, 235, 0.45);
  background: linear-gradient(135deg, rgba(41, 169, 235, 0.18), rgba(41, 169, 235, 0.07));
  color: #BFE6FB;
}
.btn--telegram:hover {
  border-color: var(--color-telegram);
  background: linear-gradient(135deg, rgba(41, 169, 235, 0.3), rgba(41, 169, 235, 0.12));
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(41, 169, 235, 0.28);
}
.btn--telegram .icon-telegram { color: var(--color-telegram); flex: none; }
.btn--telegram:hover .icon-telegram { color: #6FD0FF; }

.btn--lg { padding: 1.06rem 2.15rem; font-size: 1rem; }
.btn--sm { padding: 0.62rem 1.15rem; font-size: var(--fs-xs); }
.btn--block { display: flex; width: 100%; }

/* Soft glow pulse reserved for the primary conversion button */
.btn--pulse { animation: btnPulse 3.2s var(--ease) infinite; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

/* Badges & chips */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.72rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--color-border);
  background: rgba(19, 26, 46, 0.85);
  font-size: var(--fs-xxs);
  font-weight: 700;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-text-secondary);
}
.badge--gold {
  border-color: rgba(212, 175, 55, 0.42);
  background: rgba(212, 175, 55, 0.1);
  color: var(--color-accent);
}
.badge--live {
  border-color: rgba(46, 212, 122, 0.4);
  background: rgba(46, 212, 122, 0.1);
  color: var(--color-success);
}
.badge--live .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-success);
  animation: dotPulse 1.9s var(--ease) infinite;
}

/* ========================= 4. HEADER / NAVIGATION ====================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  width: 100%;
  background: rgba(10, 14, 26, 0.72);
  border-bottom: 1px solid transparent;
  transition: background-color var(--t-mid) var(--ease),
              border-color var(--t-mid) var(--ease),
              backdrop-filter var(--t-mid) var(--ease),
              box-shadow var(--t-mid) var(--ease);
}
.site-header.is-stuck {
  background: rgba(10, 14, 26, 0.93);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border-bottom-color: var(--color-border);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.45);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  height: var(--header-h);
}

/* --- Logo lockup: sized for real legibility, never stretched ----------- */
.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
  padding: 4px 2px;
  border-radius: var(--r-sm);
  transition: transform var(--t-mid) var(--ease-out), filter var(--t-mid) var(--ease);
}
.brand img {
  width: auto;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 2px 10px rgba(212, 175, 55, 0.35));
  transition: filter var(--t-mid) var(--ease);
}
.brand:hover { transform: translateY(-1px); }
.brand:hover img { filter: drop-shadow(0 3px 16px rgba(241, 201, 74, 0.6)); }

.brand--footer img { height: 54px; }
.brand--lg img { height: 68px; }

.main-nav { margin-left: auto; }
.nav-list {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-list li { margin: 0; }
.nav-list a {
  position: relative;
  display: block;
  padding: 0.6rem 0.9rem;
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--color-text-secondary);
  white-space: nowrap;
  transition: color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.nav-list a::after {
  content: '';
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.34rem;
  height: 1px;
  background: var(--gradient-gold-line);
  transform: scaleX(0);
  transition: transform var(--t-mid) var(--ease-out);
}
.nav-list a:hover { color: var(--color-text-primary); background: rgba(26, 35, 64, 0.6); }
.nav-list a:hover::after,
.nav-list a[aria-current="page"]::after { transform: scaleX(1); }
.nav-list a[aria-current="page"] { color: var(--color-accent); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex: none;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: rgba(19, 26, 46, 0.8);
  color: var(--color-text-secondary);
  transition: border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease),
              transform var(--t-fast) var(--ease-out), box-shadow var(--t-fast) var(--ease);
}
.icon-btn:hover {
  border-color: var(--color-telegram);
  color: var(--color-telegram);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(41, 169, 235, 0.25);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  border: 1px solid var(--color-border);
  background: rgba(19, 26, 46, 0.8);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  border-radius: 2px;
  background: var(--color-text-primary);
  transition: transform var(--t-mid) var(--ease), opacity var(--t-fast) var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- Mobile drawer ----------------------------------------------------- */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: var(--z-drawer);
  background: rgba(5, 7, 14, 0.7);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-mid) var(--ease), visibility var(--t-mid) var(--ease);
}
.drawer-backdrop.is-open { opacity: 1; visibility: visible; }

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: calc(var(--z-drawer) + 1);
  width: min(340px, 88vw);
  height: 100%;
  padding: var(--sp-5) var(--sp-5) var(--sp-8);
  background: linear-gradient(170deg, #131A2E 0%, #0A0E1A 100%);
  border-left: 1px solid var(--color-border);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.6);
  transform: translateX(105%);
  transition: transform var(--t-slow) var(--ease-out);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.drawer.is-open { transform: translateX(0); }

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding-bottom: var(--sp-4);
  margin-bottom: var(--sp-4);
  border-bottom: 1px solid var(--color-border);
}
.drawer-head img { height: 38px; width: auto; }
.drawer-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  font-size: 1.35rem;
  line-height: 1;
}
.drawer-close:hover { border-color: var(--color-accent); color: var(--color-accent); }

.drawer-nav { list-style: none; margin: 0 0 var(--sp-5); padding: 0; }
.drawer-nav li { margin: 0; border-bottom: 1px solid rgba(35, 44, 72, 0.7); }
.drawer-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.95rem 0.25rem;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--color-text-secondary);
}
.drawer-nav a::after { content: '→'; opacity: 0; transform: translateX(-6px); transition: all var(--t-mid) var(--ease-out); }
.drawer-nav a:hover { color: var(--color-accent); }
.drawer-nav a:hover::after { opacity: 1; transform: translateX(0); }
.drawer-nav a[aria-current="page"] { color: var(--color-accent); }
.drawer-foot { display: grid; gap: 0.7rem; }

/* ========================= 5. LANGUAGE SWITCHER ======================== */

.lang-switch { position: relative; flex: none; }
.lang-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.85rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--color-border);
  background: rgba(19, 26, 46, 0.8);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--color-text-secondary);
  transition: border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.lang-trigger:hover { border-color: var(--color-accent); color: var(--color-accent); }
.lang-trigger .chev { transition: transform var(--t-mid) var(--ease); }
.lang-trigger[aria-expanded="true"] .chev { transform: rotate(180deg); }

.lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 172px;
  margin: 0;
  padding: 0.4rem;
  list-style: none;
  border-radius: var(--r-md);
  border: 1px solid var(--color-border);
  background: rgba(15, 20, 36, 0.98);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--t-mid) var(--ease), transform var(--t-mid) var(--ease-out), visibility var(--t-mid);
}
.lang-menu.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-menu li { margin: 0; }
.lang-menu button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  width: 100%;
  padding: 0.6rem 0.75rem;
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  color: var(--color-text-secondary);
  text-align: left;
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.lang-menu button:hover { background: var(--color-surface-2); color: var(--color-text-primary); }
.lang-menu button[aria-selected="true"] { color: var(--color-accent); }
.lang-menu button[aria-selected="true"]::after { content: '✓'; }

/* ============================== 6. FOOTER ============================= */

.site-footer {
  position: relative;
  margin-top: var(--sp-6);
  padding-top: clamp(3rem, 2.4rem + 2.2vw, 4.75rem);
  background: linear-gradient(180deg, var(--color-bg-alt) 0%, #070A13 100%);
  border-top: 1px solid var(--color-border);
}
.site-footer::before {
  content: '';
  position: absolute;
  top: -1px;
  inset-inline: 0;
  height: 1px;
  background: var(--gradient-gold-line);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: clamp(1.75rem, 1.2rem + 2vw, 3.25rem);
  padding-bottom: var(--sp-7);
}
.footer-brand p { font-size: var(--fs-sm); line-height: 1.8; }
.footer-brand .brand { margin-bottom: var(--sp-4); }

.footer-col h3 {
  margin-bottom: var(--sp-4);
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-accent);
}
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 0.62rem; }
.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: var(--fs-sm);
  color: var(--color-text-secondary);
}
.footer-links a:hover { color: var(--color-accent); }
.footer-links a::before {
  content: '';
  width: 0;
  height: 1px;
  background: var(--color-accent);
  transition: width var(--t-mid) var(--ease-out);
}
.footer-links a:hover::before { width: 12px; }

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: var(--sp-4);
}

.footer-channel {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 0.85rem 1rem;
  margin-bottom: 0.7rem;
  border-radius: var(--r-md);
  border: 1px solid var(--color-border);
  background: rgba(19, 26, 46, 0.6);
  transition: border-color var(--t-mid) var(--ease), transform var(--t-mid) var(--ease-out);
}
.footer-channel:hover { border-color: rgba(41, 169, 235, 0.6); transform: translateY(-2px); }
.footer-channel .icon-telegram { color: var(--color-telegram); flex: none; margin-top: 2px; }
.footer-channel b { display: block; font-size: var(--fs-sm); color: var(--color-text-primary); }
.footer-channel span { display: block; font-size: var(--fs-xs); color: var(--color-text-muted); line-height: 1.5; }

.footer-disclaimer {
  padding: var(--sp-5) 0;
  border-top: 1px solid var(--color-border);
}
.footer-disclaimer p {
  max-width: 100%;
  font-size: var(--fs-xs);
  line-height: 1.85;
  color: var(--color-text-muted);
}
.footer-disclaimer strong { color: var(--color-text-secondary); }
.compliance-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: var(--sp-4);
}
.compliance-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--color-border);
  border-radius: var(--r-xs);
  font-size: var(--fs-xxs);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
}
.compliance-tag--age { border-color: rgba(255, 92, 92, 0.45); color: #FF8C8C; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-5) 0;
  border-top: 1px solid var(--color-border);
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer-bottom a { color: var(--color-text-muted); }
.footer-bottom a:hover { color: var(--color-accent); }

/* ==================== 7. FAB + MOBILE BOTTOM BAR ====================== */

.support-fab {
  position: fixed;
  right: clamp(0.9rem, 2vw, 1.6rem);
  bottom: clamp(1.1rem, 2.4vw, 1.9rem);
  z-index: var(--z-fab);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.72rem 1.15rem 0.72rem 0.78rem;
  border-radius: var(--r-pill);
  border: 1px solid rgba(212, 175, 55, 0.45);
  background: linear-gradient(135deg, rgba(19, 26, 46, 0.97), rgba(26, 35, 64, 0.97));
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.55), var(--shadow-glow-gold);
  backdrop-filter: blur(10px);
  color: var(--color-text-primary);
  font-size: var(--fs-sm);
  font-weight: 700;
  transition: transform var(--t-slow) var(--ease-out), opacity var(--t-mid) var(--ease),
              border-color var(--t-mid) var(--ease), box-shadow var(--t-mid) var(--ease);
}
.support-fab:hover {
  color: #FFFFFF;
  border-color: var(--color-accent-bright);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.6), var(--shadow-glow-strong);
}
.support-fab.is-hidden {
  transform: translateY(140%) scale(0.9);
  opacity: 0;
  pointer-events: none;
}
.fab-ring {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(41, 169, 235, 0.16);
  color: var(--color-telegram);
  flex: none;
}
.fab-ring::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid rgba(212, 175, 55, 0.6);
  animation: ringPulse 2.6s var(--ease-out) infinite;
}
.fab-label { white-space: nowrap; }

.bottom-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: var(--z-sticky);
  display: none;
  align-items: stretch;
  height: var(--bottombar-h);
  padding-bottom: env(safe-area-inset-bottom, 0);
  background: rgba(10, 14, 26, 0.96);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.5);
}
.bottom-bar a {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 0.4rem 0.2rem;
  font-size: 0.665rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--color-text-muted);
  transition: color var(--t-fast) var(--ease);
}
.bottom-bar a svg { width: 21px; height: 21px; }
.bottom-bar a span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.bottom-bar a:hover { color: var(--color-text-secondary); }
.bottom-bar a[aria-current="page"] { color: var(--color-accent); }
.bottom-bar a[aria-current="page"]::before {
  content: '';
  position: absolute;
  top: 0;
  left: 22%;
  right: 22%;
  height: 2px;
  border-radius: 0 0 3px 3px;
  background: var(--gradient-gold);
}
.bottom-bar .bb-cta { color: #14100A; }
.bottom-bar .bb-cta .bb-cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 100%;
  padding: 0.4rem 0.2rem;
  border-radius: var(--r-md);
  background: var(--gradient-gold);
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.35);
}
.bottom-bar .bb-cta { padding: 0.5rem 0.35rem; }

/* ======================= 8. CARDS & SHARED BLOCKS ===================== */

.card {
  position: relative;
  padding: var(--sp-5);
  border-radius: var(--r-lg);
  border: 1px solid var(--color-border);
  background: var(--gradient-surface);
  box-shadow: var(--shadow-card);
  transition: transform var(--t-mid) var(--ease-out), border-color var(--t-mid) var(--ease),
              box-shadow var(--t-mid) var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 175, 55, 0.55);
  box-shadow: var(--shadow-card-hover), var(--shadow-glow-gold);
}
.card h3 { font-size: var(--fs-h4); font-family: var(--font-body); letter-spacing: 0.01em; }
.card p { font-size: var(--fs-sm); margin-bottom: 0; }
.card--flat:hover { transform: none; }

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: var(--sp-4);
  border-radius: var(--r-md);
  border: 1px solid rgba(212, 175, 55, 0.34);
  background: radial-gradient(circle at 30% 25%, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0.04));
  color: var(--color-accent);
  transition: transform var(--t-mid) var(--ease-spring), box-shadow var(--t-mid) var(--ease);
}
.card:hover .card-icon { transform: translateY(-2px) scale(1.06); box-shadow: var(--shadow-glow-gold); }

.card-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.4);
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 700;
  color: var(--color-accent);
  background: rgba(212, 175, 55, 0.07);
}

/* Gold-framed panel — the signature "royal" container */
.panel-gold {
  position: relative;
  padding: clamp(1.6rem, 1.2rem + 1.8vw, 3rem);
  border-radius: var(--r-xl);
  border: 1px solid rgba(212, 175, 55, 0.34);
  background:
    linear-gradient(160deg, rgba(26, 35, 64, 0.92), rgba(10, 14, 26, 0.96));
  box-shadow: var(--shadow-card), inset 0 0 60px rgba(212, 175, 55, 0.05);
  overflow: hidden;
}
.panel-gold::before {
  content: '';
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 1px;
  background: var(--gradient-gold-line);
}
.panel-gold::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 1px;
  background: var(--gradient-gold-line);
  opacity: 0.6;
}

/* Stat / counter tiles */
.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
  gap: 1px;
  border-radius: var(--r-lg);
  border: 1px solid var(--color-border);
  background: var(--color-border);
  overflow: hidden;
}
.stat {
  padding: clamp(1.15rem, 1rem + 0.7vw, 1.75rem) var(--sp-4);
  background: var(--color-surface);
  text-align: center;
  transition: background-color var(--t-mid) var(--ease);
}
.stat:hover { background: var(--color-surface-2); }
.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.35rem);
  line-height: 1.1;
  color: var(--color-accent);
}
.stat > span {
  display: block;
  margin-top: 0.35rem;
  font-size: var(--fs-xs);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* Feature list with gold ticks */
.tick-list { list-style: none; margin: 0; padding: 0; }
.tick-list li {
  position: relative;
  padding-left: 1.85rem;
  margin-bottom: 0.72rem;
  font-size: var(--fs-sm);
  line-height: 1.7;
}
.tick-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 15px;
  height: 8px;
  border-left: 2px solid var(--color-accent);
  border-bottom: 2px solid var(--color-accent);
  transform: rotate(-45deg) translateY(-2px);
}

/* Definition-style info table */
.info-table { font-size: var(--fs-sm); }
.info-table th,
.info-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
  vertical-align: top;
}
.info-table th {
  width: 38%;
  font-weight: 600;
  color: var(--color-text-primary);
  background: rgba(26, 35, 64, 0.45);
}
.info-table tr:last-child th,
.info-table tr:last-child td { border-bottom: 0; }
.table-wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--r-md);
  border: 1px solid var(--color-border);
  -webkit-overflow-scrolling: touch;
}

/* Game card — used on home rail + games grid */
.game-card {
  position: relative;
  display: block;
  border-radius: var(--r-md);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  overflow: hidden;
  transition: transform var(--t-mid) var(--ease-out), border-color var(--t-mid) var(--ease),
              box-shadow var(--t-mid) var(--ease);
}
.game-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 175, 55, 0.65);
  box-shadow: var(--shadow-card-hover), var(--shadow-glow-gold);
}
.game-card__media {
  display: block;
  position: relative;
  aspect-ratio: 211 / 260;
  overflow: hidden;
  background: linear-gradient(140deg, #1A2340, #0F1424);
}
.game-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease-out), filter var(--t-slow) var(--ease);
}
.game-card:hover .game-card__media img { transform: scale(1.06); filter: brightness(0.72) saturate(1.05); }

.game-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: var(--sp-4);
  background: linear-gradient(180deg, rgba(10, 14, 26, 0.2), rgba(10, 14, 26, 0.86));
  opacity: 0;
  transition: opacity var(--t-mid) var(--ease);
}
.game-card:hover .game-card__overlay,
.game-card:focus-visible .game-card__overlay { opacity: 1; }
.game-card__play {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.15rem;
  border-radius: var(--r-pill);
  background: var(--gradient-gold);
  color: #14100A;
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: 0.03em;
  transform: translateY(10px);
  transition: transform var(--t-mid) var(--ease-spring);
  box-shadow: 0 6px 18px rgba(212, 175, 55, 0.4);
}
.game-card:hover .game-card__play { transform: translateY(0); }

.game-card__tag {
  position: absolute;
  top: 0.55rem;
  left: 0.55rem;
  padding: 0.2rem 0.55rem;
  border-radius: var(--r-xs);
  background: rgba(10, 14, 26, 0.82);
  border: 1px solid rgba(212, 175, 55, 0.4);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  backdrop-filter: blur(4px);
}
.game-card__tag--new { border-color: rgba(46, 212, 122, 0.5); color: var(--color-success); }
.game-card__tag--hot { border-color: rgba(255, 92, 92, 0.5); color: #FF8C8C; }

.game-card__body {
  display: block;
  padding: 0.7rem 0.8rem 0.85rem;
  border-top: 1px solid rgba(35, 44, 72, 0.8);
}
.game-card__name {
  display: block;
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.game-card__meta {
  display: block;
  margin-top: 0.18rem;
  font-size: 0.7rem;
  color: var(--color-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Phone mockup ---------------------------------------------------------- */
.phone-mock {
  position: relative;
  width: min(100%, var(--phone-w, 300px));
  margin-inline: auto;
  aspect-ratio: 9 / 18.6;
  padding: 10px;
  border-radius: 42px;
  background: linear-gradient(150deg, #2A3557 0%, #10152A 42%, #232C48 100%);
  box-shadow:
    0 34px 70px rgba(0, 0, 0, 0.62),
    0 0 0 1px rgba(212, 175, 55, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.phone-mock::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 34%;
  height: 20px;
  border-radius: var(--r-pill);
  background: #080B15;
  z-index: 3;
}
.phone-mock__screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 33px;
  overflow: hidden;
  background: #0A0E1A;
}
.phone-mock__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.phone-mock__glare {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0) 38%);
  pointer-events: none;
}
.phone-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 0.7rem + 1.6vw, 2.25rem) 0;
}
.phone-stage::before {
  content: '';
  position: absolute;
  width: min(120%, 480px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.22) 0%, rgba(212, 175, 55, 0.06) 42%, transparent 68%);
  filter: blur(6px);
  animation: haloBreathe 7s var(--ease) infinite;
  pointer-events: none;
}
.phone-float { animation: floatY 6.5s var(--ease) infinite; }

.mock-chip {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.95rem;
  border-radius: var(--r-md);
  border: 1px solid rgba(212, 175, 55, 0.4);
  background: rgba(15, 20, 36, 0.94);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
  font-size: var(--fs-xxs);
  font-weight: 700;
  color: var(--color-text-primary);
  white-space: nowrap;
}
.mock-chip b { display: block; font-size: var(--fs-sm); color: var(--color-accent); line-height: 1.2; }
.mock-chip span { display: block; font-size: 0.66rem; font-weight: 600; color: var(--color-text-muted); letter-spacing: 0.05em; text-transform: uppercase; }
.mock-chip--tl { top: 12%; left: -8%; animation: floatY 5.4s var(--ease) infinite; }
.mock-chip--br { bottom: 15%; right: -7%; animation: floatY 6.2s var(--ease) 0.8s infinite; }
.mock-chip--bl { bottom: 32%; left: -10%; animation: floatY 7.1s var(--ease) 0.4s infinite; }

/* Split media/content block */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(1.75rem, 1.2rem + 2.6vw, 4rem);
  align-items: center;
}
.split--reverse > *:first-child { order: 2; }

/* Timeline / steps */
.timeline { position: relative; display: grid; gap: var(--sp-5); }
.timeline::before {
  content: '';
  position: absolute;
  left: 21px;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(212, 175, 55, 0.6), transparent);
}
.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: var(--sp-4);
  align-items: start;
}
.timeline-item .card-num { position: relative; z-index: 1; background: var(--color-bg); }
.timeline-item h3 { font-size: var(--fs-h4); font-family: var(--font-body); margin-bottom: 0.4rem; }
.timeline-item p { font-size: var(--fs-sm); margin-bottom: 0; }

/* CTA band */
.cta-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 120% at 50% 0%, rgba(212, 175, 55, 0.13), transparent 62%),
    linear-gradient(180deg, var(--color-bg-alt), var(--color-bg));
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.cta-band .container { position: relative; z-index: var(--z-content); }

/* Breadcrumbs */
.breadcrumbs {
  padding-block: 1rem;
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
}
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.breadcrumbs li { margin: 0; display: flex; align-items: center; gap: 0.45rem; }
.breadcrumbs li + li::before { content: '/'; color: var(--color-slate); }
.breadcrumbs a { color: var(--color-text-secondary); }
.breadcrumbs a:hover { color: var(--color-accent); }

/* Page hero (inner pages) */
.page-hero {
  position: relative;
  padding-block: clamp(2.5rem, 2rem + 2.6vw, 4.5rem);
  background: var(--gradient-hero);
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
}
.page-hero .container { position: relative; z-index: var(--z-content); }
.page-hero h1 { font-size: var(--fs-h1); margin-bottom: var(--sp-4); }
.page-hero .lead { max-width: 720px; }

/* ============================= 9. MARQUEE ============================= */

.marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-block: 0.95rem;
  border-block: 1px solid var(--color-border);
  background: rgba(15, 20, 36, 0.7);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 1rem + 2vw, 3rem);
  padding-right: clamp(1.5rem, 1rem + 2vw, 3rem);
  flex: none;
}
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-text-secondary);
  white-space: nowrap;
}
.marquee__item svg { color: var(--color-accent); flex: none; }
.marquee__item + .marquee__item::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-accent);
  opacity: 0.55;
  margin-right: 0.4rem;
}

/* ========================== 10. FAQ ACCORDION ========================= */

.faq { display: grid; gap: 0.85rem; }
.faq-item {
  border-radius: var(--r-md);
  border: 1px solid var(--color-border);
  background: var(--gradient-surface);
  overflow: hidden;
  transition: border-color var(--t-mid) var(--ease), box-shadow var(--t-mid) var(--ease);
}
.faq-item.is-open { border-color: rgba(212, 175, 55, 0.5); box-shadow: var(--shadow-glow-gold); }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  width: 100%;
  padding: 1.05rem 1.25rem;
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-text-primary);
  text-align: left;
  transition: color var(--t-fast) var(--ease);
}
.faq-q:hover { color: var(--color-accent); }
.faq-icon {
  position: relative;
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.5);
  transition: transform var(--t-mid) var(--ease), background-color var(--t-mid) var(--ease);
}
.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--color-accent);
}
.faq-icon::before { width: 9px; height: 1.5px; }
.faq-icon::after { width: 1.5px; height: 9px; transition: opacity var(--t-mid) var(--ease); }
.faq-item.is-open .faq-icon { transform: rotate(180deg); background: rgba(212, 175, 55, 0.14); }
.faq-item.is-open .faq-icon::after { opacity: 0; }

.faq-a {
  overflow: hidden;
  height: 0;
  transition: height var(--t-slow) var(--ease);
}
.faq-a__inner {
  padding: 0 1.25rem 1.2rem;
  font-size: var(--fs-sm);
  line-height: 1.78;
  color: var(--color-text-secondary);
}
.faq-a__inner p:last-child { margin-bottom: 0; }

/* ==================== 11. SCROLL REVEAL & KEYFRAMES =================== */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 620ms var(--ease-out), transform 620ms var(--ease-out);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }

.no-js .reveal { opacity: 1; transform: none; }

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-13px); }
}
@keyframes haloBreathe {
  0%, 100% { opacity: 0.75; transform: scale(1); }
  50%      { opacity: 1;    transform: scale(1.07); }
}
@keyframes ringPulse {
  0%   { transform: scale(0.85); opacity: 0.9; }
  70%  { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}
@keyframes btnPulse {
  0%, 100% { box-shadow: 0 6px 20px rgba(212, 175, 55, 0.26), var(--shadow-inset-top); }
  50%      { box-shadow: 0 8px 28px rgba(212, 175, 55, 0.5), 0 0 34px rgba(212, 175, 55, 0.34), var(--shadow-inset-top); }
}
@keyframes dotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.45; transform: scale(0.78); }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}
@keyframes heroTitleIn {
  from { opacity: 0; letter-spacing: 0.16em; transform: translateY(14px); }
  to   { opacity: 1; letter-spacing: normal; transform: none; }
}
@keyframes driftUp {
  0%   { transform: translate3d(0, 0, 0) scale(1); opacity: 0; }
  12%  { opacity: 0.85; }
  85%  { opacity: 0.5; }
  100% { transform: translate3d(var(--dx, 14px), -128px, 0) scale(0.45); opacity: 0; }
}

/* ========================= RESPONSIVE BEHAVIOUR ======================= */

/* Header items start touching around 1180px (5 nav links + lang switch +
   telegram icon + CTA). Tighten spacing before that point actually happens. */
@media (max-width: 1320px) {
  .nav-list a { padding: 0.55rem 0.65rem; font-size: 0.86rem; }
  .header-inner { gap: 0.8rem; }
  .header-actions .btn--desktop { padding: 0.78rem 1.25rem; font-size: 0.86rem; }
  .header-actions .btn--lg { padding: 0.85rem 1.4rem; }
}

/* Collapse to the hamburger drawer well before the row can run out of room —
   verified by measuring header-inner.scrollWidth across 980-1320px. */
@media (max-width: 1200px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .header-actions .btn--desktop { display: none; }
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
}

@media (max-width: 768px) {
  :root { --header-h: var(--header-h-sm); }
  body { padding-bottom: var(--bottombar-h); }
  .bottom-bar { display: flex; }
  .support-fab { bottom: calc(var(--bottombar-h) + 0.85rem); padding: 0.72rem; }
  .support-fab .fab-label { display: none; }
  .brand img { height: 36px; }
  .brand--footer img { height: 46px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .split--reverse > *:first-child { order: 0; }

  /* Compact the header cluster so it never exceeds a narrow viewport */
  .header-inner { gap: 0.55rem; }
  .lang-trigger { padding: 0.55rem 0.62rem; }
  .lang-trigger [data-lang-current] { display: none; }

  /* Keep the floating mockup chips inside the frame on small screens */
  .mock-chip--tl { top: 8%; left: 0; }
  .mock-chip--br { bottom: 12%; right: 0; }
  .mock-chip--bl { display: none; }
}

@media (max-width: 480px) {
  .header-actions .icon-btn { display: none; }
  .mock-chip { padding: 0.45rem 0.7rem; }
  .mock-chip b { font-size: var(--fs-xs); }
  .btn { padding: 0.85rem 1.35rem; }
  .brand img { height: 33px; }
}

@media print {
  .site-header, .site-footer, .bottom-bar, .support-fab, .drawer, .drawer-backdrop { display: none !important; }
  body { background: #fff; color: #000; }
}
