/* Google Fonts - Orbitron & Rajdhani for item labels */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=Rajdhani:wght@400;500;600;700&family=Exo+2:wght@400;500;600;700&display=swap');

:root {
  --bg: #02060d;
  --bg-alt: #050c16;
  --panel: #050912;
  --panel-alt: #08121f;
  --accent: #29d0ff;
  --accent-soft: rgba(41,208,255,0.12);
  --accent2: #7cffb2;
  --danger: #ff7675;
  --text: #f5f8ff;
  --muted: #9ba8c0;
  --border-soft: rgba(255,255,255,0.06);
  --radius: 12px;
  --radius-lg: 18px;
  --shadow-soft: 0 0 30px rgba(6,20,35,0.8);
  --shadow-neon: 0 0 20px rgba(41,208,255,0.4);
  --shadow-neon-strong: 0 0 30px rgba(41,208,255,0.6);
  --transition-fast: 0.18s ease-out;
  --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-main: 'Orbitron', sans-serif;
  --font-item-label: 'Rajdhani', sans-serif;
  --font-size-base: 11px; /* Base increased by 10% from 10px (10 * 1.1 = 11px) */
}

/* Light theme variables */
[data-theme="light"] {
  --bg: #f5f8ff;
  --bg-alt: #e8edf5;
  --panel: #ffffff;
  --panel-alt: #f0f4f8;
  --accent: #0066cc;
  --accent-soft: rgba(0,102,204,0.1);
  --accent2: #00a86b;
  --danger: #cc0000;
  --text: #1a1f2e;
  --muted: #5a6c7d;
  --border-soft: rgba(0,0,0,0.1);
  --shadow-soft: 0 2px 10px rgba(0,0,0,0.1);
  --shadow-neon: 0 2px 8px rgba(0,102,204,0.2);
  --shadow-neon-strong: 0 4px 12px rgba(0,102,204,0.3);
}

[data-theme="light"] body {
  background: linear-gradient(135deg, #e8edf5 0%, #f5f8ff 50%, #ffffff 100%);
  color: var(--text);
}

/* Light theme - ensure all panels are bright and text is dark */
[data-theme="light"] .card-panel,
[data-theme="light"] .arct-card,
[data-theme="light"] .panel-body,
[data-theme="light"] .panel-header,
[data-theme="light"] .arct-search-panel,
[data-theme="light"] .arct-live-stats-panel,
[data-theme="light"] .arct-top-wanted-panel,
[data-theme="light"] .arct-popular-items-panel,
[data-theme="light"] .stat-card,
[data-theme="light"] .modal-content,
[data-theme="light"] .modal-card,
[data-theme="light"] .trade-detail-card,
[data-theme="light"] .trader-detail-card,
[data-theme="light"] .counter-offer-card,
[data-theme="light"] .inventory-item,
[data-theme="light"] .trading-card,
[data-theme="light"] .notification-item,
[data-theme="light"] .message-thread,
[data-theme="light"] .chat-message,
[data-theme="light"] .profile-modal-enhanced,
[data-theme="light"] .item-modal-card {
  background: var(--panel) !important;
  color: var(--text) !important;
  border-color: var(--border-soft) !important;
}

[data-theme="light"] .panel-alt,
[data-theme="light"] .inventory-preview-item,
[data-theme="light"] .trading-card-preview,
[data-theme="light"] .counter-offer-item {
  background: var(--panel-alt) !important;
  color: var(--text) !important;
}

[data-theme="light"] .stat-value,
[data-theme="light"] .stat-label,
[data-theme="light"] .panel-title,
[data-theme="light"] .detail-item-name,
[data-theme="light"] .detail-item-qty,
[data-theme="light"] .trade-detail-poster-name,
[data-theme="light"] .trader-detail-name,
[data-theme="light"] h1,
[data-theme="light"] h2,
[data-theme="light"] h3,
[data-theme="light"] h4,
[data-theme="light"] h5,
[data-theme="light"] h6,
[data-theme="light"] .notification-title,
[data-theme="light"] .notification-message,
[data-theme="light"] label,
[data-theme="light"] input,
[data-theme="light"] textarea,
[data-theme="light"] select,
[data-theme="light"] button:not(.arct-btn-primary):not(.arct-btn-success):not(.arct-btn-danger) {
  color: var(--text) !important;
}

[data-theme="light"] .small-muted,
[data-theme="light"] .muted,
[data-theme="light"] .detail-item-desc,
[data-theme="light"] .trade-detail-poster-handle,
[data-theme="light"] .trader-detail-handle {
  color: var(--muted) !important;
}

[data-theme="light"] input,
[data-theme="light"] textarea,
[data-theme="light"] select {
  background: var(--panel-alt) !important;
  border-color: var(--border-soft) !important;
  color: var(--text) !important;
}

[data-theme="light"] input:focus,
[data-theme="light"] textarea:focus,
[data-theme="light"] select:focus {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 2px var(--accent-soft) !important;
}

/* Rarity colors */
.rarity-common { color: #9ba8c0; }
.rarity-uncommon { color: #7cffb2; }
.rarity-rare { color: #29d0ff; }
.rarity-epic { color: #9b59b6; }
.rarity-legendary { color: #ffd369; }
.rarity-mythic { color: #e84393; }

.rarity-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
}

.rarity-badge.common {
  background: rgba(155,168,192,0.15);
  color: #9ba8c0;
  border: 1px solid rgba(155,168,192,0.3);
}

.rarity-badge.uncommon {
  background: rgba(124,255,178,0.15);
  color: #7cffb2;
  border: 1px solid rgba(124,255,178,0.3);
}

.rarity-badge.rare {
  background: rgba(41,208,255,0.15);
  color: #29d0ff;
  border: 1px solid rgba(41,208,255,0.3);
}

.rarity-badge.epic {
  background: rgba(155,89,182,0.15);
  color: #9b59b6;
  border: 1px solid rgba(155,89,182,0.3);
}

.rarity-badge.legendary {
  background: rgba(255,211,105,0.15);
  color: #ffd369;
  border: 1px solid rgba(255,211,105,0.3);
}

.rarity-badge.mythic {
  background: rgba(232,67,147,0.15);
  color: #e84393;
  border: 1px solid rgba(232,67,147,0.3);
}


/* Inventory grid */
.inventory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.inventory-item {
  background: var(--panel);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 10px;
  text-align: center;
  transition: var(--transition-smooth);
}

.inventory-item:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-neon);
  transform: translateY(-2px);
}

.inventory-item img {
  width: 100%;
  height: 120px;
  object-fit: contain;
  margin-bottom: 8px;
  border-radius: 4px;
}

.inventory-item-info {
  font-size: 0.9rem;
}

.inventory-item-name {
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text);
}

.inventory-item-qty {
  color: var(--muted);
  font-size: 0.85rem;
}

/* Form row for side-by-side fields */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}

/* Item row for counter-offers */
.item-row {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  align-items: center;
}

.item-row input {
  flex: 1;
}

.item-row button {
  width: 30px;
  height: 30px;
  padding: 0;
  border-radius: 4px;
}

/* Counter-offer cards */
.counter-offers-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 15px;
}

.counter-offer-card {
  background: var(--panel);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 15px;
}

.counter-offer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.counter-offer-user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.counter-offer-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.counter-offer-status {
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

.counter-offer-status.status-pending {
  background: rgba(255, 211, 105, 0.2);
  color: #ffd369;
  border: 1px solid rgba(255, 211, 105, 0.3);
}

.counter-offer-status.status-accepted {
  background: rgba(124, 255, 178, 0.2);
  color: #7cffb2;
  border: 1px solid rgba(124, 255, 178, 0.3);
}

.counter-offer-status.status-rejected {
  background: rgba(255, 118, 117, 0.2);
  color: #ff7675;
  border: 1px solid rgba(255, 118, 117, 0.3);
}

.counter-offer-items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.counter-offer-item {
  background: var(--panel-alt);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.9rem;
}

.counter-offer-notes {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 10px;
  font-style: italic;
}

.counter-offer-actions {
  display: flex;
  gap: 10px;
}

/* Inventory preview */
.inventory-preview {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.inventory-preview-item {
  background: var(--panel-alt);
  border: 1px solid var(--border-soft);
  border-radius: 6px;
  padding: 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.inventory-preview-item img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.inventory-preview-name {
  font-size: 0.75rem;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
}

/* Trading cards preview */
.trading-cards-preview {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.trading-card-preview {
  background: var(--panel-alt);
  border: 2px solid var(--border-soft);
  border-radius: 8px;
  padding: 12px;
  text-align: center;
  font-size: 0.8rem;
  transition: var(--transition-smooth);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.trading-card-preview::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  opacity: 0.3;
}

.trading-card-preview:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-neon);
  border-color: var(--accent);
}

.trading-card-preview .card-rarity-common {
  color: #9ba8c0;
  border-color: rgba(155,168,192,0.3);
}

.trading-card-preview .card-rarity-uncommon {
  color: #4caf50;
  border-color: rgba(76,175,80,0.3);
}

.trading-card-preview .card-rarity-rare {
  color: #2196f3;
  border-color: rgba(33,150,243,0.3);
}

.trading-card-preview .card-rarity-epic {
  color: #9c27b0;
  border-color: rgba(156,39,176,0.3);
}

.trading-card-preview .card-rarity-legendary {
  color: #ffc107;
  border-color: rgba(255,193,7,0.3);
}

.trading-card-preview .card-rarity-mythic {
  color: #e91e63;
  border-color: rgba(233,30,99,0.3);
}

.trading-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.trading-card {
  background: var(--panel);
  border: 2px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 15px;
  text-align: center;
  transition: var(--transition-smooth);
}

.trading-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-neon);
}

.trading-card-name {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--text);
}

.trading-card-type {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.trading-card-source {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 8px;
  font-style: italic;
}

.trading-card.rarity-common { 
  border-color: rgba(155,168,192,0.5);
  background: linear-gradient(135deg, var(--panel) 0%, rgba(155,168,192,0.05) 100%);
}

.trading-card.rarity-uncommon { 
  border-color: rgba(76,175,80,0.5);
  background: linear-gradient(135deg, var(--panel) 0%, rgba(76,175,80,0.05) 100%);
}

.trading-card.rarity-rare { 
  border-color: rgba(33,150,243,0.5);
  background: linear-gradient(135deg, var(--panel) 0%, rgba(33,150,243,0.05) 100%);
}

.trading-card.rarity-epic { 
  border-color: rgba(156,39,176,0.5);
  background: linear-gradient(135deg, var(--panel) 0%, rgba(156,39,176,0.05) 100%);
}

.trading-card.rarity-legendary { 
  border-color: rgba(255,193,7,0.5);
  background: linear-gradient(135deg, var(--panel) 0%, rgba(255,193,7,0.05) 100%);
}

.trading-card.rarity-mythic { 
  border-color: rgba(233,30,99,0.5);
  background: linear-gradient(135deg, var(--panel) 0%, rgba(233,30,99,0.05) 100%);
}

.trading-card {
  position: relative;
  overflow: hidden;
}

.trading-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  opacity: 0.3;
}

.trading-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: var(--shadow-neon-strong);
  border-color: var(--accent);
}

.trading-card-name {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--text);
  text-shadow: 0 0 10px rgba(41,208,255,0.3);
}

.trading-card-type {
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.trading-card-source {
  font-size: 0.7rem;
  color: var(--muted);
  margin-top: 8px;
  font-style: italic;
}

.platform-status {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
}

.platform-status.connected {
  background: rgba(76,175,80,0.2);
  color: #4caf50;
  border: 1px solid rgba(76,175,80,0.4);
}

/* Item modal actions */
.item-modal-actions {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--border-soft);
}

.item-modal-card {
  position: relative;
}

/* Trade detail section */
.trade-detail-section {
  background: var(--panel);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 20px;
  margin-top: 20px;
}

.section-header {
  margin-bottom: 15px;
}

.section-header h4 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--accent);
}

/* Seamless full-page background */
html {
  height: 100%;
  width: 100%;
  max-width: 100%;
  font-size: var(--font-size-base) !important; /* 11px = 30% smaller */
  box-sizing: border-box;
  overflow-x: hidden;
}

body {
  height: 100%;
  margin: 0;
  min-height: 100vh;
  width: 100%;
  max-width: 100%;
  background: radial-gradient(circle at top, #0b1e33 0, #02060d 55%, #010308 100%);
  background-attachment: fixed;
  font-family: var(--font-main);
  font-size: 1rem !important; /* Use rem to scale with html base */
  color: var(--text);
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  overflow-x: hidden;
}

/* Ensure all elements use Orbitron - applied globally */
*, *::before, *::after {
  font-family: var(--font-main) !important;
  box-sizing: border-box;
}

html, body, div, span, h1, h2, h3, h4, h5, h6, p, a, button, input, select, textarea, label, li, ul, ol, table, tr, td, th, thead, tbody, section, article, aside, nav, header, footer, main {
  font-family: var(--font-main) !important;
}

/* Global font-size - increased by 10% */
/* Base is 11px, scale all elements proportionally */
body > * {
  font-size: 1.08rem !important; /* 0.98 * 1.1 = 1.078 */
}

/* All text elements - increased by 10% */
p, span, div, a, li, td, th, label, small, strong, em, b, i, code, pre {
  font-size: 1.01rem !important; /* 0.92 * 1.1 = 1.012 */
}

/* Buttons and inputs - increased by 10% */
button, .arct-btn, input, select, textarea {
  font-size: 0.95rem !important; /* 0.86 * 1.1 = 0.946 */
  padding: calc(0.5em * 0.85) calc(1em * 0.85) !important; /* Slightly larger padding */
}

/* Specific classes - increased by 10% */
.stat-value, .stat-label, .panel-header, .panel-body, .panel-title, .arct-card, .card-panel, .mini-item-tag, .notification-title, .notification-message, .detail-value, .detail-label {
  font-size: 0.95rem !important; /* 0.86 * 1.1 = 0.946 */
}

/* Labels and small text - increased by 10% */
.stat-label, .detail-label, .panel-title, small {
  font-size: 0.89rem !important; /* 0.81 * 1.1 = 0.891 */
}

/* Headings - increased by 10% */
h1 { font-size: 2.02rem !important; /* 1.84 * 1.1 = 2.024 */ }
h2 { font-size: 1.77rem !important; /* 1.61 * 1.1 = 1.771 */ }
h3 { font-size: 1.52rem !important; /* 1.38 * 1.1 = 1.518 */ }
h4 { font-size: 1.27rem !important; /* 1.15 * 1.1 = 1.265 */ }
h5 { font-size: 1.14rem !important; /* 1.04 * 1.1 = 1.144 */ }
h6 { font-size: 1.01rem !important; /* 0.92 * 1.1 = 1.012 */ }

@keyframes neon-glow {
  0%, 100% {
    box-shadow: 0 0 10px rgba(41,208,255,0.3), 
                0 0 20px rgba(41,208,255,0.2),
                0 0 30px rgba(41,208,255,0.1);
  }
  50% {
    box-shadow: 0 0 20px rgba(41,208,255,0.5), 
                0 0 30px rgba(41,208,255,0.3),
                0 0 40px rgba(41,208,255,0.2);
  }
}

@keyframes slide-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes pulse-scale {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

#arct-app-root {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.arct-root {
  max-width: 100%;
  width: 100%;
  margin: 20px auto 40px;
  padding: 0 16px;
  animation: fade-in 0.5s ease-out;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

/* Announcements */

.announcement-stack {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 10px;
  padding: 0 16px;
}

.announcement-bar {
  padding: 6px 12px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  border: 1px solid rgba(255,255,255,0.2);
  animation: slide-up 0.4s ease-out;
  transition: all var(--transition-smooth);
}

.announcement-bar:hover {
  transform: translateX(5px);
  box-shadow: 0 0 15px rgba(41,208,255,0.3);
}

.announcement-bar .label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  color: #0b1320;
  border-radius: 999px;
  padding: 2px 8px;
  animation: pulse-scale 2s ease-in-out infinite;
}

/* Types */

.ann-info {
  background: linear-gradient(90deg, rgba(41,208,255,0.22), rgba(0,135,255,0.35));
  border-color: rgba(41,208,255,0.8);
}
.ann-info .label {
  background: #29d0ff;
}

.ann-success {
  background: linear-gradient(90deg, rgba(124,255,178,0.22), rgba(36,201,145,0.35));
  border-color: rgba(124,255,178,0.9);
}
.ann-success .label {
  background: #7cffb2;
}

.ann-warning {
  background: linear-gradient(90deg, rgba(255,211,105,0.22), rgba(255,163,72,0.35));
  border-color: rgba(255,211,105,0.9);
}
.ann-warning .label {
  background: #ffd369;
}

.ann-danger {
  background: linear-gradient(90deg, rgba(255,118,117,0.22), rgba(241,78,78,0.35));
  border-color: rgba(255,118,117,0.9);
}
.ann-danger .label {
  background: #ff7675;
}

.ann-promo {
  background: linear-gradient(90deg, rgba(167,139,250,0.25), rgba(232,121,249,0.5));
  border-color: rgba(167,139,250,0.95);
}
.ann-promo .label {
  background: #a78bfa;
}

.announcement-bar .text {
  color: #ffffff;
}

/* Top bar */

.arct-topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 18px;
  padding: 0 16px;
  animation: slide-up 0.5s ease-out;
  width: 100%;
  box-sizing: border-box;
}

.arct-logo-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.arct-header-logo-big {
  height: 90px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 10px rgba(41,208,255,0.5));
  transition: all var(--transition-smooth);
}

.arct-header-logo-big:hover {
  filter: drop-shadow(0 0 20px rgba(41,208,255,0.8));
  transform: scale(1.05);
}

.arct-logo-text-main {
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--muted);
}

.arct-top-right-column {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.top-clock-wrap {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 5px;
}

/* Clock */

.arct-clock-badge {
  min-width: 220px;
  height: 34px;
  border-radius: 999px;
  background: radial-gradient(circle at 10% 0, rgba(41,208,255,0.45), transparent 60%),
              radial-gradient(circle at 90% 100%, rgba(124,255,178,0.4), transparent 60%),
              #020911;
  border: 1px solid rgba(41,208,255,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px rgba(41,208,255,0.4);
  animation: neon-glow 3s ease-in-out infinite;
  transition: all var(--transition-smooth);
}

.arct-clock-badge:hover {
  transform: scale(1.05);
}

.clock-digits-small {
  font-family: var(--font-main);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: #e9fbff;
  text-shadow: 0 0 6px rgba(41,208,255,0.9);
}

/* Top nav */

.arct-topnav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.arct-btn {
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.2);
  padding: 6px 14px;
  background: rgba(7,18,32,0.88);
  color: #ffffff;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.arct-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(41,208,255,0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.arct-btn:hover::before {
  width: 300px;
  height: 300px;
}

.arct-btn:hover {
  background: rgba(25, 64, 104, 0.95);
  transform: translateY(-2px);
  box-shadow: 0 0 14px rgba(41,208,255,0.25);
  border-color: rgba(41,208,255,0.5);
}

.arct-btn.active {
  background: linear-gradient(90deg, #29d0ff, #7cffb2);
  border-color: transparent;
  color: #021214;
  font-weight: 600;
  box-shadow: 0 0 20px rgba(41,208,255,0.3);
  animation: pulse-scale 2s ease-in-out infinite;
}

.leaderboard-btn {
  background: linear-gradient(90deg, #ffd369, #ffb347);
  border-color: rgba(120,80,0,0.7);
  color: #271400;
  font-weight: 700;
  box-shadow: 0 0 20px rgba(255,215,128,0.5);
}

.post-trade-btn-highlight {
  border: 2px solid var(--accent);
  box-shadow: 0 0 16px rgba(41,208,255,0.5);
  animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { 
    box-shadow: 0 0 16px rgba(41,208,255,0.5);
    transform: scale(1);
  }
  50% { 
    box-shadow: 0 0 24px rgba(41,208,255,0.8);
    transform: scale(1.05);
  }
}

.arct-btn-primary {
  background: linear-gradient(90deg, #29d0ff, #7cffb2);
  border-color: transparent;
  color: #021214;
  font-weight: 600;
}

.arct-btn-outline {
  background: transparent;
  border-color: rgba(41,208,255,0.8);
  color: #e6f9ff;
}

.arct-btn-ghost {
  background: transparent;
  border-color: rgba(255,255,255,0.35);
  color: var(--muted);
}

.arct-btn-muted {
  background: rgba(7,18,32,0.9);
  border-color: rgba(255,255,255,0.18);
  color: var(--muted);
}

.arct-btn-delete {
  background: transparent;
  border: 2px solid var(--danger);
  color: var(--danger);
  transition: var(--transition-fast);
}

.arct-btn-delete:hover {
  background: var(--danger);
  color: #fff;
  box-shadow: 0 0 20px rgba(255,118,117,0.5);
}

.arct-btn.mini {
  padding: 3px 8px;
  font-size: 10px;
}

/* Layout */

.arct-main-grid {
  display: grid;
  grid-template-columns: 280px minmax(0,1.6fr) 280px;
  gap: 16px;
  position: relative;
  width: 100%;
  box-sizing: border-box;
  padding: 0 16px;
}

.arct-main-grid.wider {
  max-width: 100%;
  width: 100%;
}

.arct-left {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.arct-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.arct-right {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Mobile Navigation */
.mobile-tabs-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, rgba(2,6,13,0.95), rgba(5,12,22,0.98));
  border-top: 2px solid rgba(41,208,255,0.3);
  padding: 8px;
  z-index: 1000;
  box-shadow: 0 -5px 20px rgba(0,0,0,0.5);
}

.mobile-tabs-buttons {
  display: flex;
  justify-content: space-around;
  gap: 8px;
  max-width: 600px;
  margin: 0 auto;
}

.mobile-tab-btn {
  flex: 1;
  padding: 10px 8px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(7,18,32,0.88);
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.mobile-tab-btn.active {
  background: linear-gradient(135deg, rgba(41,208,255,0.3), rgba(124,255,178,0.2));
  border-color: rgba(41,208,255,0.8);
  color: #29d0ff;
  box-shadow: 0 0 15px rgba(41,208,255,0.4);
}

.mobile-tab-btn:hover {
  border-color: rgba(41,208,255,0.6);
  background: rgba(25, 64, 104, 0.7);
}

/* Cards */

.card-panel {
  background: radial-gradient(circle at top, rgba(19,37,62,0.9), #02060d);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  padding: 12px 14px 14px;
  color: #ffffff;
  animation: slide-up 0.4s ease-out;
  transition: all var(--transition-smooth);
}

.card-panel:hover {
  border-color: rgba(41,208,255,0.3);
  box-shadow: 0 0 25px rgba(6,20,35,0.9), 0 0 10px rgba(41,208,255,0.2);
  transform: translateY(-2px);
}

.card-panel.small {
  padding: 10px 12px;
}

.emphasis {
  border-color: rgba(41,208,255,0.6);
  box-shadow: 0 0 20px rgba(41,208,255,0.25);
  animation: neon-glow 3s ease-in-out infinite;
}

/* Search panel */

.arct-search-panel {
  background: linear-gradient(145deg, #050a15, #02050d);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(41,208,255,0.25);
  box-shadow: 0 0 22px rgba(41,208,255,0.15);
  overflow: hidden;
  animation: slide-up 0.5s ease-out;
}

.arct-search-panel .panel-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(41,208,255,0.3);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #bfefff;
  background: rgba(41,208,255,0.05);
}

.arct-search-panel .panel-body {
  padding: 10px 12px 12px;
}

/* Inputs */

input,
textarea,
select {
  color: #ffffff !important;
  background-color: #050b15;
  transition: all var(--transition-smooth);
}

input::placeholder,
textarea::placeholder {
  color: rgba(255, 255, 255, 0.6) !important;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-text-fill-color: #ffffff !important;
  -webkit-box-shadow: 0 0 0 30px #050b15 inset !important;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  box-shadow: 0 0 10px rgba(41,208,255,0.4);
  border-color: rgba(41,208,255,0.8) !important;
}

.search-input {
  width: 100%;
  padding: 8px 10px;
  border-radius: 999px;
  background: radial-gradient(circle at 0 0, rgba(41,208,255,0.25), transparent 60%), #020711;
  border: 1px solid rgba(41,208,255,0.6);
  color: #ffffff;
  font-size: 13px;
  outline: none;
  transition: all var(--transition-smooth);
}

.search-input:focus {
  background: radial-gradient(circle at 0 0, rgba(41,208,255,0.35), transparent 60%), #020711;
  box-shadow: 0 0 15px rgba(41,208,255,0.3);
}

.search-input::placeholder {
  color: rgba(195,214,235,0.85);
}

.arct-filters {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.arct-filters select {
  flex: 1;
  padding: 6px 10px;
  border-radius: 999px;
  background: #020711;
  border: 1px solid rgba(128,154,182,0.6);
  color: #ffffff;
  font-size: 12px;
  transition: all var(--transition-smooth);
}

.arct-filters select:hover {
  border-color: rgba(41,208,255,0.6);
}

/* Live stats */

.arct-live-stats-panel {
  background: radial-gradient(circle at top left, #06172a, #02060d);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(124,255,178,0.3);
  overflow: hidden;
  animation: slide-up 0.6s ease-out;
}

.arct-live-stats-panel .panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(124,255,178,0.4);
  font-size: 11px;
  text-transform: uppercase;
  color: #e9ffe9;
  background: rgba(124,255,178,0.05);
}

.arct-live-stats-panel .panel-header .panel-title {
  letter-spacing: 0.18em;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #ff4b5c;
  box-shadow: 0 0 10px rgba(255,75,92,0.9);
  animation: livePulse 1.4s ease-in-out infinite;
}

@keyframes livePulse {
  0% {
    transform: scale(1);
    opacity: 0.9;
  }
  50% {
    transform: scale(1.5);
    opacity: 0.4;
  }
  100% {
    transform: scale(1);
    opacity: 0.9;
  }
}

.arct-live-stats-panel .panel-body {
  padding: 8px 8px 10px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

/* Extra space below the stats grid before "Newest Trader" */
.arct-live-stats-panel .panel-body.stats-grid {
  margin-bottom: 10px;
}

.stat-card {
  position: relative;
  border-radius: 10px;
  padding: 6px 6px 5px;
  background: radial-gradient(circle at top, rgba(124,255,178,0.38), transparent 60%),
    radial-gradient(circle at bottom, rgba(41,208,255,0.25), transparent 60%), #02060d;
  border: 1px solid rgba(124,255,178,0.35);
  box-shadow: 0 0 18px rgba(124,255,178,0.25);
  overflow: hidden;
  transform-origin: center;
  animation: statPulse 3s ease-in-out infinite;
  min-height: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-smooth);
}

.stat-card:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 0 25px rgba(124,255,178,0.4);
  border-color: rgba(124,255,178,0.5);
}

.stat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(124,255,178,0.1), transparent 70%);
  opacity: 0;
  transition: opacity var(--transition-smooth);
  pointer-events: none;
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-card:nth-child(2) {
  animation-delay: 0.3s;
}
.stat-card:nth-child(3) {
  animation-delay: 0.6s;
}
.stat-card:nth-child(4) {
  animation-delay: 0.9s;
}

@keyframes statPulse {
  0% {
    transform: translateY(0);
    opacity: 0.95;
  }
  50% {
    transform: translateY(-1px);
    opacity: 1;
  }
  100% {
    transform: translateY(0);
    opacity: 0.95;
  }
}

.stat-main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.stat-icon {
  font-size: 14px;
  line-height: 1;
}
.stat-value {
  font-size: 14px;
  font-weight: 800;
  color: #f5fff5;
}

.stat-label {
  margin-top: 2px;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(230,249,232,0.85);
  text-align: center;
}

/* last trade wide */

.last-trade-wide {
  margin-top: 6px;
  border-top: 1px solid rgba(124,255,178,0.35);
  padding: 8px 10px 6px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s ease-out, transform 0.25s ease-out;
}

.last-trade-wide.animate-slide {
  opacity: 1;
  transform: translateY(0);
}

.last-trade-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #e9ffe9;
  margin-bottom: 4px;
}

.last-trade-content {
  font-size: 12px;
  color: #ffffff;
}

.last-trade-content .row {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 2px;
}

.last-trade-content .row.user-row {
  align-items: center;
}

.avatar-circle {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: radial-gradient(circle at 0 0, #29d0ff, #08121f);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #ffffff;
  font-weight: 700;
  margin-right: 4px;
  transition: all var(--transition-smooth);
  position: relative;
}

.avatar-circle:hover {
  transform: scale(1.1);
  box-shadow: 0 0 10px rgba(41,208,255,0.6);
}

.last-trade-content .label {
  min-width: 60px;
}

/* Last Sign Up Panel */

.last-signup-panel {
  margin-top: 8px;
  margin-bottom: 8px; /* space between Newest Trader and Last Trade Posted */
}

.stat-card-wide {
  grid-column: 1 / -1;
  min-height: 50px;
  position: relative;
}

.stat-card-wide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(41,208,255,0.1), transparent 70%);
  opacity: 0;
  transition: opacity var(--transition-smooth);
  pointer-events: none;
}

.stat-card-wide:hover::before {
  opacity: 1;
}

.stat-card-wide:hover {
  border-color: rgba(124,255,178,0.5);
  box-shadow: 0 0 20px rgba(124,255,178,0.3);
}

/* Top Wanted Panel */

.arct-top-wanted-panel {
  margin-top: 12px;
  background: radial-gradient(circle at top left, #06172a, #02060d);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(41,208,255,0.3);
  overflow: hidden;
  animation: slide-up 0.7s ease-out;
}

.arct-top-wanted-panel .panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(41,208,255,0.4);
  font-size: 11px;
  text-transform: uppercase;
  color: #d5f4ff;
  background: rgba(41,208,255,0.05);
}

.arct-top-wanted-panel .panel-header .panel-title {
  letter-spacing: 0.18em;
}

.arct-top-wanted-panel .panel-body {
  padding: 10px 12px 12px;
}

/* Last Trade Panel */

.arct-last-trade-panel {
  margin-top: 12px;
}

/* Popular items */

.arct-popular-items-panel {
  background: linear-gradient(145deg, #050913, #02040b);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,215,128,0.35);
  animation: slide-up 0.8s ease-out;
}

.arct-popular-items-panel .panel-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(255,215,128,0.5);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ffe9b5;
  background: rgba(255,215,128,0.05);
}

.arct-popular-items-panel .panel-body {
  padding: 10px 10px 12px;
}

.arct-items-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.mini-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  background: radial-gradient(circle at top, rgba(255,180,94,0.35), transparent 70%), #050814;
  cursor: pointer;
  padding: 6px 4px 8px;
  transition: all var(--transition-smooth);
  color: #ffffff;
}

.mini-item:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 0 18px rgba(255,210,110,0.4);
  border-color: rgba(255,255,255,0.18);
}

.mini-item-thumb {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  overflow: hidden;
  background: #02060d;
  margin-bottom: 4px;
  transition: all var(--transition-smooth);
}

.mini-item:hover .mini-item-thumb {
  transform: scale(1.1);
}

.mini-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mini-item-tag {
  font-size: 10px;
  text-align: center;
  color: #fff;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(32,16,4,0.8);
  border: 1px solid rgba(255,215,128,0.4);
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: var(--font-item-label) !important;
}

.mini-item-count {
  font-size: 9px;
  color: rgba(255,255,255,0.5);
  margin-top: 2px;
}

/* Mini Item Rarity Borders */
.mini-item.rarity-common {
  border-color: rgba(156,163,175,0.4);
  background: radial-gradient(circle at top, rgba(156,163,175,0.2), transparent 70%), #050814;
}
.mini-item.rarity-uncommon {
  border-color: rgba(74,222,128,0.5);
  background: radial-gradient(circle at top, rgba(74,222,128,0.25), transparent 70%), #050814;
}
.mini-item.rarity-rare {
  border-color: rgba(59,130,246,0.5);
  background: radial-gradient(circle at top, rgba(59,130,246,0.25), transparent 70%), #050814;
}
.mini-item.rarity-epic {
  border-color: rgba(168,85,247,0.5);
  background: radial-gradient(circle at top, rgba(168,85,247,0.25), transparent 70%), #050814;
}
.mini-item.rarity-legendary {
  border-color: rgba(251,191,36,0.6);
  background: radial-gradient(circle at top, rgba(251,191,36,0.35), transparent 70%), #050814;
}

.mini-item.rarity-uncommon:hover { box-shadow: 0 0 18px rgba(74,222,128,0.4); }
.mini-item.rarity-rare:hover { box-shadow: 0 0 18px rgba(59,130,246,0.4); }
.mini-item.rarity-epic:hover { box-shadow: 0 0 18px rgba(168,85,247,0.4); }
.mini-item.rarity-legendary:hover { box-shadow: 0 0 22px rgba(251,191,36,0.5); }

/* Badge Icons - SVG Support */
.trade-badge-icon,
.badge-icon-wrap img,
.trade-badge-emoji {
  width: 18px;
  height: 18px;
  display: inline-block;
  vertical-align: middle;
  filter: drop-shadow(0 0 3px rgba(41,208,255,0.5));
  transition: all var(--transition-smooth);
}

.trade-badge-icon:hover,
.badge-icon-wrap img:hover {
  transform: scale(1.2) rotate(5deg);
  filter: drop-shadow(0 0 8px rgba(41,208,255,0.8));
}

.badge-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border-radius: 50%;
  background: rgba(41,208,255,0.1);
  transition: all var(--transition-smooth);
}

