/*
Theme Name:  U Business Apps Portal
Theme URI:   https://zeetech.com
Author:      ZEETECH – Zaheer Abbas
Author URI:  https://zeetech.com
Description: Official theme for U Business Apps Portal. Gold & Blue, mobile-first, built for the UBAP plugin.
Version:     1.0.0
License:     GNU General Public License v2 or later
Text Domain: ubap-theme
Tags:        business, custom-colors, custom-logo, full-width-template, mobile-first
*/

/* ── Theme Design Tokens ──────────────────────────────────────────────────── */
:root {
  /* Brand Colors */
  --gold:        #F5A623;
  --gold-light:  #FFD166;
  --gold-dark:   #C17D11;
  --blue:        #1A56DB;
  --blue-light:  #3B82F6;
  --blue-dark:   #1E3A8A;
  --navy:        #0B1F4A;

  /* UI Neutrals */
  --white:       #FFFFFF;
  --bg:          #F4F7FE;
  --surface:     #FFFFFF;
  --border:      #E2E8F0;
  --text:        #1E293B;
  --muted:       #64748B;
  --subtle:      #CBD5E1;

  /* Status */
  --green:       #10B981;
  --red:         #EF4444;
  --amber:       #F59E0B;

  /* Geometry */
  --radius-sm:   8px;
  --radius:      14px;
  --radius-lg:   22px;
  --radius-pill: 999px;
  --shadow-sm:   0 2px 8px rgba(11,31,74,.07);
  --shadow:      0 6px 24px rgba(11,31,74,.10);
  --shadow-lg:   0 16px 48px rgba(11,31,74,.15);

  /* Typography */
  --font-display: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  --font-body:    'Inter', 'Segoe UI', system-ui, sans-serif;

  /* Gradients */
  --grad-gold:   linear-gradient(135deg, #F5A623 0%, #C17D11 100%);
  --grad-blue:   linear-gradient(135deg, #1A56DB 0%, #0B1F4A 100%);
  --grad-hero:   linear-gradient(135deg, #0B1F4A 0%, #1A56DB 60%, #F5A623 100%);
  --grad-card:   linear-gradient(145deg, #ffffff 0%, #f4f7fe 100%);
}

/* ── Reset & Base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold); }
ul { list-style: none; }

/* ── Typography Scale ─────────────────────────────────────────────────────── */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.2rem; }
p  { margin-bottom: 1em; color: var(--muted); }

/* ── Layout ───────────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s;
  text-decoration: none;
  white-space: nowrap;
}
.btn-gold {
  background: var(--grad-gold);
  color: #fff;
  box-shadow: 0 4px 18px rgba(245,166,35,.45);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(245,166,35,.55); color: #fff; }
.btn-blue {
  background: var(--grad-blue);
  color: #fff;
  box-shadow: 0 4px 18px rgba(26,86,219,.3);
}
.btn-blue:hover { transform: translateY(-2px); color: #fff; }
.btn-outline {
  background: transparent;
  border: 2px solid rgba(255,255,255,.5);
  color: #fff;
}
.btn-outline:hover { background: rgba(255,255,255,.15); color: #fff; }
.btn-ghost {
  background: var(--bg);
  color: var(--navy);
  border: 2px solid var(--border);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-sm { padding: 8px 18px; font-size: 13px; }
.btn-lg { padding: 16px 36px; font-size: 17px; }

/* ── Header / Nav ─────────────────────────────────────────────────────────── */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11,31,74,.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 2px 20px rgba(0,0,0,.25);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 24px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--grad-gold);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 12px rgba(245,166,35,.4);
}
.logo-text { font-family: var(--font-display); font-weight: 800; font-size: 20px; color: #fff; line-height: 1; }
.logo-text span { color: var(--gold-light); }
.logo-sub { font-size: 10px; color: rgba(255,255,255,.5); letter-spacing: 1.5px; text-transform: uppercase; }

/* Nav */
#site-nav { display: flex; align-items: center; gap: 4px; }
#site-nav a {
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  color: rgba(255,255,255,.8);
  font-size: 14px;
  font-weight: 500;
  transition: all .2s;
}
#site-nav a:hover, #site-nav a.active {
  color: #fff;
  background: rgba(255,255,255,.1);
}
.nav-cta {
  background: var(--grad-gold) !important;
  color: #fff !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 14px rgba(245,166,35,.4);
}
.nav-cta:hover { transform: translateY(-1px); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-coin-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(245,166,35,.3);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 700;
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all .3s;
}
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  #site-nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0; right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 16px;
    gap: 4px;
    border-bottom: 1px solid rgba(255,255,255,.1);
  }
  #site-nav.open { display: flex; }
  #site-nav a { padding: 12px 16px; border-radius: var(--radius); }
}

