/* ========================================================
   DATIGAMING - ULTRA MINIMALIST TRANSPARENT / GLASS THEME
   With Top Billboard (Large) and Extra-Wide 300x600 Side Ads
   ======================================================== */

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

@font-face {
  font-family: 'MS Block';
  src: url('../fonts/ms-block.otf') format('opentype'),
       url('../fonts/MS Block - Regular.otf') format('opentype');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

/* Georgian headings: MS Sabetchdi (Typeface.ge) */
@font-face {
  font-family: 'MS Sabetchdi';
  src: url('../fonts/ms-sabetchdi.otf') format('opentype');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

/* Georgian body text: ALK Sanet (fonts.ge). Only Georgian code points use it —
   Latin letters and digits keep Inter. */
@font-face {
  font-family: 'ALK Sanet';
  src: url('../fonts/alk-sanet.ttf') format('truetype');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+10A0-10FF, U+1C90-1CBF, U+2D00-2D2F;
}

/* The `hidden` attribute must win over component display rules. */
[hidden] {
  display: none !important;
}

/* Form controls don't inherit fonts by default — keep one typeface everywhere. */
button, input, select, textarea {
  font-family: inherit;
}

:root {
  /* Rich Dark RDR2 / Western Page Atmosphere */
  --bg-page: #0a0806;
  --bg-card: #14100c;
  --bg-card-hover: #1c1510;
  --bg-glass: rgba(28, 20, 14, 0.6);
  --bg-glass-hover: rgba(45, 30, 20, 0.75);
  --bg-glass-active: rgba(60, 38, 24, 0.9);

  /* Iconic RDR2 Palette: Outlaw Red, Frontier Amber/Gold, Vintage Parchment */
  --rdr-crimson: #ef4444;
  --rdr-crimson-dark: #b91c1c;
  --rdr-crimson-deep: #7f1d1d;
  --rdr-gold: #f59e0b;
  --rdr-gold-dark: #d97706;
  --rdr-brass: #e2b168;
  --rdr-parchment: #f3f0e8;

  --accent-white: #ffffff;
  --accent-silver: #d1cfc7;
  --text-primary: #f5f2ea;
  --text-secondary: #b8b2a7;
  --text-muted: #7d776d;

  /* Subtle Warm Leather / Frontier Borders */
  --border-light: rgba(255, 255, 255, 0.08);
  --border-warm: rgba(217, 119, 6, 0.24);
  --border-subtle: rgba(255, 255, 255, 0.04);
  --border-hover: rgba(245, 158, 11, 0.45);

  /* Typography */
  --font-main: 'ALK Sanet', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --max-width: 1120px;
}

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

body {
  background-color: #0a0806;
  background-image: 
    radial-gradient(ellipse 100% 55% at 50% -5%, rgba(185, 28, 28, 0.17) 0%, transparent 68%),
    radial-gradient(ellipse 85% 45% at 50% 20%, rgba(217, 119, 6, 0.09) 0%, transparent 60%),
    radial-gradient(circle at 50% 50%, #15100c 0%, #0d0a08 60%, #060504 100%);
  background-attachment: fixed;
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 14px;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ================= ANTIGRAVITY INTERACTIVE PARTICLE CANVAS ================= */
.antigravity-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
}

header, main, footer, .site-layout-wrapper, .auth-card {
  position: relative;
  z-index: 1;
}

/* Headings & Titles: MS Sabetchdi (Clean, Plain White) */
h1, h2, h3, h4, h5, h6 {
  font-family: 'MS Sabetchdi', sans-serif;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.01em;
}

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

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 16px;
}

/* ================= HEADER ================= */
.header {
  background: transparent;
  border: none;
  box-shadow: none;
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0;
  width: 100%;
}

.header::before,
.header::after {
  display: none;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #ffffff;
  font-family: 'MS Block', sans-serif;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.logo svg {
  color: #d1d5db;
}

.logo-badge {
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
}

.nav-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: #cbd5e1;
  background: linear-gradient(180deg, #2e353b 0%, #1c2226 100%);
  border: 1px solid #45505a;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 2px 4px rgba(0, 0, 0, 0.5);
  padding: 5px 12px;
  border-radius: 6px;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.nav-link:hover {
  color: #ffffff;
  background: linear-gradient(180deg, #3a424a 0%, #242b31 100%);
  border-color: #5d6a78;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 3px 6px rgba(0, 0, 0, 0.6);
  transform: translateY(-1px);
}

.nav-link.active {
  color: #ffffff;
  background: linear-gradient(180deg, #3d4650 0%, #272f37 100%);
  border-color: #6d7b8a;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 0 10px rgba(255, 255, 255, 0.12);
}

.nav-link-rdr2,
.nav-link.rdr2-btn {
  background: linear-gradient(180deg, #441414 0%, #240a0a 100%) !important;
  border: 1px solid #991b1b !important;
  color: #fecaca !important;
  box-shadow: inset 0 1px 0 rgba(252, 165, 165, 0.3), 0 0 12px rgba(239, 68, 68, 0.4) !important;
}

.nav-link-rdr2:hover,
.nav-link.rdr2-btn:hover {
  background: linear-gradient(180deg, #591b1b 0%, #300d0d 100%) !important;
  border-color: #ef4444 !important;
  color: #ffffff !important;
  box-shadow: inset 0 1px 0 rgba(252, 165, 165, 0.45), 0 0 16px rgba(239, 68, 68, 0.65) !important;
}

.rdr2-dot {
  font-size: 0.7rem;
  line-height: 1;
  display: inline-block;
}

.user-live-status {
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--bg-glass);
  border: 1px solid var(--border-light);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.76rem;
  color: var(--text-secondary);
}

.live-dot {
  width: 6px;
  height: 6px;
  background-color: var(--accent-silver);
  border-radius: 50%;
  box-shadow: 0 0 5px rgba(203, 213, 225, 0.4);
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-light);
  color: var(--text-primary);
  padding: 5px 9px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

/* ================= AUTHENTICATION NAVIGATION STYLES ================= */
.nav-auth-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f1f5f9;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
  cursor: pointer;
}

.nav-auth-btn:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.24);
  color: #ffffff;
  transform: translateY(-1px);
}

.user-auth-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3px 10px 3px 6px;
  border-radius: 999px;
  font-size: 0.78rem;
  color: #e2e8f0;
}

.user-auth-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.user-auth-name {
  font-weight: 600;
  color: #ffffff;
  max-width: 70px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-auth-names {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}

.user-auth-username {
  font-size: 0.68rem;
  color: #94a3b8;
  max-width: 70px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-provider-tag {
  font-size: 0.68rem;
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.provider-discord {
  background: rgba(88, 101, 242, 0.18);
  color: #8da4ff;
  border: 1px solid rgba(88, 101, 242, 0.35);
}

.provider-google {
  background: rgba(234, 67, 53, 0.14);
  color: #fca5a5;
  border: 1px solid rgba(234, 67, 53, 0.3);
}

.provider-email {
  background: rgba(255, 255, 255, 0.05);
  color: #94a3b8;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-logout-mini {
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  font-size: 0.76rem;
  padding: 2px 4px;
  border-radius: 4px;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-left: 2px;
  font-family: inherit;
}

.btn-logout-mini span {
  display: none;
}

.btn-logout-mini:hover {
  color: #f87171;
  background: rgba(248, 113, 113, 0.12);
}

/* ================= SITE WITH WIDE SIDE ADS WRAPPER ================= */
.site-layout-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  max-width: 1780px;
  margin: 0 auto;
  padding: 0 12px;
  gap: 16px;
  position: relative;
}

.main-column {
  flex: 1;
  max-width: var(--max-width);
  min-width: 0;
  margin: 0 auto;
}

/* ================= AD SPACES ================= */

/* 1. TOP LARGE BILLBOARD AD (above hero) */
.dg-top-wrap {
  width: 100%;
  max-width: var(--max-width);
  margin: 18px auto 0;
  padding: 0 16px;
}

.dg-wide-card {
  position: relative;
  width: 100%;
  min-height: 170px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0%, rgba(255, 255, 255, 0.015) 100%),
              radial-gradient(ellipse at 80% 50%, rgba(203, 213, 225, 0.05) 0%, transparent 60%);
  border: 1px dashed rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 34px;
  overflow: hidden;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: var(--transition);
}

.dg-wide-card:hover {
  border-color: rgba(255, 255, 255, 0.22);
}

.dg-card-tag {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: rgba(0, 0, 0, 0.4);
  padding: 2px 7px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.dg-wide-body {
  max-width: 62%;
}

.dg-wide-body h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.dg-wide-body p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.45;
}

.dg-wide-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.dg-size-note {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-family: monospace;
}

/* 2. ENLARGED WIDE SIDE ADS (300 x 600 Half-Page) */
.dg-tall-card {
  position: sticky;
  top: 76px;
  width: 290px;
  min-height: 600px;
  margin-top: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.012) 100%);
  border: 1px dashed rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: var(--transition);
  flex-shrink: 0;
}

.dg-tall-card {
  cursor: pointer;
}

.dg-tall-card:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.045);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

/* ================= LANGUAGE SWITCHER (KA / EN) ================= */
.lang-toggle-pill {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 2px 3px;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.74rem;
  transition: all 0.2s ease;
  user-select: none;
  gap: 2px;
  line-height: 1;
}

.lang-toggle-pill:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.28);
}

