@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&display=swap');

:root {
  --bg-deep: #0b0d17;
  --bg-card: rgba(15, 17, 30, 0.85);
  --bg-input: rgba(255, 255, 255, 0.04);
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-card: rgba(255, 255, 255, 0.08);
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --accent-rose: #f43f5e;
  --accent-purple: #a855f7;
  --accent-orange: #fb923c;
  --accent-cyan: #06b6d4;
  --accent-amber: #fbbf24;
  --gradient-primary: linear-gradient(135deg, #f43f5e, #a855f7);
  --gradient-cyan: linear-gradient(135deg, #06b6d4, #3b82f6);
  --gradient-button: linear-gradient(135deg, #f43f5e, #c026d3, #a855f7);
  --gradient-glow: 0 0 30px rgba(244, 63, 94, 0.3);
  --radius: 16px;
  --radius-sm: 10px;
}

/* 1. Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-deep);
  color: var(--text-primary);
  font-family: 'Fredoka', system-ui, sans-serif;
  scroll-behavior: smooth;
  min-height: 100vh;
  opacity: 1;
}

/* 2. Ambient background canvas */
#bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  opacity: 0.4;
  pointer-events: none;
}

/* 3. .wrap */
.wrap {
  max-width: 480px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* 4. Profile/Hero section */
.hero-card {
  background: rgba(20, 25, 45, 0.5);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-card);
  border-radius: 28px;
  padding: 40px 20px 30px;
  margin-top: 40px;
  margin-bottom: 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
  width: 100%;
}

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

.av-wrap {
  position: relative;
  width: 100px;
  margin: 0 auto;
}

.av-ring {
  width: 110px !important;
  height: 110px !important;
  border-radius: 50%;
  padding: 3px;
  background: conic-gradient(#f43f5e, #a855f7, #06b6d4, #f43f5e);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.av-glow {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  filter: blur(25px);
  background: var(--gradient-primary);
  opacity: 0.5;
  z-index: -1;
  top: 0;
  left: 0;
}

.av-inner {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  z-index: 0;
}

.av-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.av-dot {
  position: absolute;
  bottom: 5px;
  right: 5px;
  width: 14px;
  height: 14px;
  background-color: #22c55e;
  border-radius: 50%;
  border: 3px solid var(--bg-deep);
  z-index: 2;
  animation: pulse 2s infinite;
}

.pname {
  font-size: 1.8rem;
  font-weight: 800;
  margin-top: 16px;
  text-align: center;
}

.pquote {
  color: var(--text-secondary);
  font-size: 0.9rem;
  text-align: center;
  line-height: 1.6;
  margin-top: 8px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.tag {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  display: flex;
  align-items: center;
}

.tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-rose);
  margin-right: 6px;
  display: inline-block;
}

.tag-cyan {
  background: rgba(6, 182, 212, 0.1);
  color: var(--accent-cyan);
  border: 1px solid rgba(6, 182, 212, 0.2);
}

.tag-purple {
  background: rgba(168, 85, 247, 0.1);
  color: var(--accent-purple);
  border: 1px solid rgba(168, 85, 247, 0.2);
}

/* 5. .section-label */
.section-label {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  margin: 30px 0 20px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* 6. Link buttons */
.links {
  display: flex;
  flex-direction: column;
}

.dbtn {
  background: var(--bg-card);
  border: 1px solid rgba(244, 63, 94, 0.2);
  border-radius: var(--radius);
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 12px;
  text-decoration: none;
  color: inherit;
}

.dbtn:hover {
  border-color: rgba(244, 63, 94, 0.5);
  transform: translateY(-2px);
  box-shadow: var(--gradient-glow);
}

.dbtn-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.d-ic {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.d-ic svg {
  width: 20px;
  height: auto;
}

.dlabel {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-primary);
}

.lsub {
  font-size: 0.78rem;
  color: var(--text-secondary);
  display: block;
}

.dbadge {
  background: var(--gradient-primary);
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
}

.lbtn {
  display: flex;
  align-items: center;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 12px 20px;
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
  margin-bottom: 12px;
  justify-content: space-between;
  cursor: pointer;
}

.lbtn:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(6, 182, 212, 0.4);
  transform: translateY(-2px);
}

.lbtn:active {
  transform: scale(0.98);
}

.lic {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 20px;
}

/* Facebook color */
.fb-ic {
  background: rgba(24, 119, 242, 0.15);
  color: #1877F2;
}
.lbtn:hover:has(.fb-ic) {
  border-color: rgba(24, 119, 242, 0.6);
  box-shadow: 0 0 15px rgba(24, 119, 242, 0.2), inset 0 0 10px rgba(24, 119, 242, 0.1);
}

/* Instagram Color */
.ig-ic {
  background: rgba(225, 48, 108, 0.15);
  color: #E1306C;
}
.lbtn:hover:has(.ig-ic) {
  border-color: rgba(225, 48, 108, 0.6);
  box-shadow: 0 0 15px rgba(225, 48, 108, 0.2), inset 0 0 10px rgba(225, 48, 108, 0.1);
}

/* TikTok Color */
.tk-ic {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}
.lbtn:hover:has(.tk-ic) {
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.2), inset 0 0 10px rgba(255, 255, 255, 0.1);
}

/* Zalo Color */
.zl-ic {
  background: rgba(0, 104, 255, 0.15);
  color: #0068FF;
}
.lbtn:hover:has(.zl-ic) {
  border-color: rgba(0, 104, 255, 0.6);
  box-shadow: 0 0 15px rgba(0, 104, 255, 0.2), inset 0 0 10px rgba(0, 104, 255, 0.1);
}

.l-sad-icon {
  font-size: 1.2rem;
  margin-left: auto;
  opacity: 0.6;
}

.llabel {
  font-weight: 700;
  font-size: 1rem;
}

.larr {
  color: var(--text-muted);
  font-size: 1.2rem;
}

.linfo {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* 7. Footer */
footer {
  margin-top: 40px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  padding-bottom: 20px;
}

footer .heart {
  color: var(--accent-rose);
  display: inline-block;
}

@keyframes pulseHeart {
  0% { transform: scale(1); }
  14% { transform: scale(1.3); }
  28% { transform: scale(1); }
  42% { transform: scale(1.3); }
  70% { transform: scale(1); }
}
.pulse {
  animation: pulseHeart 1.5s infinite;
}

/* 8. Donate page body (.donate-page) */
.donate-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
}

.donate-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.donate-header-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--accent-rose);
}

.donate-header-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.donate-header-info {
  display: flex;
  flex-direction: column;
}

