/* ===== Reset & Base ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-primary: #0f1117;
  --bg-secondary: #161b22;
  --bg-card: #1c2128;
  --bg-hover: #21262d;
  --border: #30363d;
  --text-primary: #e6edf3;
  --text-secondary: #8b949e;
  --text-muted: #6e7681;
  --accent: #7c3aed;
  --accent-hover: #6d28d9;
  --accent-light: #a78bfa;
  --success: #22c55e;
  --warning: #f59e0b;
  --danger: #ef4444;
  --sidebar-width: 260px;
  --topbar-height: 64px;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --transition: 0.2s ease;
}

html {
  font-size: 15px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* ===== App Layout ===== */
.app {
  display: flex;
  min-height: 100vh;
}

/* ===== Sidebar ===== */
.sidebar {
  width: var(--sidebar-width);
  background: var(--bg-secondary);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 100;
  transition: transform var(--transition);
}

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 16px;
  border-bottom: 1px solid var(--border);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-dragon {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-text {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.5px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.logo-traff {
  color: var(--text-primary);
}

.logo-num {
  color: #ef4444;
}

.sidebar-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 4px;
}

.sidebar-nav {
  flex: 1;
  padding: 16px 12px;
  overflow-y: auto;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 14px;
  transition: all var(--transition);
  margin-bottom: 2px;
}

.nav-item:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}

.nav-item.active {
  background: rgba(124, 58, 237, 0.15);
  color: var(--accent-light);
}

.nav-item svg {
  flex-shrink: 0;
  opacity: 0.85;
}

/* Manager card */
.manager-card {
  margin: 12px;
  padding: 16px;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.manager-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.manager-info {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.manager-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--accent);
  flex-shrink: 0;
}

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

.manager-name {
  font-weight: 600;
  font-size: 14px;
}

.manager-role {
  font-size: 11px;
  color: var(--accent-light);
  font-weight: 500;
}

.manager-contacts {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-secondary);
  transition: color var(--transition);
}

.contact-item:hover {
  color: var(--accent-light);
}

/* ===== Main ===== */
.main {
  flex: 1;
  margin-left: var(--sidebar-width);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Topbar */
.topbar {
  height: var(--topbar-height);
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  position: sticky;
  top: 0;
  z-index: 50;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 6px;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
}

.balance-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 14px;
}

.balance-icon.hold {
  opacity: 0.7;
}

.timezone {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-secondary);
}

.lang-selector select {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-primary);
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  outline: none;
}

.user-menu {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  padding: 4px 8px 4px 4px;
  border-radius: 30px;
  transition: background var(--transition);
}

.user-menu:hover {
  background: var(--bg-hover);
}

.user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #a855f7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
}

.user-info {
  display: flex;
  flex-direction: column;
}

.user-name {
  font-weight: 600;
  font-size: 13px;
  line-height: 1.2;
}

.user-id {
  font-size: 11px;
  color: var(--text-muted);
}

.user-menu {
  position: relative;
}

.user-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  min-width: 140px;
  padding: 6px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all 0.15s ease;
  z-index: 60;
}

.user-menu.open .user-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.user-dropdown button {
  width: 100%;
  background: none;
  border: none;
  color: var(--text-secondary);
  padding: 10px 12px;
  text-align: left;
  font-size: 13px;
  font-weight: 500;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s;
}

.user-dropdown button:hover {
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
}

/* ===== Content ===== */
.content {
  padding: 28px;
  flex: 1;
}

.section {
  display: none;
  animation: fadeIn 0.25s ease;
}

.section.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.section-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.section-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.currency-select select {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-primary);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  outline: none;
  cursor: pointer;
}

.period-tabs {
  display: flex;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  overflow: hidden;
}

.period-tab {
  background: none;
  border: none;
  color: var(--text-secondary);
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
}

.period-tab:hover {
  color: var(--text-primary);
  background: var(--bg-hover);
}

.period-tab.active {
  background: var(--accent);
  color: #fff;
}