.lang-opt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 5px;
  border-radius: 999px;
  transition: all 0.2s ease;
}

.lang-opt.active {
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* Flags: the selected language is bright and outlined, the other one dimmed. */
.lang-flag {
  display: block;
  width: 22px;
  height: 15px;
  object-fit: cover;
  border-radius: 3px;
  opacity: 0.45;
  filter: saturate(0.4);
  transition: opacity 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.lang-opt.active .lang-flag {
  opacity: 1;
  filter: none;
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.85);
}

.lang-toggle-pill:hover .lang-opt:not(.active) .lang-flag {
  opacity: 0.75;
  filter: saturate(0.8);
}

.dg-tall-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 16px;
  width: 100%;
}

.dg-tall-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.dg-tall-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3px 9px;
  border-radius: 4px;
  font-size: 0.75rem;
  color: var(--accent-silver);
  font-weight: 600;
}

.dg-tall-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
  max-width: 250px;
}

/* ================= HERO SECTION ================= */
.hero {
  padding: 38px 0 28px;
  text-align: center;
}

.geo-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: rgba(30, 20, 14, 0.7);
  border: 1px solid rgba(217, 119, 6, 0.35);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 600;
  color: #f59e0b;
  margin-bottom: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  letter-spacing: 0.03em;
}

.hero-title {
  font-family: 'MS Sabetchdi', var(--font-main);
  font-size: 2.35rem;
  font-weight: 700;
  color: #ffffff !important;
  line-height: 1.35;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.95);
}

.hero-title span {
  color: #ffffff !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: #ffffff !important;
  font-weight: inherit;
  filter: none !important;
  text-shadow: none !important;
}

.hero-desc {
  color: #d1cfc7;
  font-size: 0.95rem;
  max-width: 580px;
  margin: 0 auto 22px;
  line-height: 1.6;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

/* ================= BUTTONS ================= */
.btn-group {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-glass {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #e5e0d8;
  background: rgba(26, 19, 14, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.btn-glass:hover {
  background: rgba(48, 30, 20, 0.9);
  border-color: #d97706;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.65), 0 0 14px rgba(217, 119, 6, 0.3);
}

.btn-glass svg {
  color: #f59e0b;
  transition: transform 0.2s ease;
}

.btn-glass:hover svg {
  color: #fbbf24;
  transform: scale(1.1);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 14px;
  font-size: 0.84rem;
  font-weight: 500;
  color: #ffffff;
  background: var(--bg-glass);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary:hover {
  background: var(--bg-glass-hover);
  border-color: var(--border-hover);
}

.btn-steam {
  background: var(--bg-glass);
  color: var(--text-secondary);
  border: 1px solid var(--border-light);
  font-size: 0.76rem;
  padding: 5px 11px;
  border-radius: 4px;
  transition: var(--transition);
}

.btn-steam:hover {
  background: var(--bg-glass-hover);
  color: #ffffff;
  border-color: var(--border-hover);
}

/* ================= GAMES GRID & CARDS ================= */
.section {
  padding: 30px 0;
  background: transparent !important;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 12px;
}

.section-title {
  font-family: 'MS Sabetchdi', sans-serif !important;
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff !important;
  letter-spacing: 0.02em;
}

/* 2-Minute Game Rotation Controls */
.rotation-timer-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 0.74rem;
  color: #cbd5e1;
  vertical-align: middle;
}
.rotation-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 7px rgba(16, 185, 129, 0.8);
  animation: pulseRotateDot 1.8s infinite ease-in-out;
}
@keyframes pulseRotateDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.75); }
}
.btn-rotate-manual {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #94a3b8;
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 0.72rem;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s ease;
}
.btn-rotate-manual:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
}
.btn-rotate-manual.spinning svg {
  animation: spinRotate 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes spinRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.btn-toggle-all-games {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #f1f5f9;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.22s ease;
  white-space: nowrap;
}

.btn-toggle-all-games:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.28);
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-toggle-all-games svg {
  transition: transform 0.25s ease;
}

.btn-toggle-all-games.expanded svg {
  transform: rotate(180deg);
}

.btn-toggle-all-games.expanded {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.28);
  color: #ffffff;
}

/* ================= GAMES SEARCH & FILTER ================= */
.games-filter-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.games-search-box {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.games-search-box .search-icon {
  position: absolute;
  left: 14px;
  color: #64748b;
  pointer-events: none;
}

.games-search-input {
  width: 100%;
  padding: 11px 40px 11px 42px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.88rem;
  outline: none;
  transition: all 0.2s ease;
}

.games-search-input:focus {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.05);
}

.btn-clear-search {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 1.25rem;
  cursor: pointer;
  padding: 2px 6px;
  line-height: 1;
  transition: color 0.2s ease;
}

.btn-clear-search:hover {
  color: #ffffff;
}

.genre-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.genre-chip {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 0.74rem;
  color: #94a3b8;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.genre-chip:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}

.genre-chip.active {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
}

.search-meta-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: #94a3b8;
  padding: 0 4px;
}

.grid-games {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  transition: opacity 0.28s ease, transform 0.28s ease;
}
.grid-games.is-transitioning {
  opacity: 0;
  transform: translateY(6px);
}

.game-card {
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.game-card:hover {
  background: rgba(255, 255, 255, 0.04) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  transform: translateY(-2px);
}

.game-card-img {
  position: relative;
  width: 100%;
  aspect-ratio: 460 / 215;
  background: rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.game-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.65) !important;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 0.66rem;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: var(--accent-silver) !important;
}

.game-card-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.game-meta {
  display: flex;
  gap: 5px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.game-tag {
  font-size: 0.68rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 2px 5px;
  border-radius: 4px;
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.game-title {
  font-size: 0.98rem;
  font-weight: 600;
  margin-bottom: 5px;
  color: #ffffff;
}

.game-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 12px;
  flex-grow: 1;
}

.game-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 9px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

/* ================= ANIMATED SIDE BANNERS (home page) ================= */
.dg-showcase {
  position: relative;
  background: #0d0f14 !important;
}
.dg-showcase .sc-frame {
  position: absolute;
  inset: 0;
  display: block;
  color: #ffffff;
  text-decoration: none;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.dg-showcase .sc-frame.is-visible { opacity: 1; }
.dg-showcase .sc-frame img.sc-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: none !important;
}
.dg-showcase .sc-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 10, 8, 0.2) 0%, rgba(13, 10, 8, 0) 25%, rgba(13, 10, 8, 0.8) 60%, #0d0a08 100%);
  pointer-events: none;
}
.dg-showcase .sc-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fbbf24;
}

.dg-showcase .tag-live-pulsing {
  background: linear-gradient(180deg, #dc2626 0%, #991b1b 100%) !important;
  color: #ffffff !important;
  border: 1px solid #f87171 !important;
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.6) !important;
  animation: pulseLiveTag 2s infinite ease-in-out;
}

@keyframes pulseLiveTag {
  0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.dg-showcase .live-dot-pulse {
  font-size: 0.62rem;
  line-height: 1;
  display: inline-block;
  margin-right: 2px;
}

.dg-showcase .sc-media {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 86px;
  z-index: 2;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7);
  background: #000;
}
.dg-showcase .sc-media video,
.dg-showcase .sc-media img,
.dg-showcase .sc-media iframe {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: none !important;
  border: 0;
}

.dg-showcase .sc-media iframe {
  pointer-events: none;
  background: #000;
}

.dg-showcase .sc-info {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.dg-showcase .sc-streamer-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dg-showcase .sc-streamer-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #f59e0b;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.8), 0 0 8px rgba(245, 158, 11, 0.35);
  flex-shrink: 0;
  background: #1a140f;
}

.dg-showcase .sc-is-live .sc-streamer-avatar {
  border-color: #ef4444;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.8), 0 0 10px rgba(239, 68, 68, 0.6);
}