.badge-icon-wrap:hover {
  background: rgba(41,208,255,0.2);
  transform: scale(1.1);
}

.badge-grid .badge-icon-wrap img {
  width: 32px;
  height: 32px;
}

/* Titles */

.arct-feed-header h2,
h2,
h3,
h4 {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 13px;
  color: #e6f9ff;
  text-shadow: 0 0 10px rgba(41,208,255,0.8);
}

/* Feed */

.arct-feed-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.support-promo-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 12px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 183, 77, 0.35);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(255, 183, 77, 0.14), rgba(41, 208, 255, 0.08));
}

.support-promo-content {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.support-promo-content p {
  margin: 2px 0 0;
  font-size: 11px;
  color: var(--muted);
}

.support-promo-icon {
  font-size: 20px;
  filter: drop-shadow(0 0 8px rgba(255, 183, 77, 0.55));
}

.support-promo-btn {
  white-space: nowrap;
  border-color: rgba(255, 183, 77, 0.55);
  background: linear-gradient(135deg, rgba(255, 183, 77, 0.26), rgba(255, 140, 0, 0.14));
}

.trade-load-more-wrap {
  margin-top: 12px;
}

.trade-feed-load-more-btn {
  width: 100%;
  padding: 11px 14px;
  border-radius: 8px;
  border: 1px solid rgba(41, 208, 255, 0.45);
  background: linear-gradient(135deg, rgba(41, 208, 255, 0.18), rgba(41, 208, 255, 0.08));
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition-smooth);
}

.trade-feed-load-more-btn:hover:not(:disabled) {
  border-color: rgba(41, 208, 255, 0.75);
  box-shadow: 0 0 16px rgba(41, 208, 255, 0.32);
  transform: translateY(-1px);
}

.trade-feed-load-more-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.arct-cards-grid {
  display: grid;
  gap: 16px;
  animation: fade-in 0.4s ease-out;
}

/* Grid Layout - 2 Columns */
.arct-cards-grid.grid-layout {
  grid-template-columns: repeat(2, 1fr);
}

/* List Layout - Single Column */
.arct-cards-grid.list-layout {
  grid-template-columns: 1fr;
}

/* Trade Card Base Styles */
.trade-card-arc {
  width: 100%;
  min-height: 280px;
}

.grid-layout .trade-card-arc {
  min-height: 320px;
}

.list-layout .trade-card-arc {
  min-height: auto;
}

/* List Layout - Similar to Grid but Single Column */
.list-layout .trade-exchange-arc {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: start;
}

.list-layout .exchange-divider-arc {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0 8px;
  flex-shrink: 0;
}

.list-layout .divider-line {
  width: 2px;
  height: 30px;
  background: linear-gradient(180deg, 
    transparent 0%, 
    rgba(41,208,255,0.5) 50%, 
    transparent 100%);
}

.list-layout .items-grid-arc {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 8px;
  max-height: none;
  overflow: visible;
}

/* Grid Layout - Compact Items */
.grid-layout .trade-exchange-arc {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px;
  align-items: start;
}

.grid-layout .exchange-divider-arc {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0 6px;
  flex-shrink: 0;
}

.grid-layout .divider-line {
  width: 2px;
  height: 25px;
  background: linear-gradient(180deg, 
    transparent 0%, 
    rgba(41,208,255,0.5) 50%, 
    transparent 100%);
}

.grid-layout .items-grid-arc {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 6px;
  max-height: 200px;
  overflow-y: auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  /* Mobile: Always 1 column for both grid and list */
  .arct-cards-grid.grid-layout,
  .arct-cards-grid.list-layout {
    grid-template-columns: 1fr;
  }

  .support-promo-strip {
    flex-direction: column;
    align-items: stretch;
  }

  .support-promo-btn {
    width: 100%;
  }
  
  /* Mobile: Reduce trade card padding */
  .trade-card-arc {
    padding: 10px;
    min-height: auto;
  }
  
  .trade-exchange-arc {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 6px;
  }
  
  .exchange-divider-arc {
    flex-direction: row;
    padding: 6px 0;
    margin: 4px 0;
  }
  
  .divider-line {
    width: 30px;
    height: 2px;
  }
  
  .divider-icon {
    font-size: 14px;
  }
  
  .items-grid-arc {
    grid-template-columns: 1fr;
    gap: 4px;
    max-height: 150px;
  }
  
  /* Mobile: Reduce trade title max-width */
  .trade-type-arc {
    max-width: 80px;
    font-size: 9px;
    padding: 2px 6px;
  }
  
  /* Mobile: Ensure proper spacing in trade card header */
  .trade-card-header-arc {
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 6px;
    padding-bottom: 4px;
  }
  
  .trader-name-row {
    width: 100%;
    flex-basis: 100%;
    gap: 4px;
  }
  
  .trade-meta-arc {
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-basis: 100%;
    gap: 2px;
  }
  
  /* Mobile: Smaller avatar */
  .avatar-arc {
    width: 28px;
    height: 28px;
  }
  
  .avatar-inner {
    font-size: 12px;
  }
  
  /* Mobile: Smaller trader name and handle */
  .trader-name-arc {
    font-size: 11px;
  }
  
  .trader-handle-arc {
    font-size: 9px;
  }
  
  /* Mobile: Smaller badges and icons */
  .rep-badge-arc {
    font-size: 8px;
    padding: 2px 4px;
  }
  
  .discord-badge-arc {
    width: 14px;
    height: 14px;
  }
  
  .discord-badge-arc svg {
    width: 14px;
    height: 14px;
  }
  
  .trade-badge-icon-arc {
    width: 14px;
    height: 14px;
  }
  
  .role-badge-arc {
    font-size: 7px;
    padding: 1px 3px;
  }
  
  .status-badge {
    font-size: 7px;
    padding: 1px 4px;
  }
  
  .status-icon {
    font-size: 12px;
  }
  
  /* Mobile: Prevent badge overflow in trader meta row */
  .trader-meta-row {
    flex-wrap: wrap;
    gap: 3px;
    overflow: hidden;
  }
  
  /* Mobile: Smaller panel headers */
  .panel-header-arc {
    margin-bottom: 3px;
    padding-bottom: 3px;
  }
  
  .panel-label-arc {
    font-size: 8px;
    gap: 3px;
  }
  
  .label-icon {
    font-size: 10px;
  }
  
  .panel-count-arc {
    font-size: 5.6px; /* 30% smaller than base 8px (8 * 0.7 = 5.6) */
  }
  
  /* Mobile: Smaller exchange panels */
  .exchange-panel {
    padding: 4px;
  }
  
  /* Mobile: Smaller item chips */
  .item-chip-arc {
    padding: 3px 4px;
    gap: 4px;
  }
  
  .chip-thumb-arc {
    width: 16px;
    height: 16px;
  }
  
  .chip-name-arc {
    font-size: 8px;
  }
  
  .chip-qty-arc {
    font-size: 7px;
  }
  
  /* Mobile: Smaller notes section */
  .trade-notes-arc {
    margin-bottom: 6px;
    padding: 4px;
  }
  
  .notes-label-arc {
    font-size: 8px;
    margin-bottom: 2px;
  }
  
  .notes-content-arc {
    font-size: 9px;
    line-height: 1.3;
  }
  
  /* Mobile: Smaller view more button */
  .trade-view-more-btn {
    padding: 8px 12px;
    gap: 6px;
  }
  
  .trade-view-more-btn .btn-icon {
    font-size: 12px;
  }
  
  .trade-view-more-btn .btn-text {
    font-size: 9px;
  }
  
  .trade-view-more-btn .btn-arrow {
    font-size: 14px;
  }
  
  /* Mobile: Smaller time and ID */
  .trade-time-arc {
    font-size: 8px;
  }
  
  .trade-id-arc {
    font-size: 8px;
  }
  
  /* Mobile: Toast notifications */
  .arct-toast {
    right: 10px;
    left: 10px;
    max-width: calc(100% - 20px);
    width: auto;
    bottom: 10px;
  }
}

/* ===== TRADE DETAIL PAGE ===== */
.trade-page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  gap: 12px;
}

.trade-detail-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  animation: fade-in 0.4s ease-out;
}

.trade-detail-main {
  display: flex;
  flex-direction: column;
  gap: 16px;
  grid-column: 1 / 3;
}

.trade-detail-card {
  background: linear-gradient(135deg, rgba(5,12,22,0.95) 0%, rgba(2,6,13,0.98) 100%);
  border: 1px solid rgba(41,208,255,0.2);
  padding: 20px;
  position: relative;
}

.trade-detail-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(41,208,255,0.15);
}

.trade-detail-poster {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  flex: 1;
}

.trade-detail-avatar {
  position: relative;
  width: 56px;
  height: 56px;
  flex-shrink: 0;
}

.trade-detail-poster-info {
  flex: 1;
  min-width: 0;
}

.trade-detail-poster-name {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  transition: all var(--transition-smooth);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.trade-detail-poster-name:hover {
  color: var(--accent);
  text-shadow: 0 0 10px rgba(41,208,255,0.6);
}

.trade-detail-poster-handle {
  font-size: 12px;
  color: var(--muted);
}

.trade-detail-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  text-align: right;
}

.trade-detail-type {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 14px;
  border-radius: 6px;
  background: rgba(41,208,255,0.1);
  border: 1px solid rgba(41,208,255,0.3);
}

.trade-detail-time {
  font-size: 11px;
  color: var(--muted);
}

.trade-detail-id {
  font-size: 10px;
  color: var(--muted);
  opacity: 0.6;
  font-family: 'Courier New', monospace;
}

.status-highlighted {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 215, 0, 0.1));
  border: 1px solid rgba(255, 215, 0, 0.5);
  color: #ffd700;
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
}

/* Trade Items Detail */
.trade-detail-items {
  display: contents;
}

.trade-detail-side {
  background: rgba(5,12,22,0.6);
  border: 1px solid rgba(41,208,255,0.2);
  border-radius: 8px;
  padding: 16px;
  display: flex;
  flex-direction: column;
}

.offer-detail-side {
  border-color: rgba(41,208,255,0.25);
  grid-column: 1;
}

.want-detail-side {
  border-color: rgba(124,255,178,0.25);
  grid-column: 3;
}

.detail-side-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(41,208,255,0.1);
}

.detail-side-icon {
  font-size: 18px;
}

.detail-side-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.detail-side-count {
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
}

.detail-items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  align-items: start;
}

.trade-detail-side .detail-items-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  align-items: start;
}

.detail-item-card {
  background: rgba(9,25,42,0.6);
  border: 1px solid rgba(41,208,255,0.3);
  border-radius: 8px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all var(--transition-smooth);
  align-items: center;
}

.detail-item-card:hover {
  transform: translateY(-2px);
  border-color: rgba(41,208,255,0.6);
  box-shadow: 0 0 15px rgba(41,208,255,0.2);
}

.want-detail-card {
  border-color: rgba(124,255,178,0.3);
}

.want-detail-card:hover {
  border-color: rgba(124,255,178,0.6);
  box-shadow: 0 0 15px rgba(124,255,178,0.2);
}

/* Detail Item Card Rarity Styling */
.detail-item-card.item-rarity-common {
  border-color: rgba(156,163,175,0.5) !important;
}

.detail-item-card.item-rarity-common:hover {
  border-color: rgba(156,163,175,0.7) !important;
  box-shadow: 0 0 15px rgba(156,163,175,0.3) !important;
}

.detail-item-card.item-rarity-uncommon {
  border-color: rgba(74,222,128,0.5) !important;
}

.detail-item-card.item-rarity-uncommon:hover {
  border-color: rgba(74,222,128,0.7) !important;
  box-shadow: 0 0 15px rgba(74,222,128,0.3) !important;
}

.detail-item-card.item-rarity-rare {
  border-color: rgba(59,130,246,0.5) !important;
}

.detail-item-card.item-rarity-rare:hover {
  border-color: rgba(59,130,246,0.7) !important;
  box-shadow: 0 0 15px rgba(59,130,246,0.3) !important;
}

.detail-item-card.item-rarity-epic {
  border-color: rgba(168,85,247,0.5) !important;
}

.detail-item-card.item-rarity-epic:hover {
  border-color: rgba(168,85,247,0.7) !important;
  box-shadow: 0 0 15px rgba(168,85,247,0.3) !important;
}

.detail-item-card.item-rarity-legendary {
  border-color: rgba(251,191,36,0.6) !important;
  box-shadow: 0 0 10px rgba(251,191,36,0.2) !important;
}

.detail-item-card.item-rarity-legendary:hover {
  border-color: rgba(251,191,36,0.8) !important;
  box-shadow: 0 0 20px rgba(251,191,36,0.4) !important;
}

.detail-item-image {
  width: 120px;
  height: 120px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid rgba(41,208,255,0.3);
  background: rgba(2,6,13,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
}

.detail-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-item-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--muted);
  background: rgba(41,208,255,0.1);
}

.detail-item-info {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.detail-item-name {
  font-size: 14px;
  font-weight: 600;
  color: #e6f9ff;
  margin-bottom: 4px;
  font-family: var(--font-item-label) !important;
  width: 100%;
  text-align: center;
  word-wrap: break-word;
  text-transform: uppercase;
}

.detail-item-qty {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 6px;
  text-align: center;
  width: 100%;
}

.detail-item-desc {
  font-size: 11px;
  color: rgba(202,226,255,0.9);
  line-height: 1.5;
  font-style: italic;
  margin-top: 6px;
  padding: 6px 8px;
  background: rgba(5,12,22,0.4);
  border-left: 2px solid rgba(41,208,255,0.4);
  border-radius: 4px;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
}

.trade-detail-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 12px;
  flex-shrink: 0;
  grid-column: 2;
}

.divider-line {
  width: 2px;
  height: 40px;
  background: linear-gradient(180deg, 
    transparent 0%, 
    rgba(41,208,255,0.5) 50%, 
    transparent 100%);
}

.divider-icon-large {
  font-size: 32px;
  color: var(--accent);
  font-weight: bold;
  animation: pulse-scale 2s ease-in-out infinite;
  filter: drop-shadow(0 0 10px rgba(41,208,255,0.5));
}

.trade-detail-notes {
  margin-top: 20px;
  padding: 16px;
  background: rgba(5,12,22,0.4);
  border: 1px solid rgba(41,208,255,0.15);
  border-left: 3px solid rgba(41,208,255,0.5);
  border-radius: 6px;
}

.detail-notes-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 8px;
}

.detail-notes-content {
  font-size: 13px;
  color: rgba(202,226,255,0.9);
  line-height: 1.6;
}

.trade-detail-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(41,208,255,0.15);
}

/* Sidebar */
.trade-detail-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  grid-column: 3;
}

.trader-detail-card {
  background: linear-gradient(135deg, rgba(5,12,22,0.95) 0%, rgba(2,6,13,0.98) 100%);
  border: 1px solid rgba(41,208,255,0.2);
  padding: 20px;
  border-radius: 8px;
}

.trader-detail-header {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(41,208,255,0.15);
}

.trader-detail-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.trader-detail-avatar-large {
  position: relative;
  width: 80px;
  height: 80px;
  margin-bottom: 12px;
}

.trader-detail-name {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.trader-detail-handle {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 16px;
}

.trader-detail-rep {
  width: 100%;
  padding: 12px;
  background: rgba(5,12,22,0.6);
  border: 1px solid rgba(41,208,255,0.2);
  border-radius: 6px;
  margin-bottom: 16px;
}

.trader-rep-score,
.trader-rep-rank,
.trader-rep-ratings {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.trader-rep-score:last-child,
.trader-rep-rank:last-child,
.trader-rep-ratings:last-child {
  margin-bottom: 0;
}

.rep-label,
.rep-rank-label,
.rep-ratings-label {
  font-size: 9px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.rep-value-large {
  font-size: 16px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
}

.rep-rank-value {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(41,208,255,0.15);
  border: 1px solid rgba(41,208,255,0.4);
  color: var(--accent);
}

.rep-rank-value.rank-novice {
  background: rgba(125,137,157,0.15);
  border-color: rgba(125,137,157,0.4);
  color: #7d899d;
}

.rep-rank-value.rank-apprentice {
  background: rgba(124,255,178,0.15);
  border-color: rgba(124,255,178,0.4);
  color: #7cffb2;
}

.rep-rank-value.rank-veteran {
  background: rgba(41,208,255,0.15);
  border-color: rgba(41,208,255,0.4);
  color: #29d0ff;
}

.rep-rank-value.rank-expert {
  background: rgba(147,51,234,0.15);
  border-color: rgba(147,51,234,0.4);
  color: #9333ea;
}

.rep-rank-value.rank-master {
  background: rgba(245,158,11,0.15);
  border-color: rgba(245,158,11,0.4);
  color: #f59e0b;
}

.rep-rank-value.rank-legend {
  background: rgba(239,68,68,0.15);
  border-color: rgba(239,68,68,0.4);
  color: #ef4444;
}

.rep-ratings-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}

.trader-detail-badges {
  width: 100%;
  margin-bottom: 16px;
}

.trader-badges-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 10px;
  text-align: center;
}

.trader-badges-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 10px;
}

.trader-badge-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 8px;
  background: rgba(5,12,22,0.4);
  border: 1px solid rgba(41,208,255,0.2);
  border-radius: 6px;
  transition: all var(--transition-smooth);
}

.trader-badge-item:hover {
  transform: translateY(-2px);
  border-color: rgba(41,208,255,0.4);
  box-shadow: 0 0 12px rgba(41,208,255,0.2);
}

.trader-badge-icon-large {
  width: 32px;
  height: 32px;
  filter: drop-shadow(0 0 6px rgba(41,208,255,0.5));
}

.trader-badge-title {
  font-size: 9px;
  color: var(--muted);
  text-align: center;
  line-height: 1.2;
}

.trader-detail-meta-info {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.trader-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  background: rgba(5,12,22,0.4);
  border-radius: 4px;
  font-size: 11px;
}

.meta-icon {
  font-size: 14px;
}

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

/* Quick Message Card */
.trade-message-card {
  background: linear-gradient(135deg, rgba(5,12,22,0.95) 0%, rgba(2,6,13,0.98) 100%);
  border: 1px solid rgba(41,208,255,0.2);
  padding: 16px;
  border-radius: 8px;
}

.trade-message-header {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(41,208,255,0.15);
}

.trade-message-content {
  display: flex;
  flex-direction: column;
}

.trade-message-input {
  width: 100%;
  padding: 10px;
  background: rgba(5,12,22,0.6);
  border: 1px solid rgba(41,208,255,0.3);
  border-radius: 6px;
  color: #fff;
  font-family: var(--font-main);
  font-size: 12px;
  resize: vertical;
  transition: all var(--transition-smooth);
}

.trade-message-input:focus {
  outline: none;
  border-color: rgba(41,208,255,0.6);
  box-shadow: 0 0 12px rgba(41,208,255,0.2);
}

.trade-message-input::placeholder {
  color: var(--muted);
}

/* Rep Comments Slider */
.trade-rep-comments-card {
  background: linear-gradient(135deg, rgba(5,12,22,0.95) 0%, rgba(2,6,13,0.98) 100%);
  border: 1px solid rgba(41,208,255,0.2);
  padding: 16px;
  border-radius: 8px;
}

.trade-rep-comments-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(41,208,255,0.15);
}

.rep-slider-indicator {
  font-size: 10px;
  color: var(--muted);
  min-width: 50px;
  text-align: right;
}


.trade-rep-comments-content {
  min-height: 120px;
  position: relative;
}

.rep-comment-slide {
  animation: fade-in 0.4s ease-out;
}

.rep-comment-slide-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.rep-comment-author {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}

.rep-comment-score {
  font-size: 18px;
  filter: drop-shadow(0 0 4px currentColor);
}

.rep-comment-score.positive {
  color: #7cffb2;
}

.rep-comment-score.negative {
  color: #ff7675;
}

.rep-comment-slide-body {
  font-size: 12px;
  color: rgba(202,226,255,0.9);
  line-height: 1.6;
  margin-bottom: 8px;
  padding: 10px;
  background: rgba(5,12,22,0.4);
  border-radius: 6px;
  border-left: 3px solid rgba(41,208,255,0.4);
  transition: all var(--transition-smooth);
}

.rep-comment-slide-body.positive {
  background: rgba(6,40,30,0.5);
  border-left-color: #7cffb2;
  color: rgba(202,255,230,0.95);
}

.rep-comment-slide-body.negative {
  background: rgba(40,6,6,0.5);
  border-left-color: #ff7675;
  color: rgba(255,220,220,0.95);
}

.rep-comment-slide-time {
  font-size: 10px;
  color: var(--muted);
  text-align: right;
}

/* Report Form */
.trade-report-card {
  background: linear-gradient(135deg, rgba(5,12,22,0.95) 0%, rgba(2,6,13,0.98) 100%);
  border: 1px solid rgba(239,68,68,0.3);
  padding: 16px;
  border-radius: 8px;
}

.trade-report-header {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #ef4444;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(239,68,68,0.15);
}

.trade-report-content {
  display: flex;
  flex-direction: column;
}

.trade-report-input {
  width: 100%;
  padding: 10px;
  background: rgba(5,12,22,0.6);
  border: 1px solid rgba(239,68,68,0.3);
  border-radius: 6px;
  color: #fff;
  font-family: var(--font-main);
  font-size: 12px;
  resize: vertical;
  transition: all var(--transition-smooth);
}

.trade-report-input:focus {
  outline: none;
  border-color: rgba(239,68,68,0.6);
  box-shadow: 0 0 12px rgba(239,68,68,0.2);
}

.trade-report-input::placeholder {
  color: var(--muted);
}

/* Responsive */
@media (max-width: 1024px) {
  .trade-detail-container {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .trade-detail-main {
    grid-column: 1;
  }
  
  .trade-detail-sidebar {
    grid-column: 1;
    order: 2;
  }
  
  .trade-detail-header {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  
  .trade-detail-meta {
    align-items: flex-start;
    text-align: left;
    width: 100%;
  }
  
  .trade-detail-items {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .trade-detail-divider {
    flex-direction: row;
    padding: 12px 0;
  }
  
  .divider-line {
    width: 40px;
    height: 2px;
  }
  
  .trade-detail-actions {
    flex-direction: column;
    gap: 8px;
  }
  
  .trade-detail-actions .arc-action-btn {
    width: 100%;
  }
  
  .trade-rep-comments-card,
  .trade-message-card,
  .trade-report-card {
    margin-top: 16px;
  }
  
  .trader-detail-card {
    margin-bottom: 16px;
  }
}

/* Feed Header Controls */
.arct-feed-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  gap: 12px;
}

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

.view-toggle {
  display: flex;
  gap: 4px;
  background: rgba(5,12,22,0.6);
  border: 1px solid rgba(41,208,255,0.3);
  border-radius: 8px;
  padding: 4px;
}

.view-toggle-btn {
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 16px;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
}

.view-toggle-btn:hover {
  background: rgba(41,208,255,0.1);
  color: var(--accent);
}

.view-toggle-btn.active {
  background: rgba(41,208,255,0.2);
  color: var(--accent);
  box-shadow: 0 0 8px rgba(41,208,255,0.3);
}

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

.arct-card {
  background: radial-gradient(circle at top, rgba(19,37,62,0.9), #02060d);
  border-radius: var(--radius-lg);
  /* Base border: faint cyan outline for all cards */
  border: 1px solid rgba(41,208,255,0.25);
  box-shadow: 0 0 12px rgba(6,20,35,0.7);
  padding: 10px 12px 12px;
  color: #ffffff;
  animation: slide-up 0.4s ease-out;
  transition: all var(--transition-smooth);
}

.arct-card:hover {
  border-color: rgba(41,208,255,0.5);
  box-shadow: 0 0 18px rgba(6,20,35,0.9), 0 0 8px rgba(41,208,255,0.3);
  transform: translateY(-2px);
}

/* ARC Raiders Trade Card - Futuristic Design */

.trade-card-arc {
  position: relative;
  overflow: hidden;
  min-height: auto;
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, rgba(5,12,22,0.95) 0%, rgba(2,6,13,0.98) 100%);
  border: 1px solid rgba(41,208,255,0.25);
  border-radius: 12px;
  padding: 14px;
  animation: card-slide-in 0.4s ease-out;
  animation-fill-mode: both;
  transition: all var(--transition-smooth);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.trade-card-arc:nth-child(1) { animation-delay: 0.05s; }
.trade-card-arc:nth-child(2) { animation-delay: 0.1s; }
.trade-card-arc:nth-child(3) { animation-delay: 0.15s; }
.trade-card-arc:nth-child(4) { animation-delay: 0.2s; }
.trade-card-arc:nth-child(5) { animation-delay: 0.25s; }
.trade-card-arc:nth-child(6) { animation-delay: 0.3s; }

.trade-card-arc:hover {
  border-color: rgba(41,208,255,0.6);
  box-shadow: 0 8px 24px rgba(41,208,255,0.3), 
              inset 0 0 40px rgba(41,208,255,0.08);
  transform: translateY(-4px);
  background: linear-gradient(135deg, rgba(5,12,22,0.98) 0%, rgba(2,6,13,1) 100%);
}

/* Futuristic Frame with Corner Accents */
.arc-frame {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 1;
}

/* Corner design removed per user request */

/* Scanline Effect - Removed per user request */

/* Featured/Highlighted States - Redesigned */
.trade-card-arc.featured {
  border: 1px solid rgba(255, 99, 99, 0.6);
  background: linear-gradient(135deg, 
    rgba(255, 99, 99, 0.08) 0%, 
    rgba(5,12,22,0.95) 50%,
    rgba(255, 99, 99, 0.08) 100%);
  box-shadow: 0 0 20px rgba(255, 99, 99, 0.3),
              inset 0 0 40px rgba(255, 99, 99, 0.05);
  position: relative;
}

.trade-card-arc.featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, 
    transparent 0%,
    rgba(255, 99, 99, 0.8) 50%,
    transparent 100%);
  animation: featured-glow 2s ease-in-out infinite;
}

/* Corner design removed */

.trade-card-arc.highlighted {
  border: 1px solid rgba(255, 215, 0, 0.6);
  background: linear-gradient(135deg, 
    rgba(255, 215, 0, 0.1) 0%, 
    rgba(5,12,22,0.95) 50%,
    rgba(255, 215, 0, 0.1) 100%);
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.4),
              inset 0 0 40px rgba(255, 215, 0, 0.08);
  position: relative;
}

.trade-card-arc.highlighted::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, 
    transparent 0%,
    rgba(255, 215, 0, 0.9) 50%,
    transparent 100%);
  animation: highlighted-glow 2s ease-in-out infinite;
}

/* Corner design removed */

