/* ====================================================
   KINGWORLD CARD AUCTION - HI-TECH FUTURISTIC THEME
   ==================================================== */
:root {
  --bg-primary: #0a0a1a;
  --bg-secondary: #0f0f2e;
  --bg-card: #12122a;
  --bg-glass: rgba(15, 15, 46, 0.85);
  --gold: #ffd700;
  --gold-light: #ffe44d;
  --gold-dark: #b8960f;
  --cyan: #00d4ff;
  --cyan-dark: #0099cc;
  --purple: #8b5cf6;
  --pink: #ec4899;
  --green: #10b981;
  --red: #ef4444;
  --text-primary: #e8e8ff;
  --text-secondary: #9898c8;
  --text-muted: #6868a0;
  --border: rgba(255, 215, 0, 0.15);
  --border-glow: rgba(255, 215, 0, 0.3);
  --shadow-gold: 0 0 15px rgba(255, 215, 0, 0.3), 0 0 30px rgba(255, 215, 0, 0.15);
  --shadow-gold-intense: 0 0 20px rgba(255, 215, 0, 0.5), 0 0 40px rgba(255, 215, 0, 0.25), 0 0 60px rgba(255, 215, 0, 0.1);
  --shadow-cyan: 0 0 15px rgba(0, 212, 255, 0.3);
  --font-thai: 'Kanit', sans-serif;
  --font-tech: 'Orbitron', sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-thai);
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.gold { color: var(--gold) !important; }
.text-muted { color: var(--text-muted); }
a { color: var(--cyan); text-decoration: none; transition: all 0.3s; }
a:hover { color: var(--gold); }
img { max-width: 100%; }

/* ============ PARTICLES BACKGROUND ============ */
.particles-bg {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
  background:
    radial-gradient(circle at 20% 50%, rgba(255, 215, 0, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(0, 212, 255, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 50% 80%, rgba(139, 92, 246, 0.03) 0%, transparent 50%);
}
.particles-bg::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    radial-gradient(1px 1px at 10% 20%, rgba(255, 215, 0, 0.4), transparent),
    radial-gradient(1px 1px at 30% 60%, rgba(0, 212, 255, 0.3), transparent),
    radial-gradient(1px 1px at 50% 40%, rgba(255, 215, 0, 0.2), transparent),
    radial-gradient(1px 1px at 70% 80%, rgba(139, 92, 246, 0.3), transparent),
    radial-gradient(1px 1px at 90% 30%, rgba(0, 212, 255, 0.2), transparent),
    radial-gradient(1.5px 1.5px at 15% 80%, rgba(255, 215, 0, 0.3), transparent),
    radial-gradient(1px 1px at 85% 60%, rgba(0, 212, 255, 0.4), transparent);
  animation: particleFloat 20s ease-in-out infinite;
}
@keyframes particleFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

/* ============ GOLDEN AURA GLOW BUTTONS ============ */
.glow-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 215, 0, 0.05));
  border: 1px solid var(--border-glow);
  border-radius: var(--radius);
  color: var(--gold);
  font-family: var(--font-thai);
  font-size: 14px; font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.1);
}
.glow-btn::before {
  content: ''; position: absolute; top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(255, 215, 0, 0.1), transparent, rgba(255, 215, 0, 0.05), transparent);
  animation: auraSpin 4s linear infinite;
  opacity: 0; transition: opacity 0.3s;
}
.glow-btn:hover::before { opacity: 1; }
.glow-btn:hover {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.25), rgba(255, 215, 0, 0.1));
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
  color: var(--gold-light);
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}
.glow-btn:active { transform: translateY(0); }
@keyframes auraSpin { to { transform: rotate(360deg); } }

.btn-hero {
  padding: 14px 32px; font-size: 16px; font-weight: 600;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.3), rgba(255, 215, 0, 0.1));
  box-shadow: var(--shadow-gold);
}
.btn-hero:hover { box-shadow: var(--shadow-gold-intense); }

