/* ========================================================
   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&family=Noto+Sans+Georgian:wght@400;500;600;700;800&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 body text: GL Italiuri */
@font-face {
  font-family: 'GL Italiuri';
  src: url('../fonts/gl-italiuri.ttf') format('truetype');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

/* Georgian headings fallback: MS Sabetchdi */
@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 */
@font-face {
  font-family: 'ALK Sanet';
  src: url('../fonts/alk-sanet.ttf') format('truetype');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

/* 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: ALK Sanet for body & all UI text, MS Block strictly for Headings */
  --font-main: 'ALK Sanet', 'Noto Sans Georgian', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-heading: 'MS Block', 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: #090705;
  background-image: 
    linear-gradient(180deg, rgba(7, 5, 4, 0.45) 0%, rgba(7, 5, 4, 0.08) 120px, transparent 240px),
    url('../images/site-bg.jpg?v=site_bg_v8');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  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 {
  display: none !important;
}

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

/* Headings & Titles: MS Block (Clean, Plain White) */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading), 'MS Block', sans-serif !important;
  color: #ffffff !important;
  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: var(--font-heading), 'MS Block', sans-serif !important;
  font-size: clamp(1.85rem, 4.2vw, 2.35rem);
  font-weight: 700;
  color: #ffffff !important;
  line-height: 1.35;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.98), 0 1px 4px rgba(0, 0, 0, 0.9) !important;
  text-align: center;
}

.hero-title span {
  display: block;
  margin-top: 2px;
  color: #ffffff !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: #ffffff !important;
  font-family: inherit !important;
  font-size: inherit !important;
  font-weight: 700 !important;
  letter-spacing: inherit !important;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.98), 0 1px 4px rgba(0, 0, 0, 0.9) !important;
  filter: none !important;
  opacity: 1 !important;
}

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

/* ================= 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: var(--font-heading), 'MS Block', 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;
  overflow: hidden;
}
.dg-showcase .sc-frame {
  position: absolute;
  inset: 0;
  display: block;
  color: #ffffff;
  text-decoration: none;
  opacity: 1;
  transition: opacity 0.4s ease;
}
.dg-showcase .sc-frame.is-leaving {
  opacity: 0;
  pointer-events: none;
}
.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.22);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.85);
  background: #000;
}
.dg-showcase .sc-media-thumb {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 1;
}
.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-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.65) 100%);
  transition: all 0.25s ease;
  z-index: 2;
}

.dg-showcase .sc-frame:hover .sc-media-play-overlay {
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.45) 100%);
}

.dg-showcase .sc-play-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
  border: 2px solid rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.8), 0 0 16px rgba(239, 68, 68, 0.7);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
}

.dg-showcase .sc-frame:hover .sc-play-circle {
  transform: scale(1.12);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.9), 0 0 24px rgba(239, 68, 68, 0.9);
}

.dg-showcase .sc-media iframe {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: transparent;
}

.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-family: var(--font-main) !important;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.25;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.dg-showcase .sc-subtitle {
  font-family: var(--font-main) !important;
  font-size: 0.72rem;
  color: #f59e0b;
  font-weight: 600;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 2px;
  letter-spacing: 0.01em;
}

.dg-showcase .sc-cta {
  align-self: flex-start;
  padding: 6px 14px;
  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-family: var(--font-main) !important;
  font-size: 0.75rem;
  font-weight: 700;
  transition: all 0.2s ease;
  letter-spacing: 0.02em;
}
.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 20%;
  filter: brightness(0.72) contrast(1.06);
  transform: scale(1.02);
  pointer-events: none;
}
.dg-showcase .sc-live-backdrop-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 10, 8, 0.35) 0%, rgba(13, 10, 8, 0.05) 25%, rgba(13, 10, 8, 0.65) 55%, #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: var(--font-heading), 'MS Block', sans-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);
}

/* ================= RDR2 AMBIENT VIDEO SHOWCASE (WHEN STREAMERS ARE OFFLINE) ================= */
.dg-showcase .sc-is-rdr2-video {
  border-color: rgba(217, 119, 6, 0.4);
}

.dg-showcase .sc-is-rdr2-video:hover {
  border-color: #f59e0b;
}

.dg-showcase .tag-rdr2-video {
  background: rgba(22, 16, 11, 0.92) !important;
  color: #fbbf24 !important;
  border: 1px solid rgba(245, 158, 11, 0.45) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(254, 243, 199, 0.15) !important;
  font-family: var(--font-main) !important;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 6px;
  z-index: 3;
}

.dg-showcase .rdr2-ambient-beacon {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f59e0b;
  box-shadow: 0 0 6px rgba(245, 158, 11, 0.9);
  animation: pulseBeacon 2s ease-in-out infinite;
  display: inline-block;
  flex-shrink: 0;
}

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

.dg-showcase .tag-rdr2-hub-pill {
  display: none !important;
}

.dg-showcase .sc-rdr2-logo-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #382417 0%, #150f0a 100%);
  border: 1.5px solid #f59e0b;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.8), 0 0 8px rgba(245, 158, 11, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fbbf24;
}

.dg-showcase .sc-cta-rdr2 {
  background: linear-gradient(180deg, #b45309 0%, #78350f 100%) !important;
  border: 1px solid rgba(245, 158, 11, 0.6) !important;
  color: #fef3c7 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(254, 243, 199, 0.2) !important;
}

.dg-showcase .sc-is-rdr2-video:hover .sc-cta-rdr2 {
  background: linear-gradient(180deg, #d97706 0%, #92400e 100%) !important;
  color: #ffffff !important;
  border-color: #fbbf24 !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.85), 0 0 14px rgba(245, 158, 11, 0.5) !important;
  transform: translateY(-1px);
}

/* 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;
  gap: 4px;
  min-width: 32px;
  height: 24px;
  padding: 0 6px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.06);
  white-space: nowrap;
}

.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: var(--font-heading), 'MS Block', 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: var(--font-heading), 'MS Block', 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: linear-gradient(135deg, rgba(245, 158, 11, 0.28) 0%, rgba(217, 119, 6, 0.16) 100%) !important;
  color: #fbbf24 !important;
  border: 1px solid rgba(245, 158, 11, 0.55) !important;
  font-weight: 700;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.3) !important;
}

.rank-silver {
  background: linear-gradient(135deg, rgba(148, 163, 184, 0.22) 0%, rgba(100, 116, 139, 0.14) 100%) !important;
  color: #e2e8f0 !important;
  border: 1px solid rgba(148, 163, 184, 0.45) !important;
  font-weight: 700;
}

.rank-bronze {
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.22) 0%, rgba(180, 83, 9, 0.14) 100%) !important;
  color: #fdba74 !important;
  border: 1px solid rgba(217, 119, 6, 0.45) !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;
}

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

.donor-col-rank {
  width: 70px;
  text-align: center;
}

.donor-col-user {
  vertical-align: middle;
}

.donor-name-text {
  color: #f8fafc;
  font-size: 0.88rem;
}

.gamer-info-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.gamer-name-badge-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.donor-col-date {
  color: #94a3b8;
  font-size: 0.78rem;
  white-space: nowrap;
}

.donor-date-text {
  color: #94a3b8;
  font-size: 0.78rem;
  white-space: nowrap;
}

.donor-msg-empty {
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.76rem;
}

.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;
}

.donor-badge-top {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.22) 0%, rgba(180, 83, 9, 0.14) 100%) !important;
  border: 1px solid rgba(245, 158, 11, 0.5) !important;
  color: #fbbf24 !important;
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.25) !important;
}

/* ================= 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-logo-link {
  display: inline-block;
  margin-bottom: 12px;
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
}

.footer-logo-link:hover {
  transform: translateY(-2px) scale(1.02);
  opacity: 0.95;
}

.footer-logo-img {
  max-width: 320px;
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.7));
}

.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 (Compact & Proportional) */
/* Streamer Cards Grid (Compact & Proportional) */
.grid-streamers {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
  gap: 14px;
  align-items: start; /* CRITICAL: Prevents unexpanded sibling cards in the row from stretching */
}

.streamer-card {
  background: rgba(22, 18, 14, 0.90);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  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);
  height: 204px; /* ALL cards identical uniform height when collapsed */
  box-sizing: border-box;
}

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

.streamer-card.is-expanded {
  height: auto; /* Only the expanded card grows down */
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.85);
}

