  position: relative;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 32px;
}
.login-logo {
  font-family: 'Syne', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: white;
  text-decoration: none;
  letter-spacing: -0.5px;
}
.login-logo span { color: #C9A84C; }
.login-topbar-right { display: flex; align-items: center; gap: 12px; }
.login-topbar
.login-topbar
.login-topbar .theme-toggle { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); }
.login-topbar .theme-knob { font-size: 14px; }

.login-main {
  position: relative;
  z-index: 5;
  display: flex;
  flex: 1;
  min-height: calc(100vh - 70px);
  padding: 0 32px 32px;
  gap: 40px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.login-left {
  flex: 1.2;
  color: white;
  animation: slideInLeft 0.7s ease;
}
@keyframes slideInLeft {
  from { opacity:0; transform:translateX(-30px); }
  to { opacity:1; transform:translateX(0); }
}
.login-left-inner { max-width: 480px; }
.login-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.3);
  color: #C9A84C;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 0.3px;
}
.login-headline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 16px;
  color: white;
}
.login-headline-gold {
  background: linear-gradient(90deg, #C9A84C, #F0D080, #C9A84C);
  background-size: 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s infinite linear;
}
@keyframes shimmer {
  0% { background-position: 0% }
  100% { background-position: 200% }
}
.login-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
  margin: 0 0 32px;
}

.login-stats {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.lstat { text-align: center; }
.lstat-num { font-size: 24px; font-weight: 800; color: #C9A84C; font-family: 'Syne', sans-serif; }
.lstat-label { font-size: 12px; color: rgba(255,255,255,0.5); margin-top: 2px; }
.lstat-div { width: 1px; height: 36px; background: rgba(255,255,255,0.15); }

.login-float-cards { display: flex; flex-direction: column; gap: 10px; }
.lfcard {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 12px 16px;
  font-size: 13px;
  color: white;
  animation: floatCard 0.6s ease both;
  transition: transform 0.2s;
}
.lfcard:hover { transform: translateX(6px); }
.lfcard1 { animation-delay: 0.3s; }
.lfcard2 { animation-delay: 0.5s; border-color: rgba(201,168,76,0.3); background: rgba(201,168,76,0.08); }
.lfcard3 { animation-delay: 0.7s; }
@keyframes floatCard {
  from { opacity:0; transform:translateX(-20px); }
  to { opacity:1; transform:translateX(0); }
}
.lfcard > span { font-size: 24px; }
.lfcard-title { font-weight: 700; font-size: 13px; }
.lfcard-sub { font-size: 11px; color: rgba(255,255,255,0.5); margin-top: 2px; }

.login-right {
  flex: 0 0 400px;
  animation: slideInRight 0.7s ease;
}
@keyframes slideInRight {
  from { opacity:0; transform:translateX(30px); }
  to { opacity:1; transform:translateX(0); }
}
.login-card {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 32px 64px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.08);
}

.login-welcome {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: linear-gradient(135deg, rgba(139,26,46,0.25), rgba(201,168,76,0.1));
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 18px;
  margin-bottom: 22px;
  position: relative;
  overflow: hidden;
}
.login-welcome::before {
  content: '';
  position: absolute;
  top: -20px; right: -20px;
  width: 80px; height: 80px;
  background: radial-gradient(circle, rgba(201,168,76,0.2), transparent);
  border-radius: 50%;
}
.login-avatar {
  width: 50px; height: 50px;
  border-radius: 16px;
  background: linear-gradient(135deg, #8B1A2E, #C9A84C);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(139,26,46,0.45);
}
.login-welcome-title { font-weight: 800; color: white; font-size: 17px; font-family: Syne, sans-serif; }
.login-welcome-sub { font-size: 12px; color: rgba(255,255,255,0.5); margin-top: 3px; }

#pg-login .auth-tabs {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  margin-bottom: 22px;
}
#pg-login .auth-tab { color: rgba(255,255,255,0.4); font-size: 14px; font-weight: 700; }
#pg-login .auth-tab.active {
  background: linear-gradient(135deg, #8B1A2E, #C9A84C);
  color: #F0D080;
  box-shadow: 0 4px 16px rgba(139,26,46,0.4);
}

#pg-login .form-group label {
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
}
.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.input-icon {
  position: absolute;
  left: 14px;
  font-size: 16px;
  z-index: 1;
  pointer-events: none;
}
#pg-login .input-wrap input {
  width: 100%;
  padding: 12px 14px 12px 44px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  color: white;
  font-size: 14px;
  font-family: inherit;
  box-sizing: border-box;
  transition: border-color 0.2s, background 0.2s;
  outline: none;
}
#pg-login .input-wrap input::placeholder { color: rgba(255,255,255,0.3); }
#pg-login .input-wrap input:focus {
  border-color: #C9A84C;
  background: rgba(201,168,76,0.08);
}
#pg-login .input-wrap input.err {
  border-color: #ef4444;
  animation: shake 0.3s ease;
}
#pg-login .eye-btn { right: 12px; color: rgba(255,255,255,0.5); }

