/* ==========================================================================
   Reward Nest — ULTRA PREMIUM DARK GOLD THEME v3.0
   Obsidian Crystal · Liquid Gold · Neon Power
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Space+Grotesk:wght@500;600;700;800&display=swap');

/* ─── DESIGN TOKENS ─── */
:root {
  /* Brand */
  --primary-color:         #050912;
  --secondary-color:       #f5c842;
  --accent-color:          #38d9f5;
  --accent2-color:         #c77dff;

  /* Gold System */
  --gold-100: #fff8e1;
  --gold-300: #fde68a;
  --gold-500: #f5c842;
  --gold-700: #b8860b;
  --gold-900: #6b4800;

  --gold-gradient:         linear-gradient(135deg, #fff8e1 0%, #f5c842 35%, #d4a017 65%, #8a6000 100%);
  --gold-gradient-v:       linear-gradient(180deg, #fff3b0 0%, #f5c842 40%, #c79000 80%, #7a5200 100%);
  --gold-shine:            linear-gradient(90deg, transparent 0%, rgba(255,248,225,0.55) 45%, transparent 100%);
  --gold-glow:             0 0 30px rgba(245,200,66,0.55), 0 0 60px rgba(245,200,66,0.25);
  --gold-glow-sm:          0 0 14px rgba(245,200,66,0.45), 0 0 28px rgba(245,200,66,0.2);
  --gold-glow-subtle:      0 0 12px rgba(245,200,66,0.25);

  /* Cyan Accent */
  --cyan-gradient:         linear-gradient(135deg, #38d9f5, #0ea5e9);
  --cyan-glow:             0 0 20px rgba(56,217,245,0.4), 0 0 40px rgba(56,217,245,0.2);

  /* Purple Accent */
  --purple-glow:           0 0 20px rgba(199,125,255,0.4);

  /* Surfaces */
  --bg-void:               #02040a;
  --bg-dark:               #050912;
  --bg-surface:            #080e1f;
  --bg-elevated:           #0c1430;
  --bg-panel:              #0f1a3a;

  /* Glass Morphism */
  --glass-bg:              rgba(10, 16, 35, 0.72);
  --glass-bg-light:        rgba(14, 22, 48, 0.85);
  --glass-border:          rgba(255, 255, 255, 0.07);
  --glass-border-gold:     rgba(245, 200, 66, 0.22);
  --glass-border-hover:    rgba(245, 200, 66, 0.55);
  --glass-shine:           linear-gradient(135deg, rgba(255,255,255,0.06) 0%, transparent 50%);

  /* Card */
  --card-bg:               rgba(8, 14, 28, 0.82);
  --card-bg-elevated:      rgba(12, 20, 40, 0.9);
  --card-border:           rgba(245, 200, 66, 0.15);
  --card-hover-border:     rgba(245, 200, 66, 0.5);
  --card-radius:           18px;
  --card-shadow:           0 8px 32px rgba(0,0,0,0.7), 0 1px 0 rgba(255,255,255,0.05) inset;
  --card-shadow-hover:     0 16px 54px rgba(0,0,0,0.85), 0 0 28px rgba(245,200,66,0.14), 0 1px 0 rgba(255,255,255,0.07) inset;

  /* Text */
  --text-primary:          #f0f4fc;
  --text-secondary:        #b8c4d8;
  --text-muted:            #6b7d9a;
  --text-gold:             #f5c842;
  --text-gold-light:       #fff3b0;
  --text-gold-dim:         #c4963a;

  /* Semantic */
  --success:               #10d98f;
  --success-glow:          0 0 16px rgba(16,217,143,0.4);
  --danger:                #ff4d6d;
  --danger-glow:           0 0 16px rgba(255,77,109,0.4);
  --warning:               #ff9f43;
  --info:                  #38d9f5;

  /* Layout */
  --button-radius:         12px;
  --font-family:           'Inter', 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display:          'Space Grotesk', 'Inter', sans-serif;
  --header-height:         72px;
  --bottom-nav-height:     70px;

  /* Transitions */
  --ease-smooth:           cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring:           cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out:              cubic-bezier(0, 0, 0.2, 1);
}

/* ─── RESET ─── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ─── SELECTION ─── */
::selection {
  background: rgba(245, 200, 66, 0.3);
  color: #fff;
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-void); }
::-webkit-scrollbar-thumb { background: rgba(245,200,66,0.35); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: rgba(245,200,66,0.6); }

/* ─── KEYFRAMES ─── */
@keyframes shimmer {
  0%   { transform: translateX(-120%) skewX(-20deg); }
  100% { transform: translateX(220%)  skewX(-20deg); }
}
@keyframes glow-pulse {
  0%, 100% { box-shadow: var(--gold-glow-sm); }
  50%       { box-shadow: var(--gold-glow); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}
@keyframes slideInRight {
  from { transform: translateX(110%); opacity: 0; }
  to   { transform: translateX(0);    opacity: 1; }
}
@keyframes slideInUp {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes borderGlow {
  0%,100% { border-color: rgba(245,200,66,0.2); box-shadow: 0 12px 40px rgba(0,0,0,0.85), 0 0 30px rgba(245,200,66,0.1); }
  50%      { border-color: rgba(245,200,66,0.45); box-shadow: 0 12px 40px rgba(0,0,0,0.85), 0 0 50px rgba(245,200,66,0.2); }
}
@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes scanLine {
  0%   { top: -10%; }
  100% { top: 110%; }
}

/* ─── BODY ─── */
body {
  font-family: var(--font-family);
  background-color: var(--bg-void);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(245,200,66,0.1) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 100% 30%, rgba(56,217,245,0.06) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 0% 70%,   rgba(199,125,255,0.05) 0%, transparent 50%),
    linear-gradient(180deg, #060c1c 0%, #020408 50%, #050912 100%);
  background-attachment: fixed;
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  padding-bottom: calc(var(--bottom-nav-height) + 20px);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Animated grid overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(245,200,66,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,200,66,0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.4) 30%, rgba(0,0,0,0.4) 70%, transparent 100%);
}

/* Scan-line premium effect */
body::after {
  content: '';
  position: fixed;
  left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(245,200,66,0.3), transparent);
  z-index: 1;
  pointer-events: none;
  animation: scanLine 8s linear infinite;
  opacity: 0.5;
}

@media (min-width: 992px) {
  body { padding-bottom: 0; }
}

/* ─── LINKS ─── */
a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: all 0.2s var(--ease-smooth);
}
a:hover {
  color: var(--gold-100);
  text-shadow: 0 0 12px rgba(245,200,66,0.5);
}

/* ─── CONTAINER ─── */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.25rem;
  position: relative;
  z-index: 1;
}

