/* ========================================================
   TeleNightClub.com - Premium Dark Neon Nightclub Theme
   Mobile-First, Ultra Fast & Responsive Design System
   ======================================================== */

:root {
  --bg-main: #0a0915;
  --bg-card: #121024;
  --bg-card-hover: #181533;
  --bg-card-glass: rgba(18, 16, 36, 0.75);
  --bg-card-border: rgba(255, 255, 255, 0.08);
  --bg-input: #1b1736;

  /* Neon Brand Accents */
  --neon-cyan: #00f0ff;
  --neon-cyan-glow: rgba(0, 240, 255, 0.35);
  --neon-pink: #ff007f;
  --neon-pink-glow: rgba(255, 0, 127, 0.35);
  --neon-purple: #9d4edd;
  --neon-gold: #ffd700;
  --neon-green: #00ff88;

  /* Telegram Brand */
  --tg-blue: #229ED9;
  --tg-blue-hover: #1b8ec6;

  /* Text Colors */
  --text-white: #ffffff;
  --text-muted: #9ba1ba;
  --text-dim: #6b7280;

  /* Gradients */
  --gradient-neon: linear-gradient(135deg, #00f0ff 0%, #a855f7 50%, #ff007f 100%);
  --gradient-hero: radial-gradient(circle at 50% 20%, rgba(157, 78, 221, 0.18) 0%, rgba(0, 240, 255, 0.08) 35%, transparent 70%);
  --gradient-card: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
  --gradient-vip: linear-gradient(135deg, #ffd700 0%, #ff8800 100%);

  /* Radius & Shadows */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --shadow-glow-cyan: 0 0 25px rgba(0, 240, 255, 0.4);
  --shadow-glow-pink: 0 0 25px rgba(255, 0, 127, 0.4);
}

/* ========================================================
   Light Pink Gradient Theme ([data-theme="light-pink"])
   ======================================================== */
[data-theme="light-pink"] {
  --bg-main: #fdf5f8;
  --bg-card: #ffffff;
  --bg-card-hover: #fff7fa;
  --bg-card-glass: rgba(255, 255, 255, 0.85);
  --bg-card-border: rgba(255, 105, 180, 0.18);
  --bg-input: #fff0f5;

  /* Neon / Pastel Pink Accents */
  --neon-cyan: #d63384;
  --neon-cyan-glow: rgba(214, 51, 132, 0.3);
  --neon-pink: #ff1493;
  --neon-pink-glow: rgba(255, 20, 147, 0.35);
  --neon-purple: #9333ea;
  --neon-gold: #f59e0b;
  --neon-green: #059669;

  /* Telegram Brand */
  --tg-blue: #0088cc;
  --tg-blue-hover: #0077b5;

  /* Text Colors */
  --text-white: #1e1b2e;
  --text-muted: #5c556b;
  --text-dim: #8c829e;

  /* Gradients */
  --gradient-neon: linear-gradient(135deg, #ff4081 0%, #a855f7 50%, #ff7eb3 100%);
  --gradient-hero: radial-gradient(circle at 50% 20%, rgba(255, 105, 180, 0.18) 0%, rgba(244, 114, 182, 0.1) 40%, transparent 70%);
  --gradient-card: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 240, 246, 0.9) 100%);

  --shadow-card: 0 10px 30px -10px rgba(255, 105, 180, 0.15);
  --shadow-glow-cyan: 0 0 20px rgba(255, 20, 147, 0.25);
  --shadow-glow-pink: 0 0 20px rgba(255, 105, 180, 0.35);
}

[data-theme="light-pink"] body {
  background-color: var(--bg-main);
  background-image: 
    radial-gradient(at 10% 20%, rgba(255, 182, 193, 0.45) 0px, transparent 50%),
    radial-gradient(at 90% 80%, rgba(244, 114, 182, 0.35) 0px, transparent 50%),
    radial-gradient(at 50% 50%, rgba(251, 207, 232, 0.3) 0px, transparent 50%);
}

[data-theme="light-pink"] .site-header {
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(255, 105, 180, 0.2);
}

[data-theme="light-pink"] .site-brand {
  color: #1e1b2e;
}

[data-theme="light-pink"] .brand-text {
  background: linear-gradient(90deg, #1e1b2e 0%, #ff1493 60%, #9333ea 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-theme="light-pink"] .brand-icon {
  color: #ffffff;
}

[data-theme="light-pink"] .site-footer {
  background: #f8eaf0;
  border-top: 1px solid rgba(255, 105, 180, 0.2);
}

[data-theme="light-pink"] .btn-submit-header {
  background: linear-gradient(135deg, #ff4081 0%, #ff7eb3 100%);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(255, 64, 129, 0.4);
}

[data-theme="light-pink"] .btn-submit-header:hover {
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(255, 64, 129, 0.6);
}

[data-theme="light-pink"] .search-box {
  background: #ffffff;
  border-color: rgba(255, 105, 180, 0.35);
  box-shadow: 0 8px 30px rgba(255, 105, 180, 0.15);
}

[data-theme="light-pink"] .search-results-dropdown {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(255, 105, 180, 0.25);
}

[data-theme="light-pink"] .search-item:hover {
  background: rgba(255, 105, 180, 0.08);
}

[data-theme="light-pink"] .search-item-title {
  color: #1e1b2e;
}

[data-theme="light-pink"] .type-tabs {
  background: #ffffff;
  border-color: rgba(255, 105, 180, 0.2);
}

[data-theme="light-pink"] .type-tab.active {
  background: linear-gradient(135deg, #ff4081 0%, #ff7eb3 100%);
  color: #ffffff;
}

[data-theme="light-pink"] .channel-title {
  color: #1e1b2e;
}

[data-theme="light-pink"] .channel-title:hover {
  color: #ff1493;
}

[data-theme="light-pink"] .btn-view-card {
  background: rgba(255, 105, 180, 0.08);
  border-color: rgba(255, 105, 180, 0.2);
  color: #5c556b;
}

[data-theme="light-pink"] .btn-view-card:hover {
  background: rgba(255, 105, 180, 0.18);
  color: #1e1b2e;
}

[data-theme="light-pink"] .cta-join-large {
  background: linear-gradient(135deg, #ff4081 0%, #ff7eb3 100%);
  color: #ffffff;
  box-shadow: 0 6px 25px rgba(255, 64, 129, 0.35);
}

[data-theme="light-pink"] .cta-join-large:hover {
  color: #ffffff;
  box-shadow: 0 8px 30px rgba(255, 64, 129, 0.55);
}

[data-theme="light-pink"] .stat-badge-box {
  background: #fff0f5;
  border-color: rgba(255, 105, 180, 0.2);
}

[data-theme="light-pink"] .channel-detail-body {
  color: #3b354d;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  line-height: 1.5;
  background-image: 
    radial-gradient(at 10% 20%, rgba(157, 78, 221, 0.12) 0px, transparent 50%),
    radial-gradient(at 90% 80%, rgba(0, 240, 255, 0.08) 0px, transparent 50%),
    radial-gradient(at 50% 50%, rgba(255, 0, 127, 0.05) 0px, transparent 50%);
  background-attachment: fixed;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ========================================================
   Header & Navbar (Mobile First!)
   ======================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 9, 21, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--bg-card-border);
  padding: 12px 0;
  transition: all 0.3s ease;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #fff;
}

.brand-logo-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 16px rgba(255, 0, 127, 0.4), 0 0 8px rgba(0, 240, 255, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex-shrink: 0;
  display: block;
}

.site-brand:hover .brand-logo-img,
.admin-brand:hover .brand-logo-img {
  transform: scale(1.08) rotate(4deg);
  box-shadow: 0 0 24px rgba(255, 0, 127, 0.7), 0 0 14px rgba(0, 240, 255, 0.6);
}

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--gradient-neon);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0a0915;
  font-size: 1.25rem;
  box-shadow: 0 0 18px var(--neon-cyan-glow);
}

.brand-text {
  background: linear-gradient(90deg, #ffffff 0%, var(--neon-cyan) 60%, var(--neon-pink) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-badge {
  font-size: 0.65rem;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(255, 0, 127, 0.2);
  color: var(--neon-pink);
  border: 1px solid rgba(255, 0, 127, 0.4);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Nav Links (Desktop) */
.nav-links {
  display: none;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-link {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link:hover, .nav-link.active {
  color: var(--neon-cyan);
}

/* Header Action Buttons */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.desktop-theme-btn {
  display: none;
}

@media (min-width: 768px) {
  .desktop-theme-btn {
    display: flex;
  }
}

/* Mobile Theme Row inside Menu */
.mobile-theme-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 0, 127, 0.08);
  border: 1px solid rgba(255, 0, 127, 0.25);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin-bottom: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.mobile-theme-row:hover {
  background: rgba(255, 0, 127, 0.15);
  border-color: var(--neon-pink);
}

[data-theme="light-pink"] .mobile-theme-row {
  background: rgba(255, 105, 180, 0.12);
  border-color: rgba(255, 105, 180, 0.35);
}

/* PROMINENT SUBMIT BUTTON */
.btn-submit-header {
  background: linear-gradient(135deg, #00f0ff 0%, #00a8ff 100%);
  color: #060e17;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-submit-header:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.7);
  color: #000;
}

.btn-icon-round {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-icon-round:hover {
  color: var(--neon-cyan);
  border-color: var(--neon-cyan);
}

.mobile-menu-btn {
  display: flex;
}

/* Mobile Dropdown Menu */
.mobile-nav-panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(15, 13, 31, 0.98);
  border-bottom: 1px solid var(--bg-card-border);
  padding: 18px 20px;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
}

.mobile-nav-panel.open {
  display: flex;
}

.mobile-nav-link {
  color: var(--text-muted);
  font-size: 1.05rem;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  background: rgba(0, 240, 255, 0.1);
  color: var(--neon-cyan);
}

/* ========================================================
   Hero Section
   ======================================================== */
.hero-section {
  padding: 40px 0 28px;
  text-align: center;
  position: relative;
}

.hero-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 800px;
  height: 350px;
  background: radial-gradient(circle, rgba(157, 78, 221, 0.2) 0%, rgba(0, 240, 255, 0.1) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 0, 127, 0.12);
  border: 1px solid rgba(255, 0, 127, 0.35);
  color: #ff55a3;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 16px;
  animation: pulseBadge 2.5s infinite;
}

@keyframes pulseBadge {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 0, 127, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(255, 0, 127, 0); }
}

.hero-title {
  font-size: 2.1rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}

.hero-title-highlight {
  background: linear-gradient(135deg, #00f0ff 0%, #c084fc 50%, #ff007f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto 26px;
}

/* Hero Live Search Box */
.search-box-wrapper {
  max-width: 680px;
  margin: 0 auto 20px;
  position: relative;
}

.search-box {
  display: flex;
  align-items: center;
  background: var(--bg-card-glass);
  border: 1px solid rgba(0, 240, 255, 0.3);
  border-radius: var(--radius-full);
  padding: 6px 8px 6px 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 240, 255, 0.15);
  transition: all 0.3s;
}

.search-box:focus-within {
  border-color: var(--neon-cyan);
  box-shadow: 0 8px 35px rgba(0, 0, 0, 0.6), var(--shadow-glow-cyan);
}

.search-icon {
  color: var(--neon-cyan);
  font-size: 1.1rem;
  margin-right: 12px;
}

.search-input {
  flex: 1;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1rem;
  outline: none;
}

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

.search-submit-btn {
  background: linear-gradient(135deg, #9d4edd 0%, #ff007f 100%);
  color: #fff;
  border: none;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.search-submit-btn:hover {
  transform: scale(1.03);
  box-shadow: 0 0 20px var(--neon-pink-glow);
}

/* Live Auto-Suggest Results Dropdown */
.search-results-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: rgba(18, 16, 36, 0.97);
  backdrop-filter: blur(20px);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-md);
  padding: 10px;
  display: none;
  z-index: 50;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
  max-height: 380px;
  overflow-y: auto;
  text-align: left;
}

.search-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}

.search-item:hover {
  background: rgba(255, 255, 255, 0.06);
}

.search-item-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.search-item-info {
  flex: 1;
}

.search-item-title {
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff;
}

.search-item-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ========================================================
   Category Horizontal Pills
   ======================================================== */
.category-pills-bar {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 6px 4px 16px;
  margin-bottom: 24px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
  -webkit-overflow-scrolling: touch;
}

.category-pills-bar::-webkit-scrollbar {
  height: 4px;
}

.category-pills-bar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-full);
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.2s;
}

.cat-pill:hover, .cat-pill.active {
  background: rgba(0, 240, 255, 0.12);
  border-color: var(--neon-cyan);
  color: #fff;
  box-shadow: 0 0 14px rgba(0, 240, 255, 0.25);
}

.cat-pill i {
  color: var(--neon-cyan);
}

/* ========================================================
   Section Headers & Tabs
   ======================================================== */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 12px;
}