.donate-header-name {
  font-weight: 700;
  font-size: 1rem;
}

.donate-header-sub {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

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

.header-auth-btn {
  padding: 8px 20px;
  border-radius: 8px;
  border: 1px solid var(--border-card);
  background: transparent;
  color: var(--text-primary);
  font-weight: 600;
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 0.3s ease;
}

.header-auth-btn:hover {
  border-color: rgba(244, 63, 94, 0.4);
  color: var(--accent-rose);
}

.header-home-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--bg-input);
  border: 1px solid var(--border-card);
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.header-home-btn svg {
  width: 20px;
  height: auto;
}

.header-home-btn:hover {
  background: var(--bg-card);
}

/* 9. Donate content */
.donate-content {
  max-width: 560px;
  margin: 30px auto;
  padding: 0 20px;
}

/* 10. Donate form card */
.donate-card {
  background: rgba(20, 25, 45, 0.5);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-card);
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.donate-form-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 24px;
}

.fg {
  margin-bottom: 20px;
}

.fg-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  display: block;
}

.minput {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.95rem;
  outline: none;
  transition: border 0.3s;
}

.minput:focus {
  border-color: rgba(244, 63, 94, 0.5);
}

.minput::placeholder {
  color: var(--text-muted);
}

.amount-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.amount-input-wrap {
  flex: 1;
}

.preset-btns {
  display: flex;
  gap: 6px;
}

.preset-btn {
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.preset-btn:hover {
  border-color: var(--accent-rose);
  color: var(--accent-rose);
}

.preset-btn.active {
  background: var(--gradient-primary);
  color: white;
  border-color: transparent;
}

textarea.minput {
  resize: none;
  min-height: 100px;
}

.char-count {
  text-align: right;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.donate-notice {
  background: rgba(244, 63, 94, 0.08);
  border: 1px solid rgba(244, 63, 94, 0.15);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 20px;
}

.donate-notice strong {
  color: var(--accent-rose);
  font-size: 0.85rem;
  display: block;
  margin-bottom: 4px;
}

.donate-notice span {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* 11. Buttons */
.pbtn {
  width: 100%;
  padding: 14px;
  border-radius: var(--radius-sm);
  border: none;
  background: var(--gradient-button);
  color: white;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  text-align: center;
}

.pbtn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(244, 63, 94, 0.3);
}

.sbtn {
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  background: transparent;
  color: var(--text-primary);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.sbtn:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

/* 12. QR Section */
.qr-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  padding: 28px;
  backdrop-filter: blur(10px);
  text-align: center;
}

.qr-title {
  font-size: 1.3rem;
  font-weight: 800;
}

.qr-subtitle {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

.qr-bg {
  background: white;
  padding: 10px;
  border-radius: 12px;
  margin: 20px auto;
  width: 220px;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.countdown-wrap {
  margin-top: 16px;
}

#countdown {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent-amber);
}

/* 13. Auth Modal */
#authModal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  z-index: 1000;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
}

.auth-card {
  background: #111427;
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  padding: 32px;
  width: 90%;
  max-width: 420px;
  position: relative;
}

.auth-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease;
}

.auth-close:hover {
  color: var(--text-primary);
}

.auth-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.auth-subtitle {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.auth-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
}

.auth-tab {
  flex: 1;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: var(--text-primary);
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  font-size: 0.9rem;
  transition: all 0.3s;
}

.auth-tab.active {
  background: var(--gradient-button);
  border: none;
  color: white;
}

.auth-field {
  margin-bottom: 16px;
}

.auth-field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.auth-field input {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.95rem;
  outline: none;
  transition: border 0.3s;
}

.auth-field input:focus {
  border-color: rgba(244, 63, 94, 0.5);
}

.auth-field input::placeholder {
  color: var(--text-muted);
}

.auth-forgot {
  color: var(--accent-rose);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  background: none;
  border: none;
  margin-bottom: 20px;
  display: block;
  transition: text-decoration 0.3s ease;
}

.auth-forgot:hover {
  text-decoration: underline;
}

.auth-submit {
  width: 100%;
  padding: 14px;
  border-radius: var(--radius-sm);
  border: none;
  background: var(--gradient-button);
  color: white;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  text-align: center;
  margin-top: 8px;
}

.auth-submit:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(244, 63, 94, 0.3);
}

/* 14. Admin panel (misc) */
.admin-donate-card {
  border-color: var(--accent-rose);
}

/* 15. Animations */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* 16. Responsive */
@media (max-width: 600px) {
  .wrap {
    padding: 30px 15px;
  }
  
  .donate-content {
    margin: 20px auto;
    padding: 0 15px;
  }
  
  .donate-card, .qr-card {
    padding: 20px;
  }
  
  .pname {
    font-size: 1.5rem;
  }
  
  .dlabel {
    font-size: 0.95rem;
  }
  
  .amount-row {
    flex-direction: column;
    align-items: stretch;
  }
  
  .preset-btns {
    justify-content: space-between;
  }
}
.lbtn::before, .dbtn::before, .pbtn::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: inherit;
  background: radial-gradient(
    400px circle at var(--mouse-x, 0) var(--mouse-y, 0),
    rgba(255, 255, 255, 0.15),
    transparent 40%
  );
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  z-index: 1;
}

.lbtn:hover::before, .dbtn:hover::before, .pbtn:hover::before {
  opacity: 1;
}