/* ════════════════════════════════════════
   HEADER / NAVBAR
════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
  background: rgba(4, 7, 16, 0.75);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  border-bottom: 1px solid rgba(245,200,66,0.15);
  box-shadow:
    0 4px 32px rgba(0,0,0,0.6),
    0 1px 0 rgba(245,200,66,0.08) inset,
    0 -1px 0 rgba(0,0,0,0.8) inset;
  position: sticky;
}

/* Gold shimmer line at top of header */
.site-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold-gradient);
  opacity: 0.75;
}

/* Keep the header clean; no floating light patch behind actions. */
.site-header::after {
  content: none;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ─── BRAND ─── */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo-frame {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(245,200,66,0.18), rgba(4,7,16,0.95));
  border: 1px solid rgba(245,200,66,0.4);
  box-shadow: 0 0 18px rgba(245,200,66,0.2), inset 0 1px 0 rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  transition: all 0.3s var(--ease-smooth);
}

.brand-logo-frame:hover {
  box-shadow: var(--gold-glow-sm);
  transform: scale(1.05);
}

/* Shimmer sweep on logo */
.brand-logo-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold-shine);
  animation: shimmer 3s ease infinite;
  pointer-events: none;
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand-logo-frame-sm {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(245,200,66,0.14), rgba(4,7,16,0.9));
  border: 1px solid rgba(245,200,66,0.32);
  box-shadow: 0 0 10px rgba(245,200,66,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.brand-logo-sm {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand-logo.img-broken,
.brand-logo-sm.img-broken,
.product-thumb.img-broken { opacity: 0; }

.brand-logo-frame:has(.img-broken)::before,
.brand-logo-frame-sm:has(.img-broken)::before,
.auth-logo-frame:has(.img-broken)::before {
  content: 'RN';
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--text-gold);
  font-size: 0.76rem;
  font-weight: 900;
}

.product-thumb-wrapper:has(.img-broken)::before {
  content: 'Image';
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.3px;
  filter: drop-shadow(0 0 8px rgba(245,200,66,0.3));
}

/* ─── NAV LINKS ─── */
.nav-links {
  display: none;
  gap: 4px;
  list-style: none;
  align-items: center;
}

@media (min-width: 992px) {
  .nav-links { display: flex; }
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: all 0.25s var(--ease-smooth);
  position: relative;
  overflow: hidden;
}

.nav-link:hover {
  color: #fff;
  background: rgba(255,255,255,0.06);
  border-color: rgba(245,200,66,0.2);
  text-shadow: none;
  transform: translateY(-1px);
}

.nav-link.active {
  color: var(--text-gold);
  background: linear-gradient(135deg, rgba(245,200,66,0.14) 0%, rgba(184,134,11,0.06) 100%);
  border-color: rgba(245,200,66,0.35);
  box-shadow: 0 0 20px rgba(245,200,66,0.12), inset 0 1px 0 rgba(245,200,66,0.1);
  text-shadow: 0 0 12px rgba(245,200,66,0.5);
}

.nav-svg { opacity: 0.75; transition: all 0.2s; }
.nav-link:hover .nav-svg,
.nav-link.active .nav-svg { opacity: 1; }

/* ─── HEADER ACTIONS ─── */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-login-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 8px;
  color: #d9e2f0;
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
}

