:root {
  --bg: #000000;
  --bg2: #0f1419;
  --bg3: #16181c;
  --bg4: #1d2025;
  --border: #2f3336;
  --border-soft: rgba(255, 255, 255, 0.08);
  --accent: #1d9bf0;
  --accent2: #4cb5f9;
  --green: #00ba7c;
  --yellow: #ffd400;
  --red: #f4212e;
  --text: #e7e9ea;
  --muted: #71767b;
  --muted-2: #8b98a5;
  --card: rgba(0, 0, 0, 0.82);
  --card-soft: rgba(15, 20, 25, 0.92);
  --card-elevated: rgba(22, 24, 28, 0.98);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.5);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: "Poppins", sans-serif;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 10% 8%, rgba(29, 155, 240, 0.2), transparent 24%),
    radial-gradient(circle at 88% 18%, rgba(76, 181, 249, 0.08), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent 28%),
    repeating-linear-gradient(180deg, transparent 0, transparent 46px, rgba(255, 255, 255, 0.015) 47px);
  pointer-events: none;
}

.auth-body,
.simple-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.auth-shell {
  width: min(1240px, 100%);
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  background: rgba(0, 0, 0, 0.88);
  border: 1px solid var(--border-soft);
  backdrop-filter: blur(24px);
  border-radius: 36px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.register-shell {
  grid-template-columns: 1fr 1.1fr;
}

.auth-visual {
  padding: 56px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    linear-gradient(145deg, rgba(29, 155, 240, 0.16), rgba(255, 255, 255, 0.02)),
    radial-gradient(circle at top right, rgba(76, 181, 249, 0.14), transparent 32%);
  position: relative;
}

.auth-visual h1 {
  font-size: clamp(2.3rem, 4.4vw, 4rem);
  line-height: 0.94;
  letter-spacing: -0.04em;
  margin: 16px 0;
}

.auth-visual p,
.muted {
  color: var(--muted);
  line-height: 1.7;
}

.brand-chip,
.brand-mark {
  font-family: "Poppins", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent2);
  font-weight: 700;
}

