/* ═══════════════════════════════════════════
   ANDRODOM EXIF CLEANER — STYLE
   Premium Dark-Slate/Indigo Theme
   ═══════════════════════════════════════════ */

:root {
  --bg-main: #030712;        /* slate-950 */
  --bg-surface: #090d16;     /* dark slate */
  --bg-card: #0f172a;        /* slate-900 */
  --bg-card-hover: #1e293b;  /* slate-800 */
  
  --border-color: #1e293b;   /* slate-800 */
  --border-focus: #4f46e5;   /* indigo-600 */
  
  --text-primary: #f8fafc;   /* slate-50 */
  --text-secondary: #94a3b8; /* slate-400 */
  --text-muted: #475569;     /* slate-600 */
  
  --accent-color: #6366f1;   /* indigo-500 */
  --accent-hover: #4f46e5;
  --accent-glow: rgba(99, 102, 241, 0.15);
  
  --success-color: #10b981;  /* emerald-500 */
  --success-hover: #059669;
  --warning-color: #f59e0b;  /* amber-500 */
  --warning-glow: rgba(245, 158, 11, 0.15);
  --error-color: #ef4444;    /* red-500 */
  --error-outline: rgba(239, 68, 68, 0.2);

  --family-sans: 'Inter', system-ui, -apple-system, sans-serif;
}

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

body {
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--family-sans);
  line-height: 1.5;
  height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

/* Background decorative glow */
.bg-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.05) 0%, rgba(3, 7, 18, 0) 70%);
  z-index: -1;
  pointer-events: none;
}

.hidden { display: none !important; }

/* ═══════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════ */
.navbar {
  border-bottom: 1px solid var(--border-color);
  background: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  z-index: 50;
  position: sticky;
  top: 0;
  height: 48px;
  display: flex;
  align-items: center;
}