.section-title {
  font-size: 1.4rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-title i {
  color: var(--neon-cyan);
}

.section-title.vip i {
  color: var(--neon-gold);
}

.view-all-link {
  color: var(--neon-cyan);
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.view-all-link:hover {
  color: #fff;
}

/* Type Filter Tabs */
.type-tabs {
  display: flex;
  gap: 8px;
  background: var(--bg-card);
  padding: 4px;
  border-radius: var(--radius-full);
  border: 1px solid var(--bg-card-border);
  margin-bottom: 24px;
  overflow-x: auto;
}

.type-tab {
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  border: none;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.type-tab.active, .type-tab:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.type-tab.active {
  background: var(--gradient-neon);
  color: #090812;
  font-weight: 700;
}

/* ========================================================
   Grid Layouts & Channel Cards
   ======================================================== */
.listings-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 40px;
}

/* Channel Card */
.channel-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-md);
  padding: 16px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}

.channel-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 240, 255, 0.4);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 240, 255, 0.1);
}

.channel-card.featured {
  border-color: rgba(255, 215, 0, 0.35);
  background: linear-gradient(180deg, rgba(255, 215, 0, 0.05) 0%, rgba(18, 16, 36, 0.95) 100%);
}

.channel-card.featured:hover {
  border-color: var(--neon-gold);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 25px rgba(255, 215, 0, 0.2);
}

