/* ============================================
   AURUM NFT — Premium Luxury Design System
   2026 Edition — Enhanced Glassmorphism + Microinteractions
   ============================================ */

:root {
  /* Colors — Apple Dark Mode style */
  --bg-primary: #121418;
  --bg-secondary: #1c1d24;
  --bg-card: rgba(30, 31, 40, 0.45);
  --bg-card-hover: rgba(45, 46, 60, 0.55);
  --bg-glass: rgba(35, 36, 50, 0.30);
  --bg-glass-strong: rgba(35, 36, 50, 0.50);
  --bg-glass-subtle: rgba(255, 255, 255, 0.025);
  
  --gold: #d4a853;
  --gold-light: #f0d48a;
  --gold-dark: #b8922e;
  --gold-gradient: linear-gradient(135deg, #d4a853, #f0d48a, #d4a853);
  
  --silver: #c0c0c0;
  --silver-light: #e8e8e8;
  --silver-gradient: linear-gradient(135deg, #a8a8a8, #e0e0e0, #a8a8a8);
  
  --bronze: #cd7f32;
  --bronze-light: #daa06d;
  --bronze-gradient: linear-gradient(135deg, #cd7f32, #daa06d, #cd7f32);
  
  --text-primary: #ffffff;
  --text-secondary: #a0a0b8;
  --text-muted: #6b6b80;
  --info: #60a5fa;
  
  --border: rgba(255, 255, 255, 0.05);
  --border-gold: rgba(212, 168, 83, 0.25);
  --border-glass: rgba(255, 255, 255, 0.06);
  
  --success: #34d399;
  --error: #f87171;
  --warning: #fbbf24;
  --purple: #818cf8;
  --green: #10b981;
  --amber: #f59e0b;
  
  /* Typography — Apple-style clean fonts */
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;
  --text-4xl: 2.75rem;
  
  /* Spacing */
  --section-padding: 120px 0;
  --container-width: 1280px;
  
  /* Effects — spring easing */
  --transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  --transition-fast: all 0.2s cubic-bezier(0.22, 1, 0.36, 1);
  --transition-slow: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.4);
  --shadow-gold: 0 8px 40px rgba(212, 168, 83, 0.12);
  --shadow-glow: 
    0 0 20px rgba(212, 168, 83, 0.1),
    0 8px 32px rgba(0, 0, 0, 0.3);
  --shadow-glow-strong:
    0 0 30px rgba(212, 168, 83, 0.18),
    0 12px 40px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  
  /* Glass — premium 2026 */
  --glass-blur: blur(32px);
  --glass-blur-strong: blur(64px);
  --glass-blur-subtle: blur(16px);
  --radius-xs: 12px;
  --radius-sm: 16px;
  --radius-md: 22px;
  --radius-lg: 28px;
  --radius-xl: 32px;
  --radius-2xl: 40px;
  --radius-pill: 100px;
  
  /* Safe area for mobile bottom nav */
  --bottom-nav-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.01em;
  font-feature-settings: 'kern' 1, 'liga' 1, 'calt' 1;
  text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  padding-bottom: env(safe-area-inset-bottom, 0);
}

/* ============ ANIMATED MESH GRADIENT BACKGROUND ============ */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 10% 20%, rgba(139, 92, 246, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 85% 15%, rgba(212, 168, 83, 0.10) 0%, transparent 50%),
    radial-gradient(ellipse 60% 70% at 70% 80%, rgba(59, 130, 246, 0.10) 0%, transparent 50%),
    radial-gradient(ellipse 50% 60% at 20% 75%, rgba(16, 185, 129, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 90% 40% at 50% 50%, rgba(212, 168, 83, 0.05) 0%, transparent 60%);
  background-size: 200% 200%;
  animation: meshGradientShift 20s ease infinite;
}

@keyframes meshGradientShift {
  0%   { background-position: 0% 0%; }
  25%  { background-position: 100% 50%; }
  50%  { background-position: 50% 100%; }
  75%  { background-position: 0% 50%; }
  100% { background-position: 0% 0%; }
}

/* Global custom scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.14);
}
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.08) transparent;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============ PRELOADER ============ */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--bg-primary);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s, visibility 0.5s;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-inner {
  text-align: center;
}

.preloader-logo {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 8px;
  margin-bottom: 24px;
  animation: pulse 1.5s ease-in-out infinite;
}

.preloader-bar {
  width: 200px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.preloader-fill {
  width: 0;
  height: 100%;
  background: var(--gold-gradient);
  border-radius: 2px;
  animation: loadBar 1.5s ease forwards;
}

@keyframes loadBar {
  to { width: 100%; }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

/* ============ NAVBAR — Telegram-style frosted glass ============ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 14px 0;
  transition: padding 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              background 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  background: rgba(6, 6, 12, 0.25);
  -webkit-backdrop-filter: blur(40px) saturate(200%);
  backdrop-filter: blur(40px) saturate(200%);
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
}

.navbar.scrolled {
  background: rgba(6, 6, 12, 0.45);
  -webkit-backdrop-filter: blur(48px) saturate(220%);
  backdrop-filter: blur(48px) saturate(220%);
  padding: 8px 0;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.08);
  box-shadow: 
    0 1px 0 rgba(0, 0, 0, 0.15),
    0 4px 20px rgba(0, 0, 0, 0.12);
}

.nav-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 4px;
}

.logo-sub {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 3px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 40px;
}

.nav-link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
  position: relative;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  transition: var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--gold);
  border-radius: 3px;
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
}

.nav-link.active {
  color: var(--gold);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 20px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Header Currency Selector */
.header-currency-select {
  padding: 7px 10px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.header-currency-select:hover,
.header-currency-select:focus {
  border-color: var(--gold);
  color: var(--gold);
}
.header-currency-select option {
  background: var(--bg-card, #1a1a2e);
  color: var(--text-1, #fff);
}

/* Prize Value Badge */
.prize-value-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, rgba(212,175,55,0.18) 0%, rgba(212,175,55,0.08) 100%);
  border: 1px solid rgba(212,175,55,0.35);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold);
  z-index: 2;
  white-space: nowrap;
}

/* Language Selector */
.lang-selector {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 500;
  transition: var(--transition);
}

.lang-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.lang-btn i {
  font-size: 0.7rem;
  transition: var(--transition);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: rgba(14, 14, 28, 0.72);
  -webkit-backdrop-filter: blur(32px) saturate(180%);
  backdrop-filter: blur(32px) saturate(180%);
  border: 0.5px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 8px;
  min-width: 160px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: var(--transition);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35), 0 0 0 0.5px rgba(255, 255, 255, 0.04);
}

.lang-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: var(--transition);
}

.lang-option:hover {
  background: rgba(212, 168, 83, 0.1);
  color: var(--gold);
}

/* Desktop/Mobile text toggle for nav buttons */
.nav-text-mobile {
  display: none;
}
.nav-text-full {
  display: inline;
}

/* User Menu */
#userActions {
  display: flex;
  align-items: center;
  gap: 8px;
}

#userActions .btn-outline {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-logout {
  padding: 8px 10px !important;
  min-width: auto !important;
  opacity: 0.7;
  transition: var(--transition);
}

.btn-logout:hover {
  opacity: 1;
  color: #e74c3c !important;
  border-color: #e74c3c !important;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition);
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: var(--text-sm);
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.01em;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-gold {
  background: var(--gold-gradient);
  color: #0a0a0f;
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(212, 168, 83, 0.35);
}

.btn-outline {
  border: 1px solid var(--border-gold);
  color: var(--gold);
}

.btn-outline:hover {
  background: rgba(212, 168, 83, 0.1);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1rem;
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.85rem;
}

.btn-full {
  width: 100%;
}

/* ============ HERO SECTION ============ */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 20% 50%, rgba(212, 168, 83, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(212, 168, 83, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 100%, rgba(18, 18, 26, 1) 0%, transparent 50%);
  pointer-events: none;
}

.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0;
  animation: floatParticle 6s ease-in-out infinite;
}

@keyframes floatParticle {
  0% { opacity: 0; transform: translateY(100vh) scale(0); }
  20% { opacity: 0.6; }
  80% { opacity: 0.3; }
  100% { opacity: 0; transform: translateY(-10vh) scale(1); }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  padding: 0 24px;
}

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(212, 168, 83, 0.1);
  border: 1px solid var(--border-gold);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 3px;
  margin-bottom: 32px;
  animation: fadeInUp 0.8s ease forwards;
}

.hero-title {
  margin-bottom: 24px;
}

.hero-line {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -1px;
  text-transform: uppercase;
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0;
}

.hero-line:nth-child(1) { animation-delay: 0.2s; }
.hero-line:nth-child(2) { animation-delay: 0.4s; }
.hero-line:nth-child(3) { animation-delay: 0.6s; }

.hero-gold {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.8;
  animation: fadeInUp 0.8s ease 0.8s forwards;
  opacity: 0;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 1s forwards;
  opacity: 0;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-top: 80px;
  animation: fadeInUp 0.8s ease 1.2s forwards;
  opacity: 0;
}

.hero-stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-body);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============ SECTIONS COMMON ============ */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(212, 168, 83, 0.1);
  border: 1px solid var(--border-gold);
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 3px;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  text-transform: uppercase;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============ TIERS SECTION ============ */
.tiers-section {
  padding: var(--section-padding);
  background: transparent;
  position: relative;
}

.tiers-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-gold), transparent);
}

.tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.tier-card {
  position: relative;
  background: rgba(14, 14, 28, 0.22);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-2xl);
  padding: 42px 30px;
  text-align: center;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden;
}

.tier-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: var(--shadow-lg);
}

.tier-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(192, 192, 192, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

.gold-glow {
  background: radial-gradient(circle, rgba(212, 168, 83, 0.05) 0%, transparent 70%);
}

.tier-bronze:hover { border-color: rgba(205, 127, 50, 0.35); box-shadow: 0 12px 40px rgba(205, 127, 50, 0.08); }
.tier-silver:hover { border-color: rgba(192, 192, 220, 0.35); box-shadow: 0 12px 40px rgba(192, 192, 220, 0.08); }
.tier-gold:hover { border-color: rgba(212, 168, 83, 0.35); box-shadow: var(--shadow-gold); }

.tier-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.tier-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.tier-bronze .tier-name { color: var(--bronze); }
.tier-silver .tier-name { color: var(--silver); }
.tier-gold .tier-name { color: var(--gold); }

.tier-price {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.tier-features {
  list-style: none;
  text-align: left;
}

.tier-features li {
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}

.tier-features li:last-child {
  border-bottom: none;
}

.tier-popular {
  position: absolute;
  top: 16px;
  right: -32px;
  background: var(--silver-gradient);
  color: #0a0a0f;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 4px 40px;
  transform: rotate(45deg);
  letter-spacing: 1px;
}

/* ============ COLLECTION SECTION ============ */
.collection-section {
  padding: var(--section-padding);
}

.collection-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  color: var(--text-secondary);
  font-size: var(--text-sm);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(212, 168, 83, 0.1);
}

.nft-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 30px;
}

/* NFT Card */
.nft-card {
  background: rgba(14, 14, 28, 0.22);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

.nft-card:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: var(--shadow-lg);
}

.nft-card.tier-bronze:hover { border-color: rgba(205, 127, 50, 0.4); box-shadow: 0 8px 40px rgba(205, 127, 50, 0.1); }
.nft-card.tier-silver:hover { border-color: rgba(192, 192, 220, 0.4); box-shadow: 0 8px 40px rgba(192, 192, 220, 0.1); }
.nft-card.tier-gold:hover { border-color: rgba(212, 168, 83, 0.4); box-shadow: var(--shadow-gold); }

.nft-image {
  width: 100%;
  height: 300px;
  position: relative;
  overflow: hidden;
}

.nft-image-svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nft-image-bg {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  position: relative;
}

