/* ==========================================================================
   Aurora Gaming — Design System
   ========================================================================== */

:root {
  --bg-main: #0f0f0f;
  --bg-panel: #1a1c20;
  --bg-panel-hover: #22252b;
  --accent: #ffc700;
  --accent-hover: #e6b300;
  --text-primary: #ffffff;
  --text-muted: #9ca3af;
  --border-subtle: #2d3139;
  --sidebar-width: 240px;
  --radius-sm: 8px;
  --radius-pill: 20px;
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --shadow-card: 0 8px 24px rgba(0, 0, 0, 0.45);
  --transition: 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-primary);
  background: var(--bg-main);
  -webkit-font-smoothing: antialiased;
}

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

button {
  font-family: inherit;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* ==========================================================================
   Layout — Dashboard
   ========================================================================== */

.app {
  min-height: 100vh;
}

/* Sidebar */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: var(--sidebar-width);
  height: 100vh;
  background: var(--bg-panel);
  border-right: 1px solid var(--border-subtle);
}

.sidebar__inner {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  height: 100%;
  padding: 28px 20px 24px;
}

.sidebar__logo {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
}

.sidebar__logo img {
  width: auto;
  max-width: 140px;
  height: auto;
  filter: brightness(0) invert(1);
}

.sidebar__auth {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}

.sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  color: var(--text-muted);
  transition: color var(--transition), background var(--transition);
}

.sidebar__link:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
}

.sidebar__link--active {
  color: var(--accent);
}

.sidebar__link--active .sidebar__icon {
  color: var(--accent);
}

.sidebar__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--text-muted);
}

/* Main */
.main {
  margin-left: var(--sidebar-width);
  min-height: 100vh;
  background: var(--bg-main);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  transition: background var(--transition), border-color var(--transition), transform 0.15s ease;
}

.btn:active {
  transform: scale(0.98);
}

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

.btn--accent {
  background: var(--accent);
  color: #0f0f0f;
}

.btn--accent:hover {
  background: var(--accent-hover);
}

.btn--outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

.btn--outline:hover {
  border-color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
}

/* Top bar */
.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 32px;
  background: var(--bg-panel);
  border-bottom: 1px solid var(--border-subtle);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* Hero */
.hero {
  position: relative;
  margin: 0;
  padding: 56px 40px 0;
  overflow: hidden;
  background:
    radial-gradient(120% 130% at 100% 50%, rgba(255, 199, 0, 0.32) 0%, rgba(120, 92, 0, 0.18) 32%, transparent 60%),
    linear-gradient(90deg, #0f0f0f 0%, #161410 45%, #2a2208 100%);
}

.hero__glow {
  position: absolute;
  top: -10%;
  right: 6%;
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, rgba(255, 199, 0, 0.22) 0%, transparent 62%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 340px;
}

.hero__copy {
  flex: 1;
  max-width: 520px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero__eyebrow-icon {
  width: 16px;
  height: 16px;
}

.hero__title {
  display: flex;
  flex-direction: column;
  margin: 0 0 18px;
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.01em;
}

.hero__title-accent {
  color: var(--accent);
}

.hero__title-white {
  color: var(--text-primary);
}

.hero__subtitle {
  margin: 0;
  font-size: clamp(1rem, 1.8vw, 1.5rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.hero__fan {
  position: relative;
  flex-shrink: 0;
  width: min(520px, 48vw);
  height: 360px;
}

.hero__card {
  position: absolute;
  bottom: 20px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
}

.hero__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__card--left {
  left: 0;
  width: 180px;
  height: 250px;
  transform: rotate(-9deg);
  z-index: 1;
}

.hero__card--center {
  left: 50%;
  width: 210px;
  height: 296px;
  transform: translateX(-50%) translateY(-18px);
  z-index: 3;
}

.hero__card--right {
  right: 0;
  width: 180px;
  height: 250px;
  transform: rotate(9deg);
  z-index: 2;
}

.hero__card-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 28px 14px 14px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 55%, transparent 100%);
}

.hero__card-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

.hero__badge {
  align-self: flex-start;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.hero__promo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 28px;
  padding: 18px 24px;
  background: var(--bg-panel);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
}

.hero__promo-text {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

.hero__promo-btn svg {
  width: 18px;
  height: 18px;
}

/* Catalog */
.catalog {
  padding: 40px 32px 48px;
}

.catalog__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.catalog__title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
}

.search {
  position: relative;
  display: flex;
  align-items: center;
  flex: 0 1 280px;
}

.search__icon {
  position: absolute;
  left: 14px;
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  pointer-events: none;
}

.search__input {
  width: 100%;
  padding: 12px 14px 12px 42px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: var(--bg-panel);
  color: var(--text-primary);
  font-size: 14px;
  outline: none;
  transition: border-color var(--transition);
}

.search__input::placeholder {
  color: var(--text-muted);
}

.search__input:focus {
  border-color: var(--accent);
}

/* Filters */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.filter-tag {
  padding: 8px 16px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  transition: border-color var(--transition), color var(--transition);
}

.filter-tag:hover {
  border-color: var(--text-muted);
}

.filter-tag--active {
  border-color: var(--accent);
  color: var(--accent);
}

/* Games grid — 5 columns desktop */
.games-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.catalog__empty {
  margin: 32px 0 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 15px;
}

/* Game card */
.game-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-panel);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.game-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.game-card[hidden] {
  display: none;
}

.game-card__media {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
}

.game-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-card__badge {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 3px 7px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #0f0f0f;
  background: var(--accent);
  border-radius: 3px;
}

.game-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 12px;
}