@keyframes featured-glow {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

@keyframes highlighted-glow {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

@keyframes card-slide-in {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Featured: keep strong red effect */
.trade-card.featured {
  border: 2px solid rgba(255, 99, 99, 0.8);
  box-shadow: 0 0 22px rgba(255, 99, 99, 0.45);
}

/* Highlighted: stronger yellow glow, but no hard “bar” */
.trade-card.highlighted {
  border: 2px solid #ffd700;
  box-shadow: 0 0 26px rgba(255, 215, 0, 0.5);
  background: radial-gradient(circle at top, rgba(255, 215, 0, 0.08), transparent 65%),
              radial-gradient(circle at top, rgba(19, 37, 62, 0.9), #02060d);
}

/* Trade Card Header - ARC Raiders Style */
.trade-card-header-arc {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(41,208,255,0.15);
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  min-width: 0;
}

.trader-info-arc {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.avatar-arc {
  position: relative;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.avatar-glow {
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(41,208,255,0.4), transparent 70%);
  animation: avatar-pulse 2s ease-in-out infinite;
  z-index: 0;
}

@keyframes avatar-pulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.1); }
}

.avatar-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(41,208,255,0.3), rgba(41,208,255,0.1));
  border: 2px solid rgba(41,208,255,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e2f7ff;
  font-weight: 700;
  font-size: 14px;
  z-index: 1;
  transition: all var(--transition-smooth);
}

.avatar-arc:hover .avatar-inner {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 0 20px rgba(41,208,255,0.6);
  border-color: rgba(41,208,255,0.9);
}

.trader-details-arc {
  flex: 1;
  min-width: 0;
}

.trader-name-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 4px;
  min-width: 0;
  overflow: hidden;
}

.trader-name-arc {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  transition: all var(--transition-smooth);
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex-shrink: 1;
}

.trader-name-arc:hover {
  color: var(--accent);
  text-shadow: 0 0 10px rgba(41,208,255,0.6);
}

.trader-handle-arc {
  font-size: 10px;
  color: var(--muted);
  font-weight: 500;
}

.trader-meta-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.status-badge {
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.status-featured {
  background: linear-gradient(135deg, rgba(255, 99, 99, 0.2), rgba(255, 99, 99, 0.1));
  border: 1px solid rgba(255, 99, 99, 0.5);
  color: #ffb3b3;
  box-shadow: 0 0 8px rgba(255, 99, 99, 0.3);
}

.status-icon {
  font-size: 14px;
  filter: drop-shadow(0 0 4px currentColor);
}

.rep-badge-arc {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  border: 1px solid;
  transition: all var(--transition-smooth);
}

.rep-badge-arc.rep-number-positive {
  background: rgba(124,255,178,0.15);
  border-color: rgba(124,255,178,0.6);
  color: #c0ffe1;
}

.rep-badge-arc.rep-number-negative {
  background: rgba(255,118,117,0.15);
  border-color: rgba(255,118,117,0.6);
  color: #ffdcdc;
}

.rep-badge-arc.rep-number-neutral {
  background: rgba(125,137,157,0.15);
  border-color: rgba(125,137,157,0.4);
  color: #dfe7f3;
}

.rep-label {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.8;
}

.rep-value {
  font-weight: 700;
}

.discord-badge-arc {
  display: inline-flex;
  align-items: center;
  padding: 3px 6px;
  border-radius: 4px;
  background: rgba(88,101,242,0.15);
  border: 1px solid rgba(88,101,242,0.4);
}

.discord-badge-arc svg {
  width: 14px;
  height: 14px;
}

.role-badge-arc {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.role-badge-arc.admin {
  background: linear-gradient(135deg, rgba(255,211,105,0.2), rgba(255,211,105,0.1));
  border: 1px solid rgba(255,211,105,0.5);
  color: #ffd369;
}

.role-badge-arc.mod {
  background: linear-gradient(135deg, rgba(124,255,178,0.2), rgba(124,255,178,0.1));
  border: 1px solid rgba(124,255,178,0.5);
  color: #7cffb2;
}

.trade-badge-inline-arc {
  display: inline-flex;
  gap: 4px;
  align-items: center;
}

.trade-badge-icon-arc {
  width: 18px;
  height: 18px;
  filter: drop-shadow(0 0 4px rgba(41,208,255,0.5));
  transition: all var(--transition-smooth);
}

.trade-badge-icon-arc:hover {
  transform: scale(1.2) rotate(5deg);
}

.trade-meta-arc {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
  text-align: right;
  flex-shrink: 0;
  min-width: 0;
}

.trade-type-arc {
  font-size: 10px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(41,208,255,0.1);
  border: 1px solid rgba(41,208,255,0.3);
  white-space: nowrap;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
}

/* Tablet: Adjust trade title width */
@media (max-width: 992px) and (min-width: 769px) {
  .trade-type-arc {
    max-width: 100px;
  }
}

.trade-time-arc {
  font-size: 9px;
  color: var(--muted);
  font-weight: 500;
  white-space: nowrap;
}

.trade-id-arc {
  font-size: 8px;
  color: var(--muted);
  opacity: 0.6;
  font-family: 'Courier New', monospace;
}

.poster {
  display: flex;
  gap: 8px;
  align-items: center;
}

.avatar {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: radial-gradient(circle at 0 0, #29d0ff, #08121f);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e2f7ff;
  font-weight: 700;
  font-size: 14px;
  transition: all var(--transition-smooth);
  cursor: pointer;
}

.avatar:hover {
  transform: scale(1.15) rotate(5deg);
  box-shadow: 0 0 15px rgba(41,208,255,0.6);
}

.avatar.big {
  width: 60px;
  height: 60px;
  background-size: cover;
  background-position: center;
  color: #fff;
}

.avatar.big.glow {
  box-shadow: 0 0 18px rgba(41,208,255,0.7);
  animation: neon-glow 3s ease-in-out infinite;
}

.poster-name {
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-smooth);
}

.poster-name:hover {
  color: #29d0ff;
  text-shadow: 0 0 8px rgba(41,208,255,0.6);
}

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

/* Admin/Mod Styling */
.user-name-admin {
  color: #ffd369 !important;
  text-shadow: 0 0 10px rgba(255,211,105,0.6);
}

.user-name-mod {
  color: #7cffb2 !important;
  text-shadow: 0 0 10px rgba(124,255,178,0.6);
}

.user-role-tag {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-left: 6px;
  vertical-align: middle;
}

.user-role-tag.admin {
  background: linear-gradient(135deg, #ffd369, #ffb347);
  color: #271400;
  box-shadow: 0 0 8px rgba(255,211,105,0.5);
}

.user-role-tag.mod {
  background: linear-gradient(135deg, #7cffb2, #4ade80);
  color: #021a0d;
  box-shadow: 0 0 8px rgba(124,255,178,0.5);
}

.admin-trade,
.admin-message {
  border-left: 3px solid #ffd369;
  box-shadow: 0 0 15px rgba(255,211,105,0.3);
  background: linear-gradient(135deg, 
    rgba(255, 211, 105, 0.06) 0%, 
    rgba(5,12,22,0.95) 50%,
    rgba(255, 211, 105, 0.06) 100%);
}

/* Corner design removed */

.admin-trade::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent 0%,
    rgba(255, 211, 105, 0.7) 50%,
    transparent 100%);
  z-index: 1;
}

.mod-trade,
.mod-message {
  border-left: 3px solid #7cffb2;
  box-shadow: 0 0 15px rgba(124,255,178,0.3);
  background: linear-gradient(135deg, 
    rgba(124, 255, 178, 0.06) 0%, 
    rgba(5,12,22,0.95) 50%,
    rgba(124, 255, 178, 0.06) 100%);
}

/* Corner design removed */

.mod-trade::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent 0%,
    rgba(124, 255, 178, 0.7) 50%,
    transparent 100%);
  z-index: 1;
}

/* REP strip */

.trade-rep-strip {
  margin-top: 2px;
  display: flex;
  flex-direction: row;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}

.inline-rep {
  font-size: 10px !important;
  padding: 2px 6px !important;
  margin-left: 6px;
}

.inline-rank {
  font-size: 9px !important;
  padding: 2px 6px !important;
}

.trade-badge-inline {
  display: inline-flex;
  gap: 2px;
  align-items: center;
  margin-left: 4px;
}

.trade-badge-emoji {
  cursor: default;
  transition: all var(--transition-smooth);
}

.trade-badge-emoji:hover {
  transform: scale(1.3) rotate(10deg);
}

.rep-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  transition: all var(--transition-smooth);
}

.rep-number:hover {
  transform: scale(1.1);
}

.rep-number-positive {
  background: rgba(124,255,178,0.12);
  color: #c0ffe1;
  border: 1px solid rgba(124,255,178,0.7);
  box-shadow: 0 0 8px rgba(124,255,178,0.3);
}

.rep-number-negative {
  background: rgba(255,118,117,0.12);
  color: #ffdcdc;
  border: 1px solid rgba(255,118,117,0.7);
  box-shadow: 0 0 8px rgba(255,118,117,0.3);
}

.rep-number-neutral {
  background: rgba(125,137,157,0.15);
  color: #dfe7f3;
  border: 1px solid rgba(125,137,157,0.4);
}

/* Reputation change animations */
@keyframes rep-increase {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.3);
    box-shadow: 0 0 20px rgba(124,255,178,0.6);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes rep-decrease {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.3);
    box-shadow: 0 0 20px rgba(255,118,117,0.6);
  }
  100% {
    transform: scale(1);
  }
}

.rep-change-positive {
  animation: rep-increase 0.5s ease-out;
}

.rep-change-negative {
  animation: rep-decrease 0.5s ease-out;
}

.trade-badge-row {
  display: flex;
  gap: 3px;
  align-items: center;
}

/* card meta */

.card-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  font-size: 11px;
  color: var(--muted);
}

.card-meta .type {
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(124,255,178,0.6);
  background: rgba(14,40,32,0.9);
  color: #bdfde0;
  font-size: 11px;
  transition: all var(--transition-smooth);
}

.card-meta .type:hover {
  box-shadow: 0 0 10px rgba(124,255,178,0.4);
  transform: scale(1.05);
}

/* Trade Exchange Panel - ARC Raiders Style */
.trade-exchange-arc {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 8px;
  margin-bottom: 8px;
  position: relative;
  z-index: 2;
  flex: 1;
  min-height: 0;
}

.exchange-panel {
  background: rgba(5,12,22,0.6);
  border: 1px solid rgba(41,208,255,0.2);
  border-radius: 4px;
  padding: 6px;
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.exchange-panel:hover {
  border-color: rgba(41,208,255,0.4);
  background: rgba(5,12,22,0.8);
  box-shadow: 0 0 15px rgba(41,208,255,0.1);
}

.offer-panel {
  border-color: rgba(41,208,255,0.25);
}

.want-panel {
  border-color: rgba(124,255,178,0.25);
}

.panel-header-arc {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(41,208,255,0.1);
  flex-shrink: 0;
}

.panel-label-arc {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.label-icon {
  font-size: 11px;
}

.panel-count-arc {
  font-size: 8px;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.exchange-divider-arc {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 0 6px;
  flex-shrink: 0;
}

.divider-line {
  width: 2px;
  height: 15px;
  background: linear-gradient(180deg, 
    transparent 0%, 
    rgba(41,208,255,0.5) 50%, 
    transparent 100%);
}

.divider-icon {
  font-size: 18px;
  color: var(--accent);
  font-weight: bold;
  animation: pulse-scale 2s ease-in-out infinite;
  filter: drop-shadow(0 0 6px rgba(41,208,255,0.5));
}

.items-grid-arc {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 6px;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  max-height: 200px;
}

.item-chip-arc {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 4px 6px;
  background: rgba(9,25,42,0.6);
  border: 1px solid rgba(41,208,255,0.3);
  border-radius: 3px;
  transition: all var(--transition-smooth);
  animation: chip-fade-in 0.3s ease-out;
  animation-fill-mode: both;
  flex-shrink: 0;
  text-align: center;
}

.item-chip-arc:nth-child(1) { animation-delay: 0.05s; }
.item-chip-arc:nth-child(2) { animation-delay: 0.1s; }
.item-chip-arc:nth-child(3) { animation-delay: 0.15s; }

.item-chip-arc:hover {
  transform: translateX(4px);
  border-color: rgba(41,208,255,0.6);
  background: rgba(9,25,42,0.9);
  box-shadow: 0 0 12px rgba(41,208,255,0.2);
}

.item-chip-arc.want-chip {
  border-color: rgba(124,255,178,0.3);
  background: rgba(6,40,30,0.6);
}

.item-chip-arc.want-chip:hover {
  border-color: rgba(124,255,178,0.6);
  box-shadow: 0 0 12px rgba(124,255,178,0.2);
}

/* Ensure rarity classes override want-chip styles */
.item-chip-arc.want-chip.item-rarity-common {
  border-color: rgba(156,163,175,0.5) !important;
  background: rgba(9,25,42,0.7) !important;
}

.item-chip-arc.want-chip.item-rarity-uncommon {
  border-color: rgba(74,222,128,0.5) !important;
  background: rgba(6,40,30,0.7) !important;
}

.item-chip-arc.want-chip.item-rarity-rare {
  border-color: rgba(59,130,246,0.5) !important;
  background: rgba(9,25,42,0.7) !important;
}

.item-chip-arc.want-chip.item-rarity-epic {
  border-color: rgba(168,85,247,0.5) !important;
  background: rgba(25,15,40,0.7) !important;
}

.item-chip-arc.want-chip.item-rarity-legendary {
  border-color: rgba(251,191,36,0.6) !important;
  background: rgba(40,30,5,0.7) !important;
  box-shadow: 0 0 8px rgba(251,191,36,0.2) !important;
}

/* Item Chip Rarity Styling */
.item-chip-arc.item-rarity-common {
  border-color: rgba(156,163,175,0.5) !important;
  background: rgba(9,25,42,0.7) !important;
}

.item-chip-arc.item-rarity-common:hover {
  border-color: rgba(156,163,175,0.7) !important;
  box-shadow: 0 0 12px rgba(156,163,175,0.3) !important;
}

.item-chip-arc.item-rarity-uncommon {
  border-color: rgba(74,222,128,0.5) !important;
  background: rgba(6,40,30,0.7) !important;
}

.item-chip-arc.item-rarity-uncommon:hover {
  border-color: rgba(74,222,128,0.7) !important;
  box-shadow: 0 0 12px rgba(74,222,128,0.3) !important;
}

.item-chip-arc.item-rarity-rare {
  border-color: rgba(59,130,246,0.5) !important;
  background: rgba(9,25,42,0.7) !important;
}

.item-chip-arc.item-rarity-rare:hover {
  border-color: rgba(59,130,246,0.7) !important;
  box-shadow: 0 0 12px rgba(59,130,246,0.3) !important;
}

.item-chip-arc.item-rarity-epic {
  border-color: rgba(168,85,247,0.5) !important;
  background: rgba(25,15,40,0.7) !important;
}

.item-chip-arc.item-rarity-epic:hover {
  border-color: rgba(168,85,247,0.7) !important;
  box-shadow: 0 0 12px rgba(168,85,247,0.3) !important;
}

.item-chip-arc.item-rarity-legendary {
  border-color: rgba(251,191,36,0.6) !important;
  background: rgba(40,30,5,0.7) !important;
  box-shadow: 0 0 8px rgba(251,191,36,0.2) !important;
}

.item-chip-arc.item-rarity-legendary:hover {
  border-color: rgba(251,191,36,0.8) !important;
  box-shadow: 0 0 15px rgba(251,191,36,0.4) !important;
}

.chip-thumb-arc {
  width: 20px;
  height: 20px;
  border-radius: 3px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid rgba(41,208,255,0.3);
  background: rgba(2,6,13,0.8);
}

.chip-thumb-arc img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chip-content-arc {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
}

.chip-name-arc {
  font-size: 9px;
  font-weight: 600;
  color: #e6f9ff;
  margin-bottom: 1px;
  text-transform: uppercase;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--font-item-label) !important;
  width: 100%;
  text-align: center;
  max-width: 100%;
}

.chip-qty-arc {
  font-size: 8px;
  color: var(--muted);
  font-weight: 500;
  text-align: center;
  width: 100%;
}

.item-more-chip {
  background: linear-gradient(135deg, rgba(41,208,255,0.15), rgba(41,208,255,0.05)) !important;
  border-color: rgba(41,208,255,0.4) !important;
  border-style: dashed !important;
  justify-content: center;
  animation: pulse-glow 2s ease-in-out infinite;
}

.item-more-chip .chip-name-arc {
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 11px;
}

@keyframes chip-fade-in {
  from {
    opacity: 0;
    transform: translateX(-8px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Trade Notes */
.trade-notes-arc {
  margin-bottom: 8px;
  padding: 6px;
  background: rgba(5,12,22,0.4);
  border: 1px solid rgba(41,208,255,0.15);
  border-left: 3px solid rgba(41,208,255,0.5);
  border-radius: 3px;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.notes-label-arc {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 4px;
}

.notes-content-arc {
  font-size: 10px;
  color: rgba(202,226,255,0.9);
  line-height: 1.4;
  max-height: 40px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* View More Button */
.trade-view-more-section {
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(41,208,255,0.15);
  position: relative;
  z-index: 2;
}

.trade-view-more-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  background: linear-gradient(135deg, rgba(41,208,255,0.15), rgba(41,208,255,0.08));
  border: 1px solid rgba(41,208,255,0.4);
  border-radius: 8px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.trade-view-more-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(41,208,255,0.2), transparent);
  transition: left 0.5s;
}

.trade-view-more-btn:hover::before {
  left: 100%;
}

.trade-view-more-btn:hover {
  background: linear-gradient(135deg, rgba(41,208,255,0.25), rgba(41,208,255,0.15));
  border-color: rgba(41,208,255,0.7);
  box-shadow: 0 0 20px rgba(41,208,255,0.4);
  transform: translateY(-2px);
}

.trade-view-more-btn .btn-icon {
  font-size: 14px;
}

.trade-view-more-btn .btn-text {
  flex: 1;
  text-align: center;
}

.trade-view-more-btn .btn-arrow {
  font-size: 16px;
  transition: transform var(--transition-smooth);
}

.trade-view-more-btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* Action Panel */
.trade-actions-arc {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
  padding-top: 6px;
  border-top: 1px solid rgba(41,208,255,0.15);
  margin-top: auto;
  flex-shrink: 0;
}

.arc-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 5px 10px;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid;
  border-radius: 3px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
  flex: 1;
  justify-content: center;
  min-width: 0;
}

.arc-action-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transition: left 0.5s;
}

.arc-action-btn:hover::before {
  left: 100%;
}

.arc-action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.arc-btn-primary {
  border-color: rgba(41,208,255,0.6);
  color: var(--accent);
}

.arc-btn-primary:hover {
  background: rgba(41,208,255,0.15);
  border-color: rgba(41,208,255,0.9);
  box-shadow: 0 0 15px rgba(41,208,255,0.4);
}

.arc-btn-success {
  border-color: rgba(124,255,178,0.6);
  color: #7cffb2;
}

.arc-btn-success:hover {
  background: rgba(124,255,178,0.15);
  border-color: rgba(124,255,178,0.9);
  box-shadow: 0 0 15px rgba(124,255,178,0.4);
}

.arc-btn-danger {
  border-color: rgba(255,118,117,0.6);
  color: #ff7675;
}

.arc-btn-danger:hover {
  background: rgba(255,118,117,0.15);
  border-color: rgba(255,118,117,0.9);
  box-shadow: 0 0 15px rgba(255,118,117,0.4);
}

.btn-icon {
  font-size: 12px;
  filter: drop-shadow(0 0 3px currentColor);
  flex-shrink: 0;
}

.btn-text {
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pill-row {
  margin-top: 3px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}

.item-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(41,208,255,0.6);
  background: rgba(9,25,42,0.95);
  font-size: 11px;
  transition: all var(--transition-smooth);
  animation: pill-fade-in 0.3s ease-out;
  animation-fill-mode: both;
  text-align: center;
}

.item-pill:nth-child(1) { animation-delay: 0.05s; }
.item-pill:nth-child(2) { animation-delay: 0.1s; }
.item-pill:nth-child(3) { animation-delay: 0.15s; }

.item-pill:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 0 12px rgba(41,208,255,0.4);
  border-color: rgba(41,208,255,0.9);
}

.item-pill.item-more {
  background: linear-gradient(135deg, rgba(41,208,255,0.15), rgba(41,208,255,0.05));
  border-color: rgba(41,208,255,0.5);
  font-weight: 600;
  letter-spacing: 0.05em;
  animation: pulse-glow 2s ease-in-out infinite;
}

.item-pill.item-more .pill-name {
  color: var(--accent);
  text-transform: uppercase;
  font-size: 10px;
}

@keyframes pill-fade-in {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 8px rgba(41,208,255,0.3);
  }
  50% {
    box-shadow: 0 0 16px rgba(41,208,255,0.5);
  }
}

.item-pill.want {
  border-color: rgba(124,255,178,0.9);
  background: rgba(6,40,30,0.95);
}

.item-pill.want:hover {
  box-shadow: 0 0 12px rgba(124,255,178,0.4);
}

.pill-thumb {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  overflow: hidden;
  flex-shrink: 0;
  transition: all var(--transition-smooth);
}

.item-pill:hover .pill-thumb {
  transform: scale(1.2);
}

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

.pill-name {
  color: #e6f9ff;
  transition: all var(--transition-smooth);
  font-family: var(--font-item-label) !important;
  text-align: center;
  flex: 1;
  min-width: 0;
}

.list-layout .pill-name {
  text-transform: none;
}
.pill-qty {
  color: var(--muted);
  text-align: center;
  flex-shrink: 0;
}

.notes {
  margin: 4px 0 0;
  font-size: 12px;
  color: rgba(202,226,255,0.95);
}

/* card footer */

.card-footer {
  margin-top: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
}

.card-footer-left,
.card-footer-right {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.compact-footer {
  margin-top: 6px;
}

/* Token Actions Panel */
.token-actions-panel {
  margin-top: 8px;
  padding: 8px;
  border-radius: 8px;
  background: rgba(41,208,255,0.05);
  border: 1px solid rgba(41,208,255,0.3);
}

.token-actions-header {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #29d0ff;
  margin-bottom: 6px;
}

.token-actions-buttons {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.arct-btn-highlight {
  background: linear-gradient(135deg, #29d0ff, #1a8ccc);
  border: 1px solid #29d0ff;
  color: #fff;
  box-shadow: 0 0 10px rgba(41,208,255,0.4);
}

.arct-btn-highlighted {
  background: linear-gradient(135deg, #ffd369, #ffb347);
  border: 1px solid #ffd369;
  color: #271400;
  box-shadow: 0 0 10px rgba(255,211,105,0.4);
}

.token-status {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: rgba(41,208,255,0.1);
  color: #29d0ff;
  border: 1px solid rgba(41,208,255,0.5);
}

/* Post Trade Panel */
.post-trade-panel {
  animation: slide-up 0.5s ease-out;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: start;
}

.form-grid.spaced {
  gap: 20px;
}

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

.form-column h4 {
  text-align: center;
  margin-bottom: 8px;
  color: #29d0ff;
  text-shadow: 0 0 10px rgba(41,208,255,0.6);
}

.search-style-row {
  display: flex;
  gap: 6px;
  align-items: center;
}

.item-row {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-bottom: 8px;
}

.item-row input {
  flex: 1;
}

.search-style-row input[type="number"].qty {
  width: 60px;
  padding: 6px;
  border-radius: 6px;
  background: #020711;
  border: 1px solid rgba(128,154,182,0.6);
  color: #ffffff !important;
  text-align: center;
}

.search-style-textarea {
  width: 100%;
  min-height: 80px;
  padding: 8px 10px;
  border-radius: 12px;
  background: radial-gradient(circle at 0 0, rgba(41,208,255,0.15), transparent 60%), #020711;
  border: 1px solid rgba(41,208,255,0.6);
  color: #ffffff !important;
  color: #ffffff;
  font-size: 13px;
  outline: none;
  resize: vertical;
  font-family: inherit;
  transition: all var(--transition-smooth);
}

.search-style-textarea:focus {
  background: radial-gradient(circle at 0 0, rgba(41,208,255,0.25), transparent 60%), #020711;
  box-shadow: 0 0 15px rgba(41,208,255,0.3);
}

.trade-arrows-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
}

.trade-arrows-divider-icon {
  font-size: 32px;
  color: var(--accent);
  animation: pulse-scale 3s ease-in-out infinite;
  text-shadow: 0 0 15px rgba(41,208,255,0.8);
}

.form-meta {
  margin-top: 12px;
}

.form-actions {
  margin-top: 12px;
  display: flex;
  gap: 8px;
  justify-content: center;
}

/* Explanation Section */
.explanation-section {
  background: rgba(41,208,255,0.05);
  border: 1px solid rgba(41,208,255,0.3);
  border-radius: var(--radius-lg);
  padding: 16px;
  margin-bottom: 16px;
  animation: slide-up 0.6s ease-out;
}

.explanation-section h4 {
  margin-top: 0;
  margin-bottom: 12px;
  color: #29d0ff;
}

.explanation-section ul {
  margin: 8px 0;
  padding-left: 20px;
}

.explanation-section li {
  margin-bottom: 8px;
  line-height: 1.6;
  color: rgba(255,255,255,0.9);
}

.explanation-section strong {
  color: #7cffb2;
}

/* Welcome Widget Hero */
.welcome-widget-hero {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 16px;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  animation: slide-up 0.5s ease-out;
  border: 1px solid rgba(41,208,255,0.3);
}

.welcome-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('https://images.unsplash.com/photo-1614728263952-84ea256f9679?w=800&q=80') center/cover;
  filter: brightness(0.4) saturate(1.2);
  z-index: 0;
}

.welcome-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent 20%, rgba(5,12,22,0.95) 70%);
}

.welcome-content {
  position: relative;
  z-index: 1;
  padding: 24px 32px;
  text-align: right;
  max-width: 60%;
}

.welcome-content h2 {
  font-size: 28px;
  font-weight: 900;
  margin: 0 0 12px;
  line-height: 1.1;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 0 20px rgba(41,208,255,0.8);
}

.welcome-content h2 span {
  color: #29d0ff;
}

.welcome-content p {
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  margin: 0 0 16px;
  line-height: 1.6;
}

.welcome-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.discord-login-btn {
  background: #5865F2 !important;
  border-color: #5865F2 !important;
  display: flex !important;
  align-items: center;
  gap: 8px;
  padding: 10px 18px !important;
  font-weight: 600;
}

.discord-login-btn:hover {
  background: #4752c4 !important;
  box-shadow: 0 0 20px rgba(88,101,242,0.5);
}

.discord-login-btn svg {
  flex-shrink: 0;
}

.arct-btn-ghost {
  background: transparent !important;
  border: 1px solid rgba(255,255,255,0.3) !important;
  color: rgba(255,255,255,0.8) !important;
}

.arct-btn-ghost:hover {
  background: rgba(255,255,255,0.1) !important;
  border-color: rgba(255,255,255,0.5) !important;
}

/* Old Welcome Widget (keep for fallback) */
.welcome-widget {
  background: radial-gradient(circle at top, rgba(41,208,255,0.15), transparent 60%),
              radial-gradient(circle at bottom, rgba(124,255,178,0.1), transparent 60%),
              rgba(5,12,22,0.95);
  border: 1px solid rgba(41,208,255,0.4);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: 0 0 30px rgba(41,208,255,0.2);
  animation: slide-up 0.5s ease-out;
}

.welcome-widget-content h3 {
  margin-top: 0;
  font-size: 18px;
  color: #29d0ff;
  text-shadow: 0 0 15px rgba(41,208,255,0.8);
  margin-bottom: 12px;
}

.welcome-widget-content p {
  margin: 8px 0;
  line-height: 1.7;
  color: rgba(255,255,255,0.9);
}

/* Profile Page */
.profile-page-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
}

.profile-main {
  animation: slide-up 0.5s ease-out;
}

.profile-main-header {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(41,208,255,0.2);
}

.profile-main-meta {
  flex: 1;
}

.profile-name {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 4px;
  transition: all var(--transition-smooth);
}

.profile-username {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 12px;
}

.profile-rep-block {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 8px;
}

.profile-rep-block.modal {
  margin-top: 12px;
}

.rep-rank-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all var(--transition-smooth);
}

.rep-rank-badge:hover {
  transform: scale(1.1);
}

.rep-rank-badge.mini {
  padding: 3px 8px;
  font-size: 8px;
  letter-spacing: 0.05em;
}

