/* ==========================================================================
   Daddy's Bedroom — P2P BitTorrent & Magnet Adult Release Tracker
   Seamless Pattern Background: img/logo.jpg with Frosted Glassmorphism
   Zero External Dependencies • Pure Vanilla CSS • Ultra High Performance
   ========================================================================== */

:root {
  --tracker-bg: rgba(15, 17, 25, 0.75);
  --tracker-surface: rgba(21, 24, 34, 0.70);
  --tracker-card: rgba(26, 30, 42, 0.72);
  --tracker-card-hover: rgba(36, 41, 58, 0.88);

  --accent-pink: #ff2a6d;
  --accent-pink-glow: rgba(255, 42, 109, 0.35);
  --accent-green: #05df72;
  --accent-green-dark: #00b85a;
  --accent-cyan: #00f0ff;
  --accent-gold: #f59e0b;
  --accent-blue: #3b82f6;

  --border-glass: rgba(255, 42, 109, 0.35);
  --border-light: rgba(255, 255, 255, 0.1);
  --border-row: rgba(255, 255, 255, 0.05);

  --text-main: #f8fafc;
  --text-muted: #cbd5e1;
  --text-dim: #94a3b8;

  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --shadow-tracker: 0 16px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(255, 42, 109, 0.2);
  --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Background image is img/logo.jpg with crisp repeat */
body {
  background-color: #d83a78;
  background-image: url('img/logo.jpg');
  background-repeat: repeat;
  background-attachment: fixed;
  background-size: 260px auto;
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 13.5px;
  line-height: 1.5;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  padding: 24px 12px 60px;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

/* ==========================================================================
   MAIN TRACKER CONTAINER (Frosted Dark Glass Over Pink Pattern)
   ========================================================================== */
.tracker-wrapper {
  max-width: 1380px;
  margin: 0 auto;
  background: rgba(15, 17, 25, 0.72);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-tracker);
  padding: 24px;
  backdrop-filter: blur(14px) saturate(170%);
  -webkit-backdrop-filter: blur(14px) saturate(170%);
}

/* ==========================================================================
   TOP TRACKER NETWORK BAR
   ========================================================================== */
.tracker-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(12, 14, 20, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 10px 18px;
  margin-bottom: 22px;
  font-family: var(--font-mono);
  font-size: 12px;
  flex-wrap: wrap;
  gap: 12px;
  backdrop-filter: blur(10px);
}

.topbar-node-group {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.node-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-green);
  font-weight: 800;
  letter-spacing: 0.5px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 10px var(--accent-green);
  animation: pulseGreen 2s infinite ease-in-out;
}

@keyframes pulseGreen {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

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

.node-meta strong {
  color: #fff;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.badge-p2p {
  background: linear-gradient(135deg, rgba(255, 42, 109, 0.25), rgba(0, 240, 255, 0.25));
  border: 1px solid var(--accent-pink);
  color: var(--accent-pink);
  font-weight: 800;
  padding: 3px 9px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.5px;
}

.trade-link {
  color: var(--accent-cyan);
  font-weight: 700;
}

.trade-link:hover {
  text-decoration: underline;
  color: #fff;
}

/* ==========================================================================
   HEADER & BRAND
   ========================================================================== */
.tracker-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  background: linear-gradient(180deg, rgba(24, 28, 40, 0.9) 0%, rgba(16, 18, 26, 0.92) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
  flex-wrap: wrap;
  backdrop-filter: blur(10px);
}

.tracker-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-pink), var(--accent-green), transparent);
}

.brand-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: #0f1118;
  border: 1px solid var(--accent-pink);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 15px rgba(255, 42, 109, 0.35);
}

.brand-icon-wrap img {
  max-width: 38px;
  max-height: 38px;
  object-fit: contain;
}

.brand-text h1 {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  line-height: 1.15;
}

.brand-text h1 .pink {
  color: var(--accent-pink);
  text-shadow: 0 0 15px var(--accent-pink-glow);
}

.brand-text h1 .green {
  color: var(--accent-green);
  text-shadow: 0 0 15px rgba(5, 223, 114, 0.3);
}

.brand-text p {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-top: 3px;
}

.header-stats-grid {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  flex-wrap: wrap;
}

.stat-chip {
  background: rgba(12, 14, 20, 0.85);
  border: 1px solid var(--border-light);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
}

.stat-chip strong {
  color: #fff;
}

.stat-chip.highlight strong {
  color: var(--accent-green);
}