.btn-hero-alt {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(0, 212, 255, 0.05));
  border-color: rgba(0, 212, 255, 0.3);
  color: var(--cyan);
}
.btn-hero-alt:hover {
  box-shadow: var(--shadow-cyan);
  color: var(--cyan);
}

.btn-bid {
  padding: 14px 40px; font-size: 18px; font-weight: 700;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: #0a0a1a !important;
  border: none;
  box-shadow: var(--shadow-gold-intense);
}
.btn-bid:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #0a0a1a !important;
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.7), 0 0 60px rgba(255, 215, 0, 0.3);
}

.btn-buynow {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.3), rgba(16, 185, 129, 0.1));
  border-color: rgba(16, 185, 129, 0.4);
  color: var(--green);
}

.btn-login { color: var(--cyan); border-color: rgba(0, 212, 255, 0.3); }
.btn-register { background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), transparent); }

.btn-sm { padding: 6px 14px; font-size: 12px; }
.full-width { width: 100%; justify-content: center; }

/* ============ GLASS PANELS ============ */
.glass-panel {
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
}
.glass-panel::before {
  content: ''; position: absolute; inset: -1px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), transparent, rgba(0, 212, 255, 0.05));
  z-index: -1;
}

/* ============ HEADER ============ */
.main-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(10, 10, 26, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.header-glow {
  position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  box-shadow: 0 0 10px var(--gold), 0 0 20px rgba(255, 215, 0, 0.3);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 20px; gap: 20px;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-icon { font-size: 28px; color: var(--gold); filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5)); }
.logo-text {
  font-family: var(--font-tech); font-size: 20px; font-weight: 800;
  color: var(--text-primary);
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}
.logo-img { height: 40px; }

