@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  --bg-primary: #09070f;
  --bg-secondary: #130f24;
  --bg-glass: rgba(25, 18, 48, 0.65);
  --border-glass: rgba(168, 85, 247, 0.15);
  --border-glass-focus: rgba(249, 115, 22, 0.4);

  --accent-purple: #a855f7;
  --accent-cyan: #06b6d4;
  --accent-green: #10b981;
  --accent-red: #ff4b4b;
  --accent-orange: #f97316;

  --text-primary: #f3f4f6;
  --text-secondary: #a1a1aa;
  --text-muted: #6b7280;

  --font-outfit: 'Outfit', sans-serif;
  --font-inter: 'Inter', sans-serif;

  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --glow-shadow: 0 0 15px rgba(255, 75, 75, 0.3);
  --glow-orange: 0 0 15px rgba(249, 115, 22, 0.3);
}

/* Reset & Scrollbar */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: #272147;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-orange);
}

body {
  font-family: var(--font-inter);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(255, 75, 75, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(249, 115, 22, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(168, 85, 247, 0.04) 0%, transparent 60%);
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-outfit);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Header & Navbar */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(9, 7, 15, 0.75);
  border-bottom: 1px solid var(--border-glass);
}

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

.nav-container [data-bot-nav] {
  flex: 1;
  justify-content: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-outfit);
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-red), var(--accent-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
}

.logo-icon {
  width: 2.2rem;
  height: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent-red), var(--accent-orange));
  color: white;
  font-size: 1.2rem;
  -webkit-text-fill-color: white;
  box-shadow: var(--glow-shadow);
}

.user-menu {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.user-profile {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--bg-glass);
  padding: 0.5rem 1rem;
  border-radius: 30px;
  border: 1px solid var(--border-glass);
}

.user-avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 2px solid var(--accent-orange);
}

.username {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-family: var(--font-outfit);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-red), var(--accent-orange));
  color: white;
  box-shadow: 0 4px 15px rgba(255, 75, 75, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 75, 75, 0.5);
}

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

.btn-secondary:hover {
  background: rgba(249, 115, 22, 0.1);
  border-color: var(--accent-orange);
  transform: translateY(-2px);
}

.btn-purple {
  background: linear-gradient(135deg, var(--accent-purple), #9333ea);
  color: white;
  box-shadow: 0 4px 15px rgba(168, 85, 247, 0.3);
}

.btn-purple:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(168, 85, 247, 0.5);
}

.btn-danger,
.btn-remove {
  background: rgba(19, 15, 36, 0.85);
  border: 1px solid rgba(168, 85, 247, 0.14);
  color: var(--text-muted);
  box-shadow: none;
}

.btn-danger:hover,
.btn-remove:hover {
  background: rgba(255, 75, 75, 0.07);
  border-color: rgba(255, 75, 75, 0.3);
  color: #fca5a5;
  transform: translateY(-1px);
  box-shadow: none;
}

.btn-remove.btn-icon,
.btn-danger.btn-icon {
  min-width: 2.25rem;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  line-height: 1;
  border-radius: 8px;
}

.btn-success {
  background: linear-gradient(135deg, var(--accent-green), #059669);
  color: white;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-success:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
}

.btn-logout {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.btn-logout:hover {
  color: var(--accent-red);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

.btn-icon {
  padding: 0.5rem;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 6px;
  font-size: 1rem;
}

/* Landing Page (Hero) */
.hero {
  max-width: 1000px;
  margin: 8rem auto 4rem auto;
  text-align: center;
  padding: 0 2rem;
}

.badge {
  display: inline-block;
  background: rgba(255, 75, 75, 0.1);
  border: 1px solid rgba(255, 75, 75, 0.25);
  color: var(--accent-red);
  padding: 0.35rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: 4.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(to right, #ffffff, #fca5a5, var(--accent-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 2.5rem auto;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

/* Features Grid */
.features {
  max-width: 1100px;
  margin: 6rem auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  padding: 2.5rem 2rem;
  border-radius: 12px;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-red), var(--accent-orange), var(--accent-purple));
  opacity: 0;
  transition: var(--transition-smooth);
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-orange);
  box-shadow: 0 10px 30px rgba(249, 115, 22, 0.1);
}

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

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Guild Selector / Dashboard */
.main-content {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 2rem;
}

.section-header {
  margin-bottom: 2.5rem;
}

.section-header p {
  color: var(--text-secondary);
  margin-top: 0.5rem;
}

.guild-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.guild-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: var(--transition-smooth);
}

.guild-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-orange);
  box-shadow: var(--glow-orange);
}

.guild-icon {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #1c1535, #271a3a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-orange);
  margin-bottom: 1.25rem;
  border: 2px solid var(--border-glass);
  overflow: hidden;
}