.dg-showcase .sc-streamer-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.dg-showcase .sc-title {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dg-showcase .sc-subtitle {
  font-size: 0.72rem;
  color: #f59e0b;
  font-weight: 600;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 2px;
}

.dg-showcase .sc-cta {
  align-self: flex-start;
  padding: 5px 13px;
  border-radius: 6px;
  background: linear-gradient(180deg, #d97706 0%, #b45309 100%);
  color: #ffffff;
  border: 1px solid #f59e0b;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  font-size: 0.74rem;
  font-weight: 700;
  transition: all 0.2s ease;
}
.dg-showcase:hover .sc-cta {
  background: linear-gradient(180deg, #f59e0b 0%, #d97706 100%);
  transform: translateY(-1px);
}

.dg-showcase .sc-cta-live {
  background: linear-gradient(180deg, #dc2626 0%, #991b1b 100%) !important;
  border-color: #f87171 !important;
  box-shadow: 0 2px 10px rgba(239, 68, 68, 0.5) !important;
}

.dg-showcase .sc-cta-live:hover {
  background: linear-gradient(180deg, #ef4444 0%, #dc2626 100%) !important;
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.7) !important;
}

/* ================= SHOWCASE OFFLINE & LIVE BACKDROP ================= */
.dg-showcase .sc-live-backdrop {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 25%;
  filter: blur(14px) brightness(0.4);
  transform: scale(1.15);
  pointer-events: none;
}
.dg-showcase .sc-live-backdrop-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 10, 8, 0.5) 0%, rgba(13, 10, 8, 0.15) 30%, rgba(13, 10, 8, 0.85) 60%, #0d0a08 100%);
  pointer-events: none;
}

.dg-showcase .sc-frame.sc-is-offline {
  display: flex !important;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px 16px 20px;
  background: radial-gradient(circle at 50% 28%, rgba(185, 28, 28, 0.18) 0%, rgba(20, 16, 12, 0.98) 65%, #0e0b08 100%);
  box-sizing: border-box;
}
.dg-showcase .sc-frame.sc-is-offline::after {
  display: none !important;
}

.dg-showcase .sc-offline-backdrop {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(217, 119, 6, 0.1) 0%, transparent 60%),
              radial-gradient(circle at 50% 80%, rgba(185, 28, 28, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.dg-showcase .tag-offline {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  align-self: flex-start;
  background: rgba(18, 14, 11, 0.92) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  color: #cbd5e1 !important;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.65rem;
  letter-spacing: 0.05em;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  z-index: 3;
}

.dg-showcase .offline-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #94a3b8;
  display: inline-block;
  box-shadow: 0 0 6px rgba(148, 163, 184, 0.8);
}

.dg-showcase .sc-offline-center {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px 8px;
  margin: auto 0;
}

.dg-showcase .sc-offline-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(217, 119, 6, 0.35);
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.8), inset 0 0 15px rgba(217, 119, 6, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f59e0b;
  margin-bottom: 16px;
  animation: floatOfflineIcon 4s ease-in-out infinite;
}

@keyframes floatOfflineIcon {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.dg-showcase .sc-offline-badge-pill {
  padding: 3px 10px;
  border-radius: 12px;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #f87171;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.dg-showcase .sc-offline-msg {
  font-family: 'MS Sabetchdi', 'Cinzel', serif !important;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  color: #ffffff !important;
  margin: 0 0 10px 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

.dg-showcase .sc-offline-submsg {
  font-size: 0.74rem;
  line-height: 1.45;
  color: #94a3b8;
  margin: 0;
  max-width: 230px;
}

.dg-showcase .sc-is-offline .sc-info {
  position: relative;
  inset: auto;
  width: 100%;
  margin-top: auto;
  padding: 0;
}

.dg-showcase .sc-cta-hub {
  display: block;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
  padding: 9px 12px;
  border-radius: 6px;
  background: linear-gradient(180deg, #d97706 0%, #b45309 100%);
  color: #ffffff !important;
  border: 1px solid #f59e0b;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
  transition: all 0.2s ease;
}

.dg-showcase .sc-cta-hub:hover {
  background: linear-gradient(180deg, #f59e0b 0%, #d97706 100%);
  border-color: #fbbf24;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.25);
}

/* Home page: bestsellers carousel (drag / swipe / arrows) */
.grid-games.is-carousel {
  display: block;
}
/* Scrolling is animated in JS (drag + inertia + glide), so no CSS smooth-scroll/snap here — they fight the drag. */
.games-carousel {
  position: relative; /* card offsetLeft is measured from here */
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 2px 0 6px;
  cursor: grab;
  outline: none;
  user-select: none;
  -webkit-user-select: none;
  overscroll-behavior-x: contain;
}
.games-carousel::-webkit-scrollbar { display: none; }
.games-carousel > .game-card {
  flex: 0 0 calc((100% - 32px) / 3);
  min-width: 0; /* flex items otherwise refuse to shrink below their content width */
}
.games-carousel img { -webkit-user-drag: none; }
.games-carousel.is-dragging { cursor: grabbing; }
.games-carousel.is-dragging .game-card { pointer-events: none; }
.games-carousel.is-dragging .game-card:hover { transform: none; }
/* Touch screens: native swipe with snapping feels best there. */
@media (pointer: coarse) {
  .games-carousel { scroll-snap-type: x mandatory; cursor: auto; }
  .games-carousel > .game-card { scroll-snap-align: start; }
}
@media (max-width: 900px) {
  .games-carousel > .game-card { flex-basis: calc((100% - 16px) / 2); }
}
@media (max-width: 560px) {
  .games-carousel > .game-card { flex-basis: 85%; }
}
.is-carousel .games-row-label { margin: 0 0 12px; }
.games-row-label .carousel-nav {
  order: 2;
  display: inline-flex;
  gap: 6px;
}
.carousel-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: #e2e8f0;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  transition: all 0.2s ease;
}
.carousel-btn:hover { background: rgba(255, 255, 255, 0.12); color: #ffffff; }

/* Home page: row headings inside the games grid */
.games-row-label {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 6px 0 -4px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #cbd5e1;
  letter-spacing: 0.02em;
}
.games-row-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.07);
}

/* ================= FORUM PHOTOS ================= */
.forum-photos {
  display: grid;
  gap: 6px;
  margin-top: 10px;
  max-width: 560px;
}
.forum-photos.n1 { grid-template-columns: 1fr; }
.forum-photos.n2 { grid-template-columns: 1fr 1fr; }
.forum-photos.n3 { grid-template-columns: 1fr 1fr 1fr; }
.forum-photos.n4 { grid-template-columns: 1fr 1fr; }
.forum-photos-comment { max-width: 260px; margin-top: 6px; }

.forum-photo {
  display: block;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.25);
  cursor: zoom-in;
}
.forum-photo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 340px;
  object-fit: cover;
  transition: opacity 0.2s ease;
}
.forum-photos.n2 .forum-photo img,
.forum-photos.n3 .forum-photo img,
.forum-photos.n4 .forum-photo img {
  aspect-ratio: 1 / 1;
  height: 100%;
}
.forum-photo:hover img { opacity: 0.88; }

.photo-viewer {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(5, 6, 9, 0.92);
  cursor: zoom-out;
  animation: fadeInPhoto 0.15s ease-out;
}
.photo-viewer img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}
.photo-viewer-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
@keyframes fadeInPhoto { from { opacity: 0; } to { opacity: 1; } }

.photo-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.7);
  color: #ffffff;
  font-size: 0.95rem;
  line-height: 1;
  cursor: pointer;
}
.photo-remove:hover { background: #ef4444; }

/* Comment form: [photo] [text] [send] */
.comment-form {
  display: flex;
  gap: 8px;
  align-items: center;
}
.comment-attach {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  cursor: pointer;
  transition: all 0.2s ease;
}
.comment-attach:hover { color: #ffffff; background: rgba(255, 255, 255, 0.06); }
.comment-form button[disabled] { opacity: 0.6; cursor: wait; }

.comment-photo-preview {
  position: relative;
  display: inline-block;
  margin-bottom: 8px;
}
.comment-photo-preview img {
  display: block;
  height: 72px;
  max-width: 140px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* New-topic drawer photo picker */
.topic-photos-group { margin-bottom: 18px; }
.topic-photos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.topic-photo-add,
.topic-photo-thumb {
  position: relative;
  width: 84px;
  height: 84px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}
.topic-photo-add {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  color: #94a3b8;
  font-size: 0.7rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
.topic-photo-add:hover { color: #ffffff; border-color: rgba(88, 101, 242, 0.7); background: rgba(88, 101, 242, 0.08); }
.topic-photo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}
.topic-photos-hint {
  margin: 2px 0 0;
  font-size: 0.7rem;
  color: #64748b;
}
.new-topic-drawer.is-dragover {
  border-color: rgba(88, 101, 242, 0.8);
  box-shadow: 0 0 0 3px rgba(88, 101, 242, 0.2), 0 16px 40px rgba(0, 0, 0, 0.4);
}

/* ================= FULL STEAM CATALOG ================= */
.steam-catalog {
  padding-top: 10px;
}

.steam-catalog-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.steam-refresh {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: #cbd5e1;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.steam-refresh:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.2);
}

.steam-refresh:disabled {
  opacity: 0.6;
  cursor: wait;
}

.steam-refresh.spinning svg {
  animation: steamSpin 0.8s linear infinite;
}

@keyframes steamSpin {
  to { transform: rotate(360deg); }
}

.steam-catalog-sub {
  margin: 6px 0 0;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.steam-catalog-sub #steamTotal {
  color: #ffffff;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.steam-toolbar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 18px 0 20px;
}

.steam-tabs {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  overflow-x: auto;
  scrollbar-width: none;
}

.steam-tabs::-webkit-scrollbar {
  display: none;
}

.steam-tab {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  padding: 10px 0;
  font-size: 0.86rem;
  color: #64748b;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.steam-tab:hover {
  color: #cbd5e1;
}

.steam-tab.active {
  color: #ffffff;
  border-bottom-color: #ffffff;
}

/* ================= MULTI-STORE FILTER & BADGES ================= */
.store-filter-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.store-filter-bar::-webkit-scrollbar {
  display: none;
}

.store-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  font-family: inherit;
}

.store-filter-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #f1f5f9;
  border-color: rgba(255, 255, 255, 0.16);
}

.store-filter-btn.active {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.store-filter-btn[data-store="steam"].active {
  background: rgba(102, 192, 244, 0.16);
  border-color: rgba(102, 192, 244, 0.4);
  color: #66c0f4;
}

.store-filter-btn[data-store="gog"].active {
  background: rgba(217, 70, 239, 0.16);
  border-color: rgba(217, 70, 239, 0.4);
  color: #e879f9;
}

.store-filter-btn[data-store="epic"].active {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
}

.store-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #60a5fa;
}

.game-store-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  z-index: 2;
}

.game-store-badge.steam {
  border-color: rgba(102, 192, 244, 0.4);
  color: #66c0f4;
}

.game-store-badge.gog {
  border-color: rgba(217, 70, 239, 0.4);
  color: #e879f9;
}

.game-store-badge.epic {
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

.game-stores-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  margin: 8px 0 10px;
  padding: 6px 8px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.stores-label {
  font-size: 0.7rem;
  color: #64748b;
  font-weight: 500;
  margin-right: 2px;
}

.store-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 0.72rem;
  text-decoration: none;
  transition: all 0.15s ease;
}

.store-pill:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  transform: translateY(-1px);
}

