/* ========================================================
   LIL HOES :: NODE-36
   THEME: CRIMSON & DARK RUBY ELITE RELEASE SYNDICATE
   ARCHETYPE: 2-COLUMN DIRECT ARCHIVE BOARD
   ======================================================== */

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

:root {
  --bg-deep: #0A0506;
  --bg-board: #0E0709;
  --bg-card: #120709;
  --bg-card-hover: #1C0A0E;
  --border-ruby: rgba(220, 38, 38, 0.22);
  --border-ruby-hover: rgba(239, 68, 68, 0.65);
  --ruby-primary: #DC2626;
  --ruby-glow: #EF4444;
  --amber-gold: #F59E0B;
  --text-pure: #FFF1F2;
  --text-dim: #94A3B8;
  --text-muted: #64748B;
}

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

body {
  background-color: var(--bg-deep);
  background-image: 
    radial-gradient(circle at 15% 10%, rgba(220, 38, 38, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 85% 15%, rgba(239, 68, 68, 0.10) 0%, transparent 45%),
    radial-gradient(circle at 50% 65%, rgba(220, 38, 38, 0.05) 0%, transparent 50%),
    linear-gradient(180deg, #0A0506 0%, #040102 100%);
  background-attachment: fixed;
  color: var(--text-pure);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  min-height: 100vh;
  line-height: 1.45;
  padding: 16px 12px 40px 12px;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Master Board Container */
.ruby_board {
  max-width: 1240px;
  margin: 0 auto;
  background: var(--bg-board);
  border: 1px solid var(--border-ruby);
  border-radius: 8px;
  box-shadow: 0 12px 45px rgba(0, 0, 0, 0.75), 0 0 25px rgba(220, 38, 38, 0.08);
  overflow: hidden;
}

/* 1. Retro System Top Status Bar */
.ruby_top_bar {
  background: #060203;
  color: #FCA5A5;
  padding: 8px 16px;
  font-size: 11px;
  font-family: 'Space Grotesk', monospace;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--ruby-primary);
  flex-wrap: wrap;
  gap: 8px;
}

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

.ruby_pulse {
  color: #EF4444;
  font-weight: 800;
  animation: rubyPulse 2s infinite;
}

@keyframes rubyPulse {
  0%, 100% { opacity: 1; filter: drop-shadow(0 0 3px #EF4444); }
  50% { opacity: 0.45; filter: none; }
}

.ruby_top_right {
  color: var(--amber-gold);
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* 2. Compact Brand Header */
.ruby_header {
  padding: 24px 20px 20px 20px;
  text-align: center;
  background: linear-gradient(180deg, #18090C 0%, #0E0709 100%);
  border-bottom: 1px solid rgba(220, 38, 38, 0.22);
}

.ruby_title {
  margin: 0;
  font-size: 36px;
  font-weight: 900;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  font-family: 'Outfit', sans-serif;
  line-height: 1.15;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.ruby_title a {
  color: #EF4444;
  transition: color 0.2s;
}

.ruby_title a:hover {
  color: #F87171;
  text-decoration: none;
}

.ruby_title a span {
  color: #FFFFFF;
  text-shadow: 0 0 15px rgba(239, 68, 68, 0.5);
}

.ruby_badge_node {
  background: rgba(220, 38, 38, 0.18);
  color: #EF4444;
  border: 1px solid rgba(220, 38, 38, 0.45);
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  font-family: 'Space Grotesk', monospace;
  vertical-align: middle;
}

.ruby_desc {
  font-size: 13px;
  color: #94A3B8;
  margin-top: 6px;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.ruby_stat_strip {
  margin-top: 10px;
  font-size: 11px;
  color: #F87171;
  font-family: 'Space Grotesk', monospace;
  font-weight: 700;
  letter-spacing: 0.6px;
}

/* Terminal Command / Instant Filter Bar */
.ruby_cmd_bar {
  margin: 16px auto 0 auto;
  max-width: 840px;
  display: flex;
  align-items: center;
  background: #060203;
  border: 1px solid rgba(220, 38, 38, 0.35);
  border-radius: 6px;
  padding: 6px 12px;
  gap: 12px;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.5);
}

.ruby_prompt {
  color: #EF4444;
  font-weight: 800;
  font-family: 'Space Grotesk', monospace;
  font-size: 11px;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.ruby_cmd_input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #FFF1F2;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
}

.ruby_cmd_input::placeholder {
  color: #555555;
  font-size: 12px;
}

.ruby_cmd_badge {
  background: rgba(245, 158, 11, 0.15);
  color: var(--amber-gold);
  border: 1px solid rgba(245, 158, 11, 0.35);
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-family: 'Space Grotesk', monospace;
  font-weight: 700;
  white-space: nowrap;
}

.ruby_cmd_trade {
  background: linear-gradient(135deg, #DC2626 0%, #991B1B 100%);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 11px;
  font-family: 'Space Grotesk', monospace;
  padding: 5px 12px;
  border-radius: 4px;
  transition: all 0.2s;
  white-space: nowrap;
}

.ruby_cmd_trade:hover {
  filter: brightness(1.2);
  transform: translateY(-1px);
}

/* 3. Featured Sponsor Widget in Sidebar */
.ruby_spotlight_widget {
  padding: 0;
}

.ruby_banner_wrap {
  padding: 10px;
  display: flex;
  justify-content: center;
  background: #060203;
}

.ruby_banner_img {
  max-width: 100%;
  height: auto;
  border: 1px solid rgba(220, 38, 38, 0.3);
  border-radius: 4px;
  display: block;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.ruby_banner_wrap:hover .ruby_banner_img {
  border-color: #EF4444;
  transform: scale(1.02);
}

/* Category Section Header */
.cat_header {
  margin: 0;
  background: linear-gradient(90deg, #450A0A 0%, #200404 100%);
  color: #FFF1F2;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(239, 68, 68, 0.25);
  border-bottom: 1px solid rgba(220, 38, 38, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-family: 'Outfit', sans-serif;
}

.cat_header.side_header {
  padding: 8px 12px;
  font-size: 12px;
}

.cat_count_badge {
  background: var(--ruby-primary);
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 900;
  padding: 2px 8px;
  border-radius: 3px;
  font-family: 'Space Grotesk', monospace;
  letter-spacing: 0.5px;
}

/* 4. Master 2-Column Container */
.ruby_container {
  display: flex;
  gap: 16px;
  padding: 18px;
  background: #0A0506;
}

.ruby_main_col {
  flex: 2.2;
  min-width: 0;
}

.ruby_sidebar_col {
  flex: 1;
  min-width: 310px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* 85 Release Cards Grid */
.ruby_releases_grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}

.ruby_release_card {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-ruby);
  border-radius: 6px;
  text-decoration: none;
  color: #E2E8F0;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.ruby_release_card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-ruby-hover);
  transform: translateX(4px);
  box-shadow: 0 4px 18px rgba(220, 38, 38, 0.22);
}

.ruby_card_id {
  font-family: 'Space Grotesk', monospace;
  font-size: 11px;
  font-weight: 800;
  color: #EF4444;
  min-width: 32px;
}

.ruby_card_body {
  flex: 1;
  min-width: 0;
  margin: 0 12px;
}

.ruby_card_title {
  font-size: 13px;
  font-weight: 700;
  color: #FFF1F2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ruby_release_card:hover .ruby_card_title {
  color: #FCA5A5;
}

.ruby_card_meta {
  font-size: 11px;
  color: #94A3B8;
  margin-top: 3px;
  font-family: 'Space Grotesk', monospace;
}

.ruby_rating {
  color: var(--amber-gold);
  font-weight: 800;
}

.ruby_card_right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.ruby_badge_res {
  background: rgba(245, 158, 11, 0.15);
  color: var(--amber-gold);
  border: 1px solid rgba(245, 158, 11, 0.35);
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 3px;
  font-family: 'Space Grotesk', monospace;
}

.ruby_card_btn {
  background: rgba(220, 38, 38, 0.15);
  color: #EF4444;
  border: 1px solid rgba(220, 38, 38, 0.35);
  font-size: 10px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 4px;
  font-family: 'Space Grotesk', monospace;
  transition: all 0.2s;
}

.ruby_release_card:hover .ruby_card_btn {
  background: var(--ruby-primary);
  color: #FFFFFF;
  border-color: var(--ruby-primary);
}

/* Sidebar Blocks */
.ruby_side_block {
  background: #100608;
  border: 1px solid var(--border-ruby);
  border-radius: 6px;
  overflow: hidden;
}

.ruby_tags_box {
  padding: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-height: 480px;
  overflow-y: auto;
}

.ruby_tag_pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #18090C;
  border: 1px solid rgba(220, 38, 38, 0.2);
  color: #CBD5E1;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.15s;
}

.ruby_tag_pill:hover {
  background: var(--ruby-primary);
  color: #FFFFFF;
  border-color: #EF4444;
  transform: translateY(-1px);
}

.ruby_tag_icon {
  font-size: 10px;
  opacity: 0.7;
}

.ruby_hubs_list {
  padding: 4px 0;
  display: flex;
  flex-direction: column;
}

.ruby_hub_link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 14px;
  font-size: 12px;
  color: #E2E8F0;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: all 0.15s ease;
}

.ruby_hub_link:hover {
  background: rgba(220, 38, 38, 0.14);
  color: #FCA5A5;
  padding-left: 18px;
}

.ruby_hub_count {
  color: var(--amber-gold);
  font-size: 10px;
  font-weight: bold;
  font-family: 'Space Grotesk', monospace;
}

.ruby_partners_list {
  padding: 4px 0;
  display: flex;
  flex-direction: column;
}

.ruby_partner_item {
  display: flex;
  align-items: center;
  padding: 8px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  text-decoration: none;
  color: #E2E8F0;
  transition: background 0.15s;
}

.ruby_partner_item:hover {
  background: rgba(220, 38, 38, 0.14);
  color: #FCA5A5;
}

.ruby_partner_num {
  font-family: 'Space Grotesk', monospace;
  font-size: 11px;
  font-weight: bold;
  color: #EF4444;
  margin-right: 8px;
}

.ruby_partner_info {
  flex: 1;
  min-width: 0;
}

.ruby_partner_name {
  font-size: 12px;
  font-weight: 700;
  color: #FFF1F2;
  display: block;
}

.ruby_partner_sub {
  font-size: 10px;
  color: #888888;
  display: block;
}

.ruby_partner_arrow {
  color: #EF4444;
  font-size: 12px;
  font-weight: bold;
}

/* 5. Bottom 40 Keywords Matrix */
.ruby_keys_matrix {
  padding: 14px 18px;
  background: #0E0709;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ruby_key_pill {
  background: #15090C;
  border: 1px solid rgba(220, 38, 38, 0.2);
  color: #94A3B8;
  font-size: 11px;
  padding: 4px 9px;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.15s;
}

.ruby_key_pill:hover {
  background: var(--ruby-primary);
  color: #FFFFFF;
  border-color: #EF4444;
}

/* 6. Webmaster Traffic Trade Strip */
.ruby_trade_strip {
  padding: 18px 24px;
  background: #060203;
  border-top: 1px solid rgba(220, 38, 38, 0.3);
  border-bottom: 1px solid rgba(220, 38, 38, 0.3);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.ruby_trade_h {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: #EF4444;
  display: block;
}

.ruby_trade_sub {
  font-size: 11px;
  color: #94A3B8;
  margin-top: 3px;
  display: block;
  font-family: 'Space Grotesk', monospace;
}

.ruby_trade_button {
  background: linear-gradient(135deg, #DC2626 0%, #991B1B 100%);
  color: #FFFFFF;
  font-weight: 900;
  font-size: 12px;
  padding: 10px 20px;
  border-radius: 5px;
  transition: all 0.2s;
  white-space: nowrap;
  font-family: 'Space Grotesk', monospace;
}

.ruby_trade_button:hover {
  filter: brightness(1.2);
  box-shadow: 0 0 16px rgba(220, 38, 38, 0.5);
  transform: translateY(-1px);
}

/* 7. Legal & Compliance Footer */
.ruby_footer {
  padding: 24px 20px;
  text-align: center;
  font-size: 11px;
  color: #64748B;
  background: #040102;
  line-height: 1.7;
}

.ruby_footer a {
  color: #EF4444;
  text-decoration: underline;
}

.ruby_footer a:hover {
  color: #F87171;
}

/* Responsive Breakpoints */
@media (max-width: 960px) {
  .ruby_container {
    flex-direction: column;
  }
  .ruby_sidebar_col {
    min-width: 100%;
  }
}

@media (max-width: 600px) {
  body {
    padding: 8px 6px 30px 6px;
  }
  .ruby_title {
    font-size: 28px;
  }
  .ruby_trade_strip {
    flex-direction: column;
    text-align: center;
  }
}