.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.is-scheduled {
  border-color: rgba(245, 158, 11, 0.45);
  border-top: 1.5px solid #f59e0b;
}

.streamer-card.is-scheduled:hover {
  border-color: rgba(245, 158, 11, 0.75);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.8), 0 0 20px rgba(245, 158, 11, 0.35);
}

.streamer-card-header {
  position: relative;
  height: 50px;
  flex-shrink: 0;
  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: -25px;
  margin-bottom: 6px;
  display: inline-block;
  width: fit-content;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

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

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

.streamer-card.is-scheduled .streamer-card-avatar {
  border-color: #f59e0b;
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.65);
}

.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-badge-pill.is-scheduled {
  background: rgba(245, 158, 11, 0.16);
  border: 1px solid rgba(245, 158, 11, 0.45);
  color: #fbbf24;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.25);
}

.streamer-card-body {
  padding: 0 14px 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
  position: relative;
  box-sizing: border-box;
}

.streamer-card-title {
  font-family: var(--font-heading), 'MS Block', sans-serif !important;
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff !important;
  margin: 0 0 4px;
  line-height: 1.25;
  word-break: break-word;
  height: 42px;
  min-height: 42px;
  max-height: 42px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-shrink: 0;
}

.streamer-card-handle {
  font-size: 0.78rem;
  color: #e2b168;
  margin-bottom: 6px;
  display: block;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.15s ease;
  height: 18px;
  line-height: 18px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-shrink: 0;
}

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

.streamer-card-role {
  font-size: 0.74rem;
  color: #d5d0c8;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.22);
  padding: 2px 8px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 8px;
  width: fit-content;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-sizing: border-box;
}

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

.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);
}

/* Card Accordion Drawer & Toggle Button */
.streamer-card-toggle-wrap {
  margin-top: auto;
  margin-bottom: 0;
  display: flex;
  align-items: center;
}

.streamer-card.is-expanded .streamer-card-toggle-wrap {
  margin-top: 4px;
  margin-bottom: 2px;
}

.streamer-card-toggle-btn {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: #fbbf24;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.streamer-card-toggle-btn:hover {
  background: rgba(245, 158, 11, 0.20);
  border-color: rgba(245, 158, 11, 0.5);
  color: #ffffff;
  transform: translateY(-1px);
}

.streamer-card-toggle-btn .toggle-arrow {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-block;
}

.streamer-card.is-expanded .streamer-card-toggle-btn .toggle-arrow {
  transform: rotate(180deg);
}

.streamer-card.is-expanded .streamer-card-toggle-btn {
  background: rgba(239, 68, 68, 0.14);
  border-color: rgba(239, 68, 68, 0.35);
  color: #fca5a5;
}

/* Collapsible drawer containing role, desc, and action button */
.streamer-card-extra {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.28s ease, margin-top 0.28s ease;
  margin-top: 0;
  display: flex;
  flex-direction: column;
}

.streamer-card.is-expanded .streamer-card-extra {
  max-height: 320px;
  opacity: 1;
  margin-top: 10px;
}

/* Section Header Global Toggle Button ("ყველას ნახვა ▾") */
.btn-toggle-all-cards {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.14), rgba(180, 83, 9, 0.20));
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fbbf24;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-md, 8px);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.btn-toggle-all-cards:hover {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.28), rgba(180, 83, 9, 0.36));
  border-color: rgba(245, 158, 11, 0.7);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3);
  transform: translateY(-1px);
}

.btn-toggle-all-cards .toggle-all-chevron {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-toggle-all-cards.is-expanded .toggle-all-chevron {
  transform: rotate(180deg);
}

.btn-toggle-all-cards.is-expanded {
  background: rgba(239, 68, 68, 0.16);
  border-color: rgba(239, 68, 68, 0.45);
  color: #fca5a5;
}

.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.scheduled-btn {
  background: linear-gradient(135deg, #d97706 0%, #92400e 100%);
  color: #ffffff;
  border: 1px solid rgba(254, 243, 199, 0.35);
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.4);
}

.btn-stream-action.scheduled-btn:hover {
  background: linear-gradient(135deg, #f59e0b 0%, #b45309 100%);
  border-color: #fde68a;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.6);
  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: 840px) {
  .steel-nav-links {
    display: none !important;
  }
}

/* Base Navigation Links on Steel Bar */
.steel-nav-item {
  color: #b8bfc8 !important;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none !important;
  padding: 4px 9px;
  border-radius: 5px;
  background: transparent;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85);
}

.steel-nav-item:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.08) !important;
  text-shadow: 0 1px 4px rgba(255, 255, 255, 0.3), 0 1px 2px rgba(0, 0, 0, 0.9);
}

/* Subtle, tasteful darkening on active tab so the current page is clearly noticeable */
.steel-nav-item.active:not(.steel-live-pill) {
  background: rgba(10, 14, 18, 0.45) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: 5px;
  color: #ffffff !important;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.4), 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.95) !important;
}

/* ================= RDR2 STREAMERS LINK ================= */
.steel-live-pill {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 5px;
  color: #b8bfc8 !important;
  padding: 4px 9px !important;
  gap: 5px;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  transition: all 0.2s ease;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85);
}

.steel-live-pill:hover {
  background: rgba(239, 68, 68, 0.12) !important;
  border-color: rgba(239, 68, 68, 0.25) !important;
  color: #ffffff !important;
  text-shadow: 0 1px 4px rgba(255, 255, 255, 0.3), 0 1px 2px rgba(0, 0, 0, 0.85);
}

/* Subtle darkening with soft warm tint on active streamers page */
.steel-live-pill.active {
  background: rgba(26, 12, 12, 0.45) !important;
  border: 1px solid rgba(239, 68, 68, 0.35) !important;
  border-radius: 5px;
  color: #ffffff !important;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.4), 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 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)); }
}

.steel-live-count-badge {
  display: none !important;
}

/* 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;
}

/* Scheduled Yellow Pulse Dot for Section Heading & Badges */
.scheduled-pulse-dot {
  position: relative;
  width: 9px;
  height: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 4px;
}

.scheduled-dot-center {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fbbf24;
  box-shadow: 0 0 7px rgba(251, 191, 36, 0.95);
  display: block;
}

.scheduled-dot-ping {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1.5px solid #f59e0b;
  animation: scheduledPing 2.2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

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

@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;
}

.nav-auth-btn-steel .auth-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.nav-auth-btn-steel .auth-btn-txt {
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 700;
  color: inherit;
}

/* User Profile Capsule: [ (avatar) -DAVIT- ✕ ] */
.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: none;
  border-radius: 4px;
  padding: 1px 5px;
  font-size: 0.65rem;
  color: #a5b4fc;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.steel-user-expand:hover {
  background: #3b4556;
  color: #ffffff;
}

/* Dual Language Capsule Pill with Georgian & US Flags */
.steel-flag-pill {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: #14171f;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 2px 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5), inset 0 1px 2px rgba(0, 0, 0, 0.4);
  user-select: none;
}

.steel-flag-btn {
  background: transparent;
  border: 1px solid transparent;
  padding: 3px 6px;
  margin: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  line-height: 1;
  opacity: 0.55;
}