.header-login-link:hover {
  color: #ffffff;
}

.wallet-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(245,200,66,0.14) 0%, rgba(184,134,11,0.06) 100%);
  border: 1px solid rgba(245,200,66,0.38);
  padding: 7px 16px;
  border-radius: 30px;
  font-size: 0.87rem;
  font-weight: 800;
  color: var(--secondary-color);
  text-decoration: none;
  box-shadow: 0 2px 14px rgba(0,0,0,0.4), var(--gold-glow-subtle);
  transition: all 0.25s var(--ease-smooth);
  position: relative;
  overflow: hidden;
}

.wallet-badge::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold-shine);
  transform: translateX(-150%) skewX(-20deg);
  animation: shimmer 2.5s ease-in-out infinite;
  pointer-events: none;
}

.wallet-badge:hover {
  background: linear-gradient(135deg, rgba(245,200,66,0.28) 0%, rgba(184,134,11,0.14) 100%);
  border-color: rgba(245,200,66,0.65);
  box-shadow: var(--gold-glow);
  transform: translateY(-2px) scale(1.02);
  color: var(--gold-100);
  text-shadow: 0 0 8px rgba(245,200,66,0.5);
}

.notification-badge-dot {
  position: absolute;
  top: -5px;
  right: -5px;
  background: linear-gradient(135deg, #ff4d6d, #ff1744);
  color: #fff;
  font-size: 0.62rem;
  padding: 2px 6px;
  border-radius: 10px;
  font-weight: 900;
  box-shadow: 0 0 10px rgba(255,77,109,0.7), 0 0 20px rgba(255,77,109,0.4);
  animation: glow-pulse 2s ease-in-out infinite;
}

/* ════════════════════════════════════════
   BUTTONS
════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 10px 22px;
  min-height: 42px;
  border-radius: var(--button-radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s var(--ease-smooth);
  text-decoration: none;
  line-height: 1.4;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.2px;
  isolation: isolate;
}

/* Universal shimmer overlay on all buttons */
.btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transform: skewX(-20deg);
  transition: none;
  pointer-events: none;
}

.btn:hover::before {
  animation: shimmer 0.6s ease forwards;
}

/* Primary — Liquid Gold */
.btn-primary {
  background: var(--gold-gradient-v);
  color: #07111f !important;
  border-color: rgba(255,255,255,0.25);
  box-shadow:
    0 4px 18px rgba(245,200,66,0.35),
    0 1px 0 rgba(255,255,255,0.5) inset,
    0 -1px 0 rgba(0,0,0,0.25) inset;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-weight: 900;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--gold-glow), 0 1px 0 rgba(255,255,255,0.7) inset;
  filter: brightness(1.1) saturate(1.15);
  color: #040c1a !important;
}

.btn-primary:active { transform: translateY(-1px); }

/* Secondary — Glass */
.btn-secondary {
  background: rgba(255,255,255,0.055);
  color: var(--text-primary);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 10px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.07);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(245,200,66,0.4);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.4), 0 0 14px rgba(245,200,66,0.12);
}

/* Accent — Cyan */
.btn-accent {
  background: var(--cyan-gradient);
  color: #fff;
  box-shadow: 0 4px 16px rgba(56,217,245,0.35), 0 1px 0 rgba(255,255,255,0.3) inset;
}

.btn-accent:hover {
  box-shadow: var(--cyan-glow);
  transform: translateY(-2px);
  filter: brightness(1.1);
}

/* Danger */
.btn-danger {
  background: linear-gradient(135deg, #ff4d6d, #c0001f);
  color: #fff;
  box-shadow: 0 4px 16px rgba(255,77,109,0.35);
}

.btn-danger:hover {
  box-shadow: var(--danger-glow);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 6px 14px;
  font-size: 0.82rem;
  border-radius: 9px;
  min-height: 34px;
}

.btn-icon-only {
  padding: 8px 11px;
  border-radius: 11px;
}

.btn-block { width: 100%; }

/* Disabled state */
.btn:disabled, .btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none !important;
  filter: none !important;
  box-shadow: none !important;
}