.store-pill.is-best {
  border-color: rgba(190, 238, 17, 0.4);
  background: rgba(190, 238, 17, 0.1);
  color: #beee11;
  font-weight: 600;
}

.store-pill-price {
  font-weight: 600;
}

.store-pill-steam .store-pill-name { color: #66c0f4; }
.store-pill-gog .store-pill-name { color: #d946ef; }
.store-pill-epic .store-pill-name { color: #f1f5f9; }

.btn-store {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: #f1f5f9;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.76rem;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-store:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.btn-store.btn-steam:hover {
  border-color: #66c0f4;
  color: #66c0f4;
}

.btn-store.btn-gog:hover {
  border-color: #d946ef;
  color: #d946ef;
}

.btn-store.btn-epic:hover {
  border-color: #ffffff;
  color: #ffffff;
}

.nonsteam-cover {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: radial-gradient(circle at 30% 20%, rgba(88, 101, 242, 0.35), transparent 60%),
              radial-gradient(circle at 80% 90%, rgba(190, 238, 17, 0.18), transparent 55%),
              #161922 !important;
}

.nonsteam-title {
  font-family: 'MS Block', var(--font-main);
  font-size: 1.35rem;
  line-height: 1.15;
  color: #ffffff;
  text-align: center;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.steam-catalog .game-desc {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.steam-review {
  font-size: 0.7rem;
  padding: 1px 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
  color: #94a3b8;
}
.steam-review.positive { color: #66c0f4; }
.steam-review.mixed { color: #b9a074; }
.steam-review.negative { color: #a34c25; }

.steam-price {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 0.86rem;
  font-weight: 600;
  color: #ffffff;
}

.steam-price .pct {
  background: #4c6b22;
  color: #beee11;
  font-weight: 700;
  font-size: 0.76rem;
  padding: 2px 6px;
  border-radius: 4px;
}

.steam-price .old {
  text-decoration: line-through;
  color: #8b98a5;
  font-size: 0.74rem;
  font-weight: 400;
}

.steam-price .new {
  color: #beee11;
}

.steam-price.muted {
  color: #94a3b8;
  font-weight: 500;
}

.steam-more {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
}

.steam-count {
  font-size: 0.78rem;
  color: #64748b;
}

.steam-skeleton {
  border-radius: var(--radius-md);
  background: linear-gradient(90deg, rgba(255,255,255,0.03) 25%, rgba(255,255,255,0.07) 50%, rgba(255,255,255,0.03) 75%);
  background-size: 200% 100%;
  animation: steamShimmer 1.2s infinite;
  min-height: 260px;
}

@keyframes steamShimmer {
  from { background-position: 200% 0; }
  to { background-position: -200% 0; }
}

/* ================= LEADERBOARD ================= */
.leaderboard-card {
  background: linear-gradient(145deg, #17110c 0%, #0e0906 100%) !important;
  border: 1px solid rgba(217, 119, 6, 0.24) !important;
  border-radius: var(--radius-md);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.65);
}

.lb-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  text-align: left;
}

.lb-table th {
  background: transparent !important;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.lb-table td {
  padding: 11px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
  font-size: 0.84rem;
}

.lb-table tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

.lb-table tr.highlight-user {
  background: rgba(255, 255, 255, 0.035) !important;
  border-left: 2px solid rgba(255, 255, 255, 0.3) !important;
}

.rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 4px;
  font-weight: 500;
  font-size: 0.74rem;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

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

.gamer-avatar {
  width: 28px;
  height: 28px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.72rem;
  color: var(--text-secondary);
}

.hours-cell {
  font-weight: 500 !important;
  color: #e2e8f0 !important;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.7rem;
  font-weight: 500;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
}

.status-online {
  color: var(--accent-silver) !important;
}

.status-active {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
}

/* ================= DONATION & SUPPORTER SYSTEM (RDR2 WESTERN THEME) ================= */
.donation-cta-card {
  position: relative;
  background: linear-gradient(145deg, #1b130e 0%, #110c08 100%) !important;
  border: 1px solid rgba(217, 119, 6, 0.32) !important;
  border-top: 2.5px solid #d97706 !important;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 0 20px rgba(217, 119, 6, 0.06) !important;
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin-bottom: 24px;
}

.donation-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 12px;
}

.kisa-verified-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(217, 119, 6, 0.16) !important;
  border: 1px solid rgba(217, 119, 6, 0.45) !important;
  color: #fbbf24 !important;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.donation-secure-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  color: #c4b5a5 !important;
}

.donation-card-title {
  font-family: 'MS Sabetchdi', sans-serif !important;
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff !important;
  margin-bottom: 6px;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9);
}

.donation-card-desc {
  color: #d1c2b4 !important;
  font-size: 0.86rem;
  max-width: 620px;
  line-height: 1.55;
}

.btn-kisa-donate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(180deg, #dc2626 0%, #991b1b 100%) !important;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 10px 22px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid #ef4444 !important;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
  letter-spacing: 0.02em;
}

.btn-kisa-donate:hover {
  background: linear-gradient(180deg, #ef4444 0%, #b91c1c 100%) !important;
  border-color: #f87171 !important;
  color: #ffffff !important;
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
  transform: translateY(-2px);
}

.donation-channels-bar {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(217, 119, 6, 0.18) !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.74rem;
  color: #a89a8c !important;
}

.donation-channels-link {
  color: #e2b168 !important;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.donation-channels-link:hover {
  color: #fbbf24 !important;
}

.donation-preset-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.preset-chip {
  background: rgba(217, 119, 6, 0.08);
  border: 1px solid rgba(217, 119, 6, 0.22);
  color: #fcd34d;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
}

.preset-chip:hover {
  background: rgba(217, 119, 6, 0.18);
  border-color: rgba(217, 119, 6, 0.5);
  color: #ffffff;
}

.leaderboard-header-bar {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(217, 119, 6, 0.16) !important;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.empty-leaderboard-box {
  text-align: center;
  padding: 44px 20px;
}

.empty-leaderboard-title {
  font-family: 'MS Sabetchdi', sans-serif !important;
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff !important;
  margin-bottom: 6px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.empty-leaderboard-desc {
  font-size: 0.84rem;
  color: #c4b5a5 !important;
  max-width: 440px;
  margin: 0 auto 16px;
  line-height: 1.5;
}

.empty-leaderboard-box .btn-primary {
  background: linear-gradient(180deg, #dc2626 0%, #991b1b 100%) !important;
  border: 1px solid #ef4444 !important;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.45) !important;
  color: #ffffff !important;
  font-weight: 600;
  transition: all 0.2s ease;
}

.empty-leaderboard-box .btn-primary:hover {
  background: linear-gradient(180deg, #ef4444 0%, #b91c1c 100%) !important;
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.65) !important;
  transform: translateY(-1px);
}

/* Dynamic Donors Leaderboard Enhancements */
.donor-row:hover {
  background: rgba(217, 119, 6, 0.08) !important;
}

.donor-row-top {
  background: rgba(217, 119, 6, 0.04);
}

.rank-gold {
  background: rgba(245, 158, 11, 0.22) !important;
  color: #fbbf24 !important;
  border-color: rgba(245, 158, 11, 0.5) !important;
  font-weight: 700;
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.25);
}

.rank-silver {
  background: rgba(148, 163, 184, 0.2) !important;
  color: #e2e8f0 !important;
  border-color: rgba(148, 163, 184, 0.4) !important;
  font-weight: 700;
}

.rank-bronze {
  background: rgba(180, 83, 9, 0.2) !important;
  color: #fdba74 !important;
  border-color: rgba(180, 83, 9, 0.4) !important;
  font-weight: 700;
}

.donor-amount-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(217, 119, 6, 0.16);
  border: 1px solid rgba(217, 119, 6, 0.45);
  color: #fde68a;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  box-shadow: 0 0 10px rgba(217, 119, 6, 0.15);
}

.donor-msg-text {
  font-size: 0.78rem;
  color: #cbd5e1;
  font-style: italic;
  max-width: 280px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.donor-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.68rem;
  background: rgba(220, 38, 38, 0.16);
  border: 1px solid rgba(220, 38, 38, 0.4);
  color: #fca5a5;
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 600;
}

/* ================= FOOTER ================= */
.footer {
  margin-top: auto;
  background: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 30px 0 16px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 20px;
}

.footer-brand h3 {
  font-size: 1rem;
  margin-bottom: 5px;
  color: #ffffff;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.footer-links h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.8rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--text-muted);
  font-size: 0.82rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 14px;
}

.footer-bottom p {
  margin: 0;
}

.footer-credits {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.footer-host {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.92rem;
  color: #cbd5e1;
}

.footer-host span {
  color: #94a3b8;
  font-weight: 500;
}

.footer-host a {
  color: #e2b168;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
  word-break: break-all;
}

.footer-host a:hover {
  color: #f59e0b;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    justify-content: center;
    gap: 8px;
  }
  .footer-credits {
    align-items: center;
  }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1680px) {
  .dg-tall-card {
    width: 240px;
  }
}

@media (max-width: 1420px) {
  /* Skyscraper side ads gracefully hide on smaller laptops/tablets/phones */
  .dg-tall-card {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 1.8rem;
  }
  .mobile-toggle {
    display: block;
  }
  .nav-menu {
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: #171922;
    flex-direction: column;
    padding: 14px;
    gap: 10px;
    border-bottom: 1px solid var(--border-light);
    display: none;
  }
  .nav-menu.is-open {
    display: flex;
  }
  .dg-wide-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 20px;
  }
  .dg-wide-body {
    max-width: 100%;
  }
  .dg-wide-cta {
    align-items: flex-start;
    width: 100%;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ================= FORUM DELETE COMMENT BUTTON ================= */
.btn-delete-comment {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.22);
  color: #f87171;
  font-size: 0.7rem;
  padding: 2px 7px;
  border-radius: 4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  transition: all 0.2s ease;
  font-family: inherit;
  line-height: 1.2;
}

.btn-delete-comment:hover {
  background: rgba(239, 68, 68, 0.18);
  border-color: rgba(239, 68, 68, 0.45);
  color: #fca5a5;
  transform: translateY(-1px);
}

/* ================= FORUM TOPIC CARDS & VOTING SYSTEM ================= */
/* ================= FORUM TOPIC CARDS & VOTING SYSTEM (RDR2 THEME) ================= */
.forum-topic-card {
  background: linear-gradient(145deg, #1b130e 0%, #110c08 100%) !important;
  border: 1px solid rgba(217, 119, 6, 0.28) !important;
  border-top: 2px solid #b45309 !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 0 20px rgba(217, 119, 6, 0.05) !important;
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 12px;
  display: flex;
  gap: 14px;
  transition: all 0.2s ease;
}

.forum-topic-card:hover {
  border-color: rgba(217, 119, 6, 0.55) !important;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.85), 0 0 20px rgba(217, 119, 6, 0.15) !important;
  transform: translateY(-2px);
}

.vote-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  background: #140e0a !important;
  border: 1px solid rgba(217, 119, 6, 0.3) !important;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.8) !important;
  border-radius: 6px;
  padding: 4px 2px;
}

.vote-btn {
  background: none;
  border: none;
  color: #8c7e72;
  cursor: pointer;
  font-size: 0.8rem;
  padding: 2px 6px;
  transition: all 0.2s;
  line-height: 1;
}

.vote-btn:hover {
  color: #fef3c7;
}

.vote-btn.voted-up {
  color: #10b981 !important;
  font-weight: 700;
  transform: translateY(-1px);
}

.vote-btn.voted-down {
  color: #f87171 !important;
  font-weight: 700;
  transform: translateY(1px);
}

.vote-count {
  font-size: 0.82rem;
  font-weight: 700;
  color: #fef3c7 !important;
}

.topic-content {
  flex: 1;
  min-width: 0;
}

.topic-title a {
  font-size: 1.02rem;
  font-weight: 600;
  color: #ffffff !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
  text-decoration: none;
  line-height: 1.4;
  display: block;
  margin-bottom: 6px;
  transition: color 0.2s ease;
}

.topic-title a:hover {
  color: #f59e0b !important;
}

.topic-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  color: #a89a8c !important;
  flex-wrap: wrap;
}

.topic-meta strong {
  color: #e2b168 !important;
}

.comment-toggle-btn {
  color: #e2b168 !important;
  transition: color 0.2s ease;
}

.comment-toggle-btn:hover {
  color: #fbbf24 !important;
}

.game-tag {
  background: rgba(217, 119, 6, 0.15) !important;
  border: 1px solid rgba(217, 119, 6, 0.38) !important;
  color: #fbbf24 !important;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 600;
}

.comments-section {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(217, 119, 6, 0.2) !important;
}

.forum-comment-card {
  background: #140e0a !important;
  border: 1px solid rgba(217, 119, 6, 0.22) !important;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.6);
  border-radius: 6px;
  padding: 8px 12px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.cyber-input {
  background: #140e0a !important;
  border: 1px solid rgba(217, 119, 6, 0.3) !important;
  color: #ffffff !important;
  border-radius: 6px;
  outline: none;
  transition: all 0.2s ease;
}

.cyber-input:focus {
  border-color: #d97706 !important;
  box-shadow: 0 0 10px rgba(217, 119, 6, 0.25) !important;
}

.comment-form .btn-primary {
  background: linear-gradient(180deg, #dc2626 0%, #991b1b 100%) !important;
  border: 1px solid #ef4444 !important;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.45) !important;
  color: #ffffff !important;
  font-weight: 600;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.comment-form .btn-primary:hover {
  background: linear-gradient(180deg, #ef4444 0%, #b91c1c 100%) !important;
  box-shadow: 0 6px 18px rgba(220, 38, 38, 0.65) !important;
  transform: translateY(-1px);
}

.form-control {
  background: #140e0a !important;
  border: 1px solid rgba(217, 119, 6, 0.3) !important;
  border-radius: 6px;
  padding: 8px 12px;
  color: #ffffff !important;
  font-size: 0.85rem;
  font-family: inherit;
  outline: none;
  transition: all 0.2s ease;
}

.form-control:focus {
  border-color: #d97706 !important;
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.2) !important;
}



/* ================= STREAMERS SHOWCASE & AVATAR REEL ================= */
.streamer-stories-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  overflow-x: auto;
  padding: 16px 4px 20px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
  margin-bottom: 24px;
}

.streamer-avatar-frame {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  position: relative;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  flex-shrink: 0;
}

.streamer-avatar-frame:hover {
  transform: translateY(-5px) scale(1.05);
}

.avatar-ring {
  position: relative;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  padding: 3px;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.14);
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-ring img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.streamer-avatar-frame.is-live .avatar-ring {
  border-color: #ef4444;
  background: linear-gradient(135deg, #ef4444, #f97316);
  box-shadow: 0 0 16px rgba(239, 68, 68, 0.65);
  animation: livePulse 2s infinite ease-in-out;
}

@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.live-indicator-dot {
  position: absolute;
  bottom: 0;
  right: 2px;
  background: #ef4444;
  color: #ffffff;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 999px;
  border: 2px solid #111318;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.offline-indicator-dot {
  position: absolute;
  bottom: 0;
  right: 2px;
  background: #475569;
  color: #cbd5e1;
  font-size: 0.58rem;
  font-weight: 600;
  padding: 1px 4px;
  border-radius: 999px;
  border: 2px solid #111318;
}

.streamer-frame-name {
  font-size: 0.76rem;
  font-weight: 600;
  color: #e2e8f0;
  max-width: 86px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s;
}

.streamer-avatar-frame:hover .streamer-frame-name {
  color: #ffffff;
}

/* Tooltip on Hover */
.streamer-tooltip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 8px 12px;
  border-radius: 8px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  z-index: 50;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.6);
  text-align: center;
}

.streamer-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: rgba(15, 23, 42, 0.96);
}

.streamer-avatar-frame:hover .streamer-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.tooltip-status {
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-bottom: 2px;
}
.tooltip-status.is-live { color: #f87171; }
.tooltip-status.is-offline { color: #94a3b8; }

.tooltip-action {
  font-size: 0.68rem;
  color: #94a3b8;
}

/* Streamer Cards Grid */
.grid-streamers {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 20px;
}

.streamer-card {
  background: linear-gradient(180deg, #16120e 0%, #0f0c09 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 1px solid rgba(217, 119, 6, 0.25);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.65);
}

.streamer-card:hover {
  transform: translateY(-4px);
  border-color: rgba(217, 119, 6, 0.5);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.75), 0 0 16px rgba(217, 119, 6, 0.18);
}

.streamer-card.is-live {
  border-color: rgba(239, 68, 68, 0.45);
  border-top: 1.5px solid #ef4444;
}

.streamer-card.is-live:hover {
  border-color: rgba(239, 68, 68, 0.75);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.8), 0 0 20px rgba(239, 68, 68, 0.35);
}

.streamer-card-header {
  position: relative;
  height: 64px;
  background: linear-gradient(135deg, rgba(48, 30, 20, 0.95), rgba(22, 14, 9, 0.98));
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.streamer-card-banner {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.streamer-card-avatar-wrap {
  margin-top: -32px;
  margin-bottom: 12px;
  display: inline-block;
  width: fit-content;
  position: relative;
  z-index: 2;
}

.streamer-card-avatar {
  width: 62px;
  height: 62px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 3px solid #16120e;
  object-fit: cover;
  background: #1c1510;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.75);
  display: block;
}

.streamer-card.is-live .streamer-card-avatar {
  border-color: #ef4444;
  box-shadow: 0 0 18px rgba(239, 68, 68, 0.75);
}

.streamer-badge-pill {
  position: absolute;
  top: 10px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1;
}

.streamer-badge-pill.is-live {
  background: rgba(220, 38, 38, 0.28);
  border: 1px solid rgba(239, 68, 68, 0.6);
  color: #fca5a5;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.3);
}

.streamer-badge-pill.is-offline {
  background: rgba(30, 22, 16, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #a8a29e;
}

.streamer-card-body {
  padding: 0 18px 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  position: relative;
}

.streamer-card-title {
  font-family: 'MS Sabetchdi', sans-serif !important;
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff !important;
  margin: 0 0 4px;
  line-height: 1.35;
  word-break: break-word;
}

.streamer-card-handle {
  font-size: 0.78rem;
  color: #e2b168;
  margin-bottom: 8px;
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.15s ease;
}

.streamer-card-handle:hover {
  color: #f59e0b;
  text-decoration: underline;
}

.streamer-card-role {
  font-size: 0.76rem;
  color: #d5d0c8;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.22);
  padding: 3px 8px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 10px;
  width: fit-content;
}

.streamer-card-desc {
  font-size: 0.8rem;
  color: #a8a29e;
  line-height: 1.5;
  margin: 0 0 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.streamer-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.btn-stream-action {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  letter-spacing: 0.02em;
}

.btn-stream-action.live-btn {
  background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
  color: #ffffff;
  border: 1px solid rgba(254, 202, 202, 0.35);
  box-shadow: 0 4px 14px rgba(185, 28, 28, 0.5);
}

.btn-stream-action.live-btn:hover {
  background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.7);
  transform: translateY(-2px);
}

.btn-stream-action.offline-btn {
  background: rgba(30, 22, 16, 0.75);
  color: #e5e0d8;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.btn-stream-action.offline-btn:hover {
  background: rgba(45, 30, 20, 0.9);
  border-color: #d97706;
  color: #ffffff;
  transform: translateY(-1px);
}

/* ========================================================
   RDR2 & WILD WEST STREAMERS HUB - WESTERN BANDOLIER THEME
   (Exact Match to Mockup media_1790763406587.png)
   ======================================================== */

/* Full-Width Bandolier Header (Exact Match to Reference Mockup media_1790766044399.png) */
.header-rdr2-bandolier {
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #181512;
  padding: 0;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.9);
}

.bandolier-nav-bar {
  width: 100%;
  height: 43px;
  display: flex;
  align-items: stretch;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: #181512;
}

.bandolier-wing {
  flex: 1 1 0;
  height: 43px;
  background-image: url('../images/rdr2-leather-tile.png');
  background-repeat: repeat-x;
  background-position: center center;
  min-width: 10px;
}

.bandolier-cap {
  flex: 0 0 auto;
  height: 43px;
  display: flex;
  align-items: center;
}

.bandolier-cap-img {
  height: 43px;
  width: auto;
  display: block;
}

/* Central Riveted Steel Plate Bar (Standard on all pages) */
.steel-plate-bar {
  flex-grow: 1;
  max-width: 1100px;
  margin: 0 auto;
  height: 43px;
  background-image: url('../images/rdr2-steel-tile.png');
  background-repeat: repeat-x;
  background-position: center center;
  border-top: 1.5px solid rgba(255, 255, 255, 0.35);
  border-bottom: 1.5px solid #0f1215;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  position: relative;
  clip-path: polygon(14px 0, calc(100% - 14px) 0, 100% 100%, 0 100%);
}

/* On streamers.html: the steel bar seamlessly merges with the left & right photographic caps */
.header-rdr2-bandolier .steel-plate-bar {
  flex: 0 0 auto;
  max-width: none;
  margin: 0;
  height: 43px;
  background-image: url('../images/rdr2-steel-tile.png');
  background-repeat: repeat-x;
  background-position: center center;
  border: none;
  border-radius: 0;
  clip-path: none;
  box-shadow: none;
  padding: 0 6px;
  gap: 12px;
}

/* Brand Logo (GAMESEVEN Metallic Crest Image) */
.steel-brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 0 4px;
  line-height: 1;
  transition: transform 0.2s ease, filter 0.2s ease;
  flex-shrink: 0;
}

.steel-brand-logo:hover {
  transform: scale(1.05);
  filter: brightness(1.18) drop-shadow(0 2px 10px rgba(255, 255, 255, 0.28));
}

.steel-brand-logo-img {
  height: 41px;
  width: auto;
  max-width: 185px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.85)) contrast(1.08) brightness(1.06);
}

/* Consistent styling for steel bar items across all pages */
.steel-brand-capsule {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0 4px;
  gap: 8px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.steel-brand-text {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: 0.08em;
  color: #caced5;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9);
}

.steel-chevron {
  width: 17px;
  height: 17px;
  background: rgba(18, 22, 26, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  padding: 2px;
  box-sizing: border-box;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.6);
  color: #94a3b8;
  display: inline-block;
  vertical-align: middle;
}

/* ================= RDR2 BANDOLIER NAVIGATION SYSTEM ================= */
.steel-nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

@media (max-width: 768px) {
  .steel-nav-links {
    display: none !important;
  }
}

/* Base Inactive Navigation Link */
.steel-nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #d5d0c8 !important;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none !important;
  padding: 5px 12px;
  border-radius: 5px;
  background: transparent;
  border: 1px solid transparent;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.95);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.steel-nav-item:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(245, 158, 11, 0.3);
  transform: translateY(-1px);
}

/* ================= ACTIVE STATE: UNMISTAKABLE RDR2 OUTLAW TAB ================= */
/* When any standard tab is active, it gets a rich, distinctive warm leather-amber plate with a glowing bottom indicator */
.steel-nav-item.active:not(.steel-live-pill) {
  background: linear-gradient(180deg, rgba(50, 28, 16, 0.92) 0%, rgba(22, 13, 8, 0.98) 100%) !important;
  border: 1px solid #d97706 !important;
  color: #ffffff !important;
  box-shadow: inset 0 1px 0 rgba(251, 191, 36, 0.35), 0 2px 8px rgba(0, 0, 0, 0.8), 0 0 14px rgba(217, 119, 6, 0.35) !important;
  font-weight: 800;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}

.steel-nav-item.active:not(.steel-live-pill)::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 14%;
  right: 14%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #f59e0b, #ef4444, #f59e0b, transparent);
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.9);
}

/* ================= RDR2 STREAMERS PILL ================= */
/* When INACTIVE: clean, subtle, does NOT look like the current active page */
.steel-live-pill {
  gap: 7px;
  background: rgba(22, 17, 13, 0.5) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 5px;
  color: #d5d0c8 !important;
  padding: 5px 12px !important;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.4);
}