.steel-flag-btn:hover {
  opacity: 0.9;
  background: rgba(255, 255, 255, 0.08);
}

.steel-flag-btn.active {
  opacity: 1;
  background: #222933;
  border-color: rgba(245, 158, 11, 0.45);
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.steel-flag-img {
  width: 20px;
  height: 13px;
  object-fit: cover;
  border-radius: 2px;
  display: block;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
  pointer-events: none;
  transition: transform 0.15s ease;
}

.steel-flag-btn:hover .steel-flag-img {
  transform: scale(1.05);
}

.steel-flag-btn.active .steel-flag-img {
  box-shadow: 0 1px 4px rgba(245, 158, 11, 0.35), 0 1px 2px rgba(0, 0, 0, 0.6);
}

.steel-lang-txt {
  font-family: var(--font-main);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #7d8590;
  transition: color 0.2s ease;
}

.steel-flag-btn:hover .steel-lang-txt {
  color: #c9d1d9;
}

.steel-flag-btn.active .steel-lang-txt {
  color: #ffffff;
  font-weight: 800;
}

.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: transparent;
  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.10;
  z-index: 0;
}

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

/* Top Header Controls Bar */
.rdr2-header-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  margin: 0 auto 28px auto;
  padding-bottom: 10px;
}

.rdr2-title {
  font-size: clamp(1.85rem, 4.2vw, 2.35rem);
  font-weight: 700;
  color: #ffffff !important;
  letter-spacing: 0.02em;
  font-family: var(--font-heading), 'MS Block', sans-serif !important;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.98), 0 1px 4px rgba(0, 0, 0, 0.9);
  line-height: 1.35;
  margin: 0;
  text-align: center;
}

.rdr2-subtitle {
  color: #e5e2da;
  font-size: 0.95rem;
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.6;
  text-align: center;
  font-family: var(--font-main), 'ALK Sanet', sans-serif;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95), 0 1px 3px rgba(0, 0, 0, 0.85);
}

.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: 0.95rem;
  font-weight: 700;
  color: #ffffff !important;
  font-family: var(--font-heading), 'MS Block', sans-serif !important;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
  gap: 12px;
}

.rdr2-journal-section .rdr2-section-heading {
  font-size: 0.88rem;
}

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

.rdr2-count-pill {
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(217, 119, 6, 0.14);
  border: 1px solid rgba(217, 119, 6, 0.35);
  padding: 3px 12px;
  border-radius: 999px;
  color: #fbbf24;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  line-height: 1.2 !important;
}

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

#scheduledCountBadge {
  background: rgba(245, 158, 11, 0.16) !important;
  border: 1px solid rgba(245, 158, 11, 0.45) !important;
  color: #fbbf24 !important;
}

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

.rdr2-heading-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.rdr2-heading-right .rdr2-search-box-western {
  width: 220px;
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(21, 15, 10, 0.95);
  border: 1px solid rgba(217, 119, 6, 0.38);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.7);
}

.rdr2-heading-right .rdr2-search-box-western:focus-within {
  border-color: #f59e0b;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.7), 0 0 12px rgba(245, 158, 11, 0.3);
  background: #18100a;
}

.rdr2-heading-right .rdr2-search-icon {
  margin-right: 6px;
  color: #e2b168;
}

.rdr2-heading-right .rdr2-search-input {
  font-size: 0.78rem;
  padding: 4px 0;
  color: #fef3c7;
}

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

/* Western Expand / Collapse Button for Offline Streamers */
.rdr2-expand-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: -10px 0 28px;
}

.rdr2-expand-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(180deg, #2a1c13 0%, #170f0a 100%);
  border: 1px solid rgba(217, 119, 6, 0.45);
  border-radius: 999px;
  padding: 8px 26px;
  color: #fbbf24;
  font-family: var(--font-main) !important;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.rdr2-expand-btn:hover {
  background: linear-gradient(180deg, #3d281c 0%, #20150e 100%);
  border-color: #f59e0b;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.8), 0 0 16px rgba(245, 158, 11, 0.25);
}

.rdr2-expand-btn:active {
  transform: translateY(0);
}

.rdr2-expand-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease;
}

.rdr2-expand-btn.is-expanded .rdr2-expand-icon {
  transform: rotate(180deg);
}

/* Badges Grid (Sleek & Proportional) */
.rdr2-badges-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
  gap: 14px 10px;
  margin-bottom: 26px;
}

/* ========================================================
   OFFLINE STREAMERS HORIZONTAL CAROUSEL & SIDE ARROWS
   ======================================================== */
.rdr2-offline-carousel-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  width: 100%;
}

.rdr2-carousel-arrow {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(42, 28, 18, 0.95), rgba(20, 14, 9, 0.98));
  border: 1px solid rgba(217, 119, 6, 0.4);
  border-top: 1.5px solid rgba(245, 158, 11, 0.65);
  color: #fbbf24;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
  z-index: 5;
  user-select: none;
}

.rdr2-carousel-arrow:hover:not(:disabled) {
  background: linear-gradient(135deg, rgba(68, 44, 28, 0.98), rgba(32, 22, 14, 0.98));
  border-color: rgba(245, 158, 11, 0.85);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.85), 0 0 14px rgba(245, 158, 11, 0.35);
  transform: scale(1.08);
}

.rdr2-carousel-arrow:active:not(:disabled) {
  transform: scale(0.96);
}

.rdr2-carousel-arrow:disabled,
.rdr2-carousel-arrow.is-disabled {
  opacity: 0.28;
  cursor: default;
  pointer-events: none;
  box-shadow: none;
  border-color: rgba(255, 255, 255, 0.08);
  color: #78716c;
}

/* Carousel Track (Horizontal Smooth Scroll - Scrollbar Completely Hidden) */
#offlineStreamersGrid:not(.is-grid-mode),
.rdr2-badges-carousel:not(.is-grid-mode) {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: flex-start !important;
  gap: 12px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none !important; /* Firefox */
  -ms-overflow-style: none !important; /* IE / Edge */
  padding: 8px 4px 14px !important;
  margin-bottom: 0 !important;
  flex: 1 1 auto;
  min-width: 0;
  cursor: grab;
  user-select: none !important;
  -webkit-user-select: none !important;
  touch-action: pan-x;
}

#offlineStreamersGrid:not(.is-grid-mode):active,
.rdr2-badges-carousel:not(.is-grid-mode):active {
  cursor: grabbing !important;
}

#offlineStreamersGrid::-webkit-scrollbar,
.rdr2-badges-carousel::-webkit-scrollbar {
  display: none !important; /* Chrome, Safari, Opera */
  width: 0 !important;
  height: 0 !important;
  background: transparent !important;
}

#offlineStreamersGrid::-webkit-scrollbar-thumb,
.rdr2-badges-carousel::-webkit-scrollbar-thumb,
#offlineStreamersGrid::-webkit-scrollbar-track,
.rdr2-badges-carousel::-webkit-scrollbar-track,
#offlineStreamersGrid::-webkit-scrollbar-button,
.rdr2-badges-carousel::-webkit-scrollbar-button {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  background: transparent !important;
}

/* Prevent native browser drag & ghost image artifacts */
#offlineStreamersGrid,
#offlineStreamersGrid *,
#offlineStreamersGrid img,
#offlineStreamersGrid a,
.rdr2-badges-carousel,
.rdr2-badges-carousel *,
.rdr2-badges-carousel img,
.rdr2-badges-carousel a {
  -webkit-user-drag: none !important;
  user-drag: none !important;
  -webkit-user-select: none !important;
  user-select: none !important;
}