/* ════════════════════════════════════════
   BOTTOM NAV (MOBILE — FLOATING DOCK)
════════════════════════════════════════ */
.bottom-nav {
  position: fixed;
  bottom: 12px;
  left: 10px;
  right: 10px;
  height: var(--bottom-nav-height);
  background: rgba(6, 10, 22, 0.88);
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  border: 1px solid rgba(245,200,66,0.22);
  border-radius: 26px;
  box-shadow:
    0 12px 40px rgba(0,0,0,0.85),
    0 0 30px rgba(245,200,66,0.1),
    0 1px 0 rgba(255,255,255,0.07) inset;
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  padding: 0 10px;
  animation: borderGlow 4s ease-in-out infinite;
}

@media (min-width: 992px) { .bottom-nav { display: none; } }

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: var(--text-muted);
  font-size: 0.65rem;
  font-weight: 700;
  text-decoration: none;
  flex: 1;
  padding: 8px 4px;
  border-radius: 18px;
  transition: all 0.25s var(--ease-spring);
  position: relative;
}

.bottom-nav-item:hover {
  color: var(--text-gold);
  transform: translateY(-2px);
  text-shadow: 0 0 8px rgba(245,200,66,0.4);
}

.bottom-nav-item.active {
  color: #040c1a;
  background: var(--gold-gradient-v);
  box-shadow: var(--gold-glow-sm);
  transform: translateY(-3px);
}

.bottom-nav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s var(--ease-spring);
}

.bottom-nav-item:hover .bottom-nav-icon { transform: scale(1.15); }

/* ════════════════════════════════════════
   MAIN CONTENT
════════════════════════════════════════ */
.main-content {
  flex: 1;
  padding: 2rem 0 4rem 0;
}

/* ════════════════════════════════════════
   CARDS — GLASS MORPHISM + 3D DEPTH
════════════════════════════════════════ */
.card {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.01) 100%),
    var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--card-radius);
  padding: 1.75rem;
  box-shadow: var(--card-shadow);
  transition: all 0.3s var(--ease-smooth);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
}

/* Top specular highlight */
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18) 40%, rgba(255,255,255,0.18) 60%, transparent);
  pointer-events: none;
}

.card:hover {
  border-color: var(--card-hover-border);
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-2px);
}

.card:hover::before {
  background: linear-gradient(90deg, transparent, rgba(245,200,66,0.25) 40%, rgba(245,200,66,0.25) 60%, transparent);
}

/* ─── METRIC CARDS ─── */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.metric-card {
  background:
    linear-gradient(145deg, rgba(255,255,255,0.055) 0%, rgba(255,255,255,0.01) 100%),
    var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--card-radius);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: all 0.3s var(--ease-smooth);
}

/* Glowing corner accent */
.metric-card::after {
  content: '';
  position: absolute;
  top: -30px; right: -30px;
  width: 80px; height: 80px;
  background: radial-gradient(circle, rgba(245,200,66,0.12) 0%, transparent 70%);
  pointer-events: none;
  transition: all 0.3s;
}

.metric-card:hover {
  border-color: rgba(245,200,66,0.45);
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
}

.metric-card:hover::after {
  background: radial-gradient(circle, rgba(245,200,66,0.28) 0%, transparent 70%);
}

.metric-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.metric-card-title {
  font-size: 0.72rem;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 0.8px;
}

.metric-card-value {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.5px;
  line-height: 1.1;
}

/* ─── SEAT PROGRESS ─── */
.seat-progress-container {
  background:
    linear-gradient(145deg, rgba(255,255,255,0.048) 0%, rgba(255,255,255,0.008) 100%),
    var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--card-radius);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--card-shadow);
  transition: all 0.3s;
  overflow: hidden;
  position: relative;
}

.seat-progress-container:hover {
  border-color: rgba(245,200,66,0.4);
  box-shadow: var(--card-shadow-hover);
}

.seat-progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.progress-bar-bg {
  height: 12px;
  background: rgba(255,255,255,0.06);
  border-radius: 99px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.4);
}

.progress-bar-fill {
  height: 100%;
  background: var(--gold-gradient);
  border-radius: 99px;
  transition: width 0.8s var(--ease-smooth);
  box-shadow: 0 0 14px rgba(245,200,66,0.7), 0 0 28px rgba(245,200,66,0.35);
  position: relative;
  overflow: hidden;
}

/* Animated shine inside progress bar */
.progress-bar-fill::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: shimmer 2s ease-in-out infinite;
}