.rep-rank-badge.rank-legendary {
  background: linear-gradient(135deg, #ffd369, #ff9a3c);
  color: #271400;
  box-shadow: 0 0 12px rgba(255,211,105,0.5);
}

.rep-rank-badge.rank-trusted {
  background: linear-gradient(135deg, #7cffb2, #4ade80);
  color: #021a0d;
  box-shadow: 0 0 12px rgba(124,255,178,0.5);
}

.rep-rank-badge.rank-experienced {
  background: linear-gradient(135deg, #29d0ff, #0ea5e9);
  color: #021214;
  box-shadow: 0 0 12px rgba(41,208,255,0.5);
}

.rep-rank-badge.rank-rookie {
  background: rgba(155,168,192,0.3);
  color: #dfe7f3;
  border: 1px solid rgba(155,168,192,0.6);
}

.rep-rank-badge.rank-neutral {
  background: rgba(125,137,157,0.2);
  color: #9ba8c0;
  border: 1px solid rgba(125,137,157,0.5);
}

.rep-rank-badge.rank-unreliable {
  background: rgba(255,163,72,0.2);
  color: #ffa348;
  border: 1px solid rgba(255,163,72,0.6);
}

.rep-rank-badge.rank-dangerous {
  background: linear-gradient(135deg, rgba(255,118,117,0.3), rgba(241,78,78,0.4));
  color: #ff7675;
  border: 1px solid rgba(255,118,117,0.7);
  box-shadow: 0 0 12px rgba(255,118,117,0.4);
}

.profile-kpis {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}

.kpi {
  flex: 1;
  background: rgba(41,208,255,0.05);
  border: 1px solid rgba(41,208,255,0.3);
  border-radius: 8px;
  padding: 8px 12px;
  text-align: center;
  transition: all var(--transition-smooth);
}

.kpi:hover {
  background: rgba(41,208,255,0.1);
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(41,208,255,0.3);
}

.kpi .label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 4px;
}

.kpi .value {
  font-size: 20px;
  font-weight: 700;
  color: #29d0ff;
  text-shadow: 0 0 8px rgba(41,208,255,0.5);
}

.profile-social {
  margin-top: 20px;
}

.profile-social h4 {
  margin-bottom: 12px;
}

.profile-social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 8px;
}

.profile-social-grid div {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  background: rgba(41,208,255,0.05);
  border: 1px solid rgba(41,208,255,0.2);
  border-radius: 8px;
  font-size: 13px;
  transition: all var(--transition-smooth);
}

.profile-social-grid div:hover {
  background: rgba(41,208,255,0.1);
  border-color: rgba(41,208,255,0.4);
  transform: translateX(3px);
}

.platform-icon {
  width: 20px;
  height: 20px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  display: inline-block;
  filter: brightness(0) invert(1);
  opacity: 0.8;
}


.platform-icon.discord {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M20.317 4.37a19.791 19.791 0 00-4.885-1.515.074.074 0 00-.079.037c-.21.375-.444.864-.608 1.25a18.27 18.27 0 00-5.487 0 12.64 12.64 0 00-.617-1.25.077.077 0 00-.079-.037A19.736 19.736 0 003.677 4.37a.07.07 0 00-.032.027C.533 9.046-.32 13.58.099 18.057a.082.082 0 00.031.057 19.9 19.9 0 005.993 3.03.078.078 0 00.084-.028c.462-.63.874-1.295 1.226-1.994a.076.076 0 00-.041-.106 13.107 13.107 0 01-1.872-.892.077.077 0 01-.008-.128 10.2 10.2 0 00.372-.292.074.074 0 01.077-.01c3.928 1.793 8.18 1.793 12.062 0a.074.074 0 01.078.01c.12.098.246.198.373.292a.077.077 0 01-.006.127 12.299 12.299 0 01-1.873.892.077.077 0 00-.041.107c.36.698.772 1.362 1.225 1.993a.076.076 0 00.084.028 19.839 19.839 0 006.002-3.03.077.077 0 00.032-.054c.5-5.177-.838-9.674-3.549-13.66a.061.061 0 00-.031-.03zM8.02 15.33c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.956-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.956 2.418-2.157 2.418zm7.975 0c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.955-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.946 2.418-2.157 2.418z"/></svg>');
}

.platform-icon.psn {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"/></svg>');
}

.platform-icon.xbox {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M4.102 21.033A11.947 11.947 0 0012 24a11.96 11.96 0 007.902-2.967c1.877-1.912-4.316-8.709-7.902-11.417-3.582 2.708-9.779 9.505-7.898 11.417zm11.16-14.406c2.5 2.961 7.484 10.313 6.076 12.912A11.942 11.942 0 0024 12.004a11.95 11.95 0 00-3.57-8.536 1.88 1.88 0 00-.134-.12c-.486-.394-2.407-.685-4.038 2.279zM4.704 3.468a1.88 1.88 0 00-.134.12A11.948 11.948 0 000 12.004c0 2.779.949 5.338 2.538 7.355-1.408-2.599 3.576-9.951 6.076-12.912-1.63-2.964-3.552-2.673-4.038-2.279z"/></svg>');
}

.platform-icon.generic {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 3c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3zm0 14.2c-2.5 0-4.71-1.28-6-3.22.03-1.99 4-3.08 6-3.08 1.99 0 5.97 1.09 6 3.08-1.29 1.94-3.5 3.22-6 3.22z"/></svg>');
}

/* Active Trades */
.profile-active-trades {
  margin-top: 20px;
}

.active-trades-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

.active-trade-item {
  background: rgba(41,208,255,0.05);
  border: 1px solid rgba(41,208,255,0.2);
  border-radius: 10px;
  padding: 12px;
  transition: all var(--transition-smooth);
}

.active-trade-item:hover {
  background: rgba(41,208,255,0.1);
  border-color: rgba(41,208,255,0.4);
  transform: translateX(3px);
}

.trade-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.trade-type-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(124,255,178,0.15);
  color: #7cffb2;
  border: 1px solid rgba(124,255,178,0.5);
}

.trade-date {
  font-size: 11px;
  color: var(--muted);
}

.trade-item-details {
  margin: 8px 0;
  font-size: 12px;
}

.trade-offer-want {
  margin-bottom: 4px;
}

.trade-item-actions {
  margin-top: 8px;
  display: flex;
  gap: 6px;
}

.trade-completion-notice {
  margin-top: 6px;
  font-size: 11px;
  color: #7cffb2;
}

/* Badges Section */
.profile-badges-section {
  margin-top: 20px;
}

.badge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.badge-card {
  background: rgba(41,208,255,0.05);
  border: 1px solid rgba(41,208,255,0.2);
  border-radius: 10px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-smooth);
}

.badge-card:hover {
  background: rgba(41,208,255,0.1);
  border-color: rgba(41,208,255,0.5);
  transform: translateY(-3px);
  box-shadow: 0 0 20px rgba(41,208,255,0.3);
}

.badge-title {
  font-weight: 600;
  font-size: 12px;
  text-align: center;
  color: #29d0ff;
}

.badge-description {
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  line-height: 1.4;
}

/* REP Comments */
.profile-rep-comments {
  margin-top: 20px;
}

.rep-slider {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
  max-height: 300px;
  overflow-y: auto;
  padding: 4px;
}

.rep-slide {
  background: rgba(41,208,255,0.05);
  border: 1px solid rgba(41,208,255,0.2);
  border-radius: 10px;
  padding: 12px;
  animation: slide-up 0.3s ease-out;
  transition: all var(--transition-smooth);
}

.rep-slide:hover {
  background: rgba(41,208,255,0.1);
  border-color: rgba(41,208,255,0.4);
}

.rep-slide-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 11px;
}

.rep-slide-meta .author {
  font-weight: 600;
  color: #29d0ff;
}

.rep-slide-meta .time {
  color: var(--muted);
}

.rep-slide-body {
  font-size: 13px;
  line-height: 1.5;
  padding: 8px;
  border-radius: 6px;
  background: rgba(5,12,22,0.5);
}

.rep-slide-body.positive {
  border-left: 3px solid #7cffb2;
  background: rgba(124,255,178,0.05);
}

.rep-slide-body.negative {
  border-left: 3px solid #ff7675;
  background: rgba(255,118,117,0.05);
}

/* History Section */
.profile-history {
  margin-top: 20px;
}

.points-history {
  border: 1px solid rgba(41,208,255,0.2);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(5,12,22,0.5);
}

.points-history-header {
  padding: 12px;
  background: rgba(41,208,255,0.05);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all var(--transition-smooth);
}

.points-history-header:hover {
  background: rgba(41,208,255,0.1);
}

.toggle-icon {
  font-size: 18px;
  color: #29d0ff;
  transition: transform 0.3s ease;
}

.points-history-body {
  padding: 12px;
  animation: slide-up 0.4s ease-out;
}

.points-history-body h5 {
  margin-top: 12px;
  margin-bottom: 8px;
  color: #7cffb2;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.points-history-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  padding: 8px;
  border-bottom: 1px solid rgba(41,208,255,0.1);
  font-size: 12px;
  align-items: center;
}

.points-history-row:last-child {
  border-bottom: none;
}

.points-history-row .time {
  color: var(--muted);
  font-size: 11px;
}

.points-history-row .reason {
  color: rgba(255,255,255,0.9);
}

.points-history-row .delta {
  font-weight: 700;
  font-size: 13px;
  text-align: right;
}

.delta-positive {
  color: #7cffb2;
}

.delta-negative {
  color: #ff7675;
}

/* Friends Section */
.profile-friends-section {
  animation: slide-up 0.6s ease-out;
}

.friends-subsection {
  margin-bottom: 20px;
}

.friends-subsection h4 {
  margin-bottom: 10px;
  color: #7cffb2;
}

.friends-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.friend-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  background: rgba(41,208,255,0.05);
  border: 1px solid rgba(41,208,255,0.2);
  border-radius: 8px;
  transition: all var(--transition-smooth);
}

.friend-item:hover {
  background: rgba(41,208,255,0.1);
  border-color: rgba(41,208,255,0.4);
  transform: translateX(3px);
}

.friend-item.pending {
  border-left: 3px solid #ffd369;
}

.friend-item.sent {
  opacity: 0.7;
}

.friend-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.friend-name {
  font-weight: 600;
  color: #29d0ff;
}

.friend-actions {
  display: flex;
  gap: 6px;
}

.friend-meta {
  font-size: 11px;
  color: var(--muted);
}

.status-tag {
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  background: rgba(255,211,105,0.2);
  color: #ffd369;
  border: 1px solid rgba(255,211,105,0.5);
}

/* Bug Report Form */
.bug-report-form {
  animation: slide-up 0.7s ease-out;
}

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

.form-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #29d0ff;
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="password"],
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  background: rgba(2,7,17,0.8);
  border: 1px solid rgba(128,154,182,0.4);
  color: #ffffff !important;
  font-size: 14px;
  transition: all var(--transition-smooth);
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: rgba(41,208,255,0.8);
  box-shadow: 0 0 12px rgba(41,208,255,0.3);
}

.success-message {
  padding: 12px;
  border-radius: 8px;
  background: rgba(124,255,178,0.1);
  border: 1px solid rgba(124,255,178,0.5);
  animation: slide-up 0.4s ease-out;
}

/* Messages View */
.messages-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 16px;
  min-height: 500px;
}

.threads-list {
  border-right: 1px solid rgba(41,208,255,0.2);
  padding-right: 12px;
  overflow-y: auto;
  max-height: 600px;
}

.thread {
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: all var(--transition-smooth);
  background: rgba(5,12,22,0.5);
  border: 1px solid rgba(41,208,255,0.1);
}

.thread:hover {
  background: rgba(41,208,255,0.1);
  border-color: rgba(41,208,255,0.4);
  transform: translateX(3px);
}

.thread.active {
  background: rgba(41,208,255,0.15);
  border-color: rgba(41,208,255,0.6);
  box-shadow: 0 0 15px rgba(41,208,255,0.2);
}

.thread-title {
  font-weight: 600;
  margin-bottom: 4px;
  color: #29d0ff;
}

.thread-meta {
  font-size: 11px;
  color: var(--muted);
}

.thread-view {
  display: flex;
  flex-direction: column;
  height: 600px;
}

.thread-view.empty {
  justify-content: center;
  align-items: center;
}

.empty-spot {
  font-size: 14px;
  color: var(--muted);
  text-align: center;
}

.messages-list {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scroll-behavior: smooth;
}

.message {
  display: flex;
  gap: 10px;
  padding: 0;
  border-radius: 10px;
  max-width: 85%;
  animation: slide-up 0.3s ease-out;
  margin-bottom: 12px;
}

.message-avatar-wrapper {
  flex-shrink: 0;
}

.message-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(41,208,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-weight: 700;
  font-size: 14px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.message-content-wrapper {
  flex: 1;
  min-width: 0;
}

.message.outgoing {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.message.outgoing .message-content-wrapper {
  background: linear-gradient(135deg, rgba(41,208,255,0.25), rgba(41,208,255,0.15));
  border: 1px solid rgba(41,208,255,0.5);
  border-radius: 16px 16px 4px 16px;
  padding: 12px 16px;
  box-shadow: 0 2px 8px rgba(41,208,255,0.1);
  animation: slide-in-right 0.3s ease-out;
}

.message.incoming {
  align-self: flex-start;
}

.message.incoming .message-content-wrapper {
  background: rgba(5,12,22,0.9);
  border: 1px solid rgba(41,208,255,0.2);
  border-radius: 16px 16px 16px 4px;
  padding: 12px 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  animation: slide-in-left 0.3s ease-out;
}

.message .meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 11px;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 6px;
}

.message .meta .rep-mini {
  margin-left: 6px;
  padding: 2px;
  border: 1px solid currentColor;
  border-radius: 4px;
}

.message-meta-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  flex: 1;
}

.message-meta-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.message-author {
  font-weight: 600;
  color: #fff;
}

.message-author.is-you {
  color: var(--accent);
}

.message-badges-inline {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.discord-badge-mini {
  display: inline-flex;
  align-items: center;
}

.role-tag-mini {
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  background: rgba(41,208,255,0.2);
  color: var(--accent);
}

.message-badges-list {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.badge-icon-mini {
  border-radius: 3px;
}

.message-time {
  font-size: 10px;
  color: var(--muted);
  white-space: nowrap;
}

.message-delete-btn {
  background: transparent;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 4px;
  font-size: 12px;
  opacity: 0.6;
  transition: all var(--transition-fast);
}

.message-delete-btn:hover {
  opacity: 1;
  color: #ef4444;
}

.message .body {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.95);
  word-wrap: break-word;
}

@keyframes slide-in-right {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slide-in-left {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.composer {
  border-top: 1px solid rgba(41,208,255,0.2);
  padding: 12px;
  background: rgba(5,12,22,0.5);
}

.composer textarea {
  width: 100%;
  min-height: 80px;
  padding: 10px;
  border-radius: 8px;
  background: rgba(2,7,17,0.8);
  border: 1px solid rgba(128,154,182,0.4);
  color: #ffffff !important;
  font-size: 14px;
  resize: vertical;
  font-family: inherit;
  margin-bottom: 8px;
  transition: all var(--transition-smooth);
}

.composer textarea:focus {
  border-color: rgba(41,208,255,0.8);
  box-shadow: 0 0 12px rgba(41,208,255,0.3);
}

.composer-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

/* Chat Panel */
.chat-panel {
  min-height: 500px;
  display: flex;
  flex-direction: column;
}

.chat-log {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 500px;
}

.chat-line {
  animation: slide-up 0.3s ease-out;
}

.chat-bubble {
  background: rgba(5,12,22,0.7);
  border: 1px solid rgba(41,208,255,0.2);
  border-radius: 10px;
  padding: 10px 12px;
  transition: all var(--transition-smooth);
}

.chat-bubble:hover {
  background: rgba(41,208,255,0.05);
  border-color: rgba(41,208,255,0.4);
}

.chat-bubble.admin-message {
  border-left: 3px solid #ffd369;
  background: rgba(255,211,105,0.05);
}

.chat-bubble.mod-message {
  border-left: 3px solid #7cffb2;
  background: rgba(124,255,178,0.05);
}

.chat-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  font-size: 11px;
}

.chat-meta .user {
  font-weight: 600;
  color: #29d0ff;
}

.chat-meta .time {
  color: var(--muted);
}

.chat-bubble .msg {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255,255,255,0.95);
}

.chat-admin-actions {
  margin-top: 8px;
  display: flex;
  gap: 6px;
}

/* Chat Moderation Controls */
.chat-mod-controls {
  border-top: 1px solid rgba(41,208,255,0.2);
  padding: 12px;
  background: rgba(41,208,255,0.05);
  margin: 12px 0;
}

.chat-mod-status {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.status-badge {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.status-badge.locked {
  background: rgba(255,118,117,0.2);
  color: #ff7675;
  border: 1px solid rgba(255,118,117,0.5);
}

.status-badge.slowmode {
  background: rgba(255,211,105,0.2);
  color: #ffd369;
  border: 1px solid rgba(255,211,105,0.5);
}

.chat-mod-buttons {
  display: flex;
  gap: 8px;
}

.chat-compose {
  border-top: 1px solid rgba(41,208,255,0.2);
  padding: 12px;
  display: flex;
  gap: 8px;
  background: rgba(5,12,22,0.5);
}

.chat-compose input {
  flex: 1;
  padding: 10px;
  border-radius: 8px;
  background: rgba(2,7,17,0.8);
  border: 1px solid rgba(128,154,182,0.4);
  color: #ffffff !important;
  font-size: 14px;
  transition: all var(--transition-smooth);
}

.chat-compose input:focus {
  border-color: rgba(41,208,255,0.8);
  box-shadow: 0 0 12px rgba(41,208,255,0.3);
}

/* Leaderboard */
.leaderboard-info {
  animation: slide-up 0.5s ease-out;
}

.leaderboard-info h3 {
  margin-top: 0;
  color: #ffd369;
  text-shadow: 0 0 15px rgba(255,211,105,0.6);
}

.leaderboard-info ul {
  margin: 12px 0;
  padding-left: 20px;
}

.leaderboard-info li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.leaderboard-panel {
  animation: slide-up 0.6s ease-out;
}

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

.leaderboard-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  margin-bottom: 12px;
  background: rgba(5,12,22,0.7);
  border: 1px solid rgba(41,208,255,0.2);
  border-radius: 12px;
  transition: all var(--transition-smooth);
}

.leaderboard-list li:hover {
  background: rgba(41,208,255,0.05);
  border-color: rgba(41,208,255,0.5);
  transform: translateX(5px);
  box-shadow: 0 0 20px rgba(41,208,255,0.2);
}

.leaderboard-list li.rank-1 {
  background: linear-gradient(135deg, rgba(255,211,105,0.15), transparent);
  border-color: rgba(255,211,105,0.6);
  box-shadow: 0 0 25px rgba(255,211,105,0.3);
}

.leaderboard-list li.rank-2 {
  background: linear-gradient(135deg, rgba(192,192,192,0.15), transparent);
  border-color: rgba(192,192,192,0.6);
}

.leaderboard-list li.rank-3 {
  background: linear-gradient(135deg, rgba(205,127,50,0.15), transparent);
  border-color: rgba(205,127,50,0.6);
}

.rank-badge {
  font-size: 24px;
  font-weight: 700;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(41,208,255,0.1);
  border: 2px solid rgba(41,208,255,0.5);
  color: #29d0ff;
  text-shadow: 0 0 10px rgba(41,208,255,0.8);
}

.rank-1 .rank-badge {
  background: linear-gradient(135deg, #ffd369, #ffb347);
  border-color: #ffd369;
  color: #271400;
  animation: pulse-scale 2s ease-in-out infinite;
}

.rank-2 .rank-badge {
  background: linear-gradient(135deg, #c0c0c0, #a0a0a0);
  border-color: #c0c0c0;
  color: #2a2a2a;
}

.rank-3 .rank-badge {
  background: linear-gradient(135deg, #cd7f32, #b8722e);
  border-color: #cd7f32;
  color: #2a1a10;
}

.user-block {
  flex: 1;
  transition: all var(--transition-fast);
}

.user-block[style*="cursor: pointer"]:hover {
  transform: translateX(5px);
  color: var(--accent);
}

.user-block .user-name {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 2px;
}

.user-block .user-handle {
  font-size: 12px;
  color: var(--muted);
}

.metrics {
  display: flex;
  gap: 20px;
}

.metric {
  text-align: center;
}

.metric .label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 2px;
}

.metric .value {
  font-size: 18px;
  font-weight: 700;
  color: #29d0ff;
  text-shadow: 0 0 8px rgba(41,208,255,0.5);
}

.leaderboard-list .badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.leaderboard-list .badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 10px;
  background: rgba(41,208,255,0.1);
  border: 1px solid rgba(41,208,255,0.3);
  color: #29d0ff;
}

.leaderboard-list .badge img {
  width: 16px;
  height: 16px;
}

/* News View */
.leaderboard-news {
  animation: slide-up 0.5s ease-out;
}

.news-entry {
  padding: 16px;
  margin-bottom: 16px;
  border-radius: 12px;
  border: 1px solid rgba(41,208,255,0.3);
  background: rgba(5,12,22,0.7);
  animation: slide-up 0.4s ease-out;
  transition: all var(--transition-smooth);
}

.news-entry:hover {
  background: rgba(41,208,255,0.05);
  border-color: rgba(41,208,255,0.5);
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(41,208,255,0.2);
}

.news-entry.news-alert {
  border-color: rgba(255,118,117,0.6);
  background: linear-gradient(135deg, rgba(255,118,117,0.1), transparent);
}

.news-entry.news-highlight {
  border-color: rgba(255,211,105,0.6);
  background: linear-gradient(135deg, rgba(255,211,105,0.1), transparent);
}

.news-entry.news-promo {
  border-color: rgba(167,139,250,0.6);
  background: linear-gradient(135deg, rgba(167,139,250,0.1), transparent);
}

.news-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #29d0ff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.news-time {
  margin-bottom: 10px;
}

.news-body {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.9);
}

/* Moderation Panel */
.moderation-panel {
  margin-bottom: 24px;
  animation: slide-up 0.5s ease-out;
}

.moderation-panel h3 {
  margin-top: 0;
  margin-bottom: 16px;
  color: #ffd369;
  text-shadow: 0 0 15px rgba(255,211,105,0.6);
}

.mod-input-dark input,
.mod-input-dark textarea,
.mod-input-dark select {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 8px;
  background: rgba(2,7,17,0.8);
  border: 1px solid rgba(128,154,182,0.4);
  color: #ffffff !important;
  font-size: 14px;
  transition: all var(--transition-smooth);
}

.mod-input-dark input:focus,
.mod-input-dark textarea:focus,
.mod-input-dark select:focus {
  border-color: rgba(41,208,255,0.8);
  box-shadow: 0 0 12px rgba(41,208,255,0.3);
}

.mod-input-dark label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #29d0ff;
}

.mod-announcement-controls {
  margin-bottom: 16px;
}

.mod-announcement-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.mod-news-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 12px;
}

.mod-actions-row {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.mod-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
  font-size: 13px;
}

.mod-table thead {
  background: rgba(41,208,255,0.1);
  border-bottom: 2px solid rgba(41,208,255,0.3);
}

.mod-table th,
.mod-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid rgba(41,208,255,0.1);
}

.mod-table th {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 11px;
  color: #29d0ff;
}

.mod-table tbody tr {
  transition: all var(--transition-smooth);
}

.mod-table tbody tr:hover {
  background: rgba(41,208,255,0.05);
}

.news-accordion-header {
  padding: 12px;
  background: rgba(41,208,255,0.05);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 8px;
  margin-bottom: 12px;
  transition: all var(--transition-smooth);
}

.news-accordion-header:hover {
  background: rgba(41,208,255,0.1);
}

.dismissed-block {
  margin-top: 20px;
}

.dismissed-header {
  padding: 12px;
  background: rgba(155,168,192,0.05);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 8px;
  margin-bottom: 12px;
  transition: all var(--transition-smooth);
}

.dismissed-header:hover {
  background: rgba(155,168,192,0.1);
}

.dismissed-body {
  animation: slide-up 0.4s ease-out;
}

/* Analytics Dashboard */
.analytics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.analytics-stat {
  background: rgba(41,208,255,0.05);
  border: 1px solid rgba(41,208,255,0.3);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  transition: all var(--transition-smooth);
}

.analytics-stat:hover {
  background: rgba(41,208,255,0.1);
  transform: translateY(-3px);
  box-shadow: 0 0 20px rgba(41,208,255,0.3);
}

.analytics-stat .stat-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 8px;
}

.analytics-stat .stat-value {
  font-size: 32px;
  font-weight: 700;
  color: #29d0ff;
  text-shadow: 0 0 10px rgba(41,208,255,0.5);
}

.analytics-charts {
  margin-top: 24px;
}

.chart-placeholder {
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(5,12,22,0.5);
  border: 1px dashed rgba(41,208,255,0.3);
  border-radius: 12px;
  padding: 20px;
}

/* User Management Tables */
.users-table-container {
  overflow-x: auto;
  margin-top: 12px;
}

.users-table {
  min-width: 900px;
}

.users-table .user-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.role-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  background: rgba(41,208,255,0.2);
  color: #29d0ff;
  border: 1px solid rgba(41,208,255,0.4);
}

.status-badge.active {
  background: rgba(124,255,178,0.2);
  color: #7cffb2;
  border: 1px solid rgba(124,255,178,0.5);
}

.status-badge.banned {
  background: rgba(255,118,117,0.2);
  color: #ff7675;
  border: 1px solid rgba(255,118,117,0.5);
}

.status-badge.muted {
  background: rgba(255,211,105,0.2);
  color: #ffd369;
  border: 1px solid rgba(255,211,105,0.5);
}

.danger-zone {
  padding: 16px;
  border: 2px solid #ff7675;
  border-radius: 12px;
  background: rgba(255,118,117,0.05);
}

/* Bug Reports Section */
.bug-reports-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bug-report-item {
  background: rgba(5,12,22,0.7);
  border: 1px solid rgba(41,208,255,0.3);
  border-radius: 12px;
  padding: 16px;
  transition: all var(--transition-smooth);
}

.bug-report-item:hover {
  border-color: rgba(41,208,255,0.6);
  background: rgba(5,12,22,0.9);
}

.bug-report-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.bug-type-badge {
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.bug-type-bug {
  background: rgba(255,118,117,0.2);
  color: #ff7675;
  border: 1px solid rgba(255,118,117,0.5);
}

.bug-type-suggestion {
  background: rgba(124,255,178,0.2);
  color: #7cffb2;
  border: 1px solid rgba(124,255,178,0.5);
}

.bug-type-feedback {
  background: rgba(41,208,255,0.2);
  color: #29d0ff;
  border: 1px solid rgba(41,208,255,0.4);
}

.bug-status {
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  margin-left: auto;
}

.status-open {
  background: rgba(255,211,105,0.2);
  color: #ffd369;
  border: 1px solid rgba(255,211,105,0.5);
}

.status-replied {
  background: rgba(124,255,178,0.2);
  color: #7cffb2;
  border: 1px solid rgba(124,255,178,0.5);
}

.status-closed {
  background: rgba(155,168,192,0.2);
  color: var(--muted);
  border: 1px solid rgba(155,168,192,0.5);
}

.bug-report-meta {
  margin-bottom: 12px;
}

.bug-report-details {
  background: rgba(2,6,13,0.6);
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 12px;
  border-left: 3px solid rgba(41,208,255,0.5);
  font-size: 14px;
  line-height: 1.6;
  white-space: pre-wrap;
}

.bug-report-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* Support Panel */
.support-panel {
  animation: slide-up 0.6s ease-out;
}

/* Coffee Panel - Single Package Design */
.coffee-panel {
  animation: slide-up 0.6s ease-out;
  position: relative; /* Required for snow piles positioning */
}

.coffee-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.coffee-icon {
  font-size: 32px;
  line-height: 1;
  filter: drop-shadow(0 0 10px rgba(255, 183, 77, 0.6));
  animation: coffee-steam 2s ease-in-out infinite;
}

@keyframes coffee-steam {
  0%, 100% { 
    transform: translateY(0) scale(1);
    filter: drop-shadow(0 0 10px rgba(255, 183, 77, 0.6));
  }
  50% { 
    transform: translateY(-2px) scale(1.05);
    filter: drop-shadow(0 0 15px rgba(255, 183, 77, 0.8));
  }
}

.coffee-header-text {
  flex: 1;
}

.coffee-header h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.coffee-tagline {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
  display: block;
}

.coffee-card {
  background: linear-gradient(135deg, rgba(255, 183, 77, 0.08) 0%, rgba(255, 140, 0, 0.04) 100%);
  border: 2px solid rgba(255, 183, 77, 0.4);
  border-radius: var(--radius-lg);
  padding: 20px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-smooth);
}

.coffee-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(255, 183, 77, 0.8), transparent);
  opacity: 0.6;
}

.coffee-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle at center, rgba(255, 183, 77, 0.15), transparent 70%);
  pointer-events: none;
}

.coffee-card:hover {
  border-color: rgba(255, 183, 77, 0.7);
  box-shadow: 0 8px 32px rgba(255, 183, 77, 0.25);
  transform: translateY(-2px);
}

.coffee-card-content {
  position: relative;
  z-index: 1;
}

.coffee-name {
  font-size: 18px;
  font-weight: 700;
  color: #ffd369;
  margin-bottom: 4px;
  text-shadow: 0 0 10px rgba(255, 211, 105, 0.3);
}

.coffee-price {
  font-size: 32px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 16px;
  text-shadow: 0 0 15px rgba(255, 183, 77, 0.4);
  letter-spacing: -1px;
}

.coffee-features {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.coffee-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text);
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 183, 77, 0.1);
}

.coffee-features li:last-child {
  border-bottom: none;
}

.feature-check {
  color: #7cffb2;
  font-weight: 700;
  font-size: 14px;
  text-shadow: 0 0 8px rgba(124, 255, 178, 0.5);
  flex-shrink: 0;
}

.coffee-btn {
  width: 100%;
  padding: 14px 24px;
  background: linear-gradient(135deg, rgba(255, 183, 77, 0.25) 0%, rgba(255, 140, 0, 0.15) 100%);
  border: 2px solid rgba(255, 183, 77, 0.5);
  border-radius: var(--radius);
  color: #ffd369;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  cursor: pointer;
  transition: all var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
}

.coffee-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.coffee-btn:hover {
  background: linear-gradient(135deg, rgba(255, 183, 77, 0.35) 0%, rgba(255, 140, 0, 0.25) 100%);
  border-color: rgba(255, 183, 77, 0.8);
  box-shadow: 0 0 20px rgba(255, 183, 77, 0.4);
  transform: scale(1.02);
}

.coffee-btn:hover::before {
  left: 100%;
}

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

.btn-icon {
  font-size: 18px;
  filter: drop-shadow(0 0 6px rgba(255, 183, 77, 0.6));
}

.support-packages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.support-packages.single-plan-container {
  display: flex;
  justify-content: center;
}

.support-packages-grid {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-top: 16px;
  align-items: stretch;
}