.fb-ic { background: #1877F2 !important; color: #fff !important; }
.ig-ic { background: radial-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888) !important; color: #fff !important; }
.tk-ic { background: #000 !important; color: #fff !important; border: 1px solid rgba(255,255,255,0.2) !important; }
.zl-ic { background: #0068FF !important; color: #fff !important; }
.linfo {
  flex-grow: 1 !important;
  margin-left: 15px !important;
  text-align: left !important;
}
.llabel {
  display: block;
  font-weight: 600;
  font-size: 1.1rem;
}

/* ---- Fix icon image sizes inside .lic ---- */
.lic {
  overflow: hidden;
}
.lic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Override for SVG icons that need padding */
.lic.icon-pad img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

/* Fix avatar sizing */
.av-inner, .av-img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  object-position: center top;
}

/* Zalo override - no extra padding */
.lic.zl-wrap {
  padding: 0;
  overflow: hidden;
}

/* ======= AVATAR FULL FIX ======= */
.av-wrap {
  position: relative;
  width: 110px;
  height: 110px;
  margin: 0 auto 16px;
}
.av-ring {
  width: 110px !important;
  height: 110px !important;
  position: absolute;
  top: 0; left: 0;
  border-radius: 50%;
  background: conic-gradient(#f43f5e, #a855f7, #06b6d4, #f43f5e);
  padding: 3px;
  z-index: 2;
}
.av-inner {
  width: 100% !important;
  height: 100% !important;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-deep);
}
.av-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center top !important;
  display: block;
  border-radius: 50%;
}
.av-glow {
  width: 110px !important;
  height: 110px !important;
}
.av-dot {
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 14px;
  height: 14px;
  background: #22c55e;
  border-radius: 50%;
  border: 3px solid var(--bg-deep);
  z-index: 3;
}


/* ======= AVATAR FINAL FIX ======= */
.av-wrap {
  position: relative !important;
  width: 110px !important;
  height: 110px !important;
  margin: 0 auto 16px !important;
}
.av-ring {
  position: absolute !important;
  inset: 0 !important;
  width: 110px !important;
  height: 110px !important;
  border-radius: 50% !important;
  background: conic-gradient(#f43f5e, #a855f7, #06b6d4, #f43f5e) !important;
  padding: 0 !important;
  z-index: 1 !important;
  -webkit-mask: none !important;
  mask: none !important;
}
.av-inner {
  position: absolute !important;
  inset: 3px !important;
  width: auto !important;
  height: auto !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  z-index: 2 !important;
  background: var(--bg-deep) !important;
}
.av-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center 20% !important;
  display: block !important;
}
.av-glow {
  position: absolute !important;
  inset: 0 !important;
  width: 110px !important;
  height: 110px !important;
  border-radius: 50% !important;
  filter: blur(20px) !important;
  background: var(--gradient-primary) !important;
  opacity: 0.4 !important;
  z-index: 0 !important;
}
.av-dot {
  position: absolute !important;
  bottom: 5px !important;
  right: 5px !important;
  width: 14px !important;
  height: 14px !important;
  background: #22c55e !important;
  border-radius: 50% !important;
  border: 3px solid var(--bg-deep) !important;
  z-index: 3 !important;
}

/* ===== GALAXY + SPACING FIXES ===== */
/* Nền trong suốt để thấy canvas galaxy */
body {
  background-color: transparent !important;
}
#bg {
  opacity: 1 !important;
}

/* Tên Wind sát với avatar hơn */
.pname {
  margin-top: 8px !important;
  font-size: 2rem !important;
  font-weight: 700 !important;
  letter-spacing: 1px !important;
}

/* Hero card trong suốt hơn để thấy galaxy qua */
.hero-card {
  background: rgba(10, 14, 35, 0.55) !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
}

/* Các nút link cũng trong suốt hơn */
.lbtn, .dbtn {
  background: rgba(255,255,255,0.04) !important;
  border-color: rgba(255,255,255,0.07) !important;
}

/* Galaxy canvas cho trang donate */
#bg-donate {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  z-index: -1;
  pointer-events: none;
}

.donate-page {
  background-color: transparent !important;
}

/* ===== SOCIAL ICON CHUẨN HÓA ===== */
/* Class này thay thế .lic cho 4 nút MXH, đảm bảo tất cả CÙNG kích thước + bo tròn */
.soc-ic {
  width: 46px !important;
  height: 46px !important;
  min-width: 46px;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  overflow: hidden !important;
}

/* SVG icon bên trong .soc-ic (FB, TikTok, IG) */
.soc-ic img[src$=".svg"] {
  width: 24px !important;
  height: 24px !important;
  object-fit: contain !important;
  filter: brightness(0) invert(1);
}

/* Ảnh thật bên trong .soc-ic (Zalo) */
.soc-ic img[src$=".jpg"],
.soc-ic img[src$=".png"] {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* TikTok SVG không invert (đã là trắng) */
.soc-ic img[src*="tiktok"] {
  filter: none !important;
}

/* ===== CÂN ĐỐI LẠI TOÀN BỘ ICON ===== */
/* Tăng kích thước khung lên chút xíu cho chuẩn */
.soc-ic, .dbtn .lic, .d-ic {
  width: 48px !important;
  height: 48px !important;
  min-width: 48px;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  overflow: hidden !important;
}

/* Kích thước chung cho các icon SVG */
.soc-ic img[src$=".svg"] {
  width: 24px !important;
  height: 24px !important;
  object-fit: contain !important;
  filter: brightness(0) invert(1);
}

/* Fix TikTok bị bé: Phóng to riêng icon TikTok lên 28px */
.soc-ic img[src*="tiktok"] {
  width: 28px !important;
  height: 28px !important;
  filter: none !important;
}

/* Fix Facebook chữ f hơi nhỏ */
.soc-ic img[src*="facebook"] {
  width: 28px !important;
  height: 28px !important;
}

/* Fix Instagram */
.soc-ic img[src*="instagram"] {
  width: 26px !important;
  height: 26px !important;
}

/* Fix Zalo: Nền trắng, thu nhỏ ảnh lại 1 xíu (padding) để không bị quá to */
.soc-ic.zalo-fix {
  background: #fff !important;
  padding: 2px !important;
}
.soc-ic.zalo-fix img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 50% !important;
}

/* ===== CẬP NHẬT GIAO DIỆN QUẢN LÝ TÀI KHOẢN ===== */
.user-menu-wrap {
  position: relative;
}

.user-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 5px 15px 5px 5px;
  border-radius: 30px;
  cursor: pointer;
  color: white;
  font-family: inherit;
  font-weight: 700;
  transition: all 0.3s ease;
}

.user-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(56, 189, 248, 0.5);
}

.user-btn img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
}

.user-dropdown {
  position: absolute;
  top: 110%;
  right: 0;
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  min-width: 150px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  z-index: 100;
}

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

.dropdown-item {
  background: transparent;
  border: none;
  color: #e2e8f0;
  padding: 10px 15px;
  text-align: left;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s;
}

.dropdown-item:hover {
  background: rgba(255,255,255,0.08);
  color: white;
}

/* Bảng Lịch sử Donate */
.history-table-wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.1);
  margin-top: 15px;
}

.history-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  text-align: left;
}