.main-nav { display: flex; gap: 4px; }
.nav-link { font-size: 14px; padding: 8px 16px; white-space: nowrap; }
.nav-link i { font-size: 12px; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.notification-bell {
  position: relative; cursor: pointer; font-size: 20px; color: var(--text-secondary);
  transition: all 0.3s;
}
.notification-bell:hover { color: var(--gold); filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.5)); }
.notif-badge {
  position: absolute; top: -5px; right: -8px;
  background: var(--red); color: white; font-size: 10px;
  min-width: 16px; height: 16px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

.user-menu { position: relative; }
.user-btn { font-weight: 500; }
.user-dropdown {
  position: absolute; top: 100%; right: 0; margin-top: 8px;
  background: var(--bg-secondary); border: 1px solid var(--border);
  border-radius: var(--radius); min-width: 180px;
  display: none; overflow: hidden; z-index: 100;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.user-dropdown.show { display: block; }
.user-dropdown a {
  display: flex; align-items: center; gap: 10px; padding: 12px 16px;
  color: var(--text-primary); transition: all 0.2s;
}
.user-dropdown a:hover { background: rgba(255, 215, 0, 0.1); color: var(--gold); }

.announcement-bar {
  background: linear-gradient(90deg, rgba(255, 215, 0, 0.1), rgba(255, 215, 0, 0.2), rgba(255, 215, 0, 0.1));
  color: var(--gold); text-align: center; padding: 8px; font-size: 14px;
  border-bottom: 1px solid var(--border);
  animation: announcePulse 3s ease-in-out infinite;
}
@keyframes announcePulse {
  0%, 100% { background: linear-gradient(90deg, rgba(255, 215, 0, 0.1), rgba(255, 215, 0, 0.2), rgba(255, 215, 0, 0.1)); }
  50% { background: linear-gradient(90deg, rgba(255, 215, 0, 0.15), rgba(255, 215, 0, 0.3), rgba(255, 215, 0, 0.15)); }
}

.mobile-menu-btn { display: none; font-size: 20px; background: none; border: none; color: var(--gold); cursor: pointer; }

/* Notification Panel */
.notif-panel {
  position: fixed; top: 60px; right: 20px; width: 350px; max-height: 500px;
  background: var(--bg-secondary); border: 1px solid var(--border);
  border-radius: var(--radius-lg); z-index: 1001;
  display: none; overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), var(--shadow-gold);
}
.notif-panel.show { display: block; }
.notif-header { display: flex; justify-content: space-between; align-items: center; padding: 16px; border-bottom: 1px solid var(--border); }
.notif-header h3 { font-size: 14px; color: var(--gold); }
.notif-readall { background: none; border: none; color: var(--cyan); cursor: pointer; font-size: 12px; }
.notif-list { max-height: 400px; overflow-y: auto; }
.notif-item { padding: 12px 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); cursor: pointer; transition: all 0.2s; }
.notif-item:hover { background: rgba(255, 215, 0, 0.05); }
.notif-item.unread { border-left: 3px solid var(--gold); }
.notif-item .notif-title { font-weight: 500; font-size: 13px; }
.notif-item .notif-msg { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.notif-item .notif-time { font-size: 11px; color: var(--text-muted); margin-top: 4px; }

/* ============ HERO SECTION ============ */
.hero-section {
  position: relative; min-height: 70vh;
  display: flex; align-items: center; justify-content: center;
  background-size: cover; background-position: center;
  overflow: hidden;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10, 10, 26, 0.9), rgba(15, 15, 46, 0.7));
}
.hero-inner { position: relative; z-index: 2; text-align: center; padding: 60px 0; }
.hero-content { max-width: 800px; margin: 0 auto; }
.hero-title { margin-bottom: 20px; }
.cyber-text {
  font-family: var(--font-tech); font-size: 52px; font-weight: 900;
  letter-spacing: 4px;
  text-shadow: 0 0 30px rgba(255, 215, 0, 0.5), 0 0 60px rgba(255, 215, 0, 0.2);
  animation: cyberGlow 3s ease-in-out infinite;
}
@keyframes cyberGlow {
  0%, 100% { text-shadow: 0 0 30px rgba(255, 215, 0, 0.5), 0 0 60px rgba(255, 215, 0, 0.2); }
  50% { text-shadow: 0 0 40px rgba(255, 215, 0, 0.7), 0 0 80px rgba(255, 215, 0, 0.3), 0 0 120px rgba(255, 215, 0, 0.1); }
}
.hero-subtitle {
  font-family: var(--font-tech); font-size: 24px; font-weight: 600;
  color: var(--cyan); letter-spacing: 8px;
  text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}
.hero-desc { font-size: 18px; color: var(--text-secondary); margin-bottom: 30px; line-height: 1.8; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats { display: flex; gap: 40px; justify-content: center; flex-wrap: wrap; }
.stat-item { text-align: center; }
.stat-num { display: block; font-family: var(--font-tech); font-size: 28px; font-weight: 700; color: var(--gold); }
.stat-label { font-size: 13px; color: var(--text-muted); }
.hero-wave { position: absolute; bottom: -1px; left: 0; right: 0; }
.hero-wave svg { display: block; width: 100%; height: 60px; }

/* ============ SECTIONS ============ */
.section {
  position: relative; padding: 60px 0;
  background-size: cover; background-position: center;
}
.section-bg-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--bg-primary), rgba(10, 10, 26, 0.95));
}
.section > .container { position: relative; z-index: 2; }
.section-title {
  font-size: 28px; font-weight: 700; margin-bottom: 32px;
  display: flex; align-items: center; gap: 12px;
}
.section-title i { color: var(--gold); filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.5)); }
.title-glow {
  font-family: var(--font-tech); font-size: 14px; font-weight: 600;
  color: var(--cyan); letter-spacing: 3px; opacity: 0.5;
}
.section-action { text-align: center; margin-top: 32px; }