/* ==========================================================================
   FEATURED SPOTLIGHT TORRENT OF THE DAY (vids.mp4)
   ========================================================================== */
.spotlight-wrapper {
  background: rgba(20, 24, 34, 0.72);
  border: 1px solid rgba(5, 223, 114, 0.35);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 28px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  position: relative;
  backdrop-filter: blur(10px);
}

.spotlight-ribbon {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 10px;
}

.ribbon-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--accent-green);
  letter-spacing: 0.8px;
}

.ribbon-status {
  font-family: var(--font-mono);
  font-size: 11px;
  background: rgba(5, 223, 114, 0.15);
  border: 1px solid var(--accent-green);
  color: var(--accent-green);
  padding: 3px 9px;
  border-radius: var(--radius-sm);
  font-weight: 700;
}

.spotlight-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 20px;
  align-items: center;
}

.spotlight-video-box {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.spotlight-video-box video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.spotlight-meta-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.spotlight-torrent-name {
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
}

.torrent-health-bar-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
}

.health-label-row {
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
}

.health-percent {
  color: var(--accent-green);
  font-weight: 700;
}

.health-track {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.health-fill {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent-green), var(--accent-cyan));
  border-radius: var(--radius-sm);
}

.spotlight-specs-table {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  background: rgba(12, 14, 20, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-family: var(--font-mono);
  font-size: 11.5px;
}

.spec-item span:first-child {
  color: var(--text-dim);
  display: block;
  font-size: 10px;
  text-transform: uppercase;
}

.spec-item span:last-child {
  color: #fff;
  font-weight: 700;
}

.seeds-green {
  color: var(--accent-green) !important;
}

.peers-blue {
  color: var(--accent-cyan) !important;
}

.spotlight-actions-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-magnet {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(135deg, var(--accent-pink), #c2185b);
  color: #fff;
  font-weight: 800;
  font-size: 12px;
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(255, 42, 109, 0.35);
  transition: var(--transition);
}

.btn-magnet:hover {
  background: linear-gradient(135deg, #ff4081, var(--accent-pink));
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 42, 109, 0.5);
}

.btn-torrent-dl {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(27, 32, 46, 0.9);
  border: 1px solid var(--accent-green);
  color: var(--accent-green);
  font-weight: 800;
  font-size: 12px;
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: var(--transition);
}

.btn-torrent-dl:hover {
  background: var(--accent-green);
  color: #000;
  box-shadow: 0 4px 15px rgba(5, 223, 114, 0.3);
}

/* ==========================================================================
   SEARCH & FILTER BAR
   ========================================================================== */
.tracker-controls-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(21, 24, 34, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  margin-bottom: 20px;
  gap: 16px;
  flex-wrap: wrap;
  backdrop-filter: blur(10px);
}

.torrent-filter-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.tab-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.tab-btn.active {
  background: var(--accent-pink);
  color: #fff;
  border-color: var(--accent-pink);
  box-shadow: 0 0 12px rgba(255, 42, 109, 0.4);
}

.torrent-search-box {
  position: relative;
  min-width: 260px;
  flex: 1;
  max-width: 380px;
}

.torrent-search-box input {
  width: 100%;
  background: rgba(12, 14, 20, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 13px;
  padding: 8px 12px 8px 34px;
  outline: none;
  transition: var(--transition);
}

.torrent-search-box input:focus {
  border-color: var(--accent-pink);
  background: rgba(20, 23, 34, 0.95);
  box-shadow: 0 0 10px var(--accent-pink-glow);
}

.search-ico {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent-pink);
  font-size: 13px;
  pointer-events: none;
}

/* ==========================================================================
   BITTORRENT RELEASES TABLE (Frosted Glass Tracker Table)
   ========================================================================== */
.torrent-table-card {
  background: rgba(21, 24, 34, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 28px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
}

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

.torrent-table thead {
  background: rgba(12, 14, 20, 0.95);
  border-bottom: 2px solid var(--accent-pink);
}

.torrent-table th {
  padding: 12px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  white-space: nowrap;
}

.th-format { width: 65px; text-align: center; }
.th-name { min-width: 320px; }
.th-cat { width: 130px; }
.th-size { width: 110px; text-align: right; }
.th-seeds { width: 85px; text-align: center; color: var(--accent-green) !important; }
.th-peers { width: 85px; text-align: center; color: var(--accent-cyan) !important; }
.th-action { width: 140px; text-align: center; }

.torrent-table tbody tr {
  border-bottom: 1px solid var(--border-row);
  background: rgba(21, 24, 34, 0.7);
  transition: var(--transition);
  cursor: pointer;
}

.torrent-table tbody tr:nth-child(even) {
  background: rgba(16, 19, 27, 0.7);
}

.torrent-table tbody tr:hover {
  background: rgba(36, 42, 60, 0.92);
}

.torrent-table td {
  padding: 11px 14px;
  vertical-align: middle;
}

/* Format Icon */
.format-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.format-icon-wrap img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

/* Title & URL */
.torrent-title-link {
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  display: inline-block;
  margin-bottom: 3px;
}

.torrent-table tbody tr:hover .torrent-title-link {
  color: var(--accent-pink);
  text-shadow: 0 0 10px var(--accent-pink-glow);
}

.torrent-url-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--accent-cyan);
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.25);
  padding: 1px 7px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  text-decoration: none;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.torrent-url-pill:hover {
  background: rgba(0, 240, 255, 0.25);
  color: #fff;
  border-color: var(--accent-cyan);
}

/* Category Pill */
.tracker-cat-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
}