/* ─── PRODUCT CARD HORIZONTAL ─── */
.product-card-horizontal {
  display: flex;
  align-items: flex-start;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.055) 0%, rgba(255,255,255,0.012) 100%),
    var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--card-radius);
  padding: 1.2rem 1.4rem;
  gap: 18px;
  margin-bottom: 1.1rem;
  transition: all 0.3s var(--ease-smooth);
  position: relative;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

/* Left accent bar */
.product-card-horizontal::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: var(--gold-gradient-v);
  opacity: 0.85;
  transition: all 0.3s;
}

/* Swept gloss on hover */
.product-card-horizontal::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
  transform: skewX(-20deg);
  pointer-events: none;
}

.product-card-horizontal:hover {
  border-color: rgba(245,200,66,0.5);
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-3px);
}

.product-card-horizontal:hover::before {
  background: linear-gradient(180deg, #f5c842, #38d9f5);
  box-shadow: 2px 0 12px rgba(245,200,66,0.5);
}

.product-card-horizontal:hover::after {
  animation: shimmer 0.75s ease forwards;
}

/* ─── PRODUCT THUMBNAIL ─── */
.product-thumb-wrapper {
  width: 88px; height: 88px;
  min-width: 88px;
  background: linear-gradient(145deg, rgba(245,200,66,0.1) 0%, rgba(4,7,16,0.95) 60%, rgba(56,217,245,0.06) 100%);
  border: 1px solid rgba(245,200,66,0.22);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  box-shadow: inset 0 2px 8px rgba(0,0,0,0.6), 0 4px 12px rgba(0,0,0,0.5);
  overflow: hidden;
  position: relative;
  transition: all 0.3s;
}

.product-thumb-wrapper:hover {
  box-shadow: 0 0 20px rgba(245,200,66,0.25), inset 0 2px 8px rgba(0,0,0,0.6);
  border-color: rgba(245,200,66,0.4);
}

.product-thumb-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.06);
  pointer-events: none;
}

.product-thumb {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
  display: block;
}

/* ─── PRODUCT DETAILS ─── */
.product-details {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.product-header-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.product-title {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 800;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.2px;
}

.badge-promo {
  font-size: 0.65rem;
  font-weight: 900;
  padding: 3px 9px;
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(245,200,66,0.18), rgba(184,134,11,0.08));
  color: var(--text-gold);
  border: 1px solid rgba(245,200,66,0.4);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 0 10px rgba(245,200,66,0.2);
}

.product-metrics-grid {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 8px;
  width: 100%;
}

.metric-item {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: baseline;
  gap: 8px;
}

.metric-label {
  font-size: 0.83rem;
  color: var(--text-muted);
  letter-spacing: 0;
}

.metric-label::after { content: ':'; }

.metric-val {
  font-size: 0.93rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.35;
}

.metric-val.gold {
  color: var(--text-gold);
  text-shadow: 0 0 10px rgba(245,200,66,0.4);
}

.product-action-box {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

/* ════════════════════════════════════════
   HOME HERO SECTION
════════════════════════════════════════ */
.home-hero {
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(245,200,66,0.18);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(14,24,44,0.95), rgba(4,7,15,0.9)),
    linear-gradient(90deg, rgba(245,200,66,0.08), rgba(56,217,245,0.07));
  box-shadow:
    0 24px 80px rgba(0,0,0,0.65),
    0 0 50px rgba(245,200,66,0.06),
    inset 0 1px 0 rgba(255,255,255,0.09);
  position: relative;
}

/* Grid overlay on hero */
.home-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(245,200,66,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,200,66,0.04) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent 75%);
}

/* Radial light burst on hero */
.home-hero::after {
  content: '';
  position: absolute;
  top: -50%; left: 50%; transform: translateX(-50%);
  width: 70%; height: 120%;
  background: radial-gradient(ellipse, rgba(245,200,66,0.08) 0%, transparent 65%);
  pointer-events: none;
  z-index: -1;
}

.hero-kicker {
  max-width: 100%;
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(245,200,66,0.12), rgba(245,200,66,0.04)) !important;
  border: 1px solid rgba(245,200,66,0.3) !important;
  border-radius: 30px !important;
  box-shadow: 0 0 18px rgba(245,200,66,0.12) !important;
  animation: glow-pulse 3s ease-in-out infinite;
}

