/* ============================================================
   LIMAS GOLD — Premium UI v2.0
   Warna: Deep Navy + Warm Gold (bukan pure black)
   Efek: Glassmorphism · 3D Buttons · Shimmer · Glow
   ============================================================ */

/* ── Variabel Warna ── */
:root {
  --gold:        #FFD700;
  --gold-2:      #FFC200;
  --gold-3:      #FFE55C;
  --gold-dim:    #B8860B;
  --gold-dark:   #7A5800;
  --bronze:      #CD7F32;
  --rose-gold:   #E8A87C;

  /* Background — deep space navy, bukan pure black */
  --bg:          #080618;
  --bg2:         #0f0d1e;
  --bg3:         #160f02;
  --bg-warm:     #12080a;
  --card:        rgba(18,12,3,0.92);
  --glass:       rgba(255,215,0,0.04);
  --glass-2:     rgba(255,215,0,0.08);

  /* Text — warm white, bukan cold white */
  --text:        #F5EDD0;
  --text2:       #A89070;
  --text3:       #5C4E35;

  /* Border */
  --border:      rgba(255,215,0,0.12);
  --border-2:    rgba(255,215,0,0.25);
  --border-3:    rgba(255,215,0,0.06);

  /* Status */
  --success:     #22D37A;
  --error:       #FF5151;
  --warning:     #FFB020;
  --info:        #60A5FA;

  /* Ukuran */
  --radius:      18px;
  --radius-sm:   10px;
  --nav-h:       68px;

  /* Shadow */
  --shadow-gold: 0 0 30px rgba(255,215,0,0.12), 0 0 60px rgba(255,215,0,0.06);
  --shadow-card: 0 24px 64px rgba(0,0,0,0.7), 0 8px 24px rgba(0,0,0,0.4);
  --shadow-btn:  0 6px 0 var(--gold-dark), 0 8px 24px rgba(255,215,0,0.35);
}

/* ── Light mode ── */
[data-theme="light"] {
  --bg:    #FFF8E7;
  --bg2:   #FFFDF5;
  --bg3:   #FFF4D0;
  --card:  rgba(255,253,245,0.95);
  --glass: rgba(184,134,11,0.04);
  --glass-2: rgba(184,134,11,0.08);
  --border: rgba(184,134,11,0.18);
  --border-2: rgba(184,134,11,0.35);
  --border-3: rgba(184,134,11,0.08);
  --text:  #2A1A00;
  --text2: #7A5828;
  --text3: #B8964E;
  --shadow-card: 0 24px 64px rgba(184,134,11,0.15), 0 8px 24px rgba(0,0,0,0.08);
}

/* ── Reset ── */
*,*::before,*::after { box-sizing:border-box; margin:0; padding:0 }
html { font-size:16px; -webkit-text-size-adjust:100%; scroll-behavior:smooth }
body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color:var(--gold); text-decoration:none }
img { max-width:100%; display:block }
button { cursor:pointer; border:none; background:none; font-family:inherit }

/* ── Scrollbar ── */
::-webkit-scrollbar { width:3px }
::-webkit-scrollbar-track { background:var(--bg) }
::-webkit-scrollbar-thumb { background:var(--gold-dim); border-radius:3px }

/* ── Auth background ── */
.auth-page {
  min-height: 100vh;
  padding-bottom: 48px;
  background:
    radial-gradient(ellipse 80% 60% at 10% 10%, rgba(255,200,0,0.09), transparent),
    radial-gradient(ellipse 60% 50% at 90% 80%, rgba(255,160,0,0.07), transparent),
    radial-gradient(ellipse 40% 40% at 50% 50%, rgba(120,60,0,0.04), transparent),
    linear-gradient(160deg, var(--bg) 0%, #140a00 45%, var(--bg) 100%);
  position: relative;
  overflow-x: hidden;
}

/* Floating orbs di background */
.auth-page::before {
  content: '';
  position: fixed;
  top: -20%;
  left: -20%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(255,215,0,0.04) 0%, transparent 70%);
  pointer-events: none;
  animation: floatOrb 8s ease-in-out infinite;
}
.auth-page::after {
  content: '';
  position: fixed;
  bottom: -20%;
  right: -20%;
  width: 50%;
  height: 50%;
  background: radial-gradient(circle, rgba(184,134,11,0.05) 0%, transparent 70%);
  pointer-events: none;
  animation: floatOrb 10s ease-in-out infinite reverse;
}
@keyframes floatOrb {
  0%,100% { transform: translate(0,0) scale(1) }
  50%      { transform: translate(30px,20px) scale(1.1) }
}

/* ── Page wrapper ── */
.page {
  min-height: 100vh;
  padding-bottom: calc(var(--nav-h) + 20px);
  background:
    radial-gradient(ellipse 60% 40% at 80% 10%, rgba(255,200,0,0.05), transparent),
    var(--bg);
}

/* ── Top bar ── */
.top-bar {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 14px 16px;
  position: relative;
  z-index: 10;
}
.top-bar button {
  background: rgba(255,215,0,0.08);
  border: 1px solid var(--border);
  color: var(--text2);
  padding: 7px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
  backdrop-filter: blur(10px);
  transition: all 0.2s;
}
.top-bar button:active { opacity:0.7; transform:scale(0.95) }

/* ── Logo section ── */
.logo-section { text-align:center; padding:24px 16px 20px; position:relative; z-index:1 }
.logo-icon-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 14px;
}
.logo-icon {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, var(--gold-3) 0%, var(--gold) 50%, var(--gold-dim) 100%);
  border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 36px;
  box-shadow: 0 8px 32px rgba(255,215,0,0.4), 0 0 0 2px rgba(255,215,0,0.2), inset 0 1px 0 rgba(255,255,255,0.3);
  position: relative;
  animation: logoFloat 4s ease-in-out infinite;
}
.logo-icon::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 24px;
  background: conic-gradient(from 0deg, var(--gold), transparent 30%, var(--gold-dim), transparent 70%, var(--gold));
  z-index: -1;
  opacity: 0.4;
  animation: rotateBorder 4s linear infinite;
}
@keyframes logoFloat {
  0%,100% { transform: translateY(0) }
  50%      { transform: translateY(-6px) }
}
@keyframes rotateBorder {
  to { transform: rotate(360deg) }
}
.logo-section h1 {
  color: var(--gold);
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 4px;
  text-shadow: 0 0 40px rgba(255,215,0,0.5), 0 2px 4px rgba(0,0,0,0.5);
}
.logo-section p { color:var(--text2); font-size:13px; margin-top:5px; letter-spacing:0.5px }

/* ── Banner Slider ── */
.banner-slider {
  position: relative;
  overflow: hidden;
  height: 180px;
  margin: 0 0 8px;
}
.banner-slider .slide {
  position: absolute; inset: 0;
  transition: opacity 0.7s ease;
  opacity: 0;
}
.banner-slider .slide.active { opacity:1 }
.banner-slider img { width:100%; height:100%; object-fit:cover }
.banner-slider .slide-placeholder {
  width:100%; height:100%;
  background: linear-gradient(135deg, #1a1000, #2d1f00, #1a1000);
  display: flex; align-items:center; justify-content:center;
  color: var(--gold); font-size:22px; font-weight:800; letter-spacing:3px;
}
.banner-dots {
  position: absolute; bottom:10px; left:50%;
  transform: translateX(-50%);
  display: flex; gap:6px;
}
.banner-dots span {
  width:7px; height:7px; border-radius:50%;
  background: rgba(255,255,255,.25);
  transition: all 0.3s;
}
.banner-dots span.active {
  background:var(--gold); width:22px; border-radius:4px;
  box-shadow: 0 0 8px var(--gold);
}

/* ── Auth Card (Glassmorphism) ── */
.auth-card {
  margin: 0 16px;
  background: linear-gradient(135deg, rgba(255,215,0,0.06) 0%, rgba(180,120,0,0.03) 100%);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border);
  border-top: 1px solid var(--border-2);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow:
    var(--shadow-card),
    inset 0 1px 0 rgba(255,215,0,0.15),
    0 0 0 1px rgba(0,0,0,0.3);
  position: relative;
  overflow: hidden;
}
.auth-card::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 100%; height: 80%;
  background: radial-gradient(ellipse, rgba(255,215,0,0.04) 0%, transparent 70%);
  pointer-events: none;
}
.auth-card h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 22px;
  letter-spacing: 0.5px;
}