.auth-form {
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.auth-card,
.simple-card {
  width: min(560px, 100%);
  background: linear-gradient(180deg, rgba(15, 20, 25, 0.96), rgba(10, 15, 20, 0.94));
  border: 1px solid var(--border-soft);
  border-radius: 30px;
  padding: 32px;
  box-shadow: var(--shadow);
}

.auth-card.large {
  width: min(720px, 100%);
}

.auth-card h2,
.simple-card h1 {
  margin: 12px 0 8px;
  font-size: 1.72rem;
  letter-spacing: -0.03em;
}

label {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  margin: 14px 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(0, 0, 0, 0.42);
  border: 1px solid var(--border);
  border-radius: 16px;
  color: var(--text);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s, background 0.2s;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(0, 0, 0, 0.55);
  transform: translateY(-1px);
  box-shadow: 0 0 0 4px rgba(29, 155, 240, 0.12);
}

.meta-row {
  margin-top: 8px;
  font-size: 0.92rem;
}

.check-inline {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-transform: none;
  letter-spacing: 0;
}

.check-inline input {
  width: auto;
}

.btn-primary-wide,
.btn-ghost-wide {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 14px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  margin-top: 16px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
}

.btn-primary-wide {
  background: linear-gradient(180deg, #2398ea, var(--accent));
  color: #f7fbff;
  box-shadow: 0 16px 40px rgba(29, 155, 240, 0.24);
}

.btn-ghost-wide {
  background: rgba(255, 255, 255, 0.02);
  border-color: var(--border);
  color: var(--text);
}

.btn-primary-wide:hover,
.btn-ghost-wide:hover,
.nav-link:hover,
.stat-card:hover,
.glass-card:hover {
  transform: translateY(-2px);
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  margin-top: 20px;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  height: 1px;
  background: var(--border-soft);
  flex: 1;
}

.glass-card,
.stat-card,
.panel-card {
  background: linear-gradient(180deg, rgba(15, 20, 25, 0.98), rgba(10, 15, 20, 0.96));
  border: 1px solid var(--border-soft);
  backdrop-filter: blur(18px);
  border-radius: 24px;
  padding: 22px;
  box-shadow: var(--shadow);
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
}

.panel-card:hover,
.stat-card:hover,
.glass-card:hover {
  border-color: rgba(29, 155, 240, 0.4);
  background: var(--card-elevated);
}

.hero-grid,
.stats-grid,
.panel-grid,
.skeleton-grid,
.admin-shell-grid,
.settings-grid,
.metric-strip,
.stack-12 {
  display: grid;
  gap: 16px;
}

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

.panel-grid {
  grid-template-columns: repeat(12, 1fr);
}

.skeleton-grid {
  grid-template-columns: repeat(3, 1fr);
}

.admin-shell-grid,
.settings-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.metric-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feedback-box {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(244, 33, 46, 0.12);
  border: 1px solid rgba(244, 33, 46, 0.2);
}

.feedback-box.success {
  background: rgba(0, 186, 124, 0.12);
  border-color: rgba(0, 186, 124, 0.22);
}

.d-none {
  display: none !important;
}

.mt-16 {
  margin-top: 16px;
}

.captcha-box,
.content-surface {
  margin-top: 16px;
  padding: 16px 18px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  color: var(--muted);
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.02);
}

.app-shell {
  display: grid;
  grid-template-columns: 300px 1fr;
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: rgba(0, 0, 0, 0.96);
  border-right: 1px solid var(--border);
  backdrop-filter: blur(18px);
  overflow: hidden;
}

.sidebar-brand {
  font-size: 1.35rem;
  font-weight: 800;
  padding: 12px 14px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(29, 155, 240, 0.14), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(29, 155, 240, 0.18);
}

.sidebar-brand strong,
.sidebar-brand small {
  display: block;
}

.sidebar-brand small {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 600;
}

.sidebar-section-label {
  padding: 0 12px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding-right: 4px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  justify-content: flex-start;
  transition: all 0.2s;
  font-weight: 600;
  text-align: left;
}

.nav-link i {
  width: 18px;
  flex: 0 0 18px;
  text-align: center;
}

.nav-link span {
  flex: 1;
  min-width: 0;
}

.nav-link.active {
  background: rgba(29, 155, 240, 0.12);
  border-color: rgba(29, 155, 240, 0.26);
  color: #f5fbff;
}

.nav-link b {
  margin-left: auto;
  background: rgba(255, 255, 255, 0.08);
  padding: 4px 8px;
  border-radius: 999px;
}

.nav-link.danger {
  color: #ff9fa4;
}

.sidebar-footer-note {
  padding: 14px 12px 4px;
  border-top: 1px solid var(--border);
  display: grid;
  gap: 10px;
}

.sidebar-footer-note small {
  color: var(--muted);
  line-height: 1.5;
}

.main-shell {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent 24%),
    radial-gradient(circle at top right, rgba(29, 155, 240, 0.08), transparent 24%);
}

.topbar {
  position: sticky;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  background: rgba(0, 0, 0, 0.86);
  z-index: 10;
}

.page-title {
  margin: 0;
  font-size: 1.16rem;
  letter-spacing: -0.03em;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.menu-toggle {
  display: none;
}

.user-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-soft);
}

.user-pill button,
.notification-menu button,
.menu-toggle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
}

.view-container {
  padding: 24px;
  animation: fadeUp 0.35s ease;
  overflow-x: hidden;
}

.lang-switch {
  display: flex;
  padding: 4px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.lang-switch button,
.lang-switch a {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
}

.lang-switch button.active,
.lang-switch a.active {
  background: var(--accent);
  color: #fff;
}

.notification-menu {
  position: relative;
}

.notification-menu span {
  position: absolute;
  top: -6px;
  right: -2px;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--red);
  display: grid;
  place-items: center;
  font-size: 0.72rem;
}

.dropdown-panel {
  position: absolute;
  right: 0;
  top: 54px;
  width: min(360px, 92vw);
  display: none;
  background: var(--bg2);
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  padding: 12px;
  box-shadow: var(--shadow);
}

.notification-menu.open .dropdown-panel {
  display: block;
}

#global-loading-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  z-index: 9999;
  transition: width 0.25s ease, opacity 0.25s ease;
  opacity: 0;
}

.stat-card small,
.glass-card span {
  display: block;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  font-size: 0.78rem;
}

.stat-card strong,
.glass-card strong {
  display: block;
  margin-top: 10px;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
}

.panel-card h3 {
  margin: 0 0 14px;
  font-size: 0.98rem;
}