/* ===== Promo Banner ===== */
.promo-banner {
  background: linear-gradient(135deg, #4c1d95 0%, #7c3aed 50%, #6d28d9 100%);
  border-radius: var(--radius);
  padding: 28px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(124, 58, 237, 0.25);
}

.promo-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.promo-title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.promo-subtitle {
  font-size: 15px;
  margin-bottom: 8px;
}



.promo-text {
  font-size: 14px;
  opacity: 0.9;
  margin-bottom: 18px;
  max-width: 360px;
}

.promo-visual {
  display: flex;
  align-items: center;
}

/* ===== Stats Grid ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stats-grid.three-col {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 24px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: border-color var(--transition), transform var(--transition);
}

.stat-card:hover {
  border-color: rgba(124, 58, 237, 0.4);
  transform: translateY(-2px);
}

.stat-label {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: 2px;
}

.stat-period {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.stat-value {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.stat-value.percent {
  color: var(--accent-light);
}

.stat-chart {
  height: 28px;
  opacity: 0.7;
}

.stat-chart svg {
  width: 100%;
  height: 100%;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.35);
}

.btn-secondary {
  background: var(--bg-hover);
  color: var(--text-primary);
  border: 1px solid var(--border);
}

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

.btn-sm {
  padding: 7px 14px;
  font-size: 13px;
}

/* ===== Filters ===== */
.filters-bar {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0 14px;
  flex: 1;
  min-width: 220px;
  max-width: 360px;
}

.search-box svg {
  color: var(--text-muted);
  flex-shrink: 0;
}

.search-box input {
  background: none;
  border: none;
  color: var(--text-primary);
  padding: 10px 0;
  width: 100%;
  outline: none;
}

.search-box input::placeholder {
  color: var(--text-muted);
}

.filter-select {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-primary);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  outline: none;
  cursor: pointer;
  min-width: 140px;
}

/* ===== Tables ===== */
.offers-table-wrapper,
.stats-table-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.offers-table,
.data-table {
  width: 100%;
  border-collapse: collapse;
}

.offers-table th,
.data-table th {
  text-align: left;
  padding: 14px 18px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--border);
  background: rgba(0,0,0,0.2);
}

.offers-table td,
.data-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.offers-table tr:last-child td,
.data-table tr:last-child td {
  border-bottom: none;
}

.offers-table tr:hover td,
.data-table tr:hover td {
  background: rgba(124, 58, 237, 0.04);
}

.offer-name {
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.offer-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), #a855f7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.badge.success {
  background: rgba(34, 197, 94, 0.15);
  color: var(--success);
}

.badge.warning {
  background: rgba(245, 158, 11, 0.15);
  color: var(--warning);
}

.badge.paused {
  background: rgba(139, 148, 158, 0.15);
  color: var(--text-secondary);
}

.action-btns {
  display: flex;
  gap: 8px;
}

.action-btn {
  background: var(--bg-hover);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
}

.action-btn:hover {
  color: var(--text-primary);
  border-color: var(--accent);
  background: rgba(124, 58, 237, 0.1);
}

/* ===== Empty state ===== */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.empty-state.small {
  padding: 40px 20px;
}

.empty-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.empty-state h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.empty-state p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== Billing ===== */
.billing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.billing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.billing-label {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.billing-value {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
}

.billing-value.green {
  color: var(--success);
}

.subsection-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
}

/* ===== Tools ===== */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.tool-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  transition: border-color var(--transition), transform var(--transition);
}

.tool-card:hover {
  border-color: rgba(124, 58, 237, 0.4);
  transform: translateY(-2px);
}

.tool-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.tool-card h3 {
  font-size: 15px;
  margin-bottom: 6px;
}

.tool-card p {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

/* ===== Referrals ===== */
.referral-banner {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 8px;
}

.referral-banner h3 {
  font-size: 16px;
  margin-bottom: 12px;
}

.referral-link-box {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.referral-link-box input {
  flex: 1;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  color: var(--text-primary);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  outline: none;
  font-size: 13px;
}

.referral-note {
  font-size: 13px;
  color: var(--text-secondary);
}

/* ===== Chart ===== */
.chart-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
}

.chart-placeholder {
  width: 100%;
  overflow-x: auto;
}

#mainChart {
  width: 100%;
  max-width: 100%;
  height: auto;
}

