/* ============================================
   GameHub Shared Site Styles
   Provides: site top bar, language toggle,
   ad slots, visit counter, back-to-home
   ============================================ */

/* ---- Site Top Bar ---- */
.site-topbar {
  position: sticky;
  top: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 16px;
  background: rgba(15, 15, 26, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #2a2a40;
  height: 40px;
  flex-shrink: 0;
}
.site-topbar .left-group,
.site-topbar .right-group {
  display: flex;
  align-items: center;
  gap: 12px;
}
.site-topbar a.home-link {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: #eaeaea;
  font-size: 13px;
  font-weight: 600;
}
.site-topbar a.home-link:hover { color: #e94560; }
.site-topbar .lang-toggle {
  display: flex;
  border: 1px solid #2a2a40;
  border-radius: 6px;
  overflow: hidden;
}
.site-topbar .lang-btn {
  padding: 3px 12px;
  font-size: 12px;
  font-weight: 600;
  border: none;
  background: transparent;
  color: #a0a0b8;
  cursor: pointer;
  transition: 0.2s;
}
.site-topbar .lang-btn.active {
  background: #e94560;
  color: #fff;
}
.site-topbar .visit-counter {
  font-size: 11px;
  color: #6b6b80;
}
.site-topbar .visit-counter .count {
  color: #e94560;
  font-weight: 700;
}

/* ---- Ad Slots ---- */
.ad-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.03);
  border: 1px dashed rgba(255,255,255,0.1);
  border-radius: 8px;
  color: #4a4a60;
  font-size: 12px;
  text-align: center;
  overflow: hidden;
}
.ad-slot-top {
  width: 100%;
  max-width: 728px;
  height: 90px;
  margin: 8px auto;
}
.ad-slot-bottom {
  width: 100%;
  max-width: 728px;
  height: 90px;
  margin: 8px auto;
}
.ad-slot-side {
  width: 160px;
  height: 600px;
  flex-shrink: 0;
}
.ad-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #3a3a50;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .ad-slot-side { display: none; }
  .ad-slot-top, .ad-slot-bottom { height: 60px; }
  .site-topbar .visit-counter { display: none; }
}