.page-section { position: relative; z-index: 1; padding: 100px 0 60px; }
.page-title {
  font-size: 28px; font-weight: 700; margin-bottom: 30px;
  display: flex; align-items: center; gap: 12px;
}

/* ============ AUCTION CARDS ============ */
.auction-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.auction-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.4s ease;
  text-decoration: none; color: inherit;
  position: relative;
}
.auction-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold);
  box-shadow: var(--shadow-gold-intense);
}
.card-image {
  position: relative; aspect-ratio: 3/4; overflow: hidden;
  background: var(--bg-secondary);
}
.card-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s;
}
.auction-card:hover .card-image img { transform: scale(1.08); }

/* Holographic Shimmer Effect */
.card-holographic {
  position: absolute; inset: 0;
  background: linear-gradient(
    125deg,
    transparent 30%,
    rgba(255, 215, 0, 0.1) 45%,
    rgba(0, 212, 255, 0.1) 50%,
    rgba(139, 92, 246, 0.1) 55%,
    transparent 70%
  );
  background-size: 200% 200%;
  opacity: 0; transition: opacity 0.3s;
  pointer-events: none;
}
.auction-card:hover .card-holographic {
  opacity: 1;
  animation: holoShimmer 2s ease-in-out infinite;
}
@keyframes holoShimmer {
  0% { background-position: 200% 200%; }
  100% { background-position: -200% -200%; }
}

.card-badge {
  position: absolute; top: 12px; left: 12px;
  padding: 4px 12px; border-radius: 20px;
  font-size: 11px; font-weight: 600;
  z-index: 2;
}
.featured-badge {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: #0a0a1a;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.card-timer {
  position: absolute; bottom: 8px; right: 8px;
  background: rgba(0, 0, 0, 0.8);
  padding: 4px 10px; border-radius: 8px;
  font-size: 12px; font-weight: 500;
  color: var(--cyan); z-index: 2;
  border: 1px solid rgba(0, 212, 255, 0.3);
}
.card-timer.urgent { color: var(--red); border-color: rgba(239, 68, 68, 0.3); animation: urgentPulse 1s infinite; }
@keyframes urgentPulse {
  0%, 100% { box-shadow: 0 0 5px rgba(239, 68, 68, 0.3); }
  50% { box-shadow: 0 0 15px rgba(239, 68, 68, 0.5); }
}

.card-body { padding: 16px; }
.card-category { font-size: 11px; color: var(--cyan); text-transform: uppercase; letter-spacing: 1px; }
.card-title {
  font-size: 16px; font-weight: 600; margin: 8px 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-price { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; }
.price-label { font-size: 12px; color: var(--text-muted); }
.price-value {
  font-family: var(--font-tech); font-size: 18px; font-weight: 700;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}
.card-meta {
  display: flex; gap: 16px; margin-top: 10px; font-size: 12px; color: var(--text-muted);
}

/* ============ CATEGORY CARDS ============ */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px;
}
.category-card {
  display: flex; flex-direction: column; align-items: center;
  padding: 20px; text-align: center; gap: 10px;
}
.cat-icon { font-size: 32px; color: var(--gold); }
.cat-icon img { width: 48px; height: 48px; object-fit: contain; border-radius: 8px; }
.cat-name { font-size: 13px; font-weight: 500; }