/* ── Footer ───────────────────────────────────────────────────────────────── */
#site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.7);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand p { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,.55); margin-top: 16px; max-width: 280px; }
.footer-col h4 { color: var(--gold-light); font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 16px; }
.footer-col a { display: block; color: rgba(255,255,255,.6); font-size: 14px; margin-bottom: 10px; transition: color .2s; }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: rgba(255,255,255,.4);
}
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.08);
  border-radius: var(--radius-pill);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6);
  font-size: 15px;
  transition: background .2s, color .2s;
}
.footer-socials a:hover { background: var(--gold); color: #fff; }
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ── Hero Section ─────────────────────────────────────────────────────────── */
.hero {
  background: var(--grad-hero);
  position: relative;
  overflow: hidden;
  padding: 100px 0 80px;
  color: #fff;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 80% 50%, rgba(245,166,35,.18) 0%, transparent 70%),
    radial-gradient(ellipse 50% 80% at 10% 80%, rgba(26,86,219,.3) 0%, transparent 60%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 1;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245,166,35,.2);
  border: 1px solid rgba(245,166,35,.4);
  border-radius: var(--radius-pill);
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold-light);
  margin-bottom: 24px;
}
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 .accent { color: var(--gold-light); }
.hero p { font-size: 18px; color: rgba(255,255,255,.8); margin-bottom: 36px; line-height: 1.7; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.15);
}
.hero-stat-val { font-size: 28px; font-weight: 800; color: var(--gold-light); display: block; }
.hero-stat-lbl { font-size: 12px; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: 1px; }
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-phone-mockup {
  width: 280px;
  height: 500px;
  background: rgba(255,255,255,.06);
  border: 2px solid rgba(255,255,255,.15);
  border-radius: 40px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.4), 0 0 0 1px rgba(255,255,255,.05);
  position: relative;
}
.phone-notch {
  width: 100px; height: 24px;
  background: rgba(0,0,0,.5);
  margin: 12px auto 0;
  border-radius: 20px;
}
.phone-screen {
  flex: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.phone-card {
  background: rgba(255,255,255,.1);
  border-radius: 12px;
  padding: 12px;
  backdrop-filter: blur(4px);
}
.phone-card-gold { background: rgba(245,166,35,.25); border: 1px solid rgba(245,166,35,.3); }
.phone-card-blue { background: rgba(26,86,219,.25); border: 1px solid rgba(26,86,219,.3); }
.phone-card-val { font-size: 22px; font-weight: 800; color: var(--gold-light); }
.phone-card-lbl { font-size: 10px; color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: 1px; }
.phone-apps { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 4px; }
.phone-app { background: rgba(255,255,255,.08); border-radius: 10px; padding: 10px; text-align: center; font-size: 10px; color: rgba(255,255,255,.7); }
.phone-app-icon { font-size: 20px; margin-bottom: 4px; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero { padding: 70px 0 60px; }
}

/* ── Feature Sections ─────────────────────────────────────────────────────── */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245,166,35,.1);
  border: 1px solid rgba(245,166,35,.25);
  border-radius: var(--radius-pill);
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 700;
  color: var(--gold-dark);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-title { color: var(--navy); margin-bottom: 12px; }
.section-sub { font-size: 17px; color: var(--muted); max-width: 560px; }
.section-header { margin-bottom: 56px; }
.section-header.center { text-align: center; }
.section-header.center .section-sub { margin: 0 auto; }

/* Feature Cards */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1.5px solid var(--border);
  transition: transform .25s, box-shadow .25s, border-color .25s;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--grad-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(245,166,35,.3); }
