/* ==========================================================================
   Y2K FLAME & COBALT BLUE WEBRING DIRECTORY (2000-2005 RETRO EVOLUTION)
   Folder 23 - Authentic 2000-2005 Simple TopList & Webring Character
   100% Pure Native Vanilla CSS | ZERO Bootstrap | Ultra Fast (<2ms TTFB)
   Cobalt Blue (#1e40af), Electric Azure (#3b82f6), Neon Flame (#f97316, #ef4444)
   ========================================================================== */

:root {
  --cobalt-dark: #0f172a;
  --cobalt-deep: #1e3a8a;
  --cobalt-primary: #1e40af;
  --cobalt-bright: #2563eb;
  --cobalt-electric: #3b82f6;
  --cobalt-light: #dbeafe;
  --cobalt-subtle: #eff6ff;
  --flame-red: #ef4444;
  --flame-orange: #f97316;
  --flame-gold: #f59e0b;
  --card-bg: #ffffff;
  --text-dark: #0f172a;
  --text-slate: #334155;
  --text-muted: #64748b;
  --border-cobalt: #93c5fd;
  --shadow-y2k: 0 12px 35px rgba(30, 64, 175, 0.15), 0 2px 8px rgba(0, 0, 0, 0.08);
  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background: 
    radial-gradient(ellipse at 50% 0%, rgba(59, 130, 246, 0.22) 0%, transparent 70%),
    linear-gradient(180deg, #c0d8ff 0%, #a5c7fc 40%, #8db6f8 100%);
  background-attachment: fixed;
  color: var(--text-dark);
  font-family: var(--font-main);
  font-size: 13px;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--cobalt-primary);
  text-decoration: none;
  transition: all 0.15s ease;
}

a:hover {
  color: var(--flame-red);
  text-decoration: underline;
}

/* Master Y2K Container */
.y2k-container {
  max-width: 1140px;
  width: 95%;
  margin: 20px auto 40px;
  background: var(--card-bg);
  border: 3px solid var(--cobalt-deep);
  border-radius: 14px;
  box-shadow: var(--shadow-y2k);
  overflow: hidden;
}

/* Top Y2K Webring Ticker Bar */
.y2k-ticker-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(90deg, #1e3a8a 0%, #1e40af 50%, #2563eb 100%);
  color: #ffffff;
  padding: 7px 16px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  flex-wrap: wrap;
  gap: 8px;
}

.y2k-ticker-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.flame-icon-pulse {
  display: inline-block;
  animation: pulseFlame 1.8s infinite alternate;
}