.history-table th {
  background: rgba(255,255,255,0.05);
  color: #cbd5e1;
  padding: 12px 15px;
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.history-table td {
  padding: 12px 15px;
  color: #f1f5f9;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.history-table tr:last-child td {
  border-bottom: none;
}


/* =========================================================
   CUTE PINK THEME FOR DONATE PAGE (MATCHING SAMPLE 100%)
   ========================================================= */
body.cute-pink-theme {
  background: linear-gradient(180deg, #ffeaf2 0%, #ffd8e8 50%, #fce4f0 100%) !important;
  color: #4a3540 !important;
  font-family: 'Fredoka', 'Segoe UI', Tahoma, sans-serif !important;
  min-height: 100vh;
  padding-bottom: 50px;
}

.cute-top-nav {
  max-width: 480px;
  margin: 0 auto;
  padding: 14px 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cute-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.75);
  border: 1.5px solid #f9c6d9;
  color: #c93b6b;
  padding: 6px 13px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(235, 87, 143, 0.1);
}

.cute-nav-btn:hover {
  background: #ffffff;
  border-color: #f45b92;
  transform: translateY(-1px);
}

.cute-hero-banner {
  text-align: center;
  max-width: 460px;
  margin: 10px auto 18px;
  padding: 0 16px;
}

.cute-top-icons {
  font-size: 2.6rem;
  line-height: 1.1;
  margin-bottom: 6px;
  filter: drop-shadow(0 3px 6px rgba(219, 39, 119, 0.18));
}

.cute-main-title {
  color: #d6336c;
  font-size: 1.55rem;
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: 0.3px;
}

.cute-main-sub {
  color: #8c6d79;
  font-size: 0.92rem;
  font-weight: 500;
}

.cute-wrap {
  max-width: 450px;
  margin: 0 auto;
  padding: 0 14px;
}

.cute-card {
  background: #ffffff;
  border: 3px solid #f8d0df;
  border-radius: 26px;
  padding: 22px 20px 26px;
  box-shadow: 0 12px 30px rgba(236, 72, 153, 0.12), 0 4px 0 #f3bfd3;
}

.admin-cute-card {
  border-color: #fb7185;
  background: #fffafa;
}

.cute-admin-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #e11d48;
  margin-bottom: 8px;
}

.cute-admin-desc {
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 8px;
  font-weight: 600;
}

.cute-mode-pill {
  width: 100%;
  background: linear-gradient(90deg, #ff6b9d 0%, #ff4785 100%);
  color: #ffffff;
  text-align: center;
  padding: 11px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.96rem;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(255, 71, 133, 0.28);
}

.cute-fg {
  margin-bottom: 16px;
}

.cute-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #7c5c68;
  margin-bottom: 8px;
}

.cute-input {
  width: 100%;
  padding: 13px 16px;
  background: #fffbfc;
  border: 1.8px solid #f3d1dc;
  border-radius: 14px;
  color: #3d2a32;
  font-size: 0.96rem;
  font-family: inherit;
  font-weight: 600;
  outline: none;
  transition: all 0.2s ease;
}

.cute-input:focus {
  border-color: #ff4d88;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(255, 77, 136, 0.12);
}

.cute-input::placeholder {
  color: #9e848e;
  font-weight: 500;
}

.cute-amount-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 12px;
}

.cute-amt-btn {
  padding: 12px 10px !important;
  border-radius: 14px !important;
  border: 1.8px solid #f3d1dc !important;
  background: #ffffff !important;
  color: #1f161a !important;
  font-size: 0.98rem !important;
  font-weight: 700 !important;
  font-family: inherit !important;
  cursor: pointer;
  transition: all 0.18s ease !important;
  text-align: center;
}

.cute-amt-btn:hover {
  border-color: #ff5c93 !important;
  background: #fff5f8 !important;
}

.cute-amt-btn.active {
  background: linear-gradient(135deg, #ff6699 0%, #ff4785 100%) !important;
  color: #ffffff !important;
  border-color: #ff4785 !important;
  box-shadow: 0 4px 12px rgba(255, 71, 133, 0.3) !important;
}

.cute-badge-plus {
  background: #fcd34d;
  color: #92400e;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
}

.cute-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.card-item-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 10px 4px;
  background: #ffffff;
  border: 1.8px solid #f3d1dc;
  border-radius: 14px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.18s ease;
}

.card-item-btn:hover {
  border-color: #ff5c93;
  background: #fff7fa;
}

.card-item-btn.active {
  background: #fff0f5;
  border: 2.2px solid #ff4d88;
  box-shadow: 0 3px 10px rgba(255, 77, 136, 0.18);
}

.card-emoji {
  font-size: 1.35rem;
  line-height: 1;
}

.card-name {
  font-size: 0.78rem;
  font-weight: 700;
  color: #2d1f24;
}

.cute-textarea {
  resize: none;
  min-height: 84px;
}

.cute-submit-btn {
  width: 100%;
  background: linear-gradient(180deg, #ff5c93 0%, #f43f7a 100%);
  color: #ffffff;
  border: none;
  border-radius: 16px;
  padding: 15px 20px;
  font-size: 1.08rem;
  font-weight: 800;
  font-family: inherit;
  letter-spacing: 0.5px;
  cursor: pointer;
  box-shadow: 0 5px 0 #c91d56, 0 8px 20px rgba(244, 63, 122, 0.35);
  transition: all 0.15s ease;
  margin-top: 6px;
}

.cute-submit-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

.cute-submit-btn:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 #c91d56, 0 4px 10px rgba(244, 63, 122, 0.25);
}

.cute-secondary-btn {
  background: #fff0f5;
  color: #d6336c;
  border: 1.8px solid #f8bbd0;
  border-radius: 12px;
  padding: 10px 14px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
}

.cute-secondary-btn:hover {
  background: #ffe0ec;
  border-color: #ff4d88;
}

/* QR Section Cute Style */
.cute-qr-card {
  text-align: center;
}

.cute-qr-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #d6336c;
}

.cute-qr-sub {
  font-size: 0.88rem;
  color: #8c6d79;
  margin-top: 4px;
}

.cute-qr-box {
  background: #ffffff;
  border: 3px solid #ffd6e5;
  padding: 12px;
  border-radius: 18px;
  margin: 18px auto;
  width: 230px;
  height: 230px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(236, 72, 153, 0.12);
}

.cute-qr-amount {
  font-size: 1.75rem;
  font-weight: 800;
  color: #e11d48;
  margin-bottom: 8px;
}

.cute-qr-code-line {
  font-size: 0.95rem;
  color: #64748b;
  background: #fff5f8;
  display: inline-block;
  padding: 6px 16px;
  border-radius: 99px;
  border: 1px dashed #f472b6;
}

.cute-qr-code-line strong {
  color: #be185d;
}

.cute-qr-note {
  margin-top: 10px;
  font-size: 0.82rem;
  color: #7c5c68;
  line-height: 1.45;
}

.cute-qr-note strong {
  color: #e11d48;
}