.navbar-container {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.brand-icon-wrapper {
  color: var(--accent-color);
  display: flex;
  align-items: center;
  transition: color 0.2s ease;
}

.brand-link:hover .brand-icon-wrapper {
  color: var(--accent-hover);
}

.brand-text {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  transition: color 0.2s ease;
}

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

.brand-link:hover .brand-text {
  color: #fff;
}

.tool-pill-wrapper {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.tool-pill-label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

@media (max-width: 640px) {
  .tool-pill-label {
    display: none;
  }
}

.tool-pill-nav {
  display: flex;
  align-items: center;
}

.tool-pill-active {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.25rem 0.625rem;
  border-radius: 0.375rem;
  background: rgba(99, 102, 241, 0.1);
  color: var(--accent-color);
  border: 1px solid rgba(99, 102, 241, 0.2);
  text-decoration: none;
}

.right-cluster {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.portal-btn {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.625rem;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.2s ease;
}

.portal-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.github-link {
  display: flex;
  align-items: center;
  padding: 0.375rem;
  border-radius: 0.375rem;
  color: var(--text-muted);
  transition: all 0.2s ease;
  text-decoration: none;
}

.github-link:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

/* ═══════════════════════════════════════════
   WORKSPACE
   ═══════════════════════════════════════════ */
.workspace {
  display: flex;
  flex: 1;
  overflow: hidden;
  max-width: 1600px;
  margin: 0 auto;
  width: 100%;
  position: relative;
}

/* ─── UPLOAD LANDING AREA ─── */
.upload-landing-area {
  display: flex;
  flex-direction: column;
  flex: 1;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  gap: 2rem;
}

.upload-box {
  width: 100%;
  max-width: 580px;
  border: 2px dashed var(--border-color);
  background: var(--bg-surface);
  border-radius: 1.25rem;
  padding: 3.5rem 2.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.upload-box:hover, .upload-box.dragover {
  border-color: var(--accent-color);
  background: rgba(99, 102, 241, 0.02);
  transform: scale(1.01);
}

.upload-icon {
  width: 72px;
  height: 72px;
  border-radius: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
}

.upload-box h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
}

.upload-box p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.limit-badge-wrapper {
  margin: 0.25rem 0;
}

.limit-badge {
  font-size: 0.75rem;
  background: rgba(245, 158, 11, 0.1);
  color: var(--warning-color);
  border: 1px solid rgba(245, 158, 11, 0.2);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-weight: 600;
}

/* ─── BATCH EDITOR INTERFACE ─── */
.editor-interface {
  display: flex;
  flex: 1;
  width: 100%;
  overflow: hidden;
}

.workspace-grid {
  display: flex;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* ─── SIDEBAR ─── */
.sidebar {
  width: 320px;
  border-right: 1px solid var(--border-color);
  background: var(--bg-surface);
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  gap: 1.5rem;
  overflow-y: auto;
  height: 100%;
}

.sidebar h3 {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.config-card, .stats-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  padding: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.form-group:last-child {
  margin-bottom: 0;
}

.form-group label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.label-with-val {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.label-with-val span:last-child {
  color: var(--accent-color);
  font-family: monospace;
  font-weight: 700;
}

.form-select {
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  font-family: var(--family-sans);
  font-size: 0.85rem;
  outline: none;
  cursor: pointer;
  width: 100%;
}

.form-select:focus {
  border-color: var(--border-focus);
}

.form-help {
  font-size: 0.7rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-top: 0.25rem;
}

.form-range {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  background: var(--bg-main);
  border-radius: 3px;
  outline: none;
  cursor: pointer;
}

.form-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent-color);
  cursor: pointer;
  transition: transform 0.1s ease;
}

.form-range::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

/* Stats Row */
.stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.stat-row:last-child {
  margin-bottom: 0;
}

.stat-label {
  color: var(--text-secondary);
}

.stat-value {
  font-weight: 700;
  color: var(--text-primary);
}

.stat-value.text-warning {
  color: var(--warning-color);
}

/* Sidebar Actions */
.sidebar-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--family-sans);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.65rem 1rem;
  border-radius: 0.375rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-full {
  width: 100%;
}

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

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

.btn-accent {
  background: var(--accent-color);
  color: white;
  box-shadow: 0 0 12px var(--accent-glow);
}

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

.btn-success {
  background: var(--success-color);
  color: white;
}

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

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

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

.btn-danger-outline {
  background: transparent;
  color: var(--error-color);
  border: 1px solid var(--error-outline);
}

.btn-danger-outline:hover {
  background: rgba(239, 68, 68, 0.05);
}

.actions-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

/* ─── MAIN WORKSPACE AREA ─── */
.main-workspace-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background: rgba(3, 7, 18, 0.4);
}

.panel {
  background: var(--bg-surface);
  border-radius: 0.75rem;
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  margin: 1.5rem;
  overflow: hidden;
}

.queue-panel {
  flex: 1;
  margin-bottom: 0.75rem;
}

.inspector-panel {
  height: 380px;
  margin-top: 0.75rem;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.panel-header {
  padding: 1rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.01);
  border-bottom: 1px solid var(--border-color);
}

.panel-header h2 {
  font-size: 0.95rem;
  font-weight: 600;
}

.border-bottom {
  border-bottom: 1px solid var(--border-color);
}

.info-badge {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Table styling */
.table-container {
  overflow-y: auto;
  flex: 1;
}

.queue-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.queue-table th {
  padding: 0.85rem 1.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border-color);
  letter-spacing: 0.02em;
}

.queue-table td {
  padding: 0.85rem 1.25rem;
  font-size: 0.85rem;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-primary);
  vertical-align: middle;
}

.queue-table tr {
  transition: background 0.15s ease, border-color 0.15s ease;
  cursor: pointer;
}

.queue-table tr:hover {
  background: rgba(255, 255, 255, 0.01);
}

.queue-table tr.selected {
  background: rgba(99, 102, 241, 0.06);
  border-left: 3px solid var(--accent-color);
}

.queue-table tr.selected td {
  border-bottom: 1px solid rgba(99, 102, 241, 0.1);
}

.text-right {
  text-align: right;
}

/* Table cells content */
.thumbnail-cell {
  width: 54px;
}

.table-thumbnail {
  width: 36px;
  height: 36px;
  border-radius: 4px;
  object-fit: cover;
  border: 1px solid var(--border-color);
  background: #000;
}

.filename-wrapper {
  max-width: 250px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 500;
}

/* Badges */
.badge {
  font-size: 0.7rem;
  padding: 0.15rem 0.5rem;
  border-radius: 9999px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.badge-gps {
  background: rgba(245, 158, 11, 0.1);
  color: var(--warning-color);
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.badge-clean {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success-color);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.status-badge {
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-weight: 500;
}

.status-badge.queued {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
}

.status-badge.processing {
  background: rgba(99, 102, 241, 0.15);
  color: #a5b4fc;
}

.status-badge.complete {
  background: rgba(16, 185, 129, 0.15);
  color: #6ee7b7;
}

.status-badge.error {
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
}

/* Buttons inside table */
.btn-icon {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.35rem;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.btn-icon:hover {
  color: var(--error-color);
  background: rgba(239, 68, 68, 0.08);
}

/* ─── METADATA INSPECTOR ─── */
.inspector-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.inspector-title-wrap h2 {
  font-size: 0.95rem;
  max-width: 400px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dimensions-badge {
  font-size: 0.7rem;
  background: var(--border-color);
  color: var(--text-secondary);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-family: monospace;
}

.btn-close {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  padding: 0.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease;
}

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

.inspector-tabs {
  display: flex;
  background: rgba(255, 255, 255, 0.01);
  border-bottom: 1px solid var(--border-color);
}

.tab-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  padding: 0.75rem 1.5rem;
  font-family: var(--family-sans);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  transition: color 0.15s ease;
}

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

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

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-color);
}

.tab-content {
  display: none;
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem;
}

.tab-content.active {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* GPS Warning Box */
.gps-alert {
  display: flex;
  gap: 1rem;
  background: rgba(245, 158, 11, 0.05);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 0.5rem;
  padding: 1rem;
  box-shadow: 0 0 10px var(--warning-glow);
}

.alert-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.alert-text {
  font-size: 0.8rem;
}

.alert-text strong {
  display: block;
  color: var(--warning-color);
  margin-bottom: 0.25rem;
}

.alert-text p {
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.map-link {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

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

.map-link .arrow {
  transition: transform 0.2s ease;
}

.map-link:hover .arrow {
  transform: translateX(3px);
}

/* Inspector Grid */
.inspector-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

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

.meta-card {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  padding: 1rem;
}

.meta-card h4 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.35rem;
}

.meta-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.meta-list li {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
}

.meta-list .lbl {
  color: var(--text-muted);
}

.meta-list .val {
  font-weight: 500;
  color: var(--text-primary);
  text-align: right;
  word-break: break-all;
}

/* Raw Metadata */
.raw-meta-section {
  margin-top: 0.5rem;
}

.btn-toggle-raw {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-family: var(--family-sans);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0;
}

.btn-toggle-raw:hover {
  color: var(--text-primary);
}

.btn-toggle-raw .chevron {
  font-size: 0.6rem;
  transition: transform 0.2s ease;
}

.btn-toggle-raw.expanded .chevron {
  transform: rotate(180deg);
}

.raw-table-wrap {
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  max-height: 250px;
  overflow-y: auto;
  margin-top: 0.5rem;
  background: var(--bg-surface);
}

.raw-meta-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.75rem;
  text-align: left;
}

.raw-meta-table th {
  padding: 0.5rem 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 10;
}

.raw-meta-table td {
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-primary);
}

.raw-meta-table tr:last-child td {
  border-bottom: none;
}

/* Cleaned Preview Tab State */
.cleaned-preview-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem 0;
  text-align: center;
}

.cleaned-success-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--success-color);
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.15);
}