.feature-card:hover::before { transform: scaleX(1); }
.feature-card:nth-child(3n+2)::before { background: var(--grad-blue); }
.feature-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg,#fff7ed,#fef3c7);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(245,166,35,.2);
}
.feature-card:nth-child(3n+2) .feature-icon { background: linear-gradient(135deg,#eff6ff,#dbeafe); box-shadow: 0 4px 12px rgba(26,86,219,.15); }
.feature-card h3 { font-size: 17px; color: var(--navy); margin-bottom: 10px; }
.feature-card p  { font-size: 14px; color: var(--muted); line-height: 1.6; margin: 0; }
@media (max-width: 900px) { .features-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .features-grid { grid-template-columns: 1fr; } }

/* ── How It Works ─────────────────────────────────────────────────────────── */
.how-bg { background: var(--navy); }
.how-bg .section-title { color: #fff; }
.how-bg .section-sub  { color: rgba(255,255,255,.6); }
.how-bg .section-eyebrow { background: rgba(245,166,35,.15); color: var(--gold-light); border-color: rgba(245,166,35,.3); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(12.5% + 20px);
  right: calc(12.5% + 20px);
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--blue));
  z-index: 0;
}
.step-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  position: relative;
  z-index: 1;
  transition: background .25s;
}
.step-card:hover { background: rgba(255,255,255,.1); }
.step-num {
  width: 56px; height: 56px;
  background: var(--grad-gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 800; color: #fff;
  margin: 0 auto 20px;
  box-shadow: 0 6px 20px rgba(245,166,35,.4);
}
.step-card:nth-child(even) .step-num { background: var(--grad-blue); box-shadow: 0 6px 20px rgba(26,86,219,.4); }
.step-card h4 { color: #fff; font-size: 15px; margin-bottom: 8px; }
.step-card p  { color: rgba(255,255,255,.55); font-size: 13px; margin: 0; }
@media (max-width: 900px) {
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid::before { display: none; }
}
@media (max-width: 480px) { .steps-grid { grid-template-columns: 1fr; } }

/* ── Commission Table ─────────────────────────────────────────────────────── */
.commission-section { background: linear-gradient(135deg,#f0f7ff,#fff7ed); }
.commission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.commission-table-wrap {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.commission-table { width: 100%; border-collapse: collapse; }
.commission-table thead th {
  background: var(--navy);
  color: #fff;
  padding: 14px 20px;
  font-size: 13px;
  text-align: left;
  font-family: var(--font-display);
}
.commission-table tbody td {
  padding: 13px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--text);
}
.commission-table tbody tr:last-child td { border-bottom: none; }
.commission-table tbody tr:hover td { background: #fffbeb; }
.commission-pct { font-weight: 800; color: var(--gold-dark); font-size: 18px; }
.level-badge {
  display: inline-block;
  padding: 3px 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
}
.level-direct { background: #fef3c7; color: #92400e; }
.level-2      { background: #dbeafe; color: #1e40af; }
.level-other  { background: #f1f5f9; color: #475569; }
.commission-perks { display: flex; flex-direction: column; gap: 16px; }
.perk-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
}
.perk-icon { font-size: 28px; flex-shrink: 0; }
.perk-title { font-weight: 700; font-size: 15px; color: var(--navy); }
.perk-desc  { font-size: 13px; color: var(--muted); }
@media (max-width: 900px) { .commission-grid { grid-template-columns: 1fr; } }

/* ── AP Levels ────────────────────────────────────────────────────────────── */
.levels-section { background: var(--bg); }
.levels-track {
  display: flex;
  gap: 0;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.level-band {
  flex: 1;
  padding: 36px 20px;
  text-align: center;
  position: relative;
  cursor: default;
  transition: flex .3s;
}
.level-band:nth-child(1) { background: linear-gradient(180deg,#e0e7ef,#c8d6e5); }
.level-band:nth-child(2) { background: linear-gradient(180deg,#C17D11,#a06a0d); }
.level-band:nth-child(3) { background: linear-gradient(180deg,#1A56DB,#0B1F4A); }
.level-band:nth-child(4) { background: linear-gradient(180deg,#F5A623,#C17D11); }
.level-band:nth-child(5) { background: linear-gradient(180deg,#0B1F4A,#000d2b); }
.level-band:hover { flex: 1.4; }
.level-band-num  { font-size: 36px; font-weight: 900; color: rgba(255,255,255,.3); line-height: 1; margin-bottom: 8px; }
.level-band-name { font-size: 15px; font-weight: 700; color: rgba(255,255,255,.95); margin-bottom: 6px; }
.level-band-req  { font-size: 11px; color: rgba(255,255,255,.6); }
.level-band-bonus { font-size: 13px; font-weight: 700; color: var(--gold-light); margin-top: 8px; }
.level-band:nth-child(1) .level-band-name { color: var(--navy); }
.level-band:nth-child(1) .level-band-num  { color: rgba(11,31,74,.2); }
.level-band:nth-child(1) .level-band-req  { color: var(--muted); }
@media (max-width: 700px) {
  .levels-track { flex-direction: column; }
  .level-band:hover { flex: none; }
}

/* ── Testimonials / Stats ─────────────────────────────────────────────────── */
.stats-band {
  background: var(--grad-hero);
  padding: 60px 0;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.stats-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(245,166,35,.15), transparent);
}
.stats-row {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.stat-block { text-align: center; }
.stat-block-val { font-size: 48px; font-weight: 900; color: var(--gold-light); display: block; line-height: 1; }
.stat-block-lbl { font-size: 14px; color: rgba(255,255,255,.6); margin-top: 6px; text-transform: uppercase; letter-spacing: 1px; }

/* ── CTA Banner ───────────────────────────────────────────────────────────── */
.cta-banner {
  background: var(--grad-gold);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
  margin: 0 24px;
}
.cta-banner::before {
  content: '💰';
  position: absolute;
  font-size: 180px;
  opacity: .08;
  right: -20px;
  top: -30px;
}
.cta-banner h2 { color: #fff; margin-bottom: 14px; }
.cta-banner p  { color: rgba(255,255,255,.85); font-size: 17px; max-width: 500px; margin: 0 auto 32px; }
.cta-banner .btn-outline { border-color: rgba(255,255,255,.6); }

/* ── Page Templates ───────────────────────────────────────────────────────── */
.page-hero {
  background: var(--grad-blue);
  padding: 60px 0 48px;
  color: #fff;
  text-align: center;
}
.page-hero h1 { color: #fff; margin-bottom: 10px; }
.page-hero p  { color: rgba(255,255,255,.7); font-size: 16px; margin: 0; }

/* Wide content area */
.site-main { min-height: 60vh; }
.content-area { padding: 60px 0; }

/* ── WordPress Content Styles ─────────────────────────────────────────────── */
.entry-content h1,.entry-content h2,.entry-content h3 { margin: 1.4em 0 .6em; }
.entry-content p  { color: var(--text); margin-bottom: 1.2em; }
.entry-content ul { list-style: disc; padding-left: 1.5em; margin-bottom: 1em; }
.entry-content li { margin-bottom: .4em; }

/* ── Breadcrumb ───────────────────────────────────────────────────────────── */
.breadcrumb { font-size: 13px; color: rgba(255,255,255,.5); margin-top: 10px; }
.breadcrumb a { color: rgba(255,255,255,.6); }
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb span { color: rgba(255,255,255,.8); }

/* ── Coin Display ─────────────────────────────────────────────────────────── */
.coin { color: var(--gold); font-weight: 700; }
.coin::before { content: '🪙 '; }

/* ── Alert / Notice ───────────────────────────────────────────────────────── */
.ubap-notice {
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: 14px;
  margin-bottom: 16px;
  border-left: 4px solid var(--gold);
  background: #fffbeb;
  color: var(--text);
}
.ubap-notice.blue { background: #eff6ff; border-color: var(--blue); }
.ubap-notice.green { background: #ecfdf5; border-color: var(--green); }
.ubap-notice.red   { background: #fef2f2; border-color: var(--red); }

/* ── Utilities ────────────────────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-gold   { color: var(--gold); }
.text-blue   { color: var(--blue); }
.text-navy   { color: var(--navy); }
.text-muted  { color: var(--muted); }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.d-flex { display: flex; }
.gap-8  { gap: 8px; }
.gap-16 { gap: 16px; }
.align-center { align-items: center; }

/* ── Loader ───────────────────────────────────────────────────────────────── */
.theme-loader {
  position: fixed; inset: 0; background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  z-index: 99999; transition: opacity .4s;
}
.theme-loader.hidden { opacity: 0; pointer-events: none; }
.loader-ring {
  width: 48px; height: 48px;
  border: 4px solid rgba(255,255,255,.15);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Scroll to top ────────────────────────────────────────────────────────── */
#scroll-top {
  position: fixed; bottom: 28px; right: 28px;
  width: 44px; height: 44px;
  background: var(--grad-gold);
  border: none; border-radius: 50%;
  color: #fff; font-size: 18px; cursor: pointer;
  box-shadow: 0 4px 16px rgba(245,166,35,.45);
  opacity: 0; transform: translateY(10px);
  transition: opacity .3s, transform .3s;
  z-index: 900;
}
#scroll-top.show { opacity: 1; transform: translateY(0); }