.card-top {
  display: flex;
  gap: 14px;
  margin-bottom: 12px;
  align-items: flex-start;
}

.channel-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

.channel-avatar {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  object-fit: cover;
  background: #201b3f;
  border: 1px solid var(--bg-card-border);
}

.badge-type {
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--tg-blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  border: 2px solid var(--bg-card);
}

.card-main-info {
  flex: 1;
  min-width: 0;
}

.card-title-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.channel-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.channel-card:hover .channel-title {
  color: var(--neon-cyan);
}

.verified-icon {
  color: var(--neon-cyan);
  font-size: 0.9rem;
}

.vip-badge {
  background: var(--gradient-vip);
  color: #000;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.channel-username {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-bottom: 6px;
}

.channel-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 14px;
}

.card-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 12px;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.meta-item i {
  color: var(--neon-cyan);
}

.card-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.btn-join-tg {
  background: var(--tg-blue);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}

.btn-join-tg:hover {
  background: var(--tg-blue-hover);
  box-shadow: 0 0 15px rgba(34, 158, 217, 0.5);
  color: #fff;
}

.btn-view-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--bg-card-border);
  color: var(--text-muted);
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.btn-view-card:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* ========================================================
   Channel Detail Page
   ======================================================== */
.channel-detail-wrap {
  padding: 24px 0 60px;
}

