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

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

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

:root {
  /* Elegant Unified Dark Slate/Gray Page Background */
  --bg-page: #111318;
  --bg-glass: rgba(255, 255, 255, 0.025);
  --bg-glass-hover: rgba(255, 255, 255, 0.055);
  --bg-glass-active: rgba(255, 255, 255, 0.08);

  /* Subtle Monochromatic Accents */
  --accent-white: #ffffff;
  --accent-silver: #cbd5e1;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  /* Subtle Borders */
  --border-light: rgba(255, 255, 255, 0.07);
  --border-subtle: rgba(255, 255, 255, 0.04);
  --border-hover: rgba(255, 255, 255, 0.14);

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

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

body {
  background-color: var(--bg-page);
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 14px;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

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: rgba(17, 19, 24, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #ffffff;
}

.logo svg {
  color: var(--text-secondary);
}

.logo-badge {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  font-size: 0.65rem;
  font-weight: 600;
  padding: 2px 5px;
  border-radius: 4px;
  border: 1px solid var(--border-light);
}

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

.nav-link {
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
  padding: 5px 10px;
  border-radius: var(--radius-sm);
}

.nav-link:hover {
  color: #ffffff;
  background: var(--bg-glass-hover);
}

.nav-link.active {
  color: #ffffff;
  background: var(--bg-glass-hover);
  font-weight: 600;
}

.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: 120px;
  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: 120px;
  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 6px;
  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: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) */
.ad-top-container {
  width: 100%;
  max-width: var(--max-width);
  margin: 18px auto 0;
  padding: 0 16px;
}

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

.ad-billboard:hover {
  border-color: rgba(255, 255, 255, 0.22);
}

.ad-tag-label {
  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);
}

.ad-billboard-content {
  max-width: 62%;
}

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

.ad-billboard-content p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.45;
}

.ad-billboard-action {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

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

/* 2. ENLARGED WIDE SIDE ADS (300 x 600 Half-Page) */
.ad-skyscraper {
  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;
}

.ad-skyscraper {
  cursor: pointer;
}

.ad-skyscraper: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 {
  padding: 3px 8px;
  border-radius: 999px;
  color: #94a3b8;
  font-weight: 500;
  transition: all 0.2s ease;
  letter-spacing: 0.03em;
}

.lang-opt.active {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.ad-skyscraper-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 16px;
  width: 100%;
}

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

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

.ad-skyscraper-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: 3px 10px;
  background: var(--bg-glass);
  border: 1px solid var(--border-light);
  border-radius: 999px;
  font-size: 0.74rem;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.hero-title {
  font-family: 'MS Block', var(--font-main);
  font-size: 2.15rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
  margin-bottom: 12px;
  letter-spacing: 0.04em;
  text-shadow: -1px 0 rgba(239, 68, 68, 0.45), 1px 0 rgba(56, 189, 248, 0.45);
}

.hero-title span {
  color: #cbd5e1;
  font-weight: inherit;
}

.hero-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  max-width: 580px;
  margin: 0 auto 22px;
  line-height: 1.55;
}

/* ================= 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: 7px;
  padding: 8px 16px;
  font-size: 0.84rem;
  font-weight: 500;
  color: #e2e8f0;
  background: var(--bg-glass);
  border: 1px solid var(--border-light);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.btn-glass:hover {
  background: var(--bg-glass-hover);
  border-color: var(--border-hover);
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-glass svg {
  color: var(--text-secondary);
}

.btn-glass:hover svg {
  color: #ffffff;
}

.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-size: 1.15rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.01em;
}

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

/* ================= LEADERBOARD ================= */
.leaderboard-card {
  background: rgba(255, 255, 255, 0.015) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: var(--radius-md);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

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

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

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

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

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

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

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

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

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

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

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

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

/* ================= DONATION & SUPPORTER SYSTEM (MINIMALIST / SADA) ================= */
.donation-cta-card {
  background: #141720 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  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(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.btn-kisa-donate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff !important;
  font-weight: 500;
  font-size: 0.88rem;
  padding: 9px 20px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.btn-kisa-donate:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff !important;
  transform: translateY(-1px);
}

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

.preset-chip {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  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(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

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

.empty-leaderboard-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #f1f5f9;
  margin-bottom: 6px;
}

.empty-leaderboard-desc {
  font-size: 0.82rem;
  color: #94a3b8;
  max-width: 440px;
  margin: 0 auto 16px;
  line-height: 1.5;
}

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

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

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

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

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

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

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

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

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

.footer-bottom p {
  margin: 0;
}

.footer-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: #60a5fa;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
  word-break: break-all;
}

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

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

/* ================= RESPONSIVE ================= */
@media (max-width: 1680px) {
  .ad-skyscraper {
    width: 240px;
  }
}

@media (max-width: 1420px) {
  /* Skyscraper side ads gracefully hide on smaller laptops/tablets/phones */
  .ad-skyscraper {
    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;
  }
  .ad-billboard {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 20px;
  }
  .ad-billboard-content {
    max-width: 100%;
  }
  .ad-billboard-action {
    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-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);
  padding: 14px 16px;
  margin-bottom: 12px;
  display: flex;
  gap: 14px;
  transition: all 0.2s ease;
}

.forum-topic-card:hover {
  background: rgba(255, 255, 255, 0.038) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
}

.vote-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  padding: 4px 2px;
}

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

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

.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: 600;
  color: #ffffff;
}

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

.topic-title a {
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  line-height: 1.4;
  display: block;
  margin-bottom: 6px;
  transition: color 0.2s ease;
}

.topic-title a:hover {
  color: #cbd5e1;
}

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

.form-control {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 8px 12px;
  color: #ffffff;
  font-size: 0.85rem;
  font-family: inherit;
  outline: none;
  transition: all 0.2s ease;
}

.form-control:focus {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.06);
}