#offlineStreamersGrid:not(.is-grid-mode) .rdr2-badge-card,
.rdr2-badges-carousel:not(.is-grid-mode) .rdr2-badge-card {
  flex: 0 0 84px !important;
  width: 84px !important;
  min-width: 84px !important;
  max-width: 84px !important;
}

/* ========================================================
   EXPANDED MODE: ALL OFFLINE CREATORS VISIBLE (FULL MULTI-ROW GRID)
   ======================================================== */
.rdr2-offline-carousel-wrap.is-grid-mode {
  display: block !important;
  width: 100% !important;
  margin-bottom: 24px !important;
}

.rdr2-offline-carousel-wrap.is-grid-mode .rdr2-carousel-arrow {
  display: none !important;
}

#offlineStreamersGrid.is-grid-mode,
.rdr2-badges-carousel.is-grid-mode {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)) !important;
  gap: 14px 10px !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow: visible !important;
  cursor: default !important;
  padding: 0 !important;
  margin: 0 !important;
}

#offlineStreamersGrid.is-grid-mode .rdr2-badge-card,
.rdr2-badges-carousel.is-grid-mode .rdr2-badge-card {
  flex: initial !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
}

/* 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(-3px) scale(1.03);
}

/* ========================================================
   MODERN FRAMELESS RDR2 STREAMERS UI (NO CLUNKY BOXES/RIVETS)
   ======================================================== */

#onlineStreamersGrid,
#scheduledStreamersGrid {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 16px !important;
  overflow-x: auto !important;
  overflow-y: visible !important;
  scroll-behavior: smooth !important;
  -webkit-overflow-scrolling: touch !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  padding: 8px 6px 16px 6px !important;
  margin-bottom: 28px !important;
  align-items: stretch !important;
}

#onlineStreamersGrid::-webkit-scrollbar,
#scheduledStreamersGrid::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

/* --- VERTICAL WESTERN LIVE STREAMER CARDS (IMAGE 1 DESIGN) --- */
.rdr2-live-box-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 0 0 152px;
  width: 152px;
  min-width: 152px;
  max-width: 152px;
  background: linear-gradient(165deg, rgba(42, 28, 18, 0.95) 0%, rgba(20, 13, 9, 0.98) 100%);
  border: 1.5px solid rgba(217, 119, 6, 0.45);
  border-top: 2px solid rgba(245, 158, 11, 0.75);
  border-radius: 13px;
  padding: 10px 10px 14px 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.8), inset 0 0 16px rgba(0, 0, 0, 0.7);
  text-decoration: none;
  box-sizing: border-box;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  user-select: none;
}

.rdr2-live-box-card::before {
  content: '';
  position: absolute;
  inset: 4px;
  border: 1px dashed rgba(180, 130, 80, 0.25);
  border-radius: 9px;
  pointer-events: none;
  transition: border-color 0.25s ease;
}

.rdr2-live-box-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 158, 11, 0.9);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.9), 0 0 18px rgba(239, 68, 68, 0.4), inset 0 0 20px rgba(0, 0, 0, 0.6);
}

.rdr2-live-box-card:hover::before {
  border-color: rgba(245, 158, 11, 0.55);
}

/* 1. Viewer Count Badge at Top Right */
.rdr2-live-box-top {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  margin-bottom: 6px;
  z-index: 2;
}

.rdr2-live-box-viewers {
  background: linear-gradient(180deg, #dc2626 0%, #991b1b 100%);
  border: 1px solid #fca5a5;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.8), 0 0 8px rgba(239, 68, 68, 0.7);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.2;
}

.rdr2-live-box-viewers.is-scheduled-badge {
  background: linear-gradient(180deg, #b45309 0%, #78350f 100%);
  border-color: #fde68a;
  color: #fef3c7;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.8), 0 0 8px rgba(245, 158, 11, 0.5);
}

/* 2. Photo / Avatar in Center */
.rdr2-live-box-avatar-wrap {
  position: relative;
  width: 78px;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2px 0 10px 0;
  z-index: 2;
}

.rdr2-live-box-avatar-inner {
  position: relative;
  z-index: 2;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  padding: 2.5px;
  background: #140d0a;
  overflow: hidden;
  box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.95);
}

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

/* 3. YouTube Channel Name */
.rdr2-live-box-name {
  font-family: var(--font-heading), 'MS Block', sans-serif !important;
  font-size: 0.84rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.02em;
  text-align: center;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 0 8px rgba(239, 68, 68, 0.35), 0 1px 3px #000000;
  line-height: 1.25;
  margin-bottom: 5px;
  z-index: 2;
  transition: color 0.2s ease;
}

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

/* 4. Stream Title (Multi-line 2 lines with clamp) */
.rdr2-live-box-title {
  font-size: 0.7rem;
  color: #d1c2b4;
  line-height: 1.35;
  text-align: center;
  width: 100%;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500;
  min-height: 27px;
  z-index: 2;
  font-family: var(--font-main) !important;
}

/* --- LIVE STREAMER (ANIMATED NEON PULSE RING) --- */
.rdr2-live-avatar-frame {
  position: relative;
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

/* Animated Conic Gradient Neon Pulse Ring */
.rdr2-live-ring-pulse {
  position: absolute;
  inset: -3.5px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #ef4444, #f97316, #dc2626, #f59e0b, #ef4444);
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.75), 0 0 35px rgba(239, 68, 68, 0.4);
  animation: liveRingSpin 4s linear infinite, liveRingPulse 2s ease-in-out infinite alternate;
}

@keyframes liveRingSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes liveRingPulse {
  0% { box-shadow: 0 0 14px rgba(239, 68, 68, 0.65), 0 0 25px rgba(239, 68, 68, 0.3); }
  100% { box-shadow: 0 0 26px rgba(239, 68, 68, 0.95), 0 0 45px rgba(239, 68, 68, 0.55); }
}

.rdr2-live-avatar-inner {
  position: relative;
  z-index: 2;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  padding: 3px;
  background: #140d0a;
  overflow: hidden;
  box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.9);
}

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

/* LIVE Tag / Viewer count pill floating below avatar */
.rdr2-live-tag {
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  background: linear-gradient(180deg, #dc2626 0%, #991b1b 100%);
  border: 1.5px solid #fecaca;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  padding: 2px 8px;
  border-radius: 999px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.85), 0 0 12px rgba(239, 68, 68, 0.85);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.rdr2-live-tag .live-dot-ping {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 6px #ffffff;
  animation: liveDotBlink 1s infinite alternate;
}

@keyframes liveDotBlink {
  0% { opacity: 0.35; transform: scale(0.85); }
  100% { opacity: 1; transform: scale(1.2); }
}

/* Streamer Title below name */
.rdr2-live-subtitle {
  display: block;
  font-size: 0.68rem;
  color: #fbbf24;
  max-width: 110px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 2px;
  opacity: 0.92;
  text-align: center;
  font-weight: 600;
}

/* --- OFFLINE STREAMER (CLEAN FRAMELESS CIRCLE) --- */
.rdr2-offline-avatar-frame {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  padding: 2.5px;
  background: #18120c;
  border: 2px solid rgba(217, 119, 6, 0.38);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.8), inset 0 2px 4px rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 7px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.rdr2-badge-card:hover .rdr2-offline-avatar-frame {
  border-color: #f59e0b;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.9), 0 0 16px rgba(245, 158, 11, 0.5);
  transform: scale(1.05);
}

.rdr2-offline-avatar-frame .rdr2-badge-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  filter: saturate(0.9);
  transition: filter 0.2s ease;
}

.rdr2-badge-card:hover .rdr2-offline-avatar-frame .rdr2-badge-avatar {
  filter: saturate(1.15);
}

/* --- SCHEDULED STREAMER (AMBER PULSE RING) --- */
.rdr2-scheduled-avatar-frame {
  position: relative;
  width: 76px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 7px;
}