.channel-detail-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
}

.channel-detail-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  margin-bottom: 24px;
}

.channel-detail-avatar {
  width: 96px;
  height: 96px;
  border-radius: 26px;
  object-fit: cover;
  border: 2px solid var(--neon-cyan);
  box-shadow: var(--shadow-glow-cyan);
}

.channel-detail-title {
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1.2;
}

.stats-badge-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}

.stat-badge-box {
  background: var(--bg-input);
  border: 1px solid var(--bg-card-border);
  padding: 12px;
  border-radius: var(--radius-md);
  text-align: center;
}

.stat-badge-val {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--neon-cyan);
}

.stat-badge-lbl {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-transform: uppercase;
}

.channel-detail-body {
  font-size: 1.05rem;
  color: #d1d5db;
  line-height: 1.7;
  margin-bottom: 26px;
  white-space: pre-line;
}

.qr-code-box {
  background: #fff;
  padding: 14px;
  border-radius: var(--radius-md);
  display: inline-block;
  margin: 0 auto 20px;
}

.qr-code-box img {
  width: 150px;
  height: 150px;
}

.cta-join-large {
  background: linear-gradient(135deg, #00f0ff 0%, #0088cc 100%);
  color: #060e17;
  font-size: 1.15rem;
  font-weight: 800;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.4);
  transition: all 0.2s;
  width: 100%;
}

.cta-join-large:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 45px rgba(0, 240, 255, 0.7);
  color: #000;
}

/* ========================================================
   Submit Page & Modal
   ======================================================== */
.submit-form-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  max-width: 650px;
  margin: 0 auto 50px;
}

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

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: #e2e8f0;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: #fff;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

.form-help {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 4px;
}

/* Scraper Preview Box */
.scraper-preview-box {
  display: none;
  background: rgba(0, 240, 255, 0.05);
  border: 1px dashed var(--neon-cyan);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 20px;
}

/* ========================================================
   Footer
   ======================================================== */
.site-footer {
  margin-top: auto;
  background: #070610;
  border-top: 1px solid var(--bg-card-border);
  padding: 40px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  margin-bottom: 30px;
}

.footer-brand p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 10px;
  line-height: 1.6;
}

.footer-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: #fff;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.footer-links a:hover {
  color: var(--neon-cyan);
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* ========================================================
   Toast & Modals
   ======================================================== */
.toast-msg {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--bg-card);
  color: #fff;
  border: 1px solid var(--neon-cyan);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), var(--shadow-glow-cyan);
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

/* ========================================================
   Responsive Media Queries (Desktop Enhancements)
   ======================================================== */
@media (min-width: 640px) {
  .listings-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }
  .nav-links {
    display: flex;
  }
  .mobile-menu-btn {
    display: flex;
  }
  .listings-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
  .channel-detail-header {
    flex-direction: row;
    text-align: left;
  }
}

@media (min-width: 1280px) {
  .listings-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