.nft-image-bg.bronze-bg {
  background: linear-gradient(135deg, #1a1008, #2a1a10, #1a1008);
}
.nft-image-bg.silver-bg {
  background: linear-gradient(135deg, #151518, #252530, #151518);
}
.nft-image-bg.gold-bg {
  background: linear-gradient(135deg, #1a1505, #2a2010, #1a1505);
}

.nft-tier-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.badge-bronze {
  background: rgba(205, 127, 50, 0.2);
  color: var(--bronze);
  border: 1px solid rgba(205, 127, 50, 0.3);
}
.badge-silver {
  background: rgba(192, 192, 192, 0.2);
  color: var(--silver);
  border: 1px solid rgba(192, 192, 192, 0.3);
}
.badge-gold {
  background: rgba(212, 168, 83, 0.2);
  color: var(--gold);
  border: 1px solid rgba(212, 168, 83, 0.3);
}

.nft-remaining {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
}

.nft-info {
  padding: 24px;
  overflow: hidden;
}

.nft-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nft-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

/* Progress Bar */
.nft-progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 3px;
  margin-bottom: 14px;
  overflow: hidden;
}

.nft-progress-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 0.5s ease;
}

.nft-progress-fill.tier-bronze-fill {
  background: linear-gradient(90deg, #cd7f32, #b87333);
}
.nft-progress-fill.tier-silver-fill {
  background: linear-gradient(90deg, #c0c0dc, #a8a8c0);
}
.nft-progress-fill.tier-gold-fill {
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
}

/* Price Row */
.nft-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 14px;
}

.nft-price-main {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.nft-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.nft-price {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--gold);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nft-buy-btn {
  width: 100%;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.nft-buy-btn.bronze-btn {
  background: var(--bronze-gradient);
  color: #0a0a0f;
}
.nft-buy-btn.silver-btn {
  background: var(--silver-gradient);
  color: #0a0a0f;
}
.nft-buy-btn.gold-btn {
  background: var(--gold-gradient);
  color: #0a0a0f;
}

.nft-buy-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(212, 168, 83, 0.3);
}

.nft-buy-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Loading Spinner */
.loading-spinner {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  padding: 60px 0;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ============ PRIZES SECTION ============ */
.prizes-section {
  padding: var(--section-padding);
  background: transparent;
  position: relative;
}

.prizes-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-gold), transparent);
}

.prizes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 30px;
}

.prize-card {
  background: rgba(14, 14, 28, 0.22);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.prize-card:hover {
  transform: translateY(-3px) scale(1.01);
  border-color: rgba(212, 168, 83, 0.25);
  box-shadow: var(--shadow-gold);
}

.prize-image {
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  background: linear-gradient(135deg, #1a1505, #252015);
  overflow: hidden;
}

.prize-image-svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.prize-info {
  padding: 24px;
}

.prize-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--gold);
}

.prize-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.prize-date {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.prize-date i {
  color: var(--gold);
}

/* ============ ABOUT SECTION ============ */
.about-section {
  padding: var(--section-padding);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-content .section-badge,
.about-content .section-title {
  text-align: left;
}

.about-text {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-features {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-feat {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.about-feat i {
  font-size: 1.5rem;
  color: var(--gold);
  margin-top: 4px;
  min-width: 32px;
}

.about-feat h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.about-feat p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* About Visual — Card Stack */
.about-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-card-stack {
  position: relative;
  width: 300px;
  height: 400px;
}

.about-card {
  position: absolute;
  width: 280px;
  height: 360px;
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 4px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

.about-card-bronze {
  background: linear-gradient(135deg, #1a1008, #2a1a10);
  border: 1px solid rgba(205, 127, 50, 0.3);
  color: var(--bronze);
  transform: rotate(-5deg) translateX(-20px);
  z-index: 1;
}

.about-card-silver {
  background: linear-gradient(135deg, #151518, #252530);
  border: 1px solid rgba(192, 192, 192, 0.3);
  color: var(--silver);
  transform: rotate(0deg);
  z-index: 2;
}

.about-card-gold {
  background: linear-gradient(135deg, #1a1505, #2a2010);
  border: 1px solid rgba(212, 168, 83, 0.3);
  color: var(--gold);
  transform: rotate(5deg) translateX(20px);
  z-index: 3;
  box-shadow: var(--shadow-gold);
}

.about-card-stack:hover .about-card-bronze { transform: rotate(-12deg) translateX(-50px); }
.about-card-stack:hover .about-card-silver { transform: rotate(0deg) translateY(-10px); }
.about-card-stack:hover .about-card-gold { transform: rotate(12deg) translateX(50px); }

/* ============ DASHBOARD WEB APP ============ */
.dashboard-app {
  display: flex;
  min-height: 100vh;
  background: var(--bg-primary);
  position: relative;
}

/* --- Mobile Overlay --- */
.dash-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1099;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.dash-overlay.active {
  display: block;
  opacity: 1;
}

/* --- Sidebar — Telegram-style frosted glass --- */
.dash-sidebar {
  width: 270px;
  height: 100vh;
  background: rgba(10, 10, 18, 0.20);
  -webkit-backdrop-filter: blur(48px) saturate(200%);
  backdrop-filter: blur(48px) saturate(200%);
  border-right: 0.5px solid rgba(255, 255, 255, 0.10);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1100;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  box-shadow: 1px 0 0 rgba(0, 0, 0, 0.08);
}

.dash-sidebar-header {
  padding: 20px 20px 16px;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dash-logo-wrap {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.dash-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 3px;
}

.dash-logo-sub {
  font-family: var(--font-display);
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 2px;
}

.dash-sidebar-close {
  display: none;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.dash-sidebar-close:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.05);
}

.dash-sidebar-user {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-glass);
  position: relative;
  transition: var(--transition);
  border-radius: var(--radius-sm);
  margin: 4px 8px;
}
.dash-sidebar-user:hover {
  background: rgba(212, 168, 83, 0.08);
}

.dash-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-primary);
  font-size: 1rem;
  flex-shrink: 0;
}

.dash-user-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.dash-user-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dash-user-role {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.dash-user-arrow {
  color: var(--text-muted);
  font-size: 0.7rem;
  transition: var(--transition);
  flex-shrink: 0;
}
.dash-sidebar-user:hover .dash-user-arrow {
  color: var(--gold);
  transform: translateX(2px);
}

.dash-user-menu-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 6px 8px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.dash-user-menu-btn:hover {
  color: var(--gold);
  background: rgba(212, 168, 83, 0.1);
}

/* --- Sidebar Scroll Area --- */
.dash-sidebar-scroll {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(212, 168, 83, 0.2) transparent;
}
.dash-sidebar-scroll::-webkit-scrollbar {
  width: 4px;
}
.dash-sidebar-scroll::-webkit-scrollbar-track {
  background: transparent;
}
.dash-sidebar-scroll::-webkit-scrollbar-thumb {
  background: rgba(212, 168, 83, 0.2);
  border-radius: 4px;
}

/* --- Nav Groups --- */
.dash-nav {
  padding: 8px 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dash-nav-group {
  margin-bottom: 8px;
}

.dash-nav-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 12px 16px 6px;
  opacity: 0.6;
}

.dash-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-family: var(--font-body);
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  width: 100%;
  text-align: left;
  position: relative;
}

.dash-nav-item i {
  font-size: 1rem;
  width: 20px;
  text-align: center;
  opacity: 0.6;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dash-nav-item span:not(.dash-nav-badge) {
  flex: 1;
}

.dash-nav-item:hover {
  background: rgba(212, 168, 83, 0.06);
  color: var(--text-primary);
}
.dash-nav-item:hover i {
  opacity: 1;
  color: var(--gold);
  transform: scale(1.15);
}

.dash-nav-item.active {
  background: linear-gradient(135deg, rgba(212, 168, 83, 0.12), rgba(212, 168, 83, 0.04));
  color: var(--gold);
  font-weight: 600;
  box-shadow: inset 0 0 20px rgba(212, 168, 83, 0.03);
}
.dash-nav-item.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 60%;
  background: var(--gold);
  border-radius: 0 4px 4px 0;
  box-shadow: 0 0 8px rgba(212, 168, 83, 0.4);
}
.dash-nav-item.active i {
  color: var(--gold);
  opacity: 1;
  filter: drop-shadow(0 0 4px rgba(212, 168, 83, 0.3));
}

/* Nav Badges */
.dash-nav-badge {
  display: none;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: var(--radius-sm);
  background: var(--gold);
  color: var(--bg-primary);
  font-size: 0.65rem;
  font-weight: 700;
  align-items: center;
  justify-content: center;
  line-height: 18px;
  text-align: center;
  animation: badgePulse 2s ease-in-out infinite;
}

/* --- Sidebar Wallet --- */
.dash-sidebar-wallet {
  padding: 12px 16px;
  border-top: 0.5px solid rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: background 0.2s;
}
.dash-sidebar-wallet:hover {
  background: rgba(130, 71, 229, 0.08);
}

.dash-wallet-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.wallet-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-muted);
  flex-shrink: 0;
}
.wallet-status-dot.connected {
  background: var(--success);
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.4);
  animation: pulseGlow 2s ease-in-out infinite;
}

/* --- Sidebar Footer --- */
.dash-sidebar-footer {
  padding: 12px;
  border-top: 0.5px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dash-sidebar-version {
  text-align: center;
  font-size: 0.65rem;
  color: var(--text-muted);
  opacity: 0.4;
  padding: 4px 0 2px;
}

.dash-back-btn:hover {
  background: rgba(100, 149, 237, 0.1);
  color: #6495ed;
}

.dash-logout-btn:hover {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

/* --- Main Content --- */
.dash-main {
  flex: 1;
  margin-left: 0;
  padding-left: 270px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: transparent;
  position: relative;
}

.dash-main::before {
  content: '';
  position: fixed;
  top: -10%;
  right: -5%;
  width: 60%;
  height: 60%;
  background: radial-gradient(ellipse 800px 500px at top right, rgba(212, 168, 83, 0.07) 0%, rgba(212, 168, 83, 0.02) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.dash-main::after {
  content: '';
  position: fixed;
  bottom: -10%;
  left: 0;
  width: 50%;
  height: 50%;
  background: radial-gradient(ellipse 700px 500px at bottom left, rgba(99, 102, 241, 0.05) 0%, rgba(99, 102, 241, 0.01) 50%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* --- Topbar --- */
.dash-topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 24px;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 10, 18, 0.20);
  -webkit-backdrop-filter: blur(48px) saturate(200%);
  backdrop-filter: blur(48px) saturate(200%);
  position: sticky;
  top: 0;
  z-index: 100;
}

.dash-sidebar-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}
.dash-sidebar-toggle:hover {
  background: rgba(255,255,255,0.05);
}

.dash-topbar-title-area {
  flex: 1;
  min-width: 0;
}

.dash-page-title {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  margin: 0;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 12px rgba(212, 168, 83, 0.2));
}

.dash-page-subtitle {
  display: none;
}

.dash-topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Search Bar */
.dash-search {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  transition: var(--transition);
  height: 34px;
  box-sizing: border-box;
}
.dash-search:focus-within {
  border-color: rgba(212, 168, 83, 0.3);
  background: rgba(212, 168, 83, 0.04);
  box-shadow: 0 0 20px rgba(212, 168, 83, 0.06);
}
.dash-search i {
  color: var(--text-muted);
  font-size: 0.8rem;
}
.dash-search input {
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 0.8rem;
  outline: none;
  width: 140px;
  font-family: var(--font-body);
}
.dash-search input::placeholder {
  color: var(--text-muted);
  opacity: 0.6;
}

/* Topbar Buttons */
.dash-topbar-btn {
  position: relative;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.85rem;
  transition: var(--transition);
}
.dash-topbar-btn:hover {
  background: rgba(212, 168, 83, 0.08);
  color: var(--gold);
  border-color: rgba(212, 168, 83, 0.2);
  box-shadow: 0 0 16px rgba(212, 168, 83, 0.06);
}

.dash-topbar-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 16px;
  height: 16px;
  border-radius: var(--radius-sm);
  background: #ef4444;
  color: white;
  font-size: 0.6rem;
  font-weight: 700;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  line-height: 16px;
}

/* Language Selector — Compact */
.dash-lang-selector {
  position: relative;
}
.dash-lang-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 8px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-secondary);
}
.dash-lang-toggle:hover {
  background: rgba(212, 168, 83, 0.08);
  border-color: rgba(212, 168, 83, 0.2);
  color: var(--gold);
}
.dash-lang-flag {
  font-size: 1rem;
  line-height: 1;
}
.dash-lang-code {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.dash-lang-popup {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 180px;
  background: rgba(14, 14, 28, 0.55);
  -webkit-backdrop-filter: blur(32px) saturate(180%);
  backdrop-filter: blur(32px) saturate(180%);
  border: 0.5px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.96);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 16px 48px rgba(0,0,0,0.35), 0 0 0 0.5px rgba(255,255,255,0.04) inset;
  z-index: 200;
}
.dash-lang-popup.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.dash-lang-popup-title {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  padding: 6px 10px 4px;
  opacity: 0.6;
}
.dash-lang-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  color: var(--text-secondary);
  transition: var(--transition);
  text-decoration: none;
}
.dash-lang-item:hover {
  background: rgba(212, 168, 83, 0.08);
  color: var(--text-primary);
}
.dash-lang-item.active {
  color: var(--gold);
  background: rgba(212, 168, 83, 0.06);
}
.dash-lang-item-flag {
  font-size: 1.1rem;
  line-height: 1;
  width: 22px;
  text-align: center;
}
.dash-lang-check {
  margin-left: auto;
  font-size: 0.65rem;
  color: var(--gold);
  opacity: 0;
  transition: opacity 0.2s;
}
.dash-lang-item.active .dash-lang-check {
  opacity: 1;
}

/* Topbar Avatar */
.dash-topbar-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border: none;
  color: var(--bg-primary);
  font-size: 0.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.dash-topbar-avatar:hover {
  transform: scale(1.05);
  box-shadow: 0 0 12px rgba(212, 168, 83, 0.3);
}

/* Wallet Badge */
.dash-wallet-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  background: rgba(99, 102, 241, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--purple);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid rgba(99, 102, 241, 0.12);
  height: 34px;
  box-sizing: border-box;
}
.dash-wallet-badge:hover {
  background: rgba(99, 102, 241, 0.15);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.08);
}
.dash-wallet-badge.connected {
  background: rgba(34, 197, 94, 0.06);
  color: var(--success);
  border-color: rgba(34, 197, 94, 0.12);
}
.dash-wallet-badge.connected:hover {
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.08);
}