.support-packages-grid .support-card-futuristic {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

@media (max-width: 1024px) {
  .support-packages-grid {
    flex-wrap: wrap;
  }
  
  .support-packages-grid .support-card-futuristic {
    flex: 1 1 calc(50% - 6px);
    min-width: 200px;
  }
}

@media (max-width: 768px) {
  .support-packages-grid {
    flex-direction: column;
  }
  
  .support-packages-grid .support-card-futuristic {
    flex: 1 1 100%;
  }
}

/* Vertical Compact Support Packages */
.support-packages-vertical {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.support-card-compact {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, rgba(5,12,22,0.95) 0%, rgba(8,18,31,0.95) 100%);
  border: 1px solid rgba(41,208,255,0.3);
  border-radius: var(--radius);
  padding: 12px 16px;
  transition: all var(--transition-smooth);
  gap: 16px;
}

.support-card-compact:hover {
  border-color: rgba(41,208,255,0.6);
  box-shadow: 0 4px 16px rgba(41,208,255,0.2);
  transform: translateX(4px);
}

.support-card-compact.featured-compact {
  border-color: rgba(124,255,178,0.4);
}

.support-card-compact.featured-compact:hover {
  border-color: rgba(124,255,178,0.7);
  box-shadow: 0 4px 16px rgba(124,255,178,0.2);
}

.support-card-compact.premium-compact {
  border: 2px solid rgba(255,211,105,0.5);
  background: linear-gradient(135deg, rgba(5,12,22,0.98) 0%, rgba(8,18,31,0.98) 100%);
}

.support-card-compact.premium-compact:hover {
  border-color: rgba(255,211,105,0.8);
  box-shadow: 0 4px 16px rgba(255,211,105,0.3);
}

.support-card-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.support-card-icon-compact {
  font-size: 24px;
  line-height: 1;
  filter: drop-shadow(0 0 6px rgba(41,208,255,0.6));
  flex-shrink: 0;
}

.support-card-compact.featured-compact .support-card-icon-compact {
  filter: drop-shadow(0 0 6px rgba(124,255,178,0.6));
}

.support-card-compact.premium-compact .support-card-icon-compact {
  filter: drop-shadow(0 0 6px rgba(255,211,105,0.6));
}

.support-card-info {
  flex: 1;
  min-width: 0;
}

.support-card-name {
  font-size: 7px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.support-card-compact.featured-compact .support-card-name {
  color: var(--accent2);
}

.support-card-compact.premium-compact .support-card-name {
  color: #ffd369;
  font-size: 7px;
}

.support-card-title-compact {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.support-card-desc {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.4;
}

.support-card-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.support-card-price-compact {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  text-shadow: 0 0 8px rgba(41,208,255,0.4);
  white-space: nowrap;
}

.support-card-compact.featured-compact .support-card-price-compact {
  text-shadow: 0 0 8px rgba(124,255,178,0.4);
}

.support-card-compact.premium-compact .support-card-price-compact {
  text-shadow: 0 0 8px rgba(255,211,105,0.4);
}

.support-card-btn-compact {
  padding: 8px 16px;
  background: linear-gradient(135deg, rgba(41,208,255,0.2) 0%, rgba(41,208,255,0.1) 100%);
  border: 1px solid rgba(41,208,255,0.4);
  border-radius: var(--radius);
  color: var(--accent);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all var(--transition-smooth);
  white-space: nowrap;
}

.support-card-btn-compact:hover {
  background: linear-gradient(135deg, rgba(41,208,255,0.3) 0%, rgba(41,208,255,0.2) 100%);
  border-color: rgba(41,208,255,0.7);
  box-shadow: 0 0 12px rgba(41,208,255,0.4);
}

.support-card-compact.featured-compact .support-card-btn-compact {
  background: linear-gradient(135deg, rgba(124,255,178,0.2) 0%, rgba(124,255,178,0.1) 100%);
  border-color: rgba(124,255,178,0.4);
  color: var(--accent2);
}

.support-card-compact.featured-compact .support-card-btn-compact:hover {
  background: linear-gradient(135deg, rgba(124,255,178,0.3) 0%, rgba(124,255,178,0.2) 100%);
  border-color: rgba(124,255,178,0.7);
  box-shadow: 0 0 12px rgba(124,255,178,0.4);
}

.support-card-btn-compact.premium-btn-compact {
  background: linear-gradient(135deg, rgba(255,211,105,0.2) 0%, rgba(255,211,105,0.1) 100%);
  border-color: rgba(255,211,105,0.4);
  color: #ffd369;
}

.support-card-btn-compact.premium-btn-compact:hover {
  background: linear-gradient(135deg, rgba(255,211,105,0.3) 0%, rgba(255,211,105,0.2) 100%);
  border-color: rgba(255,211,105,0.7);
  box-shadow: 0 0 12px rgba(255,211,105,0.4);
}

.support-card {
  background: rgba(5,12,22,0.8);
  border: 1px solid rgba(41,208,255,0.3);
  border-radius: 10px;
  padding: 12px 16px;
  text-align: center;
  transition: all var(--transition-smooth);
}

.support-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 20px rgba(41,208,255,0.4);
  border-color: rgba(41,208,255,0.6);
}

.support-card.highlighted,
.support-card.single-plan {
  border: 2px solid #ffd369;
  box-shadow: 0 0 20px rgba(255,211,105,0.4);
  background: radial-gradient(circle at top, rgba(255,211,105,0.1), transparent 70%), rgba(5,12,22,0.9);
}

.support-card.single-plan {
  max-width: 280px;
}

/* Futuristic Support Cards */
.support-card-futuristic {
  background: linear-gradient(135deg, rgba(5,12,22,0.95) 0%, rgba(8,18,31,0.95) 100%);
  border: 1px solid rgba(41,208,255,0.3);
  border-radius: var(--radius-lg);
  padding: 16px;
  text-align: center;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.support-card-futuristic::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

.support-card-futuristic:hover {
  transform: translateY(-4px);
  border-color: rgba(41,208,255,0.6);
  box-shadow: 0 8px 32px rgba(41,208,255,0.3);
}

.support-card-futuristic:hover::before {
  opacity: 1;
}

.support-card-futuristic.featured-card {
  border-color: rgba(124,255,178,0.4);
}

.support-card-futuristic.featured-card:hover {
  border-color: rgba(124,255,178,0.7);
  box-shadow: 0 8px 32px rgba(124,255,178,0.3);
}

.support-card-futuristic.premium-card {
  border: 2px solid rgba(255,211,105,0.5);
  background: linear-gradient(135deg, rgba(5,12,22,0.98) 0%, rgba(8,18,31,0.98) 100%);
  box-shadow: 0 0 20px rgba(255,211,105,0.2);
}

.support-card-futuristic.premium-card:hover {
  border-color: rgba(255,211,105,0.8);
  box-shadow: 0 8px 40px rgba(255,211,105,0.4);
}

.support-card-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.support-card-icon {
  font-size: 32px;
  line-height: 1;
  filter: drop-shadow(0 0 8px rgba(41,208,255,0.6));
}

.support-card-futuristic.featured-card .support-card-icon {
  filter: drop-shadow(0 0 8px rgba(124,255,178,0.6));
}

.support-card-futuristic.premium-card .support-card-icon {
  filter: drop-shadow(0 0 8px rgba(255,211,105,0.6));
}

.support-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.support-card-futuristic.featured-card .support-card-title {
  color: var(--accent2);
}

.support-card-futuristic.premium-card .support-card-title {
  color: #ffd369;
}

.support-card-price {
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 16px;
  text-shadow: 0 0 10px rgba(41,208,255,0.4);
}

.support-card-futuristic.featured-card .support-card-price {
  text-shadow: 0 0 10px rgba(124,255,178,0.4);
}

.support-card-futuristic.premium-card .support-card-price {
  text-shadow: 0 0 10px rgba(255,211,105,0.4);
}

.support-card-features {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
  flex: 1;
}

.support-feature {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}

.support-card-btn {
  width: 100%;
  padding: 12px 20px;
  background: linear-gradient(135deg, rgba(41,208,255,0.2) 0%, rgba(41,208,255,0.1) 100%);
  border: 1px solid rgba(41,208,255,0.4);
  border-radius: var(--radius);
  color: var(--accent);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
  margin-top: auto;
}

.support-card-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(41,208,255,0.2), transparent);
  transition: left 0.5s;
}

.support-card-btn:hover {
  background: linear-gradient(135deg, rgba(41,208,255,0.3) 0%, rgba(41,208,255,0.2) 100%);
  border-color: rgba(41,208,255,0.7);
  box-shadow: 0 0 20px rgba(41,208,255,0.4);
  transform: translateY(-2px);
}

.support-card-btn:hover::before {
  left: 100%;
}

.support-card-futuristic.featured-card .support-card-btn {
  background: linear-gradient(135deg, rgba(124,255,178,0.2) 0%, rgba(124,255,178,0.1) 100%);
  border-color: rgba(124,255,178,0.4);
  color: var(--accent2);
}

.support-card-futuristic.featured-card .support-card-btn:hover {
  background: linear-gradient(135deg, rgba(124,255,178,0.3) 0%, rgba(124,255,178,0.2) 100%);
  border-color: rgba(124,255,178,0.7);
  box-shadow: 0 0 20px rgba(124,255,178,0.4);
}

.support-card-btn.premium-btn {
  background: linear-gradient(135deg, rgba(255,211,105,0.2) 0%, rgba(255,211,105,0.1) 100%);
  border-color: rgba(255,211,105,0.4);
  color: #ffd369;
}

.support-card-btn.premium-btn:hover {
  background: linear-gradient(135deg, rgba(255,211,105,0.3) 0%, rgba(255,211,105,0.2) 100%);
  border-color: rgba(255,211,105,0.7);
  box-shadow: 0 0 20px rgba(255,211,105,0.4);
}

.support-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #29d0ff;
  text-shadow: 0 0 10px rgba(41,208,255,0.6);
}

.support-price {
  font-size: 24px;
  font-weight: 700;
  color: #ffd369;
  text-shadow: 0 0 10px rgba(255,211,105,0.6);
  margin-bottom: 10px;
}

.support-card ul {
  list-style: none;
  padding: 0;
  margin: 10px 0;
  text-align: left;
}

.support-card li {
  padding: 5px 0;
  border-bottom: 1px solid rgba(41,208,255,0.1);
  font-size: 12px;
}

.support-card li:last-child {
  border-bottom: none;
}

/* Widget Panels */
.widget-panel {
  animation: slide-up 0.6s ease-out;
}

.streamers-panel .stream-placeholder {
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(5,12,22,0.5);
  border: 1px dashed rgba(41,208,255,0.3);
  border-radius: 12px;
  padding: 20px;
}

.featured-streamers-panel .streamer-content {
  margin-top: 12px;
}

.streamers-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.streamer-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  background: rgba(41,208,255,0.05);
  border: 1px solid rgba(41,208,255,0.2);
  border-radius: 8px;
}

.streamer-item-info {
  flex: 1;
}

.streamer-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #29d0ff;
}

.streamer-embed iframe {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
}

/* Discord Panel */
.discord-panel {
  animation: slide-up 0.7s ease-out;
}

.discord-panel-compact {
  animation: slide-up 0.7s ease-out;
  text-align: center;
}

.discord-body-compact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin: 12px 0;
}

.discord-body-compact svg {
  transition: all var(--transition-smooth);
}

.discord-body-compact svg:hover {
  transform: scale(1.1) rotate(5deg);
  filter: drop-shadow(0 0 10px rgba(88,101,242,0.7));
}

.discord-link {
  color: #5865F2;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all var(--transition-fast);
}

.discord-link:hover {
  color: #fff;
  text-shadow: 0 0 10px rgba(88,101,242,0.8);
}

.discord-body {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 12px 0;
}

.discord-logo-circle {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #5865F2, #404eed);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(88,101,242,0.5);
  transition: all var(--transition-smooth);
}

.discord-logo-circle:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 0 30px rgba(88,101,242,0.7);
}

.discord-logo-circle svg {
  width: 35px;
  height: 35px;
}

.discord-text {
  flex: 1;
}

.discord-title {
  font-size: 16px;
  font-weight: 700;
  color: #5865F2;
  margin-bottom: 4px;
}

.discord-sub {
  font-size: 12px;
}

.discord-cta {
  width: 100%;
  margin-top: 12px;
  background: linear-gradient(135deg, #5865F2, #404eed) !important;
  color: #fff !important;
  border-color: transparent !important;
  box-shadow: 0 0 20px rgba(88,101,242,0.4);
}

.discord-cta:hover {
  box-shadow: 0 0 30px rgba(88,101,242,0.6);
  transform: translateY(-2px);
}

/* Recently Completed widget tweaks */
.recently-completed-widget h4 {
  margin-bottom: 10px; /* extra space between title and first trade panel */
}

.recently-completed-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Progression Panel */
.progression-panel {
  animation: slide-up 0.8s ease-out;
}

.progression-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.progression-block {
  background: rgba(5,12,22,0.5);
  border: 1px solid rgba(41,208,255,0.2);
  border-radius: 8px;
  padding: 10px 12px;
  transition: all var(--transition-smooth);
}

.progression-block:hover {
  background: rgba(41,208,255,0.05);
  border-color: rgba(41,208,255,0.4);
}

.progression-block h5 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #29d0ff;
  font-family: 'Exo 2', sans-serif;
  font-weight: 700;
}

.ranks-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
}

.ranks-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 10px;
  padding: 3px 0;
  font-family: 'Exo 2', sans-serif;
  color: var(--muted);
}

.ranks-list li .rep-rank-badge {
  flex-shrink: 0;
}

.progression-block .small-muted {
  font-size: 11px;
  line-height: 1.4;
  margin: 0 0 8px;
}

.progression-link {
  color: #29d0ff;
  text-decoration: none;
  font-weight: 600;
  font-size: 11px;
  transition: all var(--transition-smooth);
}

.progression-link:hover {
  text-shadow: 0 0 8px rgba(41,208,255,0.6);
}

.badge-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 6px;
}

.badge-cloud .badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px 7px;
  border-radius: 999px;
  font-size: 9px;
  background: rgba(41,208,255,0.1);
  border: 1px solid rgba(41,208,255,0.3);
  color: #29d0ff;
  transition: all var(--transition-smooth);
}

.badge-cloud .badge:hover {
  background: rgba(41,208,255,0.2);
  transform: translateY(-2px);
  box-shadow: 0 0 10px rgba(41,208,255,0.4);
}

.badge-cloud .badge img {
  width: 16px;
  height: 16px;
}

/* Mini List */
.mini-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mini-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  margin-bottom: 6px;
  background: rgba(5,12,22,0.5);
  border: 1px solid rgba(41,208,255,0.1);
  border-radius: 8px;
  font-size: 12px;
  transition: all var(--transition-smooth);
}

.mini-list li:hover {
  background: rgba(41,208,255,0.05);
  border-color: rgba(41,208,255,0.3);
  transform: translateX(3px);
}

.mini-list .rank {
  font-weight: 700;
  color: #29d0ff;
  min-width: 30px;
}

.mini-list .count {
  margin-left: auto;
  color: var(--muted);
  font-size: 11px;
}

.mini-trade {
  padding: 10px;
  margin-bottom: 10px;
  background: rgba(5,12,22,0.6);
  border: 1px solid rgba(41,208,255,0.15);
  border-radius: 8px;
  font-size: 12px;
  transition: all var(--transition-smooth);
}

.mini-trade:hover {
  background: rgba(41,208,255,0.05);
  border-color: rgba(41,208,255,0.3);
}

.mini-line {
  display: flex;
  gap: 8px;
  margin-bottom: 4px;
}

.mini-line .label {
  font-weight: 600;
  min-width: 50px;
  color: var(--muted);
}

.mini-line .value {
  flex: 1;
  color: rgba(255,255,255,0.9);
}

.mini-meta {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid rgba(41,208,255,0.1);
}

/* Modals */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 20px;
  animation: fade-in 0.3s ease-out;
  backdrop-filter: blur(5px);
}

.counter-offer-modal-overlay {
  z-index: 9999; /* Lower than regular modals so item modal appears on top */
}

/* Winter Mode Styles */
[data-winter="true"] body,
body.winter-mode {
  position: relative;
}

.winter-snow-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.winter-snowflake {
  position: absolute;
  top: -20px;
  color: #ffffff;
  user-select: none;
  pointer-events: none;
  animation: winter-snowfall linear infinite;
  text-shadow: 0 0 2px rgba(255,255,255,0.8);
  font-size: 8px;
}

@keyframes winter-snowfall {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0.3;
  }
  10% {
    opacity: 0.8;
  }
  90% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(100vh) translateX(10px);
    opacity: 0;
  }
}

/* Winter Mode - Welcome Background */
[data-winter="true"] .welcome-bg,
body.winter-mode .welcome-bg {
  background: url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=1920&q=80') left center/cover !important;
  background-position: left center !important;
  filter: brightness(0.6) saturate(1.2) hue-rotate(180deg) contrast(1.1);
}

.counter-offer-submit-btn {
  font-weight: 600;
  font-size: 14px;
  padding: 12px 20px;
  background: linear-gradient(135deg, #00d4ff, #1e90ff) !important;
  border: 2px solid rgba(255,255,255,0.3) !important;
  box-shadow: 0 0 15px rgba(0,212,255,0.4), 0 0 30px rgba(30,144,255,0.2) !important;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.counter-offer-submit-btn:hover {
  background: linear-gradient(135deg, #1e90ff, #00bfff) !important;
  box-shadow: 0 0 20px rgba(0,212,255,0.6), 0 0 40px rgba(30,144,255,0.4) !important;
  transform: translateY(-1px);
}

.modal-content {
  background: var(--panel);
  border: 1px solid rgba(41,208,255,0.5);
  border-radius: var(--radius-lg);
  box-shadow: 0 0 50px rgba(41,208,255,0.4);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 24px;
  position: relative;
  animation: slide-up 0.4s ease-out;
}

.arct-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 20px;
  animation: fade-in 0.3s ease-out;
  backdrop-filter: blur(5px);
}

.modal-card {
  background: radial-gradient(circle at top, rgba(19,37,62,0.95), rgba(2,6,13,0.98));
  border: 1px solid rgba(41,208,255,0.5);
  border-radius: var(--radius-lg);
  box-shadow: 0 0 50px rgba(41,208,255,0.4);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 24px;
  position: relative;
  animation: slide-up 0.4s ease-out;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255,118,117,0.2);
  border: 1px solid rgba(255,118,117,0.5);
  color: #ff7675;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
  transition: all var(--transition-smooth);
  line-height: 1;
}

.modal-close:hover {
  background: rgba(255,118,117,0.4);
  transform: rotate(90deg);
}

.modal-header {
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(41,208,255,0.2);
}

.modal-header h3 {
  margin: 0 0 12px 0;
}

.profile-modal-head {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.profile-modal-body h4 {
  margin-top: 16px;
  margin-bottom: 12px;
  color: #29d0ff;
}

.modal-actions-row {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.profile-modal-body textarea {
  width: 100%;
  min-height: 80px;
  padding: 10px;
  border-radius: 8px;
  background: rgba(2,7,17,0.8);
  border: 1px solid rgba(128,154,182,0.4);
  color: #fff;
  font-size: 14px;
  resize: vertical;
  font-family: inherit;
  margin-bottom: 8px;
  transition: all var(--transition-smooth);
}

.profile-modal-body textarea:focus {
  border-color: rgba(41,208,255,0.8);
  box-shadow: 0 0 12px rgba(41,208,255,0.3);
}

.rep-actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

/* Item Modal */
.item-modal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
  margin: 16px 0;
  max-height: 400px;
  overflow-y: auto;
  padding: 4px;
}

.item-modal-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px;
  border-radius: 10px;
  background: rgba(5,12,22,0.7);
  border: 1px solid rgba(41,208,255,0.2);
  cursor: pointer;
  transition: all var(--transition-smooth);
}

.item-modal-card:hover {
  background: rgba(41,208,255,0.1);
  border-color: rgba(41,208,255,0.6);
  transform: translateY(-3px);
  box-shadow: 0 0 15px rgba(41,208,255,0.3);
}

.item-modal-card img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 8px;
}

.item-modal-card .meta {
  text-align: center;
  width: 100%;
}

.item-modal-card .name,
.item-name,
.item-label {
  font-family: var(--font-item-label) !important;
  text-transform: uppercase;
}

.item-modal-card .name,
.item-name,
.item-label {
  font-family: var(--font-item-label) !important;
  text-transform: uppercase;
}

.item-modal-card .name {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 2px;
  color: #29d0ff;
}

.item-modal-card .cat {
  font-size: 10px;
  color: var(--muted);
}

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

/* Login Modal */
.login-card {
  max-width: 400px;
  text-align: center;
}

.login-card h3 {
  margin-top: 0;
  color: #29d0ff;
  text-shadow: 0 0 15px rgba(41,208,255,0.6);
}

.login-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0;
}

.login-btn {
  width: 100%;
  padding: 12px;
  text-decoration: none;
  text-align: center;
}

/* Toast Notifications */
.arct-toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 16px 20px;
  border-radius: 12px;
  background: rgba(5,12,22,0.95);
  border: 1px solid rgba(41,208,255,0.5);
  box-shadow: 0 0 30px rgba(41,208,255,0.4);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  z-index: 10001;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease-out;
  max-width: 350px;
  width: calc(100% - 40px);
  backdrop-filter: blur(10px);
  box-sizing: border-box;
}

.arct-toast.visible {
  opacity: 1;
  transform: translateY(0);
}

.arct-toast.arct-toast-success {
  border-color: rgba(124,255,178,0.6);
  box-shadow: 0 0 30px rgba(124,255,178,0.4);
  background: linear-gradient(135deg, rgba(124,255,178,0.2), rgba(5,12,22,0.95));
}

.arct-toast.arct-toast-error {
  border-color: rgba(255,118,117,0.6);
  box-shadow: 0 0 30px rgba(255,118,117,0.4);
  background: linear-gradient(135deg, rgba(255,118,117,0.2), rgba(5,12,22,0.95));
}

.arct-toast.arct-toast-warning {
  border-color: rgba(255,211,105,0.6);
  box-shadow: 0 0 30px rgba(255,211,105,0.4);
  background: linear-gradient(135deg, rgba(255,211,105,0.2), rgba(5,12,22,0.95));
}

/* Small utility classes */
.small-muted {
  font-size: 12px;
  color: var(--muted);
}

/* Responsive Design */

/* Desktop: Always show sidebars (override v-show) */
@media (min-width: 993px) {
  .arct-left,
  .arct-right,
  .arct-content {
    display: flex !important;
  }
}

@media (max-width: 1200px) {
  .arct-main-grid {
    grid-template-columns: 250px 1fr 250px;
  }
}

@media (max-width: 992px) {
  .arct-root {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 12px !important;
  }
  
  .arct-main-grid {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0;
  }
  
  .arct-left,
  .arct-right,
  .arct-content {
    width: 100%;
    max-width: 100%;
  }
  
  /* On mobile feed view, reorder: search first, then content, then right sidebar */
  .arct-main-grid.wider {
    display: flex;
    flex-direction: column;
  }
  
  .arct-main-grid.wider .arct-left {
    order: 1;
  }
  
  .arct-main-grid.wider .arct-content {
    order: 2;
  }
  
  .arct-main-grid.wider .arct-right {
    order: 3;
  }
  
  /* Show search panel first when visible */
  .arct-left:not([style*="display: none"]) {
    order: 1;
  }
  
  .arct-content:not([style*="display: none"]) {
    order: 2;
  }
  
  .arct-right:not([style*="display: none"]) {
    order: 3;
  }
  
  .arct-left.mobile-open,
  .arct-right.mobile-open {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 60px;
    background: rgba(2,6,13,0.98);
    z-index: 999;
    overflow-y: auto;
    padding: 20px;
    animation: slide-up 0.4s ease-out;
  }
  
  .mobile-tabs-nav {
    display: block;
  }
  
  body {
    padding-bottom: 80px;
  }
  
  .arct-content,
  .arct-main-grid,
  main,
  section {
    padding-bottom: 80px;
  }
  
  .arct-root {
    padding-bottom: 80px;
  }
  
  /* Mobile: Always 1 column for both grid and list */
  .arct-cards-grid.grid-layout,
  .arct-cards-grid.list-layout {
    grid-template-columns: 1fr;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .form-grid .trade-arrows-divider {
    transform: rotate(90deg);
    padding: 10px 0;
  }
  
  .profile-page-grid {
    grid-template-columns: 1fr;
  }
  
  .messages-grid {
    grid-template-columns: 1fr;
  }
  
  .threads-list {
    border-right: none;
    border-bottom: 1px solid rgba(41,208,255,0.2);
    padding-right: 0;
    padding-bottom: 12px;
    margin-bottom: 12px;
  }
  
  /* Make all panels full width and readable on mobile */
  .card-panel,
  .widget-panel {
    padding: 12px;
    font-size: 12px;
    width: 100%;
    box-sizing: border-box;
  }
  
  .panel-body {
    padding: 10px;
    font-size: 11px;
  }
  
  .arct-topbar {
    padding: 12px;
    flex-wrap: wrap;
    width: 100%;
    box-sizing: border-box;
  }
  
  .arct-topnav {
    flex-wrap: wrap;
    gap: 4px;
    width: 100%;
  }
  
  .arct-topnav .arct-btn {
    font-size: 9px;
    padding: 6px 8px;
    flex: 1 1 auto;
    min-width: 0;
  }
}

@media (max-width: 768px) {
  /* Show mobile search bar */
  .mobile-search-bar {
    display: block;
  }
  
  .arct-topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .arct-top-right-column {
    width: 100%;
    align-items: flex-start;
  }
  
  /* Mobile: Always show navigation, adapted for mobile */
  .arct-topnav {
    display: flex !important;
    flex-wrap: wrap;
    width: 100%;
    gap: 4px;
  }
  
  .arct-topnav .arct-btn {
    font-size: 9px;
    padding: 5px 10px;
    flex: 1 1 auto;
    min-width: fit-content;
  }
  
  /* Hide hamburger menus on mobile - we show the full nav instead */
  .mobile-menu-toggle,
  .mobile-hamburger {
    display: none !important;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .support-packages {
    grid-template-columns: 1fr;
  }
  
  .modal-card {
    max-width: 95%;
    padding: 16px;
  }
  
  /* Mobile progression panel */
  .ranks-grid-redesigned {
    grid-template-columns: 1fr;
  }
  
  .rank-item-redesigned {
    padding: 12px;
  }
  
  /* Trade detail page mobile improvements */
  .trade-page-header {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }
  
  .trade-page-header h2 {
    text-align: center;
    font-size: 18px;
  }
  
  .trade-page-header .arct-btn {
    width: 100%;
  }
  
  .trade-detail-header {
    flex-direction: column;
    gap: 12px;
  }
  
  .trade-detail-meta {
    align-items: flex-start;
    text-align: left;
    width: 100%;
  }
  
  .trade-detail-actions {
    flex-direction: column;
    gap: 8px;
  }
  
  .trade-detail-actions .arc-action-btn {
    width: 100%;
  }
  
  .trader-detail-card {
    margin-bottom: 16px;
  }
  
  .trade-rep-comments-card,
  .trade-message-card,
  .trade-report-card {
    margin-top: 16px;
  }
  
  .detail-items-grid {
    gap: 12px;
  }
  
  .detail-item-card {
    padding: 12px;
  }
  
  .detail-item-image {
    width: 100px;
    height: 100px;
  }
  
  /* Post Trade Page Mobile - Ensure buttons are visible above nav */
  .post-trade-section-futuristic {
    padding-bottom: 100px;
  }
  
  .form-actions-futuristic {
    margin-bottom: 20px;
    padding-bottom: 20px;
  }
  
  .post-trade-container-futuristic {
    padding-bottom: 20px;
  }
}

@media (max-width: 480px) {
  .arct-root {
    padding: 0 8px 32px;
  }
  
  .card-panel {
    padding: 10px 12px;
  }
  
  .arct-header-logo-big {
    height: 60px;
  }
  
  .arct-clock-badge {
    min-width: 180px;
    height: 28px;
  }
  
  .clock-digits-small {
    font-size: 10px;
  }
  
  .trade-line {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .trade-divider {
    transform: rotate(90deg);
  }
  
  .profile-main-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .profile-kpis {
    flex-direction: column;
  }
  
  .leaderboard-list li {
    flex-direction: column;
    text-align: center;
  }
  
  .metrics {
    width: 100%;
    justify-content: space-around;
  }
  
  /* Very small screens: Further reduce trade card elements */
  .trade-card-arc {
    padding: 8px;
  }
  
  .trade-type-arc {
    max-width: 60px;
    font-size: 8px;
    padding: 2px 4px;
  }
  
  .trade-card-header-arc {
    gap: 4px;
    margin-bottom: 4px;
  }
  
  .trader-name-arc {
    font-size: 10px;
  }
  
  .trader-handle-arc {
    font-size: 8px;
  }
  
  .avatar-arc {
    width: 24px;
    height: 24px;
  }
  
  .avatar-inner {
    font-size: 10px;
  }
  
  .trade-exchange-arc {
    gap: 6px;
  }
  
  .exchange-panel {
    padding: 3px;
  }
  
  .panel-label-arc {
    font-size: 7px;
  }
  
  .label-icon {
    font-size: 9px;
  }
  
  .panel-count-arc {
    font-size: 4.2px; /* 30% smaller than base 8px (8 * 0.7 = 5.6), then further reduced for very small screens */
  }
  
  .item-chip-arc {
    padding: 2px 3px;
  }
  
  .chip-thumb-arc {
    width: 14px;
    height: 14px;
  }
  
  .chip-name-arc {
    font-size: 7px;
  }
  
  .chip-qty-arc {
    font-size: 6px;
  }
  
  .trade-view-more-btn {
    padding: 6px 10px;
  }
  
  .trade-view-more-btn .btn-text {
    font-size: 8px;
  }
  
  .status-badge {
    font-size: 7px;
    padding: 1px 3px;
  }
  
  .status-icon {
    font-size: 10px;
  }
}


/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(5,12,22,0.5);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: rgba(41,208,255,0.4);
  border-radius: 4px;
  transition: background 0.3s;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(41,208,255,0.6);
}

/* Mobile Sidebar Overlay */
.mobile-sidebar-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.7);
  z-index: 998;
  animation: fade-in 0.3s ease-out;
}

@media (max-width: 992px) {
  .mobile-sidebar-overlay {
    display: block;
  }
}

/* Scheduler Inline */
.scheduler-inline {
  margin-top: 12px;
  padding: 12px;
  background: rgba(41,208,255,0.05);
  border: 1px solid rgba(41,208,255,0.3);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  animation: slide-up 0.3s ease-out;
}

.scheduler-inline input {
  padding: 8px 10px;
  border-radius: 6px;
  background: rgba(2,7,17,0.8);
  border: 1px solid rgba(128,154,182,0.4);
  color: #fff;
  font-size: 13px;
}

.scheduler-inline input:focus {
  border-color: rgba(41,208,255,0.8);
  box-shadow: 0 0 10px rgba(41,208,255,0.3);
}

/* Item Rarity Classes */
.item-rarity-common {
  border-color: rgba(155,168,192,0.6) !important;
  box-shadow: 0 0 8px rgba(155,168,192,0.2) !important;
}

.item-rarity-uncommon {
  border-color: rgba(124,255,178,0.6) !important;
  box-shadow: 0 0 8px rgba(124,255,178,0.3) !important;
}

.item-rarity-rare {
  border-color: rgba(41,208,255,0.6) !important;
  box-shadow: 0 0 8px rgba(41,208,255,0.3) !important;
}

.item-rarity-epic {
  border-color: rgba(167,139,250,0.6) !important;
  box-shadow: 0 0 8px rgba(167,139,250,0.3) !important;
}