.guild-icon-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.guild-name {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

.guild-actions {
  width: 100%;
  margin-top: auto;
}

.guild-actions .btn {
  width: 100%;
}

/* Stats Cards */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.stat-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

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

.stat-card:hover {
  transform: translateY(-3px);
  border-color: rgba(249, 115, 22, 0.3);
  box-shadow: 0 8px 25px rgba(249, 115, 22, 0.1);
}

.stat-card.stat-reports::before { background: var(--accent-red); }
.stat-card.stat-time::before { background: var(--accent-purple); }
.stat-card.stat-channels::before { background: var(--accent-orange); }
.stat-card.stat-status::before { background: var(--accent-green); }

.stat-icon {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.stat-value {
  font-family: var(--font-outfit);
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--text-primary), var(--accent-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-value.online {
  background: linear-gradient(135deg, var(--accent-green), #34d399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-value.offline {
  background: linear-gradient(135deg, var(--accent-red), #f87171);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Settings Sections */
.settings-section {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 2rem;
  backdrop-filter: blur(15px);
  margin-bottom: 2rem;
  animation: fadeIn 0.4s ease-out;
}

.settings-section h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.settings-section > p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

/* Channel Rows (Tracked Channels) */
.channel-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.channel-row {
  background: rgba(9, 7, 15, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.03);
  padding: 1rem 1.5rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: var(--transition-smooth);
}

.channel-row:hover {
  border-color: rgba(249, 115, 22, 0.2);
  background: rgba(9, 7, 15, 0.6);
}

.channel-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
  min-width: 0;
}

.channel-hash {
  font-size: 1.2rem;
  color: var(--accent-orange);
  font-weight: 700;
  flex-shrink: 0;
}

.channel-name {
  font-weight: 600;
  font-size: 1rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.channel-lang {
  background: rgba(168, 85, 247, 0.15);
  color: var(--accent-purple);
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.channel-actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-muted);
}

.empty-state .empty-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.empty-state p {
  font-size: 1rem;
}

/* Add Channel Form */
.add-channel-form {
  display: flex;
  gap: 1rem;
  align-items: flex-end;
  flex-wrap: wrap;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
  min-width: 180px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Custom Select styling */
.channel-select {
  background-color: #120e23;
  color: var(--text-primary);
  border: 1px solid var(--border-glass);
  padding: 0.7rem 2.5rem 0.7rem 1rem;
  border-radius: 8px;
  font-family: var(--font-inter);
  font-size: 0.9rem;
  outline: none;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23f97316' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1rem;
  width: 100%;
  transition: var(--transition-smooth);
}

.channel-select:focus {
  border-color: var(--accent-orange);
  box-shadow: 0 0 10px rgba(249, 115, 22, 0.2);
}

.channel-select option {
  background-color: var(--bg-secondary);
  color: var(--text-primary);
}

/* Force Check Section */
.force-check-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.force-check-info {
  flex: 1;
}

.force-check-info h3 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.force-check-info p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Loading Spinner */
.spinner {
  display: inline-block;
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Pulse animation for loading states */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.loading-pulse {
  animation: pulse 1.5s ease-in-out infinite;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

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

@keyframes slideInRight {
  from { transform: translateX(120%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOutRight {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(120%); opacity: 0; }
}

/* Staggered animation for lists */
.channel-row { animation: slideUp 0.3s ease-out backwards; }
.channel-row:nth-child(1) { animation-delay: 0.0s; }
.channel-row:nth-child(2) { animation-delay: 0.05s; }
.channel-row:nth-child(3) { animation-delay: 0.1s; }
.channel-row:nth-child(4) { animation-delay: 0.15s; }
.channel-row:nth-child(5) { animation-delay: 0.2s; }
.channel-row:nth-child(6) { animation-delay: 0.25s; }
.channel-row:nth-child(7) { animation-delay: 0.3s; }
.channel-row:nth-child(8) { animation-delay: 0.35s; }

/* Toast Notifications */
#toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast {
  background: rgba(19, 15, 36, 0.95);
  border-left: 4px solid var(--accent-orange);
  border-top: 1px solid var(--border-glass);
  border-right: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
  color: var(--text-primary);
  padding: 1rem 1.5rem;
  border-radius: 8px;
  font-weight: 500;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: slideInRight 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  min-width: 280px;
  max-width: 420px;
}

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

.toast.error {
  border-left-color: var(--accent-red);
}

.toast.removing {
  animation: slideOutRight 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Back link */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

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

/* Section divider */
.section-divider {
  border: none;
  height: 1px;
  background: var(--border-glass);
  margin: 1.5rem 0;
}

/* Footer */
footer {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-glass);
  margin-top: 4rem;
}

footer p {
  font-size: 0.9rem;
}

footer a {
  color: var(--accent-orange);
  text-decoration: none;
  transition: var(--transition-smooth);
}

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

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

  .add-channel-form {
    flex-direction: column;
  }

  .form-group {
    width: 100%;
  }

  .force-check-section {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media(max-width: 600px) {
  .hero h1 {
    font-size: 3rem;
  }

  .nav-container {
    padding: 1rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .channel-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .channel-actions {
    width: 100%;
    justify-content: flex-end;
  }

  .section-header {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
}

/* Player Track */
.beta-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  background: rgba(249, 115, 22, 0.2);
  color: var(--accent-orange);
  border: 1px solid rgba(249, 115, 22, 0.45);
  vertical-align: middle;
}

.beta-badge.inline {
  margin-left: 0.35rem;
}

.beta-banner {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
  background: rgba(249, 115, 22, 0.08);
  border: 1px solid rgba(249, 115, 22, 0.25);
  border-radius: 10px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.beta-banner .beta-badge {
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.id-help {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.id-help summary {
  cursor: pointer;
  color: var(--accent-cyan);
  font-weight: 600;
}

.id-help ul,
.lookup-details {
  margin: 0.75rem 0 0 1.1rem;
  line-height: 1.6;
}

.lookup-details {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.id-help code,
.id-hint code {
  font-size: 0.72rem;
  background: rgba(0, 0, 0, 0.35);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  word-break: break-all;
}

.lookup-result {
  margin-top: 1.25rem;
}

.lookup-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 1.25rem;
}

.lookup-empty {
  border-color: rgba(255, 75, 75, 0.25);
}

.lookup-multiple {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.profile-card .profile-header {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.profile-avatar {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  border: 2px solid var(--border-glass);
}

.profile-avatar.sm {
  width: 48px;
  height: 48px;
}

.track-status {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  margin-top: 0.35rem;
}

.status-banned {
  background: rgba(255, 75, 75, 0.15);
  color: var(--accent-red);
  border: 1px solid rgba(255, 75, 75, 0.35);
}

.status-reported {
  background: rgba(249, 115, 22, 0.12);
  color: var(--accent-orange);
  border: 1px solid rgba(249, 115, 22, 0.35);
}

.status-clean {
  background: rgba(16, 185, 129, 0.12);
  color: var(--accent-green);
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.tracked-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.tracked-player-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1rem 1.25rem;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
}

.tracked-player-main {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.tracked-player-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.report-history {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-height: 360px;
  overflow-y: auto;
}

.report-row {
  padding: 0.75rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  border: 1px solid var(--border-glass);
}

.report-row-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.report-status-pill {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

.report-status-pill.status-banned {
  background: rgba(255, 75, 75, 0.2);
  color: var(--accent-red);
}

.report-status-pill.status-waiting,
.report-status-pill.status-reported {
  background: rgba(249, 115, 22, 0.15);
  color: var(--accent-orange);
}

.report-row-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.report-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 0.5rem;
}

.report-link {
  color: var(--accent-cyan);
  font-size: 0.8rem;
  text-decoration: none;
}

.report-link:hover {
  text-decoration: underline;
}

.muted {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.track-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.track-modal.hidden {
  display: none;
}

.track-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}

.track-modal-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 560px;
  max-height: 85vh;
  overflow-y: auto;
  background: var(--bg-secondary);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.track-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 1.25rem;
  cursor: pointer;
}

input.channel-select {
  width: 100%;
  padding: 0.65rem 0.85rem;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: var(--font-inter);
}

input.channel-select:focus {
  outline: none;
  border-color: var(--border-glass-focus);
}

/* Ping edit row */
.tracked-player-card {
  flex-direction: column;
  align-items: stretch;
}

.tracked-player-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.ping-edit-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-glass);
  animation: fadeIn 0.2s ease-out;
}

.ping-edit-row.hidden {
  display: none;
}

.ping-input {
  flex: 1;
  padding: 0.55rem 0.9rem;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: var(--font-inter);
  font-size: 0.875rem;
  transition: var(--transition-smooth);
  min-width: 0;
}

.ping-input::placeholder {
  color: var(--text-muted);
  font-size: 0.82rem;
}

.ping-input:focus {
  outline: none;
  border-color: var(--accent-purple);
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.15);
}

/* Settings page - Watched Players rows */
.settings-watched-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background: rgba(9, 7, 15, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  margin-bottom: 0.5rem;
  transition: var(--transition-smooth);
}

.settings-watched-row:hover {
  border-color: rgba(168, 85, 247, 0.2);
  background: rgba(9, 7, 15, 0.6);
}

.settings-watched-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.settings-watched-actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}