.cleaned-preview-state h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.cleaned-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  max-width: 400px;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.after-meta-comparison {
  display: flex;
  gap: 2rem;
  margin-bottom: 1.5rem;
  width: 100%;
  max-width: 400px;
  justify-content: center;
}

.comp-col {
  flex: 1;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border-color);
  padding: 0.75rem;
  border-radius: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.comp-title {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-muted);
}

.comp-val {
  font-size: 0.85rem;
  font-weight: 600;
}

.comp-val.text-warning { color: var(--warning-color); }
.comp-val.text-success { color: var(--success-color); }

/* Footer styling */
.footer {
  text-align: center;
  padding: 1.25rem 0;
  font-size: 0.75rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-color);
  background: var(--bg-main);
  z-index: 10;
}

.footer a {
  color: var(--text-secondary);
  text-decoration: none;
  margin: 0 0.5rem;
  transition: color 0.15s ease;
}

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

.footer container {
  display: block;
}

/* Responsive Overrides */
@media (max-width: 1024px) {
  body {
    overflow: auto;
    height: auto;
  }
  .workspace {
    flex-direction: column;
    overflow: visible;
  }
  .editor-interface {
    flex-direction: column;
    height: auto;
    overflow: visible;
  }
  .workspace-grid {
    flex-direction: column;
    height: auto;
    overflow: visible;
  }
  .sidebar {
    width: 100%;
    height: auto;
    border-right: none;
    border-bottom: 1px solid var(--border-color);
  }
  .main-workspace-area {
    height: auto;
    overflow: visible;
  }
  .queue-panel {
    margin-bottom: 1.5rem;
  }
  .inspector-panel {
    height: auto;
  }
}