.cute-countdown {
  margin-top: 14px;
  font-size: 0.92rem;
  color: #7c5c68;
}

.cute-countdown strong {
  color: #e11d48;
  font-size: 1.1rem;
}

/* Modal Cute Style */
.cute-modal-card {
  background: #ffffff;
  border: 3px solid #f8d0df;
  border-radius: 24px;
  padding: 26px 22px;
  width: 90%;
  max-width: 400px;
  position: relative;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.cute-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid #f3d1dc;
  background: #fff5f8;
  color: #c93b6b;
  font-weight: 700;
  cursor: pointer;
}

.cute-modal-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #d6336c;
  margin-bottom: 4px;
}

.cute-modal-sub {
  font-size: 0.85rem;
  color: #8c6d79;
  margin-bottom: 18px;
}

@media (max-width: 420px) {
  .cute-card-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
  }
  .card-name {
    font-size: 0.72rem;
  }
}


/* =========================================================
   OUTER CUTE PINK PASTEL BACKGROUND & HOME PAGE SYNC
   ========================================================= */
body.cute-pink-theme {
  position: relative;
  overflow-x: hidden;
  background-color: #ffeaf2 !important;
  background-image:
    radial-gradient(circle at 15% 18%, rgba(255, 182, 213, 0.55) 0%, transparent 42%),
    radial-gradient(circle at 85% 22%, rgba(255, 205, 228, 0.6) 0%, transparent 45%),
    radial-gradient(circle at 50% 85%, rgba(252, 165, 208, 0.45) 0%, transparent 50%),
    radial-gradient(#f9bdd5 1.35px, transparent 1.35px),
    linear-gradient(180deg, #fff0f6 0%, #ffe0ec 48%, #ffd6e7 100%) !important;
  background-size: 100% 100%, 100% 100%, 100% 100%, 28px 28px, 100% 100% !important;
  background-attachment: fixed !important;
}

#bg-cute {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

.cute-ambient-decor {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.floating-badge {
  position: absolute;
  font-size: 1.7rem;
  opacity: 0.45;
  filter: drop-shadow(0 4px 8px rgba(236, 72, 153, 0.2));
  animation: cuteFloatAround 7s ease-in-out infinite;
  user-select: none;
}

.floating-badge.fb-1 { top: 12%; left: 7%; animation-delay: 0s; font-size: 1.9rem; }
.floating-badge.fb-2 { top: 24%; right: 8%; animation-delay: 1.2s; font-size: 1.6rem; }
.floating-badge.fb-3 { bottom: 18%; left: 9%; animation-delay: 2.5s; font-size: 1.5rem; }
.floating-badge.fb-4 { bottom: 26%; right: 7%; animation-delay: 0.8s; font-size: 1.8rem; }
.floating-badge.fb-5 { top: 55%; left: 5%; animation-delay: 1.8s; font-size: 1.65rem; }
.floating-badge.fb-6 { top: 62%; right: 6%; animation-delay: 3.1s; font-size: 1.75rem; }

@keyframes cuteFloatAround {
  0%, 100% { transform: translateY(0px) rotate(-6deg) scale(1); }
  50% { transform: translateY(-14px) rotate(8deg) scale(1.08); }
}

@media (max-width: 720px) {
  .floating-badge {
    font-size: 1.25rem;
    opacity: 0.3;
  }
}

/* Đảm bảo toàn bộ nội dung nổi lên trên nền Canvas */
.cute-top-nav,
.cute-hero-banner,
.cute-wrap,
.wrap {
  position: relative;
  z-index: 2;
}

/* Trang chủ (index.html) đồng bộ chủ đề Cute Pink */
body.cute-pink-theme .cute-profile-card {
  background: rgba(255, 255, 255, 0.92) !important;
  border: 3px solid #f8d0df !important;
  box-shadow: 0 12px 30px rgba(236, 72, 153, 0.14), 0 4px 0 #f3bfd3 !important;
}

body.cute-pink-theme .cute-pname {
  color: #d6336c !important;
}

body.cute-pink-theme .cute-tag-pink {
  background: #fff0f5 !important;
  color: #d6336c !important;
  border: 1.5px solid #f8bbd0 !important;
}

body.cute-pink-theme .cute-tag-rose {
  background: #fef2f2 !important;
  color: #e11d48 !important;
  border: 1.5px solid #fecdd3 !important;
}

body.cute-pink-theme .cute-section-label {
  color: #b85d7d !important;
  font-weight: 700 !important;
}

body.cute-pink-theme .cute-dbtn {
  background: #ffffff !important;
  border: 2.5px solid #f472b6 !important;
  box-shadow: 0 8px 20px rgba(244, 63, 122, 0.14), 0 3px 0 #f3bfd3 !important;
}

body.cute-pink-theme .cute-dbtn:hover {
  transform: translateY(-2px);
  border-color: #ec4899 !important;
  box-shadow: 0 10px 25px rgba(244, 63, 122, 0.24), 0 4px 0 #f472b6 !important;
}

body.cute-pink-theme .cute-dbtn .dlabel {
  color: #d6336c !important;
}

body.cute-pink-theme .cute-dbtn .lsub {
  color: #8c6d79 !important;
}

body.cute-pink-theme .cute-lbtn {
  background: rgba(255, 255, 255, 0.9) !important;
  border: 2px solid #f8d0df !important;
  color: #4a3540 !important;
  box-shadow: 0 6px 16px rgba(236, 72, 153, 0.08), 0 3px 0 #f5c6d8 !important;
}

body.cute-pink-theme .cute-lbtn:hover {
  background: #ffffff !important;
  border-color: #ff5c93 !important;
  transform: translateY(-2px);
}

body.cute-pink-theme .cute-lbtn .larr {
  color: #d6336c !important;
  font-weight: 700;
}

body.cute-pink-theme footer {
  color: #9e6b7e !important;
  font-weight: 600 !important;
}

body.cute-pink-theme .user-dropdown {
  background: #ffffff !important;
  border: 2px solid #f8d0df !important;
  box-shadow: 0 10px 25px rgba(214, 51, 108, 0.18) !important;
}

body.cute-pink-theme .dropdown-item {
  color: #7c5c68 !important;
}

body.cute-pink-theme .dropdown-item:hover {
  background: #fff0f5 !important;
  color: #d6336c !important;
}


/* =========================================================
   AVATAR & SOCIAL MEDIA BAR ON DONATE PAGE (CUTE PINK)
   ========================================================= */
.cute-avatar-header-wrap {
  position: relative;
  width: 108px;
  height: 108px;
  margin: 4px auto 12px;
}

.cute-avatar-glow {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff4d88, #f472b6, #fda4af);
  filter: blur(14px);
  opacity: 0.48;
  z-index: 0;
}

.cute-avatar-ring {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, #ff4785 0%, #ff85b3 50%, #f43f5e 100%);
  box-shadow: 0 6px 18px rgba(214, 51, 108, 0.25), 0 0 0 3px #ffffff;
  z-index: 1;
  overflow: hidden;
}

.cute-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
  background: #fff0f5;
}

.cute-avatar-badge {
  position: absolute;
  top: -6px;
  right: -10px;
  background: #ffffff;
  border: 2px solid #f8bbd0;
  border-radius: 999px;
  padding: 2px 7px;
  font-size: 0.95rem;
  box-shadow: 0 3px 8px rgba(214, 51, 108, 0.18);
  z-index: 3;
  animation: cuteFloatAround 4s ease-in-out infinite;
}

.cute-online-dot {
  position: absolute;
  bottom: 5px;
  right: 5px;
  width: 16px;
  height: 16px;
  background: #22c55e;
  border: 3px solid #ffffff;
  border-radius: 50%;
  z-index: 3;
  box-shadow: 0 2px 6px rgba(34, 197, 94, 0.45);
}

/* Dải nút Mạng Xã Hội trên trang Donate */
.cute-social-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.cute-soc-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.92);
  border: 2px solid #f5c6d8;
  padding: 5px 12px 5px 6px;
  border-radius: 999px;
  text-decoration: none;
  color: #5c3b47;
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(236, 72, 153, 0.1), 0 2px 0 #f3bfd3;
  transition: all 0.2s ease;
}