.cat-leak {
  background: rgba(255, 42, 109, 0.2);
  border: 1px solid rgba(255, 42, 109, 0.4);
  color: var(--accent-pink);
}

.cat-taboo {
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: var(--accent-gold);
}

.cat-amateur {
  background: rgba(5, 223, 114, 0.2);
  border: 1px solid rgba(5, 223, 114, 0.4);
  color: var(--accent-green);
}

.cat-cinema {
  background: rgba(0, 240, 255, 0.2);
  border: 1px solid rgba(0, 240, 255, 0.4);
  color: var(--accent-cyan);
}

/* File Size */
.torrent-size {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
  color: #fff;
  text-align: right;
  white-space: nowrap;
}

/* Seeds & Peers */
.seeds-count {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  color: var(--accent-green);
  text-align: center;
}

.peers-count {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-cyan);
  text-align: center;
}

/* Row Action Buttons */
.row-actions-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-magnet-mini {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 4px 8px;
  background: rgba(255, 42, 109, 0.15);
  border: 1px solid var(--accent-pink);
  color: var(--accent-pink);
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 700;
  transition: var(--transition);
}

.btn-magnet-mini:hover {
  background: var(--accent-pink);
  color: #fff;
  box-shadow: 0 0 10px var(--accent-pink-glow);
}

.btn-download-mini {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 4px 8px;
  background: rgba(5, 223, 114, 0.15);
  border: 1px solid var(--accent-green);
  color: var(--accent-green);
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 700;
  transition: var(--transition);
}

.btn-download-mini:hover {
  background: var(--accent-green);
  color: #000;
  box-shadow: 0 0 10px rgba(5, 223, 114, 0.4);
}

/* ==========================================================================
   37 SEARCH TAGS SECTION
   ========================================================================== */
.tags-wrapper-panel {
  background: rgba(20, 24, 34, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

.tags-header-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--accent-pink);
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.tags-header-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--accent-pink), transparent);
}

.tags-pills-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tracker-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(12, 14, 20, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-muted);
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.tracker-tag-pill:hover {
  background: var(--accent-pink);
  border-color: var(--accent-pink);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(255, 42, 109, 0.35);
}

/* ==========================================================================
   SEO KEYWORD CLOUD
   ========================================================================== */
.seo-keyword-panel {
  background: rgba(15, 17, 24, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

.seo-title-text {
  font-size: 12.5px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.seo-keywords-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.seo-keyword-item {
  background: rgba(23, 27, 38, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-dim);
  font-size: 11px;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.seo-keyword-item:hover {
  color: var(--accent-green);
  border-color: var(--accent-green);
}

/* ==========================================================================
   FOOTER & COMPLIANCE
   ========================================================================== */
.tracker-footer {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 22px;
  color: var(--text-dim);
  font-size: 11.5px;
  line-height: 1.6;
}

.footer-nav-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 12px;
  font-weight: 700;
  color: var(--text-muted);
}

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

.footer-disclaimer-box {
  max-width: 860px;
  margin: 0 auto 12px;
  font-size: 11px;
  color: #94a3b8;
}

.footer-copy-stat {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 992px) {
  .spotlight-content-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  body {
    padding: 10px 6px 40px;
  }

  .tracker-wrapper {
    padding: 14px;
  }

  .th-seeds, .td-seeds,
  .th-peers, .td-peers {
    display: none;
  }
}

@media (max-width: 580px) {
  .th-size, .td-size,
  .th-cat, .td-cat {
    display: none;
  }
}