.page-section-head,
.detail-head,
.detail-stack,
.filter-grid {
  display: grid;
  gap: 16px;
}

.page-section-head,
.detail-head {
  grid-template-columns: 1fr auto;
  align-items: start;
}

.detail-head-actions,
.filter-actions,
.action-row,
.action-cluster {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.detail-head-actions {
  justify-content: flex-end;
}

.filter-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
}

.action-cluster .btn-primary-wide,
.action-cluster .btn-ghost-wide,
.filter-actions .btn-primary-wide,
.filter-actions .btn-ghost-wide,
.action-row .btn-primary-wide,
.action-row .btn-ghost-wide {
  width: auto;
  min-width: 160px;
  margin-top: 0;
}

.btn-primary-wide.compact,
.btn-ghost-wide.compact {
  padding: 12px 18px;
}

.btn-ghost-wide.danger {
  border-color: rgba(244, 33, 46, 0.3);
  color: #ffb4b9;
}

.table-wrap {
  overflow-x: auto;
}

.table-link {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--accent2);
  font-weight: 700;
  cursor: pointer;
}

.admin-user-row.is-selected td {
  background: rgba(29, 155, 240, 0.08);
}

.panel-span-4 {
  grid-column: span 4;
}

.panel-span-6 {
  grid-column: span 6;
}

.panel-span-8 {
  grid-column: span 8;
}

.panel-span-12 {
  grid-column: span 12;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  text-align: left;
  padding: 14px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  vertical-align: top;
}

th {
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.mono {
  font-family: "Poppins", sans-serif;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.82rem;
  font-weight: 700;
}

.pill.green {
  background: rgba(0, 186, 124, 0.12);
  color: #6df0c0;
}

.pill.yellow {
  background: rgba(255, 212, 0, 0.12);
  color: #ffe97a;
}

.pill.red {
  background: rgba(244, 33, 46, 0.12);
  color: #ff9ea8;
}

.progress-track {
  height: 12px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  border-radius: 999px;
}

.list-clean {
  list-style: none;
  margin: 0;
  padding: 0;
}

.list-clean li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.skeleton-card {
  height: 160px;
  border-radius: 24px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.03) 25%, rgba(255, 255, 255, 0.08) 40%, rgba(255, 255, 255, 0.03) 60%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

#toast-stack {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: grid;
  gap: 12px;
  z-index: 999;
}

.toast {
  padding: 14px 16px;
  background: rgba(17, 24, 32, 0.92);
  border: 1px solid var(--border-soft);
  border-left: 4px solid var(--accent);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.chat-launcher {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1001;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(29, 155, 240, 0.24);
  background: linear-gradient(180deg, rgba(29, 155, 240, 0.18), rgba(15, 20, 25, 0.96));
  color: #fff;
  box-shadow: var(--shadow);
  cursor: pointer;
}

.chat-launcher-badge {
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--green);
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 800;
}

.chat-widget {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: min(390px, calc(100vw - 32px));
  background: rgba(10, 15, 20, 0.98);
  border: 1px solid var(--border-soft);
  border-radius: 26px;
  box-shadow: var(--shadow);
  overflow: hidden;
  z-index: 1000;
}

.chat-widget.hidden,
.chat-widget.minimized {
  display: none;
}

.chat-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px;
  background: linear-gradient(90deg, rgba(29, 155, 240, 0.16), rgba(255, 255, 255, 0.04));
}

.chat-head-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.chat-icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  cursor: pointer;
}

.chat-body {
  max-height: 380px;
  overflow: auto;
  padding: 18px;
  display: grid;
  gap: 12px;
}

.chat-msg {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.chat-msg.me {
  background: rgba(29, 155, 240, 0.14);
}

.chat-foot {
  padding: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.chat-foot textarea {
  min-height: 88px;
  resize: vertical;
}

.typing-dots {
  display: inline-flex;
  gap: 4px;
  align-items: center;
}

.typing-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--muted);
  animation: blink 1s infinite;
}

.typing-dots span:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

.landing-body {
  min-height: 100vh;
}

.landing-shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: 24px;
}

.landing-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0 28px;
}

.landing-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.landing-nav a {
  color: var(--text);
  padding: 10px 14px;
  border-radius: 999px;
}

.landing-nav .nav-cta {
  background: rgba(29, 155, 240, 0.14);
  border: 1px solid rgba(29, 155, 240, 0.24);
}