.cute-soc-pill:hover {
  background: #ffffff;
  border-color: #ff4d88;
  color: #d6336c;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(236, 72, 153, 0.2), 0 3px 0 #f472b6;
}

.cute-soc-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.cute-soc-icon img[src$=".svg"] {
  width: 15px;
  height: 15px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.cute-soc-icon img[src*="tiktok"] {
  filter: none;
}

.cute-soc-icon.zl-icon-wrap {
  background: #ffffff;
  border: 1px solid #e2e8f0;
}

.cute-soc-icon.zl-icon-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}


/* =========================================================
   V5: INLINE SVG SOCIAL ICONS + CUTE PINK LOGIN & ADMIN UI
   ========================================================= */
.soc-ic svg {
  width: 24px !important;
  height: 24px !important;
  display: block;
}

.soc-ic.zalo-fix svg {
  width: 100% !important;
  height: 100% !important;
  border-radius: 50%;
}

/* Nền mờ hồng phấn cho Modal Đăng nhập & Lịch sử */
.cute-modal-backdrop,
#authModal,
#historyModal {
  position: fixed;
  inset: 0;
  background: rgba(214, 51, 108, 0.28) !important;
  backdrop-filter: blur(6px) !important;
  -webkit-backdrop-filter: blur(6px) !important;
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.cute-modal-card {
  background: linear-gradient(180deg, #fff9fb 0%, #ffffff 100%) !important;
  border: 3px solid #f8bbd0 !important;
  border-radius: 26px !important;
  padding: 28px 24px 26px !important;
  width: 92%;
  max-width: 400px;
  position: relative;
  text-align: center;
  box-shadow: 0 14px 36px rgba(236, 72, 153, 0.22), 0 5px 0 #f3bfd3 !important;
}

.cute-modal-icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff0f5;
  border: 2px solid #f8bbd0;
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 1.5rem;
  margin-bottom: 10px;
  box-shadow: 0 4px 10px rgba(236, 72, 153, 0.12);
}

.cute-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid #f8bbd0;
  background: #fff0f5;
  color: #d6336c;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cute-modal-close:hover {
  background: #ff4d88;
  color: #ffffff;
  border-color: #ff4d88;
  transform: rotate(90deg);
}

.cute-admin-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 2px dashed #f8bbd0;
}

.admin-cute-card {
  background: linear-gradient(180deg, #fff5f8 0%, #ffffff 100%) !important;
  border: 3px solid #f472b6 !important;
  box-shadow: 0 12px 28px rgba(236, 72, 153, 0.16), 0 4px 0 #f472b6 !important;
}

.cute-history-scroll {
  margin-top: 14px;
  max-height: 380px;
  overflow-y: auto;
  border-radius: 16px;
  border: 2px solid #fce7f3;
  background: #ffffff;
}

.cute-history-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  text-align: left;
}

.cute-history-table thead tr {
  background: #fff0f5;
  border-bottom: 2px solid #f8bbd0;
  color: #d6336c;
}

.cute-history-table th {
  padding: 11px 12px;
  font-weight: 700;
  white-space: nowrap;
}

.cute-history-table td {
  padding: 10px 12px;
  color: #4a3540;
}


/* =========================================================
   DUAL SEASON THEME: HALF AUTUMN (LEFT) & HALF WINTER (RIGHT)
   FOR THẦY GÁNH TẠ
   ========================================================= */
body.dual-season-theme {
  position: relative;
  overflow-x: hidden;
  color: #1e293b !important;
  font-family: 'Fredoka', 'Segoe UI', Tahoma, sans-serif !important;
  min-height: 100vh;
  padding-bottom: 50px;
  background-color: #fff7ed !important;
  background-image:
    radial-gradient(circle at 18% 20%, rgba(251, 146, 60, 0.35) 0%, transparent 45%),
    radial-gradient(circle at 82% 20%, rgba(56, 189, 248, 0.35) 0%, transparent 45%),
    linear-gradient(90deg, #ffedd5 0%, #fed7aa 44%, #fef3c7 50%, #e0f2fe 56%, #bae6fd 100%) !important;
  background-attachment: fixed !important;
}

#bg-seasons {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

.season-ambient-decor {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.season-badge {
  position: absolute;
  font-size: 1.85rem;
  opacity: 0.65;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.12));
  animation: cuteFloatAround 6.5s ease-in-out infinite;
  user-select: none;
}

/* Mùa Thu bên Trái */
.season-badge.autumn-b1 { top: 10%; left: 6%; animation-delay: 0s; font-size: 2.1rem; }
.season-badge.autumn-b2 { top: 32%; left: 4%; animation-delay: 1.1s; font-size: 1.75rem; }
.season-badge.autumn-b3 { bottom: 26%; left: 7%; animation-delay: 2.2s; font-size: 1.95rem; }
.season-badge.autumn-b4 { bottom: 10%; left: 12%; animation-delay: 0.6s; font-size: 1.65rem; }
.season-badge.autumn-b5 { top: 56%; left: 8%; animation-delay: 1.8s; font-size: 1.85rem; }

