/* trade.domains - Modern Financial Exchange Styling */
:root {
  --bg-main: #070a13;
  --bg-card: #0d1322;
  --bg-card-hover: #121a2f;
  --bg-card-alt: #16203a;
  --border-subtle: #1e293b;
  --border-glow: #2a3d66;
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --accent-cyan: #06b6d4;
  --accent-cyan-glow: rgba(6, 182, 212, 0.25);
  --accent-emerald: #10b981;
  --accent-emerald-glow: rgba(16, 185, 129, 0.2);
  --accent-blue: #3b82f6;
  --accent-amber: #f59e0b;
  --accent-rose: #f43f5e;
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  
  --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 20px rgba(6, 182, 212, 0.15);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Tabular figures for prices */
.num, .price, .score, .stat-value {
  font-variant-numeric: tabular-nums;
  font-family: var(--font-mono);
}

/* Top Unified Live Marquee Ticker */
.ticker-wrap {
  width: 100%;
  background: #050811;
  border-bottom: 1px solid rgba(245, 158, 11, 0.25);
  overflow: hidden;
  height: 36px;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 50;
}

.ticker-badge {
  background: #091325;
  color: var(--accent-cyan);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0 14px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  border-right: 1px solid rgba(6, 182, 212, 0.25);
  white-space: nowrap;
  flex-shrink: 0;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background-color: var(--accent-emerald);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-emerald);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

.ticker-content {
  display: flex;
  white-space: nowrap;
  animation: tickerSlide 38s linear infinite;
  gap: 2.5rem;
  padding-left: 1.5rem;
}

.ticker-wrap:hover .ticker-content {
  animation-play-state: paused;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.ticker-item strong {
  color: var(--text-main);
  font-family: var(--font-mono);
}

.ticker-tag {
  font-size: 0.68rem;
  padding: 2px 7px;
  border-radius: 4px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.ticker-tag.flagship { background: rgba(6, 182, 212, 0.18); color: #22d3ee; border: 1px solid rgba(6, 182, 212, 0.3); }
.ticker-tag.protocol { background: rgba(16, 185, 129, 0.18); color: #34d399; }
.ticker-tag.swap { background: rgba(245, 158, 11, 0.18); color: #fbbf24; }
.ticker-tag.testing { background: rgba(148, 163, 184, 0.15); color: #94a3b8; }
.ticker-tag.beta { background: rgba(6, 182, 212, 0.2); color: #22d3ee; border: 1px solid rgba(6, 182, 212, 0.35); }
.ticker-tag.acquisitions { background: rgba(59, 130, 246, 0.2); color: #60a5fa; }

@keyframes tickerSlide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.demo-pill {
  background: rgba(245, 158, 11, 0.14);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.4);
  font-size: 0.64rem;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-left: 8px;
  text-transform: uppercase;
  display: inline-block;
  vertical-align: middle;
}
/* Header & Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(7, 10, 19, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.85rem 1.75rem;
}

.nav-container {
  max-width: 1380px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.brand-icon {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.1rem;
  color: #fff;
  box-shadow: 0 0 14px var(--accent-cyan-glow);
}

.brand-name {
  color: #ffffff;
}

.brand-tld {
  color: var(--accent-cyan);
}

.nav-tabs-bar {
  display: flex;
  background: #0f172a;
  padding: 4px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  gap: 4px;
}

.nav-tab-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 7px 16px;
  border-radius: var(--radius-full);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-tab-btn:hover {
  color: var(--text-main);
}

.nav-tab-btn.active {
  background: var(--bg-card-alt);
  color: var(--accent-cyan);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-secondary {
  background: #111a2f;
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-secondary:hover {
  background: #192644;
  border-color: var(--border-glow);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-cyan), #0284c7);
  color: #ffffff;
  border: none;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px var(--accent-cyan-glow);
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

/* Hero Section */
.hero-section {
  padding: 3.5rem 1.5rem 2.5rem;
  max-width: 1280px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.hero-glow {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 250px;
  background: radial-gradient(ellipse at center, rgba(6, 182, 212, 0.12) 0%, rgba(59, 130, 246, 0.05) 50%, transparent 80%);
  z-index: -1;
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.3);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  color: var(--accent-cyan);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero-title span {
  background: linear-gradient(135deg, #38bdf8, #818cf8, #34d399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 2.2rem;
  line-height: 1.6;
}

/* Fast Search & Filter Bar */
.search-box-wrap {
  max-width: 820px;
  margin: 0 auto 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 8px;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  display: flex;
  gap: 8px;
  align-items: center;
}

.search-icon {
  padding-left: 14px;
  color: var(--text-dim);
  font-size: 1.1rem;
}

.search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-main);
  font-size: 1.05rem;
  padding: 8px;
  font-family: inherit;
}

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

.category-select {
  background: var(--bg-card-alt);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  outline: none;
  cursor: pointer;
}

/* TLD Filter Pills */
.tld-filters {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.tld-pill {
  background: #0d1424;
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.tld-pill:hover {
  border-color: var(--accent-cyan);
  color: var(--text-main);
}

.tld-pill.active {
  background: rgba(6, 182, 212, 0.15);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

/* Quick Metrics Row */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  max-width: 1280px;
  margin: 0 auto 3rem;
  padding: 0 1.5rem;
}

.metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  text-align: left;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s;
}

.metric-card:hover {
  border-color: var(--border-glow);
}

.metric-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
  opacity: 0.3;
}

.metric-label {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  margin-bottom: 4px;
}

.metric-val {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.metric-meta {
  font-size: 0.78rem;
  color: var(--accent-emerald);
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Main Content Views */
.main-content {
  max-width: 1380px;
  margin: 0 auto 5rem;
  padding: 0 1.5rem;
}

.view-section {
  display: none;
}

.view-section.active {
  display: block;
}

/* Section Header */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 1.5rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.section-head-title h2 {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section-head-title p {
  color: var(--text-muted);
  font-size: 0.88rem;
}

/* Table Card */
.table-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
}

.exchange-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.exchange-table th {
  background: #090e1b;
  color: var(--text-dim);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-subtle);
}

.exchange-table td {
  padding: 16px 18px;
  border-bottom: 1px solid #141c2e;
  vertical-align: middle;
}

.exchange-table tr {
  transition: background-color 0.15s ease;
}

.exchange-table tr:hover td {
  background: var(--bg-card-hover);
}

.domain-cell-name {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  cursor: pointer;
}

.domain-cell-name:hover {
  color: var(--accent-cyan);
}

.badge-verified {
  color: var(--accent-cyan);
  font-size: 0.85rem;
}

.badge-category {
  display: inline-block;
  font-size: 0.74rem;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  background: #162038;
  color: #94a3b8;
  font-weight: 600;
}

.score-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.12);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.swap-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: var(--radius-sm);
  font-size: 0.74rem;
  font-weight: 600;
}
.swap-badge.yes {
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-amber);
  border: 1px solid rgba(245, 158, 11, 0.3);
}
.swap-badge.no {
  background: rgba(100, 116, 139, 0.12);
  color: var(--text-dim);
}

.table-actions {
  display: flex;
  gap: 8px;
}

.btn-table-action {
  background: #15223c;
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}

.btn-table-action:hover {
  background: var(--accent-cyan);
  color: #000;
  border-color: var(--accent-cyan);
}

/* Tab 2: P2P Swap Studio */
.swap-studio-grid {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 2rem;
}

@media (max-width: 860px) {
  .swap-studio-grid {
    grid-template-columns: 1fr;
  }
}

.swap-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-lg);
}

.swap-box-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
}

.swap-box-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.swap-icon-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.swap-circle-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--bg-card-alt);
  border: 2px solid var(--accent-cyan);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 0 15px var(--accent-cyan-glow);
  cursor: pointer;
  transition: transform 0.2s;
}

.swap-circle-btn:hover {
  transform: rotate(180deg);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 6px;
  font-weight: 600;
}

.form-input, .form-select {
  width: 100%;
  background: #090e1a;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: var(--text-main);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
  font-family: inherit;
}

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

.fairness-meter-card {
  background: #0a1120;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-top: 1rem;
}

.meter-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.84rem;
  margin-bottom: 6px;
  font-weight: 600;
}

