* { -webkit-tap-highlight-color: transparent; box-sizing: border-box; }
:root { --wz: #7c3aed; --wz2: #06b6d4; --wz3: #ec4899; --danger: #ef4444; }
html, body { overflow-x: hidden; margin: 0; }
body { background: #04050d; color: #e5e7eb; font-family: 'Inter', system-ui, sans-serif; min-height: 100vh; position: relative; }

.bg-layer { position: fixed; inset: 0; z-index: -3; overflow: hidden; background: radial-gradient(circle at 20% 20%, rgba(124,58,237,.2), transparent 50%), radial-gradient(circle at 80% 80%, rgba(6,182,212,.15), transparent 50%), radial-gradient(circle at 50% 50%, rgba(236,72,153,.1), transparent 60%), #04050d; }
.bg-layer::before { content:''; position: absolute; inset: -100%; background: repeating-linear-gradient(0deg, transparent, transparent 60px, rgba(255,255,255,.018) 60px, rgba(255,255,255,.018) 61px), repeating-linear-gradient(90deg, transparent, transparent 60px, rgba(255,255,255,.018) 60px, rgba(255,255,255,.018) 61px); animation: gridMove 40s linear infinite; }
@keyframes gridMove { to { transform: translate(60px, 60px); } }

.blob { position: fixed; border-radius: 50%; filter: blur(100px); opacity: .3; z-index: -2; pointer-events: none; }
.blob1 { width: 450px; height: 450px; background: #7c3aed; top: -120px; left: -120px; animation: float1 22s ease-in-out infinite; }
.blob2 { width: 400px; height: 400px; background: #06b6d4; bottom: -120px; right: -120px; animation: float2 26s ease-in-out infinite; }
.blob3 { width: 350px; height: 350px; background: #ec4899; top: 40%; left: 50%; animation: float3 24s ease-in-out infinite; }
@keyframes float1 { 50% { transform: translate(120px, 90px) scale(1.25); } }
@keyframes float2 { 50% { transform: translate(-140px, -70px) scale(1.15); } }
@keyframes float3 { 50% { transform: translate(-90px, 110px) scale(.85); } }

.glass { background: rgba(20, 22, 40, .55); backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%); border: 1px solid rgba(255,255,255,.08); }
.glass-strong { background: rgba(16, 18, 32, .88); backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%); border: 1px solid rgba(255,255,255,.1); }
.glass-soft { background: rgba(255,255,255,.03); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.05); }

.grad { background: linear-gradient(135deg, #7c3aed, #06b6d4); }
.grad-2 { background: linear-gradient(135deg, #7c3aed, #ec4899); }
.grad-danger { background: linear-gradient(135deg, #ef4444, #f59e0b); }
.grad-text { background: linear-gradient(135deg, #a78bfa 0%, #22d3ee 50%, #f472b6 100%); background-size: 200% 200%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: gradShift 6s ease infinite; }
@keyframes gradShift { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

.glow-card { position: relative; background: rgba(20, 22, 40, .55); backdrop-filter: blur(16px); border-radius: 20px; border: 1px solid rgba(255,255,255,.06); transition: all .35s cubic-bezier(.4,0,.2,1); overflow: hidden; }
.glow-card::before { content:''; position: absolute; inset: 0; padding: 1px; border-radius: 20px; background: linear-gradient(135deg, rgba(124,58,237,.6), rgba(6,182,212,.4), rgba(236,72,153,.5)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .35s; pointer-events: none; }
.glow-card:hover::before { opacity: 1; }
.glow-card:hover { transform: translateY(-4px); box-shadow: 0 20px 60px -20px rgba(124,58,237,.6); }
.admin-card { border-color: rgba(239,68,68,.12); }
.admin-card::before { background: linear-gradient(135deg, rgba(239,68,68,.6), rgba(245,158,11,.4), rgba(124,58,237,.5)); }
.admin-card:hover { box-shadow: 0 20px 60px -20px rgba(239,68,68,.6); }

.btn-primary { position: relative; overflow: hidden; background: linear-gradient(135deg, #7c3aed, #06b6d4); transition: all .3s; color: white; font-weight: 700; }
.btn-primary::after { content:''; position: absolute; inset: 0; background: linear-gradient(135deg, #a78bfa, #22d3ee); opacity: 0; transition: opacity .3s; }
.btn-primary:hover::after { opacity: 1; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -10px rgba(124,58,237,.8); }
.btn-primary > * { position: relative; z-index: 1; }

.btn-danger { background: linear-gradient(135deg, #ef4444, #f59e0b); color: white; font-weight: 700; transition: all .3s; }
.btn-danger:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -10px rgba(239,68,68,.8); }
.btn-ghost { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); color: #e5e7eb; transition: all .25s; }
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: rgba(124,58,237,.5); }

.page { display: none; }
.page.active { display: block; animation: pageIn .5s cubic-bezier(.4,0,.2,1); }
@keyframes pageIn { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: none; } }

.spinner { border: 3px solid rgba(255,255,255,.1); border-top-color: #a78bfa; border-right-color: #22d3ee; border-radius: 50%; width: 46px; height: 46px; animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

input, select, textarea { background: rgba(0,0,0,.35) !important; border: 1px solid rgba(255,255,255,.08) !important; color: #e5e7eb !important; transition: all .3s; font-family: inherit; }
input:focus, select:focus, textarea:focus { outline: none; border-color: #7c3aed !important; box-shadow: 0 0 0 4px rgba(124,58,237,.15) !important; background: rgba(0,0,0,.5) !important; }
input::placeholder { color: rgba(156,163,175,.5); }
select option { background: #0b0f19; color: #e5e7eb; }

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: rgba(255,255,255,.02); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #7c3aed, #06b6d4); border-radius: 8px; }

.nav-item { border-left: 3px solid transparent; transition: all .3s; position: relative; text-decoration: none; }
.nav-item.active { background: linear-gradient(90deg, rgba(124,58,237,.25), transparent); border-left-color: #7c3aed; color: #fff; }
.nav-item.active::before { content:''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 3px; height: 60%; background: linear-gradient(180deg, #a78bfa, #22d3ee); border-radius: 2px; box-shadow: 0 0 12px #7c3aed; }
.nav-item:hover { background: rgba(124,58,237,.08); color: #fff; }
.admin-nav.active { background: linear-gradient(90deg, rgba(239,68,68,.25), transparent); border-left-color: #ef4444; }
.admin-nav.active::before { background: linear-gradient(180deg, #f87171, #fbbf24); box-shadow: 0 0 12px #ef4444; }

.pulse-ring { position: relative; }
.pulse-ring::before, .pulse-ring::after { content:''; position: absolute; inset: 0; border-radius: inherit; border: 1px solid #a78bfa; animation: pulseRing 2.5s cubic-bezier(.5,0,0,1) infinite; pointer-events: none; }
.pulse-ring::after { animation-delay: 1.2s; }
@keyframes pulseRing { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.5); opacity: 0; } }

.shimmer { background: linear-gradient(90deg, rgba(255,255,255,.03) 0%, rgba(255,255,255,.08) 50%, rgba(255,255,255,.03) 100%); background-size: 200% 100%; animation: shimmer 1.5s infinite; }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

table { width: 100%; border-collapse: collapse; }
tr.row-hover:hover { background: rgba(124,58,237,.05); }

.badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 10px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; }
.badge-admin { background: linear-gradient(135deg, #ef4444, #f59e0b); color: white; }
.badge-member { background: rgba(124,58,237,.2); color: #c4b5fd; }
.badge-success { background: rgba(16,185,129,.2); color: #6ee7b7; }
.badge-warning { background: rgba(245,158,11,.2); color: #fcd34d; }
.badge-danger { background: rgba(239,68,68,.2); color: #fca5a5; }
.badge-info { background: rgba(59,130,246,.2); color: #93c5fd; }

.dot { width: 6px; height: 6px; border-radius: 50%; background: #a78bfa; animation: dotPulse 1.4s ease-in-out infinite; }
.dot:nth-child(2) { animation-delay: .2s; background: #22d3ee; }
.dot:nth-child(3) { animation-delay: .4s; background: #f472b6; }
@keyframes dotPulse { 0%,100% { transform: scale(.6); opacity: .4; } 50% { transform: scale(1); opacity: 1; } }

.admin-overlay { background: radial-gradient(circle at 30% 20%, rgba(239,68,68,.15), transparent 40%), radial-gradient(circle at 70% 80%, rgba(245,158,11,.12), transparent 40%), #04050d !important; }

.mini-chart { display: flex; align-items: flex-end; gap: 4px; height: 60px; }
.mini-chart .bar { flex: 1; background: linear-gradient(180deg, #7c3aed, #06b6d4); border-radius: 3px 3px 0 0; min-height: 4px; transition: all .5s; }

.ann-banner { background: linear-gradient(135deg, rgba(124,58,237,.15), rgba(6,182,212,.1)); border: 1px solid rgba(124,58,237,.3); border-radius: 16px; padding: 14px 18px; position: relative; overflow: hidden; }
.ann-banner::before { content:''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.05), transparent); animation: annShine 3s infinite; }
@keyframes annShine { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }

.wa-float { position: fixed; bottom: 24px; right: 24px; width: 60px; height: 60px; border-radius: 50%; background: linear-gradient(135deg, #25D366, #128C7E); display: flex; align-items: center; justify-content: center; font-size: 28px; box-shadow: 0 10px 30px -5px rgba(37,211,102,.6); cursor: pointer; z-index: 50; transition: all .3s; }
.wa-float:hover { transform: scale(1.1) rotate(5deg); }

.breadcrumb { font-size: 11px; letter-spacing: .5px; color: rgba(156,163,175,.7); text-transform: uppercase; }

@media (max-width: 640px) { .blob { opacity: .2; } }
.hidden { display: none !important; }