#pg-login .errmsg { color: #FF8A9B; }
#pg-login .hint { color: rgba(255,255,255,0.4); }

.login-submit-btn {
  width: 100%;
  padding: 14px 20px;
  background: linear-gradient(135deg, #8B1A2E 0%, #A52035 50%, #C9A84C 100%);
  background-size: 200%;
  color: white;
  border: none;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s;
  margin-top: 8px;
  position: relative;
  overflow: hidden;
}
.login-submit-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s;
}
.login-submit-btn:hover::before { transform: translateX(100%); }
.login-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(139,26,46,0.5);
  background-position: right;
}
.login-submit-btn:active { transform: translateY(0); }
.btn-arrow { font-size: 18px; transition: transform 0.2s; }
.login-submit-btn:hover .btn-arrow { transform: translateX(4px); }

.switch-auth {
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  margin: 14px 0 0;
}

#pg-login .pass-rules { margin-top: 8px; }
#pg-login .rule { color: rgba(255,100,100,0.8); }
#pg-login .rule.ok { color: #4ade80; }

#pg-login .success-box { text-align: center; padding: 20px 0; }
#pg-login .success-anim { font-size: 56px; margin-bottom: 12px; animation: bounceIn 0.6s ease; }
@keyframes bounceIn {
  0% { transform: scale(0.3); opacity:0; }
  60% { transform: scale(1.1); }
  100% { transform: scale(1); opacity:1; }
}
#pg-login .success-box h3 { color: white; font-size: 22px; margin: 0 0 8px; }
#pg-login .success-box p { color: rgba(255,255,255,0.6); font-size: 14px; margin: 0 0 24px; }

#pg-login a[href="#"]:not(.login-logo):not(.switch-auth a) { color: #C9A84C; }

@media (max-width: 768px) {
  .login-main { flex-direction: column; padding: 16px 16px 32px; gap: 24px; }
  .login-left { display: none; }
  .login-right { flex: unset; width: 100%; }
  .login-topbar { padding: 14px 20px; }
  .login-card { padding: 24px 20px; }
  .login-headline { font-size: 28px; }
}

#pg-login.login-light {
  background: linear-gradient(135deg, #4A0818 0%, #6B1020 40%, #8B1A2E 100%) !important;
}

.lfcard1 { animation: floatCard 0.6s ease both, cardFloat 4s ease-in-out infinite 1s !important; }
.lfcard2 { animation: floatCard 0.6s ease both 0.2s, cardFloat 4s ease-in-out infinite 2s !important; }
.lfcard3 { animation: floatCard 0.6s ease both 0.4s, cardFloat 4s ease-in-out infinite 3s !important; }

@keyframes cardFloat {
  0%, 100% { transform: translateY(0px) translateX(0px); }
  50% { transform: translateY(-8px) translateX(3px); }
}

.login-headline { animation: fadeSlideUp 0.8s ease both; }
.login-badge { animation: fadeSlideUp 0.5s ease both; }
.login-sub { animation: fadeSlideUp 0.9s ease both; }
.login-stats { animation: fadeSlideUp 1s ease both; }

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