.hero-title {
  font-family: var(--font-display);
  text-wrap: balance;
  text-shadow: 0 4px 30px rgba(0,0,0,0.8);
  background: linear-gradient(135deg, #ffffff 0%, var(--gold-300) 50%, var(--gold-500) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 20px rgba(245,200,66,0.2));
  font-size: 3rem !important;
  font-weight: 800 !important;
  line-height: 1.08 !important;
}

.hero-subtitle {
  text-wrap: pretty;
  color: var(--text-secondary) !important;
}

/* ════════════════════════════════════════
   FORMS
════════════════════════════════════════ */
.form-group { margin-bottom: 1.35rem; }

.form-label {
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 7px;
  letter-spacing: 0.2px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  background: rgba(4, 7, 16, 0.75);
  border: 1px solid rgba(245,200,66,0.18);
  border-radius: var(--button-radius);
  color: #ffffff;
  font-size: 0.94rem;
  font-family: inherit;
  transition: all 0.25s var(--ease-smooth);
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.4), inset 0 0 0 1px rgba(255,255,255,0.02);
  outline: none;
}

.form-control::placeholder { color: var(--text-muted); }

.form-control:focus {
  border-color: var(--secondary-color);
  box-shadow:
    0 0 0 3px rgba(245,200,66,0.18),
    inset 0 2px 6px rgba(0,0,0,0.4),
    0 0 20px rgba(245,200,66,0.1);
  background: rgba(6, 10, 22, 0.92);
}

.form-control:hover:not(:focus) {
  border-color: rgba(245,200,66,0.3);
}

.password-field {
  position: relative;
}

.password-field .form-control {
  padding-right: 50px;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 8px;
  width: 38px;
  height: 38px;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s var(--ease-smooth), background 0.2s var(--ease-smooth);
}

.password-toggle:hover,
.password-toggle:focus-visible {
  color: var(--text-gold);
  background: rgba(245,200,66,0.08);
}

/* ════════════════════════════════════════
   TABLES
════════════════════════════════════════ */
.table-responsive { width: 100%; overflow-x: auto; }

.rn-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  text-align: left;
  font-size: 0.9rem;
}

.rn-table th {
  background: rgba(245,200,66,0.05);
  padding: 14px 18px;
  font-weight: 800;
  color: var(--text-gold);
  border-bottom: 1px solid rgba(245,200,66,0.2);
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.8px;
}

.rn-table td {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  color: var(--text-primary);
  vertical-align: middle;
  transition: background 0.2s;
}

.rn-table tr:hover td {
  background: rgba(245,200,66,0.04);
}

.rn-table tr:last-child td { border-bottom: none; }

/* ════════════════════════════════════════
   STATUS BADGES
════════════════════════════════════════ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 11px;
  border-radius: 8px;
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-success {
  background: rgba(16,217,143,0.12);
  color: #2dffb5;
  border: 1px solid rgba(16,217,143,0.35);
  box-shadow: 0 0 10px rgba(16,217,143,0.2);
}

.badge-warning {
  background: rgba(245,200,66,0.12);
  color: var(--text-gold);
  border: 1px solid rgba(245,200,66,0.35);
  box-shadow: 0 0 10px rgba(245,200,66,0.2);
}

.badge-danger {
  background: rgba(255,77,109,0.12);
  color: #ff6b85;
  border: 1px solid rgba(255,77,109,0.35);
  box-shadow: 0 0 10px rgba(255,77,109,0.2);
}

.badge-info {
  background: rgba(56,217,245,0.12);
  color: #5ee9ff;
  border: 1px solid rgba(56,217,245,0.35);
  box-shadow: 0 0 10px rgba(56,217,245,0.15);
}

/* ════════════════════════════════════════
   FLASH / ALERT MESSAGES
════════════════════════════════════════ */
.alert {
  padding: 14px 18px;
  border-radius: var(--button-radius);
  margin-bottom: 1.5rem;
  font-size: 0.92rem;
  font-weight: 600;
  backdrop-filter: blur(12px);
  border-left-width: 4px;
  animation: slideInUp 0.35s var(--ease-out);
}

.alert-success {
  background: rgba(16,217,143,0.1);
  border-color: rgba(16,217,143,0.45);
  color: #2dffb5;
  box-shadow: 0 0 20px rgba(16,217,143,0.1);
}

.alert-danger {
  background: rgba(255,77,109,0.1);
  border-color: rgba(255,77,109,0.45);
  color: #ff6b85;
  box-shadow: 0 0 20px rgba(255,77,109,0.1);
}

.alert-info {
  background: rgba(56,217,245,0.1);
  border-color: rgba(56,217,245,0.45);
  color: #5ee9ff;
  box-shadow: 0 0 20px rgba(56,217,245,0.08);
}

.alert-warning {
  background: rgba(245,200,66,0.1);
  border-color: rgba(245,200,66,0.45);
  color: var(--text-gold);
  box-shadow: 0 0 20px rgba(245,200,66,0.1);
}

/* ════════════════════════════════════════
   TOASTS
════════════════════════════════════════ */
#toast-container {
  position: fixed;
  bottom: calc(var(--bottom-nav-height) + 22px);
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (min-width: 992px) {
  #toast-container { bottom: 28px; }
}