/* --- Tab Content --- */
.dash-tab-content {
  display: none;
  padding: 28px;
  flex: 1;
  animation: dashFadeIn 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
}

.dash-tab-content.active {
  display: block;
}

@keyframes dashFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 8px rgba(34, 197, 94, 0.4); }
  50% { box-shadow: 0 0 16px rgba(34, 197, 94, 0.7); }
}

@keyframes badgePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

/* --- Focus States (Accessibility) --- */
.dash-nav-item:focus-visible,
.dash-topbar-btn:focus-visible,
.dash-topbar-avatar:focus-visible,
.dash-action-btn:focus-visible,
.dash-lang-toggle:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.dash-search input:focus-visible,
.profile-edit-form input:focus-visible,
.dash-sort-select:focus-visible {
  outline: 2px solid rgba(212, 168, 83, 0.4);
  outline-offset: 0;
}

/* --- Settings Tab --- */
.dash-settings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
}

.dash-settings-grid .dash-card {
  background: rgba(14, 14, 28, 0.3);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
}

.dash-settings-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.02), transparent);
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.dash-settings-row:last-child {
  border-bottom: none;
}

/* Toggle Switch */
.dash-toggle {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
}
.dash-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.dash-toggle-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--border-glass);
  border-radius: 26px;
  transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.dash-toggle-slider::before {
  content: '';
  position: absolute;
  height: 20px;
  width: 20px;
  left: 2px;
  bottom: 2px;
  background: white;
  border-radius: 50%;
  transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}
.dash-toggle input:checked + .dash-toggle-slider {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-color: transparent;
}
.dash-toggle input:checked + .dash-toggle-slider::before {
  transform: translateX(22px);
}

.dash-danger-btn {
  color: #ef4444 !important;
  border-color: rgba(239, 68, 68, 0.2) !important;
}
.dash-danger-btn:hover {
  background: rgba(239, 68, 68, 0.1) !important;
}

/* --- Notifications Tab --- */
.dash-notif-header {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 20px;
}

.dash-notif-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dash-notif-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}
.dash-notif-empty i {
  font-size: 3rem;
  margin-bottom: 16px;
  opacity: 0.3;
  display: block;
}

.dash-notif-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  background: rgba(14, 14, 28, 0.3);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border: 0.5px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  transition: var(--transition);
}
.dash-notif-item:hover {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(26, 26, 46, 0.75);
  transform: translateX(4px);
}
.dash-notif-item.unread {
  border-left: 3px solid var(--gold);
  background: rgba(212, 168, 83, 0.03);
}
.dash-notif-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.dash-notif-icon.type-order { background: rgba(59, 130, 246, 0.1); color: #3b82f6; }
.dash-notif-icon.type-prize { background: rgba(212, 168, 83, 0.1); color: var(--gold); }
.dash-notif-icon.type-market { background: rgba(34, 197, 94, 0.1); color: var(--success); }
.dash-notif-icon.type-system { background: rgba(139, 92, 246, 0.1); color: #8b5cf6; }

/* --- Help Tab --- */
.dash-help-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.dash-help-card {
  text-align: center;
  padding: 24px !important;
  background: rgba(14, 14, 28, 0.3) !important;
  -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
  backdrop-filter: blur(24px) saturate(180%) !important;
  border: 0.5px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: var(--radius-lg) !important;
  transition: var(--transition) !important;
  position: relative;
  overflow: hidden;
}

.dash-help-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(212,168,83,0.04), transparent 50%);
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.dash-help-card:hover {
  transform: translateY(-3px) !important;
  border-color: rgba(212, 168, 83, 0.2) !important;
  box-shadow: var(--shadow-glow) !important;
}

.dash-help-card:hover::after {
  opacity: 1;
}
.dash-help-icon {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(212, 168, 83, 0.12), rgba(212, 168, 83, 0.04));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--gold);
  margin: 0 auto 16px;
  position: relative;
  z-index: 1;
}
.dash-help-card h3 {
  margin-bottom: 8px;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 600;
}
.dash-help-card p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 16px;
}

/* FAQ */
.dash-faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}
.dash-faq-item {
  background: rgba(14, 14, 28, 0.3);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border: 0.5px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}
.dash-faq-item[open] {
  border-color: rgba(212, 168, 83, 0.2);
  box-shadow: var(--shadow-glow);
}
.dash-faq-item summary {
  padding: 14px 18px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-primary);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.2s;
}
.dash-faq-item summary:hover {
  background: rgba(212, 168, 83, 0.04);
}
.dash-faq-item summary::after {
  content: '\f078';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.7rem;
  color: var(--text-muted);
  transition: transform 0.2s;
}
.dash-faq-item[open] summary::after {
  transform: rotate(180deg);
}
.dash-faq-item summary::-webkit-details-marker { display: none; }
.dash-faq-item p {
  padding: 0 18px 16px;
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.6;
}

/* --- Shop Tab --- */
.dash-shop-filters {
  display: flex;
  gap: 10px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.dash-filter-btn {
  padding: 8px 20px;
  border-radius: 50px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.88rem;
  cursor: pointer;
  transition: var(--transition);
}

.dash-filter-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.dash-filter-btn.active {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--bg-primary);
  border-color: var(--gold);
  font-weight: 600;
}

.dash-nft-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

/* --- Dashboard NFT Cards (premium overrides) --- */
.dash-nft-grid .nft-card {
  background: rgba(18, 18, 35, 0.4);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border: 0.5px solid rgba(212, 168, 83, 0.15);
  border-radius: var(--radius-xl);
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  opacity: 1;
  animation: none;
}

.dash-nft-grid .nft-card:hover {
  border-color: rgba(212, 168, 83, 0.35);
  box-shadow:
    0 8px 40px rgba(0, 0, 0, 0.5),
    0 0 60px rgba(212, 168, 83, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: translateY(-4px);
}

.dash-nft-grid .nft-card.tier-bronze {
  border-color: rgba(205, 127, 50, 0.2);
}
.dash-nft-grid .nft-card.tier-silver {
  border-color: rgba(192, 192, 220, 0.2);
}
.dash-nft-grid .nft-card.tier-gold {
  border-color: rgba(212, 168, 83, 0.25);
}

.dash-nft-grid .nft-card.tier-bronze:hover {
  border-color: rgba(205, 127, 50, 0.45);
  box-shadow: 0 8px 40px rgba(205, 127, 50, 0.12), 0 0 60px rgba(205, 127, 50, 0.05);
}
.dash-nft-grid .nft-card.tier-silver:hover {
  border-color: rgba(192, 192, 220, 0.45);
  box-shadow: 0 8px 40px rgba(192, 192, 220, 0.12), 0 0 60px rgba(192, 192, 220, 0.05);
}
.dash-nft-grid .nft-card.tier-gold:hover {
  border-color: rgba(212, 168, 83, 0.5);
  box-shadow: 0 8px 40px rgba(212, 168, 83, 0.15), 0 0 60px rgba(212, 168, 83, 0.08);
}

.dash-nft-grid .nft-image {
  height: 280px;
  background: linear-gradient(135deg, rgba(30, 25, 18, 1), rgba(20, 18, 30, 1));
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.dash-nft-grid .nft-card.tier-bronze .nft-image {
  background: linear-gradient(135deg, #1a1008, #2a1a10, #201008);
}
.dash-nft-grid .nft-card.tier-silver .nft-image {
  background: linear-gradient(135deg, #151518, #252530, #1a1a22);
}
.dash-nft-grid .nft-card.tier-gold .nft-image {
  background: linear-gradient(135deg, #1a1505, #2a2010, #1f1808);
}

.dash-nft-grid .nft-image img,
.dash-nft-grid .nft-image-svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 1 !important;
  visibility: visible !important;
}

.dash-nft-grid .nft-info {
  padding: 20px;
}

.dash-nft-grid .nft-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.dash-nft-grid .nft-price {
  font-size: 1.1rem;
  color: var(--gold);
}

.dash-nft-grid .nft-buy-btn {
  width: 100%;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  border: none;
}

/* --- My Collection Tab --- */
.dash-collection-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.dash-stat-card {
  background: rgba(14, 14, 28, 0.15);
  -webkit-backdrop-filter: blur(40px) saturate(200%);
  backdrop-filter: blur(40px) saturate(200%);
  border: 0.5px solid rgba(212, 168, 83, 0.12);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  transition: var(--transition);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 4px 20px rgba(0, 0, 0, 0.10);
  position: relative;
  overflow: hidden;
}

.dash-stat-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(212, 168, 83, 0.4), transparent);
}

.dash-stat-card:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 8px 32px rgba(212, 168, 83, 0.1);
}

.dash-stat-number {
  display: block;
  font-family: var(--font-body);
  font-size: 1.6rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 12px rgba(212, 168, 83, 0.3));
  margin-bottom: 4px;
}