.item-rarity-legendary {
  border-color: rgba(255,211,105,0.6) !important;
  box-shadow: 0 0 12px rgba(255,211,105,0.4) !important;
  animation: neon-glow 2s ease-in-out infinite;
}

.item-rarity-exotic {
  border-color: rgba(255,118,117,0.6) !important;
  box-shadow: 0 0 12px rgba(255,118,117,0.4) !important;
  animation: pulse-glow 2s ease-in-out infinite;
}

/* Utility animations */
@keyframes rotate-360 {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.spin {
  animation: rotate-360 1s linear infinite;
}

/* Hidden mobile elements on desktop */
.mobile-hamburger,
.mobile-menu-toggle {
  display: none;
}

@media (max-width: 768px) {
  .mobile-hamburger,
  .mobile-menu-toggle {
    display: block;
  }
}

/* Payment Method Specific Styles */
.payment-method-selector {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.payment-method-btn {
  flex: 1;
  padding: 12px;
  border-radius: 12px;
  border: 2px solid rgba(41,208,255,0.3);
  background: rgba(5,12,22,0.7);
  color: #fff;
  cursor: pointer;
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.payment-method-btn:hover {
  border-color: rgba(41,208,255,0.6);
  background: rgba(41,208,255,0.1);
}

.payment-method-btn.active {
  border-color: #29d0ff;
  background: rgba(41,208,255,0.2);
  box-shadow: 0 0 20px rgba(41,208,255,0.3);
}

.payment-logo {
  height: 30px;
  width: auto;
}

/* My Trades Tab Styles */
.my-trades-grid {
  display: grid;
  gap: 20px;
}

.my-trade-card {
  background: rgba(5,12,22,0.85);
  border: 1px solid rgba(41,208,255,0.2);
  border-radius: 12px;
  padding: 20px;
  transition: all var(--transition-smooth);
}

.my-trade-card:hover {
  border-color: rgba(41,208,255,0.4);
  box-shadow: 0 4px 20px rgba(41,208,255,0.2);
}

.trade-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(78,166,201,0.2);
}

.trade-type-tag {
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  background: rgba(41,208,255,0.2);
  color: #29d0ff;
}

.trade-type-tag.type-selling {
  background: rgba(255,107,107,0.2);
  color: #ff6b6b;
}

.trade-type-tag.type-buying {
  background: rgba(81,207,102,0.2);
  color: #51cf66;
}

.trade-date {
  font-size: 12px;
  color: #888;
}

.trade-card-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 16px;
}

.trade-section h4.section-label {
  font-size: 13px;
  color: #4ea6c9;
  margin-bottom: 8px;
  font-weight: 600;
}

.items-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.item-badge {
  background: rgba(41,208,255,0.1);
  border: 1px solid rgba(41,208,255,0.3);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 13px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 4px;
}

.item-badge .qty {
  color: #29d0ff;
  font-weight: 600;
}

.trade-notes {
  background: rgba(0,0,0,0.3);
  padding: 12px;
  border-radius: 8px;
  border-left: 3px solid #4ea6c9;
}

.trade-notes p {
  font-size: 13px;
  color: #ccc;
  margin: 0;
}

.trade-status-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.status-badge {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.status-badge.highlighted {
  background: rgba(255,215,0,0.2);
  color: #ffd700;
  border: 1px solid rgba(255,215,0,0.3);
}

.status-badge.featured {
  background: rgba(255,107,107,0.2);
  color: #ff6b6b;
  border: 1px solid rgba(255,107,107,0.3);
}

.status-badge.confirmed {
  background: rgba(81,207,102,0.2);
  color: #51cf66;
  border: 1px solid rgba(81,207,102,0.3);
}

.trade-card-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: 12px;
  border-top: 1px solid rgba(78,166,201,0.2);
}

.trade-card-tip {
  margin-top: 12px;
  padding: 8px 12px;
  background: rgba(41,208,255,0.05);
  border-left: 3px solid #29d0ff;
  border-radius: 4px;
  font-size: 12px;
  color: #29d0ff;
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
}

.empty-state p {
  font-size: 16px;
  color: #888;
  margin-bottom: 20px;
}

/* Admin Controls Styles */
.admin-controls-section {
  margin-top: 20px;
  padding: 16px;
  background: rgba(255,107,107,0.05);
  border: 1px solid rgba(255,107,107,0.2);
  border-radius: 12px;
}

.admin-controls-section h4 {
  margin-top: 0 !important;
}

.admin-controls-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.ip-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 150px;
  overflow-y: auto;
  padding: 8px;
  background: rgba(0,0,0,0.3);
  border-radius: 8px;
}

.ip-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 8px;
  background: rgba(255,255,255,0.03);
  border-radius: 6px;
  font-size: 12px;
}

.ip-item code {
  font-family: var(--font-main);
  color: #29d0ff;
  background: rgba(41,208,255,0.1);
  padding: 2px 6px;
  border-radius: 4px;
}

/* Button variants for admin actions */
.arct-btn-success {
  background: linear-gradient(135deg, rgba(81,207,102,0.8) 0%, rgba(81,207,102,0.6) 100%);
  border-color: rgba(81,207,102,0.5);
  color: #fff;
}

.arct-btn-success:hover {
  background: linear-gradient(135deg, rgba(81,207,102,0.9) 0%, rgba(81,207,102,0.7) 100%);
  border-color: rgba(81,207,102,0.7);
}

.arct-btn-success:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Responsive adjustments for My Trades */
@media (max-width: 768px) {
  .trade-card-actions {
    flex-direction: column;
  }
  
  .trade-card-actions .arct-btn {
    width: 100%;
  }
  
  .admin-controls-grid {
    grid-template-columns: 1fr;
  }
}

/* My Trades Action Buttons */
.trade-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.trade-actions .arct-btn {
  font-size: 11px;
  padding: 6px 12px;
}

.trade-items-display {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 8px 0;
}

.trade-items-section h4 {
  font-size: 11px;
  margin-bottom: 4px;
  color: var(--accent);
}

.trade-items-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.trade-item-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(41,208,255,0.15);
  border: 1px solid rgba(41,208,255,0.3);
  font-size: 12px;
  color: #ffffff;
}

.trade-item-badge .qty {
  font-weight: 700;
  color: var(--accent);
}

/* My Trades Section Fixes */
.my-trade-card {
  background: radial-gradient(circle at top, rgba(19,37,62,0.9), #02060d);
  border-radius: 14px;
  border: 1px solid rgba(41,208,255,0.2);
  padding: 16px;
  margin-bottom: 16px;
}

.trade-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.trade-type-tag {
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(41,208,255,0.2);
  border: 1px solid rgba(41,208,255,0.4);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.trade-card-body {
  margin-bottom: 12px;
}

.trade-section {
  margin-bottom: 12px;
}

.section-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--accent);
  margin-bottom: 6px;
  font-weight: 700;
}

.items-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.item-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(41,208,255,0.15);
  border: 1px solid rgba(41,208,255,0.3);
  font-size: 12px;
}

.item-badge .qty {
  font-weight: 700;
  color: var(--accent2);
}

.trade-notes {
  margin-top: 12px;
  padding: 10px;
  background: rgba(0,0,0,0.3);
  border-radius: 8px;
  font-size: 13px;
  color: var(--muted);
}

.trade-status-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.status-badge {
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.status-badge.highlighted {
  background: rgba(255,215,0,0.2);
  border: 1px solid rgba(255,215,0,0.5);
  color: #ffd700;
}

.status-badge.featured {
  background: rgba(255,105,180,0.2);
  border: 1px solid rgba(255,105,180,0.5);
  color: #ff69b4;
}

.status-badge.confirmed {
  background: rgba(124,255,178,0.2);
  border: 1px solid rgba(124,255,178,0.5);
  color: var(--accent2);
}

.trade-card-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.arct-btn-sm {
  font-size: 11px;
  padding: 6px 12px;
}

.arct-btn-success {
  background: linear-gradient(90deg, #7cffb2, #4ade80);
  border: none;
  color: #000;
}

.arct-btn-success:hover {
  background: linear-gradient(90deg, #4ade80, #7cffb2);
}

.trade-card-tip {
  margin-top: 10px;
  padding: 8px 10px;
  background: rgba(41,208,255,0.1);
  border-left: 3px solid var(--accent);
  border-radius: 4px;
  font-size: 12px;
  color: var(--accent);
}

.my-trades-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
  background: radial-gradient(circle at top, rgba(19,37,62,0.5), rgba(2,6,13,0.8));
  border-radius: 14px;
  border: 1px solid rgba(41,208,255,0.2);
}

.empty-state p {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 20px;
}



/* Completion */

/* Featured Tag */
.featured-tag {
  display: inline-block;
  background: linear-gradient(90deg, rgba(255, 99, 99, 0.8), rgba(255, 150, 150, 0.8));
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: bold;
  margin-right: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Role Tags in Messages */
.role-tag {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 10px;
  font-weight: bold;
  margin-left: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.role-tag.role-admin {
  background: linear-gradient(90deg, #ff6b6b, #ff9f1c);
  color: #fff;
}

.role-tag.role-mod {
  background: linear-gradient(90deg, #4ea6c9, #29d0ff);
  color: #fff;
}

/* Message Badges */
.message-badges {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 6px;
}

.message-badges .badge-icon {
  width: 16px;
  height: 16px;
  display: inline-block;
  vertical-align: middle;
}

/* Supporter Badge Styling */
.supporter-badge {
  display: inline-block;
  background: linear-gradient(90deg, #ffd700, #ffed4e);
  color: #000;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: bold;
  margin-left: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.completed-trades-accordion {
  margin-top: 16px;
  border-top: 1px solid var(--border-soft);
  padding-top: 10px;
}

.completed-trades-accordion .accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  padding: 6px 0;
}

.completed-trades-accordion .accordion-header:hover {
  color: var(--accent2);
}

.completed-trades-accordion .accordion-body.completed {
  margin-top: 8px;
}

.my-trade-card.completed {
  opacity: 0.9;
  border-color: rgba(124,255,178,0.4);
}

/* ===== DISCORD BADGE ===== */

.discord-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin-left: 4px;
  vertical-align: middle;
  background: #5865F2;
  border-radius: 4px;
  padding: 2px;
  transition: all var(--transition-smooth);
  cursor: help;
}

.discord-badge:hover {
  transform: scale(1.2);
  box-shadow: 0 0 10px rgba(88, 101, 242, 0.6);
}

.discord-badge svg {
  width: 12px;
  height: 12px;
  fill: #ffffff;
}

.discord-badge-inline {
  display: inline-block;
  vertical-align: middle;
}

/* ===== NOTIFICATION SYSTEM ===== */

.notification-bell {
  position: relative;
  cursor: pointer;
  padding: 6px 12px;
  background: rgba(7,18,32,0.88);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px;
  transition: all var(--transition-smooth);
}

.notification-bell:hover {
  background: rgba(25, 64, 104, 0.95);
  border-color: rgba(41,208,255,0.5);
}

.notification-bell .bell-icon {
  font-size: 16px;
}

.notification-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: linear-gradient(135deg, #ff6b6b, #ee5a5a);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px rgba(255, 107, 107, 0.5);
  animation: pulse-scale 2s ease-in-out infinite;
}

.notification-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 360px;
  max-height: 450px;
  background: radial-gradient(circle at top, rgba(19,37,62,0.98), rgba(2,6,13,0.99));
  border: 1px solid rgba(41,208,255,0.4);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 40px rgba(0,0,0,0.5), 0 0 20px rgba(41,208,255,0.2);
  z-index: 1001;
  overflow: hidden;
  animation: slide-up 0.3s ease-out;
}

.notification-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(41,208,255,0.2);
  background: rgba(41,208,255,0.05);
}

.notification-header h4 {
  margin: 0;
  font-size: 12px;
  color: #29d0ff;
}

.notification-header button {
  font-size: 11px;
  color: var(--muted);
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.notification-header button:hover {
  color: #29d0ff;
}

.notification-list {
  max-height: 350px;
  overflow-y: auto;
}

.notification-item {
  display: flex;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(41,208,255,0.1);
  transition: all var(--transition-smooth);
  position: relative;
}

.notification-item:hover {
  background: rgba(41,208,255,0.05);
}

.notification-item.unread {
  background: rgba(41,208,255,0.08);
  border-left: 3px solid #29d0ff;
}

.notification-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.notification-content {
  flex: 1;
  min-width: 0;
  cursor: pointer;
}

.notification-delete-btn {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.3);
  border-radius: 6px;
  color: #ef4444;
  font-size: 14px;
  cursor: pointer;
  transition: all var(--transition-fast);
  opacity: 0;
}

.notification-item:hover .notification-delete-btn {
  opacity: 1;
}

.notification-delete-btn:hover {
  background: rgba(239,68,68,0.2);
  border-color: rgba(239,68,68,0.5);
  transform: scale(1.1);
}

.notification-title {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.notification-message {
  font-size: 12px;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.notification-time {
  font-size: 10px;
  color: rgba(155,168,192,0.7);
  margin-top: 4px;
}

.notification-empty {
  padding: 40px 20px;
  text-align: center;
  color: var(--muted);
}

.notification-empty .empty-icon {
  font-size: 48px;
  margin-bottom: 12px;
  opacity: 0.5;
}

/* ===== REFERRAL SYSTEM ===== */

.referral-panel {
  animation: slide-up 0.6s ease-out;
}

.referral-header {
  text-align: center;
  margin-bottom: 20px;
}

.referral-header h3 {
  color: #ffd369;
  margin-bottom: 8px;
}

.referral-code-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: rgba(41,208,255,0.1);
  border: 2px dashed rgba(41,208,255,0.5);
  border-radius: 12px;
  margin: 20px 0;
}

.referral-code {
  flex: 1;
  font-family: var(--font-main);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #29d0ff;
  text-shadow: 0 0 10px rgba(41,208,255,0.5);
  text-align: center;
}

.referral-code-box button {
  flex-shrink: 0;
}

.referral-link-box {
  background: rgba(5,12,22,0.8);
  border: 1px solid rgba(41,208,255,0.3);
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 20px;
}

.referral-link-box label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 6px;
}

.referral-link-box input {
  width: 100%;
  background: rgba(2,7,17,0.8);
  border: 1px solid rgba(128,154,182,0.4);
  border-radius: 6px;
  padding: 10px;
  color: #29d0ff;
  font-family: var(--font-main);
  font-size: 12px;
}

.referral-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.referral-stat {
  background: rgba(41,208,255,0.05);
  border: 1px solid rgba(41,208,255,0.2);
  border-radius: 10px;
  padding: 16px;
  text-align: center;
  transition: all var(--transition-smooth);
}

.referral-stat:hover {
  background: rgba(41,208,255,0.1);
  transform: translateY(-2px);
}

.referral-stat .value {
  font-size: 28px;
  font-weight: 700;
  color: #29d0ff;
  text-shadow: 0 0 10px rgba(41,208,255,0.5);
}

.referral-stat .label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-top: 4px;
}

.referral-progress-section {
  margin-bottom: 24px;
}

.referral-progress-section h4 {
  margin-bottom: 12px;
  color: #7cffb2;
}

.referral-progress-bar {
  width: 100%;
  height: 16px;
  background: rgba(5,12,22,0.8);
  border: 1px solid rgba(41,208,255,0.3);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 8px;
  position: relative;
}

.referral-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #29d0ff, #7cffb2);
  border-radius: 999px;
  transition: width 1s ease-out;
  box-shadow: 0 0 15px rgba(41,208,255,0.6);
  position: relative;
  animation: progress-glow 2s ease-in-out infinite;
}

@keyframes progress-glow {
  0%, 100% {
    box-shadow: 0 0 15px rgba(41,208,255,0.6);
  }
  50% {
    box-shadow: 0 0 25px rgba(41,208,255,0.9), 0 0 35px rgba(124,255,178,0.5);
  }
}

.referral-progress-text {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
}

.referral-tiers {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.referral-tier {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: rgba(5,12,22,0.6);
  border: 1px solid rgba(41,208,255,0.2);
  border-radius: 12px;
  transition: all var(--transition-smooth);
}

.referral-tier:hover {
  background: rgba(41,208,255,0.05);
  border-color: rgba(41,208,255,0.4);
}

.referral-tier.unlocked {
  border-color: rgba(124,255,178,0.5);
  background: rgba(124,255,178,0.05);
}

.referral-tier.current {
  border-color: rgba(255,211,105,0.6);
  background: rgba(255,211,105,0.08);
  box-shadow: 0 0 20px rgba(255,211,105,0.2);
}

.referral-tier.locked {
  opacity: 0.6;
}

.tier-icon {
  font-size: 32px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(41,208,255,0.1);
  border-radius: 50%;
  flex-shrink: 0;
}

.tier-info {
  flex: 1;
}

.tier-name {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.tier-requirement {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
}

.tier-rewards {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tier-reward {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  background: rgba(41,208,255,0.15);
  border: 1px solid rgba(41,208,255,0.3);
  border-radius: 999px;
  font-size: 10px;
  color: #29d0ff;
}

.tier-status {
  flex-shrink: 0;
}

.tier-status .claimed {
  color: #7cffb2;
  font-weight: 600;
  font-size: 12px;
}

.tier-status .locked-icon {
  font-size: 20px;
  opacity: 0.5;
}

/* ===== EMAIL PREFERENCES ===== */

.email-prefs-panel {
  animation: slide-up 0.6s ease-out;
}

.email-pref-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: rgba(5,12,22,0.5);
  border: 1px solid rgba(41,208,255,0.15);
  border-radius: 10px;
  margin-bottom: 10px;
  transition: all var(--transition-smooth);
}

.email-pref-item:hover {
  background: rgba(41,208,255,0.05);
  border-color: rgba(41,208,255,0.3);
}

.email-pref-info {
  flex: 1;
}

.email-pref-title {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 2px;
}

.email-pref-desc {
  font-size: 12px;
  color: var(--muted);
}

/* Toggle Switch */
.toggle-switch {
  position: relative;
  width: 48px;
  height: 26px;
  flex-shrink: 0;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(155,168,192,0.3);
  border-radius: 26px;
  transition: all var(--transition-smooth);
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: all var(--transition-smooth);
}

.toggle-switch input:checked + .toggle-slider {
  background: linear-gradient(90deg, #29d0ff, #7cffb2);
  box-shadow: 0 0 10px rgba(41,208,255,0.4);
}

.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(22px);
}

/* ===== NOTIFICATION TOAST ANIMATION ===== */

@keyframes notification-slide-in {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.notification-toast {
  position: fixed;
  top: 20px;
  right: 20px;
  max-width: 350px;
  padding: 16px 20px;
  background: radial-gradient(circle at top, rgba(19,37,62,0.98), rgba(2,6,13,0.99));
  border: 1px solid rgba(41,208,255,0.5);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 40px rgba(0,0,0,0.5), 0 0 20px rgba(41,208,255,0.3);
  z-index: 10002;
  animation: notification-slide-in 0.4s ease-out;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.notification-toast .toast-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.notification-toast .toast-content {
  flex: 1;
}

.notification-toast .toast-title {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}

.notification-toast .toast-message {
  font-size: 12px;
  color: var(--muted);
}

.notification-toast .toast-close {
  position: absolute;
  top: 8px;
  right: 8px;
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 16px;
  transition: color var(--transition-fast);
}

.notification-toast .toast-close:hover {
  color: #ff7675;
}

/* ============================================
   PROFILE & MOD CONSOLE TABS
   ============================================ */

.profile-tabs,
.mod-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  padding: 8px;
  background: rgba(5,9,18,0.6);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  flex-wrap: wrap;
}

.profile-tab,
.mod-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 20px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
}

.profile-tab:hover,
.mod-tab:hover {
  background: rgba(41,208,255,0.08);
  color: var(--text);
}

.profile-tab.active,
.mod-tab.active {
  background: linear-gradient(135deg, rgba(41,208,255,0.15), rgba(124,255,178,0.08));
  border-color: rgba(41,208,255,0.4);
  color: var(--accent);
  box-shadow: 0 0 15px rgba(41,208,255,0.2);
}

.profile-tab .tab-icon,
.mod-tab .tab-icon {
  font-size: 16px;
}

.mod-tab .tab-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  background: #ff7675;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 10px;
  min-width: 18px;
  text-align: center;
}

.profile-tab-content,
.mod-tab-content {
  animation: tab-fade-in 0.25s ease-out;
}

@keyframes tab-fade-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   PROFILE OVERVIEW GRID
   ============================================ */

.profile-overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 20px;
}

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

/* Profile Edit Grid */
.profile-edit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

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

.edit-section h4 {
  margin: 0 0 16px 0;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
}

/* Settings Grid */
.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

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

/* Referral Layout */
.referral-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.referral-top-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

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

.referral-code-section h4,
.referral-stats-section h4 {
  margin: 0 0 12px 0;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

/* ============================================
   ACCORDION STYLES
   ============================================ */

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  background: rgba(41,208,255,0.05);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition-fast);
  margin-bottom: 12px;
}

.accordion-header:hover {
  background: rgba(41,208,255,0.1);
  border-color: rgba(41,208,255,0.3);
}

.accordion-body {
  animation: accordion-open 0.25s ease-out;
}

@keyframes accordion-open {
  from {
    opacity: 0;
    max-height: 0;
  }
  to {
    opacity: 1;
    max-height: 2000px;
  }
}

/* ============================================
   MOD CONSOLE SPECIFIC STYLES
   ============================================ */

/* Quick Actions Grid */
.quick-actions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.quick-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px;
  background: rgba(41,208,255,0.05);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  color: var(--text);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.quick-action-btn:hover {
  background: rgba(41,208,255,0.12);
  border-color: rgba(41,208,255,0.4);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(41,208,255,0.15);
}

.quick-action-btn .qa-icon {
  font-size: 28px;
}

.quick-action-btn .qa-label {
  font-size: 13px;
  font-weight: 500;
}

/* User Cards Grid */
.users-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}

.user-card {
  background: rgba(8,18,31,0.8);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 16px;
  transition: all var(--transition-fast);
}

.user-card:hover {
  border-color: rgba(41,208,255,0.3);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.user-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-soft);
}

.user-card .user-avatar {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: var(--bg);
  flex-shrink: 0;
}

.user-card .user-info {
  flex: 1;
  min-width: 0;
}

.user-card .user-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 6px;
}

.user-card .user-meta {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.user-card-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.user-card .detail-row {
  display: flex;
  gap: 8px;
  font-size: 12px;
}

.user-card .detail-label {
  color: var(--muted);
  width: 80px;
  flex-shrink: 0;
}

.user-card .detail-value {
  color: var(--text);
  word-break: break-all;
}

.user-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--border-soft);
}

/* User Search Section */
.user-search-section {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.user-search-section .search-input {
  flex: 1;
}

/* Reports Grid */
.reports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}

.report-card {
  background: rgba(8,18,31,0.8);
  border: 1px solid rgba(255,118,117,0.3);
  border-radius: var(--radius);
  padding: 16px;
  transition: all var(--transition-fast);
}

.report-card:hover {
  border-color: rgba(255,118,117,0.5);
  box-shadow: 0 4px 20px rgba(255,118,117,0.15);
}

.report-card.dismissed {
  border-color: var(--border-soft);
  opacity: 0.7;
}

.report-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.report-card .report-type {
  background: rgba(255,118,117,0.2);
  color: #ff7675;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.report-card .report-id {
  color: var(--muted);
  font-size: 12px;
}

.report-card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.report-card .report-detail {
  display: flex;
  gap: 8px;
  font-size: 12px;
}

.report-card .report-detail .label {
  color: var(--muted);
  width: 60px;
  flex-shrink: 0;
}

.report-card .report-detail .value {
  color: var(--text);
}

.report-card-actions {
  display: flex;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--border-soft);
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 40px 20px;
  color: var(--muted);
}

.empty-state .empty-icon {
  font-size: 48px;
  margin-bottom: 12px;
  opacity: 0.5;
}

.empty-state .empty-text {
  font-size: 14px;
}

/* Announcement & News Items */
.announcement-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px;
  background: rgba(41,208,255,0.05);
  border-radius: var(--radius);
  margin-bottom: 8px;
}

.announcement-item .badge {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  flex-shrink: 0;
}

.announcement-item .announcement-text {
  flex: 1;
  font-size: 13px;
}

.news-item {
  padding: 16px;
  background: rgba(41,208,255,0.05);
  border: 1px solid rgba(41,208,255,0.2);
  border-radius: var(--radius);
  margin-top: 12px;
}

.news-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.news-item-body {
  margin-top: 12px;
  font-size: 13px;
  color: var(--text);
  line-height: 1.5;
}

.news-form-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

@media (max-width: 600px) {
  .news-form-grid {
    grid-template-columns: 1fr;
  }
}

.streamer-add-form {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border-soft);
}

/* Danger Zone */
.danger-zone {
  margin-top: 24px;
  padding: 20px;
  background: rgba(255,118,117,0.08);
  border: 1px solid rgba(255,118,117,0.3);
  border-radius: var(--radius);
}

.danger-zone h4 {
  margin: 0 0 8px 0;
  color: #ff7675;
}

/* Bug Report Cards */
.bug-report-card {
  padding: 16px;
  background: rgba(8,18,31,0.8);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  margin-bottom: 12px;
}

.bug-report-card .bug-report-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.bug-report-card .bug-report-details {
  font-size: 13px;
  color: var(--text);
  line-height: 1.5;
  margin: 12px 0;
  padding: 12px;
  background: rgba(0,0,0,0.2);
  border-radius: 8px;
}

/* Discord Member Indicator */
.discord-member-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  margin-left: 4px;
  vertical-align: middle;
}

.discord-member-icon svg {
  width: 14px;
  height: 14px;
}

/* Bell & Clock wrap adjustments */
.top-clock-wrap {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-direction: row;
}

.top-clock-wrap .notification-bell {
  order: -1;
}

.notification-bell {
  position: relative;
  cursor: pointer;
}

/* ============================================
   AUTH MODAL STYLES
   ============================================ */

.auth-modal .auth-card {
  max-width: 420px;
  width: 100%;
}

.auth-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
  background: rgba(0,0,0,0.3);
  padding: 4px;
  border-radius: var(--radius);
}

.auth-tab {
  flex: 1;
  padding: 12px 16px;
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  border-radius: 8px;
  transition: all var(--transition-fast);
}

.auth-tab:hover {
  color: var(--text);
  background: rgba(41,208,255,0.1);
}

.auth-tab.active {
  background: linear-gradient(135deg, rgba(41,208,255,0.2), rgba(124,255,178,0.1));
  color: var(--accent);
}

.discord-auth-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  background: #5865F2;
  border: none;
  border-radius: var(--radius);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.discord-auth-btn:hover {
  background: #4752c4;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(88,101,242,0.4);
}

.discord-auth-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}


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

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

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

.auth-form .form-field {
  margin-bottom: 0;
}

.auth-form .form-field label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.auth-form .form-field label .optional {
  font-weight: 400;
  text-transform: none;
  opacity: 0.6;
}

.auth-form .form-field input {
  width: 100%;
  padding: 12px 14px;
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  color: var(--text);
  font-size: 14px;
  transition: all var(--transition-fast);
}

.auth-form .form-field input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(41,208,255,0.1);
}

.auth-submit-btn {
  width: 100%;
  padding: 14px 20px;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 600;
}

.auth-error {
  padding: 12px 16px;
  background: rgba(255,118,117,0.15);
  border: 1px solid rgba(255,118,117,0.3);
  border-radius: 8px;
  color: #ff7675;
  font-size: 13px;
  margin-top: 12px;
}

.auth-footer {
  margin-top: 20px;
  text-align: center;
  font-size: 12px;
}

/* Email preferences grid */
.email-prefs-grid {
  display: grid;
  gap: 12px;
}

/* Bug report compact layout */
.bug-report-compact {
  display: grid;
  gap: 12px;
}

.bug-report-compact .form-field {
  margin-bottom: 0;
}

/* ============================================
   ENHANCED MESSAGING STYLES
   ============================================ */

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

.messages-header h2 {
  margin: 0;
}

/* Inbox Tabs */
.inbox-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  padding: 8px;
  background: rgba(5,9,18,0.6);
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
}

.inbox-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 24px;
  background: transparent;
  border: none;
  border-radius: 8px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.inbox-tab:hover {
  background: rgba(41,208,255,0.08);
  color: var(--text);
}

.inbox-tab.active {
  background: rgba(41,208,255,0.15);
  color: var(--accent);
}

.inbox-tab .tab-count {
  background: rgba(41,208,255,0.2);
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 600;
}

/* Thread List Enhancements */
.thread {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  transition: all var(--transition-fast);
}

.thread .thread-main {
  flex: 1;
  min-width: 0;
}

.thread.favorite {
  background: rgba(255,215,0,0.05);
  border-left: 2px solid gold;
}

.thread-actions {
  display: flex;
  gap: 4px;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.thread:hover .thread-actions {
  opacity: 1;
}

.thread-action-btn {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(41,208,255,0.1);
  border: none;
  border-radius: 6px;
  color: var(--muted);
  font-size: 14px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.thread-action-btn:hover {
  background: rgba(41,208,255,0.2);
  color: var(--accent);
}

.thread .favorite-star {
  margin-right: 4px;
}

.empty-inbox {
  padding: 30px 20px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

/* Thread View Header */
.thread-view-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-soft);
}

.thread-view-header h3 {
  margin: 0;
}

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

/* ============================================
   PUBLIC CHAT ENHANCEMENTS
   ============================================ */

.chat-container {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 16px;
}

@media (max-width: 768px) {
  .chat-container {
    grid-template-columns: 1fr;
  }
  .chat-online-users {
    display: none;
  }
}

/* Online Users Sidebar */
.chat-online-users {
  background: rgba(5,9,18,0.8);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  overflow: hidden;
}

.online-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(41,208,255,0.05);
  border-bottom: 1px solid var(--border-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--accent);
}