.steel-live-pill:hover {
  background: rgba(220, 38, 38, 0.16) !important;
  border-color: rgba(239, 68, 68, 0.45) !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}

/* When ACTIVE (on streamers.html): Iconic RDR2 Red plate with crimson aura */
.steel-live-pill.active {
  background: linear-gradient(180deg, rgba(68, 18, 18, 0.94) 0%, rgba(26, 8, 8, 0.98) 100%) !important;
  border: 1px solid #ef4444 !important;
  color: #ffffff !important;
  box-shadow: inset 0 1px 0 rgba(254, 202, 202, 0.35), 0 2px 8px rgba(0, 0, 0, 0.8), 0 0 16px rgba(239, 68, 68, 0.5) !important;
  font-weight: 800;
}

.steel-live-pill.active::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #f87171, #ef4444, #f87171, transparent) !important;
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.95) !important;
}

.steel-live-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  color: #ef4444;
  margin-right: 2px;
}

.live-signal-wave {
  display: inline-block;
  vertical-align: middle;
  animation: liveSignalPulse 2.2s infinite ease-in-out;
}

@keyframes liveSignalPulse {
  0%, 100% { opacity: 1; transform: scale(1); filter: drop-shadow(0 0 4px rgba(239, 68, 68, 0.7)); }
  50% { opacity: 0.65; transform: scale(0.92); filter: drop-shadow(0 0 1px rgba(239, 68, 68, 0.3)); }
}