.meter-bar-track {
  height: 8px;
  background: #141c2f;
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
}

.meter-bar-fill {
  height: 100%;
  width: 78%;
  background: linear-gradient(90deg, #10b981, #06b6d4);
  border-radius: var(--radius-full);
  transition: width 0.4s ease;
}

/* Tab 3: AI Appraisal & Valuation Tool */
.valuation-tool-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-lg);
  max-width: 900px;
  margin: 0 auto;
}

.valuation-results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}

.val-metric-box {
  background: #090e1b;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.val-metric-box h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 6px;
}

.val-metric-box .number {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-cyan);
}

/* Tab 4: List Your Domain */
.listing-wizard-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
}

.dns-code-block {
  background: #060912;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent-cyan);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
}

/* Fee Comparison Section */
.fee-comparison {
  margin-top: 4.5rem;
  padding-top: 3.5rem;
  border-top: 1px solid var(--border-subtle);
}

.fee-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.fee-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  text-align: center;
  position: relative;
}

.fee-card.highlight {
  border-color: var(--accent-cyan);
  background: #0e172c;
  box-shadow: 0 0 25px var(--accent-cyan-glow);
}

.fee-card.highlight::before {
  content: "LOWEST IN INDUSTRY";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-cyan);
  color: #000;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.fee-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.fee-rate {
  font-size: 2.8rem;
  font-weight: 900;
  font-family: var(--font-mono);
  margin-bottom: 0.5rem;
}

.fee-card.highlight .fee-rate {
  color: var(--accent-cyan);
}

.fee-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Modals */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 6, 12, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-backdrop.open {
  display: flex;
}

.modal-container {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  max-width: 650px;
  width: 100%;
  box-shadow: var(--shadow-lg), 0 0 35px rgba(6, 182, 212, 0.2);
  overflow: hidden;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.modal-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #090f1d;
}

.modal-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

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

.modal-body {
  padding: 1.5rem;
  overflow-y: auto;
}

.modal-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border-subtle);
  background: #090f1d;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

/* Order Book Visual */
.order-book-list {
  background: #060912;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px;
  margin: 1rem 0;
}

.order-book-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  padding: 6px 8px;
  border-bottom: 1px solid #131b2e;
}

.order-book-row:last-child {
  border-bottom: none;
}

/* Toast Notification */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #0e172a;
  border: 1px solid var(--accent-cyan);
  box-shadow: 0 10px 25px rgba(0,0,0,0.5), 0 0 15px var(--accent-cyan-glow);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  color: #fff;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Footer */
.site-footer {
  background: #050811;
  border-top: 1px solid var(--border-subtle);
  padding: 3.5rem 1.5rem 2rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-container {
  max-width: 1380px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

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

.footer-col h5 {
  color: var(--text-main);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

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

.footer-col li {
  margin-bottom: 0.6rem;
}

.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-col a:hover {
  color: var(--accent-cyan);
}

.footer-bottom {
  max-width: 1380px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--text-dim);
}