.game-card__title {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

.game-card__provider {
  margin: 0 0 12px;
  font-size: 12px;
  color: var(--text-muted);
}

.game-card__play {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: auto;
  padding: 10px 12px;
  border: none;
  border-radius: 6px;
  background: var(--text-primary);
  color: #0f0f0f;
  font-size: 13px;
  font-weight: 700;
  transition: background var(--transition);
}

.game-card__play:hover {
  background: #e5e7eb;
}

.game-card__play svg {
  width: 14px;
  height: 14px;
}

/* Policy page */
.policy {
  padding: 28px 32px 48px;
}

.policy__hero,
.policy__section {
  background: var(--bg-panel);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
}

.policy__hero {
  padding: 36px 40px;
  margin-bottom: 24px;
}

.policy__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.policy__eyebrow svg {
  width: 16px;
  height: 16px;
}

.policy__title {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.policy__intro {
  max-width: 880px;
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
}

.policy__updated {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
}

.policy__section {
  padding: 28px 40px;
  margin-bottom: 16px;
}

.policy__section h2 {
  margin: 0 0 16px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.policy__section p {
  max-width: 960px;
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
}

.policy__section p:last-child {
  margin-bottom: 0;
}

.policy__inline-link {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.policy__inline-link:hover {
  color: var(--accent-hover);
}

/* Cookie settings */
.cookie-controls > p {
  max-width: 960px;
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
}

.cookie-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cookie-item {
  padding: 18px 20px;
  background: var(--bg-main);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
}

.cookie-item__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}

.cookie-item__title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}

.cookie-item__status {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
}

.cookie-item__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
}

.cookie-toggle {
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
  width: 48px;
  height: 26px;
  cursor: pointer;
}

.cookie-toggle input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-toggle__slider {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: var(--border-subtle);
  transition: background var(--transition);
}

.cookie-toggle__slider::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--text-primary);
  transition: transform var(--transition);
}

.cookie-toggle input:checked + .cookie-toggle__slider {
  background: var(--accent);
}

.cookie-toggle input:checked + .cookie-toggle__slider::before {
  transform: translateX(22px);
  background: #0f0f0f;
}

.cookie-toggle input:focus-visible + .cookie-toggle__slider {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.cookie-save-status {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}

@media (max-width: 768px) {
  .policy {
    padding: 20px 16px 32px;
  }

  .policy__hero {
    padding: 24px 20px;
  }

  .policy__section {
    padding: 22px 20px;
  }

  .cookie-item {
    padding: 16px;
  }
}

/* Auth modal */
body.auth-modal-open {
  overflow: hidden;
}

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.auth-modal[hidden] {
  display: none;
}

.auth-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
}

.auth-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 32px 28px 28px;
  background: var(--bg-panel);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
}

.auth-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--transition), background var(--transition);
}

.auth-modal__close:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}

.auth-modal__header {
  text-align: center;
  margin-bottom: 24px;
}

.auth-modal__logo {
  margin: 0 auto 16px;
  filter: brightness(0) invert(1);
}

.auth-modal__title {
  margin: 0 0 8px;
  font-size: 1.5rem;
  font-weight: 800;
}

.auth-modal__subtitle {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-muted);
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.auth-form__field label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

.auth-form__field input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: var(--bg-main);
  color: var(--text-primary);
  font-size: 14px;
  outline: none;
  transition: border-color var(--transition);
}

.auth-form__field input:focus {
  border-color: var(--accent);
}

.auth-form__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-muted);
  cursor: pointer;
}

.auth-form__checkbox input {
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--accent);
}

.auth-form__submit {
  margin-top: 4px;
}

.auth-modal__switch {
  margin: 20px 0 0;
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
}

.auth-modal__switch-btn {
  padding: 0;
  border: none;
  background: none;
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.auth-modal__switch-btn:hover {
  color: var(--accent-hover);
}

.game-card,
.hero__card {
  cursor: pointer;
}

/* Footer */
.footer {
  padding: 48px 32px 40px;
  background: var(--bg-panel);
  border-top: 1px solid var(--border-subtle);
  text-align: center;
}

.footer__logo {
  display: inline-flex;
  margin-bottom: 24px;
}

.footer__logo img {
  margin: 0 auto;
  filter: brightness(0) invert(1);
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  margin-bottom: 24px;
}

.footer__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  transition: color var(--transition);
}