@keyframes pulseFlame {
  0% { transform: scale(1) rotate(0deg); filter: drop-shadow(0 0 2px #f97316); }
  100% { transform: scale(1.15) rotate(4deg); filter: drop-shadow(0 0 8px #ef4444); }
}

.y2k-status-tag {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: bold;
}

/* Header Section with Flame Banner */
.y2k-header {
  background: linear-gradient(180deg, #2b66b2 0%, #1e40af 100%);
  padding: 18px 20px;
  text-align: center;
  color: #ffffff;
  border-bottom: 3px solid var(--flame-orange);
  position: relative;
}

.y2k-header-title {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0 0 6px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.header-flame-img {
  height: 28px;
  width: auto;
  filter: drop-shadow(0 0 6px rgba(249, 115, 22, 0.8));
}

.y2k-header-subtitle {
  font-size: 12px;
  color: #dbeafe;
  margin: 0;
  letter-spacing: 0.5px;
  font-weight: 500;
}

/* Y2K Webring Controls Bar */
.y2k-webring-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f6ff;
  border-bottom: 1px solid var(--border-cobalt);
  padding: 8px 12px;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 11px;
  font-weight: bold;
}

.webring-btn {
  background: #ffffff;
  border: 1px solid var(--border-cobalt);
  color: var(--cobalt-primary);
  padding: 4px 10px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.15s ease;
}

.webring-btn:hover {
  background: var(--cobalt-primary);
  color: #ffffff;
  border-color: var(--cobalt-primary);
  text-decoration: none;
  transform: translateY(-1px);
}

/* Search Box Area */
.search-bar-wrapper {
  background: #e6f0ff;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-bottom: 1px solid var(--border-cobalt);
  flex-wrap: wrap;
}

.search-input-y2k {
  width: 100%;
  max-width: 440px;
  padding: 8px 14px;
  border: 1px solid var(--cobalt-electric);
  border-radius: 4px;
  font-size: 13px;
  outline: none;
  background: #ffffff;
  color: var(--text-dark);
  font-family: inherit;
  transition: all 0.2s ease;
}

.search-input-y2k:focus {
  border-color: var(--flame-orange);
  box-shadow: 0 0 8px rgba(249, 115, 22, 0.4);
}

.search-btn-y2k {
  background: linear-gradient(180deg, #2563eb 0%, #1e40af 100%);
  color: #ffffff;
  border: 1px solid #1e3a8a;
  padding: 8px 18px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.15s ease;
}

.search-btn-y2k:hover {
  background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%);
  transform: translateY(-1px);
}

/* Main Toplist Table */
.table-wrapper {
  width: 100%;
  overflow-x: auto;
}

.y2k-list-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.y2k-list-table th {
  background: #e6f0ff;
  border-bottom: 2px solid #99bbff;
  padding: 10px 12px;
  text-align: left;
  font-size: 13px;
  font-weight: 700;
  color: var(--cobalt-deep);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.y2k-list-table td {
  padding: 10px 12px;
  border-bottom: 1px dashed #d1d5db;
  font-size: 13px;
  vertical-align: middle;
}

.toplist-row-item {
  transition: background-color 0.15s ease;
}

.toplist-row-item:hover {
  background-color: #f0f7ff;
}

/* Rank Badge Column */
.rank-badge-cell {
  width: 50px;
  font-size: 14px;
  font-weight: 900;
  font-family: var(--font-mono);
  text-align: center;
}

.rank-pill {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 900;
}

.rank-gold {
  background: linear-gradient(135deg, #fbbf24, #d97706);
  color: #000;
  box-shadow: 0 0 6px rgba(245, 158, 11, 0.4);
}

.rank-silver {
  background: linear-gradient(135deg, #e2e8f0, #94a3b8);
  color: #000;
}

.rank-bronze {
  background: linear-gradient(135deg, #fed7aa, #ea580c);
  color: #fff;
}

/* Favicon & Title Column */
.title-cell-flex {
  display: flex;
  align-items: center;
  gap: 10px;
}

.y2k-monogram-favicon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: linear-gradient(135deg, #2563eb, #1e3a8a);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 900;
  font-family: var(--font-mono);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.site-title-link {
  font-size: 13px;
  font-weight: bold;
  color: var(--cobalt-bright);
}

.site-title-link:hover {
  color: var(--flame-red);
}

/* Description Column */
.desc-text {
  color: var(--text-slate);
  font-size: 12px;
  line-height: 1.4;
}

/* Votes Column with Interactive Upvote */
.votes-cell-flex {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-family: var(--font-mono);
}

.vote-heart-btn {
  background: #fee2e2;
  border: 1px solid #fca5a5;
  color: var(--flame-red);
  padding: 2px 7px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.12s ease;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.vote-heart-btn:hover, .vote-heart-btn.voted {
  background: var(--flame-red);
  color: #ffffff;
  border-color: var(--flame-red);
}

/* Views Column */
.views-pill {
  background: #f1f5f9;
  color: var(--text-muted);
  border: 1px solid #e2e8f0;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-family: var(--font-mono);
}

/* Action Button Column */
.visit-site-btn {
  background: var(--cobalt-primary);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: bold;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.visit-site-btn:hover {
  background: var(--flame-orange);
  color: #ffffff;
  text-decoration: none;
}

/* Retro Links Section (Guestbook & Webring) */
.retro-links-bar {
  margin: 18px;
  padding: 12px;
  background: #f0f6ff;
  border: 1px solid var(--border-cobalt);
  border-radius: 8px;
  text-align: center;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.retro-link-item {
  color: var(--cobalt-deep);
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.retro-link-item:hover {
  color: var(--flame-red);
}

/* Mechanical Odometer Hit Counter & Footer */
.y2k-footer {
  background: #e6f0ff;
  border-top: 2px solid #99bbff;
  padding: 16px 20px;
  text-align: center;
  font-size: 12px;
  color: var(--text-slate);
}

.odometer-box {
  display: inline-flex;
  align-items: center;
  background: #111827;
  border: 2px solid #374151;
  border-radius: 4px;
  padding: 4px 8px;
  margin: 8px 0;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.6);
}

.odometer-digit {
  background: #1f2937;
  color: #10b981;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 900;
  padding: 2px 6px;
  margin: 0 1px;
  border-radius: 2px;
  border-top: 1px solid #374151;
  border-bottom: 1px solid #000;
  text-shadow: 0 0 6px #10b981;
}

.compliance-notice {
  max-width: 860px;
  margin: 12px auto 0;
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   SEO SUPERCHARGE SUITE: Editorial, FAQ, Tag Cloud & Sister Network Hub
   ========================================================================== */

/* 1. Webmaster Editorial Review Card */
.seo-editorial-card {
  margin: 20px 18px;
  background: #f8fbff;
  border: 1px solid var(--border-cobalt);
  border-top: 3px solid var(--flame-orange);
  border-radius: 8px;
  padding: 20px 24px;
  color: var(--text-slate);
}

.seo-editorial-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
  border-bottom: 1px dashed var(--border-cobalt);
  padding-bottom: 12px;
}

.seo-editorial-title {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: var(--cobalt-deep);
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.seo-rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: bold;
  color: #92400e;
}

.seo-rating-stars {
  color: #f59e0b;
  font-size: 13px;
  letter-spacing: 1px;
}

.seo-editorial-body {
  font-size: 12.5px;
  line-height: 1.65;
  color: #334155;
}

.seo-editorial-body p {
  margin: 0 0 10px 0;
}

.seo-editorial-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
  margin-top: 14px;
  font-size: 11.5px;
}

.seo-highlight-box {
  background: #ffffff;
  border: 1px solid #bfdbfe;
  border-radius: 6px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--cobalt-deep);
}

/* 2. Interactive FAQ Accordion */
.seo-faq-section {
  margin: 20px 18px;
  background: #ffffff;
  border: 1px solid var(--border-cobalt);
  border-radius: 8px;
  padding: 20px;
}

.seo-faq-title {
  margin: 0 0 16px 0;
  font-size: 15px;
  font-weight: 800;
  color: var(--cobalt-deep);
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
}

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

.faq-item {
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  overflow: hidden;
  background: #fafcff;
  transition: all 0.2s ease;
}

.faq-item:hover {
  border-color: #93c5fd;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--cobalt-deep);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-family: inherit;
}

.faq-toggle-icon {
  font-size: 16px;
  color: var(--cobalt-bright);
  font-weight: bold;
  transition: transform 0.2s ease;
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(45deg);
  color: var(--flame-red);
}

.faq-answer {
  display: none;
  padding: 0 16px 14px 16px;
  font-size: 12px;
  line-height: 1.6;
  color: #475569;
  border-top: 1px dashed #e2e8f0;
}

.faq-item.active .faq-answer {
  display: block;
}

/* 3. Long-Tail SEO Tag Cloud */
.seo-tag-cloud-section {
  margin: 20px 18px;
  background: #f0f7ff;
  border: 1px solid var(--border-cobalt);
  border-radius: 8px;
  padding: 16px 20px;
}

.seo-tag-cloud-title {
  margin: 0 0 12px 0;
  font-size: 13px;
  font-weight: 800;
  color: var(--cobalt-deep);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
}

.tag-cloud-container {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.y2k-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #ffffff;
  border: 1px solid #bfdbfe;
  color: var(--cobalt-primary);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s ease;
}

.y2k-tag-pill:hover {
  background: var(--cobalt-primary);
  color: #ffffff;
  border-color: var(--cobalt-primary);
  text-decoration: none;
  transform: translateY(-1px);
}

/* 4. Sister Network Cross-Linking Hub */
.network-hub-section {
  margin: 20px 18px;
  background: #eff6ff;
  border: 1px solid var(--border-cobalt);
  border-radius: 8px;
  padding: 16px 20px;
}

.network-hub-title {
  margin: 0 0 12px 0;
  font-size: 13px;
  font-weight: 800;
  color: var(--cobalt-deep);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
}

.network-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
}

.network-card {
  background: #ffffff;
  border: 1px solid #bfdbfe;
  border-radius: 6px;
  padding: 10px 12px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: all 0.2s ease;
}

.network-card:hover {
  border-color: var(--flame-orange);
  box-shadow: 0 4px 12px rgba(30, 64, 175, 0.12);
  transform: translateY(-2px);
  text-decoration: none;
}

.network-card-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--cobalt-deep);
}

.network-card-desc {
  font-size: 10.5px;
  color: var(--text-muted);
}

.network-card-badge {
  font-size: 9.5px;
  font-weight: bold;
  color: #059669;
  text-transform: uppercase;
}

/* Responsive Breakpoints */
@media (max-width: 768px) {
  .y2k-header-title {
    font-size: 20px;
  }
  .y2k-list-table th, .y2k-list-table td {
    padding: 8px 6px;
    font-size: 12px;
  }
  .y2k-monogram-favicon {
    width: 26px;
    height: 26px;
    font-size: 12px;
  }
  .seo-editorial-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

