/* MyBTC.World forum overrides (clean, no inline output) */

/* Background similar to faucet vibe (dark, subtle gradients) */
html, body {
  background-color: #050912;
  background-image:
    radial-gradient(1000px 420px at 0% -5%, rgba(0,229,255,.10), transparent 60%),
    radial-gradient(900px 380px at 100% 0%, rgba(255,43,214,.08), transparent 58%),
    linear-gradient(180deg, #050912 0%, #07101f 50%, #04070d 100%);
  background-attachment: fixed;
  color: #dbe9f7;
}

/* Ensure header/title doesn't cover dropdown menus */
#top_info, .dropmenu {
  position: relative;
  z-index: 5000;
}
.popup_container, #top_info .popup_container, .dropmenu .popup_container {
  z-index: 99999 !important;
}
#logo, #forumtitle, .forumtitle, #header {
  position: relative;
  z-index: 10;
}

/* --- FRONT PAGE: make board rows dark (Board Index) --- */
#boardindex_table, .boardindex_table {
  background: transparent !important;
}

/* The main row wrapper on SMF board index */
#boardindex_table .up_contain,
.boardindex_table .up_contain {
  background: #070d18 !important;
  border: 1px solid rgba(0,229,255,.12) !important;
}

/* If the row also has windowbg classes */
#boardindex_table .up_contain.windowbg,
#boardindex_table .up_contain.windowbg2,
.boardindex_table .up_contain.windowbg,
.boardindex_table .up_contain.windowbg2 {
  background: #070d18 !important;
}

/* Make sure child areas don’t turn white */
#boardindex_table .info,
#boardindex_table .board_stats,
#boardindex_table .lastpost,
#boardindex_table .children,
.boardindex_table .info,
.boardindex_table .board_stats,
.boardindex_table .lastpost,
.boardindex_table .children {
  background: transparent !important;
  color: #b7c7d8 !important;
  border-color: rgba(0,229,255,.10) !important;
}

/* Titles/links on board index */
#boardindex_table .subject a,
#boardindex_table .info .subject a,
.boardindex_table .subject a,
.boardindex_table .info .subject a {
  color: #e6f2ff !important;
  text-shadow: none !important;
}
#boardindex_table a,
.boardindex_table a {
  color: #bcd8ff !important;
}
#boardindex_table a:hover,
.boardindex_table a:hover {
  color: #ffffff !important;
}

/* Category bars on index */
#boardindex_table .cat_bar,
.boardindex_table .cat_bar,
.cat_bar {
  background: #091121 !important;
  border: 1px solid rgba(0,229,255,.16) !important;
  box-shadow: none !important;
}
#boardindex_table .cat_bar h3,
#boardindex_table .cat_bar h3 a,
.cat_bar h3,
.cat_bar h3 a {
  color: #e9f6ff !important;
  text-shadow: none !important;
}

/* Fix invisible text when something stays light */
.windowbg, .windowbg2 {
  color: #dbe9f7;
}

/* Make sure dropdown menus are readable */
.popup_container {
  background: #0b1220 !important;
  color: #e9f6ff !important;
  border: 1px solid rgba(0,229,255,.15) !important;
}
.popup_container a { color: #bcd8ff !important; }
.popup_container a:hover { color: #ffffff !important; }


/* --- Readability pass: bright text + neon links on dark board index --- */
#boardindex_table .up_contain,
.boardindex_table .up_contain {
  color: #eef6ff !important;
}

#boardindex_table .up_contain .subject,
#boardindex_table .up_contain .subject a,
#boardindex_table .up_contain .board_description,
#boardindex_table .up_contain .board_description *,
#boardindex_table .up_contain .children,
#boardindex_table .up_contain .children *,
#boardindex_table .up_contain .board_stats,
#boardindex_table .up_contain .board_stats *,
#boardindex_table .up_contain .lastpost,
#boardindex_table .up_contain .lastpost *,
#boardindex_table .up_contain .smalltext,
#boardindex_table .up_contain .smalltext *,
.boardindex_table .up_contain .subject,
.boardindex_table .up_contain .subject a,
.boardindex_table .up_contain .board_description,
.boardindex_table .up_contain .board_description *,
.boardindex_table .up_contain .children,
.boardindex_table .up_contain .children *,
.boardindex_table .up_contain .board_stats,
.boardindex_table .up_contain .board_stats *,
.boardindex_table .up_contain .lastpost,
.boardindex_table .up_contain .lastpost *,
.boardindex_table .up_contain .smalltext,
.boardindex_table .up_contain .smalltext * {
  color: #eef6ff !important;
  opacity: 1 !important;
}

#boardindex_table .up_contain a,
.boardindex_table .up_contain a {
  color: #63e6ff !important; /* neon cyan */
  text-decoration-color: rgba(99,230,255,.55);
}
#boardindex_table .up_contain a:hover,
.boardindex_table .up_contain a:hover,
#boardindex_table .up_contain a:focus,
.boardindex_table .up_contain a:focus {
  color: #ff5fe0 !important; /* neon pink */
  text-shadow: 0 0 8px rgba(255,95,224,.28);
}

/* Keep board titles extra bright */
#boardindex_table .up_contain .subject a,
.boardindex_table .up_contain .subject a {
  color: #ffffff !important;
  font-weight: 700;
}

/* Category title readability */
#boardindex_table .cat_bar,
.boardindex_table .cat_bar,
.cat_bar {
  color: #eaf7ff !important;
}
#boardindex_table .cat_bar h3,
#boardindex_table .cat_bar h3 a,
.boardindex_table .cat_bar h3,
.boardindex_table .cat_bar h3 a,
.cat_bar h3,
.cat_bar h3 a {
  color: #f3fbff !important;
  opacity: 1 !important;
}

/* --- Top menu readability (default + cyberpunk) --- */
#main_menu, #menu_nav, .dropmenu, .dropmenu ul {
  color: #eaf7ff !important;
}
#main_menu a, #menu_nav a, .dropmenu a, .dropmenu li a, .buttonlist a {
  color: #63e6ff !important;
  text-shadow: none !important;
}
#main_menu a:hover, #menu_nav a:hover, .dropmenu a:hover, .dropmenu li a:hover,
#main_menu a:focus, #menu_nav a:focus, .dropmenu a:focus, .dropmenu li a:focus {
  color: #ff5fe0 !important;
}
/* Active/current menu tab should stay readable */
#main_menu .active a, #menu_nav .active a, .dropmenu li.active > a,
#main_menu .current_section > a, .dropmenu li.current_section > a {
  color: #0a0f1a !important;
}