.login-card { animation: cardEntrance 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) both 0.2s; }
@keyframes cardEntrance {
  from { opacity: 0; transform: translateY(40px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

#pg-login .input-wrap input:focus {
  box-shadow: 0 0 0 3px rgba(201,168,76,0.2), 0 0 20px rgba(201,168,76,0.1);
}

.particle { opacity: 0.4 !important; }
.p1 { animation: floatUp 7s infinite ease-in-out !important; }
.p2 { animation: floatUp 9s infinite ease-in-out 1.5s !important; }
.p3 { animation: floatUp 6s infinite ease-in-out 3s !important; }
.p4 { animation: floatUp 8s infinite ease-in-out 0.5s !important; }
.p5 { animation: floatUp 10s infinite ease-in-out 2s !important; }
.p6 { animation: floatUp 7s infinite ease-in-out 4s !important; }

.orb1 { opacity: 0.5 !important; filter: blur(60px) !important; }
.orb2 { opacity: 0.4 !important; filter: blur(50px) !important; }
.orb3 { opacity: 0.35 !important; filter: blur(40px) !important; }

.login-headline-gold {
  animation: shimmer 2.5s infinite linear !important;
  font-size: inherit;
}

.login-submit-btn {
  animation: btnPulse 3s ease-in-out infinite 2s;
}
@keyframes btnPulse {
  0%, 100% { box-shadow: 0 4px 15px rgba(139,26,46,0.3); }
  50% { box-shadow: 0 4px 30px rgba(201,168,76,0.5), 0 0 40px rgba(139,26,46,0.3); }
}
.login-submit-btn:hover { animation: none !important; }

.fstep { transition: opacity 0.3s ease, transform 0.3s ease; }
.fstep:not(.active) { opacity: 0; pointer-events: none; position: absolute; transform: translateY(10px); }
.fstep.active { opacity: 1; pointer-events: all; position: relative; transform: translateY(0); }

.orb3 { animation: orbWander 10s ease-in-out infinite !important; }
@keyframes orbWander {
  0% { transform: translate(0, 0); }
  25% { transform: translate(60px, -40px); }
  50% { transform: translate(-30px, 60px); }
  75% { transform: translate(80px, 30px); }
  100% { transform: translate(0, 0); }
}

.login-avatar { animation: avatarPop 0.6s cubic-bezier(0.34,1.56,0.64,1) both 0.5s; }
@keyframes avatarPop {
  from { transform: scale(0) rotate(-180deg); opacity: 0; }
  to { transform: scale(1) rotate(0deg); opacity: 1; }
}

.lstat-num {
  animation: countUp 0.8s ease both;
}
.lstat:nth-child(1) .lstat-num { animation-delay: 0.6s; }
.lstat:nth-child(3) .lstat-num { animation-delay: 0.8s; }
.lstat:nth-child(5) .lstat-num { animation-delay: 1s; }
@keyframes countUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

#pg-login.theme-1 {
  background: linear-gradient(135deg, #0D0408 0%, #1C0A0F 40%, #2A0E18 100%);
}
#pg-login.theme-1 .orb1 { background: #8B1A2E22; }
#pg-login.theme-1 .orb2 { background: #C9A84C18; }
#pg-login.theme-1 .login-headline-gold { background: linear-gradient(90deg, #C9A84C, #F0D080, #C9A84C); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
#pg-login.theme-1 .login-submit-btn { background: linear-gradient(135deg, #8B1A2E, #A52035, #C9A84C); }
#pg-login.theme-1 .auth-tab.active { background: linear-gradient(135deg, #8B1A2E, #A52035); color: #F0D080; }
#pg-login.theme-1 .login-badge { background: rgba(201,168,76,0.15); border-color: rgba(201,168,76,0.3); color: #C9A84C; }
#pg-login.theme-1 .login-avatar { background: linear-gradient(135deg, #8B1A2E, #C9A84C); }
#pg-login.theme-1 .lstat-num { color: #C9A84C; }
#pg-login.theme-1 .p1, #pg-login.theme-1 .p3, #pg-login.theme-1 .p5 { background: #C9A84C; }
#pg-login.theme-1 .p2, #pg-login.theme-1 .p4, #pg-login.theme-1 .p6 { background: #F0D080; }

#pg-login.theme-2 {
  background: linear-gradient(135deg, #020B18 0%, #051B33 40%, #0A2A4A 100%);
}
#pg-login.theme-2 .orb1 { background: #1A5C8B22; }
#pg-login.theme-2 .orb2 { background: #4CC9F018; }
#pg-login.theme-2 .login-headline-gold { background: linear-gradient(90deg, #4CC9F0, #90E0EF, #4CC9F0); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
#pg-login.theme-2 .login-submit-btn { background: linear-gradient(135deg, #1A5C8B, #023E8A, #4CC9F0); }
#pg-login.theme-2 .auth-tab.active { background: linear-gradient(135deg, #023E8A, #0077B6); color: #90E0EF; }
#pg-login.theme-2 .login-badge { background: rgba(76,201,240,0.15); border-color: rgba(76,201,240,0.3); color: #4CC9F0; }
#pg-login.theme-2 .login-avatar { background: linear-gradient(135deg, #023E8A, #4CC9F0); }
#pg-login.theme-2 .lstat-num { color: #4CC9F0; }
#pg-login.theme-2 .p1, #pg-login.theme-2 .p3, #pg-login.theme-2 .p5 { background: #4CC9F0; }
#pg-login.theme-2 .p2, #pg-login.theme-2 .p4, #pg-login.theme-2 .p6 { background: #90E0EF; }
#pg-login.theme-2 .input-wrap input:focus { border-color: #4CC9F0; background: rgba(76,201,240,0.08); }

#pg-login.theme-3 {
  background: linear-gradient(135deg, #020D06 0%, #051A0C 40%, #0A2E16 100%);
}
#pg-login.theme-3 .orb1 { background: #1A8B3A22; }
#pg-login.theme-3 .orb2 { background: #4CF07818; }
#pg-login.theme-3 .login-headline-gold { background: linear-gradient(90deg, #52B788, #95D5B2, #52B788); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
#pg-login.theme-3 .login-submit-btn { background: linear-gradient(135deg, #1B4332, #2D6A4F, #52B788); }
#pg-login.theme-3 .auth-tab.active { background: linear-gradient(135deg, #1B4332, #2D6A4F); color: #95D5B2; }
#pg-login.theme-3 .login-badge { background: rgba(82,183,136,0.15); border-color: rgba(82,183,136,0.3); color: #52B788; }
#pg-login.theme-3 .login-avatar { background: linear-gradient(135deg, #1B4332, #52B788); }
#pg-login.theme-3 .lstat-num { color: #52B788; }
#pg-login.theme-3 .p1, #pg-login.theme-3 .p3, #pg-login.theme-3 .p5 { background: #52B788; }
#pg-login.theme-3 .p2, #pg-login.theme-3 .p4, #pg-login.theme-3 .p6 { background: #95D5B2; }
#pg-login.theme-3 .input-wrap input:focus { border-color: #52B788; background: rgba(82,183,136,0.08); }

#pg-login.theme-4 {
  background: linear-gradient(135deg, #08020F 0%, #150825 40%, #1E0A35 100%);
}
#pg-login.theme-4 .orb1 { background: #5A1A8B22; }
#pg-login.theme-4 .orb2 { background: #B44CF018; }
#pg-login.theme-4 .login-headline-gold { background: linear-gradient(90deg, #C77DFF, #E0AAFF, #C77DFF); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
#pg-login.theme-4 .login-submit-btn { background: linear-gradient(135deg, #3C096C, #7B2FBE, #C77DFF); }
#pg-login.theme-4 .auth-tab.active { background: linear-gradient(135deg, #3C096C, #7B2FBE); color: #E0AAFF; }
#pg-login.theme-4 .login-badge { background: rgba(199,125,255,0.15); border-color: rgba(199,125,255,0.3); color: #C77DFF; }
#pg-login.theme-4 .login-avatar { background: linear-gradient(135deg, #3C096C, #C77DFF); }
#pg-login.theme-4 .lstat-num { color: #C77DFF; }
#pg-login.theme-4 .p1, #pg-login.theme-4 .p3, #pg-login.theme-4 .p5 { background: #C77DFF; }
#pg-login.theme-4 .p2, #pg-login.theme-4 .p4, #pg-login.theme-4 .p6 { background: #E0AAFF; }
#pg-login.theme-4 .input-wrap input:focus { border-color: #C77DFF; background: rgba(199,125,255,0.08); }

#pg-login.theme-5 {
  background: linear-gradient(135deg, #0F0600 0%, #1F0D00 40%, #2E1200 100%);
}
#pg-login.theme-5 .orb1 { background: #8B4A1A22; }
#pg-login.theme-5 .orb2 { background: #F09A4C18; }
#pg-login.theme-5 .login-headline-gold { background: linear-gradient(90deg, #F4845F, #F7B267, #F4845F); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
#pg-login.theme-5 .login-submit-btn { background: linear-gradient(135deg, #7B2D00, #C44B00, #F4845F); }
#pg-login.theme-5 .auth-tab.active { background: linear-gradient(135deg, #7B2D00, #C44B00); color: #F7B267; }
#pg-login.theme-5 .login-badge { background: rgba(244,132,95,0.15); border-color: rgba(244,132,95,0.3); color: #F4845F; }
#pg-login.theme-5 .login-avatar { background: linear-gradient(135deg, #7B2D00, #F4845F); }
#pg-login.theme-5 .lstat-num { color: #F4845F; }
#pg-login.theme-5 .p1, #pg-login.theme-5 .p3, #pg-login.theme-5 .p5 { background: #F4845F; }
#pg-login.theme-5 .p2, #pg-login.theme-5 .p4, #pg-login.theme-5 .p6 { background: #F7B267; }
#pg-login.theme-5 .input-wrap input:focus { border-color: #F4845F; background: rgba(244,132,95,0.08); }

#pg-login { transition: background 0.8s ease !important; }

  .login-loader {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255,255,255,0.15);
    border-top-color: #C9A84C;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto;
  }
  @keyframes spin {
    to { transform: rotate(360deg); }
  }

  .profile-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 13px 0;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
    gap: 12px;
  }
  .profile-row:last-child { border-bottom: none; }
  .profile-label { color: var(--gray); font-size: 13px; flex-shrink: 0; }
  .profile-val { font-weight: 600; color: var(--text); text-align: right; word-break: break-all; }