/* ============ AUCTION DETAIL ============ */
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.detail-images { overflow: hidden; }
.main-image { position: relative; aspect-ratio: 3/4; border-radius: var(--radius); overflow: hidden; }
.main-image img { width: 100%; height: 100%; object-fit: contain; background: var(--bg-secondary); }
.image-holographic {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(125deg, transparent 30%, rgba(255, 215, 0, 0.05) 45%, rgba(0, 212, 255, 0.05) 55%, transparent 70%);
}
.image-thumbs { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.thumb-img { width: 60px; height: 80px; object-fit: cover; border-radius: 8px; cursor: pointer; border: 2px solid transparent; transition: all 0.3s; }
.thumb-img.active { border-color: var(--gold); box-shadow: 0 0 10px rgba(255, 215, 0, 0.3); }

.detail-info { display: flex; flex-direction: column; gap: 20px; }
.detail-title { font-size: 24px; font-weight: 700; margin-top: 8px; }
.badge { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 500; }
.cat-badge { background: rgba(0, 212, 255, 0.15); color: var(--cyan); }

.card-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.spec { background: rgba(255, 255, 255, 0.03); padding: 8px 12px; border-radius: 8px; }
.spec-label { font-size: 11px; color: var(--text-muted); display: block; }
.spec-value { font-size: 14px; font-weight: 500; }

.bid-panel { background: linear-gradient(135deg, rgba(255, 215, 0, 0.05), rgba(15, 15, 46, 0.9)); }
.bid-timer-large { font-size: 18px; font-weight: 600; color: var(--cyan); margin-bottom: 16px; }
.bid-info-row { display: flex; gap: 20px; margin-bottom: 20px; }
.bid-info-item { flex: 1; text-align: center; }
.bi-label { display: block; font-size: 12px; color: var(--text-muted); }
.bi-value { display: block; font-family: var(--font-tech); font-size: 20px; font-weight: 700; }

.bid-form { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.bid-input-group { display: flex; align-items: center; gap: 8px; }
.bid-currency { font-size: 24px; font-weight: 700; color: var(--gold); }
.bid-input { flex: 1; font-family: var(--font-tech); font-size: 24px; text-align: center; }

.bid-actions { display: flex; justify-content: space-between; align-items: center; }
.view-count { font-size: 12px; color: var(--text-muted); }
#watchBtn.active { color: var(--pink); border-color: rgba(236, 72, 153, 0.3); }

.panel-title { font-size: 16px; font-weight: 600; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.panel-title i { color: var(--gold); }
.detail-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.8; white-space: pre-line; }

.bid-history { max-height: 300px; overflow-y: auto; }
.bid-row {
  display: flex; align-items: center; gap: 12px; padding: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  transition: background 0.3s;
}
.bid-row.top-bid { background: rgba(255, 215, 0, 0.05); }
.bid-row.new-bid-flash { animation: bidFlash 1s ease; }
@keyframes bidFlash {
  0% { background: rgba(255, 215, 0, 0.3); }
  100% { background: rgba(255, 215, 0, 0.05); }
}
.bid-rank { font-size: 16px; min-width: 32px; text-align: center; }
.bid-user { flex: 1; font-weight: 500; }
.bid-amount { font-family: var(--font-tech); font-weight: 600; }
.bid-time { font-size: 12px; color: var(--text-muted); }

.auction-ended-msg { text-align: center; padding: 20px; font-size: 18px; color: var(--text-muted); }
.auction-ended-msg i { font-size: 32px; color: var(--gold); margin-bottom: 10px; display: block; }

/* ============ AUTH PAGES ============ */
.auth-page { display: flex; justify-content: center; align-items: center; min-height: calc(100vh - 200px); }
.auth-card { max-width: 440px; width: 100%; }
.auth-header { text-align: center; margin-bottom: 30px; }
.auth-icon { font-size: 48px; color: var(--gold); filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.5)); }
.auth-title {
  font-family: var(--font-tech); font-size: 24px; margin-top: 16px;
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}
.auth-subtitle { color: var(--text-muted); font-size: 14px; margin-top: 8px; }
.auth-footer { text-align: center; margin-top: 20px; font-size: 14px; }

/* ============ FORMS ============ */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; color: var(--text-secondary); margin-bottom: 6px; }
.input-cyber {
  width: 100%; padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-family: var(--font-thai);
  font-size: 14px;
  transition: all 0.3s;
}
.input-cyber:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
  background: rgba(255, 215, 0, 0.03);
}
.input-cyber::placeholder { color: var(--text-muted); }
select.input-cyber { cursor: pointer; }
select.input-cyber option { background: var(--bg-secondary); color: var(--text-primary); }
textarea.input-cyber { resize: vertical; min-height: 80px; }