.footer__link:hover {
  color: var(--accent);
}

.footer__link--active {
  color: var(--accent);
}

.footer__copy {
  margin: 0 auto 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
}

.footer__legal {
  max-width: 760px;
  margin: 0 auto 10px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-muted);
}

.footer__inline-link {
  color: var(--text-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer__inline-link:hover {
  color: var(--accent);
}

.footer__payments-title {
  margin: 30px 0 16px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}

.footer__payments {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 0 28px;
}

.payment-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  height: 40px;
  padding: 0 14px;
  background: var(--bg-main);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
}

.payment-icon img {
  height: 22px;
  width: auto;
  opacity: 0.9;
  filter: grayscale(1) brightness(1.6);
}

.payment-icon--visa {
  font-size: 14px;
  font-weight: 800;
  font-style: italic;
  letter-spacing: 0.02em;
  color: #e5e7eb;
}

.footer__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.reg-badge {
  padding: 11px 20px;
  border-radius: var(--radius-sm);
  background: var(--bg-main);
  border: 1px solid var(--border-subtle);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
}

.reg-badge--accent {
  color: var(--accent);
}

/* Mobile nav — hidden on desktop */
.bottom-nav,
.mobile-menu {
  display: none;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1200px) {
  .games-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 992px) {
  .games-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero__fan {
    width: 400px;
    height: 300px;
  }

  .hero__card--left,
  .hero__card--right {
    width: 150px;
    height: 210px;
  }

  .hero__card--center {
    width: 175px;
    height: 248px;
  }
}

@media (max-width: 768px) {
  .sidebar {
    display: none;
  }

  .main {
    margin-left: 0;
    padding-bottom: 72px;
  }

  .top-bar {
    padding: 8px 16px;
    font-size: 10px;
  }

  .hero {
    padding: 28px 16px 0;
  }

  .hero__inner {
    flex-direction: column;
    align-items: flex-start;
    min-height: auto;
  }

  .hero__copy {
    max-width: none;
  }

  .hero__fan {
    width: 100%;
    max-width: 360px;
    height: 290px;
    margin: 12px auto 0;
  }

  .hero__promo {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    margin-top: 20px;
    padding: 16px;
  }

  .hero__promo-btn {
    width: 100%;
  }

  .catalog {
    padding: 28px 16px 32px;
  }

  .catalog__header {
    flex-direction: column;
    align-items: stretch;
  }

  .search {
    flex: 1 1 auto;
  }

  .games-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .footer {
    padding: 36px 16px 88px;
  }

  .bottom-nav {
    display: flex;
    align-items: center;
    justify-content: space-around;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 200;
    height: 64px;
    padding: 0 12px;
    background: var(--bg-panel);
    border-top: 1px solid var(--border-subtle);
  }

  .bottom-nav__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
  }

  .bottom-nav__link svg {
    width: 22px;
    height: 22px;
  }

  .bottom-nav__link--active {
    color: var(--accent);
  }

  .bottom-nav__toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--text-primary);
  }

  .bottom-nav__toggle-icon,
  .bottom-nav__toggle-icon::before,
  .bottom-nav__toggle-icon::after {
    display: block;
    width: 18px;
    height: 2px;
    background: currentColor;
    border-radius: 1px;
    transition: transform var(--transition), opacity var(--transition);
  }

  .bottom-nav__toggle-icon {
    position: relative;
  }

  .bottom-nav__toggle-icon::before,
  .bottom-nav__toggle-icon::after {
    content: "";
    position: absolute;
    left: 0;
  }

  .bottom-nav__toggle-icon::before {
    top: -6px;
  }

  .bottom-nav__toggle-icon::after {
    top: 6px;
  }

  .bottom-nav__toggle[aria-expanded="true"] .bottom-nav__toggle-icon {
    background: transparent;
  }

  .bottom-nav__toggle[aria-expanded="true"] .bottom-nav__toggle-icon::before {
    top: 0;
    transform: rotate(45deg);
  }

  .bottom-nav__toggle[aria-expanded="true"] .bottom-nav__toggle-icon::after {
    top: 0;
    transform: rotate(-45deg);
  }

  .bottom-nav__cta {
    padding: 10px 16px;
    font-size: 12px;
  }

  .mobile-menu {
    display: none;
    flex-direction: column;
    gap: 10px;
    position: fixed;
    bottom: 64px;
    left: 12px;
    right: 12px;
    z-index: 199;
    padding: 16px;
    background: var(--bg-panel);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-card);
  }

  .mobile-menu.is-open {
    display: flex;
  }
}

@media (max-width: 480px) {
  .top-bar__license {
    max-width: 52%;
    text-align: right;
    line-height: 1.3;
  }

  .filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .filters::-webkit-scrollbar {
    display: none;
  }
}