/* ── Form Fields ── */
.field { margin-bottom: 14px }
.field label {
  display: block;
  font-size: 12px;
  color: var(--text2);
  margin-bottom: 7px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.input-wrap { position: relative }
.input-wrap input {
  width: 100%;
  padding: 14px 16px;
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 15px;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
  -webkit-appearance: none;
}
.input-wrap input::placeholder { color:var(--text3) }
.input-wrap input:focus {
  border-color: var(--gold);
  background: rgba(255,215,0,0.04);
  box-shadow: 0 0 0 3px rgba(255,215,0,0.1), 0 0 20px rgba(255,215,0,0.08);
}
/* Eye toggle button */
.eye-btn {
  position: absolute;
  right: 14px; top: 50%;
  transform: translateY(-50%);
  color: var(--text3);
  padding: 4px;
  transition: color 0.2s;
  line-height: 0;
}
.eye-btn:hover { color:var(--gold) }
.eye-btn svg { width:20px; height:20px }
.input-wrap input[type=password],
.input-wrap input[type=text] { padding-right: 44px }

/* ── Checkbox ── */
.checkbox-row {
  display: flex; align-items:flex-start; gap:10px;
  margin-bottom: 20px;
}
.checkbox-row input[type=checkbox] {
  width:18px; height:18px;
  accent-color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}
.checkbox-row label { font-size:13px; color:var(--text2); line-height:1.5 }

/* ── 3D BUTTONS ── */
.btn-gold {
  width: 100%;
  padding: 16px;
  background: linear-gradient(180deg, var(--gold-3) 0%, var(--gold) 40%, #D4A017 100%);
  color: #1A0E00;
  font-size: 16px;
  font-weight: 800;
  border-radius: var(--radius-sm);
  letter-spacing: 0.5px;
  transition: transform 0.1s cubic-bezier(.2,.8,.3,1), box-shadow 0.1s;
  box-shadow: var(--shadow-btn);
  position: relative;
  overflow: hidden;
}
.btn-gold::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.25) 0%, transparent 60%);
  border-radius: inherit;
  pointer-events: none;
}
.btn-gold::after {
  content: '';
  position: absolute;
  top: -100%; left: -100%;
  width: 50%; height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: rotate(20deg);
  transition: left 0.5s;
}
.btn-gold:hover::after { left:150% }
.btn-gold:active {
  transform: translateY(4px);
  box-shadow: 0 2px 0 var(--gold-dark), 0 4px 12px rgba(255,215,0,0.25);
}
.btn-gold:disabled { opacity:0.5; cursor:not-allowed; transform:none }

.btn-outline {
  width: 100%;
  padding: 14px;
  background: transparent;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  font-size: 15px; font-weight: 700;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  box-shadow: inset 0 0 0 0 rgba(255,215,0,0.1);
}
.btn-outline:active { background:rgba(255,215,0,0.1) }

.btn-sm { padding:9px 18px; font-size:13px; font-weight:700; border-radius:8px; width:auto }
.btn-danger { background:linear-gradient(180deg,#FF7070,var(--error)); color:#fff; box-shadow:0 4px 0 #8B0000,0 6px 16px rgba(255,81,81,.3) }
.btn-danger:active { transform:translateY(3px); box-shadow:0 1px 0 #8B0000 }
.btn-success { background:linear-gradient(180deg,#4AEA8E,var(--success)); color:#003B1F; box-shadow:0 4px 0 #0A5C30,0 6px 16px rgba(34,211,122,.3) }

/* ── Link row ── */
.link-row { text-align:center; margin-top:18px; font-size:13px; color:var(--text2) }
.link-row a { color:var(--gold); font-weight:700 }

/* ── Stats bar ── */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1px;
  background: var(--border-3);
  margin: 16px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-3);
}
.stat-item {
  background: var(--glass);
  backdrop-filter: blur(10px);
  padding: 16px 8px;
  text-align: center;
}
.stat-num {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: var(--gold);
  text-shadow: 0 0 20px rgba(255,215,0,0.4);
}
.stat-label { display:block; font-size:10px; color:var(--text3); margin-top:4px; letter-spacing:0.3px }

/* ── Messages ── */
.msg {
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  font-size:13px;
  margin-bottom: 16px;
  display: flex; align-items:flex-start; gap:9px;
  line-height: 1.5;
}
.msg.err {
  background: rgba(255,81,81,0.08);
  border: 1px solid rgba(255,81,81,0.25);
  color: #FFB3B3;
}
.msg.ok {
  background: rgba(34,211,122,0.08);
  border: 1px solid rgba(34,211,122,0.25);
  color: #86EFAC;
}

/* ── Bottom Navigation ── */
.bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(8,6,24,0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(5,1fr);
  z-index: 100;
  box-shadow: 0 -8px 32px rgba(0,0,0,0.5), 0 -1px 0 rgba(255,215,0,0.08);
}
[data-theme="light"] .bottom-nav { background:rgba(255,253,245,0.95) }
.nav-item {
  display: flex; flex-direction:column;
  align-items:center; justify-content:center;
  gap: 4px; color:var(--text3); font-size:10px;
  transition: all 0.2s;
  text-decoration: none;
  position: relative;
  font-weight: 600;
}
.nav-item.active { color:var(--gold) }
.nav-item.active::before {
  content: '';
  position: absolute;
  top: 0; left: 20%; right: 20%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  border-radius: 0 0 4px 4px;
}
.nav-item svg { width:22px; height:22px; stroke:currentColor; fill:none; stroke-width:1.8 }
.nav-item.active svg { stroke:var(--gold); filter:drop-shadow(0 0 6px rgba(255,215,0,0.5)) }
.nav-center {
  background: linear-gradient(135deg, var(--gold-3), var(--gold), var(--gold-dim));
  border-radius: 50%;
  width: 52px; height: 52px;
  margin-top: -22px;
  box-shadow: 0 4px 20px rgba(255,215,0,0.5), 0 0 0 3px rgba(255,215,0,0.15), inset 0 1px 0 rgba(255,255,255,0.3);
  display: flex; align-items:center; justify-content:center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.nav-center:active { transform:scale(0.93) }
.nav-center svg { width:26px; height:26px; stroke:#1A0E00; fill:none; stroke-width:2 }

/* ── Cards ── */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}
.card::before {
  content:'';
  position:absolute;
  top:0; left:0; right:0; height:1px;
  background: linear-gradient(90deg, transparent, var(--border-2), transparent);
}

/* ── 3D MEMBER CARD ── */
.member-card {
  background: linear-gradient(135deg, #180E00 0%, #2C1A00 40%, #180E00 70%, #201000 100%);
  border-radius: 20px;
  padding: 22px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,215,0,0.2);
  box-shadow:
    0 20px 60px rgba(0,0,0,0.7),
    0 0 0 1px rgba(255,215,0,0.08),
    inset 0 1px 0 rgba(255,215,0,0.2),
    inset 0 -1px 0 rgba(0,0,0,0.5);
  transform-style: preserve-3d;
}
/* Holographic shimmer */
.member-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(45deg,
      transparent,
      transparent 2px,
      rgba(255,215,0,0.015) 2px,
      rgba(255,215,0,0.015) 4px
    );
  pointer-events: none;
}
/* Moving shine */
.member-card::after {
  content: '';
  position: absolute;
  top: -100%; left: -100%;
  width: 60%; height: 200%;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.06) 50%, transparent 100%);
  transform: rotate(25deg);
  animation: cardShine 5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes cardShine {
  0%   { transform: translateX(-200%) rotate(25deg) }
  60%  { transform: translateX(500%) rotate(25deg) }
  100% { transform: translateX(500%) rotate(25deg) }
}
/* Dekoratif lingkaran */
.member-card .deco-circle {
  position: absolute;
  width: 180px; height: 180px;
  border-radius: 50%;
  border: 1px solid rgba(255,215,0,0.06);
  top: -60px; right: -40px;
  pointer-events: none;
}
.member-card .deco-circle-2 {
  width: 120px; height: 120px;
  border-radius: 50%;
  border: 1px solid rgba(255,215,0,0.04);
  position: absolute;
  bottom: -30px; left: -20px;
  pointer-events: none;
}
.member-card .avatar {
  width: 50px; height: 50px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  object-fit: cover;
  box-shadow: 0 0 12px rgba(255,215,0,0.3);
}
.member-card .name { font-size:17px; font-weight:800; color:var(--text) }
.member-card .member-id { font-size:11px; color:var(--text3); margin-top:2px; letter-spacing:1px }
.member-card .balance-label { font-size:11px; color:var(--text2); margin-bottom:3px; text-transform:uppercase; letter-spacing:1px }
.member-card .balance-val {
  font-size: 28px;
  font-weight: 900;
  color: var(--gold);
  text-shadow: 0 0 20px rgba(255,215,0,0.4);
  letter-spacing: 1px;
}

/* ── VIP Badge ── */
.vip-badge {
  display: inline-flex; align-items:center; gap:5px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px; font-weight: 800;
  background: rgba(255,215,0,0.1);
  color: var(--gold);
  border: 1px solid rgba(255,215,0,0.25);
  text-shadow: 0 0 10px rgba(255,215,0,0.5);
  box-shadow: 0 0 12px rgba(255,215,0,0.1);
}

/* ── Progress bar ── */
.progress-bar {
  background: rgba(255,255,255,0.06);
  border-radius: 6px; height:7px; overflow:hidden;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dim), var(--gold), var(--gold-3));
  border-radius: 6px;
  transition: width 0.8s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 0 8px rgba(255,215,0,0.5);
  position: relative;
  overflow: hidden;
}
.progress-fill::after {
  content:'';
  position:absolute; inset:0;
  background:linear-gradient(90deg,transparent 0%,rgba(255,255,255,0.25) 50%,transparent 100%);
  animation:progressShine 2s ease infinite;
}
@keyframes progressShine {
  from { transform:translateX(-100%) }
  to   { transform:translateX(200%) }
}