.rdr2-scheduled-avatar-inner {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  padding: 2.5px;
  background: #1b1206;
  border: 2px solid #f59e0b;
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.6), inset 0 0 6px rgba(245, 158, 11, 0.3);
  overflow: hidden;
}

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

.rdr2-scheduled-tag {
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #d97706 0%, #92400e 100%);
  border: 1px solid #fbbf24;
  color: #ffffff;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 1px 7px;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.8), 0 0 10px rgba(245, 158, 11, 0.6);
  white-space: nowrap;
}

/* Clean Name Label */
.rdr2-badge-name {
  font-size: 0.76rem;
  font-weight: 700;
  color: #d1c2b4;
  text-align: center;
  max-width: 86px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
  transition: color 0.2s ease;
}

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

.is-online-live-card .rdr2-badge-name {
  font-size: 0.84rem;
  font-weight: 800;
  color: #ffffff;
  max-width: 110px;
  text-shadow: 0 0 8px rgba(239, 68, 68, 0.5), 0 1px 3px #000000;
}


/* Saloon Notice when 0 live streamers */
.rdr2-saloon-notice {
  grid-column: 1 / -1;
  width: 100%;
  flex: 1 1 100%;
  box-sizing: border-box;
  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: var(--font-heading), 'MS Block', sans-serif !important;
}

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

/* Scheduled Notice when 0 scheduled streams */
.rdr2-scheduled-notice {
  grid-column: 1 / -1;
  width: 100%;
  flex: 1 1 100%;
  box-sizing: border-box;
  background: linear-gradient(135deg, rgba(34, 24, 15, 0.95) 0%, rgba(18, 13, 8, 0.95) 100%);
  border: 1px dashed rgba(245, 158, 11, 0.45);
  border-radius: 12px;
  padding: 24px 20px;
  text-align: center;
  color: #e2d9d2;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.7), 0 4px 14px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.rdr2-scheduled-notice-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fbbf24;
  margin-bottom: 2px;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.2);
}

.rdr2-scheduled-notice h3 {
  font-size: 1.05rem;
  color: #fbbf24;
  margin: 0;
  font-family: var(--font-heading), 'MS Block', sans-serif !important;
  letter-spacing: 0.02em;
}

.rdr2-scheduled-notice p {
  font-size: 0.84rem;
  color: #a89f91;
  max-width: 520px;
  margin: 0;
  font-family: var(--font-main);
}

/* ========================================================
   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-heading-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rdr2-journal-nav-arrows {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.rdr2-journal-nav-arrows .rdr2-carousel-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(42, 28, 18, 0.95), rgba(20, 14, 9, 0.98));
  border: 1px solid rgba(180, 120, 70, 0.45);
  color: #fbbf24;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.6);
  padding: 0;
}

.rdr2-journal-nav-arrows .rdr2-carousel-arrow:hover:not(:disabled) {
  background: linear-gradient(135deg, rgba(68, 44, 28, 0.98), rgba(32, 22, 14, 0.98));
  border-color: rgba(245, 158, 11, 0.85);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.85), 0 0 12px rgba(245, 158, 11, 0.4);
  transform: scale(1.06);
}

.rdr2-journal-nav-arrows .rdr2-carousel-arrow:active:not(:disabled) {
  transform: scale(0.94);
}

.rdr2-journal-nav-arrows .rdr2-carousel-arrow:disabled,
.rdr2-journal-nav-arrows .rdr2-carousel-arrow.is-disabled {
  opacity: 0.28;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
  border-color: rgba(255, 255, 255, 0.08);
  color: #78716c;
}

.rdr2-journal-carousel-wrap {
  position: relative;
  width: 100%;
  margin-top: 16px;
  overflow: visible;
}

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

/* Journal Horizontal Carousel (4 Cards Per Row Visible) */
.rdr2-journal-grid.rdr2-journal-carousel {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  gap: 16px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  padding: 6px 4px 16px 4px !important;
  margin: 0 !important;
  user-select: none !important;
  -webkit-user-select: none !important;
  touch-action: pan-x;
  cursor: grab;
}

.rdr2-journal-grid.rdr2-journal-carousel:active {
  cursor: grabbing !important;
}

.rdr2-journal-grid.rdr2-journal-carousel::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.rdr2-journal-grid.rdr2-journal-carousel,
.rdr2-journal-grid.rdr2-journal-carousel * {
  -webkit-user-drag: none !important;
  user-drag: none !important;
}

/* Exactly 4 Cards Per Row on Desktop */
.rdr2-journal-grid.rdr2-journal-carousel .rdr2-journal-card {
  flex: 0 0 calc((100% - 48px) / 4) !important;
  width: calc((100% - 48px) / 4) !important;
  min-width: 240px !important;
  max-width: calc((100% - 48px) / 4) !important;
  box-sizing: border-box !important;
  scroll-snap-align: start !important;
}

@media (max-width: 1100px) {
  .rdr2-journal-grid.rdr2-journal-carousel .rdr2-journal-card {
    flex: 0 0 calc((100% - 32px) / 3) !important;
    width: calc((100% - 32px) / 3) !important;
    max-width: calc((100% - 32px) / 3) !important;
    min-width: 240px !important;
  }
}

@media (max-width: 820px) {
  .rdr2-journal-grid.rdr2-journal-carousel .rdr2-journal-card {
    flex: 0 0 calc((100% - 16px) / 2) !important;
    width: calc((100% - 16px) / 2) !important;
    max-width: calc((100% - 16px) / 2) !important;
    min-width: 220px !important;
  }
}

@media (max-width: 560px) {
  .rdr2-journal-grid.rdr2-journal-carousel .rdr2-journal-card {
    flex: 0 0 88% !important;
    width: 88% !important;
    max-width: 88% !important;
    min-width: 220px !important;
  }
  .rdr2-journal-heading-right {
    gap: 8px;
  }
}

.rdr2-journal-card {
  background: linear-gradient(145deg, #281912 0%, #160e0a 100%);
  border: 2px solid #523420;
  border-radius: 10px;
  padding: 18px 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;
  overflow: hidden;
  box-sizing: border-box;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.rdr2-journal-card::before {
  content: '';
  position: absolute;
  inset: 5px;
  border: 1px dashed rgba(180, 130, 80, 0.35);
  border-radius: 6px;
  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-card-top {
  position: relative;
  z-index: 1;
}

.rdr2-journal-header {
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
}

.rdr2-journal-name {
  color: #f59e0b;
  font-size: 0.96rem;
  font-weight: 800;
  font-family: var(--font-heading), 'MS Block', sans-serif !important;
  letter-spacing: 0.02em;
  line-height: 1.35;
  word-break: break-word;
  max-width: 100%;
}

.rdr2-journal-role {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: #fbbf24;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.14) 0%, rgba(180, 83, 9, 0.2) 100%);
  border: 1px solid rgba(245, 158, 11, 0.42);
  padding: 3px 9px;
  border-radius: 999px;
  font-weight: 600;
  line-height: 1.35;
  max-width: 100%;
  box-sizing: border-box;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 2px 6px rgba(0, 0, 0, 0.4);
}

.rdr2-journal-star-icon {
  flex-shrink: 0;
  color: #f59e0b;
}

.rdr2-journal-role-txt {
  white-space: normal;
  word-break: break-word;
}

.rdr2-journal-body {
  font-size: 0.83rem;
  color: #d1c1b3;
  line-height: 1.55;
  margin-bottom: 14px;
  font-family: var(--font-main) !important;
  position: relative;
  z-index: 1;
}

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

.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;
  font-family: var(--font-main);
}

.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: #ef4444;
}

/* 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;
}

/* Hide floating visitor counter per user request */
#dgVisitorCounter, .dg-visitors {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* ========================================================
   BOTTOM-LEFT MINIMAL VOLUME CONTROLLER (MATCHING SCREENSHOT 2)
   ======================================================== */
.dg-volume-widget {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 12px 0 8px;
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(32, 22, 15, 0.94) 0%, rgba(18, 12, 8, 0.98) 100%);
  border: 1px solid rgba(217, 119, 6, 0.4);
  border-top: 1px solid rgba(245, 158, 11, 0.7);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.85), 0 0 14px rgba(245, 158, 11, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  -webkit-user-select: none;
}