.hero-section { position: relative; }

.dash-page { background: var(--bg); min-height: 100vh; }

.dash-banner {
  background: linear-gradient(135deg, #8B1A2E 0%, #A52035 50%, #C9A84C 100%);
  padding: 28px 24px 48px;
  position: relative;
  overflow: hidden;
}
.dash-banner::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
}
.dash-banner::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -20px;
  width: 150px; height: 150px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}
.dash-greeting {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
  margin-bottom: 4px;
}
.dash-name {
  font-family: 'Syne', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: white;
  margin-bottom: 4px;
}
.dash-roll {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}

.dash-streak-card {
  background: white;
  border-radius: 16px;
  padding: 16px 20px;
  margin: -24px 16px 0;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  position: relative;
  z-index: 2;
  animation: slideUpFade 0.5s ease both;
}
body.dark .dash-streak-card {
  background: #2A1A20;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.dash-streak-emoji {
  font-size: 32px;
  animation: bounce 2s ease-in-out infinite;
}
@keyframes bounce {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.dash-streak-info { flex: 1; }
.dash-streak-title {
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 2px;
}
.dash-streak-val {
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: #8B1A2E;
}
.dash-coins-badge {
  background: linear-gradient(135deg, #C9A84C, #F0D080);
  color: #1A1208;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 100px;
}

.dash-section-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 20px 16px 10px;
}

.dash-quick-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  padding: 0 16px;
}
.dash-quick-card {
  border-radius: 16px;
  padding: 18px 14px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  animation: slideUpFade 0.5s ease both;
}
.dash-quick-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.dash-quick-card:nth-child(1) { background: linear-gradient(135deg, #8B1A2E, #C44B5A); animation-delay: 0.1s; }
.dash-quick-card:nth-child(4) { background: linear-gradient(135deg, #1B4332, #52B788); animation-delay: 0.1s; }
.dash-quick-card:nth-child(5) { background: linear-gradient(135deg, #1A5C8B, #2E8FC4); animation-delay: 0.2s; }
.dash-quick-card:nth-child(6) { background: linear-gradient(135deg, #5A1A8B, #9B5DE5); animation-delay: 0.3s; }
.dash-quick-card:nth-child(2) { background: linear-gradient(135deg, #1A5C8B, #2E8FC4); animation-delay: 0.2s; }
.dash-quick-card:nth-child(3) { background: linear-gradient(135deg, #1B4332, #52B788); animation-delay: 0.3s; }
.dash-quick-icon { font-size: 28px; margin-bottom: 8px; }
.dash-quick-label {
  font-size: 12px;
  font-weight: 700;
  color: white;
}

.dash-stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 0 16px;
}
.dash-stat-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  animation: slideUpFade 0.5s ease both;
}
.dash-stat-card:nth-child(1) { animation-delay: 0.2s; border-top: 3px solid #8B1A2E; }
.dash-stat-card:nth-child(2) { animation-delay: 0.3s; border-top: 3px solid #C9A84C; }
.dash-stat-num {
  font-family: 'Syne', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
}
.dash-stat-label { font-size: 12px; color: var(--gray); margin-top: 2px; }

.dash-notice {
  margin: 0 16px;
  background: linear-gradient(135deg, #FEF3C7, #FDE68A);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  animation: slideUpFade 0.5s ease 0.4s both;
}
body.dark .dash-notice {
  background: linear-gradient(135deg, #2A2000, #3A2A00);
}
.dash-notice-icon { font-size: 22px; }
.dash-notice-title {
  font-size: 13px;
  font-weight: 700;
  color: #92400E;
  margin-bottom: 4px;
}
body.dark .dash-notice-title { color: #F59E0B; }
.dash-notice-text { font-size: 12px; color: #78350F; line-height: 1.5; }
body.dark .dash-notice-text { color: #D97706; }

.dash-withdraw-btn {
  margin: 12px 16px 0;
  width: calc(100% - 32px);
  padding: 14px;
  background: linear-gradient(135deg, #8B1A2E, #C9A84C);
  color: white;
  border: none;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: transform 0.2s;
  animation: slideUpFade 0.5s ease 0.5s both;
}
.dash-withdraw-btn:hover { transform: translateY(-2px); }

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

@keyframes rocketLaunch {
  0%   { transform: translateY(0) scale(1) rotate(0deg); opacity: 1; }
  20%  { transform: translateY(-8px) scale(1.2) rotate(-5deg); }
  50%  { transform: translateY(-120vh) scale(1.4) rotate(-10deg); opacity: 0.8; }
  51%  { transform: translateY(-120vh) scale(0); opacity: 0; }
  52%  { transform: translateY(120vh) scale(0); opacity: 0; }
  70%  { transform: translateY(20px) scale(1.3) rotate(5deg); opacity: 1; }
  85%  { transform: translateY(-8px) scale(1.1); }
  100% { transform: translateY(0) scale(1) rotate(0deg); opacity: 1; }
}

@keyframes rocketTrail {
  0%   { opacity: 0; height: 0; }
  20%  { opacity: 1; height: 40px; }
  50%  { opacity: 0.5; height: 80px; }
  100% { opacity: 0; height: 0; }
}

.rocket-launching {
  animation: rocketLaunch 1.8s cubic-bezier(0.4, 0, 0.2, 1) forwards !important;
  display: inline-block;
}

@keyframes countPop {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.6); color: #C9A84C; }
  100% { transform: scale(1); }
}
.streak-pop {
  animation: countPop 0.5s ease forwards;
}

#rocketOverlay {
  position: fixed;
  inset: 0;
  z-index: 99998;
  pointer-events: none;
  overflow: hidden;
}
.fly-rocket {
  position: absolute;
  font-size: 48px;
  animation: flyAcross 1.8s cubic-bezier(0.4,0,0.2,1) forwards;
  filter: drop-shadow(0 0 20px #C9A84C);
}
@keyframes flyAcross {
  0%   { bottom: 60px; left: 50%; transform: translateX(-50%) scale(1) rotate(0deg); opacity: 1; }
  30%  { bottom: 50vh; left: 50%; transform: translateX(-50%) scale(1.5) rotate(-15deg); opacity: 1; }
  60%  { bottom: 100vh; left: 60%; transform: translateX(-50%) scale(2) rotate(-20deg); opacity: 0.6; }
  61%  { bottom: 100vh; opacity: 0; }
  62%  { bottom: -80px; left: 50%; transform: translateX(-50%) scale(0.5) rotate(0deg); opacity: 0; }
  80%  { bottom: 80px; left: 50%; transform: translateX(-50%) scale(1.2) rotate(5deg); opacity: 1; }
  90%  { bottom: 50px; transform: translateX(-50%) scale(1.05) rotate(-2deg); }
  100% { bottom: 60px; left: 50%; transform: translateX(-50%) scale(1) rotate(0deg); opacity: 1; }
}

@keyframes sparkle {
  0%   { transform: scale(0) rotate(0deg); opacity: 1; }
  50%  { transform: scale(1.5) rotate(180deg); opacity: 1; }
  100% { transform: scale(0) rotate(360deg); opacity: 0; }
}
.sparkle-coin {
  position: fixed;
  font-size: 24px;
  animation: sparkle 1s ease forwards;
  pointer-events: none;
  z-index: 99999;
}

.home-options-section {
  padding: 0 60px 40px;
  background: var(--bg);
}
.home-options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1080px;
  margin: 0 auto;
}
@media(max-width:900px){
  .home-options-grid { grid-template-columns: repeat(2, 1fr); }
}
.home-option-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  transition: all 0.25s ease;
  animation: fadeUp 0.5s ease both;
  border-left: 4px solid var(--card-color);
}
.home-option-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
  border-color: var(--card-color);
}
.hoc-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}
.hoc-body { flex: 1; }
.hoc-title {
  font-family: 'Syne', sans-serif;
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 4px;
}
.hoc-desc {
  font-size: 12px;
  color: var(--gray);
  line-height: 1.4;
}
.hoc-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
  transition: transform 0.2s;
}
.home-option-card:hover .hoc-arrow {
  transform: translateX(3px);
}
@media (max-width: 768px) {
  .home-options-section { padding: 0 16px 32px; }
  .home-options-grid { grid-template-columns: 1fr; gap: 12px; }
  .home-option-card { padding: 18px 16px; }
}

.mini-footer {
  text-align: center;
  font-size: 11px;
  color: rgba(255,255,255,0.25);
  padding: 14px;
  border-top: 1px solid rgba(255,255,255,0.07);
  background: transparent;
  margin-top: 20px;
}
body:not(.dark) .mini-footer {
  color: var(--gray);
  border-top: 1px solid var(--border);
}

.app-layout {
  display: flex;
  min-height: 100vh;
  position: relative;
}

.page-content {
  flex: 1;
  margin-left: 240px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

.top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: var(--card-bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 40;
  gap: 12px;
  transition: background 0.3s, border-color 0.3s;
}

.top-nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

@media (min-width: 768px) {

  .page-section.active-page .app-layout .sidebar {
    transform: translateX(0) !important;
    display: flex !important;
  }

  .page-section:not(.active-page) .sidebar {
    display: none !important;
  }
  .top-nav .hamburger {
    display: none !important;
  }

  .overlay, #dashOverlay, #calcOverlay, #calOverlay, #holOverlay, #attOverlay {
    display: none !important;
  }
}