/* ── Menu Grid ── */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 10px; padding: 0 16px;
}
.menu-item {
  background: var(--glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-3);
  border-radius: 14px;
  padding: 16px 8px;
  display: flex; flex-direction:column;
  align-items:center; gap:7px;
  font-size: 11px; font-weight:600;
  color: var(--text2);
  text-align: center; text-decoration:none;
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
}
.menu-item:active {
  background: rgba(255,215,0,0.08);
  transform: scale(0.95);
  border-color: var(--border);
}
.menu-item svg {
  width:26px; height:26px;
  stroke: var(--gold); fill:none; stroke-width:1.6;
  filter: drop-shadow(0 0 6px rgba(255,215,0,0.3));
}

/* ── Section title ── */
.section-title {
  font-size:13px; font-weight:800; color:var(--text);
  padding: 16px 16px 8px;
  letter-spacing: 1px; text-transform:uppercase;
  display:flex; align-items:center; gap:8px;
}
.section-title::before {
  content:'';
  display:block; width:3px; height:16px;
  background:linear-gradient(180deg,var(--gold),var(--gold-dim));
  border-radius:2px;
}

/* ── Loading screen ── */
.loading-screen {
  position: fixed; inset:0;
  background:
    radial-gradient(ellipse at center, #1a1000 0%, #080618 100%);
  z-index: 9999;
  display: flex; flex-direction:column;
  align-items:center; justify-content:center; gap:24px;
  transition: opacity 0.6s, transform 0.6s;
}
.loading-screen.hide { opacity:0; transform:scale(1.05); pointer-events:none }
.loading-logo {
  font-size: 32px; font-weight:900;
  color: var(--gold); letter-spacing:5px;
  text-shadow: 0 0 40px rgba(255,215,0,0.6);
}
.loading-sub { font-size:12px; color:var(--text3); letter-spacing:3px }
.spinner-gold {
  width:44px; height:44px;
  border-radius:50%;
  border: 3px solid rgba(255,215,0,0.1);
  border-top-color: var(--gold);
  border-right-color: rgba(255,215,0,0.4);
  animation: spin 0.8s cubic-bezier(.4,0,.6,1) infinite;
  box-shadow: 0 0 20px rgba(255,215,0,0.2);
}
@keyframes spin { to { transform:rotate(360deg) } }

/* ── Toast ── */
.toast-container {
  position:fixed; top:16px; left:50%; transform:translateX(-50%);
  z-index:9998; display:flex; flex-direction:column; gap:8px;
  width:calc(100% - 32px); max-width:380px;
}
.toast {
  padding:13px 18px; border-radius:12px; font-size:13px; font-weight:600;
  text-align:center; animation:toastIn .3s ease;
  backdrop-filter:blur(20px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.toast.success { background:rgba(34,211,122,0.15); color:#86EFAC; border:1px solid rgba(34,211,122,0.25) }
.toast.error   { background:rgba(255,81,81,0.15);  color:#FCA5A5; border:1px solid rgba(255,81,81,0.25) }
@keyframes toastIn { from{opacity:0;transform:translateY(-10px)} to{opacity:1;transform:translateY(0)} }

/* ── ADMIN PANEL ── */
.admin-body { background:#0a0814; min-height:100vh; font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif }
.admin-header {
  background: linear-gradient(135deg, #12080a, #1a1000, #0f0d1e);
  border-bottom:1px solid rgba(255,215,0,0.12);
  padding:16px 20px;
  display:flex; align-items:center; justify-content:space-between;
  box-shadow: 0 4px 24px rgba(0,0,0,0.5);
}
.admin-header .logo { color:var(--gold); font-size:18px; font-weight:900; letter-spacing:2px; text-shadow:0 0 20px rgba(255,215,0,0.3) }
.admin-header .user-info { color:var(--text2); font-size:13px; display:flex; align-items:center; gap:12px }
.admin-nav { display:flex; gap:4px; padding:12px 16px; background:rgba(8,6,24,0.9); flex-wrap:wrap; border-bottom:1px solid rgba(255,215,0,0.08); backdrop-filter:blur(10px) }
.admin-nav a { padding:7px 14px; border-radius:8px; font-size:13px; color:var(--text2); text-decoration:none; transition:.2s; font-weight:600 }
.admin-nav a:hover,.admin-nav a.active { background:rgba(255,215,0,0.1); color:var(--gold) }
.admin-content { padding:20px; max-width:1200px; margin:0 auto }
.admin-card {
  background: var(--card);
  border:1px solid var(--border);
  border-radius:14px; padding:20px; margin-bottom:16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.admin-card h3 {
  font-size:14px; font-weight:800; color:var(--gold);
  margin-bottom:16px; padding-bottom:12px;
  border-bottom:1px solid var(--border);
  letter-spacing:0.5px; text-transform:uppercase;
}
.stat-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:12px }
@media(min-width:600px){.stat-grid{grid-template-columns:repeat(4,1fr)}}
.stat-box {
  background: linear-gradient(135deg, rgba(255,215,0,0.04), rgba(180,120,0,0.02));
  border:1px solid var(--border-3);
  border-radius:12px; padding:18px; text-align:center;
  transition:.2s;
}
.stat-box:hover { border-color:var(--border); box-shadow:0 4px 16px rgba(0,0,0,0.3) }
.stat-box .val { font-size:22px; font-weight:900; color:var(--gold); display:block; text-shadow:0 0 20px rgba(255,215,0,0.3) }
.stat-box .lbl { font-size:11px; color:var(--text3); margin-top:5px; display:block; letter-spacing:0.5px }
.table-wrap { overflow-x:auto }
table { width:100%; border-collapse:collapse; font-size:13px }
th { background:rgba(255,215,0,0.04); color:var(--text2); font-weight:700; padding:11px 14px; text-align:left; white-space:nowrap; text-transform:uppercase; font-size:11px; letter-spacing:0.5px }
td { padding:11px 14px; border-bottom:1px solid rgba(255,255,255,0.03); color:var(--text); vertical-align:middle }
tr:hover td { background:rgba(255,215,0,0.02) }
.badge { display:inline-block; padding:4px 10px; border-radius:7px; font-size:11px; font-weight:700; letter-spacing:0.3px }
.badge-pending  { background:rgba(255,176,32,.12);  color:#FFB020 }
.badge-approved { background:rgba(34,211,122,.12);  color:#22D37A }
.badge-rejected { background:rgba(255,81,81,.12);   color:#FF5151 }
.admin-input {
  width:100%; padding:11px 14px;
  background:rgba(0,0,0,0.3);
  border:1px solid var(--border);
  border-radius:8px; color:var(--text); font-size:14px; outline:none;
  transition:.2s;
}
.admin-input:focus { border-color:var(--gold); box-shadow:0 0 0 3px rgba(255,215,0,0.08) }

/* ── Utility ── */
.px-4{padding-left:16px;padding-right:16px}
.mt-4{margin-top:16px} .mb-4{margin-bottom:16px}
.text-gold{color:var(--gold)} .text-muted{color:var(--text2)}
.text-small{font-size:12px} .text-center{text-align:center}
.flex{display:flex} .flex-between{display:flex;justify-content:space-between;align-items:center}
.gap-2{gap:8px} .w-full{width:100%}

/* ── Animasi tambahan ── */
@keyframes pulse-gold {
  0%,100% { box-shadow:0 0 0 0 rgba(255,215,0,0.3) }
  50%      { box-shadow:0 0 0 10px rgba(255,215,0,0) }
}
.pulse { animation:pulse-gold 2s ease infinite }

@keyframes slideUp {
  from { opacity:0; transform:translateY(20px) }
  to   { opacity:1; transform:translateY(0) }
}
.slide-up { animation:slideUp 0.4s ease forwards }

/* ============================================================
   Limas Gold — 3D Bottom Navigation Upgrade
   Fokus: 5 navigasi bawah lebih premium, depth, glow, dan tap feel
   ============================================================ */
.bottom-nav{
  height:78px;
  padding:8px 10px 10px;
  background:
    radial-gradient(circle at 50% -20%, rgba(255,215,0,.18), transparent 42%),
    linear-gradient(180deg, rgba(18,13,32,.94), rgba(6,5,18,.98));
  border-top:1px solid rgba(255,215,0,.22);
  box-shadow:0 -22px 55px rgba(0,0,0,.72), inset 0 1px 0 rgba(255,255,255,.05), 0 -1px 0 rgba(255,215,0,.16);
  perspective:900px;
}
[data-theme="light"] .bottom-nav{
  background:linear-gradient(180deg, rgba(255,253,245,.96), rgba(255,244,208,.98));
}
.nav-item{
  margin:0 3px;
  border-radius:18px;
  transform-style:preserve-3d;
  isolation:isolate;
  color:rgba(245,237,208,.54);
}
.nav-item::after{
  content:'';
  position:absolute;
  inset:7px 5px 8px;
  border-radius:16px;
  background:linear-gradient(145deg, rgba(255,215,0,.08), rgba(255,215,0,.015));
  border:1px solid rgba(255,215,0,.07);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04), 0 10px 18px rgba(0,0,0,.22);
  opacity:0;
  z-index:-1;
  transition:.22s ease;
}
.nav-item.active::after,
.nav-item:active::after{opacity:1}
.nav-item.active::before{
  top:6px;left:28%;right:28%;height:3px;
  background:linear-gradient(90deg, transparent, #fff3a4, var(--gold), transparent);
  box-shadow:0 0 14px rgba(255,215,0,.75);
}
.nav-item svg{
  width:23px;height:23px;
  transform:translateZ(18px);
  filter:drop-shadow(0 8px 10px rgba(0,0,0,.35));
}
.nav-item.active svg{filter:drop-shadow(0 0 9px rgba(255,215,0,.78)) drop-shadow(0 10px 12px rgba(0,0,0,.35))}
.nav-item:active{transform:translateY(2px) scale(.96)}
.nav-center{
  width:58px;height:58px;margin-top:-30px;
  background:radial-gradient(circle at 30% 18%, #fff8bd 0 12%, var(--gold-3) 22%, var(--gold) 48%, var(--gold-dim) 100%);
  border:1px solid rgba(255,255,255,.32);
  box-shadow:0 13px 0 #7A5800, 0 20px 35px rgba(255,215,0,.38), 0 0 0 6px rgba(255,215,0,.12), inset 0 2px 2px rgba(255,255,255,.55), inset 0 -8px 12px rgba(122,88,0,.38);
  position:relative;
  overflow:hidden;
}
.nav-center::before{
  content:'';position:absolute;inset:-40% -25%;
  background:linear-gradient(105deg, transparent 35%, rgba(255,255,255,.55) 48%, transparent 60%);
  animation:navCenterShine 3.8s ease-in-out infinite;
}
@keyframes navCenterShine{0%,55%{transform:translateX(-80%) rotate(8deg)}80%,100%{transform:translateX(95%) rotate(8deg)}}
.nav-center:active{transform:translateY(8px) scale(.95);box-shadow:0 5px 0 #7A5800, 0 14px 26px rgba(255,215,0,.3), 0 0 0 5px rgba(255,215,0,.11), inset 0 2px 2px rgba(255,255,255,.5)}

/* ============================================================
   Limas Gold — Team/Referral 3D Premium Upgrade
   Halaman: /user/team.php
   ============================================================ */
.team-page{
  background:
    radial-gradient(circle at 50% 0%, rgba(255,215,0,.11), transparent 30%),
    radial-gradient(circle at 100% 35%, rgba(120,85,255,.12), transparent 28%),
    linear-gradient(180deg,#070513 0%,#03020a 100%);
  padding-bottom:104px;
  overflow-x:hidden;
}
.team-topbar{
  position:sticky;top:0;z-index:90;text-align:center;padding:18px 16px 16px;
  background:linear-gradient(180deg,rgba(12,9,27,.96),rgba(8,6,21,.88));
  border-bottom:1px solid rgba(255,215,0,.15);
  box-shadow:0 14px 28px rgba(0,0,0,.38);
  backdrop-filter:blur(18px);
  overflow:hidden;
}
.team-topbar h2{font-size:17px;font-weight:900;color:#fff3b7;text-shadow:0 0 18px rgba(255,215,0,.35)}
.team-topbar p{font-size:11px;color:rgba(235,223,190,.6);margin-top:3px}
.team-topbar-orb{position:absolute;left:50%;top:-30px;width:150px;height:70px;transform:translateX(-50%);background:radial-gradient(circle,rgba(255,215,0,.34),transparent 67%);filter:blur(8px)}
.team-wrap{padding:18px 16px 4px;max-width:560px;margin:0 auto;perspective:1000px}
.team-hero-3d,.team-3d-card,.rebate-panel{
  position:relative;border:1px solid rgba(255,215,0,.18);border-radius:26px;padding:20px;
  background:linear-gradient(145deg,rgba(34,24,4,.78),rgba(10,6,2,.92) 58%,rgba(9,7,20,.94));
  box-shadow:0 22px 45px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.08), inset 0 -12px 28px rgba(0,0,0,.38);
  transform-style:preserve-3d;overflow:hidden;
}
.team-hero-3d{margin-bottom:14px;min-height:190px;transform:rotateX(2deg);}
.team-hero-3d::before,.team-3d-card::before,.rebate-panel::before{
  content:'';position:absolute;inset:-1px;border-radius:inherit;padding:1px;
  background:linear-gradient(135deg,rgba(255,245,170,.75),rgba(255,215,0,.05),rgba(122,90,0,.38));
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;pointer-events:none;
}
.team-hero-3d::after{content:'';position:absolute;inset:-45% -60%;background:linear-gradient(110deg,transparent 40%,rgba(255,255,255,.20) 49%,transparent 59%);animation:teamShine 5s ease-in-out infinite}
@keyframes teamShine{0%,48%{transform:translateX(-60%) rotate(12deg)}78%,100%{transform:translateX(65%) rotate(12deg)}}
.team-hero-glass{position:absolute;right:-46px;top:-40px;width:155px;height:155px;border-radius:50%;background:radial-gradient(circle at 35% 30%,rgba(255,255,255,.35),rgba(255,215,0,.18) 28%,transparent 66%);filter:blur(.2px)}
.team-hero-label{font-size:12px;color:rgba(242,224,184,.66);font-weight:700;position:relative;z-index:2}
.team-ref-code{position:relative;z-index:2;margin:8px 0;font-size:34px;line-height:1;font-weight:1000;letter-spacing:5px;color:#ffe146;text-shadow:0 2px 0 #8a6500,0 0 24px rgba(255,215,0,.55)}
.team-ref-link{position:relative;z-index:2;max-width:100%;word-break:break-all;color:rgba(226,210,180,.48);font-size:12px;margin-bottom:16px}
.team-copy-btn{position:relative;z-index:3;border:0;border-radius:17px;padding:13px 18px;min-width:220px;background:linear-gradient(180deg,#fff49d,#ffd22b 52%,#b88700);color:#120b00;font-size:14px;font-weight:900;box-shadow:0 9px 0 #7b5900,0 18px 24px rgba(255,215,0,.24),inset 0 2px 0 rgba(255,255,255,.62);transition:.18s;display:flex;align-items:center;justify-content:center;gap:8px}
.team-copy-btn:active{transform:translateY(7px);box-shadow:0 3px 0 #7b5900,0 9px 16px rgba(255,215,0,.2)}
.team-stat-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-bottom:14px}
.team-stat-card{position:relative;min-height:104px;padding:15px 10px;border-radius:22px;background:linear-gradient(150deg,rgba(29,22,8,.92),rgba(8,5,2,.95));border:1px solid rgba(255,215,0,.13);text-align:center;overflow:hidden;box-shadow:0 16px 28px rgba(0,0,0,.42),inset 0 1px 0 rgba(255,255,255,.06);transform:translateZ(0);transition:.22s}
.team-stat-card::before{content:'';position:absolute;left:12%;right:12%;top:-20px;height:38px;border-radius:50%;background:radial-gradient(circle,rgba(255,215,0,.32),transparent 70%);filter:blur(8px)}
.team-stat-card:active{transform:translateY(3px) scale(.97)}
.team-stat-card .stat-icon{font-size:20px;filter:drop-shadow(0 7px 8px rgba(0,0,0,.45));margin-bottom:5px}
.team-stat-card strong{display:block;color:#ffe03b;font-size:23px;font-weight:1000;text-shadow:0 0 18px rgba(255,215,0,.45)}
.team-stat-card span{display:block;font-size:11px;color:rgba(235,220,190,.62);font-weight:700;margin-top:3px}.team-stat-card.active-members strong{color:#34d399}.team-stat-card.deposit strong,.team-stat-card.product strong{font-size:15px}
.team-3d-card{margin-bottom:14px;padding:17px 16px}.team-section-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.team-section-head b{display:block;color:#ffe15a;font-size:14px}.team-section-head small{display:block;color:rgba(230,215,190,.52);font-size:10px;margin-top:3px}.team-section-head>span{min-width:35px;text-align:center;padding:6px 9px;border-radius:12px;background:rgba(255,215,0,.12);border:1px solid rgba(255,215,0,.16);color:#ffe45e;font-weight:900;font-size:12px;box-shadow:inset 0 1px 0 rgba(255,255,255,.08)}
.rabat-row{display:grid;grid-template-columns:36px 1fr auto;gap:10px;align-items:center;padding:11px 0;border-bottom:1px solid rgba(255,215,0,.08)}.rabat-row:last-child{border-bottom:0}.rabat-level{height:28px;border-radius:10px;display:flex;align-items:center;justify-content:center;background:linear-gradient(145deg,rgba(255,215,0,.22),rgba(255,215,0,.05));border:1px solid rgba(255,215,0,.17);font-size:11px;font-weight:1000;color:#ffe669}.rabat-name{font-size:13px;color:rgba(235,220,200,.72)}.rabat-row b{color:#ffe033;font-size:14px}
.member-row-3d,.rebate-history-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 0;border-bottom:1px solid rgba(255,215,0,.08)}.member-row-3d:last-child,.rebate-history-row:last-child{border-bottom:0}.member-avatar,.rebate-bubble{width:40px;height:40px;border-radius:15px;display:flex;align-items:center;justify-content:center;background:linear-gradient(145deg,#ffe765,#b98400);color:#130b00;font-weight:1000;box-shadow:0 8px 0 #765500,0 14px 20px rgba(255,215,0,.18),inset 0 2px 0 rgba(255,255,255,.55)}.member-info{flex:1}.member-info b,.rebate-left b{font-size:13px;color:#fff1c5}.member-info small,.rebate-left small,.rebate-right small{display:block;font-size:10px;color:rgba(230,215,190,.5);margin-top:2px}.member-badge{font-size:10px;font-weight:900;padding:6px 9px;border-radius:999px}.member-badge.on{background:rgba(52,211,153,.14);color:#4ade80;border:1px solid rgba(52,211,153,.22)}.member-badge.off{background:rgba(148,163,184,.11);color:rgba(226,232,240,.55);border:1px solid rgba(148,163,184,.15)}
.rebate-tabs-3d{margin-bottom:18px}.rebate-tabs-3d>input{display:none}.rebate-tab-buttons{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:12px;padding:5px;border-radius:20px;background:rgba(255,215,0,.06);border:1px solid rgba(255,215,0,.10);box-shadow:inset 0 1px 10px rgba(0,0,0,.35)}.rebate-tab-buttons label{text-align:center;padding:12px 8px;border-radius:16px;color:rgba(235,224,205,.56);font-size:11px;font-weight:900;transition:.22s;box-shadow:inset 0 1px 0 rgba(255,255,255,.03)}#tabDeposit:checked~.rebate-tab-buttons label[for="tabDeposit"],#tabProduct:checked~.rebate-tab-buttons label[for="tabProduct"]{background:linear-gradient(180deg,#fff49a,#ffd52f 58%,#b98900);color:#130b00;box-shadow:0 8px 0 #755400,0 15px 20px rgba(255,215,0,.2),inset 0 2px 0 rgba(255,255,255,.6);transform:translateY(-4px)}.rebate-panel{display:none;padding:15px 14px}.rebate-deposit-panel{display:block}#tabProduct:checked~.rebate-deposit-panel{display:none}#tabProduct:checked~.rebate-product-panel{display:block}.rebate-left{display:flex;align-items:center;gap:10px;min-width:0}.rebate-left>div:last-child{min-width:0}.rebate-left b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:150px}.rebate-right{text-align:right}.rebate-right b{display:block;font-size:13px;color:#ffe033;text-shadow:0 0 12px rgba(255,215,0,.35)}.product-row .rebate-bubble{background:linear-gradient(145deg,#d5c7ff,#7c5cff);box-shadow:0 8px 0 #45328f,0 14px 20px rgba(124,92,255,.20),inset 0 2px 0 rgba(255,255,255,.55);color:#fff}.empty-3d{text-align:center;padding:24px 12px;border-radius:18px;background:rgba(255,215,0,.045);border:1px dashed rgba(255,215,0,.16);color:rgba(235,220,190,.55);font-size:12px;font-weight:700}
.team-nav-boost .nav-item.active{animation:teamNavPulse 2.2s ease-in-out infinite}.team-nav-boost .nav-item.active::after{background:linear-gradient(145deg,rgba(255,215,0,.22),rgba(255,215,0,.05));box-shadow:0 13px 25px rgba(255,215,0,.16),inset 0 1px 0 rgba(255,255,255,.1)}@keyframes teamNavPulse{0%,100%{filter:drop-shadow(0 0 0 rgba(255,215,0,0))}50%{filter:drop-shadow(0 0 12px rgba(255,215,0,.55))}}
@media(max-width:370px){.team-wrap{padding-left:12px;padding-right:12px}.team-ref-code{font-size:29px}.team-copy-btn{min-width:190px}.team-stat-grid{gap:9px}.rebate-tab-buttons label{font-size:10px;padding-left:4px;padding-right:4px}}

/* ============================================================
   PROFILE ROYAL 3D UPGRADE — Limas Gold
   ============================================================ */
.profile-royal-page{
  background:
    radial-gradient(circle at 50% -5%, rgba(255,215,0,.16), transparent 34%),
    radial-gradient(circle at 12% 35%, rgba(255,181,0,.08), transparent 28%),
    radial-gradient(circle at 90% 75%, rgba(255,215,0,.06), transparent 32%),
    linear-gradient(180deg,#070414 0%,#0c0718 48%,#070414 100%);
}
.profile-royal-hero{
  position:relative; overflow:hidden; text-align:center;
  padding:38px 18px 34px;
  background:
    linear-gradient(135deg,rgba(34,25,0,.92),rgba(7,5,16,.52)),
    radial-gradient(circle at 50% 0%,rgba(255,215,0,.24),transparent 46%);
  border-bottom:1px solid rgba(255,215,0,.16);
  box-shadow:inset 0 -24px 50px rgba(0,0,0,.45);
}
.profile-royal-hero:before{
  content:""; position:absolute; inset:-40%; opacity:.28;
  background:linear-gradient(115deg,transparent 0 42%,rgba(255,255,255,.16) 48%,transparent 56%);
  animation:profileSweep 5.4s ease-in-out infinite;
}
.profile-particles:before,.profile-particles:after{
  content:""; position:absolute; width:160px; height:160px; border-radius:50%; filter:blur(2px);
  background:radial-gradient(circle,rgba(255,215,0,.22),transparent 62%);
  animation:profileFloat 5s ease-in-out infinite;
}
.profile-particles:before{left:-56px;top:20px}.profile-particles:after{right:-62px;bottom:-44px;animation-delay:-2s}
.profile-crown{position:relative; z-index:1; color:var(--gold); font-size:24px; text-shadow:0 0 22px rgba(255,215,0,.75); margin-bottom:6px; animation:profilePulse 2.6s ease-in-out infinite}
.profile-avatar-3d{
  position:relative; z-index:1; width:96px; height:96px; margin:0 auto 14px; border-radius:50%;
  display:grid; place-items:center;
  background:radial-gradient(circle at 35% 25%,#fff4a6 0,#ffd700 22%,#b8860b 58%,#241400 100%);
  box-shadow:0 16px 0 #6d4e00,0 24px 48px rgba(0,0,0,.62),0 0 46px rgba(255,215,0,.55),inset 0 4px 10px rgba(255,255,255,.55);
  transform-style:preserve-3d; animation:avatarLevitate 3.2s ease-in-out infinite;
}
.profile-avatar-3d:before{content:"";position:absolute;inset:-9px;border-radius:50%;border:3px solid rgba(255,215,0,.8);box-shadow:0 0 24px rgba(255,215,0,.42);animation:rotateBorder 7s linear infinite}
.profile-avatar-3d span{font-size:42px;font-weight:1000;color:#120800;text-shadow:0 1px 0 rgba(255,255,255,.45)}
.profile-royal-hero h1{position:relative;z-index:1;font-size:24px;line-height:1.15;font-weight:900;color:#fff7da;text-shadow:0 0 22px rgba(255,215,0,.26)}
.profile-id,.profile-joined{position:relative;z-index:1;color:rgba(245,237,208,.58);font-size:13px;margin-top:5px}.profile-joined{font-size:12px;margin-top:10px}
.profile-vip-badge{position:relative;z-index:1;margin-top:8px;background:color-mix(in srgb,var(--vip-color) 16%,transparent)!important;color:var(--vip-color)!important;border-color:color-mix(in srgb,var(--vip-color) 44%,transparent)!important;box-shadow:0 0 22px color-mix(in srgb,var(--vip-color) 28%,transparent)}
.profile-royal-content{padding:18px 16px 22px;max-width:520px;margin:0 auto}
.asset-card-3d{position:relative;overflow:hidden;border-radius:26px;padding:22px 20px;background:linear-gradient(135deg,rgba(255,215,0,.18),rgba(28,15,0,.96) 38%,rgba(6,4,14,.96));border:1px solid rgba(255,215,0,.28);box-shadow:0 18px 0 rgba(90,62,0,.42),0 28px 52px rgba(0,0,0,.55),inset 0 1px 0 rgba(255,255,255,.18);transform:perspective(800px) rotateX(2deg)}
.asset-card-shine{position:absolute;inset:0;background:linear-gradient(115deg,transparent 0 36%,rgba(255,255,255,.18) 47%,transparent 58%);transform:translateX(-120%);animation:shineSweep 4.5s ease-in-out infinite}
.asset-top{display:flex;align-items:flex-start;justify-content:space-between;position:relative;z-index:1}.asset-label{display:block;font-size:12px;color:rgba(245,237,208,.58);letter-spacing:1px;text-transform:uppercase}.asset-top strong{display:block;margin-top:6px;font-size:30px;font-weight:1000;color:var(--gold);text-shadow:0 0 26px rgba(255,215,0,.35)}
.asset-chip{width:54px;height:38px;border-radius:14px;background:linear-gradient(135deg,#fff2a0,#ffd700 50%,#a87900);display:grid;place-items:center;color:#1b0d00;font-weight:1000;box-shadow:0 8px 0 #6e5000,0 14px 24px rgba(255,215,0,.22),inset 0 2px 2px rgba(255,255,255,.65)}
.asset-stats{position:relative;z-index:1;display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:20px}.asset-stats div{padding:12px 6px;border-radius:16px;background:rgba(0,0,0,.22);border:1px solid rgba(255,215,0,.13);text-align:center;box-shadow:inset 0 1px 0 rgba(255,255,255,.06)}.asset-stats b{display:block;color:#ffe45b;font-size:13px}.asset-stats span{display:block;color:rgba(245,237,208,.48);font-size:10px;margin-top:4px}
.quick-action-3d{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:30px 0 14px}.quick-action-3d a{min-height:82px;border-radius:20px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;text-align:center;color:var(--text);background:linear-gradient(145deg,rgba(255,215,0,.13),rgba(12,7,2,.94));border:1px solid rgba(255,215,0,.18);box-shadow:0 9px 0 rgba(83,57,0,.55),0 16px 30px rgba(0,0,0,.42),inset 0 1px 0 rgba(255,255,255,.12);transition:.18s}.quick-action-3d a:active{transform:translateY(7px);box-shadow:0 2px 0 rgba(83,57,0,.55),0 8px 18px rgba(0,0,0,.38)}.quick-action-3d i{font-style:normal;font-size:25px;filter:drop-shadow(0 5px 10px rgba(255,215,0,.25))}.quick-action-3d span{font-size:10px;font-weight:800;line-height:1.15}
.vip-progress-3d{margin:18px 0 16px;padding:18px;border-radius:22px;background:linear-gradient(145deg,rgba(18,12,3,.96),rgba(7,5,16,.96));border:1px solid rgba(255,215,0,.2);box-shadow:0 18px 38px rgba(0,0,0,.45),inset 0 1px 0 rgba(255,255,255,.08)}.vip-progress-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.vip-progress-head span{font-size:11px;color:var(--text2);text-transform:uppercase;letter-spacing:1px}.vip-progress-head strong{display:block;margin-top:3px;color:var(--gold);font-size:18px}.vip-progress-head em{font-style:normal;color:#1a0d00;background:linear-gradient(135deg,#fff2a0,#ffd700,#b8860b);padding:8px 11px;border-radius:14px;font-weight:1000;box-shadow:0 6px 0 #6d4e00}.vip-profile-bar{height:11px}.vip-progress-3d p{font-size:12px;color:rgba(245,237,208,.56);margin-top:10px}
.profile-menu-3d{display:grid;gap:12px;margin-top:18px}.profile-menu-card{position:relative;overflow:hidden;display:flex;align-items:center;gap:13px;padding:15px 15px;border-radius:20px;color:var(--text);background:linear-gradient(135deg,rgba(255,215,0,.09),rgba(15,9,2,.96) 55%,rgba(8,5,16,.96));border:1px solid rgba(255,215,0,.15);box-shadow:0 9px 0 rgba(61,43,0,.52),0 17px 30px rgba(0,0,0,.36),inset 0 1px 0 rgba(255,255,255,.08);transition:.18s}.profile-menu-card:before{content:"";position:absolute;inset:0;background:linear-gradient(100deg,transparent,rgba(255,255,255,.09),transparent);transform:translateX(-120%);transition:.45s}.profile-menu-card:hover:before,.profile-menu-card:active:before{transform:translateX(120%)}.profile-menu-card:active{transform:translateY(6px) scale(.99);box-shadow:0 3px 0 rgba(61,43,0,.52),0 10px 20px rgba(0,0,0,.32)}.profile-menu-icon{width:44px;height:44px;border-radius:16px;display:grid;place-items:center;background:linear-gradient(135deg,#fff1a0,#ffd700 48%,#875f00);box-shadow:0 7px 0 #6a4b00,0 10px 18px rgba(255,215,0,.18);font-size:20px}.profile-menu-text{flex:1}.profile-menu-text b{display:block;font-size:15px;color:#fff5d2}.profile-menu-text small{display:block;margin-top:3px;color:rgba(245,237,208,.42);font-size:11px}.profile-menu-arrow{font-size:32px;color:var(--gold);text-shadow:0 0 14px rgba(255,215,0,.45)}.logout-card{background:linear-gradient(135deg,rgba(255,81,81,.16),rgba(15,4,10,.96));border-color:rgba(255,81,81,.25)}.logout-card .profile-menu-icon{background:linear-gradient(135deg,#ffb0b0,#ff5151,#811414);box-shadow:0 7px 0 #5c0f0f;color:#fff}.logout-card .profile-menu-text b,.logout-card .profile-menu-arrow{color:#ff7373}
.royal-nav.bottom-nav{background:linear-gradient(180deg,rgba(20,15,34,.68),rgba(4,3,12,.96));border-top:1px solid rgba(255,215,0,.22);box-shadow:0 -18px 42px rgba(0,0,0,.55),0 -1px 26px rgba(255,215,0,.14);backdrop-filter:blur(18px)}.royal-nav .nav-item{transition:.22s}.royal-nav .nav-item.active{transform:translateY(-6px);color:var(--gold);text-shadow:0 0 14px rgba(255,215,0,.65)}.royal-nav .nav-item.active svg{filter:drop-shadow(0 0 10px rgba(255,215,0,.65))}.royal-nav .nav-center{animation:centerGoldPulse 2.4s ease-in-out infinite}
@keyframes profileSweep{0%,65%{transform:translateX(-80%)}100%{transform:translateX(80%)}}@keyframes profileFloat{0%,100%{transform:translate3d(0,0,0) scale(1)}50%{transform:translate3d(14px,-12px,0) scale(1.08)}}@keyframes profilePulse{0%,100%{transform:scale(1);opacity:.8}50%{transform:scale(1.12);opacity:1}}@keyframes avatarLevitate{0%,100%{transform:translateY(0) perspective(800px) rotateX(0)}50%{transform:translateY(-7px) perspective(800px) rotateX(8deg)}}@keyframes shineSweep{0%,56%{transform:translateX(-120%)}100%{transform:translateX(120%)}}@keyframes centerGoldPulse{0%,100%{filter:drop-shadow(0 0 14px rgba(255,215,0,.5))}50%{filter:drop-shadow(0 0 28px rgba(255,215,0,.9))}}
@media(max-width:370px){.profile-royal-content{padding-left:12px;padding-right:12px}.asset-top strong{font-size:25px}.quick-action-3d{gap:7px}.quick-action-3d a{min-height:74px}.quick-action-3d span{font-size:9px}.profile-menu-card{padding:13px}.profile-menu-icon{width:40px;height:40px}}

/* ============================================================
   VIP + DAILY CHECK-IN ROYAL 3D — SVG Icon System, no emoji
   ============================================================ */
.royal-topbar{height:62px;background:linear-gradient(180deg,rgba(16,12,29,.98),rgba(10,7,22,.98));padding:0 16px;display:flex;align-items:center;gap:14px;border-bottom:1px solid rgba(255,215,0,.15);position:sticky;top:0;z-index:90;box-shadow:0 12px 28px rgba(0,0,0,.35)}
.royal-topbar h2{font-size:18px;font-weight:900;color:#fff4cf;letter-spacing:-.3px}.royal-back{width:38px;height:38px;display:grid;place-items:center;border-radius:14px;color:#d7c49a;background:rgba(255,215,0,.06);border:1px solid rgba(255,215,0,.12);box-shadow:inset 0 1px 0 rgba(255,255,255,.06)}
.royal-topbar svg,.reward-royal-page svg,.vip-royal-page svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.eyebrow{display:block;font-size:11px;letter-spacing:1.6px;text-transform:uppercase;color:rgba(255,230,126,.72);font-weight:900}.royal-shine{position:relative;overflow:hidden}.royal-shine:before{content:"";position:absolute;inset:-20%;background:linear-gradient(110deg,transparent 0 38%,rgba(255,255,255,.15) 48%,transparent 58%);transform:translateX(-120%);animation:royalSweep 5.2s ease-in-out infinite}.royal-card-3d{position:relative;border-radius:26px;background:linear-gradient(145deg,rgba(28,18,4,.96),rgba(8,5,18,.98));border:1px solid rgba(255,215,0,.2);box-shadow:0 16px 0 rgba(72,50,0,.36),0 30px 55px rgba(0,0,0,.48),inset 0 1px 0 rgba(255,255,255,.08)}
.reward-royal-page,.vip-royal-page{min-height:100vh;background:radial-gradient(circle at 50% -10%,rgba(255,215,0,.15),transparent 33%),radial-gradient(circle at 12% 30%,rgba(255,180,0,.08),transparent 28%),linear-gradient(180deg,#070414,#0a0618 55%,#050311)}
.reward-wrap,.vip-wrap{max-width:560px;margin:0 auto;padding:18px 16px 34px}.reward-hero,.vip-hero-royal{border-radius:28px;padding:22px 20px;background:linear-gradient(135deg,rgba(255,215,0,.18),rgba(26,16,1,.92) 44%,rgba(7,5,18,.96));border:1px solid rgba(255,215,0,.28);box-shadow:0 18px 0 rgba(84,58,0,.38),0 30px 58px rgba(0,0,0,.55),inset 0 1px 0 rgba(255,255,255,.13)}
.reward-hero{display:grid;grid-template-columns:auto 1fr auto;gap:14px;align-items:center}.reward-hero h1,.vip-hero-royal h1{font-size:24px;font-weight:1000;color:#fff7d8;text-shadow:0 0 24px rgba(255,215,0,.3);margin:3px 0}.reward-hero p,.vip-hero-royal p{font-size:12px;line-height:1.45;color:rgba(245,237,208,.56)}.reward-orb,.vip-crown-3d{width:56px;height:56px;border-radius:20px;display:grid;place-items:center;color:#1d1000;background:linear-gradient(145deg,#fff4a6,#ffd700 48%,#a07000);box-shadow:0 9px 0 #6c4e00,0 18px 30px rgba(255,215,0,.22),inset 0 2px 3px rgba(255,255,255,.65);animation:royalFloat 3.3s ease-in-out infinite}.reward-orb.big{width:82px;height:82px;margin:0 auto 16px;border-radius:28px}.reward-orb svg,.vip-crown-3d svg{width:29px;height:29px;stroke-width:2.25}.streak-chip{min-width:62px;padding:10px 8px;border-radius:18px;background:rgba(0,0,0,.28);border:1px solid rgba(255,215,0,.16);text-align:center}.streak-chip b{display:block;color:var(--gold);font-size:22px}.streak-chip span{font-size:9px;color:rgba(245,237,208,.5);font-weight:800}.reward-path{position:relative;margin:30px 4px 22px}.reward-path-line{height:10px;border-radius:999px;background:rgba(255,255,255,.07);box-shadow:inset 0 2px 5px rgba(0,0,0,.55)}.reward-path-line span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#fff5a3,#ffd700,#b8860b);box-shadow:0 0 22px rgba(255,215,0,.45);animation:barGrow .9s ease both}.reward-path-dots{position:absolute;left:0;right:0;top:50%;display:flex;justify-content:space-between;transform:translateY(-50%)}.reward-path-dots i{width:22px;height:22px;border-radius:50%;background:#15101f;border:2px solid rgba(255,215,0,.22);box-shadow:0 6px 15px rgba(0,0,0,.45)}.reward-path-dots i.done{background:linear-gradient(145deg,#60f2a3,#12965f);border-color:#7df4b8}.reward-path-dots i.now{background:linear-gradient(145deg,#fff3a2,#ffd700);border-color:#fff3a2;animation:pulse-gold 1.6s ease infinite}.reward-grid-royal{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.reward-card-3d{min-height:116px;border-radius:20px;padding:12px 9px;text-align:center;background:linear-gradient(145deg,rgba(255,215,0,.08),rgba(15,9,3,.96));border:1px solid rgba(255,215,0,.16);box-shadow:0 10px 0 rgba(65,46,0,.48),0 18px 32px rgba(0,0,0,.42),inset 0 1px 0 rgba(255,255,255,.08);transition:.18s;position:relative;overflow:hidden}.reward-card-3d.today{border-color:rgba(255,215,0,.55);box-shadow:0 10px 0 rgba(105,75,0,.55),0 18px 42px rgba(255,215,0,.16),0 0 0 1px rgba(255,215,0,.1) inset;animation:cardPulse 2.3s ease-in-out infinite}.reward-card-3d.done{background:linear-gradient(145deg,rgba(16,185,129,.22),rgba(4,38,34,.95));border-color:rgba(52,211,153,.36)}.reward-card-3d.locked{opacity:.75}.reward-card-3d:active{transform:translateY(7px);box-shadow:0 3px 0 rgba(65,46,0,.48),0 10px 20px rgba(0,0,0,.36)}.reward-card-top{display:flex;justify-content:space-between;align-items:center;color:rgba(245,237,208,.45);font-size:11px;font-weight:800}.reward-card-top svg{width:15px;height:15px}.reward-icon{width:48px;height:48px;margin:10px auto 8px;border-radius:17px;display:grid;place-items:center;color:#1c0f00;background:linear-gradient(145deg,#fff2a0,#ffd700,#9c6d00);box-shadow:0 7px 0 #674900,0 12px 20px rgba(255,215,0,.18)}.done .reward-icon{background:linear-gradient(145deg,#9df6c4,#10b981,#075f43);box-shadow:0 7px 0 #064834;color:#fff}.locked .reward-icon{background:linear-gradient(145deg,#4e465d,#211c2b);box-shadow:0 7px 0 #14101d;color:#d5c8aa}.reward-card-3d strong{font-size:13px;color:#ffe45b}.done strong{color:#6ff0ad}.claim-panel{margin-top:26px}.claim-btn-royal,.upgrade-btn-royal{width:100%;border:0;border-radius:22px;min-height:72px;display:flex;align-items:center;justify-content:center;gap:10px;background:linear-gradient(180deg,#fff3a2,#ffd700 52%,#c99300);color:#160b00;font-weight:1000;box-shadow:0 11px 0 #765400,0 24px 44px rgba(255,215,0,.2),inset 0 2px 2px rgba(255,255,255,.75);position:relative;overflow:hidden}.claim-btn-royal:before,.upgrade-btn-royal:before{content:"";position:absolute;inset:0;background:linear-gradient(100deg,transparent,rgba(255,255,255,.35),transparent);transform:translateX(-110%);animation:royalSweep 3.5s ease-in-out infinite}.claim-btn-royal svg,.upgrade-btn-royal svg{width:25px;height:25px}.claim-btn-royal span{font-size:17px}.claim-btn-royal b{font-size:14px}.tomorrow-preview{margin-top:18px;padding:14px;border-radius:20px;display:flex;align-items:center;gap:12px;background:rgba(255,215,0,.07);border:1px solid rgba(255,215,0,.14)}.tomorrow-preview div{width:44px;height:44px;border-radius:15px;display:grid;place-items:center;color:var(--gold);background:rgba(255,215,0,.1)}.tomorrow-preview b,.tomorrow-preview span{display:block}.tomorrow-preview b{color:#fff4cf}.tomorrow-preview span{font-size:12px;color:rgba(245,237,208,.55);margin-top:2px}.reward-complete{text-align:center;padding:34px 22px;margin-top:20px}.reward-complete h2{color:var(--gold);font-size:24px}.reward-complete p{color:rgba(245,237,208,.6);line-height:1.5;margin-top:8px}
.vip-hero-royal{text-align:center}.vip-crown-3d{margin:0 auto 14px;border-radius:50%;width:92px;height:92px;box-shadow:0 13px 0 #6c4e00,0 24px 52px rgba(255,215,0,.24),0 0 54px rgba(255,215,0,.28),inset 0 3px 6px rgba(255,255,255,.65)}.vip-crown-3d svg{width:42px;height:42px}.vip-hero-royal h1{font-size:42px;line-height:1}.vip-hero-royal p b{color:#ffe45b}.vip-hero-progress{margin-top:18px;padding:14px;border-radius:20px;background:rgba(0,0,0,.22);border:1px solid rgba(255,215,0,.13)}.progress-meta{display:flex;justify-content:space-between;margin-bottom:8px}.progress-meta span,.vip-hero-progress small{font-size:12px;color:rgba(245,237,208,.55)}.progress-meta b{color:var(--gold)}.vip-glow-bar{height:12px}.vip-roadmap{display:grid;gap:16px;margin-top:28px}.vip-card-royal{position:relative;padding:18px;border-radius:24px;background:linear-gradient(145deg,color-mix(in srgb,var(--vip-color) 12%,transparent),rgba(13,8,4,.96));border:1px solid color-mix(in srgb,var(--vip-color) 28%,transparent);box-shadow:0 12px 0 color-mix(in srgb,var(--vip-color) 20%,#1d1400),0 24px 44px rgba(0,0,0,.42),inset 0 1px 0 rgba(255,255,255,.08);overflow:hidden}.vip-card-royal:before{content:"";position:absolute;right:-42px;top:-42px;width:135px;height:135px;border-radius:50%;background:radial-gradient(circle,color-mix(in srgb,var(--vip-color) 24%,transparent),transparent 65%)}.vip-card-royal.active{transform:perspective(900px) rotateX(2deg);border-color:color-mix(in srgb,var(--vip-color) 65%,transparent);box-shadow:0 14px 0 color-mix(in srgb,var(--vip-color) 34%,#4b3500),0 30px 58px rgba(0,0,0,.5),0 0 34px color-mix(in srgb,var(--vip-color) 18%,transparent)}.vip-card-badge{display:flex;align-items:center;gap:10px;position:relative;z-index:1}.vip-card-badge i{width:48px;height:48px;border-radius:17px;display:grid;place-items:center;color:#1c0f00;background:linear-gradient(145deg,#fff4a6,var(--vip-color),#8f6400);box-shadow:0 7px 0 color-mix(in srgb,var(--vip-color) 35%,#3d2a00),0 13px 22px color-mix(in srgb,var(--vip-color) 20%,transparent)}.vip-card-badge i svg{width:25px;height:25px}.vip-card-badge span{font-size:20px;font-weight:1000;color:#fff6d3}.current-chip,.max-vip-chip{display:inline-flex;align-items:center;gap:6px;margin-top:12px;border-radius:999px;padding:7px 10px;background:rgba(16,185,129,.14);color:#6ee7b7;border:1px solid rgba(16,185,129,.25);font-style:normal;font-size:12px;font-weight:900}.current-chip svg,.max-vip-chip svg{width:16px;height:16px}.max-vip-chip{background:rgba(255,215,0,.12);color:#ffe45b;border-color:rgba(255,215,0,.22)}.vip-specs{position:relative;z-index:1;display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:16px}.vip-specs div{padding:13px;border-radius:18px;background:rgba(0,0,0,.2);border:1px solid rgba(255,215,0,.08)}.vip-specs svg{color:var(--vip-color);width:20px;height:20px}.vip-specs span{display:block;margin-top:8px;color:rgba(245,237,208,.48);font-size:11px}.vip-specs b{display:block;margin-top:3px;color:#fff4cf;font-size:15px}.vip-card-royal p{position:relative;z-index:1;margin-top:13px;color:rgba(245,237,208,.6);font-size:13px}.benefit-royal{margin-top:24px;padding:18px}.benefit-royal h3{font-size:17px;color:#fff4cf;margin-bottom:14px}.benefit-grid{display:grid;grid-template-columns:1.45fr repeat(4,.7fr);gap:1px;overflow:hidden;border-radius:16px;border:1px solid rgba(255,215,0,.12);background:rgba(255,215,0,.1)}.benefit-grid>*{min-height:38px;display:grid;place-items:center;background:rgba(7,5,18,.88);font-size:11px;color:rgba(245,237,208,.68);font-style:normal}.benefit-grid b{color:#ffe45b}.benefit-grid i{color:#62e7a2}.benefit-grid i.no{color:#ff7373}.benefit-grid svg{width:17px;height:17px}.upgrade-btn-royal{margin-top:24px;text-decoration:none;flex-direction:column;gap:2px;min-height:78px}.upgrade-btn-royal span{font-size:17px}.upgrade-btn-royal b{font-size:12px;opacity:.75}
@keyframes royalSweep{0%,58%{transform:translateX(-120%)}100%{transform:translateX(120%)}}@keyframes royalFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-7px)}}@keyframes cardPulse{0%,100%{filter:drop-shadow(0 0 0 rgba(255,215,0,0))}50%{filter:drop-shadow(0 0 16px rgba(255,215,0,.3))}}@keyframes barGrow{from{width:0}}
@media(max-width:380px){.reward-wrap,.vip-wrap{padding-left:12px;padding-right:12px}.reward-hero{grid-template-columns:1fr;text-align:center}.reward-orb{margin:0 auto}.streak-chip{margin:0 auto}.reward-grid-royal{grid-template-columns:repeat(3,1fr);gap:10px}.reward-card-3d{min-height:108px}.vip-specs{grid-template-columns:1fr}.benefit-grid>*{font-size:10px}}