/* ============ FILTER BAR ============ */
.filter-bar {
  display: flex; gap: 12px; margin-bottom: 24px;
  flex-wrap: wrap; align-items: center;
}
.filter-group { flex: 1; min-width: 150px; }

/* ============ WIN CARDS ============ */
.win-card {
  display: flex; gap: 20px; margin-bottom: 16px; align-items: center;
}
.win-image { width: 80px; height: 80px; border-radius: var(--radius); overflow: hidden; flex-shrink: 0; }
.win-image img { width: 100%; height: 100%; object-fit: cover; }
.win-info { flex: 1; }
.win-title { font-size: 16px; font-weight: 600; }
.win-amount { font-family: var(--font-tech); font-size: 18px; font-weight: 700; }
.win-status { font-size: 13px; margin-top: 4px; }
.win-meta { font-size: 12px; color: var(--text-muted); }
.win-actions { display: flex; flex-direction: column; gap: 8px; align-items: end; }

.status-pending { color: var(--gold); }
.status-submitted { color: var(--cyan); }
.status-confirmed { color: var(--green); }
.status-shipped { color: var(--purple); }
.status-received { color: var(--cyan); }
.status-completed { color: var(--green); }
.status-expired { color: var(--red); }

.status-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: 20px; font-size: 12px;
}
.status-badge.pending { background: rgba(255, 215, 0, 0.15); color: var(--gold); }
.status-badge.confirmed { background: rgba(16, 185, 129, 0.15); color: var(--green); }
.status-badge.received { background: rgba(0, 212, 255, 0.15); color: var(--cyan); }
.status-badge.completed { background: rgba(16, 185, 129, 0.15); color: var(--green); }
.status-badge.expired { background: rgba(239, 68, 68, 0.15); color: var(--red); }

/* ============ PAYMENT ============ */
.payment-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.bank-info { text-align: center; margin-bottom: 20px; }
.bank-qr { max-width: 200px; border-radius: var(--radius); margin-bottom: 16px; border: 2px solid var(--border); }
.bank-detail p { margin: 8px 0; font-size: 15px; }
.payment-amount { text-align: center; padding: 16px; background: rgba(255, 215, 0, 0.05); border-radius: var(--radius); margin-top: 16px; }
.amount-value { font-family: var(--font-tech); font-size: 32px; font-weight: 700; }
.payment-deadline { text-align: center; margin-top: 12px; color: var(--red); font-weight: 500; }
.slip-preview { max-width: 300px; border-radius: var(--radius); margin-top: 12px; }
.slip-image { max-width: 300px; border-radius: var(--radius); }

/* ============ CHAT ============ */
.chat-container { max-width: 700px; margin: 0 auto; display: flex; flex-direction: column; height: 500px; }
.chat-messages { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.chat-msg { display: flex; }
.chat-msg.user { justify-content: flex-end; }
.chat-msg.admin { justify-content: flex-start; }
.msg-bubble {
  max-width: 70%; padding: 10px 16px;
  border-radius: 16px; font-size: 14px;
}
.chat-msg.user .msg-bubble {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 215, 0, 0.05));
  border: 1px solid rgba(255, 215, 0, 0.2);
}
.chat-msg.admin .msg-bubble {
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.2);
}
.msg-time { display: block; font-size: 10px; color: var(--text-muted); margin-top: 4px; }
.msg-image { max-width: 200px; border-radius: 8px; }
.chat-form {
  display: flex; gap: 8px; padding: 16px;
  border-top: 1px solid var(--border);
}
.chat-form .input-cyber { flex: 1; }
.empty-chat { text-align: center; padding: 60px 20px; color: var(--text-muted); }
.empty-chat i { font-size: 48px; color: var(--gold); margin-bottom: 16px; }