/* Mùa Đông bên Phải */
.season-badge.winter-b1 { top: 11%; right: 6%; animation-delay: 0.4s; font-size: 2.1rem; }
.season-badge.winter-b2 { top: 34%; right: 5%; animation-delay: 1.5s; font-size: 2rem; }
.season-badge.winter-b3 { bottom: 25%; right: 7%; animation-delay: 2.6s; font-size: 2.05rem; }
.season-badge.winter-b4 { bottom: 11%; right: 12%; animation-delay: 0.9s; font-size: 1.7rem; }
.season-badge.winter-b5 { top: 58%; right: 8%; animation-delay: 2.1s; font-size: 1.9rem; }

@media (max-width: 720px) {
  .season-badge {
    font-size: 1.35rem;
    opacity: 0.42;
  }
}

/* Đảm bảo nội dung nổi trên nền */
.cute-top-nav,
.cute-hero-banner,
.cute-wrap,
.wrap {
  position: relative;
  z-index: 2;
}

/* Thẻ Card Nửa Thu Nửa Đông */
body.dual-season-theme .season-profile-card,
body.dual-season-theme .season-card {
  position: relative;
  background: linear-gradient(135deg, rgba(255, 251, 235, 0.96) 0%, rgba(255, 255, 255, 0.98) 50%, rgba(240, 249, 255, 0.96) 100%) !important;
  border: 3px solid transparent !important;
  background-clip: padding-box !important;
  box-shadow:
    -8px 10px 26px rgba(234, 88, 12, 0.16),
    8px 10px 26px rgba(2, 132, 199, 0.16),
    0 4px 0 #cbd5e1 !important;
  border-radius: 26px !important;
}