/* Hide native file input */
.hidden-file-input {
  display: none !important;
}

/* ─── SPONSOR / PROMO SLOTS (ADBLOCK SAFE) ─── */
.landing-promo {
  width: 100%;
  max-width: 728px;
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

.landing-promo .promo-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  width: 100%;
}

.landing-promo .promo-text {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.landing-promo .promo-banner-container {
  width: 100%;
  height: 90px;
  background: rgba(255, 255, 255, 0.01);
  border: 1px dashed rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease;
}

.landing-promo .promo-banner-container:hover {
  border-color: rgba(99, 102, 241, 0.2);
}

.landing-promo .promo-placeholder {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.2);
}

.sidebar-promo {
  margin-top: auto;
  border-top: 1px solid var(--border-color);
  padding: 1.25rem 0 0 0;
  background: transparent;
}

.promo-inner {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.promo-text {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.promo-box-container {
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  height: 250px;
  background: rgba(255, 255, 255, 0.01);
  border: 1px dashed rgba(255, 255, 255, 0.08);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.promo-box-container:hover {
  border-color: rgba(99, 102, 241, 0.2);
}

.promo-placeholder {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.2);
  text-align: center;
}

/* ═══════════════════════════════════════════
   BOTTOM SPONSOR BANNER (ADBLOCK SAFE)
   ═══════════════════════════════════════════ */
.bottom-sponsor-container {
  width: 100%;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  padding: 0.75rem 0;
  display: flex;
  justify-content: center;
}

.sponsor-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.sponsor-notice-text {
  font-size: 0.6rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.sponsor-banner-placeholder {
  width: 100%;
  max-width: 728px;
  height: 90px;
  background: rgba(255, 255, 255, 0.01);
  border: 1px dashed rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease;
}

.sponsor-banner-placeholder:hover {
  border-color: rgba(99, 102, 241, 0.2);
}

.sponsor-banner-placeholder span {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.2);
}

@media (max-width: 992px) {
  .landing-promo .promo-banner-container,
  .sponsor-banner-placeholder {
    height: 60px;
  }
}