/* ============ PROFILE ============ */
.profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mt-2 { margin-top: 16px; color: var(--gold); font-size: 15px; }

/* ============ PAGINATION ============ */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 24px; flex-wrap: wrap; }
.page-btn { min-width: 40px; }
.page-btn.active { background: var(--gold); color: #0a0a1a; border-color: var(--gold); }

/* ============ EMPTY STATE ============ */
.empty-state { text-align: center; padding: 60px 20px; color: var(--text-muted); }
.empty-state i { font-size: 48px; color: var(--gold); margin-bottom: 16px; display: block; }
.empty-state p { margin-bottom: 20px; font-size: 16px; }

/* ============ LOADING ============ */
.loading-spinner { text-align: center; padding: 40px; color: var(--gold); font-size: 18px; }
.loading-spinner i { margin-right: 8px; }

/* ============ TOAST ============ */
.toast-container { position: fixed; bottom: 20px; right: 20px; z-index: 9999; display: flex; flex-direction: column; gap: 8px; }
.toast {
  padding: 14px 24px; border-radius: var(--radius);
  font-size: 14px; font-weight: 500;
  display: flex; align-items: center; gap: 10px;
  animation: toastIn 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.toast.success { background: linear-gradient(135deg, rgba(16, 185, 129, 0.9), rgba(16, 185, 129, 0.7)); color: white; }
.toast.error { background: linear-gradient(135deg, rgba(239, 68, 68, 0.9), rgba(239, 68, 68, 0.7)); color: white; }
.toast.info { background: linear-gradient(135deg, rgba(0, 212, 255, 0.9), rgba(0, 212, 255, 0.7)); color: white; }
@keyframes toastIn { from { transform: translateX(100px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* ============ FOOTER ============ */
.main-footer {
  position: relative; margin-top: 40px;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
}
.footer-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--bg-primary), rgba(15, 15, 46, 0.95));
}
.footer-inner { position: relative; z-index: 2; padding: 40px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 30px; }
.footer-title { font-size: 18px; font-weight: 700; margin-bottom: 16px; }
.footer-col a { display: block; color: var(--text-secondary); margin-bottom: 8px; }
.footer-col a:hover { color: var(--gold); }
.footer-col p { color: var(--text-muted); font-size: 14px; margin-bottom: 8px; }
.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid var(--border); font-size: 13px; color: var(--text-muted); }

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
  .main-nav { display: none; }
  .main-nav.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg-secondary); border-bottom: 1px solid var(--border); padding: 16px; z-index: 100; }
  .mobile-menu-btn { display: block; }
  .cyber-text { font-size: 32px; }
  .hero-subtitle { font-size: 16px; letter-spacing: 4px; }
  .hero-desc { font-size: 15px; }
  .detail-grid { grid-template-columns: 1fr; }
  .payment-grid { grid-template-columns: 1fr; }
  .profile-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .bid-info-row { flex-direction: column; gap: 12px; }
  .auction-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
  .category-grid { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 8px; }
  .filter-bar { flex-direction: column; }
  .win-card { flex-direction: column; text-align: center; }
  .win-actions { align-items: center; }
  .card-specs { grid-template-columns: 1fr; }
  .header-inner { padding: 10px 12px; }
  .hero-section { min-height: 50vh; }
}

/* Rarity colors */
.rarity-common { color: #9ca3af; }
.rarity-uncommon { color: #22c55e; }
.rarity-rare { color: #3b82f6; }
.rarity-super.rare, .rarity-super { color: #a855f7; }
.rarity-secret.rare, .rarity-secret { color: var(--gold); text-shadow: 0 0 10px rgba(255, 215, 0, 0.5); }
.rarity-ultra.rare, .rarity-ultra { color: #ec4899; text-shadow: 0 0 10px rgba(236, 72, 153, 0.5); }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: rgba(255, 215, 0, 0.2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255, 215, 0, 0.4); }