body.dual-season-theme .season-profile-card::before,
body.dual-season-theme .season-card::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 28px;
  padding: 3px;
  background: linear-gradient(90deg, #ea580c 0%, #f59e0b 48%, #38bdf8 52%, #0284c7 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* Trang trí góc thẻ */
.season-corner-left {
  position: absolute;
  top: 12px;
  left: 16px;
  font-size: 1.25rem;
  pointer-events: none;
  filter: drop-shadow(0 2px 4px rgba(234, 88, 12, 0.25));
}

.season-corner-right {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 1.25rem;
  pointer-events: none;
  filter: drop-shadow(0 2px 4px rgba(2, 132, 199, 0.25));
}

/* Avatar Ring Nửa Thu Nửa Đông */
body.dual-season-theme .season-av-ring {
  background: conic-gradient(from 180deg, #ea580c 0deg, #f59e0b 90deg, #fbbf24 180deg, #38bdf8 180deg, #0284c7 270deg, #0369a1 360deg) !important;
}

body.dual-season-theme .season-av-glow {
  background: linear-gradient(90deg, #ea580c 0%, #0284c7 100%) !important;
  opacity: 0.55 !important;
}

/* Tên & Tiêu đề chuyển sắc Thu - Đông */
body.dual-season-theme .season-pname,
body.dual-season-theme .season-main-title,
body.dual-season-theme .cute-modal-title,
body.dual-season-theme .cute-qr-title {
  background: linear-gradient(90deg, #c2410c 0%, #d97706 45%, #0284c7 55%, #0369a1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800 !important;
}

body.dual-season-theme .season-main-sub {
  color: #334155 !important;
  font-weight: 600 !important;
}

/* Tag Mùa Thu & Mùa Đông */
body.dual-season-theme .season-tag-autumn {
  background: #fff7ed !important;
  color: #c2410c !important;
  border: 1.8px solid #fdba74 !important;
  font-weight: 700 !important;
}

body.dual-season-theme .season-tag-winter {
  background: #f0f9ff !important;
  color: #0369a1 !important;
  border: 1.8px solid #7dd3fc !important;
  font-weight: 700 !important;
}

body.dual-season-theme .season-section-label {
  color: #334155 !important;
  font-weight: 800 !important;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

/* Nút Donate Trang chủ */
body.dual-season-theme .season-dbtn {
  background: linear-gradient(90deg, #fff7ed 0%, #ffffff 50%, #f0f9ff 100%) !important;
  border: 2.5px solid #fb923c !important;
  box-shadow: -4px 6px 18px rgba(234, 88, 12, 0.15), 4px 6px 18px rgba(2, 132, 199, 0.15), 0 3px 0 #94a3b8 !important;
}

body.dual-season-theme .season-dbtn:hover {
  transform: translateY(-2px);
  border-color: #0284c7 !important;
}

body.dual-season-theme .season-d-ic,
body.dual-season-theme .d-ic {
  background: linear-gradient(135deg, #f43f5e, #a855f7) !important;
}

body.dual-season-theme .season-dbtn .dlabel {
  color: #c2410c !important;
}

body.dual-season-theme .season-dbtn .lsub {
  color: #475569 !important;
}

body.dual-season-theme .season-dbadge {
  background: linear-gradient(90deg, #ea580c 0%, #0284c7 100%) !important;
}

/* Các nút MXH Trang chủ */
body.dual-season-theme .season-lbtn {
  background: linear-gradient(90deg, rgba(255, 247, 237, 0.94) 0%, rgba(255, 255, 255, 0.96) 50%, rgba(240, 249, 255, 0.94) 100%) !important;
  border: 2px solid #cbd5e1 !important;
  color: #1e293b !important;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08), 0 3px 0 #cbd5e1 !important;
}

body.dual-season-theme .season-lbtn:hover {
  border-color: #f97316 !important;
  transform: translateY(-2px);
}

body.dual-season-theme .season-lbtn .larr {
  color: #0284c7 !important;
  font-weight: 800;
}

/* Nút điều hướng trên trang Donate */
body.dual-season-theme .season-nav-btn-left {
  background: #fff7ed !important;
  border: 2px solid #fdba74 !important;
  color: #c2410c !important;
}

body.dual-season-theme .season-nav-btn-right {
  background: #f0f9ff !important;
  border: 2px solid #7dd3fc !important;
  color: #0369a1 !important;
}

/* Input & Mệnh giá trên trang Donate */
body.dual-season-theme .cute-label {
  color: #334155 !important;
}

body.dual-season-theme .cute-input {
  background: #ffffff !important;
  border: 2px solid #cbd5e1 !important;
  color: #1e293b !important;
}

body.dual-season-theme .cute-input:focus {
  border-color: #ea580c !important;
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.14), 0 0 0 6px rgba(56, 189, 248, 0.1) !important;
}

body.dual-season-theme .cute-amt-btn.season-amt-autumn:hover {
  border-color: #f97316 !important;
  background: #fff7ed !important;
}

body.dual-season-theme .cute-amt-btn.season-amt-winter:hover {
  border-color: #0284c7 !important;
  background: #f0f9ff !important;
}

body.dual-season-theme .cute-amt-btn.active {
  background: linear-gradient(135deg, #ea580c 0%, #f59e0b 48%, #0284c7 100%) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.28) !important;
}

/* Nút Submit chính Nửa Thu Nửa Đông */
body.dual-season-theme .season-submit-btn {
  background: linear-gradient(90deg, #ea580c 0%, #f59e0b 45%, #0284c7 55%, #0369a1 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 5px 0 #1e3a8a, 0 8px 20px rgba(2, 132, 199, 0.3) !important;
}

body.dual-season-theme .cute-secondary-btn {
  background: linear-gradient(90deg, #fff7ed 0%, #f0f9ff 100%) !important;
  color: #c2410c !important;
  border: 2px solid #fdba74 !important;
}

body.dual-season-theme footer {
  color: #334155 !important;
  font-weight: 700 !important;
}

body.dual-season-theme .cute-modal-backdrop,
body.dual-season-theme #authModal,
body.dual-season-theme #historyModal {
  background: rgba(15, 23, 42, 0.45) !important;
}

body.dual-season-theme .cute-modal-icon-badge {
  background: linear-gradient(90deg, #fff7ed 0%, #f0f9ff 100%) !important;
  border: 2px solid #7dd3fc !important;
}

body.dual-season-theme .cute-modal-close {
  background: #fff7ed !important;
  border: 2px solid #fdba74 !important;
  color: #c2410c !important;
}

body.dual-season-theme .cute-modal-close:hover {
  background: #ea580c !important;
  color: #ffffff !important;
}


/* =========================================================
   SCENERY LAYER: RAINBOW BRIDGE, BIG AUTUMN TREE & SNOWMAN
   ========================================================= */
.season-scenery-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

/* Cầu vồng nối ở giữa 2 mùa (Thu - Đông) */
.rainbow-bridge-wrap {
  position: absolute;
  top: 2%;
  left: 50%;
  transform: translateX(-50%);
  width: min(860px, 96vw);
  opacity: 0.86;
  filter: drop-shadow(0 8px 24px rgba(255, 255, 255, 0.65));
  animation: rainbowPulseGlow 5s ease-in-out infinite;
}

.rainbow-svg {
  width: 100%;
  height: auto;
  display: block;
}

@keyframes rainbowPulseGlow {
  0%, 100% { transform: translateX(-50%) translateY(0px) scale(1); opacity: 0.84; }
  50% { transform: translateX(-50%) translateY(-6px) scale(1.02); opacity: 0.95; }
}

/* Cây cổ thụ Mùa Thu to đang rụng lá ở bên Trái */
.autumn-big-tree-wrap {
  position: absolute;
  bottom: -10px;
  left: -25px;
  width: clamp(230px, 30vw, 410px);
  z-index: 1;
  filter: drop-shadow(4px 10px 20px rgba(194, 65, 12, 0.22));
  transform-origin: bottom center;
  animation: treeGentleSway 7s ease-in-out infinite;
}

.autumn-tree-svg {
  width: 100%;
  height: auto;
  display: block;
}

@keyframes treeGentleSway {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(1.4deg); }
}

/* Lá rụng bay trực tiếp từ tán cây cổ thụ */
.tree-falling-leaf {
  position: absolute;
  font-size: 1.55rem;
  pointer-events: none;
  animation: leafShedFall 5.5s linear infinite;
}

.tree-falling-leaf.tfl-1 { top: 22%; left: 32%; animation-delay: 0s; }
.tree-falling-leaf.tfl-2 { top: 28%; left: 58%; animation-delay: 1.2s; font-size: 1.35rem; }
.tree-falling-leaf.tfl-3 { top: 18%; left: 72%; animation-delay: 2.5s; }
.tree-falling-leaf.tfl-4 { top: 35%; left: 42%; animation-delay: 3.6s; font-size: 1.45rem; }
.tree-falling-leaf.tfl-5 { top: 25%; left: 20%; animation-delay: 4.3s; }

@keyframes leafShedFall {
  0% {
    transform: translate(0, 0) rotate(0deg) scale(0.9);
    opacity: 0;
  }
  15% {
    opacity: 0.95;
  }
  85% {
    opacity: 0.9;
  }
  100% {
    transform: translate(85px, 280px) rotate(260deg) scale(1.05);
    opacity: 0;
  }
}

/* Người Tuyết To Quấn Khăn ở bên Phải (Mùa Đông) */
.winter-big-snowman-wrap {
  position: absolute;
  bottom: -8px;
  right: -12px;
  width: clamp(210px, 27vw, 360px);
  z-index: 1;
  filter: drop-shadow(-4px 10px 22px rgba(2, 132, 199, 0.24));
  transform-origin: bottom center;
  animation: snowmanHappyBounce 5.5s ease-in-out infinite;
}

.winter-snowman-svg {
  width: 100%;
  height: auto;
  display: block;
}

@keyframes snowmanHappyBounce {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-7px) rotate(-1.5deg); }
}

/* Tag Cầu Vồng Giao Mùa & Huy hiệu góc giữa */
.season-corner-center {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.35rem;
  pointer-events: none;
  filter: drop-shadow(0 2px 6px rgba(234, 88, 12, 0.25));
}

body.dual-season-theme .season-tag-rainbow {
  background: linear-gradient(90deg, #fff7ed 0%, #fef9c3 50%, #f0f9ff 100%) !important;
  color: #b45309 !important;
  border: 1.8px solid #fde047 !important;
  font-weight: 700 !important;
}

/* GIF Mèo Đen Nhảy trên trang Donate */
.cat-gif-banner-badge {
  width: 86px;
  height: 86px;
  margin: 0 auto 6px;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, #ea580c 0%, #facc15 50%, #0284c7 100%);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cat-gif-hero-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: contain;
  background: #0f172a;
}

@media (max-width: 820px) {
  .autumn-big-tree-wrap {
    width: 185px;
    left: -32px;
    opacity: 0.82;
  }
  .winter-big-snowman-wrap {
    width: 170px;
    right: -24px;
    opacity: 0.85;
  }
  .rainbow-bridge-wrap {
    top: 4%;
    width: 98vw;
    opacity: 0.75;
  }
}