.landing-hero {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  border-radius: 40px;
  padding: 82px 46px;
  background:
    linear-gradient(160deg, rgba(29, 155, 240, 0.16), rgba(255, 255, 255, 0.02)),
    radial-gradient(circle at top right, rgba(76, 181, 249, 0.16), transparent 28%);
  box-shadow: var(--shadow);
}

.landing-hero h1 {
  font-size: clamp(2.4rem, 5.8vw, 4.6rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
  margin: 16px 0;
  max-width: 860px;
}

.landing-hero p {
  max-width: 760px;
  color: var(--muted-2);
  font-size: 1rem;
  line-height: 1.8;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-soft);
  font-size: 0.9rem;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero-btn {
  width: auto;
  min-width: 220px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 44px;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(25px);
  opacity: 0.5;
  pointer-events: none;
}

.hero-orb-a {
  width: 220px;
  height: 220px;
  background: rgba(29, 155, 240, 0.22);
  top: -40px;
  right: 80px;
  animation: floaty 10s ease-in-out infinite;
}

.hero-orb-b {
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.08);
  bottom: -60px;
  left: 40px;
  animation: floaty 12s ease-in-out infinite reverse;
}

.landing-section {
  padding: 72px 0;
}

.section-head {
  max-width: 820px;
  margin-bottom: 24px;
}

.section-head h2 {
  font-size: 2rem;
  letter-spacing: -0.03em;
  margin: 0 0 8px;
}

.section-head p {
  color: var(--muted-2);
  line-height: 1.8;
}

.how-grid,
.exchange-grid,
.faq-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.landing-icon {
  font-size: 1.35rem;
  color: var(--accent);
  margin-bottom: 14px;
}

.exchange-public-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.exchange-badge-title {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.exchange-badge-title h3 {
  margin: 0;
}

.landing-footer {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 16px;
  padding: 28px 0 12px;
  border-top: 1px solid var(--border);
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-note {
  grid-column: 1 / -1;
}

.admin-body .sidebar {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.99), rgba(15, 20, 25, 0.96));
}

.admin-body .admin-nav .nav-link {
  min-height: 50px;
}

.admin-body .page-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.18rem;
}

.admin-body .page-title::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(29, 155, 240, 0.8);
}

.admin-body .panel-card {
  border-radius: 26px;
}

.admin-body textarea.admin-translation {
  min-height: 110px;
}

.admin-body .view-container .panel-grid {
  align-items: start;
}

.admin-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-tab {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  cursor: pointer;
  font-weight: 700;
}

.admin-tab.active {
  background: rgba(29, 155, 240, 0.14);
  border-color: rgba(29, 155, 240, 0.34);
  color: #fff;
}

.settings-pane {
  display: none;
}

.settings-pane.active {
  display: block;
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-16px);
  }
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes blink {
  0%,
  80%,
  100% {
    opacity: 0.2;
  }
  40% {
    opacity: 1;
  }
}

@media (max-width: 991px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 300px;
    transform: translateX(-100%);
    transition: transform 0.25s ease;
    z-index: 30;
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .panel-span-4,
  .panel-span-6,
  .panel-span-8 {
    grid-column: span 12;
  }

  .hero-grid,
  .stats-grid,
  .skeleton-grid,
  .auth-shell,
  .register-shell,
  .hero-stats,
  .how-grid,
  .exchange-grid,
  .faq-list,
  .landing-footer,
  .admin-shell-grid,
  .settings-grid,
  .metric-strip,
  .filter-grid {
    grid-template-columns: 1fr;
  }

  .page-section-head,
  .detail-head {
    grid-template-columns: 1fr;
  }

  .auth-visual {
    display: none;
  }

  .landing-topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .landing-nav {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .topbar {
    padding: 16px;
  }

  .view-container {
    padding: 16px;
  }

  .auth-card,
  .simple-card,
  .landing-hero {
    padding: 24px;
  }

  .topbar-actions {
    gap: 10px;
  }

  .user-pill span {
    display: none;
  }

  .landing-shell {
    padding: 16px;
  }

  .landing-hero h1 {
    font-size: 2.6rem;
  }

  .nav-link {
    padding: 13px 14px;
  }

  .chat-widget {
    right: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
  }

  .chat-launcher {
    right: 12px;
    bottom: 12px;
  }
}
