/* ==========================================
   OXO.GE — Homepage Redesign
   homepage-redesign.css v1.0
   ========================================== */


/* ── 1. HIDE FEATURE BANNER ENTIRELY ── */
#oxo-feature-banner {
  display: none !important;
}


/* ── 2. REMOVE ALL AD LABELS FROM BANNERS ── */
.v5-ad-banner::before,
.v5-ad-banner::after {
  display: none !important;
  content: none !important;
}
.v5-ad-banner .oxo-slider > div > div > div::before {
  display: none !important;
  content: none !important;
}
.v5-ad-banner .oxo-slider > div > div > div {
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}
.v5-ad-banner .oxo-slider > div > div > div:hover {
  box-shadow: none;
  transform: none;
}
.v5-ad-banner .oxo-slider > div > div > div:first-child {
  border-left: none;
}


/* ── 3. PODIUM REDESIGN ── */

.v5-podium {
  background: #0a0f1e;
  padding: 48px 24px 40px;
  position: relative;
  overflow: hidden;
}

/* Subtle radial glow — top center */
.v5-podium::before {
  background: radial-gradient(ellipse 70% 50% at 50% 0%,
    rgba(59,130,246,0.12) 0%, transparent 70%);
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  transform: none;
}

/* Fine grid overlay */
.v5-podium::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.6), transparent 90%);
  pointer-events: none;
}

.v5-podium-header {
  text-align: left;
  margin-bottom: 28px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
.v5-podium-title {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: var(--font-body, 'BPG Arial Caps', Roboto, Arial);
}
.v5-podium-title i {
  color: rgba(255,255,255,0.3);
  margin-right: 8px;
  font-size: 11px;
}
.v5-podium-subtitle {
  font-size: 11px;
  color: rgba(255,255,255,0.2);
  margin-top: 4px;
}
.podium-info-badge {
  opacity: 0.35;
}

/* Stage: 3 equal columns, aligned to center, cards same height */
.v5-podium-stage {
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
  gap: 12px;
}

/* ── Card base ── */
.v5-podium-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  position: relative;
}
.v5-podium-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.5);
}