/* Live Pulse Radar for Streamer Cards & Badges */
.live-pulse-radar {
  position: relative;
  width: 9px;
  height: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 3px;
}

.live-radar-center {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 6px rgba(239, 68, 68, 0.95);
  display: block;
}

.live-radar-ping {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1.5px solid #ef4444;
  animation: livePing 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes livePing {
  0% { transform: scale(0.6); opacity: 1; }
  75%, 100% { transform: scale(1.8); opacity: 0; }
}

.offline-circle-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #64748b;
  display: inline-block;
  margin-right: 3px;
}

@media (max-width: 960px) {
  .bandolier-wing {
    display: none !important;
  }
}

@media (max-width: 840px) {
  .bandolier-cap {
    display: none !important;
  }
  .header-rdr2-bandolier .steel-plate-bar,
  .steel-plate-bar {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 10px !important;
    clip-path: none !important;
  }
  .steel-brand-logo-img {
    height: 33px;
    max-width: 135px;
  }
}

/* Corner Rivets on the Steel Bar */
.steel-plate-rivet {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #718096;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 1px 2px rgba(0, 0, 0, 0.95);
  top: 5px;
}

.steel-rivet-left {
  left: 20px;
}

.steel-rivet-right {
  right: 20px;
}

/* Left Brand Capsule: [ 🎮 DATIGAMING ⌄ ] */
.steel-brand-capsule {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #171b1f;
  border: 1px solid #363e46;
  border-radius: 6px;
  padding: 4px 10px;
  text-decoration: none;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.6), 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: border-color 0.2s;
}