.online-dot {
  width: 8px;
  height: 8px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.online-list {
  max-height: 400px;
  overflow-y: auto;
}

.online-user {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.online-user:hover {
  background: rgba(41,208,255,0.08);
}

.online-user.is-admin {
  background: rgba(255,215,0,0.05);
}

.online-user.is-mod {
  background: rgba(139,92,246,0.05);
}

.online-status {
  width: 6px;
  height: 6px;
  background: #4ade80;
  border-radius: 50%;
  flex-shrink: 0;
}

.online-name {
  flex: 1;
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.discord-mini {
  flex-shrink: 0;
}

/* Chat Compose Wrapper */
.chat-compose-wrapper {
  position: relative;
}

/* Mention Suggestions */
.mention-suggestions {
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  background: rgba(5,9,18,0.98);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  margin-bottom: 8px;
  max-height: 200px;
  overflow-y: auto;
  z-index: 100;
  box-shadow: 0 -4px 20px rgba(41,208,255,0.2);
}

.mention-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.mention-item:hover,
.mention-item.active {
  background: rgba(41,208,255,0.15);
}

.mention-name {
  font-weight: 500;
  color: var(--text);
}

.mention-username {
  color: var(--muted);
  font-size: 12px;
}

/* Chat Mention Highlight */
.chat-mention {
  color: var(--accent);
  background: rgba(41,208,255,0.1);
  padding: 1px 4px;
  border-radius: 3px;
  font-weight: 500;
}

/* ============================================
   MOD CONSOLE ENHANCEMENTS
   ============================================ */

/* Enhanced Analytics Grid */
.analytics-grid.enhanced {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 900px) {
  .analytics-grid.enhanced {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .analytics-grid.enhanced {
    grid-template-columns: 1fr;
  }
}

.analytics-stat.with-icon {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  background: rgba(5,9,18,0.6);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
}

/* Mod Console Analytics Stat Icons - boxed style */
.analytics-stat.with-icon .stat-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  border-radius: 12px;
  background: rgba(41,208,255,0.1);
  flex-shrink: 0;
}

.analytics-stat.with-icon .stat-icon.trades-icon { background: rgba(41,208,255,0.15); }
.analytics-stat.with-icon .stat-icon.completed-icon { background: rgba(74,222,128,0.15); }
.analytics-stat.with-icon .stat-icon.users-icon { background: rgba(139,92,246,0.15); }
.analytics-stat.with-icon .stat-icon.purchases-icon { background: rgba(251,146,60,0.15); }
.analytics-stat.with-icon .stat-icon.money-icon { background: rgba(52,211,153,0.15); }
.analytics-stat.with-icon .stat-icon.messages-icon { background: rgba(244,114,182,0.15); }

.stat-content {
  flex: 1;
  min-width: 0;
}

.stat-content .stat-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  margin-bottom: 4px;
}

.stat-content .stat-value {
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.stat-bar {
  height: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
}

.stat-bar-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.6s ease;
}

.stat-bar-fill.success { background: #4ade80; }
.stat-bar-fill.accent { background: var(--accent); }
.stat-bar-fill.money { background: #34d399; }
.stat-bar-fill.purple { background: #a855f7; }

/* User Chat Logs */
.chat-logs-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.chat-logs-list {
  max-height: 400px;
  overflow-y: auto;
}

.chat-log-entry {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 12px;
  padding: 10px;
  background: rgba(5,9,18,0.4);
  border-radius: 6px;
  margin-bottom: 8px;
  align-items: center;
}

.log-type {
  font-size: 10px;
  text-transform: uppercase;
  font-weight: 600;
  padding: 3px 8px;
  background: rgba(41,208,255,0.2);
  border-radius: 4px;
  color: var(--accent);
}

.log-content {
  font-size: 13px;
  color: var(--text);
}

.log-time {
  font-size: 11px;
  color: var(--muted);
}

/* Bug Reports in Mod Console */
.bug-reports-grid {
  display: grid;
  gap: 12px;
}

.bug-report-card {
  background: rgba(5,9,18,0.6);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  overflow: hidden;
}

.bug-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: rgba(251,146,60,0.1);
  border-bottom: 1px solid var(--border-soft);
}

.bug-type {
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
}

.bug-priority {
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
}

.bug-priority.priority-low { background: rgba(100,100,100,0.3); color: #888; }
.bug-priority.priority-medium { background: rgba(251,191,36,0.2); color: #fbbf24; }
.bug-priority.priority-high { background: rgba(239,68,68,0.2); color: #ef4444; }
.bug-priority.priority-critical { background: rgba(220,38,38,0.3); color: #dc2626; }

.bug-body {
  padding: 16px;
}

.bug-detail {
  display: flex;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 12px;
}

.bug-detail .label {
  color: var(--muted);
  min-width: 80px;
}

.bug-detail .value {
  color: var(--text);
}

.bug-description {
  margin: 12px 0;
  padding: 12px;
  background: rgba(0,0,0,0.3);
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text);
}

.bug-actions {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(5,9,18,0.4);
  border-top: 1px solid var(--border-soft);
}

/* Grant Modal */
.grant-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  backdrop-filter: blur(4px);
}

.grant-modal {
  background: var(--bg-card);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  width: 100%;
  max-width: 480px;
  box-shadow: 0 8px 32px rgba(41,208,255,0.2);
}

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

.grant-modal-header h3 {
  margin: 0;
  font-size: 18px;
}

.grant-modal-header .close-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 24px;
  cursor: pointer;
  border-radius: 6px;
}

.grant-modal-header .close-btn:hover {
  background: rgba(255,255,255,0.1);
  color: var(--text);
}

.grant-modal-body {
  padding: 20px;
}

.grant-form-field {
  margin-bottom: 16px;
}

.grant-form-field label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  margin-bottom: 8px;
}

.grant-form-field select,
.grant-form-field input {
  width: 100%;
  padding: 12px;
  background: rgba(5,9,18,0.8);
  border: 1px solid var(--border-soft);
  border-radius: 6px;
  color: var(--text);
  font-size: 14px;
}

.grant-form-field select:focus,
.grant-form-field input:focus {
  border-color: var(--accent);
  outline: none;
}

.grant-preview {
  background: rgba(41,208,255,0.05);
  border: 1px solid rgba(41,208,255,0.2);
  border-radius: 6px;
  padding: 14px;
  display: flex;
  gap: 8px;
  align-items: center;
}

.preview-label {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--muted);
}

.preview-text {
  font-size: 14px;
  color: var(--text);
}

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

.grant-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 16px 20px;
  border-top: 1px solid var(--border-soft);
  background: rgba(5,9,18,0.4);
}

/* ============================================
   ENHANCED PROFILE MODAL
   ============================================ */

.profile-modal-enhanced {
  max-width: 600px;
  max-height: 85vh;
  overflow-y: auto;
}

.profile-modal-header {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 20px;
  background: linear-gradient(135deg, rgba(41,208,255,0.08), rgba(139,92,246,0.05));
  border-bottom: 1px solid var(--border-soft);
}

.profile-modal-avatar-section {
  position: relative;
}

.discord-badge-modal {
  position: absolute;
  bottom: 0;
  right: -5px;
  background: var(--bg-card);
  border-radius: 50%;
  padding: 3px;
}

.profile-modal-user-info {
  flex: 1;
}

.profile-modal-user-info .name {
  font-size: 20px;
  font-weight: 700;
}

.profile-modal-user-info .username {
  color: var(--muted);
  margin-bottom: 8px;
}

/* Profile Modal Tabs */
.profile-modal-tabs {
  display: flex;
  border-bottom: 1px solid var(--border-soft);
}

.pmt-tab {
  flex: 1;
  padding: 12px 16px;
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
  border-bottom: 2px solid transparent;
}

.pmt-tab:hover {
  background: rgba(41,208,255,0.05);
  color: var(--text);
}

.pmt-tab.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.pmt-tab.admin-tab {
  background: rgba(239,68,68,0.05);
}

.pmt-tab.admin-tab:hover {
  background: rgba(239,68,68,0.1);
}

.pmt-tab.admin-tab.active {
  color: #ef4444;
  border-bottom-color: #ef4444;
}

/* Profile Modal Sections */
.pmo-section {
  margin-bottom: 20px;
}

.pmo-section h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.platform-item {
  display: flex;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(5,9,18,0.4);
  border-radius: 6px;
  margin-bottom: 6px;
}

.platform-label {
  color: var(--muted);
  min-width: 90px;
}

.platform-value {
  color: var(--text);
  font-weight: 500;
}

.rep-comments-list {
  max-height: 200px;
  overflow-y: auto;
}

.rep-comment-item {
  padding: 12px;
  background: rgba(5,9,18,0.4);
  border-radius: 6px;
  margin-bottom: 8px;
}

.rep-comment-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: 12px;
}

.rep-comment-header .author {
  color: var(--accent);
}

.rep-comment-header .time {
  color: var(--muted);
}

.rep-comment-body {
  font-size: 13px;
  line-height: 1.4;
}

.rep-comment-body.positive {
  border-left: 3px solid #4ade80;
  padding-left: 10px;
}

.rep-comment-body.negative {
  border-left: 3px solid #ef4444;
  padding-left: 10px;
}

.modal-quick-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.rep-textarea, .report-textarea {
  width: 100%;
  min-height: 60px;
  padding: 12px;
  background: rgba(5,9,18,0.6);
  border: 1px solid var(--border-soft);
  border-radius: 6px;
  color: var(--text);
  font-size: 13px;
  resize: vertical;
  margin-bottom: 10px;
}

.rep-actions {
  display: flex;
  gap: 10px;
}

/* Admin Command Center */
.admin-body {
  background: rgba(239,68,68,0.03);
}

.admin-command-center {
  padding: 20px;
}

.acc-header {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(239,68,68,0.2);
}

.acc-header h3 {
  margin: 0 0 6px 0;
  color: #ef4444;
}

.acc-target {
  font-size: 12px;
  color: var(--muted);
}

.acc-section {
  margin-bottom: 24px;
}

.acc-section h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  margin-bottom: 12px;
}

.grant-inline {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.grant-select {
  flex: 1;
  min-width: 150px;
  padding: 10px 12px;
  background: rgba(5,9,18,0.8);
  border: 1px solid var(--border-soft);
  border-radius: 6px;
  color: var(--text);
  font-size: 13px;
}

.grant-amount {
  width: 100px;
  padding: 10px 12px;
  background: rgba(5,9,18,0.8);
  border: 1px solid var(--border-soft);
  border-radius: 6px;
  color: var(--text);
  font-size: 13px;
}

.mod-actions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.user-data-actions {
  margin-bottom: 16px;
}

.ip-section h5 {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 8px;
}

.ip-list-compact {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ip-list-compact .ip-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 10px;
  background: rgba(5,9,18,0.4);
  border-radius: 4px;
  font-size: 12px;
}

.ip-list-compact .ip-item code {
  color: var(--accent);
}

.ip-list-compact .ip-time {
  color: var(--muted);
}

/* Chat Logs Modal */
.chat-logs-modal {
  max-width: 700px;
  max-height: 80vh;
}

.chat-logs-modal h3 {
  margin: 0 0 16px 0;
  padding: 16px;
  background: rgba(41,208,255,0.05);
  border-bottom: 1px solid var(--border-soft);
}

.chat-logs-content {
  max-height: 60vh;
  overflow-y: auto;
}

.chat-logs-threads {
  padding: 16px;
}

.clm-section {
  margin-bottom: 24px;
}

.clm-section h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  margin-bottom: 12px;
}

.clm-messages {
  max-height: 200px;
  overflow-y: auto;
}

.clm-msg {
  display: flex;
  gap: 12px;
  padding: 10px;
  background: rgba(5,9,18,0.4);
  border-radius: 6px;
  margin-bottom: 6px;
}

.clm-time {
  font-size: 11px;
  color: var(--muted);
  min-width: 120px;
}

.clm-text {
  font-size: 13px;
  color: var(--text);
  flex: 1;
}

/* ============================================
   COOLER PUBLIC CHAT
   ============================================ */

.chat-container {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 12px;
  min-height: 500px;
}

.chat-online-users {
  background: linear-gradient(180deg, rgba(5,9,18,0.9), rgba(15,20,35,0.8));
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  overflow: hidden;
}

.online-header {
  background: linear-gradient(90deg, rgba(74,222,128,0.15), rgba(41,208,255,0.1));
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-soft);
}

.online-list {
  max-height: 450px;
}

.online-user {
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.03);
}

.chat-panel {
  background: linear-gradient(180deg, rgba(5,9,18,0.95), rgba(10,15,25,0.9)) !important;
  border: 1px solid rgba(41,208,255,0.1) !important;
  position: relative;
}

.chat-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.5;
}

.chat-log {
  padding: 16px;
  max-height: 400px;
  background: rgba(0,0,0,0.2);
  border-radius: 8px;
  margin: 12px;
}

.chat-bubble {
  background: rgba(41,208,255,0.05);
  border-left: 2px solid var(--accent);
  margin-bottom: 8px;
  padding: 10px 14px;
  border-radius: 0 8px 8px 0;
  transition: all var(--transition-fast);
}

.chat-bubble:hover {
  background: rgba(41,208,255,0.08);
}

.chat-bubble.admin-message {
  background: rgba(255,215,0,0.08);
  border-left-color: gold;
}

.chat-bubble.mod-message {
  background: rgba(139,92,246,0.08);
  border-left-color: #8b5cf6;
}

.chat-compose {
  display: flex;
  gap: 10px;
  padding: 12px;
  background: rgba(5,9,18,0.6);
  border-radius: 8px;
  margin: 0 12px 12px;
}

.chat-compose input {
  flex: 1;
  padding: 12px 16px;
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(41,208,255,0.2);
  border-radius: 20px;
  color: #ffffff !important;
  font-size: 14px;
}

.chat-compose input:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(41,208,255,0.1);
}

/* ============================================
   LIVE STATS ICONS FIX
   ============================================ */

.stat-icon-inline {
  font-size: 16px;
  display: inline;
}

.live-stats-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
}

.live-stats-item .stat-emoji {
  font-size: 14px;
}

.live-stats-item .stat-value {
  font-weight: 600;
  color: var(--accent);
}

.live-stats-item .stat-label {
  color: var(--muted);
  font-size: 12px;
}

/* ============================================
   BUTTON STYLES FOR AUTH
   ============================================ */

.arct-btn-success {
  background: linear-gradient(135deg, #059669, #10b981);
  color: white;
  border: none;
}

.arct-btn-success:hover {
  background: linear-gradient(135deg, #047857, #059669);
}

/* ============================================
   LEADERBOARD TABS
   ============================================ */

.leaderboard-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
  background: rgba(5,9,18,0.6);
  padding: 4px;
  border-radius: 8px;
}

.lb-tab {
  flex: 1;
  padding: 16px 24px;
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 6px;
  transition: all var(--transition-fast);
}

.lb-tab:hover {
  background: rgba(41,208,255,0.1);
  color: var(--text);
}

.lb-tab.active {
  background: linear-gradient(135deg, var(--accent), #5bbce8);
  color: #000;
}

.referral-list .metric.referral-count {
  background: rgba(74,222,128,0.15);
  border: 1px solid rgba(74,222,128,0.3);
  padding: 10px 20px;
  border-radius: 8px;
  text-align: center;
}

.referral-list .metric.referral-count .value {
  font-size: 24px;
  font-weight: 800;
  color: #4ade80;
  display: block;
}

.referral-list .metric.referral-count .label {
  font-size: 10px;
  color: var(--muted);
}

/* ============================================
   PENDING REFERRALS SECTION
   ============================================ */

.pending-referrals-section {
  margin-top: 24px;
}

.pending-referral-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  background: rgba(5,9,18,0.4);
  border-radius: 8px;
  margin-bottom: 8px;
  border-left: 3px solid var(--accent);
}

.pending-referral-info {
  flex: 1;
}

.pending-referral-name {
  font-weight: 600;
  color: var(--text);
}

.pending-referral-date {
  font-size: 12px;
  color: var(--muted);
}

.pending-referral-status {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.pending-referral-status.pending {
  background: rgba(251,191,36,0.15);
  color: #fbbf24;
}

.pending-referral-status.completed {
  background: rgba(74,222,128,0.15);
  color: #4ade80;
}

/* ============================================
   DISCORD WIDGET
   ============================================ */

.arct-discord-widget {
  background: linear-gradient(135deg, rgba(88,101,242,0.15), rgba(88,101,242,0.05));
  border: 1px solid rgba(88,101,242,0.3);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 16px;
}

.discord-widget-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: rgba(88,101,242,0.1);
  border-bottom: 1px solid rgba(88,101,242,0.2);
}

.discord-title {
  font-weight: 600;
  color: #fff;
  font-size: 14px;
}

.discord-widget-body {
  padding: 16px;
}

.discord-stats {
  display: flex;
  gap: 20px;
  margin-bottom: 14px;
}

.discord-stat {
  display: flex;
  align-items: center;
  gap: 6px;
}

.discord-stat-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.discord-stat-dot.online {
  background: #3ba55d;
  box-shadow: 0 0 6px rgba(59,165,93,0.5);
}

.discord-stat-dot.members {
  background: #5865F2;
}

.discord-stat-value {
  font-weight: 700;
  color: #fff;
  font-size: 15px;
}

.discord-stat-label {
  font-size: 12px;
  color: var(--muted);
}

.discord-join-btn {
  display: block;
  width: 100%;
  padding: 10px 16px;
  background: #5865F2;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.discord-join-btn:hover {
  background: #4752c4;
  transform: translateY(-1px);
}

/* Discord Connected Status */
.discord-connected-status {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(88, 101, 242, 0.1);
  border: 1px solid rgba(88, 101, 242, 0.3);
  border-radius: var(--radius);
  color: var(--text);
}

.discord-connected-status .status-icon {
  color: #4ade80;
  font-weight: bold;
}

.discord-connected-status .discord-username {
  color: #5865F2;
  font-weight: 600;
}

.discord-link-connection {
  margin-top: 8px;
}

.discord-link-field {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-soft);
}

.discord-link-widget-section {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(88, 101, 242, 0.2);
}

.discord-connected-widget {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(88, 101, 242, 0.1);
  border: 1px solid rgba(88, 101, 242, 0.3);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 13px;
  margin-bottom: 12px;
}

.discord-connected-widget .status-icon {
  color: #4ade80;
  font-weight: bold;
}

.discord-link-widget-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  background: #5865F2;
  color: white;
  border: none;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  margin-bottom: 8px;
}

.discord-link-widget-btn:hover {
  background: #4752C4;
  transform: translateY(-1px);
}

.discord-link-hint {
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  margin: 0;
  line-height: 1.4;
}

/* ============================================
   FACEBOOK WIDGET
   ============================================ */

.arct-facebook-widget {
  background: linear-gradient(135deg, rgba(24,119,242,0.12), rgba(24,119,242,0.03));
  border: 1px solid rgba(24,119,242,0.25);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 16px;
}

.facebook-widget-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: rgba(24,119,242,0.08);
  border-bottom: 1px solid rgba(24,119,242,0.15);
}

.facebook-title {
  font-weight: 600;
  color: #fff;
  font-size: 14px;
}

.facebook-widget-body {
  padding: 16px;
}

.facebook-group-name {
  font-weight: 600;
  color: #fff;
  font-size: 14px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.facebook-stats {
  display: flex;
  gap: 20px;
  margin-bottom: 14px;
}

.facebook-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.facebook-stat-value {
  font-weight: 700;
  color: #fff;
  font-size: 18px;
}

.facebook-stat-label {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.facebook-join-btn {
  display: block;
  width: 100%;
  padding: 10px 16px;
  background: #1877f2;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.facebook-join-btn:hover {
  background: #166fe5;
  transform: translateY(-1px);
}

/* ============================================
   DAILY ANALYTICS CHART
   ============================================ */

.daily-chart-container {
  padding: 16px 0;
}

.daily-chart {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  height: 120px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-soft);
}

.chart-day {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.chart-bars {
  display: flex;
  gap: 3px;
  align-items: flex-end;
  height: 80px;
}

.chart-bar {
  width: 8px;
  border-radius: 3px 3px 0 0;
  transition: all var(--transition-fast);
  min-height: 4px;
  cursor: pointer;
}

.chart-bar:hover {
  opacity: 0.8;
  transform: scaleY(1.05);
}

.chart-bar.trades-bar {
  background: linear-gradient(180deg, var(--accent), #1a8fbf);
}

.chart-bar.users-bar {
  background: linear-gradient(180deg, #4ade80, #22c55e);
}

.chart-bar.messages-bar {
  background: linear-gradient(180deg, #a78bfa, #8b5cf6);
}

.chart-label {
  font-size: 10px;
  color: var(--muted);
  text-transform: uppercase;
}

.chart-legend {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 14px;
  padding-top: 10px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--muted);
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 2px;
}

.legend-dot.trades {
  background: var(--accent);
}

.legend-dot.users {
  background: #4ade80;
}

.legend-dot.messages {
  background: #a78bfa;
}

/* ============================================
   ITEM RARITY COLORS
   Based on ARC Raiders item data:
   common = gray, uncommon = green, rare = blue,
   epic = purple, legendary = golden
   ============================================ */

/* Item Pills in Trade Cards */
.item-pill.item-rarity-common {
  border-color: #9ca3af;
  color: #9ca3af;
}

.item-pill.item-rarity-uncommon {
  border-color: #22c55e;
  color: #22c55e;
  background: rgba(34, 197, 94, 0.1);
}

.item-pill.item-rarity-rare {
  border-color: #3b82f6;
  color: #3b82f6;
  background: rgba(59, 130, 246, 0.1);
}

.item-pill.item-rarity-epic {
  border-color: #a855f7;
  color: #a855f7;
  background: rgba(168, 85, 247, 0.1);
}

.item-pill.item-rarity-legendary {
  border-color: #f59e0b;
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.15);
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.3);
}

/* Item Modal Cards with Rarity */
.item-modal-card.rarity-common {
  border-color: #6b7280;
}

.item-modal-card.rarity-uncommon {
  border-color: #22c55e;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.2);
}

.item-modal-card.rarity-uncommon:hover {
  box-shadow: 0 0 16px rgba(34, 197, 94, 0.35);
}

.item-modal-card.rarity-rare {
  border-color: #3b82f6;
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.2);
}

.item-modal-card.rarity-rare:hover {
  box-shadow: 0 0 16px rgba(59, 130, 246, 0.35);
}

.item-modal-card.rarity-epic {
  border-color: #a855f7;
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.25);
}

.item-modal-card.rarity-epic:hover {
  box-shadow: 0 0 16px rgba(168, 85, 247, 0.4);
}

.item-modal-card.rarity-legendary {
  border-color: #f59e0b;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.3);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.05), transparent);
}

.item-modal-card.rarity-legendary:hover {
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.5);
}

/* ===== POST TRADE PAGE - FUTURISTIC REDESIGN ===== */
.post-trade-section-futuristic {
  width: 100%;
  animation: fade-in 0.5s ease-out;
}

.post-trade-hero-futuristic {
  position: relative;
  text-align: center;
  padding: 60px 20px;
  margin-bottom: 30px;
  background: linear-gradient(135deg, rgba(41,208,255,0.1) 0%, rgba(2,6,13,0.95) 100%);
  border: 1px solid rgba(41,208,255,0.3);
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('https://images.unsplash.com/photo-1550745165-9bc0b252726f?w=1920&q=80');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.15;
  filter: brightness(0.3) saturate(1.5) hue-rotate(180deg);
  z-index: 0;
}

.hero-bg-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(41,208,255,0.2) 0%, rgba(2,6,13,0.8) 100%);
}

.hero-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(41,208,255,0.2) 0%, transparent 70%);
  animation: rotate-glow 20s linear infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes rotate-glow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.hero-title {
  font-size: 32px;
  font-weight: 900;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin: 0 0 8px 0;
  text-shadow: 0 0 20px rgba(41,208,255,0.8), 0 0 40px rgba(41,208,255,0.4);
  position: relative;
  z-index: 2;
}

.hero-subtitle {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  position: relative;
  z-index: 2;
}

.post-trade-container-futuristic {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.post-trade-main-futuristic {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.trade-form-card-futuristic {
  background: linear-gradient(135deg, rgba(5,12,22,0.95) 0%, rgba(2,6,13,0.98) 100%);
  border: 1px solid rgba(41,208,255,0.3);
  border-radius: var(--radius);
  padding: 20px;
  transition: all var(--transition-smooth);
}

.trade-form-card-futuristic:hover {
  border-color: rgba(41,208,255,0.5);
  box-shadow: 0 0 20px rgba(41,208,255,0.2);
}

.form-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(41,208,255,0.2);
}

.form-icon {
  font-size: 20px;
}

.form-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.form-items-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-item-row-futuristic {
  display: flex;
  gap: 8px;
  align-items: center;
}

.form-input-futuristic {
  flex: 1;
  padding: 10px 14px;
  background: rgba(2,6,13,0.8);
  border: 1px solid rgba(41,208,255,0.3);
  border-radius: 8px;
  color: #fff;
  font-family: var(--font-main);
  font-size: 12px;
  transition: all var(--transition-smooth);
}

.form-input-futuristic:focus {
  outline: none;
  border-color: rgba(41,208,255,0.6);
  box-shadow: 0 0 10px rgba(41,208,255,0.3);
  background: rgba(2,6,13,0.95);
}

.form-search-btn, .form-remove-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(41,208,255,0.1);
  border: 1px solid rgba(41,208,255,0.3);
  border-radius: 8px;
  color: var(--accent);
  cursor: pointer;
  transition: all var(--transition-smooth);
  font-size: 16px;
}

.form-search-btn:hover {
  background: rgba(41,208,255,0.2);
  border-color: rgba(41,208,255,0.5);
  transform: scale(1.05);
}

.form-remove-btn:hover {
  background: rgba(255,118,117,0.2);
  border-color: rgba(255,118,117,0.5);
  color: var(--danger);
}

.form-input-qty-futuristic {
  width: 60px;
  padding: 10px;
  background: rgba(2,6,13,0.8);
  border: 1px solid rgba(41,208,255,0.3);
  border-radius: 8px;
  color: #fff;
  text-align: center;
  font-family: var(--font-main);
  font-size: 12px;
  transition: all var(--transition-smooth);
}

.form-input-qty-futuristic:focus {
  outline: none;
  border-color: rgba(41,208,255,0.6);
  box-shadow: 0 0 10px rgba(41,208,255,0.3);
}

.form-add-btn {
  padding: 10px 16px;
  background: rgba(41,208,255,0.1);
  border: 1px solid rgba(41,208,255,0.3);
  border-radius: 8px;
  color: var(--accent);
  font-family: var(--font-main);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all var(--transition-smooth);
  margin-top: 4px;
}

.form-add-btn:hover {
  background: rgba(41,208,255,0.2);
  border-color: rgba(41,208,255,0.5);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(41,208,255,0.2);
}

.trade-divider-futuristic {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px 0;
}

.divider-line-futuristic {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(41,208,255,0.5), transparent);
}

.divider-icon-futuristic {
  font-size: 28px;
  color: var(--accent);
  text-shadow: 0 0 15px rgba(41,208,255,0.8);
  animation: pulse-scale 3s ease-in-out infinite;
}

.post-trade-details-futuristic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  width: 100%;
}

@media (max-width: 1024px) {
  .post-trade-details-futuristic {
    grid-template-columns: 1fr;
  }
}

.token-panel-futuristic {
  background: linear-gradient(135deg, rgba(5,12,22,0.95) 0%, rgba(2,6,13,0.98) 100%);
  border: 1px solid rgba(41,208,255,0.3);
  border-radius: var(--radius);
  padding: 20px;
}

.token-panel-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(41,208,255,0.2);
}

.token-icon {
  font-size: 20px;
}

.token-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.token-options-futuristic {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.token-option-futuristic {
  display: flex;
  align-items: center;
  padding: 12px;
  background: rgba(2,6,13,0.6);
  border: 1px solid rgba(41,208,255,0.2);
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition-smooth);
  position: relative;
}

.token-option-futuristic input[type="checkbox"] {
  display: none;
}

.token-option-futuristic:hover {
  border-color: rgba(41,208,255,0.4);
  background: rgba(2,6,13,0.8);
}

.token-option-futuristic.active {
  border-color: rgba(41,208,255,0.6);
  background: rgba(41,208,255,0.1);
  box-shadow: 0 0 15px rgba(41,208,255,0.3);
}

.token-option-futuristic.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.token-option-content {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.token-option-icon {
  font-size: 24px;
}

.token-option-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 2px;
}

.token-option-name {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.token-option-desc {
  font-size: 11px;
  color: var(--muted);
}

.token-option-count {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  padding: 4px 8px;
  background: rgba(41,208,255,0.1);
  border-radius: 4px;
}

.token-option-count.disabled {
  color: var(--muted);
  background: rgba(155,168,192,0.1);
}

.trade-meta-card-futuristic {
  background: linear-gradient(135deg, rgba(5,12,22,0.95) 0%, rgba(2,6,13,0.98) 100%);
  border: 1px solid rgba(41,208,255,0.3);
  border-radius: var(--radius);
  padding: 20px;
}

.form-meta-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(41,208,255,0.2);
}

.form-textarea-futuristic {
  width: 100%;
  min-height: 100px;
  padding: 12px;
  background: rgba(2,6,13,0.8);
  border: 1px solid rgba(41,208,255,0.3);
  border-radius: 8px;
  color: #fff;
  font-family: var(--font-main);
  font-size: 12px;
  resize: vertical;
  transition: all var(--transition-smooth);
  margin-top: 12px;
}

.form-textarea-futuristic:focus {
  outline: none;
  border-color: rgba(41,208,255,0.6);
  box-shadow: 0 0 10px rgba(41,208,255,0.3);
  background: rgba(2,6,13,0.95);
}

.form-actions-futuristic {
  display: flex;
  flex-direction: column;
  gap: 12px;
  grid-column: 1 / -1;
  width: 100%;
}

.post-trade-btn-futuristic {
  position: relative;
  width: 100%;
  padding: 16px 24px;
  background: linear-gradient(135deg, rgba(41,208,255,0.2), rgba(41,208,255,0.1));
  border: 2px solid rgba(41,208,255,0.5);
  border-radius: var(--radius);
  color: var(--accent);
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all var(--transition-smooth);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(41,208,255,0.3), transparent 70%);
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

.post-trade-btn-futuristic:hover .btn-glow {
  opacity: 1;
}

.post-trade-btn-futuristic:hover {
  border-color: rgba(41,208,255,0.8);
  box-shadow: 0 0 25px rgba(41,208,255,0.5);
  transform: translateY(-2px);
}

.post-trade-btn-futuristic:active {
  transform: translateY(0);
}

.btn-text {
  position: relative;
  z-index: 1;
}

.btn-icon {
  position: relative;
  z-index: 1;
  font-size: 18px;
}