/* Top accent bar per rank */
.v5-podium-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: rgba(255,255,255,0.1);
}
.v5-podium-gold::before   { background: linear-gradient(90deg, #f59e0b, #fbbf24, #f59e0b); }
.v5-podium-silver::before { background: linear-gradient(90deg, #64748b, #94a3b8, #64748b); }
.v5-podium-bronze::before { background: linear-gradient(90deg, #92400e, #b4783c, #92400e); }

/* Gold card: slightly elevated visual weight */
.v5-podium-gold {
  border-color: rgba(245,158,11,0.25);
  background: rgba(245,158,11,0.04);
}
.v5-podium-gold:hover {
  border-color: rgba(245,158,11,0.45);
  box-shadow: 0 16px 40px rgba(0,0,0,0.5), 0 0 0 1px rgba(245,158,11,0.15);
}
.v5-podium-silver:hover {
  border-color: rgba(148,163,184,0.4);
}
.v5-podium-bronze:hover {
  border-color: rgba(180,120,60,0.4);
}

/* Medal — compact top strip instead of large block */
.v5-podium-medal {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px 8px;
  background: none;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.v5-podium-gold .v5-podium-medal   { background: none; }
.v5-podium-silver .v5-podium-medal { background: none; }
.v5-podium-bronze .v5-podium-medal { background: none; }

.v5-medal-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}
.v5-podium-gold   .v5-medal-icon { background: rgba(245,158,11,0.18); color: #f59e0b; }
.v5-podium-silver .v5-medal-icon { background: rgba(148,163,184,0.15); color: #94a3b8; }
.v5-podium-bronze .v5-medal-icon { background: rgba(180,120,60,0.15);  color: #b4783c; }

.v5-medal-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}
.v5-podium-gold   .v5-medal-label { color: rgba(245,158,11,0.7); }
.v5-podium-silver .v5-medal-label { color: rgba(148,163,184,0.6); }
.v5-podium-bronze .v5-medal-label { color: rgba(180,120,60,0.6); }

/* Screenshot */
.v5-podium-screenshot {
  height: 130px;
  overflow: hidden;
  background: rgba(0,0,0,0.3);
  position: relative;
}
.v5-podium-screenshot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 0.4s ease;
  filter: brightness(0.85);
}
.v5-podium-card:hover .v5-podium-screenshot img {
  transform: scale(1.04);
  filter: brightness(0.95);
}
.v5-podium-noimg {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.1);
  font-size: 32px;
}

/* Info block */
.v5-podium-info {
  padding: 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.v5-podium-name {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}
.v5-podium-name a {
  color: #f1f5f9;
  text-decoration: none;
  transition: color 0.15s;
}
.v5-podium-name a:hover { color: #93c5fd; }

.v5-podium-url {
  font-size: 11px;
  color: rgba(255,255,255,0.28);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Stats row */
.v5-podium-stats {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.v5-ps {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: rgba(255,255,255,0.55);
}
.v5-ps strong {
  color: rgba(255,255,255,0.85);
  font-weight: 700;
  font-size: 13px;
}
.v5-ps small {
  font-size: 9px;
  color: rgba(255,255,255,0.25);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.v5-ps i {
  font-size: 10px;
  color: rgba(255,255,255,0.2);
}
.v5-ps-online .online-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  display: inline-block;
  box-shadow: 0 0 0 3px rgba(16,185,129,0.2);
}

/* Action links */
.v5-podium-links {
  display: flex;
  gap: 6px;
  margin-top: 4px;
}
.v5-podium-visit,
.v5-podium-stat {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  border: 1px solid rgba(255,255,255,0.08);
}
.v5-podium-visit {
  background: rgba(59,130,246,0.12);
  color: #93c5fd;
  border-color: rgba(59,130,246,0.2);
}
.v5-podium-visit:hover {
  background: rgba(59,130,246,0.22);
  border-color: rgba(59,130,246,0.35);
  color: #bfdbfe;
}
.v5-podium-stat {
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.4);
}
.v5-podium-stat:hover {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
}

/* Dots */
.v5-podium-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 20px;
}
.v5-podium-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.15);
  cursor: pointer;
  padding: 0;
  transition: background 0.15s, transform 0.15s;
}
.v5-podium-dot.active {
  background: rgba(255,255,255,0.6);
  transform: scale(1.3);
}


/* ── 4. RATING SECTION: HEADER + FILTER REDESIGN ── */

.v5-rating {
  background: var(--gray-100, #f3f4f6);
  padding-top: 24px;
}

/* Header: title left, clean */
.v5-rating-header {
  padding: 0 24px 16px;
  border-bottom: none;
  gap: 12px;
  flex-wrap: nowrap;
}
.v5-rating-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--gray-900, #111827);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.v5-rating-title i {
  color: var(--primary, #3b82f6);
  font-size: 14px;
}
.v5-rating-count {
  font-size: 12px;
  color: var(--gray-400, #9ca3af);
  font-weight: 600;
  background: var(--white, #fff);
  border: 1px solid var(--gray-200, #e5e7eb);
  border-radius: 20px;
  padding: 2px 10px;
  margin-left: 4px;
}

/* Category filter: styled as standalone pill bar below title */
.v5-rating-controls {
  flex-shrink: 0;
}
.cat-select-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.cat-select-icon {
  position: absolute;
  left: 12px;
  color: var(--gray-400, #9ca3af);
  font-size: 11px;
  pointer-events: none;
  z-index: 1;
}
.cat-select {
  appearance: none;
  -webkit-appearance: none;
  padding: 7px 28px 7px 30px !important;
  background-color: var(--white, #fff) !important;
  border: 1px solid var(--gray-200, #e5e7eb) !important;
  border-radius: 20px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  color: var(--gray-700, #374151) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 10px center !important;
  cursor: pointer;
  transition: border-color 0.15s;
  min-width: 180px;
}
.cat-select:hover { border-color: var(--gray-300, #d1d5db) !important; }
.cat-select:focus {
  border-color: var(--primary, #3b82f6) !important;
  box-shadow: 0 0 0 3px rgba(59,130,246,0.1) !important;
  outline: none;
}

/* Table wrapper: contained card */
.v5-table-wrap {
  background: var(--white, #fff);
  border-radius: 16px;
  border: 1px solid var(--gray-200, #e5e7eb);
  box-shadow: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.03);
  overflow: hidden;
  margin: 0 24px;
  padding: 0 !important;
}

@media (max-width: 768px) {
  .v5-table-wrap {
    margin: 0;
    border-radius: 0;
    border-left: none;
    border-right: none;
  }
}


/* ── 5. PAGINATION REDESIGN ── */

.v4-pagination {
  background: transparent !important;
  border-top: none !important;
  justify-content: center;
  padding: 20px 24px !important;
  max-width: 600px;
  margin: 0 auto;
}

.v4-page-btn {
  min-width: 34px !important;
  height: 34px !important;
  border-radius: 8px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  color: var(--gray-600, #4b5563) !important;
  border: 1px solid var(--gray-200, #e5e7eb) !important;
  background: var(--white, #fff) !important;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
  transition: all 0.12s ease !important;
}
.v4-page-btn:hover {
  background: var(--gray-50, #f9fafb) !important;
  border-color: var(--gray-300, #d1d5db) !important;
  color: var(--gray-900, #111827) !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.06) !important;
}
.v4-page-btn.active {
  background: var(--primary, #3b82f6) !important;
  border-color: var(--primary, #3b82f6) !important;
  color: #fff !important;
  box-shadow: 0 2px 8px rgba(59,130,246,0.25) !important;
}

.v4-page-goto {
  display: none !important;
}

#ajax-pagination {
  padding: 0 24px;
}

@media (max-width: 768px) {
  .v4-pagination {
    padding: 16px !important;
    max-width: 100%;
  }
  #ajax-pagination {
    padding: 0;
  }
}