.toast {
  background: rgba(8, 14, 30, 0.96);
  border-left: 4px solid var(--secondary-color);
  border-top: 1px solid rgba(245,200,66,0.2);
  border-right: 1px solid rgba(245,200,66,0.2);
  border-bottom: 1px solid rgba(245,200,66,0.2);
  color: #ffffff;
  padding: 14px 20px;
  border-radius: 12px;
  box-shadow:
    0 16px 40px rgba(0,0,0,0.7),
    var(--gold-glow-subtle);
  font-size: 0.9rem;
  font-weight: 600;
  animation: slideInRight 0.35s var(--ease-spring) forwards;
  backdrop-filter: blur(16px);
  min-width: 280px;
  max-width: 360px;
}

/* ════════════════════════════════════════
   MODAL — PREMIUM GLASS
════════════════════════════════════════ */
.admin-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 11000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(1, 3, 8, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.admin-modal-overlay.active { display: flex; }

.admin-modal {
  width: 100%;
  max-width: 540px;
  max-height: calc(100vh - 2.5rem);
  overflow-y: auto;
  padding: 1.75rem;
  border: 1px solid rgba(245,200,66,0.3);
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.055) 0%, rgba(255,255,255,0.01) 100%),
    rgba(8, 14, 28, 0.96);
  box-shadow:
    0 28px 80px rgba(0,0,0,0.92),
    0 0 40px rgba(245,200,66,0.12),
    inset 0 1px 0 rgba(255,255,255,0.09);
  position: relative;
  animation: slideInUp 0.3s var(--ease-spring);
}

.admin-modal::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold-gradient);
  border-radius: 20px 20px 0 0;
  opacity: 0.7;
}

.admin-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

/* ════════════════════════════════════════
   FOOTER
════════════════════════════════════════ */
.site-footer {
  background: rgba(2, 4, 10, 0.96);
  border-top: 1px solid rgba(245,200,66,0.12);
  padding: 2.5rem 0;
  color: var(--text-muted);
  font-size: 0.87rem;
  margin-top: auto;
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245,200,66,0.35) 30%, rgba(245,200,66,0.35) 70%, transparent);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

/* ════════════════════════════════════════
   AUTH CARDS
════════════════════════════════════════ */
.auth-shell {
  width: 100%;
  max-width: 440px;
  margin: 3rem auto;
}

.auth-card { padding: 2rem; }

.auth-card-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.auth-card-header h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  background: linear-gradient(135deg, #fff 0%, var(--gold-300) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.auth-card-header p {
  margin-top: 0.4rem;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.auth-logo-frame {
  position: relative;
  width: 62px; height: 62px;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(245,200,66,0.14), rgba(4,7,16,0.95));
  border: 1px solid rgba(245,200,66,0.35);
  box-shadow: 0 0 20px rgba(245,200,66,0.18), inset 0 1px 0 rgba(255,255,255,0.1);
  margin: 0 auto 1rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-logo {
  width: 100%; height: 100%;
  object-fit: cover;
}

.auth-switch {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ════════════════════════════════════════
   UTILITIES
════════════════════════════════════════ */
.text-gold { color: var(--text-gold) !important; }

.rn-icon {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.reward-total-amount {
  font-family: var(--font-display);
  font-weight: 900;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 12px rgba(245,200,66,0.4));
  letter-spacing: -1px;
}

/* ─── CODE ELEMENTS ─── */
code {
  background: rgba(245,200,66,0.1);
  border: 1px solid rgba(245,200,66,0.2);
  color: var(--text-gold);
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 0.85em;
  font-family: 'SF Mono', 'Fira Code', monospace;
}

/* ─── HR ─── */
hr {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245,200,66,0.2) 30%, rgba(245,200,66,0.2) 70%, transparent);
  margin: 1.5rem 0;
}

/* ─── FOCUS ─── */
:focus-visible {
  outline: 2px solid rgba(245,200,66,0.6);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ─── SKELETON LOADER ─── */
.skeleton {
  background: linear-gradient(90deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.09) 50%, rgba(255,255,255,0.04) 100%);
  background-size: 200% 100%;
  animation: gradientShift 1.5s ease infinite;
  border-radius: 8px;
}

/* ─── CARD GLOW VARIANT ─── */
.card-glow {
  border-color: rgba(245,200,66,0.3);
  box-shadow:
    0 8px 32px rgba(0,0,0,0.7),
    0 0 30px rgba(245,200,66,0.12),
    inset 0 1px 0 rgba(255,255,255,0.07);
}