.dg-volume-widget:hover {
  border-color: rgba(245, 158, 11, 0.8);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.92), 0 0 18px rgba(245, 158, 11, 0.25);
  transform: translateY(-1px);
}

.dg-vol-icon-btn {
  background: transparent;
  border: none;
  color: #fbbf24;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: all 0.2s ease;
  outline: none;
  flex-shrink: 0;
}

.dg-vol-icon-btn:hover {
  color: #ffffff;
  background: rgba(245, 158, 11, 0.15);
  transform: scale(1.08);
}

.dg-vol-svg {
  display: block;
}

.dg-vol-off {
  display: none !important;
}

.dg-volume-widget.is-muted .dg-vol-on {
  display: none !important;
}

.dg-volume-widget.is-muted .dg-vol-off {
  display: block !important;
  color: #ef4444;
}

.dg-vol-track {
  display: flex;
  align-items: center;
}

.dg-vol-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 75px;
  height: 5px;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  outline: none;
  cursor: pointer;
  accent-color: #f59e0b;
  transition: background 0.2s;
}

.dg-vol-slider:hover {
  background: rgba(255, 255, 255, 0.25);
}

.dg-vol-slider::-webkit-slider-runnable-track {
  height: 5px;
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.5) 0%, rgba(217, 119, 6, 0.2) 100%);
  border-radius: 999px;
  border: 1px solid rgba(217, 119, 6, 0.3);
}

.dg-vol-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 13px;
  height: 13px;
  margin-top: -4.5px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fef08a 0%, #f59e0b 60%, #b45309 100%);
  border: 1.5px solid #1a110a;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.8), 0 0 8px rgba(245, 158, 11, 0.7);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.dg-vol-slider::-webkit-slider-thumb:hover {
  transform: scale(1.22);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.9), 0 0 12px rgba(245, 158, 11, 0.95);
}

.dg-vol-slider::-moz-range-track {
  height: 5px;
  background: rgba(217, 119, 6, 0.25);
  border-radius: 999px;
  border: 1px solid rgba(217, 119, 6, 0.3);
}

.dg-vol-slider::-moz-range-thumb {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fef08a 0%, #f59e0b 60%, #b45309 100%);
  border: 1.5px solid #1a110a;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.8), 0 0 8px rgba(245, 158, 11, 0.7);
  cursor: pointer;
}

@media (max-width: 640px) {
  .dg-volume-widget {
    bottom: 14px;
    left: 14px;
    height: 36px;
    padding: 0 10px 0 6px;
  }
  .dg-vol-slider {
    width: 55px;
  }
}

/* ========================================================
   REDM SERVERS DIRECTORY & BROWSER STYLES
   ======================================================== */
.redm-page-wrap {
  padding-bottom: 70px;
}

.redm-hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.redm-stat-card {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(20, 16, 12, 0.75);
  border: 1px solid rgba(217, 119, 6, 0.35);
  border-radius: 999px;
  padding: 6px 18px;
  font-size: 0.84rem;
  color: #f1f5f9;
  box-shadow: 0 4px 14px rgba(0,0,0,0.4);
}

.redm-stat-card strong {
  color: #f59e0b;
  font-weight: 700;
}

.redm-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 32px 0 24px 0;
  flex-wrap: wrap;
}

.redm-search-wrap {
  position: relative;
  flex: 1;
  min-width: 260px;
  max-width: 440px;
}

.redm-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #a89a8c;
  pointer-events: none;
}

.redm-search-input {
  width: 100%;
  height: 42px;
  background: #14100c !important;
  border: 1px solid rgba(217, 119, 6, 0.3) !important;
  border-radius: 8px;
  padding: 0 16px 0 42px;
  color: #ffffff !important;
  font-size: 0.88rem;
  font-family: inherit;
  outline: none;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.7);
  transition: all 0.2s ease;
}

.redm-search-input:focus {
  border-color: #d97706 !important;
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.2), inset 0 2px 5px rgba(0, 0, 0, 0.7) !important;
}

.redm-filters-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.redm-filter-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.redm-filter-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(217, 119, 6, 0.4);
  color: #ffffff;
}

.redm-filter-btn.active {
  background: linear-gradient(180deg, #b45309 0%, #78350f 100%);
  border-color: #f59e0b;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(180, 83, 9, 0.4);
}

.redm-servers-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.redm-server-card {
  background: #14100c;
  border: 1px solid rgba(217, 119, 6, 0.35);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.75);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}

.redm-server-card:hover {
  border-color: rgba(245, 158, 11, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.85), 0 0 25px rgba(217, 119, 6, 0.15);
}

.redm-card-banner-wrap {
  width: 100%;
  height: 190px;
  position: relative;
  overflow: hidden;
  background: #0d0a08;
}

.redm-card-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.72) saturate(1.1);
  transition: transform 0.4s ease, filter 0.4s ease;
}

.redm-server-card:hover .redm-card-banner-img {
  transform: scale(1.02);
  filter: brightness(0.85) saturate(1.2);
}

.redm-card-banner-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 16, 12, 0.1) 0%, rgba(20, 16, 12, 0.7) 65%, #14100c 100%);
  pointer-events: none;
}

.redm-card-status-pill {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(10, 12, 14, 0.8);
  border: 1px solid rgba(16, 185, 129, 0.4);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  color: #34d399;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.6);
}

.redm-radar-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: redmPulse 2s infinite;
}

@keyframes redmPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.redm-card-body {
  padding: 0 24px 22px 24px;
  margin-top: -36px;
  position: relative;
  z-index: 2;
}

.redm-card-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.redm-avatar-and-title {
  display: flex;
  align-items: flex-end;
  gap: 16px;
}

.redm-card-avatar {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  border: 2px solid #d97706;
  box-shadow: 0 6px 18px rgba(0,0,0,0.8), 0 0 12px rgba(217, 119, 6, 0.4);
  background: #18120c;
  object-fit: cover;
  flex-shrink: 0;
}

.redm-title-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.redm-server-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0,0,0,0.8);
  font-family: inherit;
}

.redm-server-subtitle {
  font-size: 0.8rem;
  color: #fbbf24;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.redm-live-counts {
  display: flex;
  align-items: center;
  gap: 10px;
}

.redm-count-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.78rem;
  color: #e2e8f0;
}

.redm-card-desc {
  font-size: 0.88rem;
  color: #cbd5e1;
  line-height: 1.55;
  margin: 12px 0 16px 0;
}

.redm-features-list {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.redm-feature-pill {
  background: rgba(217, 119, 6, 0.1);
  border: 1px solid rgba(217, 119, 6, 0.25);
  color: #fde68a;
  font-size: 0.73rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 4px;
}

.redm-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  flex-wrap: wrap;
}

.redm-action-btns-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-redm-discord {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #5865F2;
  border: 1px solid #7983f5;
  color: #ffffff;
  padding: 8px 18px;
  border-radius: 7px;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(88, 101, 242, 0.35);
}

.btn-redm-discord:hover {
  background: #4752c4;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(88, 101, 242, 0.5);
  color: #ffffff;
}