.dash-stat-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.dash-wallet-connect-prompt {
  text-align: center;
  padding: 60px 24px;
  background: rgba(14, 14, 28, 0.3);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  border: 1px dashed rgba(212, 168, 83, 0.15);
  border-radius: var(--radius-lg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.dash-wallet-icon {
  font-size: 3rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.dash-wallet-connect-prompt p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* --- My NFT cards in collection --- */
.dash-my-nft-card {
  background: rgba(14, 14, 28, 0.3);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  border: 0.5px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: var(--transition);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 4px 24px rgba(0, 0, 0, 0.12);
}

.dash-my-nft-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.dash-my-nft-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.dash-my-nft-token {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.dash-my-nft-tier {
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.dash-my-nft-tier.tier-bronze { background: rgba(205, 127, 50, 0.15); color: #cd7f32; }
.dash-my-nft-tier.tier-silver { background: rgba(192, 192, 220, 0.15); color: #c0c0dc; }
.dash-my-nft-tier.tier-gold { background: rgba(212, 168, 83, 0.15); color: var(--gold); }

.dash-my-nft-actions {
  display: flex;
  gap: 8px;
}

.dash-my-nft-actions .btn {
  flex: 1;
  font-size: 0.8rem;
  padding: 8px 12px;
}

.btn-sell {
  background: rgba(99, 102, 241, 0.12);
  color: var(--purple);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.btn-sell:hover {
  background: rgba(99, 102, 241, 0.25);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.15);
}

.btn-burn {
  background: rgba(239, 68, 68, 0.1);
  color: var(--error);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.btn-burn:hover {
  background: rgba(239, 68, 68, 0.2);
  box-shadow: 0 0 16px rgba(239, 68, 68, 0.1);
}

/* --- Marketplace Tab --- */
.dash-market-header {
  margin-bottom: 24px;
}

.dash-market-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* --- Prizes Tab --- */
.dash-prizes-banner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 26px 28px;
  background: rgba(14, 14, 28, 0.3);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  border: 0.5px solid rgba(212, 168, 83, 0.12);
  border-radius: var(--radius-xl);
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
}

.dash-prizes-banner::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -10%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(212,168,83,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.dash-prizes-banner > i {
  font-size: 2.5rem;
  color: var(--gold);
}

.dash-prizes-banner h3 {
  font-family: var(--font-display);
  color: var(--gold);
  margin-bottom: 4px;
}

.dash-prizes-banner p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.dash-prizes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.dash-prize-card {
  background: rgba(14, 14, 28, 0.3);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  border: 0.5px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  transition: var(--transition);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 4px 24px rgba(0, 0, 0, 0.12);
}

.dash-prize-card:hover {
  border-color: rgba(212, 168, 83, 0.2);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow-strong);
}

.dash-prize-image {
  height: 180px;
  background: linear-gradient(135deg, rgba(212, 168, 83, 0.1), rgba(20, 20, 30, 0.8));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.dash-prize-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dash-prize-info {
  padding: 20px;
}

.dash-prize-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.dash-prize-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.dash-prize-date {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--gold);
}

.dash-my-entries {
  margin-top: 20px;
}

.dash-my-entries h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--gold);
  margin-bottom: 16px;
}

.dash-entries-list .entry-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  transition: var(--transition);
}

.dash-entries-list .entry-item:hover {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(26, 26, 46, 0.75);
}

.entry-item .entry-prize {
  flex: 1;
  font-weight: 500;
}

.entry-item .entry-type {
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 50px;
  background: rgba(212, 168, 83, 0.12);
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* --- Profile Tab --- */
.dash-profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.dash-card {
  background: rgba(14, 14, 28, 0.18);
  -webkit-backdrop-filter: blur(40px) saturate(200%);
  backdrop-filter: blur(40px) saturate(200%);
  border: 0.5px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: var(--transition);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 4px 24px rgba(0, 0, 0, 0.12);
  position: relative;
  overflow: hidden;
}

.dash-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 168, 83, 0.3), transparent);
  opacity: 0;
  transition: var(--transition);
}

.dash-card:hover {
  border-color: rgba(212, 168, 83, 0.15);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.dash-card:hover::before {
  opacity: 1;
}

.dash-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 20px;
  color: var(--gold);
  letter-spacing: 0.5px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(212, 168, 83, 0.1);
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.dash-card-wide {
  grid-column: 1 / -1;
}

/* --- Responsive Dashboard --- */
@media (max-width: 1024px) {
  .dash-sidebar {
    transform: translateX(-100%);
  }
  .dash-sidebar.open {
    transform: translateX(0);
  }
  .dash-main {
    margin-left: 0;
    padding-left: 0;
  }
  body.dashboard-active .footer-compact,
  .footer-compact {
    margin-left: 0;
  }
  .dash-sidebar-toggle {
    display: block;
  }
  .dash-sidebar-close {
    display: block;
  }
  .dash-collection-stats {
    grid-template-columns: 1fr;
  }
  .dash-profile-grid {
    grid-template-columns: 1fr;
  }
  .dash-search {
    display: none;
  }
  .dash-settings-grid {
    grid-template-columns: 1fr;
  }
  .dash-help-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .dash-tab-content {
    padding: 20px 16px;
  }
  .dash-nft-grid {
    grid-template-columns: 1fr;
  }
  .dash-prizes-grid {
    grid-template-columns: 1fr;
  }
  .dash-topbar {
    padding: 12px 12px;
    gap: 8px;
  }
  .dash-prizes-banner {
    flex-direction: column;
    text-align: center;
  }
  .dash-page-title {
    font-size: 1rem;
  }
  .dash-wallet-badge span {
    display: none;
  }
  .dash-lang-code {
    display: none;
  }
  .dash-help-grid {
    grid-template-columns: 1fr;
  }
}

.profile-field {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-glass);
  font-size: 0.9rem;
  transition: var(--transition);
}

.profile-field:hover {
  padding-left: 8px;
}

.profile-field span:first-child {
  color: var(--text-muted);
}

.orders-list {
  max-height: 500px;
  overflow-y: auto;
}

.order-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: var(--bg-glass-subtle);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  transition: var(--transition);
}

.order-item:hover {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.04);
  transform: translateX(4px);
}

.order-nft-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.order-details {
  flex: 1;
}

.order-details h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.order-details p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.order-status {
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.status-paid {
  background: rgba(34, 197, 94, 0.15);
  color: var(--success);
}

.status-pending {
  background: rgba(245, 158, 11, 0.15);
  color: var(--warning);
}

.no-orders {
  text-align: center;
  color: var(--text-muted);
  padding: 40px 0;
}

/* --- Portfolio Summary Bar --- */
.dash-portfolio-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.portfolio-stat {
  background: rgba(14, 14, 28, 0.3);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  border: 0.5px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.portfolio-stat::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(212, 168, 83, 0.03), transparent);
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.3s;
}

.portfolio-stat:hover {
  border-color: var(--border-gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.portfolio-stat:hover::before {
  opacity: 1;
}

.portfolio-stat .stat-value {
  display: block;
  font-family: var(--font-body);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 4px;
}

.portfolio-stat .stat-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.portfolio-stat .stat-value.positive {
  color: var(--success);
}

.portfolio-stat .stat-value.negative {
  color: var(--error);
}

/* --- Sort Select --- */
.dash-sort-select {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-glass);
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23888' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}

.dash-sort-select:hover,
.dash-sort-select:focus {
  border-color: var(--gold);
  color: var(--gold);
  outline: none;
}

/* --- Price Change Indicator --- */
.nft-price-change {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 50px;
  margin-left: 8px;
}

.nft-price-change.up {
  background: rgba(34, 197, 94, 0.12);
  color: var(--success);
}

.nft-price-change.down {
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
}

.nft-base-price {
  text-decoration: line-through;
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-right: 6px;
}

/* --- Sold Progress Bar --- */
.nft-sold-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 3px;
  margin: 10px 0 4px;
  overflow: hidden;
}

.nft-sold-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 0.5s ease;
}

.nft-sold-fill.fill-bronze {
  background: linear-gradient(90deg, #cd7f32, #b87333);
}

.nft-sold-fill.fill-silver {
  background: linear-gradient(90deg, #c0c0dc, #a8a8c0);
}

.nft-sold-fill.fill-gold {
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
}

.nft-sold-text {
  font-size: 0.7rem;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
}

/* --- HOT Badge --- */
.nft-hot-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 2;
  animation: hotPulse 2s infinite;
}

@keyframes hotPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
}

/* --- Nav Badge (count) --- */
.dash-nav-badge {
  margin-left: auto;
  font-size: 0.7rem;
  font-weight: 700;
  background: rgba(212, 168, 83, 0.2);
  color: var(--gold);
  padding: 2px 8px;
  border-radius: 50px;
  min-width: 22px;
  text-align: center;
}

/* --- Sidebar Wallet Indicator --- */
.dash-sidebar-wallet {
  padding: 12px 24px;
  border-bottom: 1px solid var(--border);
}

.dash-sidebar-wallet .wallet-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.dash-sidebar-wallet .wallet-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-muted);
}

.dash-sidebar-wallet .wallet-dot.connected {
  background: var(--success);
  box-shadow: 0 0 6px rgba(34, 197, 94, 0.5);
}

/* --- Sidebar Language Dropdown --- */
.dash-sidebar-lang {
  padding: 12px 24px;
  border-top: 1px solid var(--border);
}

.dash-lang-select {
  width: 100%;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-glass);
  background: rgba(10, 10, 15, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.85rem;
  cursor: pointer;
}

.dash-lang-select:focus {
  border-color: var(--gold);
  outline: none;
}

/* --- Collection Stats 4-column --- */
.dash-collection-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

/* --- Tier Distribution Bar --- */
.dash-tier-distribution {
  margin-bottom: 28px;
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 22px 24px;
}

.tier-bar-container {
  display: flex;
  height: 12px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  margin-bottom: 12px;
}

