/* ================================================================
   oxo-refined.css — OXO.GE UI Refinements v1.0
   Override file — loaded after style.css
   ================================================================ */

/* ── TASK 1: HEADER ─────────────────────────────────────────── */

.h5-topbar {
  background: #010b18;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 11px;
  padding: 0;
  line-height: 1;
}
.h5-topbar-inner { padding: 6px 24px; gap: 20px; }
.h5-topbar-left, .h5-topbar-right { gap: 14px; }
.h5-topbar-link, .h5-stat { font-size: 11px; color: rgba(148,163,184,0.7); letter-spacing: 0.01em; }
.h5-topbar-link:hover { color: rgba(226,232,240,0.9); }
.h5-stat strong { color: rgba(226,232,240,0.85); }
.h5-stat i { color: rgba(100,116,139,0.6); }
.h5-topbar-phone { color: rgba(52,211,153,0.8); font-weight: 600; }
.h5-topbar-sep { background: rgba(255,255,255,0.08); }

.h5-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255,255,255,0.98);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 1px 0 rgba(0,0,0,0.04);
  height: 60px;
  transition: background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  will-change: background, box-shadow;
}
.h5-header.scrolled {
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border-bottom-color: rgba(0,0,0,0.08);
  box-shadow: 0 1px 0 rgba(0,0,0,0.05), 0 4px 16px rgba(0,0,0,0.04);
}
.h5-header .logo-text {
  font-size: 21px;
  font-weight: 900;
  letter-spacing: 4px;
  color: #060e1e;
  text-transform: uppercase;
}
.h5-header .logo-icon {
  background: linear-gradient(145deg, #3b82f6 0%, #4f46e5 100%);
  box-shadow: 0 2px 6px rgba(59,130,246,0.22), 0 0 0 1px rgba(59,130,246,0.1);
}
.logo-badge {
  display: none;
}
.h5-search-bar .h5-search-form {
  background: #f4f7fb;
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
  height: 38px;
  transition: background 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.h5-search-bar .h5-search-form:focus-within {
  background: #fff;
  border-color: rgba(59,130,246,0.35);
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.04), 0 0 0 3px rgba(59,130,246,0.12);
}
.h5-search-field { font-size: 13px; color: var(--text-primary); }
.h5-search-field::placeholder { color: #aab4c4; }
.h5-search-icon { color: #aab4c4; transition: color 0.15s; }
.h5-search-bar .h5-search-form:focus-within .h5-search-icon { color: var(--primary); }

/* ── TASK 2: BREAKING NEWS TICKER ──────────────────────────── */

.v5-breaking {
  background: var(--dark-alt);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  height: 30px;
  min-height: 30px;
  max-height: 30px;
  overflow: hidden;
}
.v5-breaking-badge {
  background: transparent;
  border-left: 3px solid var(--danger);
  padding: 0 14px 0 12px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  gap: 0;
  height: 30px;
}
.v5-breaking-badge i { display: none; }
.v5-breaking-item {
  font-size: 12px;
  color: rgba(148,163,184,0.85);
  gap: 0;
  transition: color 0.15s;
}
.v5-breaking-item:hover { color: #e2e8f0; }
.v5-breaking-dot {
  width: auto; height: auto; border-radius: 0;
  background: transparent; animation: none;
  color: rgba(100,116,139,0.6);
  font-size: 16px; line-height: 1;
  flex-shrink: 0; margin: 0 14px;
}
.v5-breaking-dot::before { content: "·"; }
.v5-breaking-dot * { display: none; }
.v5-breaking-scroll { animation-duration: 40s; gap: 0; align-items: center; }
.v5-breaking-scroll:hover { animation-play-state: paused; }
.v5-breaking-all {
  font-size: 11px; color: rgba(96,165,250,0.7);
  padding: 0 14px; height: 30px;
  border-left: 1px solid rgba(255,255,255,0.06);
  transition: color 0.15s;
}
.v5-breaking-all:hover { color: #93bbfd; }

@media (max-width: 768px) {
  .v5-breaking { height: 28px; min-height: 28px; max-height: 28px; }
  .v5-breaking-badge { height: 28px; font-size: 9px; }
  .v5-breaking-item { font-size: 11px; }
  .v5-breaking-scroll { animation-duration: 28s; }
}

/* ── TASK 3: PODIUM / TOP 3 CARDS ──────────────────────────── */

.v5-podium {
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(59,130,246,0.06) 0%, transparent 70%),
    linear-gradient(180deg, #0f172a 0%, #1e293b 40%, #0f172a 100%);
}
.v5-podium::before { display: none; }
.v5-podium-card {
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  transition: transform 0.28s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.28s ease;
}
.v5-podium-card:hover { transform: translateY(-6px); box-shadow: 0 20px 48px rgba(0,0,0,0.35); }
.v5-podium-gold {
  border-color: rgba(245,158,11,0.5);
  box-shadow: 0 0 32px rgba(245,158,11,0.08), 0 0 0 1px rgba(245,158,11,0.12);
}
.v5-podium-gold:hover { box-shadow: 0 20px 48px rgba(0,0,0,0.4), 0 0 48px rgba(245,158,11,0.12); }
.v5-podium-silver { border-color: rgba(148,163,184,0.35); }
.v5-podium-bronze { border-color: rgba(180,120,60,0.35); }
.v5-podium-screenshot { position: relative; }
.v5-podium-screenshot::after {
  content: ""; position: absolute; inset: 0;
  box-shadow: inset 0 -2px 8px rgba(0,0,0,0.25);
  pointer-events: none;
}
.v5-podium-stats {
  display: flex; gap: 0; flex-wrap: wrap; margin-bottom: 14px;
  border-top: 1px solid rgba(255,255,255,0.05); padding-top: 12px;
}
.v5-podium-stat, .v5-ps {
  display: flex; flex-direction: column; gap: 2px; padding: 0 12px 0 0;
}
.v5-podium-stat:first-child, .v5-ps:first-child { padding-left: 0; }
.v5-ps small, .v5-podium-stat .v5-ps-label {
  font-size: 10px; color: rgba(148,163,184,0.55);
  font-weight: 400; letter-spacing: 0.02em; text-transform: uppercase;
}
.v5-ps strong, .v5-podium-stat .v5-ps-value {
  font-size: 15px; font-weight: 700; color: #e2e8f0; line-height: 1.2;
}

/* ── TASK 4: RATING TABLE ───────────────────────────────────── */

.v5-table-wrap {
  border-radius: 16px; overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid #e5e7eb; background: #fff;
}
.v5-table thead th {
  background: #f9fafb; border-bottom: 2px solid #e5e7eb;
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--text-secondary); padding: 11px 8px;
}
.v5-table thead th small { font-size: 9px; color: #9ca3af; letter-spacing: 0; font-weight: 400; text-transform: none; }
.v5-table tbody tr { border-bottom: 1px solid #f3f4f6; transition: background 0.12s ease; }
.v5-table tbody tr:nth-child(even) { background: #fdfdfd; }
.v5-table tbody tr:hover { background: #f8faff !important; }
.v5-row-gold   { background: rgba(245,158,11,0.035) !important; border-left: 3px solid var(--warning); }
.v5-row-silver { background: rgba(148,163,184,0.04) !important; border-left: 3px solid #9ca3af; }
.v5-row-bronze { background: rgba(180,120,60,0.04) !important;  border-left: 3px solid rgba(180,120,60,0.7); }
.v5-thumb { border-radius: var(--radius); border: 1px solid #e5e7eb; box-shadow: var(--shadow-sm); overflow: hidden; }
.v5-thumb img { border-radius: 0; transition: transform 0.2s ease; }
tr:hover .v5-thumb img { transform: scale(1.04); }
.v5-online-indicator,
td .online-dot,
.v5-table .col-online span {
  display: inline-flex; align-items: center; gap: 4px;
  background: rgba(16,185,129,0.08); color: #059669;
  border-radius: 20px; padding: 2px 8px;
  font-size: 11px; font-weight: 600; white-space: nowrap;
}

/* ── TASK 5: NEWS PAGE ──────────────────────────────────────── */

.n2-filter-btn {
  background: #f3f4f6; color: var(--text-secondary);
  border: 1.5px solid transparent; border-radius: 20px;
  padding: 6px 16px; font-size: 12px; font-weight: 500;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.n2-filter-btn:hover { background: #e5e7eb; color: var(--text-primary); border-color: transparent; }
.n2-filter-btn.active { background: var(--primary); border-color: transparent; color: #fff; box-shadow: 0 2px 8px rgba(59,130,246,0.25); }
.np-hero-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.42) 50%, rgba(0,0,0,0) 100%);
  padding: 32px 24px 24px;
}
.np-cat { font-size: 12px; padding: 4px 10px; border-radius: 20px; letter-spacing: 0.02em; font-weight: 700; }
.np-cat-sm { font-size: 11px; padding: 3px 9px; border-radius: 20px; }
.np-card {
  background: #fff; border: 1px solid #e5e7eb; border-radius: 14px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.np-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: #d1d5db; }
.nav-cat[data-count="0"] { display: none; }

/* ── TASK 6: AUTH / LOGIN PAGE ──────────────────────────────── */

.auth-page-split { display: flex; min-height: 100vh; background: #fff; }
.auth-brand-panel {
  width: 45%; background: var(--dark);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 48px 40px; flex-shrink: 0;
}
.auth-brand-logo {
  color: #fff; font-family: var(--font-title);
  font-size: 28px; font-weight: 900; letter-spacing: 5px;
  text-decoration: none; margin-bottom: 40px;
}
.auth-brand-logo span { color: #f59e0b; }
.auth-brand-features {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 18px;
  width: 100%; max-width: 280px;
}
.auth-brand-features li {
  display: flex; align-items: center; gap: 12px;
  font-size: 13px; color: rgba(255,255,255,0.72);
  font-family: var(--font-body); line-height: 1.45;
}
.auth-brand-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); flex-shrink: 0; }
.auth-brand-dot.green { background: var(--success); }
.auth-brand-dot.purple { background: var(--accent); }
.auth-wrap {
  flex: 1; display: flex; align-items: center;
  justify-content: center; padding: 48px 40px;
  background: #fff; overflow-y: auto;
}
.auth-inner { width: 100%; max-width: 380px; }
.form-control:focus {
  border-color: var(--primary); background: #fff;
  box-shadow: 0 0 0 3px rgba(59,130,246,0.15); outline: none;
}
.btn-primary {
  height: 48px; font-size: 15px; font-weight: 700;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  box-shadow: 0 4px 14px rgba(59,130,246,0.28); letter-spacing: 0.02em;
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #1d4ed8 100%);
  box-shadow: 0 6px 20px rgba(59,130,246,0.36); transform: translateY(-1px);
}
@media (max-width: 767px) {
  .auth-page-split { flex-direction: column; }
  .auth-brand-panel {
    width: 100%; min-height: 80px; padding: 0 20px;
    flex-direction: row; justify-content: center; gap: 20px;
  }
  .auth-brand-logo { font-size: 20px; margin-bottom: 0; }
  .auth-brand-features { display: none; }
  .auth-wrap { padding: 32px 20px; align-items: flex-start; }
}

/* ── TASK 7: FOOTER ─────────────────────────────────────────── */

.v7-footer-col h4 {
  font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.1em; color: rgba(255,255,255,0.35);
  font-weight: 700; margin-bottom: 16px; padding-bottom: 0;
}
.v7-footer-col h4::after { display: none; }
.v7-footer-col a {
  font-size: 13px; color: rgba(255,255,255,0.55);
  padding: 5px 0; transition: color 0.15s; padding-left: 0;
}
.v7-footer-col a:hover { color: rgba(255,255,255,0.95); padding-left: 0; }
.v7-footer-col a i { color: rgba(255,255,255,0.2); transition: color 0.15s; }
.v7-footer-col a:hover i { color: rgba(255,255,255,0.5); }
.v7-footer-stats {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg); padding: 12px 16px;
  margin-top: 16px; gap: 8px;
}
.v7-footer-stats span { font-size: 12px; color: rgba(148,163,184,0.8); }
.v7-footer-stats strong { color: rgba(226,232,240,0.9); font-weight: 700; }
.v7-footer-stats i { color: rgba(71,85,105,0.8); }
.v7-footer-social a {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.4); font-size: 13px;
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.15s;
}
.v7-footer-social a:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.35);
  color: rgba(255,255,255,0.9); transform: translateY(-1px);
}
.v7-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 16px; font-size: 12px; color: rgba(255,255,255,0.28);
}
.v7-footer-bottom a { color: rgba(255,255,255,0.35); transition: color 0.15s; }
.v7-footer-bottom a:hover { color: rgba(255,255,255,0.75); }
.v7-sep { color: rgba(255,255,255,0.12); }


/* === UX LOGIC FIXES v1.1 === */

/* Ticker category label */
.v5-breaking-cat {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.45);
  background: rgba(255,255,255,0.08);
  border-radius: 3px;
  padding: 1px 5px;
  margin-right: 5px;
  vertical-align: middle;
  white-space: nowrap;
}

/* === REGISTER STEP INDICATOR === */
.reg-step-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 24px;
  padding: 16px 0 0;
}
.reg-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.reg-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  background: var(--gray-100);
  color: var(--gray-400);
  border: 2px solid var(--gray-200);
  transition: 0.2s;
}
.reg-step-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.reg-step.active .reg-step-num {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.reg-step.active .reg-step-label { color: var(--primary); }
.reg-step.done .reg-step-num {
  background: var(--success);
  color: #fff;
  border-color: var(--success);
}
.reg-step.done .reg-step-label { color: var(--success); }
.reg-step-line {
  width: 48px;
  height: 2px;
  background: var(--gray-200);
  margin: 0 8px;
  align-self: flex-start;
  margin-top: 13px;
  transition: 0.2s;
}
.reg-step-line.active { background: var(--primary); }