.btn-redm-connect {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(180deg, #b45309 0%, #78350f 100%);
  border: 1px solid #f59e0b;
  color: #ffffff;
  padding: 8px 18px;
  border-radius: 7px;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(180, 83, 9, 0.4);
}

.btn-redm-connect:hover {
  background: linear-gradient(180deg, #d97706 0%, #92400e 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(217, 119, 6, 0.5);
  color: #ffffff;
}

.redm-f8-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px dashed rgba(217, 119, 6, 0.4);
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.77rem;
  color: #cbd5e1;
  font-family: monospace;
  cursor: pointer;
  transition: all 0.2s ease;
}

.redm-f8-pill:hover {
  border-color: #f59e0b;
  background: rgba(0, 0, 0, 0.6);
  color: #fef08a;
}

/* RedM Beginner Guide Card */
.redm-guide-card {
  margin-top: 48px;
  background: #14100c;
  border: 1px solid rgba(217, 119, 6, 0.35);
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7);
}

.redm-guide-title {
  font-size: 1.15rem;
  color: #ffffff;
  font-weight: 800;
  margin: 0 0 16px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.redm-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.redm-step-box {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  padding: 16px;
}

.redm-step-num {
  width: 24px;
  height: 24px;
  background: #d97706;
  color: #14100c;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.78rem;
  margin-bottom: 8px;
}

.redm-step-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 4px;
}

.redm-step-desc {
  font-size: 0.78rem;
  color: #94a3b8;
  line-height: 1.45;
  margin: 0;
}

/* ========================================================
   GLOBAL COMMUNITY LIVE CHATROOM STYLES
   ======================================================== */
.chat-room-container {
  max-width: 960px;
  margin: 0 auto;
  background: #14100c;
  border: 1px solid rgba(217, 119, 6, 0.38);
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.85);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 720px;
  position: relative;
}

.chat-room-topbar {
  background: linear-gradient(180deg, #1e1711 0%, #16110d 100%);
  border-bottom: 1.5px solid rgba(217, 119, 6, 0.3);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.chat-room-title-block {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-title-icon {
  width: 34px;
  height: 34px;
  background: rgba(217, 119, 6, 0.15);
  border: 1px solid rgba(217, 119, 6, 0.35);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #f59e0b;
}

.chat-room-name {
  font-size: 1rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.02em;
}

.chat-room-status {
  font-size: 0.72rem;
  color: #34d399;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
}

.chat-room-actions-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-count-pill {
  font-size: 0.74rem;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3px 10px;
  border-radius: 999px;
}

.chat-messages-feed {
  flex: 1;
  overflow-y: auto;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  scroll-behavior: smooth;
  background-color: #0e0a07;
  background-image: radial-gradient(circle at 50% 30%, rgba(217, 119, 6, 0.03) 0%, transparent 70%);
}

.chat-messages-feed::-webkit-scrollbar {
  width: 6px;
}
.chat-messages-feed::-webkit-scrollbar-track {
  background: #14100c;
}
.chat-messages-feed::-webkit-scrollbar-thumb {
  background: rgba(217, 119, 6, 0.35);
  border-radius: 4px;
}

.chat-system-welcome {
  background: rgba(217, 119, 6, 0.08);
  border: 1px dashed rgba(217, 119, 6, 0.35);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 0.8rem;
  color: #e2d7cc;
  text-align: center;
  margin-bottom: 10px;
  line-height: 1.5;
}

.chat-msg-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  transition: opacity 0.2s ease, transform 0.2s ease;
  max-width: 85%;
}

.chat-msg-row.is-mine {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.chat-msg-avatar-wrap {
  flex-shrink: 0;
}

.chat-msg-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(217, 119, 6, 0.4);
  object-fit: cover;
  background: #18120c;
}

.chat-msg-bubble {
  background: #18130f;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 8px 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  min-width: 140px;
}

.chat-msg-row.is-mine .chat-msg-bubble {
  background: #201710;
  border-color: rgba(217, 119, 6, 0.35);
}

.chat-msg-header {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 4px;
}

.chat-author-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: #f1f5f9;
}

.chat-role-badge {
  font-size: 0.65rem;
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.chat-role-badge.role-admin {
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.4);
}

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

.chat-msg-time {
  font-size: 0.7rem;
  color: #64748b;
  margin-left: auto;
}

.chat-delete-btn {
  background: transparent;
  border: none;
  color: #64748b;
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 4px;
  transition: color 0.2s ease;
}

.chat-delete-btn:hover {
  color: #f87171;
}

.chat-msg-text {
  font-size: 0.86rem;
  color: #e2e8f0;
  line-height: 1.45;
  word-break: break-word;
  white-space: pre-wrap;
}

.chat-inline-link {
  color: #60a5fa;
  text-decoration: underline;
  word-break: break-all;
}

.chat-inline-link:hover {
  color: #93c5fd;
}

/* Chat Inline Media Embeds (GIF & PNG) */
.chat-media-embeds {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 100%;
}

.chat-media-card {
  display: inline-block;
  max-width: 320px;
  border-radius: 8px;
  overflow: hidden;
  border: 1.5px solid rgba(217, 119, 6, 0.4);
  background: #0d0906;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.chat-media-card:hover {
  transform: translateY(-2px);
  border-color: #f59e0b;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.8), 0 0 12px rgba(245, 158, 11, 0.3);
}

.chat-msg-media {
  display: block;
  max-width: 100%;
  max-height: 240px;
  width: auto;
  height: auto;
  object-fit: cover;
  border-radius: 6px;
}

.chat-input-area {
  background: #14100c;
  border-top: 1px solid rgba(217, 119, 6, 0.3);
  padding: 12px 18px;
  flex-shrink: 0;
  position: relative;
  z-index: 50;
}

.chat-form-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}

.chat-form-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-user-preview {
  display: flex;
  align-items: center;
  gap: 8px;
}

.chat-my-avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid rgba(217, 119, 6, 0.5);
  object-fit: cover;
}

.chat-my-name {
  font-size: 0.78rem;
  font-weight: 700;
  color: #f1f5f9;
}

.chat-my-tag {
  font-size: 0.72rem;
  color: #94a3b8;
}

.chat-char-counter {
  font-size: 0.72rem;
  color: #64748b;
  font-variant-numeric: tabular-nums;
}

/* Chat Media Action Toolbar (GIF / PNG) */
/* Chat Inline Action Buttons (GIF & Photo Upload) */
.chat-form-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.chat-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 48px;
  background: #0d0906;
  border: 1px solid rgba(217, 119, 6, 0.4);
  border-radius: 8px;
  color: #fbbf24;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.7);
  padding: 0;
}

.chat-action-btn:hover:not(:disabled) {
  background: rgba(217, 119, 6, 0.2);
  border-color: #f59e0b;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
}

.chat-action-btn.active {
  background: rgba(217, 119, 6, 0.3);
  border-color: #fbbf24;
  color: #ffffff;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.4);
}

.chat-action-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.chat-btn-gif-text {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  font-family: inherit;
  pointer-events: none;
}

/* Discord-Style GIF Popover */
.chat-gif-popover {
  position: absolute;
  bottom: calc(100% + 10px);
  right: 0;
  width: 500px;
  max-width: 100%;
  height: 420px;
  max-height: 420px;
  background: #120d09;
  border: 1.5px solid rgba(217, 119, 6, 0.55);
  border-radius: 12px;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.95), 0 0 24px rgba(217, 119, 6, 0.2);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 200;
  display: none;
  flex-direction: column;
  overflow: hidden;
  animation: popoverFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.chat-gif-popover.active {
  display: flex !important;
}

@keyframes popoverFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.chat-gif-popover-close {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  padding: 2px 6px;
  transition: color 0.15s ease;
}

.chat-gif-popover-close:hover {
  color: #f87171;
}