.tier-bar-bronze {
  background: linear-gradient(90deg, #cd7f32, #b87333);
  transition: width 0.5s ease;
}

.tier-bar-silver {
  background: linear-gradient(90deg, #c0c0dc, #a8a8c0);
  transition: width 0.5s ease;
}

.tier-bar-gold {
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  transition: width 0.5s ease;
}

.tier-legend {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.tier-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.tier-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.tier-legend-dot.dot-bronze { background: #cd7f32; }
.tier-legend-dot.dot-silver { background: #c0c0dc; }
.tier-legend-dot.dot-gold { background: var(--gold); }

/* --- Collection Filter --- */
.dash-collection-filter {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

/* --- Marketplace Stats Bar --- */
.dash-market-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.dash-market-stat {
  background: rgba(14, 14, 28, 0.3);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  border: 0.5px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.dash-market-stat::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.04), transparent);
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.3s;
}

.dash-market-stat:hover {
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.dash-market-stat:hover::before {
  opacity: 1;
}

.dash-market-stat .stat-value {
  display: block;
  font-family: var(--font-body);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 4px;
}

.dash-market-stat .stat-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- Marketplace Filter --- */
.dash-market-filter {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

/* --- Prize Countdown --- */
.dash-prize-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.prize-countdown {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  background: rgba(212, 168, 83, 0.1);
  padding: 4px 12px;
  border-radius: 50px;
}

.prize-countdown.ended {
  color: var(--success);
  background: rgba(34, 197, 94, 0.1);
}

.prize-entries-count {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.prize-placeholder-icon {
  font-size: 3rem;
  color: var(--gold);
  opacity: 0.4;
}

/* --- Entry Probability --- */
.entry-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.entry-details .entry-prize {
  font-weight: 500;
  font-size: 0.9rem;
}

.entry-details .entry-nft {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.entry-icon {
  font-size: 1.3rem;
}

.entry-chance {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.entry-probability {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--gold);
  font-weight: 600;
}

.entry-prob-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* --- Profile Header --- */
.dash-profile-header {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px;
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
}

.dash-profile-header::after {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(212,168,83,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.profile-avatar-large {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--bg-primary);
  flex-shrink: 0;
}

.profile-header-info {
  flex: 1;
}

.profile-header-info h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.profile-tier-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.profile-member-since {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.profile-header-actions {
  display: flex;
  gap: 10px;
}

/* --- Profile Edit Form --- */
.profile-edit-form {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.profile-edit-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.profile-edit-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.profile-edit-form label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.profile-edit-form input {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-glass);
  background: rgba(10, 10, 15, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: var(--transition);
}

.profile-edit-form input:focus {
  border-color: rgba(212, 168, 83, 0.4);
  outline: none;
  box-shadow: 0 0 16px rgba(212, 168, 83, 0.06);
}

.profile-edit-form .form-actions {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

/* --- Wallet Info Card --- */
.wallet-info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.wallet-info-row:last-child {
  border-bottom: none;
}

.wallet-info-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.wallet-info-value {
  font-size: 0.9rem;
  color: var(--text-primary);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.wallet-info-value .btn-icon {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  font-size: 0.85rem;
  transition: color 0.2s;
}

.wallet-info-value .btn-icon:hover {
  color: var(--gold);
}

.wallet-actions {
  margin-top: 16px;
  display: flex;
  gap: 10px;
}

/* --- Order Filter & TX Link --- */
.dash-order-filter {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.order-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.order-tx-link {
  color: var(--text-muted);
  font-size: 0.8rem;
  transition: color 0.2s;
}

.order-tx-link:hover {
  color: var(--gold);
}

/* --- Empty State --- */
.dash-empty-state {
  text-align: center;
  padding: 60px 20px;
  grid-column: 1 / -1;
}

.dash-empty-state i {
  font-size: 3rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  opacity: 0.5;
}

.dash-empty-state h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.dash-empty-state p {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.dash-empty-state.small {
  padding: 30px 16px;
}

.dash-empty-state.small i {
  font-size: 2rem;
  margin-bottom: 10px;
}

/* --- Security Section --- */
.security-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.security-item:last-child {
  border-bottom: none;
}

.security-item-info h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.security-item-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --- Buttons variants --- */
.btn-sm {
  font-size: 0.8rem;
  padding: 8px 16px;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  padding: 8px 16px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.85rem;
  transition: var(--transition);
}

.btn-outline:hover {
  border-color: rgba(212, 168, 83, 0.25);
  color: var(--gold);
  box-shadow: 0 0 16px rgba(212, 168, 83, 0.06);
}

.btn-outline-danger {
  background: rgba(239, 68, 68, 0.04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: var(--error);
  border-radius: var(--radius-sm);
  padding: 8px 16px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.85rem;
  transition: var(--transition);
}

.btn-outline-danger:hover {
  background: rgba(239, 68, 68, 0.08);
  box-shadow: 0 0 16px rgba(239, 68, 68, 0.06);
}

/* --- Collection card in My NFTs tab (reuses nft-card) --- */
.dash-collection-card .nft-current-value {
  color: var(--success);
  font-size: 0.8rem;
  margin-top: 4px;
}

.dash-collection-card .dash-my-nft-actions {
  margin-top: 12px;
}

/* --- Responsive: new components --- */
@media (max-width: 1024px) {
  .dash-portfolio-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  .dash-market-stats {
    grid-template-columns: 1fr;
  }
  .dash-collection-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .dash-profile-header {
    flex-direction: column;
    text-align: center;
  }
  .profile-header-actions {
    justify-content: center;
  }
  .profile-edit-form .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .dash-portfolio-bar {
    grid-template-columns: 1fr;
  }
  .tier-legend {
    flex-direction: column;
    gap: 8px;
  }
}

/* ============ DASHBOARD: OVERVIEW ============ */
.dash-welcome {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding: 24px;
  background: linear-gradient(135deg, rgba(212,168,83,0.06), rgba(212,168,83,0.015));
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(212,168,83,0.12);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}

.dash-welcome::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(212,168,83,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.dash-welcome-text h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.dash-welcome-text p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.dash-welcome-date {
  color: var(--text-muted);
  font-size: 0.85rem;
  text-transform: capitalize;
}

.dash-overview-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.dash-overview-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: rgba(14, 14, 28, 0.15);
  -webkit-backdrop-filter: blur(40px) saturate(200%);
  backdrop-filter: blur(40px) saturate(200%);
  border: 0.5px solid rgba(212, 168, 83, 0.10);
  border-radius: var(--radius-md);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 4px 24px rgba(0, 0, 0, 0.10);
}

.dash-overview-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.02), transparent 60%);
  border-radius: inherit;
  pointer-events: none;
}

.dash-overview-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(212, 168, 83, 0.3), transparent);
}

.dash-overview-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
  border-color: rgba(212, 168, 83, 0.15);
}

.dash-overview-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #fff;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.dash-overview-icon.icon-gold { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); }
.dash-overview-icon.icon-purple { background: linear-gradient(135deg, var(--purple), #8b5cf6); }
.dash-overview-icon.icon-green { background: linear-gradient(135deg, var(--green), #059669); }
.dash-overview-icon.icon-amber { background: linear-gradient(135deg, var(--amber), #d97706); }

.dash-overview-value {
  font-family: var(--font-body);
  font-size: 1.4rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 10px rgba(212, 168, 83, 0.25));
  display: block;
  line-height: 1.2;
}

.dash-overview-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  display: block;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.dash-profit-up { color: var(--success) !important; }
.dash-profit-down { color: var(--error) !important; }

/* Быстрые действия */
.dash-quick-actions {
  margin-bottom: 24px;
}

.dash-quick-actions h3 {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.dash-actions-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.dash-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 12px;
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.8rem;
  font-weight: 500;
  position: relative;
  overflow: hidden;
}

.dash-action-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(212,168,83,0.06), transparent);
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.3s;
}

.dash-action-btn:hover {
  border-color: rgba(212, 168, 83, 0.25);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.dash-action-btn:hover::before {
  opacity: 1;
}

.dash-action-btn i {
  font-size: 1.4rem;
  color: var(--gold);
}

/* Сетка: события + активность */
.dash-overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* Лента событий */
.dash-events-list, .dash-activity-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dash-event-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.dash-event-item:last-child { border-bottom: none; }

.dash-event-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.dash-event-icon.event-prize { background: rgba(245,158,11,0.15); color: #f59e0b; }
.dash-event-icon.event-hot { background: rgba(239,68,68,0.15); color: #ef4444; }
.dash-event-icon.event-drop { background: rgba(99,102,241,0.15); color: #6366f1; }

.dash-event-info { flex: 1; min-width: 0; }

.dash-event-title {
  display: block;
  font-size: 0.88rem;
  color: var(--text-primary);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dash-event-date {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.dash-event-date i { margin-right: 4px; }

.event-tag-hot {
  display: inline-block;
  padding: 2px 8px;
  background: rgba(239,68,68,0.15);
  color: #ef4444;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
}

.event-tag-done {
  display: inline-block;
  padding: 2px 8px;
  background: rgba(16,185,129,0.15);
  color: #10b981;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
}

/* Лента активности */
.dash-activity-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.dash-activity-item:last-child { border-bottom: none; }

.activity-emoji {
  font-size: 1.3rem;
  width: 36px;
  text-align: center;
  flex-shrink: 0;
}

.dash-activity-info { flex: 1; min-width: 0; }

.dash-activity-title {
  display: block;
  font-size: 0.88rem;
  color: var(--text-primary);
  font-weight: 500;
}

.dash-activity-meta {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.activity-success { color: #10b981; font-size: 0.95rem; }
.activity-pending { color: #f59e0b; font-size: 0.95rem; }

.dash-empty-mini {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.dash-empty-mini i { font-size: 1.2rem; opacity: 0.5; }

/* ============ DASHBOARD: EVENTS TAB ============ */
.dash-events-header {
  margin-bottom: 20px;
}

.dash-events-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.dash-events-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.dash-event-timeline-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  position: relative;
}

.dash-event-timeline-item:last-child { border-bottom: none; }

.dash-event-timeline-marker {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-top: 6px;
  flex-shrink: 0;
  position: relative;
}

.dash-event-timeline-marker::after {
  content: '';
  position: absolute;
  top: 14px;
  left: 5px;
  width: 2px;
  height: calc(100% + 20px);
  background: rgba(255,255,255,0.06);
}

.dash-event-timeline-item:last-child .dash-event-timeline-marker::after { display: none; }

.dash-event-timeline-marker.bronze { background: var(--bronze); }
.dash-event-timeline-marker.silver { background: var(--silver); }
.dash-event-timeline-marker.gold { background: var(--gold); }
.dash-event-timeline-marker.prize { background: #f59e0b; }

.dash-event-timeline-content {
  flex: 1;
  min-width: 0;
}

.dash-event-timeline-header {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.dash-event-timeline-header h4 {
  font-size: 1rem;
  color: var(--text-primary);
  font-weight: 600;
  margin: 0;
}

.dash-event-timeline-desc {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 8px;
}

.dash-event-timeline-details {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.dash-event-timeline-details i { margin-right: 4px; }

.timeline-price {
  font-weight: 600;
  color: var(--gold);
}

.timeline-supply {
  color: var(--text-muted);
}

.timeline-progress {
  width: 120px;
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 3px;
  overflow: hidden;
}

.timeline-progress-bar {
  height: 100%;
  border-radius: 3px;
  transition: width 0.4s;
}

/* ============ RESPONSIVE: OVERVIEW ============ */
@media (max-width: 1024px) {
  .dash-overview-stats { grid-template-columns: repeat(2, 1fr); }
  .dash-actions-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .dash-overview-stats { grid-template-columns: 1fr 1fr; }
  .dash-overview-grid { grid-template-columns: 1fr; }
  .dash-actions-grid { grid-template-columns: repeat(3, 1fr); }
  .dash-welcome { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
  .dash-overview-stats { grid-template-columns: 1fr; }
  .dash-actions-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============ MODALS ============ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fadeIn 0.3s ease;
}

.modal-content {
  background: rgba(14, 14, 28, 0.55);
  backdrop-filter: blur(64px) saturate(200%);
  -webkit-backdrop-filter: blur(64px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius-2xl);
  padding: 40px;
  max-width: 500px;
  width: 100%;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  animation: slideUp 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  font-size: 1.3rem;
  cursor: pointer;
  transition: var(--transition);
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Prize Popup */
.prize-popup {
  text-align: center;
  overflow: visible;
}

.prize-popup-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(212, 168, 83, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.prize-popup-icon {
  font-size: 4rem;
  margin-bottom: 16px;
  animation: bounce 1s ease infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.prize-popup-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin-bottom: 12px;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.prize-popup-text {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 28px;
}

.prize-popup-btn {
  display: inline-flex;
}

/* Auth Modal — Premium */
.auth-modal-premium {
  max-width: 440px;
  padding: 40px 36px 32px;
  background: rgba(22, 22, 38, 0.88);
  backdrop-filter: var(--glass-blur-strong);
  -webkit-backdrop-filter: var(--glass-blur-strong);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* OTP Input Boxes */
.otp-box {
  width: 46px;
  height: 56px;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  font-family: 'Courier New', monospace;
  color: var(--gold);
  background: rgba(212, 175, 55, 0.06);
  border: 1.5px solid rgba(212, 175, 55, 0.25);
  border-radius: 10px;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  caret-color: var(--gold);
}
.otp-box:focus {
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.1);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.12);
}
.otp-box.otp-filled {
  border-color: rgba(212, 175, 55, 0.6);
  background: rgba(212, 175, 55, 0.1);
}
.otp-box.otp-error {
  border-color: rgba(248, 113, 113, 0.7);
  background: rgba(248, 113, 113, 0.06);
  color: #f87171;
  animation: otp-shake 0.3s ease;
}
@keyframes otp-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

.auth-view {
  display: block;
}

.auth-brand {
  text-align: center;
  margin-bottom: 32px;
}

.auth-brand-logo {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 4px;
}

.auth-brand-logo span {
  color: var(--text-muted);
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-left: 4px;
}

.auth-brand-sub {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 6px;
}

/* Auth Input Groups */
.auth-input-group {
  margin-bottom: 6px !important;
}

.auth-input-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
  display: block;
  letter-spacing: 0.3px;
}

.label-optional {
  font-weight: 400;
  color: var(--text-muted);
  font-size: 0.78rem;
}

.auth-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  transition: var(--transition);
  overflow: hidden;
}

.auth-input-wrap:focus-within {
  border-color: var(--gold);
  background: rgba(212, 168, 83, 0.04);
  box-shadow: 0 0 0 4px rgba(212, 168, 83, 0.08);
}

.auth-input-wrap i:first-child {
  flex-shrink: 0;
  margin-left: 16px;
  color: var(--text-muted);
  font-size: 0.85rem;
  pointer-events: none;
  transition: color 0.2s ease;
}

.auth-input-wrap input,
.auth-input-wrap select {
  flex: 1;
  min-width: 0;
  padding: 15px 16px 15px 12px;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: var(--font-body);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.auth-input-wrap input:focus,
.auth-input-wrap select:focus {
  outline: none;
  box-shadow: none;
}

.auth-input-wrap:focus-within > i:first-child {
  color: var(--gold);
}

.auth-input-wrap input::placeholder {
  color: rgba(255, 255, 255, 0.22);
  font-size: 0.9rem;
}

.auth-select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 44px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.auth-eye-btn {
  flex-shrink: 0;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 12px 14px;
  font-size: 0.95rem;
  transition: color 0.2s;
  line-height: 1;
}

.auth-eye-btn:hover,
.auth-input-wrap:focus-within .auth-eye-btn {
  color: var(--gold);
}

.auth-field-error {
  display: block;
  font-size: 0.78rem;
  color: #ef4444;
  margin-top: 5px;
  min-height: 16px;
}

/* Auth Submit Button */
.auth-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 24px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 14px;
  transition: var(--transition);
  margin-top: 12px;
}

.auth-submit-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

.auth-submit-btn i {
  font-size: 0.85rem;
  transition: transform 0.2s ease;
}

.auth-submit-btn:not(:disabled):hover i {
  transform: translateX(3px);
}

/* Stepper */
.auth-stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 32px;
}

.auth-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.auth-step-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid var(--border);
  color: var(--text-muted);
  transition: all 0.4s ease;
}

.auth-step.active .auth-step-circle {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-color: var(--gold);
  color: var(--bg-primary);
  box-shadow: 0 0 20px rgba(212, 168, 83, 0.3);
}

.auth-step.done .auth-step-circle {
  background: var(--success);
  border-color: var(--success);
  color: white;
}

.auth-step span {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.auth-step.active span {
  color: var(--gold);
}

.auth-step.done span {
  color: var(--success);
}

.auth-step-line {
  width: 50px;
  height: 2px;
  background: var(--border);
  margin: 0 8px;
  margin-bottom: 20px;
  transition: background 0.4s ease;
}

.auth-step-line.active {
  background: var(--gold);
}

/* Reg Steps */
.auth-reg-step {
  display: none;
  animation: authStepSlide 0.35s ease;
}

.auth-reg-step.active {
  display: block;
}

@keyframes authStepSlide {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Password Strength */
.password-strength {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.strength-bars {
  display: flex;
  gap: 4px;
  flex: 1;
}

.strength-bar {
  height: 4px;
  flex: 1;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.3s ease;
}

.strength-bar.weak { background: #ef4444; }
.strength-bar.fair { background: #f59e0b; }
.strength-bar.good { background: #3b82f6; }
.strength-bar.strong { background: #22c55e; }

.strength-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  min-width: 50px;
  text-align: right;
}

.strength-label.weak { color: #ef4444; }
.strength-label.fair { color: #f59e0b; }
.strength-label.good { color: #3b82f6; }
.strength-label.strong { color: #22c55e; }

/* Password Requirements */
.password-requirements {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px 12px;
  margin-top: 10px;
}

.req {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.75rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.req i {
  font-size: 0.4rem;
  transition: all 0.2s;
}

.req.met {
  color: var(--success);
}

.req.met i {
  font-size: 0.65rem;
}

.req.met i::before {
  content: "\f00c"; /* fa-check */
}

/* Terms Checkbox */
.auth-terms {
  margin: 20px 0 8px;
}

.auth-checkbox-wrap {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

.auth-checkbox-wrap input[type="checkbox"] {
  display: none;
}

.auth-checkbox-mark {
  width: 20px;
  height: 20px;
  min-width: 20px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  margin-top: 1px;
}
.auth-checkbox-wrap input:checked + .auth-checkbox-mark {
  background: var(--gold);
  border-color: var(--gold);
}

.auth-checkbox-wrap input:checked + .auth-checkbox-mark::after {
  content: '✓';
  color: var(--bg-primary);
  font-size: 0.75rem;
  font-weight: 700;
}

.auth-checkbox-text {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.auth-checkbox-text a {
  color: var(--gold);
  text-decoration: underline;
}

/* Step Buttons */
.auth-step-buttons {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.auth-back-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  border-radius: 14px;
  font-size: 0.9rem;
}

.auth-step-buttons .auth-submit-btn {
  flex: 1;
}

/* Welcome Screen */
.auth-welcome {
  text-align: center;
  padding: 10px 0;
}

.welcome-check-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 2rem;
  color: var(--bg-primary);
  animation: welcomePop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes welcomePop {
  0% { transform: scale(0); opacity: 0; }
  60% { transform: scale(1.15); }
  100% { transform: scale(1); opacity: 1; }
}

.auth-welcome-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--gold);
  margin-bottom: 10px;
}

.auth-welcome-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.auth-welcome-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.welcome-feat {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(212, 168, 83, 0.06);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.welcome-feat i {
  color: var(--gold);
  font-size: 1.1rem;
  width: 20px;
  text-align: center;
}

.auth-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin-bottom: 28px;
  text-align: center;
}

/* Responsive Auth */
@media (max-width: 540px) {
  .auth-modal-premium {
    padding: 32px 24px 28px;
  }
  .auth-stepper { gap: 0; }
  .auth-step-line { width: 30px; }
  .password-requirements { grid-template-columns: 1fr; }
}

/* Order Modal */
.order-modal {
  max-width: 520px;
}

.order-nft-preview {
  margin-bottom: 20px;
}

.order-nft-card {
  display: flex;
  gap: 16px;
  align-items: center;
  background: rgba(212, 168, 83, 0.05);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  padding: 16px;
}

.order-nft-img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}

.order-nft-details {
  flex: 1;
  min-width: 0;
}

.order-nft-tier {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.order-nft-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--text-primary);
  margin: 4px 0;
}

.order-nft-stock {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0 0 6px;
}

.order-nft-prices {
  display: flex;
  gap: 12px;
  align-items: center;
}

.order-price-usd {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
}

.order-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  margin: 12px 0 16px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  font-size: 1rem;
  color: var(--text-muted);
}

.demo-notice {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: rgba(255, 193, 7, 0.07);
  border: 1px solid rgba(255, 193, 7, 0.2);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 16px;
  font-size: 13px;
}

.demo-notice > i {
  color: #ffc107;
  font-size: 18px;
  margin-top: 2px;
  flex-shrink: 0;
}

.demo-notice strong {
  display: block;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.demo-notice p {
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

.order-nft-preview h3 {
  font-family: var(--font-display);
  color: var(--gold);
  margin-bottom: 4px;
}

.order-nft-preview p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.order-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  margin: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.order-price {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
}

/* ============ FORM STYLES ============ */
.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 6px;
  font-weight: 500;
}

.form-group:not(.auth-input-group) input,
.form-group:not(.auth-input-group) select {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-group:not(.auth-input-group) input:focus,
.form-group:not(.auth-input-group) select:focus {
  border-color: var(--gold);
  background: rgba(212, 168, 83, 0.05);
  box-shadow: 0 0 0 3px rgba(212, 168, 83, 0.1);
}

.form-group:not(.auth-input-group) input::placeholder {
  color: var(--text-muted);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

.auth-switch a {
  color: var(--gold);
  font-weight: 600;
}

.auth-switch a:hover {
  text-decoration: underline;
}

/* ============ FOOTER — Compact ============ */
.footer-compact {
  display: none;
}

/* ============ FOOTER — Legal Full ============ */
.footer-legal-full {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 20px 0 18px;
  background: rgba(8, 8, 15, 0.6);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  margin-left: 0;
  transition: margin-left 0.3s ease;
}
body.dashboard-active .footer-legal-full {
  margin-left: 270px;
}
.footer-legal-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  text-align: center;
}
.footer-payment-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-pay-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  opacity: 0.7;
}
.pay-logo {
  height: 26px;
  width: auto;
  border-radius: 4px;
  opacity: 0.85;
  transition: opacity 0.2s;
  vertical-align: middle;
}
.pay-logo:hover { opacity: 1; }
.pay-logo-accept { height: 22px; }
.footer-links-row {
  display: flex;
  align-items: center;
  gap: 6px 10px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 0.72rem;
}
.footer-links-row a { color: rgba(212,175,55,0.7); text-decoration: none; }
.footer-links-row a:hover { color: var(--gold); text-decoration: underline; }
.footer-sep { color: rgba(255,255,255,0.2); }
.footer-company-row {
  display: flex;
  align-items: center;
  gap: 5px 8px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 0.68rem;
  color: rgba(255,255,255,0.3);
}
.footer-company-row a { color: rgba(255,255,255,0.3); text-decoration: none; }
.footer-company-row a:hover { color: var(--text-muted); }
.footer-compact-inner {
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 10px;
  font-size: 0.72rem;
  color: var(--text-muted);
  opacity: 0.7;
}
.footer-compact-copy {
  font-weight: 500;
}
.footer-compact-sep {
  opacity: 0.35;
}
.footer-compact-link {
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-compact-link:hover {
  color: var(--gold);
}
.footer-compact-socials {
  display: flex;
  gap: 8px;
  align-items: center;
}
.footer-compact-socials a {
  color: var(--text-muted);
  font-size: 0.8rem;
  transition: color 0.2s;
  line-height: 1;
}
.footer-compact-socials a:hover {
  color: var(--gold);
}

/* ============ TOAST NOTIFICATIONS ============ */
.toast-container {
  position: fixed;
  top: 100px;
  right: 24px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toast {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 24px;
  min-width: 300px;
  box-shadow: var(--shadow-lg);
  animation: slideIn 0.3s ease, slideOut 0.3s ease 3.5s forwards;
  display: flex;
  align-items: center;
  gap: 12px;
}

.toast-success { border-left: 3px solid var(--success); }
.toast-error { border-left: 3px solid var(--error); }
.toast-info { border-left: 3px solid var(--gold); }

.toast-message {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(100px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideOut {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(100px); }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .tiers-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-visual {
    order: -1;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 80px 0;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: rgba(10, 10, 20, 0.82);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    backdrop-filter: blur(40px) saturate(180%);
    flex-direction: column;
    padding: 100px 40px;
    gap: 20px;
    transition: var(--transition);
    z-index: 999;
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.4);
    border-left: 0.5px solid rgba(255, 255, 255, 0.06);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-link {
    font-size: 1.1rem;
  }

  .nav-toggle {
    display: flex;
  }

  /* Mobile: guest sees "Войти", logged-in sees silhouette only */
  .nav-text-full {
    display: none !important;
  }
  .nav-text-mobile {
    display: inline !important;
  }

  #userActions .btn-logout {
    display: none !important;
  }

  .user-profile-btn {
    padding: 8px 12px !important;
    min-width: auto !important;
  }

  .user-profile-btn .fas.fa-user-circle {
    font-size: 1.3rem;
  }

  .tiers-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .nft-grid {
    grid-template-columns: 1fr;
  }

  .prizes-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    gap: 30px;
    flex-wrap: wrap;
  }

  .hero-line {
    font-size: 2.8rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .modal-content {
    padding: 28px;
    margin: 16px;
  }

  .modal-overlay {
    padding: 16px;
  }

  .footer-compact-inner {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .hero-line {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .auth-modal-premium {
    max-width: 100%;
    margin: 0 8px;
  }
}

/* ============================================
   WEB3 / WALLET STYLES
   ============================================ */

/* Wallet Button in Navbar */
.btn-wallet {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: linear-gradient(135deg, #8247e5, #a67dff);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--font-body);
  transition: var(--transition);
  white-space: nowrap;
}
.btn-wallet:hover {
  background: linear-gradient(135deg, #7038d4, #9568f0);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(130, 71, 229, 0.4);
}
.btn-wallet.connected {
  background: linear-gradient(135deg, #22c55e, #16a34a);
}
.btn-wallet.connected:hover {
  background: linear-gradient(135deg, #16a34a, #15803d);
  box-shadow: 0 4px 20px rgba(34, 197, 94, 0.4);
}

/* Polygon Button */
.btn-polygon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  background: linear-gradient(135deg, #8247e5, #a67dff);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 700;
  font-family: var(--font-body);
  letter-spacing: 0.5px;
  transition: var(--transition);
}
.btn-polygon:hover:not(:disabled) {
  background: linear-gradient(135deg, #7038d4, #9568f0);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(130, 71, 229, 0.5);
}
.btn-polygon:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}
.btn-polygon.btn-sm {
  padding: 10px 20px;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
}

/* Payment Tabs */
.payment-tabs {
  display: flex;
  gap: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  margin: 16px 0;
}
.payment-tab {
  flex: 1;
  padding: 14px 16px;
  background: var(--bg-secondary);
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.payment-tab:hover {
  color: var(--text-primary);
  background: var(--bg-card);
}
.payment-tab.active {
  background: linear-gradient(135deg, rgba(130, 71, 229, 0.2), rgba(166, 125, 255, 0.1));
  color: #a67dff;
  border-bottom: 2px solid #8247e5;
}
.payment-tab:first-child {
  border-right: 1px solid var(--border);
}

/* Web3 Payment Info */
.web3-payment-info {
  background: var(--bg-secondary);
  border: 1px solid rgba(130, 71, 229, 0.2);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin-bottom: 16px;
}
.web3-network-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(130, 71, 229, 0.1);
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  font-size: 0.85rem;
  color: #a67dff;
  font-weight: 600;
}
.network-icon {
  width: 18px;
  height: 18px;
}
.web3-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 0.95rem;
}
.matic-price {
  font-weight: 700;
  font-size: 1.2rem;
  color: #a67dff;
  font-family: var(--font-mono);
}
.web3-wallet-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.wallet-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.wallet-dot.connected {
  background: var(--success);
  box-shadow: 0 0 8px var(--success);
}
.wallet-dot.disconnected {
  background: var(--error);
  box-shadow: 0 0 8px var(--error);
}
.web3-hint {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 12px;
}

/* ===== RUB Payment (YooKassa) ===== */
.rub-payment-info {
  background: linear-gradient(135deg, rgba(0, 112, 186, 0.1), rgba(0, 150, 57, 0.08));
  border: 1px solid rgba(0, 112, 186, 0.2);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin-bottom: 16px;
}
.rub-payment-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 12px;
  color: var(--text);
}
.rub-icon {
  color: #0070ba;
  font-size: 1.2rem;
}
.rub-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.rub-price {
  font-size: 1.4rem;
  font-weight: 700;
  color: #0070ba;
}
.rub-rate-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.rub-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.rub-method-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: var(--radius-md);
  font-size: 0.75rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  color: var(--text-muted);
}
.btn-rub {
  background: linear-gradient(135deg, #0070ba, #009639);
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
}
.btn-rub:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(0, 112, 186, 0.35);
}
.rub-hint {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 12px;
}

/* Payment Panel */
.payment-panel {
  animation: fadeInUp 0.3s ease;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Dashboard Wallet Card */
.dash-wallet {
  border: 1px solid rgba(130, 71, 229, 0.2);
}
.dash-wallet h3 {
  color: #a67dff;
}

/* My NFTs Grid */
.my-nfts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
  margin-top: 16px;
}
.my-nft-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px;
  border-radius: var(--radius-sm);
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.my-nft-item:hover {
  border-color: var(--border-gold);
  transform: translateY(-2px);
}
.my-nft-item.tier-bronze { border-left: 3px solid var(--bronze); }
.my-nft-item.tier-silver { border-left: 3px solid var(--silver); }
.my-nft-item.tier-gold { border-left: 3px solid var(--gold); }
.my-nft-token {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}
.my-nft-tier {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* NFT Card — add MATIC price */
.nft-price-matic {
  display: block;
  font-size: 0.75rem;
  color: #a67dff;
  font-family: var(--font-mono);
  margin-top: 2px;
}

/* Responsive */
@media (max-width: 768px) {
  .btn-wallet span {
    display: none;
  }
  .payment-tabs {
    flex-direction: column;
  }
  .payment-tab:first-child {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
}

/* ============ MARKETPLACE SECTION ============ */
.marketplace-section {
  padding: 100px 0;
  background: var(--bg-secondary, #0a0a0f);
}

.marketplace-card {
  position: relative;
}

.marketplace-tag {
  background: rgba(130, 71, 229, 0.8) !important;
  color: white;
  font-size: 0.7rem;
  padding: 4px 10px;
  border-radius: var(--radius-md);
}

.marketplace-seller {
  font-size: 0.8rem;
  color: var(--text-muted, #888);
}

.nft-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  background: rgba(212, 168, 83, 0.05);
  color: var(--text-muted, #888);
  font-size: 3rem;
}

.buy-btn {
  background: linear-gradient(135deg, #8247e5, #6c3cc7) !important;
  color: white !important;
}

.buy-btn:hover {
  background: linear-gradient(135deg, #9b5cf6, #8247e5) !important;
}

.cancel-btn {
  background: rgba(255, 100, 100, 0.15) !important;
  color: #ff6b6b !important;
  border: 1px solid rgba(255, 100, 100, 0.3) !important;
}

.cancel-btn:hover {
  background: rgba(255, 100, 100, 0.25) !important;
}

.no-listings {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--text-muted, #888);
  padding: 40px;
}

/* ============ MY NFT ACTIONS (Dashboard) ============ */
.my-nft-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  background: rgba(212, 168, 83, 0.05);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(212, 168, 83, 0.1);
}

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

.my-nft-actions {
  display: flex;
  gap: 8px;
}

.btn-sm {
  padding: 6px 12px;
  font-size: 0.75rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}

.btn-sell {
  background: linear-gradient(135deg, var(--purple), #4f46e5);
  color: white;
}

.btn-sell:hover {
  background: linear-gradient(135deg, #818cf8, var(--purple));
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-burn {
  background: linear-gradient(135deg, var(--error), #dc2626);
  color: white;
}

.btn-burn:hover {
  background: linear-gradient(135deg, #f87171, var(--error));
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

/* ============ SELL MODAL ============ */
.sell-modal {
  max-width: 420px;
}

.sell-token-info {
  text-align: center;
  padding: 15px;
  background: rgba(212, 168, 83, 0.08);
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.sell-fee-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted, #888);
  margin-bottom: 15px;
}

/* ============ BURN MODAL ============ */
.burn-modal {
  max-width: 480px;
}

.burn-title {
  color: #ff6b35 !important;
}

.burn-warning {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: rgba(255, 107, 53, 0.1);
  border: 1px solid rgba(255, 107, 53, 0.3);
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  color: #ff8555;
}

.burn-warning i {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.burn-warning p {
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

.burn-token-info {
  text-align: center;
  padding: 15px;
  background: rgba(255, 107, 53, 0.08);
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.form-select {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border, #2a2a3e);
  background: var(--bg-card, #12121a);
  color: var(--text, #e4e4e7);
  font-size: 0.95rem;
  font-family: inherit;
  appearance: none;
  cursor: pointer;
}

.form-select:focus {
  outline: none;
  border-color: var(--gold, #d4a853);
}

.btn-burn-confirm {
  background: linear-gradient(135deg, #ff6b35, #e03e00) !important;
  color: white !important;
  border: none;
  padding: 14px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.btn-burn-confirm:hover {
  background: linear-gradient(135deg, #ff8555, #ff6b35) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

/* ============================================
   PREMIUM 2026 — Mobile-First Features
   ============================================ */

/* ============ MOBILE BOTTOM NAVIGATION — Telegram-style glass ============ */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(6, 6, 12, 0.30);
  -webkit-backdrop-filter: blur(48px) saturate(200%);
  backdrop-filter: blur(48px) saturate(200%);
  border-top: 0.5px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.1), 0 -4px 20px rgba(0, 0, 0, 0.1);
  padding: 6px 8px calc(6px + env(safe-area-inset-bottom, 0));
  justify-content: space-around;
  align-items: center;
  gap: 0;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-bottom-nav.hidden {
  transform: translateY(100%);
  pointer-events: none;
}

.mobile-bottom-nav.nav-hidden {
  transform: translateY(100%);
}

.mobile-bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 6px 12px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.65rem;
  font-weight: 500;
  font-family: var(--font-body);
  cursor: pointer;
  transition: var(--transition-fast);
  border-radius: var(--radius-md);
  min-width: 56px;
  -webkit-tap-highlight-color: transparent;
}

.mobile-bottom-nav-item i {
  font-size: 1.15rem;
  transition: var(--transition-fast);
}

.mobile-bottom-nav-item.active {
  color: var(--gold);
}

.mobile-bottom-nav-item.active i {
  transform: scale(1.1);
  filter: drop-shadow(0 0 6px rgba(212, 168, 83, 0.4));
}

.mobile-bottom-nav-center {
  position: relative;
}

.mobile-bottom-nav-center-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #060609;
  font-size: 1.1rem;
  margin-top: -20px;
  box-shadow: 0 4px 20px rgba(212, 168, 83, 0.3);
  transition: var(--transition);
}

.mobile-bottom-nav-center:hover .mobile-bottom-nav-center-icon,
.mobile-bottom-nav-center.active .mobile-bottom-nav-center-icon {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(212, 168, 83, 0.45);
}

/* ============ BOTTOM SHEET MODALS (mobile) ============ */
@media (max-width: 768px) {
  .modal-overlay {
    align-items: flex-end !important;
    padding: 0 !important;
  }
  
  .modal-content {
    max-width: 100% !important;
    width: 100% !important;
    max-height: 92vh !important;
    border-radius: var(--radius-2xl) var(--radius-2xl) 0 0 !important;
    margin: 0 !important;
    padding-bottom: calc(24px + env(safe-area-inset-bottom, 0)) !important;
    animation: bottomSheetUp 0.4s cubic-bezier(0.22, 1, 0.36, 1) !important;
    overflow-y: auto;
  }
  
  .modal-content::before {
    content: '';
    display: block;
    width: 40px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    margin: 0 auto 16px;
  }
  
  .auth-modal-premium,
  .order-modal,
  .sell-modal,
  .burn-modal {
    max-height: 92vh !important;
  }
}

@keyframes bottomSheetUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

/* ============ SCROLL-SNAP CAROUSELS ============ */
.scroll-snap-container {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  gap: 16px;
  padding: 8px 0 16px;
  scrollbar-width: none;
}

.scroll-snap-container::-webkit-scrollbar {
  display: none;
}

.scroll-snap-item {
  scroll-snap-align: center;
  flex-shrink: 0;
}

/* Mobile horizontal scroll for tiers */
@media (max-width: 768px) {
  .tiers-grid {
    display: flex !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    padding: 0 16px 16px;
    scrollbar-width: none;
  }
  
  .tiers-grid::-webkit-scrollbar {
    display: none;
  }
  
  .tier-card {
    scroll-snap-align: center;
    flex-shrink: 0;
    min-width: 280px;
    width: 85vw;
    max-width: 340px;
  }
  
  .nft-grid,
  .prizes-grid {
    display: flex !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    padding: 0 16px 16px;
    scrollbar-width: none;
  }
  
  .nft-grid::-webkit-scrollbar,
  .prizes-grid::-webkit-scrollbar {
    display: none;
  }
  
  .nft-card,
  .prize-card {
    scroll-snap-align: center;
    flex-shrink: 0;
    min-width: 280px;
    width: 85vw;
    max-width: 360px;
  }
}

/* ============ REVEAL ANIMATIONS (Intersection Observer) ============ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-scale.revealed {
  opacity: 1;
  transform: scale(1);
}

/* Staggered delays for grid children */
.reveal-stagger > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger > *:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger > *:nth-child(5) { transition-delay: 0.32s; }
.reveal-stagger > *:nth-child(6) { transition-delay: 0.40s; }
.reveal-stagger > *:nth-child(7) { transition-delay: 0.48s; }
.reveal-stagger > *:nth-child(8) { transition-delay: 0.56s; }
.reveal-stagger > *:nth-child(9) { transition-delay: 0.64s; }

/* ============ SKELETON LOADING ============ */
.skeleton {
  background: linear-gradient(90deg,
    rgba(255, 255, 255, 0.04) 25%,
    rgba(255, 255, 255, 0.08) 50%,
    rgba(255, 255, 255, 0.04) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.8s ease-in-out infinite;
  border-radius: var(--radius-sm);
}

.skeleton-card {
  background: rgba(14, 14, 28, 0.5);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-2xl);
  overflow: hidden;
}

.skeleton-image {
  width: 100%;
  height: 260px;
  background: linear-gradient(90deg,
    rgba(255, 255, 255, 0.03) 25%,
    rgba(255, 255, 255, 0.06) 50%,
    rgba(255, 255, 255, 0.03) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.8s ease-in-out infinite;
}

.skeleton-text {
  height: 14px;
  margin: 16px 20px 8px;
  width: 60%;
  background: linear-gradient(90deg,
    rgba(255, 255, 255, 0.04) 25%,
    rgba(255, 255, 255, 0.08) 50%,
    rgba(255, 255, 255, 0.04) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.8s ease-in-out infinite;
  border-radius: 8px;
}

.skeleton-text-short {
  height: 12px;
  margin: 0 20px 16px;
  width: 40%;
  background: linear-gradient(90deg,
    rgba(255, 255, 255, 0.03) 25%,
    rgba(255, 255, 255, 0.06) 50%,
    rgba(255, 255, 255, 0.03) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.8s ease-in-out infinite;
  border-radius: 8px;
}

.skeleton-btn {
  height: 44px;
  margin: 8px 20px 20px;
  background: linear-gradient(90deg,
    rgba(255, 255, 255, 0.03) 25%,
    rgba(255, 255, 255, 0.06) 50%,
    rgba(255, 255, 255, 0.03) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.8s ease-in-out infinite;
  border-radius: var(--radius-md);
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ============ RIPPLE EFFECT ============ */
.ripple-container {
  position: relative;
  overflow: hidden;
}

.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(212, 168, 83, 0.2);
  transform: scale(0);
  animation: rippleAnim 0.6s ease-out forwards;
  pointer-events: none;
}

@keyframes rippleAnim {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* ============ TILT EFFECT ============ */
.tilt-card {
  transform-style: preserve-3d;
  perspective: 1000px;
}

.tilt-card .tilt-inner {
  transition: transform 0.15s ease-out;
  transform-style: preserve-3d;
}

.tilt-card .tilt-shine {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.06), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  border-radius: inherit;
  z-index: 1;
}

.tilt-card:hover .tilt-shine {
  opacity: 1;
}

/* ============ ANIMATED COUNTERS ============ */
.counter-animate {
  display: inline-block;
  min-width: 1em;
}

/* ============ PULL TO REFRESH ============ */
.pull-indicator {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%) translateY(-60px);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(6, 6, 12, 0.9);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  color: var(--gold);
  font-size: 0.9rem;
}

.pull-indicator.visible {
  transform: translateX(-50%) translateY(20px);
}

.pull-indicator.refreshing i {
  animation: spin 0.8s linear infinite;
}

/* ============ SWIPE INDICATOR DOTS ============ */
.swipe-dots {
  display: none;
  justify-content: center;
  gap: 6px;
  padding: 12px 0;
}

.swipe-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  transition: var(--transition-fast);
}

.swipe-dot.active {
  width: 20px;
  border-radius: 3px;
  background: var(--gold);
}

@media (max-width: 768px) {
  .swipe-dots {
    display: flex;
  }
}

/* ============ DYNAMIC GRADIENT HERO ============ */
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-gradient {
  background:
    radial-gradient(ellipse at 20% 50%, rgba(212, 168, 83, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(212, 168, 83, 0.04) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 100%, rgba(6, 6, 9, 1) 0%, transparent 50%);
  animation: gradientShift 15s ease infinite;
  background-size: 200% 200%;
}

/* ============ MOBILE-OPTIMIZED TOUCH TARGETS ============ */
@media (max-width: 768px) {
  /* Ensure 48px minimum touch targets */
  .btn, .filter-btn, .dash-filter-btn, .nav-link, .dash-nav-item,
  .mobile-bottom-nav-item, .payment-tab, .lang-option, .dash-lang-item {
    min-height: 44px;
  }
  
  /* Bottom nav hidden by default — only shown in dashboard via JS */
  .mobile-bottom-nav {
    display: none;
  }
  
  /* No extra padding needed on landing page */
  main {
    padding-bottom: 0;
  }
  
  .dashboard-app {
    padding-bottom: 0;
  }
  
  /* Hide bottom nav in dashboard too — sidebar is used instead */
  .dashboard-app ~ .mobile-bottom-nav {
    display: none;
  }
  
  /* Footer — no extra bottom padding needed */
  .footer-compact {
    padding-bottom: 16px;
  }
  
  /* Hero section mobile tweaks */
  .hero-section {
    padding-bottom: 60px;
  }
  
  .hero-stats {
    gap: 24px;
  }
  
  .stat-number {
    font-size: 1.8rem;
  }
  
  /* Section padding reduction */
  .tiers-section,
  .collection-section,
  .prizes-section,
  .about-section,
  .marketplace-section {
    padding: 60px 0;
  }
  
  .section-header {
    margin-bottom: 32px;
  }
  
  /* About grid single column */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .about-visual {
    display: none;
  }
  
  /* Dashboard in mobile — add bottom safe area */
  .dash-tab-content {
    padding-bottom: 24px;
  }
  
  /* Larger close buttons */
  .modal-close {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-title .hero-line {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }
  
  .hero-desc {
    font-size: 0.95rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-buttons .btn {
    width: 100%;
    max-width: 280px;
  }
  
  .section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }
  
  .dash-overview-stats {
    grid-template-columns: 1fr 1fr;
  }
  
  .dash-actions-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .dash-overview-grid {
    grid-template-columns: 1fr;
  }
  
  .dash-collection-stats {
    grid-template-columns: 1fr 1fr;
  }
}

/* ============ CONFETTI ANIMATION ============ */
.confetti-piece {
  position: fixed;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  z-index: 99999;
  pointer-events: none;
  animation: confettiFall 3s ease-out forwards;
}

@keyframes confettiFall {
  0% {
    opacity: 1;
    transform: translateY(0) rotate(0deg);
  }
  100% {
    opacity: 0;
    transform: translateY(100vh) rotate(720deg);
  }
}

/* ============ BLUR PAGE TRANSITION ============ */
.page-transition {
  transition: filter 0.3s, opacity 0.3s;
}

.page-transition.blurred {
  filter: blur(8px);
  opacity: 0.5;
}

/* ============ TOAST ANIMATIONS ============ */
.toast {
  animation: toastSlideIn 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes toastSlideIn {
  from { transform: translateX(100%) scale(0.9); opacity: 0; }
  to { transform: translateX(0) scale(1); opacity: 1; }
}

/* ============ IOS-LIKE OVERSCROLL BOUNCE ============ */
@supports (-webkit-touch-callout: none) {
  body {
    overscroll-behavior-y: none;
  }
}

/* ============ CONTENT VISIBILITY OPTIMIZATION ============ */
.collection-section,
.marketplace-section,
.prizes-section,
.about-section {
  content-visibility: auto;
  contain-intrinsic-size: 0 600px;
}

/* ============ DASHBOARD CHART CONTAINERS ============ */
.dash-chart-container {
  background: rgba(14, 14, 28, 0.3);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  border: 0.5px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
  min-height: 250px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 4px 24px rgba(0, 0, 0, 0.12);
}

.dash-chart-container h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dash-chart-container h3 i {
  color: var(--gold);
  font-size: 0.9rem;
}

.chart-wrapper {
  position: relative;
  width: 100%;
  height: 220px;
}

/* ============ PRIZE WINNERS ============ */
.dash-winners-section {
  margin-top: 32px;
}

.dash-winners-section h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.dash-winner-card {
  background: rgba(14, 14, 28, 0.3);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  border: 0.5px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 16px;
  transition: var(--transition);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 4px 24px rgba(0, 0, 0, 0.12);
}

.dash-winner-card:hover {
  border-color: rgba(212, 168, 83, 0.2);
}

.dash-winner-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.winner-prize-icon {
  font-size: 1.8rem;
}

.winner-prize-title {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--text-primary);
  margin: 0;
}

.winner-draw-date {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.dash-winner-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dash-winner-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: rgba(212, 168, 83, 0.04);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.winner-rank {
  font-size: 1.2rem;
}

.winner-name {
  color: var(--text-primary);
  font-weight: 500;
}

/* ============ NOTIFICATIONS TAB ============ */
.notification-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  background: rgba(14, 14, 28, 0.2);
  border: 0.5px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  margin-bottom: 10px;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.notification-item:hover {
  background: rgba(14, 14, 28, 0.4);
  border-color: rgba(255, 255, 255, 0.1);
}

.notification-item.notification-unread {
  background: rgba(212, 168, 83, 0.04);
  border-color: rgba(212, 168, 83, 0.12);
}

.notification-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  flex-shrink: 0;
  font-size: 0.9rem;
}

.notification-body {
  flex: 1;
  min-width: 0;
}

.notification-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 4px;
}

.notification-message {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.4;
}

.notification-time {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 6px;
  display: block;
}

.notification-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  margin-top: 6px;
  box-shadow: 0 0 8px rgba(212, 168, 83, 0.5);
}

.notifications-header-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

/* ============ NOTIFICATION BADGE EMPTY HIDE ============ */
.dash-nav-badge:empty {
  display: none;
}

/* ============ DASH EMPTY STATE SMALL ============ */
.dash-empty-state.small {
  padding: 40px 20px;
}

.dash-empty-state.small i {
  font-size: 2rem;
  margin-bottom: 12px;
  opacity: 0.3;
}

.dash-empty-state.small p {
  font-size: 0.85rem;
}

/* ============ CHARTS ROW GRID ============ */
.dash-charts-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 24px;
}

@media (max-width: 768px) {
  .dash-charts-row {
    grid-template-columns: 1fr;
  }
}

/* ============ 2026 MICRO-INTERACTIONS & POLISH ============ */

/* Subtle entrance animations for dashboard cards */
.dash-stat-card,
.dash-prize-card,
.dash-chart-container,
.notification-item,
.dash-winner-card {
  animation: gentleFadeIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.dash-stat-card:nth-child(2) { animation-delay: 0.06s; }
.dash-stat-card:nth-child(3) { animation-delay: 0.12s; }
.dash-stat-card:nth-child(4) { animation-delay: 0.18s; }

.notification-item:nth-child(2) { animation-delay: 0.04s; }
.notification-item:nth-child(3) { animation-delay: 0.08s; }
.notification-item:nth-child(4) { animation-delay: 0.12s; }
.notification-item:nth-child(5) { animation-delay: 0.16s; }

@keyframes gentleFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Enhanced glow for gold accent elements on hover */
.btn-gold:hover,
.hero .cta-primary:hover {
  filter: brightness(1.1);
  box-shadow: 0 0 32px rgba(212, 168, 83, 0.25), 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Subtle card shine effect */
.dash-prize-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, transparent 50%, transparent 100%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s;
}

.dash-prize-card:hover::after {
  opacity: 1;
}

/* Focus visible rings for accessibility */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Smoother page view transitions */
@view-transition {
  navigation: auto;
}

/* Tab content smooth transitions */
.dash-tab-content {
  transition: opacity 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.dash-tab-content:not(.active) {
  opacity: 0;
  pointer-events: none;
  position: absolute;
  visibility: hidden;
}

/* Chart canvas anti-alias and crisp rendering */
canvas {
  image-rendering: auto;
}

/* Notification dot pulse animation */
.notification-dot {
  animation: notifPulse 2s ease-in-out infinite;
}

@keyframes notifPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 8px rgba(212, 168, 83, 0.5); }
  50% { transform: scale(1.3); box-shadow: 0 0 16px rgba(212, 168, 83, 0.8); }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  body::before { animation: none; }
}

/* ============ PRIZE PARTICIPATION ============ */

/* Requirement badge on prize card */
.prize-req-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
  backdrop-filter: blur(8px);
  z-index: 2;
}
.prize-req-bronze { background: rgba(205,127,50,0.25); border: 1px solid rgba(205,127,50,0.5); color: #cd9a50; }
.prize-req-silver { background: rgba(192,192,192,0.2); border: 1px solid rgba(192,192,192,0.4); color: #c8c8c8; }
.prize-req-gold   { background: rgba(212,168,83,0.25); border: 1px solid rgba(212,168,83,0.5); color: var(--gold); }
.prize-req-any    { background: rgba(100,100,255,0.15); border: 1px solid rgba(100,100,255,0.3); color: #8888ff; }

/* Enter prize / prize-entered buttons */
.btn-enter-prize {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 14px;
  padding: 11px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  background: linear-gradient(135deg, #ff6b35, #d93d00);
  color: #fff;
  transition: var(--transition);
}
.btn-enter-prize:hover {
  background: linear-gradient(135deg, #ff8555, #ff6b35);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,107,53,0.35);
}
.btn-prize-entered {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 14px;
  padding: 11px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(80,200,80,0.4);
  background: rgba(80,200,80,0.1);
  color: #6ec97c;
  cursor: default;
}
.prize-inactive { opacity: 0.55; }

/* Enter Prize Modal */
.enter-prize-modal { max-width: 540px; }
.enter-prize-title { color: #ff6b35 !important; }
.enter-prize-name {
  text-align: center;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 16px;
}

/* Requirements block inside modal */
.enter-prize-req-block {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  font-size: 0.88rem;
  line-height: 1.5;
}
.enter-prize-req-block i { font-size: 1.3rem; flex-shrink: 0; margin-top: 2px; }
.prize-req-bronze.enter-prize-req-block { background: rgba(205,127,50,0.12); border: 1px solid rgba(205,127,50,0.3); color: #cd9a50; }
.prize-req-silver.enter-prize-req-block { background: rgba(192,192,192,0.1); border: 1px solid rgba(192,192,192,0.3); color: #c0c0c0; }
.prize-req-gold.enter-prize-req-block   { background: rgba(212,168,83,0.12); border: 1px solid rgba(212,168,83,0.3); color: var(--gold); }
.prize-req-any.enter-prize-req-block    { background: rgba(100,100,255,0.1); border: 1px solid rgba(100,100,255,0.25); color: #8888ff; }

.enter-prize-section { margin-bottom: 4px; }
.enter-prize-label {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.enter-prize-loading, .enter-prize-no-nft {
  text-align: center;
  padding: 24px;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.enter-prize-no-nft i { font-size: 2rem; margin-bottom: 10px; display: block; color: rgba(255,107,53,0.6); }

/* NFT selection cards */
.enter-prize-nft-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 240px;
  overflow-y: auto;
  padding-right: 4px;
}
.enter-prize-nft-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}
.enter-prize-nft-card:hover {
  border-color: rgba(255,107,53,0.4);
  background: rgba(255,107,53,0.06);
}
.enter-prize-nft-card.selected {
  border-color: #ff6b35;
  background: rgba(255,107,53,0.12);
  box-shadow: 0 0 0 1px #ff6b35;
}
.epnft-img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  border: 2px solid;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.3);
  flex-shrink: 0;
}
.epnft-img img { width: 100%; height: 100%; object-fit: cover; }
.epnft-img i { font-size: 1.4rem; }
.epnft-info { flex: 1; min-width: 0; }
.epnft-name { font-weight: 600; font-size: 0.9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.epnft-meta { display: flex; gap: 10px; margin-top: 3px; font-size: 0.78rem; }
.epnft-tier { font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.epnft-price { color: var(--text-muted); }
.epnft-token { font-size: 0.72rem; color: var(--text-muted); margin-top: 2px; }
.epnft-check { color: #ff6b35; font-size: 1.2rem; opacity: 0; transition: opacity 0.2s; }
.enter-prize-nft-card.selected .epnft-check { opacity: 1; }

/* Confirm button */
.btn-enter-prize-confirm {
  background: linear-gradient(135deg, #ff6b35, #e03e00) !important;
  color: white !important;
  border: none;
  padding: 14px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  margin-top: 16px;
}
.btn-enter-prize-confirm:hover:not(:disabled) {
  background: linear-gradient(135deg, #ff8555, #ff6b35) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255,107,53,0.35);
}
.btn-enter-prize-confirm:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none !important;
}

@media (max-width: 600px) {
  .enter-prize-modal { margin: 10px; }
  .enter-prize-nft-list { max-height: 180px; }
}

/* ============ CHECKOUT MODAL (GPB) ============ */
.order-price-summary {
  background: var(--bg-secondary);
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  padding: 16px 20px;
  margin: 0 0 18px;
}
.order-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
}
.order-price-label { color: var(--text-secondary); font-size: .9rem; }
.order-price-usd-val { color: var(--text-primary); font-size: 1rem; }
.order-price-total-row { border-top: 1px solid var(--border); margin-top: 8px; padding-top: 10px; }
.order-price-rub-val { color: var(--gold); font-size: 1.4rem; font-weight: 700; }
.order-rate-note { margin-top: 8px; font-size: .75rem; color: var(--text-muted); display: flex; align-items: center; gap: 5px; }
.order-user-fields { margin-bottom: 16px; }
.order-user-fields .form-group { margin-bottom: 10px; }
.order-agreement-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: .85rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.5;
}
.order-agreement-label input[type="checkbox"] {
  width: 16px; height: 16px; min-width: 16px;
  accent-color: var(--gold);
  cursor: pointer;
  margin-top: 2px;
}
.order-agreement-label a { color: var(--gold); text-decoration: underline; }
.order-agreement-label a:hover { color: var(--gold-light); }
.order-security-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
  font-size: .75rem;
  color: var(--text-muted);
}
.order-security-note i { color: var(--success); }
#btnPayGpb:disabled { opacity: .45; cursor: not-allowed; }