.steel-brand-capsule:hover {
  border-color: #5a6673;
}

.steel-brand-icon {
  color: #94a3b8;
}

.steel-brand-text {
  font-family: 'MS Block', sans-serif;
  font-size: 0.92rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.steel-chevron {
  color: #64748b;
}

/* Nav buttons */

/* [ ნიუსები ] Dark button capsule */
.steel-nav-btn {
  background: #1e2328;
  border: 1px solid #3a444d;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 3px rgba(0, 0, 0, 0.5);
  color: #f1f5f9;
  padding: 4px 10px;
}

.steel-nav-btn:hover {
  background: #282f37;
  border-color: #4f5d6a;
}


/* Right Capsules */
.steel-right-capsules {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-auth-btn-steel {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #1c2025;
  border: 1px solid #363f47;
  border-radius: 999px;
  padding: 3px 10px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.6);
  font-size: 0.76rem;
  color: #e2e8f0;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nav-auth-btn-steel:hover {
  background: #272e36;
  border-color: #556270;
  color: #ffffff;
}

/* User Profile Capsule: [ (avatar) Oprit-- Expand ✕ ] */
.steel-user-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #1c2025;
  border: 1px solid #363f47;
  border-radius: 999px;
  padding: 2px 8px 2px 4px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.6);
  font-size: 0.74rem;
  color: #e2e8f0;
}

.steel-user-avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
  background: #2d3748;
}

.steel-user-name {
  font-weight: 600;
  max-width: 65px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.steel-user-expand {
  background: #2b3342;
  border-radius: 4px;
  padding: 1px 5px;
  font-size: 0.65rem;
  color: #a5b4fc;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

/* [ 🇬🇪 🇺🇸 ] Dual Flag Language Switcher Pill */
.steel-flag-pill {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: #1c2025;
  border: 1px solid #363f47;
  border-radius: 999px;
  padding: 2px 4px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.6);
  font-size: 0.74rem;
  color: #e2e8f0;
  font-weight: 700;
  user-select: none;
}

.steel-flag-btn {
  background: transparent;
  border: none;
  padding: 1px 3px;
  margin: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  opacity: 0.45;
  filter: grayscale(0.25);
  transition: opacity 0.2s ease, transform 0.15s ease, background 0.2s ease, filter 0.2s ease;
  line-height: 1;
}

.steel-flag-btn:hover {
  opacity: 0.95;
  filter: grayscale(0);
  transform: scale(1.15);
}

.steel-flag-btn.active {
  opacity: 1;
  filter: grayscale(0);
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 0 5px rgba(255, 255, 255, 0.25);
}

.steel-flag-icon {
  font-size: 0.95rem;
  line-height: 1;
  display: inline-block;
}

.steel-flag-sep {
  display: inline-block;
  width: 1px;
  height: 12px;
  background: rgba(255, 255, 255, 0.2);
  margin: 0 2px;
}

.steel-flag-num {
  font-variant-numeric: tabular-nums;
  color: #cbd5e1;
  font-size: 0.75rem;
  font-weight: 700;
}

/* Mobile Toggle & Menu for Steel Navbar */
.steel-mobile-toggle {
  display: none;
  background: #1c2025;
  border: 1px solid #363f47;
  color: #e2e8f0;
  border-radius: 6px;
  padding: 4px 7px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.steel-mobile-toggle:hover {
  background: #272d34;
  border-color: #4f5d6a;
  color: #ffffff;
}

@media (max-width: 840px) {
  .steel-mobile-toggle {
    display: inline-flex;
  }
  .steel-nav-links {
    display: none;
  }
}

.steel-mobile-menu {
  display: none;
  width: 100%;
  max-width: 1100px;
  margin: 6px auto 0 auto;
  background: #14100c;
  border: 1px solid rgba(217, 119, 6, 0.35);
  border-radius: 8px;
  padding: 10px;
  flex-direction: column;
  gap: 6px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.95);
}

.steel-mobile-menu.is-open {
  display: flex !important;
}

.steel-mobile-item {
  color: #d5d0c8;
  text-decoration: none;
  padding: 9px 14px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
}

.steel-mobile-item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.steel-mobile-item.active {
  background: linear-gradient(90deg, rgba(50, 28, 16, 0.95) 0%, rgba(20, 12, 7, 0.7) 100%) !important;
  border-left: 3px solid #d97706 !important;
  color: #ffffff !important;
  box-shadow: inset 0 1px 0 rgba(251, 191, 36, 0.25);
}

.steel-mobile-item.steel-live-pill.active {
  background: linear-gradient(90deg, rgba(68, 18, 18, 0.95) 0%, rgba(26, 8, 8, 0.7) 100%) !important;
  border-left: 3px solid #ef4444 !important;
  color: #ffffff !important;
}

/* Hub Page Layout */
.rdr2-hub-page {
  background: radial-gradient(circle at 50% 20%, #17110c 0%, #0d0a08 70%, #080605 100%);
  color: #f1f5f9;
  position: relative;
  min-height: 100vh;
  padding-bottom: 70px;
  overflow-x: hidden;
}

/* Ornate Victorian / Western Mandala Filigree Watermark */
.rdr2-filigree-bg {
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 820px;
  max-width: 96vw;
  height: 600px;
  pointer-events: none;
  opacity: 0.18;
  z-index: 0;
}

.rdr2-container {
  position: relative;
  z-index: 2;
  padding-top: 24px;
}

/* Top Header Controls Bar */
.rdr2-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 14px;
}

.rdr2-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #ffffff !important;
  letter-spacing: 0.02em;
  font-family: 'MS Sabetchdi', sans-serif !important;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.95);
  margin: 0;
}

.rdr2-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* Western Search Input */
.rdr2-search-box-western {
  position: relative;
  display: flex;
  align-items: center;
  background: #150f0a;
  border: 1px solid rgba(217, 119, 6, 0.35);
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.8), 0 1px 0 rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  padding: 0 14px;
  width: 260px;
  max-width: 100%;
  height: 38px;
  transition: all 0.2s ease;
}

.rdr2-search-box-western:focus-within {
  border-color: #d97706;
  background: #19120c;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.8), 0 0 14px rgba(217, 119, 6, 0.35);
}

.rdr2-search-icon {
  color: #e2b168;
  margin-right: 8px;
  flex-shrink: 0;
}

.rdr2-search-input {
  background: transparent;
  border: none;
  color: #fef3c7;
  font-size: 0.84rem;
  padding: 6px 0;
  outline: none;
  width: 100%;
  font-family: inherit;
}

.rdr2-search-input::placeholder {
  color: #8c7e72;
}

