/* ==========================================================================
   MODS.VG — ULTIMATE NEXT-GEN GAMING HUB RESTYLE
   100% Drop-in Replacement (Toate clasele ?i valorile originale incluse)
   ========================================================================== */

:root {
  /* Fundaluri cu profunzime */
  --bg-body: #090b10;
  --bg-wrapper: #0f131c;
  --bg-card: #151b28;
  --bg-card-alt: #1a2232;
  --bg-card-hover: #212b3f;
  --bg-input: #0b0e15;

  /* Borduri & Lumini */
  --border-dark: #06080c;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.14);
  --border-glow: rgba(56, 189, 248, 0.45);

  /* Accente Gaming */
  --accent-cyan: #38bdf8;
  --accent-cyan-bright: #7dd3fc;
  --accent-indigo: #6366f1;
  --accent-gold: #fbbf24;
  --accent-orange: #f97316;
  --accent-emerald: #10b981;

  /* Text */
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  /* Forme & Umbre */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.75);
  --transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
}

/* ==========================================================================
   BASE & TYPOGRAPHY
   ========================================================================== */
body {
  background-color: var(--bg-body);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(56, 189, 248, 0.14), transparent),
    radial-gradient(ellipse 50% 40% at 90% 15%, rgba(99, 102, 241, 0.10), transparent),
    linear-gradient(180deg, #090b10 0%, #0d111a 100%);
  background-attachment: fixed;
  font-size: 0.875rem;
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, Roboto, sans-serif;
  color: var(--text-primary);
  margin: 0;
  padding: 18px 12px 40px 12px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent-cyan-bright);
  text-decoration: none;
}

p {
  padding: 2px 0;
  margin: 0;
}

.alt a {
  color: var(--accent-gold);
  text-decoration: none;
}

.alt a:hover {
  color: #fde047;
  text-decoration: underline;
}

.altg a {
  color: var(--text-secondary);
  text-decoration: none;
}

.altg a:hover {
  color: var(--text-primary);
  text-decoration: underline;
}

a.pgitem:link {
  font-weight: 700;
  padding: 3px 8px;
  background: var(--bg-card-alt);
  border-radius: var(--radius-xs);
  border: 1px solid var(--border-subtle);
}

.pointer, .pointer a, .pointer a:hover {
  cursor: pointer;
}

/* ==========================================================================
   MAIN CONTAINERS
   ========================================================================== */
.width {
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  margin: 0 auto;
  max-width: 1280px;
  background: var(--bg-wrapper);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(56, 189, 248, 0.05);
  overflow: hidden;
}

.site-content {
  background: transparent;
  padding: 14px;
  border: none;
}

.page-content {
  background: var(--bg-card);
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

/* ==========================================================================
   FORMS, INPUTS & BUTTONS
   ========================================================================== */
textarea, select, input {
  background: var(--bg-input);
  color: var(--text-primary);
  padding: 8px 12px;
  font-size: 13.5px;
  font-family: inherit;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  outline: none;
  transition: var(--transition);
}

textarea:focus, select:focus, input:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.18);
  background: #0e131f;
}

input::placeholder, textarea::placeholder {
  opacity: 0.55;
  color: var(--text-muted);
}

blockquote {
  border-left: 4px solid var(--accent-gold);
  padding: 10px 16px;
  margin: 10px 0;
  color: var(--text-primary);
  font-style: italic;
  background: linear-gradient(90deg, rgba(251, 191, 36, 0.12) 0%, rgba(251, 191, 36, 0.03) 100%);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

button, .member-bar .button, input[type=button], input[type=submit], input[type=reset] {
  border-radius: var(--radius-sm);
  border: 1px solid rgba(56, 189, 248, 0.45);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, #1e293b 0%, #151e2e 100%);
  color: var(--accent-cyan-bright);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  padding: 7px 14px;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
}

button:hover, .member-bar .button:hover, input[type=button]:hover, input[type=submit]:hover, input[type=reset]:hover {
  color: #06090f;
  background: linear-gradient(180deg, #7dd3fc 0%, #38bdf8 100%);
  border-color: var(--accent-cyan-bright);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.45);
  transform: translateY(-1px);
}

.fade-gray {
  width: 14px;
  height: 14px;
  fill: var(--text-muted);
  display: inline-block;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%);
  mask-type: alpha;
  -webkit-mask-type: alpha;
  background-color: transparent;
}

