/* ==========================================================================
   Football Champion — "calm & clean" layer. Loaded LAST so it tidies the older styles.
   Goals: fast on cheap phones (no blur effects, no constant animations),
          neat spacing, one consistent look on every page.
   ========================================================================== */

/* ---- 1. Speed: no glass-blur, no endless decorative animation ---- */
*, *::before, *::after {
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}
body::before, body::after { animation: none !important; }
body::after, .particle, .ticker-bar, .btn-glow::before, .btn-glow::after,
.lb-table th::after, .admin-table th::after { display: none !important; }
h1, h2::after, .brand .ball, .btn, .hero-cta .btn, .card .tag, .ticket-card, .ticket-card.featured,
.medal, .badge-active, .streak-badge, .quiz-progress .dot::after,
::-webkit-scrollbar-thumb { animation: none !important; }
.btn-primary.btn-glow { box-shadow: 0 4px 14px rgba(255, 90, 54, .28); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---- 2. Calmer surfaces ---- */
.card, .ticket-card, .stat-item, .action-card, .admin-table-container { box-shadow: none; }
.ticket-card { border-style: solid; border-width: 1px; transform: none !important; }
.ticket-card::before, .ticket-card::after { display: none; }
h1 { text-shadow: none; }

/* ---- 3. Section headings: label above title, never side by side ---- */
.eyebrow { display: block; margin: 0 0 6px; padding: 0; }
.eyebrow::before, .eyebrow::after { display: none; }
h2::after { display: none; }
.section-head { margin-bottom: 22px; }
section { padding-top: clamp(36px, 6vw, 64px); padding-bottom: clamp(24px, 4vw, 40px); }

/* ---- 4. Buttons: readable, not shouty ---- */
.btn { letter-spacing: .03em; font-weight: 700; min-height: 44px; }

/* ---- 5. Top bar: one tidy row ---- */
.navbar { flex-wrap: nowrap; gap: 14px; padding: 10px 20px; }
.navbar .brand img { width: 120px !important; max-width: 30vw; }
.navlinks { gap: 6px; align-items: center; }
.fc-search-btn { display: none !important; }
.navbar .btn { padding: 8px 18px; min-height: 40px; }
@media (max-width: 860px) { .navbar { flex-wrap: wrap; } }

/* ---- 6. Language switch: small and quiet ---- */
.fc-lang { display: inline-flex; align-items: center; gap: 2px; font-size: .8rem; white-space: nowrap; }
.fc-lang a { color: var(--chalk-dim); text-decoration: none; padding: 3px 7px; border-radius: 6px; font-weight: 600; letter-spacing: .04em; }
.fc-lang a:hover { color: var(--chalk); background: rgba(255,255,255,.08); }
.fc-lang a.active { color: #0b2a1e; background: var(--gold-bright, #F0C05C); }
.footer-lang { text-align: center; margin: 12px 0; }

/* ---- 7. Landing hero card: three clear actions ---- */
.scoreboard-cta { display: flex; flex-direction: column; align-items: stretch; gap: 10px; max-width: 340px; margin: 0 auto; }
.scoreboard-cta .btn { flex: 0 0 auto; width: 100%; min-width: 0; padding: 13px 20px; justify-content: center; text-align: center; }
.card h3::before { display: none; }
.scoreboard-cta .cta-note { margin: 0; text-align: center; font-size: .82rem; color: rgba(255,255,255,.85); text-shadow: 0 1px 3px rgba(0,0,0,.6); }
.scoreboard-cta .cta-link { text-align: center; font-size: .9rem; color: #fff; text-decoration: underline; text-underline-offset: 3px; text-shadow: 0 1px 3px rgba(0,0,0,.6); }
.scoreboard-overlay { background: linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.6)); }

/* ---- 8. App sidebar: tighter ---- */
.sidebar nav a { padding-top: 9px; padding-bottom: 9px; }

/* ---- 9. Leaderboard: the "YOU" pill is enough ---- */
.lb-table .rank-pill { white-space: nowrap; }

/* ---- 10. Pricing page (same look as the landing page) ---- */
.steps { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin: 0 0 22px; padding: 0; list-style: none; font-size: .85rem; color: var(--chalk-dim); }
.steps li { display: flex; align-items: center; gap: 6px; }
.steps li + li::before { content: "›"; color: var(--chalk-dim); margin-inline-end: 2px; }
.steps .n { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--chalk-dim); font-size: .75rem; }
.steps .done .n { background: #2ecc71; border-color: #2ecc71; color: #052; }
.steps .now { color: var(--chalk); font-weight: 700; }
.steps .now .n { background: var(--gold-bright, #F0C05C); border-color: var(--gold-bright, #F0C05C); color: #231800; }
.plan-note { max-width: 680px; margin: 18px auto 0; text-align: center; font-size: .85rem; color: var(--chalk-dim); line-height: 1.55; }
.plan-msg { text-align: center; color: #FF8A6B; min-height: 1.2em; margin-top: 10px; }

/* ---- 11. Arabic (right-to-left) touches ---- */
[dir="rtl"] .fc-lang { direction: ltr; }
[dir="rtl"] .scoreboard-cta .btn { direction: rtl; }

/* Top-bar right side: language + buttons */
.nav-actions { display: flex; align-items: center; gap: 10px; }
@media (max-width: 860px) { .nav-actions .fc-lang { display: none; } }

/* Sidebar language switch: a small row, not three menu items */
.sidebar .side-lang { padding: 8px 14px; }
.sidebar .side-lang .fc-lang { display: flex; gap: 6px; justify-content: center; }
.sidebar .side-lang .fc-lang a { display: inline-block !important; width: auto !important; padding: 4px 10px !important; margin: 0 !important;
  border: 1px solid rgba(255,255,255,.12) !important; background: transparent !important; border-radius: 6px !important;
  color: var(--chalk-dim) !important; font-size: .8rem !important; box-shadow: none !important; min-height: 0 !important; }
.sidebar .side-lang .fc-lang a::before { display: none !important; }
.sidebar .side-lang .fc-lang a.active { background: var(--gold-bright, #F0C05C) !important; color: #231800 !important; border-color: transparent !important; }

/* Dashboard quiz card: text always readable on the photo */
.action-card[style*="background-image"] .action-overlay,
.action-card[style*="background-image"]:hover .action-overlay { background: linear-gradient(180deg, rgba(0,0,0,.05) 25%, rgba(0,0,0,.8) 100%); }
.action-card .action-title, .action-card .action-desc { text-shadow: 0 1px 4px rgba(0,0,0,.6); }

/* Top navigation spacing */
.navlinks a { padding: 6px 10px; }