/* Riveted Filter Buttons matching Mockup: [ T Filters ⌄ ] [ Filters ⌄ ] */
.rdr2-rivet-btn {
  position: relative;
  background: linear-gradient(180deg, #373f47 0%, #20252a 100%);
  border: 1px solid #4a5561;
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  color: #cbd5e1;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: inherit;
  transition: all 0.2s ease;
  user-select: none;
}

.rdr2-rivet-btn:hover {
  background: linear-gradient(180deg, #424b54 0%, #282e34 100%);
  border-color: #5d6a78;
  color: #ffffff;
}

.rdr2-rivet-btn.active {
  background: linear-gradient(180deg, #3c4650 0%, #252d35 100%);
  border-color: #7b8b9c;
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 0 8px rgba(255, 255, 255, 0.12);
}

.rdr2-rivet-btn .btn-rivet {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #64748b;
  box-shadow: inset 0 0.5px 0 #ffffff;
}

.btn-rivet-tl { top: 2px; left: 2px; }
.btn-rivet-tr { top: 2px; right: 2px; }
.btn-rivet-bl { bottom: 2px; left: 2px; }
.btn-rivet-br { bottom: 2px; right: 2px; }

.rdr2-filter-icon {
  font-weight: 800;
  color: #94a3b8;
  font-size: 0.8rem;
}

/* Section Headings */
.rdr2-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 28px 0 16px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff !important;
  font-family: 'MS Sabetchdi', sans-serif !important;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.rdr2-heading-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rdr2-count-pill {
  font-size: 0.74rem;
  font-weight: 700;
  background: rgba(217, 119, 6, 0.14);
  border: 1px solid rgba(217, 119, 6, 0.35);
  padding: 3px 10px;
  border-radius: 999px;
  color: #fbbf24;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

#onlineCountBadge {
  background: rgba(220, 38, 38, 0.18) !important;
  border: 1px solid rgba(239, 68, 68, 0.45) !important;
  color: #fca5a5 !important;
}

#offlineCountBadge {
  background: rgba(217, 119, 6, 0.14) !important;
  border: 1px solid rgba(217, 119, 6, 0.35) !important;
  color: #fbbf24 !important;
}

/* Badges Grid (10 per row on wide screens) */
.rdr2-badges-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 18px 12px;
  margin-bottom: 30px;
}

/* The Streamer Badge Card Container */
.rdr2-badge-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.rdr2-badge-card:hover {
  transform: translateY(-4px) scale(1.04);
}

/* Crimson Rivet Plate (ONLINE) */
.rdr2-badge-plate-online {
  width: 94px;
  height: 94px;
  border-radius: 14px;
  background: radial-gradient(circle at center, #381010 0%, #1c0606 100%);
  border: 2px solid #dc2626;
  border-top: 2.5px solid #ef4444;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.9), 0 0 20px rgba(220, 38, 38, 0.5), inset 0 0 14px rgba(220, 38, 38, 0.25);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.rdr2-badge-card:hover .rdr2-badge-plate-online {
  border-color: #f87171;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.95), 0 0 26px rgba(239, 68, 68, 0.75), inset 0 0 16px rgba(239, 68, 68, 0.4);
  transform: scale(1.03);
}

/* Scorched Iron / Leather Rivet Plate (OFFLINE) */
.rdr2-badge-plate-offline {
  width: 94px;
  height: 94px;
  border-radius: 14px;
  background: radial-gradient(circle at center, #231811 0%, #130d09 100%);
  border: 2px solid rgba(217, 119, 6, 0.32);
  border-top: 2px solid #b45309;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.85), inset 0 0 12px rgba(0, 0, 0, 0.85), 0 0 10px rgba(217, 119, 6, 0.05);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.rdr2-badge-card:hover .rdr2-badge-plate-offline {
  border-color: #d97706;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.95), 0 0 16px rgba(217, 119, 6, 0.28), inset 0 0 10px rgba(217, 119, 6, 0.15);
  transform: scale(1.03);
}

/* 4 Corner Rivets / Screws */
.rdr2-rivet {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  pointer-events: none;
}

.rdr2-badge-plate-online .rdr2-rivet {
  background: #991b1b;
  box-shadow: inset 0 1px 0 rgba(254, 202, 202, 0.7), 0 1px 2px rgba(0, 0, 0, 0.9);
}

.rdr2-badge-plate-offline .rdr2-rivet {
  background: #855328;
  box-shadow: inset 0 1px 0 rgba(253, 230, 138, 0.6), 0 1px 2px rgba(0, 0, 0, 0.9);
}

.rdr2-rivet-tl { top: 6px; left: 6px; }
.rdr2-rivet-tr { top: 6px; right: 6px; }
.rdr2-rivet-bl { bottom: 6px; left: 6px; }
.rdr2-rivet-br { bottom: 6px; right: 6px; }

/* Inner Avatar Rings */
.rdr2-badge-ring-online {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: 2px solid #ef4444;
  box-shadow: 0 0 14px rgba(239, 68, 68, 0.95), inset 0 0 8px rgba(239, 68, 68, 0.6);
  position: relative;
  padding: 2px;
  background: #200808;
}

.rdr2-badge-ring-offline {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: 2px solid #5a3820;
  box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.9), 0 1px 0 rgba(217, 119, 6, 0.15);
  position: relative;
  padding: 2px;
  background: #160e0a;
  transition: border-color 0.2s ease;
}

.rdr2-badge-card:hover .rdr2-badge-ring-offline {
  border-color: #d97706;
}

.rdr2-badge-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.rdr2-badge-plate-offline .rdr2-badge-avatar {
  filter: saturate(0.9);
}

/* LIVE Tag / Viewer count pill */
.rdr2-live-tag {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #dc2626 0%, #991b1b 100%);
  border: 1px solid #f87171;
  color: #ffffff;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 1px 7px;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.8), 0 0 10px rgba(239, 68, 68, 0.7);
  white-space: nowrap;
}

/* Name Underneath Frame */
.rdr2-badge-name {
  font-size: 0.76rem;
  font-weight: 700;
  color: #d1c2b4;
  text-align: center;
  margin-top: 7px;
  max-width: 94px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s ease;
}

.rdr2-badge-card:hover .rdr2-badge-name {
  color: #fbbf24;
}

/* ========================================================
   ONLINE SECTION COMPANION (Fills Empty Space Elegantly)
   ======================================================== */
.rdr2-radar-card {
  grid-column: span 3;
  min-height: 94px;
  border-radius: 14px;
  background: radial-gradient(circle at center, #23120f 0%, #120908 100%);
  border: 1px dashed rgba(220, 38, 38, 0.5);
  border-top: 2px solid #dc2626;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.8), inset 0 0 14px rgba(220, 38, 38, 0.12), 0 0 14px rgba(220, 38, 38, 0.08);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 16px;
  color: #fecaca;
  user-select: none;
}

@media (max-width: 768px) {
  .rdr2-radar-card {
    grid-column: 1 / -1;
  }
}

.rdr2-radar-pulse {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.18);
  border: 2px solid #ef4444;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  animation: pulseRadar 2s infinite ease-in-out;
}

@keyframes pulseRadar {
  0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.6); }
  70% { box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.rdr2-radar-content {
  display: flex;
  flex-direction: column;
}

.rdr2-radar-title {
  font-size: 0.85rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 3px;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.rdr2-radar-desc {
  font-size: 0.74rem;
  color: #e2b1b1;
  line-height: 1.35;
}

/* Saloon Notice when 0 live streamers */
.rdr2-saloon-notice {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #241913 0%, #150f0b 100%);
  border: 1px dashed rgba(180, 120, 70, 0.4);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  color: #e2d9d2;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.7);
}

.rdr2-saloon-notice h3 {
  font-size: 1.1rem;
  color: #f59e0b;
  margin-bottom: 6px;
  font-family: 'ALK Sanet', serif, sans-serif;
}

.rdr2-saloon-notice p {
  font-size: 0.84rem;
  color: #a89f91;
  max-width: 500px;
  margin: 0 auto;
}

/* ========================================================
   BOTTOM SECTION: LEATHER FIELD JOURNAL / LORE NOTEBOOKS
   ======================================================== */
.rdr2-journal-section {
  margin-top: 45px;
  padding-top: 30px;
  border-top: 1px dashed rgba(180, 120, 70, 0.35);
}

.rdr2-journal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
  margin-top: 16px;
}

.rdr2-journal-card {
  background: linear-gradient(145deg, #281912 0%, #160e0a 100%);
  border: 2px solid #4a2f1f;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.8), inset 0 0 16px rgba(0, 0, 0, 0.7);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.rdr2-journal-card::before {
  content: '';
  position: absolute;
  inset: 4px;
  border: 1px dashed rgba(180, 130, 80, 0.4);
  border-radius: 5px;
  pointer-events: none;
}

.rdr2-journal-card:hover {
  transform: translateY(-3px);
  border-color: #8b5535;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.9), inset 0 0 20px rgba(0, 0, 0, 0.6);
}

.rdr2-journal-header {
  font-size: 1.05rem;
  font-weight: 800;
  color: #f59e0b;
  font-family: 'ALK Sanet', serif, Georgia, sans-serif;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.rdr2-journal-name {
  color: #f59e0b;
  letter-spacing: 0.01em;
}

.rdr2-journal-role {
  font-size: 0.72rem;
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  padding: 2px 7px;
  border-radius: 4px;
  font-weight: 600;
  white-space: nowrap;
}

.rdr2-journal-body {
  font-size: 0.82rem;
  color: #d1c1b3;
  line-height: 1.55;
  margin-bottom: 14px;
}

.rdr2-journal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px dashed rgba(180, 120, 70, 0.25);
}

.rdr2-journal-link {
  color: #fbbf24;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.2s ease;
}

.rdr2-journal-link:hover {
  color: #ffffff;
}

.rdr2-journal-socials {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rdr2-journal-social-btn {
  color: #94a3b8;
  transition: color 0.2s;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.rdr2-journal-social-btn:hover {
  color: #fbbf24;
}

/* Temporarily hide AI chat widget per user request */
#dgChat, .dg-chat-fab, .dg-chat-hint {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}