.cancel-trade-btn-futuristic {
  width: 100%;
  padding: 12px 24px;
  background: transparent;
  border: 1px solid rgba(155,168,192,0.3);
  border-radius: var(--radius);
  color: var(--muted);
  font-family: var(--font-main);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all var(--transition-smooth);
}

.cancel-trade-btn-futuristic:hover {
  border-color: rgba(155,168,192,0.5);
  color: #fff;
  background: rgba(155,168,192,0.1);
}

/* Trade Explanation Card */
.trade-explanation-card-futuristic {
  background: linear-gradient(135deg, rgba(5,12,22,0.95) 0%, rgba(2,6,13,0.98) 100%);
  border: 1px solid rgba(41,208,255,0.3);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
  animation: slide-up 0.6s ease-out;
}

.explanation-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(41,208,255,0.2);
}

.explanation-icon {
  font-size: 20px;
}

.explanation-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.explanation-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.explanation-step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px;
  background: rgba(2,6,13,0.6);
  border: 1px solid rgba(41,208,255,0.2);
  border-radius: 8px;
  transition: all var(--transition-smooth);
}

.explanation-step:hover {
  border-color: rgba(41,208,255,0.4);
  background: rgba(2,6,13,0.8);
  transform: translateY(-2px);
}

.step-number {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(41,208,255,0.2), rgba(41,208,255,0.1));
  border: 1px solid rgba(41,208,255,0.4);
  border-radius: 50%;
  color: var(--accent);
  font-weight: 700;
  font-size: 14px;
}

.step-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.step-content strong {
  font-size: 12px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.step-content p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

.explanation-tip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: rgba(124,255,178,0.1);
  border: 1px solid rgba(124,255,178,0.3);
  border-radius: 8px;
  border-left: 3px solid var(--accent2);
}

.tip-icon {
  font-size: 20px;
}

.tip-text {
  font-size: 12px;
  color: rgba(202,255,230,0.9);
  line-height: 1.5;
}

.tip-text strong {
  color: var(--accent2);
}

@media (max-width: 768px) {
  .explanation-content {
    grid-template-columns: 1fr;
  }
  
  .post-trade-details-futuristic {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) {
  .post-trade-container-futuristic {
    grid-template-columns: 1fr;
  }
}

.item-modal-card.rarity-legendary .name {
  color: #f59e0b;
}

/* ============================================
   FUTURISTIC CHAT PAGE REDESIGN
   ============================================ */

.chat-section-futuristic {
  width: 100%;
}

.chat-hero-futuristic {
  position: relative;
  padding: 40px 24px;
  margin-bottom: 24px;
  background: linear-gradient(135deg, rgba(5,12,22,0.95) 0%, rgba(2,6,13,0.98) 100%);
  border: 1px solid rgba(41,208,255,0.3);
  border-radius: var(--radius);
  overflow: hidden;
}

.chat-hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(41,208,255,0.1), transparent 70%);
  pointer-events: none;
}

.chat-hero-title {
  position: relative;
  font-size: 32px;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 8px 0;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.chat-hero-subtitle {
  position: relative;
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

.chat-container-futuristic {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 20px;
}

@media (max-width: 768px) {
  .chat-container-futuristic {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  
  /* Show online users on mobile, but as a horizontal scrollable list above the chat */
  .chat-online-users-futuristic {
    display: block;
    width: 100%;
    max-height: 120px;
    order: -1; /* Show above chat panel */
  }
  
  .online-header-futuristic {
    padding: 10px 12px;
  }
  
  .online-header-content {
    gap: 6px;
  }
  
  .online-title {
    font-size: 10px;
  }
  
  .online-count {
    font-size: 9px;
    padding: 2px 6px;
  }
  
  .online-list-futuristic {
    max-height: 80px;
    overflow-x: auto;
    overflow-y: hidden;
    display: flex;
    flex-direction: row;
    gap: 8px;
    padding: 8px;
  }
  
  .online-user-futuristic {
    flex-shrink: 0;
    min-width: 80px;
    padding: 6px 8px;
    border-bottom: none;
    border-right: 1px solid rgba(255,255,255,0.03);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }
  
  .online-user-avatar {
    width: 32px;
    height: 32px;
  }
  
  .online-user-info {
    text-align: center;
  }
  
  .online-user-name {
    font-size: 9px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
  }
  
  .name-text {
    font-size: 9px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 70px;
  }
  
  .role-icon {
    font-size: 10px;
  }
  
  .discord-mini-futuristic {
    width: 12px;
    height: 12px;
  }
  
  .discord-mini-futuristic svg {
    width: 12px;
    height: 12px;
  }
  
  .online-empty-futuristic {
    padding: 8px;
    font-size: 9px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 100px;
  }
  
  .empty-icon {
    font-size: 16px;
  }
  
  .empty-text {
    font-size: 8px;
  }
}

/* Online Users Sidebar */
.chat-online-users-futuristic {
  background: linear-gradient(135deg, rgba(5,12,22,0.95) 0%, rgba(2,6,13,0.98) 100%);
  border: 1px solid rgba(41,208,255,0.3);
  border-radius: var(--radius);
  overflow: hidden;
  height: fit-content;
  max-height: 600px;
}

.online-header-futuristic {
  padding: 16px;
  background: rgba(41,208,255,0.1);
  border-bottom: 1px solid rgba(41,208,255,0.2);
}

.online-header-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

.online-dot-futuristic {
  width: 10px;
  height: 10px;
  background: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(74,222,128,0.8);
  animation: pulse 2s infinite;
}

.online-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  flex: 1;
}

.online-count {
  background: rgba(41,208,255,0.2);
  border: 1px solid rgba(41,208,255,0.4);
  border-radius: 12px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
}

.online-list-futuristic {
  max-height: 500px;
  overflow-y: auto;
  padding: 8px;
}

.online-user-futuristic {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition-smooth);
  margin-bottom: 4px;
}

.online-user-futuristic:hover {
  background: rgba(41,208,255,0.1);
  transform: translateX(4px);
}

.online-user-futuristic.is-admin {
  background: rgba(255,215,0,0.1);
  border-left: 3px solid #ffd700;
}

.online-user-futuristic.is-mod {
  background: rgba(139,92,246,0.1);
  border-left: 3px solid #8b5cf6;
}

.online-user-avatar {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(41, 208, 255, 0.2);
}

.online-user-avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.online-user-initial {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  position: relative;
  z-index: 1;
}

.online-status-indicator {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 10px;
  height: 10px;
  background: #4ade80;
  border: 2px solid rgba(2,6,13,1);
  border-radius: 50%;
}

.online-user-initial {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
}

.online-user-info {
  flex: 1;
  min-width: 0;
}

.online-user-name {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 2px;
}

.role-icon {
  font-size: 12px;
}

.name-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.online-user-meta {
  display: flex;
  align-items: center;
  gap: 4px;
}

.discord-mini-futuristic {
  display: inline-flex;
  align-items: center;
  margin-left: 6px;
  vertical-align: middle;
}

.online-empty-futuristic {
  padding: 40px 20px;
  text-align: center;
  color: var(--muted);
}

.empty-icon {
  display: block;
  font-size: 24px;
  margin-bottom: 8px;
  opacity: 0.5;
}

.empty-text {
  font-size: 12px;
}

/* Chat Panel */
.chat-panel-futuristic {
  background: linear-gradient(135deg, rgba(5,12,22,0.95) 0%, rgba(2,6,13,0.98) 100%);
  border: 1px solid rgba(41,208,255,0.3);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  height: 600px;
  overflow: hidden;
}

.chat-panel-header-futuristic {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: rgba(41,208,255,0.1);
  border-bottom: 1px solid rgba(41,208,255,0.2);
}

.chat-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-icon {
  font-size: 18px;
}

.chat-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.chat-mod-status-futuristic {
  display: flex;
  gap: 8px;
}

.status-badge-futuristic {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.status-badge-futuristic.locked {
  background: rgba(239,68,68,0.2);
  border: 1px solid rgba(239,68,68,0.4);
  color: #ef4444;
}

.status-badge-futuristic.slowmode {
  background: rgba(251,146,60,0.2);
  border: 1px solid rgba(251,146,60,0.4);
  color: #fb923c;
}

.chat-log-futuristic {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.chat-message-futuristic {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  animation: slide-in 0.3s ease-out;
  margin-bottom: 16px;
}

.chat-message-futuristic.admin-message {
  background: rgba(255,215,0,0.05);
  border-left: 3px solid #ffd700;
  padding-left: 12px;
  margin-left: -12px;
  border-radius: 4px;
}

.chat-message-futuristic.mod-message {
  background: rgba(139,92,246,0.05);
  border-left: 3px solid #8b5cf6;
  padding-left: 12px;
  margin-left: -12px;
  border-radius: 4px;
}

.chat-message-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(41,208,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.message-avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.message-avatar-initial {
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
  position: relative;
  z-index: 1;
}

.chat-message-content {
  flex: 1;
  min-width: 0;
  padding: 12px 16px;
  background: rgba(5, 9, 18, 0.4);
  border-radius: 12px;
  border: 1px solid rgba(41, 208, 255, 0.1);
}

.chat-message-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.chat-message-user-info {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  flex: 1;
}

.chat-message-badges {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.chat-message-user {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
  font-size: 13px;
  color: #fff;
  cursor: pointer;
}

.chat-message-user:hover {
  color: var(--accent);
}

.role-badge-chat {
  font-size: 12px;
}

.discord-badge-chat {
  display: inline-flex;
  align-items: center;
}

.user-role-tag-chat {
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  background: rgba(41,208,255,0.2);
  color: var(--accent);
}

.supporter-badge-chat {
  font-size: 12px;
}

.chat-message-time {
  font-size: 11px;
  color: var(--muted);
}

.chat-message-text {
  font-size: 14px;
  color: #e5e7eb;
  line-height: 1.6;
  word-wrap: break-word;
  padding: 4px 0;
}

.chat-message-edited {
  margin-top: 4px;
  font-size: 10px;
  color: var(--muted);
  font-style: italic;
}

.chat-locked-hint {
  color: #ef4444;
  font-weight: 600;
}

/* Chat System Messages (Join/Leave) */
.chat-system-message {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  margin: 8px 0;
  background: rgba(41, 208, 255, 0.05);
  border: 1px solid rgba(41, 208, 255, 0.15);
  border-radius: 8px;
  font-size: 12px;
  color: var(--muted);
  font-style: italic;
}

.chat-system-message .system-icon {
  font-size: 14px;
}

.chat-system-message .system-text {
  flex: 1;
  text-align: center;
}

/* Typing Indicator */
.chat-typing-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  margin-bottom: 8px;
  background: rgba(41, 208, 255, 0.05);
  border-radius: 8px;
  font-size: 12px;
  color: var(--muted);
  font-style: italic;
}

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

.typing-dots span {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: typingDot 1.4s ease-in-out infinite;
}

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

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

@keyframes typingDot {
  0%, 60%, 100% {
    opacity: 0.3;
    transform: scale(0.8);
  }
  30% {
    opacity: 1;
    transform: scale(1);
  }
}

.typing-text {
  color: var(--text);
}

.chat-admin-actions-futuristic {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}

.chat-action-btn {
  padding: 4px 8px;
  background: rgba(41,208,255,0.1);
  border: 1px solid rgba(41,208,255,0.3);
  border-radius: 4px;
  color: var(--accent);
  font-size: 11px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.chat-action-btn:hover {
  background: rgba(41,208,255,0.2);
  border-color: rgba(41,208,255,0.5);
}

.chat-empty-futuristic {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  color: var(--muted);
}

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

.empty-text-large {
  font-size: 14px;
  margin: 0;
}

.chat-mod-controls-futuristic {
  display: flex;
  gap: 10px;
  padding: 12px 20px;
  background: rgba(41,208,255,0.05);
  border-top: 1px solid rgba(41,208,255,0.2);
}

.chat-mod-btn {
  padding: 8px 16px;
  background: rgba(41,208,255,0.1);
  border: 1px solid rgba(41,208,255,0.3);
  border-radius: 6px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-smooth);
}

.chat-mod-btn:hover {
  background: rgba(41,208,255,0.2);
  border-color: rgba(41,208,255,0.5);
}

.chat-mod-btn.active {
  background: rgba(41,208,255,0.3);
  border-color: rgba(41,208,255,0.6);
}

.chat-mod-btn.active.danger {
  background: rgba(239,68,68,0.2);
  border-color: rgba(239,68,68,0.4);
  color: #ef4444;
}

.chat-compose-wrapper-futuristic {
  position: relative;
  padding: 16px 20px;
  background: rgba(41,208,255,0.05);
  border-top: 1px solid rgba(41,208,255,0.2);
}

.mention-suggestions-futuristic {
  position: absolute;
  bottom: 100%;
  left: 20px;
  right: 20px;
  background: rgba(2,6,13,0.98);
  border: 1px solid rgba(41,208,255,0.4);
  border-radius: 8px;
  margin-bottom: 8px;
  max-height: 200px;
  overflow-y: auto;
  z-index: 100;
  box-shadow: 0 -4px 20px rgba(41,208,255,0.3);
}

.mention-item-futuristic {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.mention-item-futuristic:hover,
.mention-item-futuristic.active {
  background: rgba(41,208,255,0.15);
}

.mention-avatar-futuristic {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(41,208,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
}

.mention-info-futuristic {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.mention-name-futuristic {
  font-weight: 600;
  color: #fff;
  font-size: 13px;
}

.mention-username-futuristic {
  color: var(--muted);
  font-size: 11px;
}

.chat-compose-futuristic {
  display: flex;
  gap: 10px;
}

.chat-input-futuristic {
  flex: 1;
  padding: 12px 16px;
  background: rgba(2,6,13,0.6);
  border: 1px solid rgba(41,208,255,0.3);
  border-radius: 8px;
  color: #ffffff !important;
  font-size: 14px;
  font-family: var(--font-main);
  transition: all var(--transition-smooth);
}

.chat-input-futuristic:focus {
  outline: none;
  border-color: rgba(41,208,255,0.6);
  box-shadow: 0 0 0 3px rgba(41,208,255,0.1);
}

.chat-input-futuristic:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.chat-send-btn-futuristic:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.chat-send-btn-futuristic {
  padding: 12px 24px;
  background: linear-gradient(135deg, rgba(41,208,255,0.2), rgba(41,208,255,0.1));
  border: 1px solid rgba(41,208,255,0.5);
  border-radius: 8px;
  color: var(--accent);
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all var(--transition-smooth);
  display: flex;
  align-items: center;
  gap: 8px;
}

.chat-send-btn-futuristic:hover {
  border-color: rgba(41,208,255,0.8);
  box-shadow: 0 0 20px rgba(41,208,255,0.3);
  transform: translateY(-2px);
}

.send-icon {
  font-size: 16px;
}

.chat-hint-futuristic {
  margin-top: 8px;
  font-size: 11px;
  color: var(--muted);
  text-align: center;
}

/* ============================================
   FUTURISTIC LIVE STATS WIDGET REDESIGN
   ============================================ */

.arct-live-stats-panel-futuristic {
  background: linear-gradient(135deg, rgba(5,12,22,0.95) 0%, rgba(2,6,13,0.98) 100%);
  border: 1px solid rgba(41,208,255,0.3);
  border-radius: var(--radius);
  overflow: hidden;
  animation: slide-up 0.6s ease-out;
}

.stats-panel-header-futuristic {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  background: rgba(41,208,255,0.1);
  border-bottom: 1px solid rgba(41,208,255,0.2);
}

.stats-header-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

.stats-icon-futuristic {
  font-size: 18px;
}

.stats-title-futuristic {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.live-indicator-futuristic {
  display: flex;
  align-items: center;
  gap: 6px;
}

.live-dot-futuristic {
  width: 8px;
  height: 8px;
  background: #ef4444;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(239,68,68,0.8);
  animation: livePulse 1.4s ease-in-out infinite;
}

.live-text {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: #ef4444;
  letter-spacing: 0.1em;
}

.stats-grid-futuristic {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 16px;
}

.stat-card-futuristic {
  position: relative;
  background: linear-gradient(135deg, rgba(2,6,13,0.8) 0%, rgba(5,12,22,0.6) 100%);
  border: 1px solid rgba(41,208,255,0.3);
  border-radius: 10px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all var(--transition-smooth);
  overflow: hidden;
}

.stat-card-futuristic:hover {
  transform: translateY(-2px);
  border-color: rgba(41,208,255,0.5);
  box-shadow: 0 4px 20px rgba(41,208,255,0.2);
}

.stat-card-futuristic.stat-cyan {
  border-color: rgba(41,208,255,0.3);
}

.stat-card-futuristic.stat-green {
  border-color: rgba(74,222,128,0.3);
}

.stat-card-futuristic.stat-blue {
  border-color: rgba(59,130,246,0.3);
}

.stat-card-futuristic.stat-yellow {
  border-color: rgba(251,191,36,0.3);
}

.stat-glow-futuristic {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(41,208,255,0.1), transparent 70%);
  opacity: 0;
  transition: opacity var(--transition-smooth);
  pointer-events: none;
}

.stat-card-futuristic:hover .stat-glow-futuristic {
  opacity: 1;
}

.stat-icon-wrapper-futuristic {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(41,208,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-icon-futuristic {
  font-size: 20px;
}

.stat-content-futuristic {
  flex: 1;
  min-width: 0;
}

.stat-value-futuristic {
  font-size: 24px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-value-futuristic.small {
  font-size: 14px;
}

.stat-label-futuristic {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.stats-extra-futuristic {
  padding: 0 16px 16px;
}

.stat-card-wide-futuristic {
  background: linear-gradient(135deg, rgba(2,6,13,0.8) 0%, rgba(5,12,22,0.6) 100%);
  border: 1px solid rgba(41,208,255,0.3);
  border-radius: 10px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all var(--transition-smooth);
}

.stat-card-wide-futuristic:hover {
  transform: translateY(-2px);
  border-color: rgba(41,208,255,0.5);
  box-shadow: 0 4px 20px rgba(41,208,255,0.2);
}

.last-trade-futuristic {
  margin-top: 10px;
  padding: 0 16px 16px;
  animation: slide-in 0.4s ease-out;
}

.last-trade-header-futuristic {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(41,208,255,0.1);
  border: 1px solid rgba(41,208,255,0.3);
  border-radius: 8px 8px 0 0;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.last-trade-icon {
  font-size: 14px;
}

.last-trade-content-futuristic {
  background: linear-gradient(135deg, rgba(2,6,13,0.8) 0%, rgba(5,12,22,0.6) 100%);
  border: 1px solid rgba(41,208,255,0.3);
  border-top: none;
  border-radius: 0 0 8px 8px;
  padding: 14px;
}

.last-trade-user-futuristic {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(41,208,255,0.2);
}

.last-trade-avatar-futuristic {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(41,208,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
}

.last-trade-user-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.last-trade-name {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 2px;
}

.last-trade-time {
  font-size: 11px;
  color: var(--muted);
}

.last-trade-items-futuristic {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.last-trade-item-row {
  display: flex;
  gap: 10px;
  font-size: 12px;
}

.item-label {
  font-weight: 600;
  color: var(--muted);
  min-width: 50px;
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.1em;
}

.item-value {
  flex: 1;
  color: #fff;
  word-break: break-word;
}

/* ============================================
   FUTURISTIC MY TRADES PAGE REDESIGN
   ============================================ */

.my-trades-section-futuristic {
  width: 100%;
}

.my-trades-hero-futuristic {
  padding: 32px 24px;
  margin-bottom: 24px;
  background: linear-gradient(135deg, rgba(5,12,22,0.95) 0%, rgba(2,6,13,0.98) 100%);
  border: 1px solid rgba(41,208,255,0.3);
  border-radius: var(--radius);
  text-align: center;
}

.my-trades-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 8px 0;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.my-trades-subtitle {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

.my-trades-loading-futuristic {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  color: var(--muted);
  gap: 16px;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(41,208,255,0.2);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.my-trades-container-futuristic {
  margin-bottom: 24px;
}

.my-trades-header-futuristic {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(41,208,255,0.2);
}

.section-title-futuristic {
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0;
}

.trade-count-badge {
  background: rgba(41,208,255,0.2);
  border: 1px solid rgba(41,208,255,0.4);
  border-radius: 12px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
}

.my-trades-grid-futuristic {
  display: grid;
  gap: 20px;
}

.my-trade-card-futuristic {
  background: linear-gradient(135deg, rgba(5,12,22,0.95) 0%, rgba(2,6,13,0.98) 100%);
  border: 1px solid rgba(41,208,255,0.3);
  border-radius: var(--radius);
  padding: 20px;
  transition: all var(--transition-smooth);
  animation: slide-up 0.4s ease-out;
}

.my-trade-card-futuristic:hover {
  border-color: rgba(41,208,255,0.5);
  box-shadow: 0 4px 30px rgba(41,208,255,0.2);
  transform: translateY(-2px);
}

.my-trade-card-futuristic.completed {
  opacity: 0.8;
  border-color: rgba(74,222,128,0.3);
}

.trade-card-header-futuristic {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(41,208,255,0.2);
}

.trade-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.trade-type-badge-futuristic {
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  background: rgba(41,208,255,0.2);
  border: 1px solid rgba(41,208,255,0.4);
  color: var(--accent);
}

.trade-id-futuristic {
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
}

.trade-date-futuristic {
  font-size: 12px;
  color: var(--muted);
}

.trade-card-body-futuristic {
  margin-bottom: 16px;
}

.trade-items-grid-futuristic {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.trade-items-panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.panel-header-futuristic {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(41,208,255,0.2);
}

.panel-icon {
  font-size: 14px;
}

.panel-title {
  flex: 1;
}

.panel-count {
  font-size: 10px;
  color: var(--muted);
}

.items-list-futuristic {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.item-chip-futuristic {
  padding: 8px 12px;
  background: rgba(41,208,255,0.1);
  border: 1px solid rgba(41,208,255,0.3);
  border-radius: 6px;
  font-size: 13px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all var(--transition-fast);
}

.item-chip-futuristic:hover {
  background: rgba(41,208,255,0.15);
  border-color: rgba(41,208,255,0.5);
}

.item-chip-futuristic.want-chip-futuristic {
  background: rgba(74,222,128,0.1);
  border-color: rgba(74,222,128,0.3);
}

.item-chip-futuristic.want-chip-futuristic:hover {
  background: rgba(74,222,128,0.15);
  border-color: rgba(74,222,128,0.5);
}

/* Ensure rarity classes override want-chip-futuristic styles */
.item-chip-futuristic.want-chip-futuristic.item-rarity-common {
  border-color: rgba(156,163,175,0.4) !important;
  background: rgba(30,30,30,0.3) !important;
}

.item-chip-futuristic.want-chip-futuristic.item-rarity-uncommon {
  border-color: rgba(74,222,128,0.4) !important;
  background: rgba(6,40,30,0.3) !important;
}

.item-chip-futuristic.want-chip-futuristic.item-rarity-rare {
  border-color: rgba(59,130,246,0.4) !important;
  background: rgba(9,25,42,0.3) !important;
}

.item-chip-futuristic.want-chip-futuristic.item-rarity-epic {
  border-color: rgba(168,85,247,0.4) !important;
  background: rgba(25,15,40,0.3) !important;
}

.item-chip-futuristic.want-chip-futuristic.item-rarity-legendary {
  border-color: rgba(251,191,36,0.5) !important;
  background: rgba(40,30,5,0.3) !important;
  box-shadow: 0 0 8px rgba(251,191,36,0.2) !important;
}

/* Item Chip Futuristic Rarity Styling */
.item-chip-futuristic.item-rarity-common {
  border-color: rgba(156,163,175,0.4) !important;
  background: rgba(30,30,30,0.3) !important;
}

.item-chip-futuristic.item-rarity-common:hover {
  border-color: rgba(156,163,175,0.6) !important;
  background: rgba(30,30,30,0.5) !important;
}

.item-chip-futuristic.item-rarity-uncommon {
  border-color: rgba(74,222,128,0.4) !important;
  background: rgba(6,40,30,0.3) !important;
}

.item-chip-futuristic.item-rarity-uncommon:hover {
  border-color: rgba(74,222,128,0.6) !important;
  background: rgba(6,40,30,0.5) !important;
}

.item-chip-futuristic.item-rarity-rare {
  border-color: rgba(59,130,246,0.4) !important;
  background: rgba(9,25,42,0.3) !important;
}

.item-chip-futuristic.item-rarity-rare:hover {
  border-color: rgba(59,130,246,0.6) !important;
  background: rgba(9,25,42,0.5) !important;
}

.item-chip-futuristic.item-rarity-epic {
  border-color: rgba(168,85,247,0.4) !important;
  background: rgba(25,15,40,0.3) !important;
}

.item-chip-futuristic.item-rarity-epic:hover {
  border-color: rgba(168,85,247,0.6) !important;
  background: rgba(25,15,40,0.5) !important;
}

.item-chip-futuristic.item-rarity-legendary {
  border-color: rgba(251,191,36,0.5) !important;
  background: rgba(40,30,5,0.3) !important;
  box-shadow: 0 0 8px rgba(251,191,36,0.2) !important;
}

.item-chip-futuristic.item-rarity-legendary:hover {
  border-color: rgba(251,191,36,0.7) !important;
  background: rgba(40,30,5,0.5) !important;
  box-shadow: 0 0 12px rgba(251,191,36,0.4) !important;
}

.item-name-futuristic {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-transform: uppercase;
  font-family: var(--font-item-label) !important;
}

.item-qty-futuristic {
  color: var(--accent);
  font-weight: 600;
  margin-left: 8px;
}

.trade-divider-futuristic {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--accent);
  opacity: 0.6;
}

.trade-notes-futuristic {
  padding: 12px;
  background: rgba(2,6,13,0.6);
  border-left: 3px solid rgba(41,208,255,0.5);
  border-radius: 6px;
  margin-bottom: 12px;
}

.notes-label-futuristic {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 6px;
}

.notes-content-futuristic {
  font-size: 13px;
  color: #e5e7eb;
  line-height: 1.5;
}

.trade-status-badges-futuristic {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.status-badge-futuristic {
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.status-badge-futuristic.highlighted {
  background: rgba(255,215,0,0.2);
  border: 1px solid rgba(255,215,0,0.4);
  color: #ffd700;
}

.status-badge-futuristic.featured {
  background: rgba(239,68,68,0.2);
  border: 1px solid rgba(239,68,68,0.4);
  color: #ef4444;
}

.status-badge-futuristic.confirmed {
  background: rgba(74,222,128,0.2);
  border: 1px solid rgba(74,222,128,0.4);
  color: #4ade80;
}

.status-badge-futuristic.completed {
  background: rgba(34,197,94,0.2);
  border: 1px solid rgba(34,197,94,0.4);
  color: #22c55e;
}

.trade-card-actions-futuristic {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid rgba(41,208,255,0.2);
}

.trade-action-btn-futuristic {
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all var(--transition-smooth);
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid;
}

.trade-action-btn-futuristic.primary {
  background: rgba(41,208,255,0.2);
  border-color: rgba(41,208,255,0.4);
  color: var(--accent);
}

.trade-action-btn-futuristic.primary:hover {
  background: rgba(41,208,255,0.3);
  border-color: rgba(41,208,255,0.6);
  box-shadow: 0 0 15px rgba(41,208,255,0.3);
}

.trade-action-btn-futuristic.success {
  background: rgba(74,222,128,0.2);
  border-color: rgba(74,222,128,0.4);
  color: #4ade80;
}

.trade-action-btn-futuristic.outline {
  background: transparent;
  border-color: rgba(41,208,255,0.3);
  color: var(--accent);
}

.trade-action-btn-futuristic.outline:hover {
  background: rgba(41,208,255,0.1);
  border-color: rgba(41,208,255,0.5);
}

.trade-action-btn-futuristic.danger {
  background: rgba(239,68,68,0.2);
  border-color: rgba(239,68,68,0.4);
  color: #ef4444;
}

.trade-action-btn-futuristic.danger:hover {
  background: rgba(239,68,68,0.3);
  border-color: rgba(239,68,68,0.6);
}

.trade-action-btn-futuristic:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-icon {
  font-size: 14px;
}

.trade-tip-futuristic {
  margin-top: 12px;
  padding: 10px 14px;
  background: rgba(41,208,255,0.05);
  border-left: 3px solid var(--accent);
  border-radius: 4px;
  font-size: 12px;
  color: var(--accent);
  line-height: 1.5;
}

.my-trades-empty-futuristic {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, rgba(5,12,22,0.95) 0%, rgba(2,6,13,0.98) 100%);
  border: 1px solid rgba(41,208,255,0.3);
  border-radius: var(--radius);
}

.empty-icon-large {
  font-size: 64px;
  margin-bottom: 20px;
  opacity: 0.5;
}

.empty-title {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px 0;
}

.empty-subtitle {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 24px 0;
}

.empty-action-btn-futuristic {
  padding: 14px 28px;
  background: linear-gradient(135deg, rgba(41,208,255,0.2), rgba(41,208,255,0.1));
  border: 1px solid rgba(41,208,255,0.5);
  border-radius: 8px;
  color: var(--accent);
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all var(--transition-smooth);
}

.empty-action-btn-futuristic:hover {
  border-color: rgba(41,208,255,0.8);
  box-shadow: 0 0 25px rgba(41,208,255,0.4);
  transform: translateY(-2px);
}

.completed-trades-section-futuristic {
  margin-top: 24px;
}

.completed-header-futuristic {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: linear-gradient(135deg, rgba(5,12,22,0.95) 0%, rgba(2,6,13,0.98) 100%);
  border: 1px solid rgba(74,222,128,0.3);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition-smooth);
}

.completed-header-futuristic:hover {
  border-color: rgba(74,222,128,0.5);
  background: linear-gradient(135deg, rgba(5,12,22,0.98) 0%, rgba(2,6,13,1) 100%);
}

.completed-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.completed-icon {
  font-size: 18px;
}

.completed-title {
  font-size: 16px;
  font-weight: 700;
  color: #4ade80;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.completed-count {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}

.toggle-icon-futuristic {
  font-size: 18px;
  color: var(--accent);
  transition: transform var(--transition-smooth);
}

.completed-trades-grid-futuristic {
  display: grid;
  gap: 20px;
  margin-top: 20px;
  animation: slide-down 0.4s ease-out;
}

@keyframes slide-down {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slide-in {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}