/* Dropdown menu panels/text */
.popup_container, .popup_container *, .dropmenu ul, .dropmenu ul * {
  color: #eef6ff !important;
}
.popup_container a, .dropmenu ul a { color: #63e6ff !important; }
.popup_container a:hover, .dropmenu ul a:hover { color: #ff5fe0 !important; }

/* --- Board category bars: dark background + white text --- */
#boardindex_table .cat_bar,
.boardindex_table .cat_bar,
.cat_bar,
.catbg,
.catbg2,
.catbg3,
.title_bar,
.titlebg,
.titlebg2 {
  background: #07111f !important;
  background-image: none !important;
  border-color: rgba(99,230,255,.25) !important;
  color: #f4fbff !important;
}

#boardindex_table .cat_bar h3,
#boardindex_table .cat_bar h3 a,
.boardindex_table .cat_bar h3,
.boardindex_table .cat_bar h3 a,
.cat_bar h3,
.cat_bar h3 a,
.catbg, .catbg a, .catbg2, .catbg2 a, .catbg3, .catbg3 a,
.titlebg, .titlebg a, .titlebg2, .titlebg2 a {
  background: transparent !important;
  background-image: none !important;
  color: #ffffff !important;
  opacity: 1 !important;
  text-shadow: none !important;
}


/* --- Stop animated background motion (guest requested) --- */
/* Disable/hide common cyberpunk background layers and bitcoin rain canvas */
#btcRainCanvas,
#btcRainCanvas.cp-btcrain,
.cp-btcrain,
.cp-aurora,
.cp-grid,
.cp-noise,
canvas.cp-btcrain,
canvas[id*="Rain"],
canvas[id*="rain"] {
  display: none !important;
  animation: none !important;
}

/* Freeze any animated pseudo/background layers if present */
html::before, html::after,
body::before, body::after,
#wrapper::before, #wrapper::after,
#content_section::before, #content_section::after,
#main_content_section::before, #main_content_section::after,
#forum::before, #forum::after,
.forum::before, .forum::after {
  animation: none !important;
  transition: none !important;
  transform: none !important;
}

/* Keep background visuals static */
html, body, #wrapper, #content_section, #main_content_section {
  background-attachment: fixed !important;
  background-position: center top !important;
}

/* --- Top menu light background pass (requested) --- */
#main_menu,
#menu_nav,
#main_menu .dropmenu,
#menu_nav .dropmenu,
#main_menu > ul,
#menu_nav > ul,
#top_section .dropmenu {
  background: #dfe7ee !important;
  background-image: linear-gradient(180deg, #edf3f8 0%, #d8e1ea 100%) !important;
  border: 1px solid rgba(7,17,31,.15) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8) !important;
}

#main_menu li,
#menu_nav li,
.dropmenu li {
  background: transparent !important;
}

/* Inactive menu links should be dark/readable on light bar */
#main_menu a,
#menu_nav a,
.dropmenu > li > a,
#main_menu .button_strip_menu a,
#main_menu .buttonlist a {
  color: #0e1b2e !important;
  text-shadow: none !important;
}

#main_menu a:hover,
#menu_nav a:hover,
.dropmenu > li > a:hover,
#main_menu a:focus,
#menu_nav a:focus,
.dropmenu > li > a:focus {
  color: #008fb3 !important; /* neon-ish cyan on light */
}

/* Keep active tab readable (theme may use yellow tab bg already) */
#main_menu .active > a,
#menu_nav .active > a,
.dropmenu li.active > a,
#main_menu .current_section > a,
#menu_nav .current_section > a,
.dropmenu li.current_section > a {
  color: #111827 !important;
  text-shadow: none !important;
}

/* Top strip wrapper sometimes remains dark; lighten it too */
#top_section,
#top_header,
#headerarea .navigate_section {
  background-color: transparent !important;
}