.chat-gif-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #110c08;
  border-bottom: 1.5px solid rgba(217, 119, 6, 0.35);
  position: relative;
  z-index: 50;
  padding: 8px 10px;
  gap: 8px;
}

.chat-gif-categories-bar {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}

.chat-gif-categories-bar::-webkit-scrollbar {
  display: none;
}

.chat-gif-dropdown-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.chat-gif-dropdown-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(180deg, #1f1710 0%, #140d08 100%);
  border: 1px solid rgba(217, 119, 6, 0.45);
  border-radius: 999px;
  color: #fbbf24;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 5px 12px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  user-select: none;
}

.chat-gif-dropdown-toggle-btn:hover {
  background: rgba(217, 119, 6, 0.25);
  border-color: #f59e0b;
  color: #ffffff;
  transform: translateY(-1px);
}

.chat-gif-dropdown-toggle-btn.open {
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.45) 0%, rgba(180, 83, 9, 0.3) 100%);
  border-color: #fbbf24;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.4);
  color: #ffffff;
}

.chat-gif-dropdown-toggle-btn.has-active-sub {
  border-color: #fbbf24;
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.35) 0%, rgba(180, 83, 9, 0.25) 100%);
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.3);
}

.chat-dropdown-arrow {
  transition: transform 0.2s ease;
}

.chat-gif-dropdown-toggle-btn.open .chat-dropdown-arrow {
  transform: rotate(180deg);
}

.chat-gif-dropdown-panel {
  position: absolute;
  top: 47px;
  left: 0;
  right: 0;
  background: #110d08;
  border-bottom: 2px solid rgba(217, 119, 6, 0.5);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.96), 0 0 20px rgba(217, 119, 6, 0.25);
  padding: 10px 12px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  z-index: 100;
  animation: popoverFadeIn 0.18s ease;
}

.chat-gif-dropdown-panel .chat-gif-cat-btn {
  width: 100%;
  justify-content: center;
  padding: 6px 4px;
  font-size: 0.72rem;
}

.chat-gif-cat-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #18120d;
  border: 1px solid rgba(217, 119, 6, 0.3);
  border-radius: 999px;
  color: #d1cfc7;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 5px 12px;
  cursor: pointer;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  flex-shrink: 0;
}

.chat-gif-cat-btn:hover {
  background: rgba(217, 119, 6, 0.22);
  border-color: #f59e0b;
  color: #fbbf24;
  transform: translateY(-1px);
}

.chat-gif-cat-btn.active {
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.45) 0%, rgba(180, 83, 9, 0.3) 100%);
  border-color: #fbbf24;
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.45);
}

.chat-gif-cat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #f59e0b;
}

.chat-gif-cat-btn.active .chat-gif-cat-icon {
  color: #fbbf24;
  filter: drop-shadow(0 0 4px rgba(245, 158, 11, 0.7));
}

/* Custom Western Scrollbar & Strict Row Heights for GIF Grid */
.chat-gif-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 96px;
  gap: 8px;
  padding: 12px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #d97706 #0c0906;
}

.chat-gif-grid::-webkit-scrollbar {
  width: 7px;
}

.chat-gif-grid::-webkit-scrollbar-track {
  background: #0c0906;
  border-radius: 4px;
}

.chat-gif-grid::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #f59e0b 0%, #b45309 100%);
  border-radius: 4px;
  border: 1px solid rgba(245, 158, 11, 0.35);
  box-shadow: 0 0 8px rgba(217, 119, 6, 0.4);
}

.chat-gif-grid::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #fbbf24 0%, #d97706 100%);
  border-color: #f59e0b;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.65);
}

.chat-gif-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 96px;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  background: #090604;
  border: 1.5px solid rgba(217, 119, 6, 0.28);
  cursor: pointer;
  padding: 0;
  margin: 0;
  outline: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.chat-gif-card:hover {
  transform: translateY(-2px) scale(1.03);
  border-color: #f59e0b;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.85), 0 0 14px rgba(245, 158, 11, 0.45);
  z-index: 2;
}

.chat-gif-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.chat-gif-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.88) 0%, transparent 100%);
  padding: 8px 6px 4px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
}

.chat-gif-card:hover .chat-gif-card-overlay {
  opacity: 1;
}

.chat-gif-card-title {
  font-size: 0.68rem;
  color: #f8fafc;
  font-weight: 700;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-gif-empty {
  grid-column: 1 / -1;
  padding: 30px 10px;
  text-align: center;
}

.chat-gif-custom-link-box {
  grid-column: 1 / -1;
  background: rgba(217, 119, 6, 0.12);
  border: 1px dashed rgba(217, 119, 6, 0.4);
  border-radius: 8px;
  padding: 10px;
  text-align: center;
  margin-bottom: 6px;
}

.chat-gif-custom-send-btn {
  background: linear-gradient(180deg, #d97706 0%, #b45309 100%);
  border: 1px solid #f59e0b;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.chat-gif-custom-send-btn:hover {
  background: #f59e0b;
}

@keyframes chatSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.chat-spin {
  animation: chatSpin 0.9s linear infinite;
}

.chat-form-main {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 8px;
}

.chat-textarea {
  flex: 1;
  background: #0f0b08 !important;
  border: 1px solid rgba(217, 119, 6, 0.3) !important;
  border-radius: 8px;
  padding: 10px 14px;
  color: #ffffff !important;
  font-size: 0.88rem;
  font-family: inherit;
  outline: none;
  resize: none;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.8);
  transition: all 0.2s ease;
  min-height: 48px;
}

.chat-textarea:focus {
  border-color: #d97706 !important;
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.2), inset 0 2px 4px rgba(0,0,0,0.8) !important;
}

.chat-send-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: linear-gradient(180deg, #b45309 0%, #78350f 100%);
  border: 1px solid #f59e0b;
  color: #ffffff;
  padding: 0 20px;
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(180, 83, 9, 0.4);
}

.chat-send-btn:hover:not(:disabled) {
  background: linear-gradient(180deg, #d97706 0%, #92400e 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(217, 119, 6, 0.5);
}

.chat-send-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.chat-auth-locked {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(217, 119, 6, 0.08);
  border: 1px dashed rgba(217, 119, 6, 0.4);
  border-radius: 8px;
  padding: 12px 18px;
  flex-wrap: wrap;
}

.chat-locked-content {
  flex: 1;
  min-width: 220px;
}

.chat-locked-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #f59e0b;
  margin-bottom: 2px;
}

.chat-locked-desc {
  font-size: 0.76rem;
  color: #cbd5e1;
}

.chat-login-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #5865F2;
  border: 1px solid #7983f5;
  color: #ffffff;
  padding: 7px 16px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.chat-login-btn:hover {
  background: #4752c4;
  color: #ffffff;
  transform: translateY(-1px);
}

.chat-empty-state {
  text-align: center;
  margin: auto;
  padding: 40px 20px;
}

.chat-empty-icon {
  font-size: 2.5rem;
  margin-bottom: 8px;
}

.chat-empty-title {
  font-size: 1rem;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 4px;
}

.chat-empty-desc {
  font-size: 0.8rem;
  color: #64748b;
}

@media (max-width: 840px) {
  .chat-room-container {
    height: calc(100vh - 120px);
    max-height: 650px;
    border-radius: 0;
    border-left: none;
    border-right: none;
  }
  .chat-msg-row {
    max-width: 95%;
  }
  .chat-gif-popover {
    right: 0;
    left: 0;
    width: auto;
    max-width: 100%;
    height: 380px;
    max-height: 380px;
  }
  .chat-gif-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 100px;
    gap: 8px;
    padding: 10px;
  }
  .chat-gif-card {
    height: 100px;
  }
  .chat-gif-dropdown-panel {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    padding: 8px;
    max-height: 220px;
    overflow-y: auto;
  }
}