/* ==========================================================================
   ROWS, BOXES & TITLES
   ========================================================================== */
.row1 {
  background: var(--bg-card);
}

.row2 {
  background: var(--bg-card-alt);
}

.rowbox {
  background: var(--bg-card-alt);
  padding: 12px;
  margin: 10px 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.rowbox2 {
  background: var(--bg-card-alt);
  padding: 10px 14px;
  margin: 8px 0 0 0;
  display: inline-block;
  width: auto;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
}

.row_border {
  border: 1px solid var(--border-subtle);
}

.box {
  border: 1px solid var(--border-subtle);
  padding: 10px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
}

.box2 {
  border: 1px solid var(--border-subtle);
  padding: 10px;
  background: var(--bg-card);
  margin-top: 8px;
  margin-bottom: 8px;
  border-radius: var(--radius-md);
}

.maintitle {
  background: linear-gradient(90deg, #1d2638 0%, #161d2b 100%);
  border-bottom: 1px solid var(--border-medium);
  border-left: 3px solid var(--accent-cyan);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.maintitle-twoside {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.maintitle-left {
  flex: 1;
}

.maintitle-right {
  white-space: nowrap;
  margin-left: 8px;
}

.subtitle {
  background: #111622;
  border-bottom: 1px solid var(--border-subtle);
}

.subtitlebg {
  background: #111622;
}

.maintitle h2 {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--text-primary);
  margin: 0;
  padding: 0;
}

.subtitle h3, .subtitle h2 {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  margin: 0;
  padding: 0;
}

.box_title .maintitle {
  padding: 11px 14px;
}

.box_title2 .maintitle {
  padding: 7px 10px;
}

/* ==========================================================================
   ALL UTILITY CLASSES (SIZES, WEIGHTS, PADDINGS, MARGINS & ALL COLORS)
   ========================================================================== */
.desc { font-size: 14px; color: var(--text-secondary); }
.tsmall { font-size: 11px; }
.tmid { font-size: 12.5px; }
.tlarge { font-size: 16px; }
.tstrong { font-size: 14px; font-weight: 700; }
.tbig { font-size: 24px; font-weight: 700; }
.thuge { font-size: 2.5em; font-weight: 800; }
.bold { font-weight: 700; }
.hp { cursor: help; }
.underline { text-decoration: underline; text-decoration-color: var(--text-dim); }

.pa2 { padding: 2px; }
.pa4 { padding: 4px; }
.pa8 { padding: 8px; }
.pa12 { padding: 12px; }
.pa16 { padding: 16px; }
.pb4 { margin-bottom: 4px; }
.pb10 { margin-bottom: 10px; }
.pb15 { margin-bottom: 15px; }

/* Culorile tale originale — calibrate pentru contrast perfect pe fundal dark */
.white { color: #ffffff; }
.gold { color: #ffd800; }
.grey { color: #8d99ae; }
.greylight { color: #cbd5e1; }
.red { color: #ff4e4e; }
.redlight { color: #ff8585; }
.red2 { color: #ef233c; }
.green { color: #4ade80; }
.green2 { color: #8bc53f; }
.blue { color: #38bdf8; }
.orange { color: #ff7b38; }
.purple { color: #d946ef; }

.form_blue {
  border: 1px solid #38bdf8;
  border-left: 4px solid #38bdf8;
  background-color: rgba(56, 189, 248, 0.08);
  padding: 10px 12px;
  margin: 6px 0;
  border-radius: var(--radius-sm);
}

.form_green {
  border: 1px solid #4ade80;
  border-left: 4px solid #4ade80;
  background-color: rgba(74, 222, 128, 0.08);
  padding: 10px 12px;
  margin: 6px 0;
  border-radius: var(--radius-sm);
}

.form_red {
  border: 1px solid #ff4e4e;
  border-left: 4px solid #ff4e4e;
  background-color: rgba(255, 78, 78, 0.08);
  padding: 10px 12px;
  margin: 6px 0;
  border-radius: var(--radius-sm);
}

img.inline-img {
  display: inline-block;
  vertical-align: middle;
}

img.inline-img2 {
  float: left;
  vertical-align: middle;
  margin-right: 6px;
  border-radius: 4px;
}

.active_tab {
  border-left: 1px solid var(--border-medium);
  border-right: 1px solid var(--border-medium);
  border-bottom: 2px solid var(--accent-cyan);
  background: var(--bg-card-alt);
}

/* ==========================================================================
   TOPBAR (MENIUL 1 - SUS)
   ========================================================================== */
.topbar {
  background: linear-gradient(180deg, #161d2b 0%, #101520 100%);
  color: var(--text-primary);
  padding: 8px 16px;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
}

.menu {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.menu > div, .rightmm a, .menu > a {
  position: relative;
  color: var(--text-secondary);
  text-decoration: none;
  cursor: pointer;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.menu > a:hover, .rightmm a:hover, .menu > div:hover {
  color: #ffffff;
  background: rgba(56, 189, 248, 0.14);
  text-decoration: none;
}

.menu-sep {
  display: inline-block;
  color: var(--border-medium);
  margin: 0 2px;
  user-select: none;
}

/* ==========================================================================
   HEADER / NAVBAR (LOGO + SEARCH + MEMBER BAR)
   ========================================================================== */
.navbar {
  background:
    radial-gradient(circle at 20% 50%, rgba(56, 189, 248, 0.12) 0%, transparent 50%),
    linear-gradient(135deg, #111622 0%, #182032 100%);
  color: var(--text-primary);
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-subtle);
  gap: 16px;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-area img {
  height: 58px;
  filter: drop-shadow(0 4px 12px rgba(56, 189, 248, 0.25));
  transition: var(--transition);
}

.logo-area img:hover {
  transform: scale(1.03);
}

.help-wanted {
  color: var(--text-muted);
  font-size: 12.5px;
}

.member-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.member-bar a, .member-bar p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 13px;
}

.search-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(9, 11, 16, 0.65);
  padding: 5px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-medium);
}

.search-bar select, .search-bar input {
  background: var(--bg-input);
  color: var(--text-primary);
  padding: 7px 12px;
  font-size: 13.5px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
}

.search-bar button {
  padding: 7px 16px;
  background: linear-gradient(180deg, #38bdf8 0%, #0284c7 100%);
  color: #ffffff;
  border: none;
  font-weight: 700;
  cursor: pointer;
}

.search-bar button:hover {
  background: linear-gradient(180deg, #7dd3fc 0%, #38bdf8 100%);
  color: #06080c;
}

/* ==========================================================================
   BOTBAR (AL DOILEA MENIU - REPARAT COMPLET CU BUTOANE/PILLS AERISITE)
   ========================================================================== */
.botbar {
  background: linear-gradient(180deg, #192234 0%, #131927 100%);
  color: var(--text-primary);
  padding: 10px 16px;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid rgba(56, 189, 248, 0.25);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  gap: 12px;
}

.botmenu {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px; /* Spa?iu clar între fiecare element ca s? nu mai fie text lâng? text */
}

/* Fiecare item din al doilea meniu devine un card/pill interactiv */
.botmenu > div,
.botmenu > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  text-decoration: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.2px;
  transition: var(--transition);
}

/* S?geat? fin? automat? pentru elementele cu dropdown din botmenu */
.botmenu > .botdropdown::after {
  content: "?";
  font-size: 11px;
  color: var(--accent-cyan);
  margin-left: 2px;
  transition: transform 0.2s ease;
}

.botmenu > .botdropdown:hover::after {
  transform: rotate(180deg);
}

.botmenu > div:hover,
.botmenu > a:hover {
  background: rgba(56, 189, 248, 0.16);
  border-color: rgba(56, 189, 248, 0.5);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(56, 189, 248, 0.15);
  text-decoration: none;
}

/* Dropdown-uri moderne pentru ambele meniuri */
.dropdown-content, .botdropdown-content {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: #161e2e;
  min-width: 210px;
  z-index: 1000;
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.75);
  padding: 6px;
}

/* Punte invizibil? ca s? nu se închid? dropdown-ul când mi?ti mouse-ul */
.dropdown::before, .botdropdown::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 8px;
}

.dropdown-content a, .botdropdown-content a {
  display: block;
  padding: 8px 12px;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 13px;
  border-radius: var(--radius-xs);
  text-decoration: none;
  white-space: nowrap;
  transition: var(--transition);
}

.dropdown-content a:hover, .botdropdown-content a:hover {
  background: linear-gradient(90deg, rgba(56, 189, 248, 0.2) 0%, rgba(56, 189, 248, 0.05) 100%);
  color: var(--accent-cyan-bright);
  padding-left: 16px;
}

.dropdown:hover .dropdown-content,
.botdropdown:hover .botdropdown-content {
  display: block;
}

.rightmm {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rightmm .mm {
  color: var(--accent-gold);
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.35);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-weight: 700;
}

.rightmm .mm:hover {
  background: rgba(251, 191, 36, 0.22);
  color: #fde047;
}

.menu-icon {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 5px 10px;
  color: #fff;
}

.menu-toggle {
  display: none;
}

.menu-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
}

/* ==========================================================================
   BODY COLUMNS & NAVIGATION BAR
   ========================================================================== */
.body-content {
  margin-top: 14px;
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  width: 100%;
  color: var(--text-primary);
  gap: 14px;
}

.body-contentbg {
  background: transparent;
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 14px;
}

.body-fullcontent {
  margin-top: 14px;
  width: 100%;
  color: var(--text-primary);
  gap: 14px;
}

.navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: linear-gradient(90deg, #172033 0%, #131926 100%);
  border: 1px solid var(--border-medium);
  border-left: 4px solid var(--accent-cyan);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  color: var(--text-secondary);
}

.navi-text {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
}

.navi-right span {
  font-size: 16px;
  color: var(--text-dim);
  text-shadow: none;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.block {
  margin: 0;
}

.sub-block {
  margin-bottom: 14px;
  padding: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

/* L??imi propor?ionale pentru coloane */
.block1 { width: 235px; flex-shrink: 0; }
.block2 { width: 235px; flex-shrink: 0; }
.block3 { flex: 1; min-width: 0; }
.block4 { width: 325px; flex-shrink: 0; }
.blockfull { width: 100%; flex: 0 0 auto; display: block; }
.blockcat1 { flex: 1; min-width: 0; display: block; }
.blockcat2 { width: 330px; flex-shrink: 0; display: block; }

/* ==========================================================================
   ENTRIES, CARDS, MODS & GAMES LIST
   ========================================================================== */
.entry {
  padding: 8px;
}

.entry-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(90deg, rgba(56, 189, 248, 0.16) 0%, rgba(25, 34, 52, 0.95) 100%);
  border-bottom: 1px solid var(--border-medium);
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #ffffff;
}

.entry-header-small {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(90deg, #1d2638 0%, #161d2b 100%);
  border-bottom: 1px solid var(--border-subtle);
  padding: 9px 12px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--text-secondary);
}

.entry-header-clean {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.title-left {
  color: var(--text-primary);
}

.content-box {
  background-color: var(--bg-card);
  color: var(--text-primary);
  font-family: inherit;
}

.field {
  padding: 8px 10px;
}

.field2 {
  padding: 8px 10px;
  border-bottom: 1px solid var(--border-subtle);
}

.field:nth-child(odd), .field2:nth-child(odd) {
  background-color: var(--bg-card);
}

.field:nth-child(even), .field2:nth-child(even) {
  background-color: var(--bg-card-alt);
}

/* Carduri individuale pentru moduri, ?tiri, forum */
.entry-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  margin-bottom: 6px;
  transition: var(--transition);
}

.entry-bar2 {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px;
  margin-bottom: 8px;
  border-radius: var(--radius-sm);
  background: var(--bg-card-alt);
  border: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.entry-bar:nth-child(odd) {
  background-color: var(--bg-card);
}

.entry-bar:nth-child(even) {
  background-color: var(--bg-card-alt);
}

.entry-bar:hover, .entry-bar2:hover {
  background-color: var(--bg-card-hover);
  border-color: var(--border-glow);
  transform: translateX(3px);
}

.entry-avatar {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.entry-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border-radius: var(--radius-xs);
}

.entry-thumb {
  width: 108px;
  height: 68px;
  flex-shrink: 0;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  object-fit: cover;
  transition: var(--transition);
}

.entry-text-wrap {
  display: flex;
  flex-direction: column;
  padding: 0;
  gap: 3px;
}

.entry-text-wrap2 {
  flex: 1;
}

.entry-title {
  font-weight: 700;
  color: var(--accent-gold);
  line-height: 1.3;
  font-size: 13px;
  margin-bottom: 2px;
}

.entry-title a {
  color: var(--text-primary);
}

.entry-title a:hover {
  color: var(--accent-cyan-bright);
}

.entry-sub {
  color: var(--text-muted);
  line-height: 1.35;
  font-size: 11.5px;
}

.entry-title-big, .entry-sub-big {
  font-weight: 700;
  font-size: 14px;
}

.preview-image {
  width: 100%;
  height: 145px;
  object-fit: cover;
  display: block;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  transition: var(--transition);
}

.preview-image:hover, .entry-thumb:hover {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.3);
}

/* Lista de jocuri */
.game-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.game-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.game-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.game-left img {
  width: 26px;
  height: 26px;
  margin-right: 0;
  border-radius: 5px;
  object-fit: cover;
}

.game-title {
  font-weight: 700;
  font-size: 13px;
}

.game-title2 {
  font-size: 13px;
}

.game-right {
  font-weight: 700;
  font-size: 12px;
  color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.12);
  padding: 2px 8px;
  border-radius: 12px;
}

.game-item:nth-child(odd) {
  background-color: var(--bg-card);
}

.game-item:nth-child(even) {
  background-color: var(--bg-card-alt);
}

.game-item:hover {
  background-color: var(--bg-card-hover);
  border-color: var(--border-glow);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background-color: #090c12;
  color: var(--text-muted);
  border-top: 1px solid var(--border-medium);
  margin-top: 20px;
}

.footer-sep {
  color: var(--text-dim);
}

.footer-top {
  padding: 14px 20px;
  background: linear-gradient(180deg, #0d121c 0%, #121826 100%);
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
}

.footer-bottop {
  flex: 1 1 auto;
  padding: 14px 20px;
  background: linear-gradient(180deg, #121826 0%, #0d121c 100%);
  text-align: left;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.footer-links a {
  margin: 0 10px;
  color: var(--text-secondary);
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--accent-cyan);
}

.footer-middle {
  display: flex;
  justify-content: space-between;
  padding: 22px 20px;
  background: #0d111a;
  gap: 20px;
}

.footer-column {
  flex: 1;
  margin: 0;
}

.footer-column h3 {
  color: var(--accent-orange);
  font-size: 13.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border-subtle);
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 7px;
}

.footer-column ul li a {
  color: var(--text-muted);
}

.footer-column ul li a:hover {
  color: var(--accent-cyan);
}

.story {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  gap: 10px;
}

.story img {
  width: 36px;
  height: 36px;
  object-fit: cover;
  margin-right: 0;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xs);
}

.story a {
  color: var(--text-primary);
  font-size: 13px;
}

.footer-bottom {
  flex: 1 1 auto;
  border-top: 1px solid var(--border-subtle);
  background: #07090e;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  font-size: 12px;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom-left {
  display: flex;
  flex-direction: column;
  max-width: 70%;
  gap: 4px;
}

.footer-popular {
  margin-bottom: 2px;
}

.footer-cbs-links {
  margin-bottom: 4px;
  white-space: normal;
}

.footer-copyright {
  margin-bottom: 2px;
  color: var(--text-dim);
}

.footer-bottom-right {
  text-align: right;
}

.footer-select-site select {
  padding: 6px 10px;
  margin-left: 5px;
}

.footer-select-site button {
  padding: 6px 14px;
  margin-left: 5px;
  background: linear-gradient(180deg, #f97316 0%, #ea580c 100%);
  color: #fff;
  border: none;
}

/* ==========================================================================
   ALERTS, FLOATING MEMBER SIDEBAR, USER AVATAR & TOOLTIP
   ========================================================================== */
.alert {
  padding: 14px 18px;
  margin: 12px 0;
  border-radius: var(--radius-md);
  font-size: 14px;
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.alert.success {
  background-color: rgba(16, 185, 129, 0.2);
  border: 1px solid #10b981;
  color: #a7f3d0;
}

.alert.warning {
  background-color: rgba(245, 158, 11, 0.2);
  border: 1px solid #f59e0b;
  color: #fde68a;
}

.alert.danger {
  background-color: rgba(239, 68, 68, 0.2);
  border: 1px solid #ef4444;
  color: #fecaca;
}

.membersb {
  position: fixed;
  top: 18%;
  left: 0;
  width: 40px;
  background: rgba(19, 25, 39, 0.95);
  backdrop-filter: blur(8px);
  color: #fff;
  overflow: hidden;
  transition: width 0.25s ease;
  z-index: 1000;
  border: 1px solid var(--border-medium);
  border-left: none;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  box-shadow: var(--shadow-md);
}

.membersb a {
  text-decoration: none;
}

.membersb:hover {
  width: 190px;
}

.menusb-item {
  display: flex;
  align-items: center;
  padding: 7px;
  white-space: nowrap;
  text-decoration: none;
  color: var(--text-secondary);
  transition: var(--transition);
  font-size: 13.5px;
  background: transparent;
}

.menusb-item:hover {
  background-color: rgba(56, 189, 248, 0.16);
  color: var(--accent-cyan-bright);
}

.menusb-icon {
  width: 26px;
  height: 26px;
  margin-right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #0b0e15;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border-subtle);
}

.menusb-icon img {
  width: 14px;
  height: 14px;
  padding: 0;
  border: none;
  display: block;
  margin: auto;
}

.menusb-item:hover .menusb-icon {
  border-color: var(--accent-cyan);
}

.menusb-label {
  opacity: 0;
  transition: opacity 0.2s ease;
}

.membersb:hover .menusb-label {
  opacity: 1;
}

@keyframes blink-animation {
  0% { opacity: 1; }
  50% { opacity: 0.3; }
  100% { opacity: 1; }
}

.blink img {
  border: 2px solid #ef4444;
  border-radius: 4px;
  animation: blink-animation 1.5s infinite;
}

.header-user {
  display: flex;
  align-items: center;
  gap: 8px;
}

.user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--accent-cyan);
  object-fit: cover;
}

.user-welcome p {
  color: var(--text-muted);
  margin: 0;
  font-size: 12px;
}

.tooltip-img {
  cursor: pointer;
}

#tooltip {
  position: absolute;
  display: none;
  background: #161e2e;
  color: var(--text-primary);
  padding: 12px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  z-index: 9999;
  font-size: 13px;
  width: 220px;
  line-height: 1.45;
  border: 1px solid var(--accent-cyan);
}

.gray-all {
  filter: grayscale(100%);
}

/* ==========================================================================
   MOBILE & TABLET RESPONSIVE
   ========================================================================== */
@media (max-width: 992px) {
  .body-content, .body-contentbg {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 14px;
  }
  .block1, .block2, .block3, .block4, .blockcat1, .blockcat2 {
    width: 100%;
  }
}

@media (max-width: 768px) {
  body {
    padding: 0;
  }
  .width {
    border-radius: 0;
    border-left: none;
    border-right: none;
  }
  .menu-icon {
    display: block;
  }
  .menu-container {
    display: none;
    flex-direction: column;
    width: 100%;
    background: var(--bg-card-alt);
    margin-top: 8px;
    padding: 10px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-medium);
  }
  .menu-container a {
    display: block;
    width: 100%;
    padding: 8px 12px;
    border-bottom: 1px solid var(--border-subtle);
    text-align: left;
  }
  .menu-toggle:checked + .menu-icon + .menu-container {
    display: flex;
  }
  .menu, .rightmm, .botmenu {
    flex-direction: column;
    width: 100%;
    gap: 6px;
  }
  .botmenu > div, .botmenu > a {
    width: 100%;
    justify-content: space-between;
  }
  .menu-sep {
    display: none;
  }
  .dropdown, .botdropdown {
    width: 100%;
  }
  .dropdown-content, .botdropdown-content {
    position: static;
    width: 100%;
    box-shadow: none;
    margin-top: 4px;
  }
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }
  .navi-right h2 {
    display: none;
  }
  .help-wanted, .logo-area, .member-bar, .search-bar {
    width: 100%;
  }
  .search-bar {
    flex-direction: column;
  }
  .search-bar select, .search-bar input, .search-bar button {
    width: 100%;
  }
  .footer-middle {
    flex-direction: column;
  }
  .footer-bottom-left {
    max-width: 100%;
  }
  .footer-links a, .footer-cbs-links a, .footer-copyright a {
    display: block;
    padding: 6px 0;
  }
  .footer-sep {
    display: none;
  }
}