/* ===== Modal ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 16px;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow);
  transform: scale(0.95);
  transition: transform 0.2s ease;
}

.modal-overlay.open .modal {
  transform: scale(1);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}

.modal-header h2 {
  font-size: 18px;
  font-weight: 700;
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
  padding: 0 4px;
}

.modal-close:hover {
  color: var(--text-primary);
}

.modal-body {
  padding: 24px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  color: var(--text-primary);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
}

.form-group textarea {
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 8px;
}

/* ===== Toast ===== */
.toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-primary);
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  font-size: 14px;
  font-weight: 500;
  z-index: 300;
  transform: translateY(20px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.toast.success {
  border-color: var(--success);
}

/* ===== Responsive ===== */
@media (max-width: 1200px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tools-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .sidebar {
    transform: translateX(-100%);
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .main {
    margin-left: 0;
  }
  .mobile-menu-btn {
    display: block;
  }
  .billing-cards {
    grid-template-columns: 1fr;
  }
  .promo-banner {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  .promo-text {
    max-width: none;
  }
}

@media (max-width: 600px) {
  .content {
    padding: 16px;
  }
  .stats-grid,
  .stats-grid.three-col {
    grid-template-columns: 1fr;
  }
  .tools-grid {
    grid-template-columns: 1fr;
  }
  .topbar-right {
    gap: 10px;
  }
  .timezone,
  .user-info {
    display: none;
  }
  .balance-item:first-child {
    display: none;
  }
  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}


/* ===== Hero Slider ===== */
.hero-slider {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 32px;
  background: linear-gradient(135deg, #1a0a0a 0%, #3b0f0f 40%, #7f1d1d 100%);
  min-height: 200px;
  box-shadow: 0 8px 32px rgba(239, 68, 68, 0.15);
}

.hero-slides {
  position: relative;
  min-height: 200px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 48px 36px 36px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
}

.hero-slide-inner {
  max-width: 520px;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(239, 68, 68, 0.25);
  color: #fca5a5;
  margin-bottom: 10px;
}

.hero-badge.merch { background: rgba(251, 146, 60, 0.25); color: #fdba74; }
.hero-badge.ref { background: rgba(124, 58, 237, 0.3); color: #c4b5fd; }
.hero-badge.pay { background: rgba(34, 197, 94, 0.2); color: #86efac; }

.hero-title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.3px;
  margin-bottom: 8px;
  color: #fff;
}

.hero-text {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  line-height: 1.55;
  margin-bottom: 18px;
  max-width: 420px;
}

.btn-hero {
  background: #ef4444;
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-hero:hover {
  background: #dc2626;
  box-shadow: 0 4px 16px rgba(239, 68, 68, 0.4);
}

.hero-art {
  font-size: 72px;
  opacity: 0.9;
  user-select: none;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.4));
}

.hero-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  padding: 0;
  transition: all 0.2s;
}

.hero-dot.active {
  background: #ef4444;
  width: 22px;
  border-radius: 4px;
}

.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.35);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.hero-nav:hover { background: rgba(0,0,0,0.55); }
.hero-nav.prev { left: 12px; }
.hero-nav.next { right: 12px; }

@media (max-width: 700px) {
  .hero-slide { padding: 24px 20px 40px; flex-direction: column; align-items: flex-start; }
  .hero-art { font-size: 48px; position: absolute; right: 16px; top: 16px; opacity: 0.5; }
  .hero-title { font-size: 20px; }
  .hero-nav { display: none; }
}

.conv-info { display:flex; align-items:center; gap:6px; font-size:16px; }
.conv-id { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size:12px; color:var(--text-secondary); }
.badge.hold { background: rgba(245,158,11,.15); color:#f59e0b; }
.text-muted { color: var(--text-muted); font-size:13px; }