/* ════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════ */
@media (max-width: 768px) {
  .d-none-mobile { display: none !important; }

  .home-hero {
    padding: 2.25rem 1rem 1.75rem !important;
    border-radius: 18px;
  }

  .hero-title { font-size: 2.15rem !important; }
  .hero-subtitle { font-size: 0.97rem !important; }
  .reward-total-amount { font-size: 2.4rem !important; }
  .card { padding: 1.25rem; }

  .metrics-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .metric-card-value { font-size: 1.4rem; }
}

@media (max-width: 640px) {
  .product-card-horizontal {
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    padding: 1rem;
  }

  .product-thumb-wrapper {
    width: 70px; height: 70px;
    min-width: 70px; margin: 0;
  }

  .product-metrics-grid { gap: 3px; }
  .metric-item { grid-template-columns: 96px minmax(0, 1fr); }
  .product-action-box { align-items: flex-start; }
  .product-action-box .btn { padding-inline: 12px; white-space: nowrap; }
}

@media (max-width: 430px) {
  .product-card-horizontal { gap: 10px; padding: 0.9rem; }
  .product-thumb-wrapper { width: 70px; height: 70px; min-width: 70px; }
  .metric-item { grid-template-columns: 90px minmax(0, 1fr); }
  .metric-label, .metric-val { font-size: 0.81rem; }
  .metrics-grid { grid-template-columns: 1fr; }
}

@media (min-width: 992px) {
  .hero-title { font-size: 3.4rem !important; }
}

/* ════════════════════════════════════════
   HEADER COMPACT POLISH
════════════════════════════════════════ */
:root {
  --header-height: 64px;
  --bottom-nav-height: 64px;
}

.site-header {
  min-height: var(--header-height);
  background: rgba(5, 9, 20, 0.92);
  border-bottom-color: rgba(245,200,66,0.12);
  box-shadow: 0 10px 30px rgba(0,0,0,0.34), 0 1px 0 rgba(245,200,66,0.08) inset;
}

.site-header::before {
  height: 1px;
  opacity: 0.72;
}

.header-inner {
  height: 100%;
  gap: 16px;
}

.brand {
  min-width: 0;
  flex: 0 1 auto;
  gap: 10px;
  white-space: nowrap;
}

.brand-logo-frame {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.32), inset 0 1px 0 rgba(255,255,255,0.1);
}

.brand-logo-frame::after {
  display: none;
}

.brand-logo-frame:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(0,0,0,0.38), 0 0 14px rgba(245,200,66,0.16);
}

.brand-name {
  font-size: 1.18rem;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
  filter: drop-shadow(0 0 4px rgba(245,200,66,0.22));
}

.nav-link {
  min-height: 36px;
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 0.84rem;
}

.header-actions {
  flex: 0 0 auto;
  gap: 8px;
}

.wallet-badge {
  min-height: 38px;
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 0.84rem;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 8px 22px rgba(0,0,0,0.28), inset 0 1px 0 rgba(255,255,255,0.08);
}

.wallet-badge span {
  white-space: nowrap;
}

.wallet-badge::after {
  display: none;
}

.wallet-badge:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(0,0,0,0.34), 0 0 14px rgba(245,200,66,0.16);
}

.header-actions .btn-sm {
  min-height: 38px;
  padding: 7px 13px;
  border-radius: 9px;
  font-size: 0.78rem;
  white-space: nowrap;
}

.header-actions .btn-icon-only {
  width: 38px;
  height: 38px;
  min-height: 38px;
  padding: 0;
  border-radius: 9px;
}

@media (max-width: 768px) {
  :root {
    --header-height: 58px;
    --bottom-nav-height: 62px;
  }

  .container {
    padding-inline: 0.85rem;
  }

  .header-inner {
    gap: 8px;
  }

  .brand {
    gap: 8px;
    flex: 1 1 auto;
  }

  .brand-logo-frame {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    border-radius: 9px;
  }

  .brand-name {
    font-size: 1.02rem;
    max-width: 34vw;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .header-actions {
    gap: 6px;
  }

  .wallet-badge {
    min-height: 34px;
    padding: 5px 9px;
    gap: 5px;
    font-size: 0.78rem;
  }

  .wallet-badge .rn-icon {
    width: 15px;
    height: 15px;
  }

  .header-actions .btn-sm,
  .header-actions .btn-icon-only {
    min-height: 34px;
    width: 34px;
    height: 34px;
    padding: 0;
    border-radius: 9px;
  }

  .header-actions .btn-sm span {
    display: none;
  }
}

@media (max-width: 420px) {
  .container {
    padding-inline: 0.65rem;
  }

  .brand-name {
    max-width: 30vw;
    font-size: 0.96rem;
  }

  .wallet-badge {
    font-size: 0.72rem;
    padding-inline: 7px;
  }
}
