/* ══════════════════════════════════════════════════════════════════════════════
   GAMIFIED WEBSITE SYSTEM - GENSHIN IMPACT & RPG THEME
   ══════════════════════════════════════════════════════════════════════════════ */

:root {
  --genshin-gold: #30255c;
  --genshin-accent: #8b5cf6;
  --genshin-bg: rgba(245, 245, 250, 0.95);
  --genshin-card: rgba(255, 255, 255, 0.95);
  --genshin-border: rgba(139, 92, 246, 0.15);
  --genshin-text: #2d264a;
  --genshin-text-muted: #6b7280;
  --rarity-5: linear-gradient(135deg, #c88a10 0%, #a46d0a 100%);
  --rarity-4: linear-gradient(135deg, #8b5cf6 0%, #6332c9 100%);
  --rarity-3: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

.dark {
  --genshin-gold: #f3ebfc;
  --genshin-accent: #bd7eff;
  --genshin-bg: rgba(22, 26, 35, 0.95);
  --genshin-card: rgba(35, 42, 56, 0.9);
  --genshin-border: rgba(236, 229, 216, 0.15);
  --genshin-text: #ece5d8;
  --genshin-text-muted: #9ba1b0;
  --rarity-5: linear-gradient(135deg, #bd7eff 0%, #763cb5 100%);
  --rarity-4: linear-gradient(135deg, #a256e8 0%, #6830a6 100%);
  --rarity-3: linear-gradient(135deg, #519df5 0%, #2457a6 100%);
}

/* ─── FLOATING WIDGETS & HUD ─── */

.gamify-hud-badge {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--genshin-card);
  border: 2px solid var(--genshin-accent);
  padding: 8px 16px;
  border-radius: 30px;
  color: var(--genshin-gold);
  font-family: 'Inter', sans-serif;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05), 0 0 15px rgba(139, 92, 246, 0.15);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  user-select: none;
  backdrop-filter: blur(10px);
}

.dark .gamify-hud-badge {
  background: rgba(18, 22, 31, 0.85);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 15px rgba(240, 168, 80, 0.3);
}

.gamify-hud-badge:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1), 0 0 25px rgba(139, 92, 246, 0.25);
  border-color: var(--genshin-accent);
}

.dark .gamify-hud-badge:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(240, 168, 80, 0.5);
  border-color: #fff;
}

.hud-icon-container {
  position: relative;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hud-spin-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 2px dashed var(--genshin-accent);
  border-radius: 50%;
  animation: hudRingSpin 12s linear infinite;
}

.gamify-hud-badge:hover .hud-spin-ring {
  border-color: var(--genshin-accent);
  animation-duration: 4s;
}

.dark .gamify-hud-badge:hover .hud-spin-ring {
  border-color: #fff;
}

@keyframes hudRingSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.hud-level-text {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.dark .hud-level-text {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.hud-ar-label {
  font-size: 10px;
  text-transform: uppercase;
  color: var(--genshin-accent);
  font-weight: 700;
}

/* ─── FULL SCREEN OVERLAY MENU ─── */

.gamify-menu-overlay {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.98) 0%, rgba(240, 240, 245, 0.99) 100%);
  z-index: 10000;
  display: flex;
  color: var(--genshin-text);
  font-family: 'Outfit', 'Inter', sans-serif;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  overflow: hidden;
}

.dark .gamify-menu-overlay {
  background: radial-gradient(circle at center, rgba(16, 20, 30, 0.98) 0%, rgba(8, 10, 15, 0.99) 100%);
}

.gamify-menu-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* Star field animation for overlay background */
.gamify-menu-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(white, rgba(255,255,255,.2) 2px, transparent 40px),
    radial-gradient(white, rgba(255,255,255,.15) 1px, transparent 30px);
  background-size: 550px 550px, 350px 350px;
  background-position: 0 0, 40px 60px;
  opacity: 0.15;
  animation: bgStarsMove 120s linear infinite;
  pointer-events: none;
}

@keyframes bgStarsMove {
  from { background-position: 0 0, 40px 60px; }
  to { background-position: 550px 550px, 390px 410px; }
}

.gamify-sidebar {
  width: 260px;
  border-right: 1px solid var(--genshin-border);
  background: rgba(240, 240, 245, 0.95);
  display: flex;
  flex-direction: column;
  padding: 2rem 1.5rem;
  justify-content: space-between;
  z-index: 2;
}

.dark .gamify-sidebar {
  background: rgba(14, 18, 27, 0.95);
}

.gamify-main-content {
  flex: 1;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-y: auto;
  z-index: 2;
}

/* Profile details in sidebar */
.gamify-profile-brief {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 2rem;
}

.brief-avatar-container {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 3px solid var(--genshin-accent);
  padding: 4px;
  background: var(--genshin-card);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  margin-bottom: 1rem;
}

.brief-avatar-container img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.brief-name {
  font-size: 20px;
  font-weight: 700;
  color: #140f26;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.dark .brief-name {
  color: #fff;
}

.brief-stars {
  color: var(--genshin-accent);
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.brief-level-info {
  background: rgba(240, 168, 80, 0.1);
  border: 1px solid rgba(240, 168, 80, 0.25);
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  color: var(--genshin-accent);
}

/* Nav items inside sidebar */
.gamify-nav-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 1rem;
  flex-grow: 1;
}

.gamify-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 600;
  font-size: 15px;
  color: var(--genshin-text-muted);
  border: 1px solid transparent;
}

.gamify-nav-item:hover {
  color: #140f26;
  background: rgba(189, 126, 255, 0.08);
}

.dark .gamify-nav-item:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.gamify-nav-item.active {
  color: #c88a10;
  background: rgba(200, 138, 16, 0.08);
  border-color: rgba(200, 138, 16, 0.25);
  box-shadow: inset 0 0 10px rgba(200, 138, 16, 0.05);
}

.dark .gamify-nav-item.active {
  color: #fff;
  background: rgba(240, 168, 80, 0.15);
  border-color: rgba(240, 168, 80, 0.3);
  box-shadow: inset 0 0 10px rgba(240, 168, 80, 0.1);
}

.gamify-close-btn {
  background: none;
  border: none;
  color: var(--genshin-text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s;
  padding: 8px;
  margin-top: auto;
}

.gamify-close-btn:hover {
  color: #140f26;
}

.dark .gamify-close-btn:hover {
  color: #fff;
}

/* ─── TAB CONTENT PANELS ─── */

.gamify-tab-panel {
  display: none;
  flex-direction: column;
  height: 100%;
  animation: tabFadeIn 0.3s ease-out forwards;
}

.gamify-tab-panel.active {
  display: flex;
}

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

.tab-header {
  margin-bottom: 2rem;
}

.tab-title {
  font-size: 28px;
  font-weight: 800;
  color: #140f26;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  position: relative;
  display: inline-block;
}

.dark .tab-title {
  color: #fff;
}

.tab-title::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--genshin-accent), transparent);
}

/* ─── PROFILE PANEL (CHARACTER CARD) ─── */

.character-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

@media(max-width: 900px) {
  .character-card-grid {
    grid-template-columns: 1fr;
  }
}

.char-card-visual {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--genshin-border);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.dark .char-card-visual {
  background: rgba(18, 22, 31, 0.7);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5);
}

.char-card-visual::before {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(240, 168, 80, 0.15) 0%, transparent 70%);
  top: 15%;
  z-index: 0;
}

.char-element-badge {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  background: rgba(240, 168, 80, 0.15);
  border: 1px solid var(--genshin-accent);
  padding: 6px 12px;
  border-radius: 30px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--genshin-accent);
  letter-spacing: 0.1em;
}

.char-avatar-large {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 4px solid var(--genshin-accent);
  padding: 6px;
  background: rgba(0, 0, 0, 0.02);
  box-shadow: 0 8px 32px rgba(139, 92, 246, 0.1);
  z-index: 1;
  margin-bottom: 1.5rem;
  transition: transform 0.5s ease;
}

.dark .char-avatar-large {
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
}

.char-avatar-large:hover {
  transform: rotate(5deg) scale(1.03);
}

.char-avatar-large img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.char-title-sub {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--genshin-accent);
  margin-bottom: 4px;
}

.char-name-big {
  font-size: 26px;
  font-weight: 800;
  color: #140f26;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

.dark .char-name-big {
  color: #fff;
}

.char-bio {
  font-size: 13px;
  color: var(--genshin-text-muted);
  text-align: center;
  line-height: 1.6;
  max-width: 320px;
  border-top: 1px dashed rgba(0, 0, 0, 0.08);
  padding-top: 1rem;
}

.dark .char-bio {
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
}

/* Stats list */
.char-stats-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.stat-group-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--genshin-accent);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding-bottom: 4px;
}

.dark .stat-group-title {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stats-card {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--genshin-border);
  border-radius: 12px;
  padding: 1.5rem;
}

.dark .stats-card {
  background: rgba(22, 26, 35, 0.6);
}

.stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.dark .stat-row {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.stat-row:last-child {
  border-bottom: none;
}

.stat-label {
  font-size: 13px;
  color: var(--genshin-text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.stat-value {
  font-size: 14px;
  font-weight: 700;
  color: #140f26;
}

.dark .stat-value {
  color: #fff;
}

.stat-modifier {
  font-size: 11px;
  color: #10b981;
  margin-left: 4px;
}

/* Equipment slot */
.equipment-selector {
  margin-top: 1.5rem;
}

.weapon-slot-header {
  font-size: 13px;
  font-weight: 700;
  color: var(--genshin-accent);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.weapon-dropdown {
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--genshin-border);
  color: #140f26;
  padding: 10px 14px;
  border-radius: 8px;
  outline: none;
  font-size: 14px;
  cursor: pointer;
  transition: border 0.2s;
}

.dark .weapon-dropdown {
  background: rgba(14, 18, 27, 0.9);
  color: #fff;
}

.weapon-dropdown:focus {
  border-color: var(--genshin-accent);
}

.weapon-dropdown:focus {
  border-color: var(--genshin-accent);
}

/* ─── QUESTS & ACHIEVEMENTS PANEL ─── */

.achievements-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 800px;
}

.achievement-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--genshin-border);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  transition: transform 0.2s, border-color 0.2s;
}

.dark .achievement-row {
  background: rgba(22, 26, 35, 0.7);
}

.achievement-row:hover {
  transform: translateX(4px);
  border-color: rgba(240, 168, 80, 0.4);
}

.achievement-details {
  display: flex;
  align-items: center;
  gap: 16px;
}

.achievement-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  border: 2px solid rgba(0, 0, 0, 0.05);
  color: var(--genshin-accent);
}

.dark .achievement-icon {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.achievement-row.completed .achievement-icon {
  border-color: var(--genshin-accent);
  background: rgba(240, 168, 80, 0.1);
  color: var(--genshin-accent);
  box-shadow: 0 0 12px rgba(240, 168, 80, 0.2);
}

.achievement-text-info {
  display: flex;
  flex-direction: column;
}

.achievement-name {
  font-size: 16px;
  font-weight: 700;
  color: #140f26;
  margin-bottom: 2px;
}

.dark .achievement-name {
  color: #fff;
}

.achievement-desc {
  font-size: 12px;
  color: var(--genshin-text-muted);
}

.achievement-status {
  display: flex;
  align-items: center;
  gap: 12px;
}

.achievement-reward {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.05);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  color: var(--genshin-accent);
}

.dark .achievement-reward {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.achievement-badge {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 4px;
}

.achievement-badge.locked {
  background: rgba(0, 0, 0, 0.04);
  color: var(--genshin-text-muted);
}

.dark .achievement-badge.locked {
  background: rgba(255, 255, 255, 0.05);
}

.achievement-badge.unlocked {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

/* ─── GACHA WISH SIMULATOR PANEL ─── */

.gacha-panel-layout {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}

.primo-counter {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(240, 168, 80, 0.1);
  border: 1px solid rgba(240, 168, 80, 0.25);
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 700;
  color: var(--genshin-accent);
}

.gacha-banner-wrapper {
  width: 100%;
  height: 280px;
  border-radius: 16px;
  border: 2px solid rgba(240, 168, 80, 0.3);
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding: 2rem;
}

.banner-glass-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14, 18, 27, 0.9) 0%, rgba(14, 18, 27, 0.2) 100%);
  z-index: 1;
}

.banner-details {
  z-index: 2;
  position: relative;
  max-width: 500px;
}

.banner-badge {
  background: var(--genshin-accent);
  color: #12161f;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.banner-title {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
}

.banner-subtitle {
  font-size: 13px;
  color: var(--genshin-text-muted);
}

.wish-actions {
  display: flex;
  gap: 16px;
  z-index: 2;
  width: 100%;
  justify-content: center;
  margin-top: 1rem;
}

.wish-btn {
  background: var(--genshin-accent);
  color: #12161f;
  font-weight: 800;
  font-size: 15px;
  border: none;
  padding: 12px 32px;
  border-radius: 30px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(240, 168, 80, 0.4);
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.wish-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(240, 168, 80, 0.6);
  background: #ffb861;
}

.wish-btn:disabled {
  background: #3a3f4d;
  color: #727785;
  cursor: not-allowed;
  box-shadow: none;
}

.wish-history-title {
  align-self: flex-start;
  font-size: 14px;
  font-weight: 700;
  color: var(--genshin-accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  width: 100%;
  padding-bottom: 4px;
}

.dark .wish-history-title {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.wish-history-list {
  width: 100%;
  max-height: 180px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.history-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 6px;
  font-size: 13px;
}

.dark .history-row {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.history-item-name {
  font-weight: 600;
}

.history-rarity-5 { color: #f0a850; }
.history-rarity-4 { color: #a256e8; }
.history-rarity-3 { color: #519df5; }

/* ─── WISH ANIMATION OVERLAY ─── */

.wish-animation-overlay {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 11000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.wish-animation-overlay.active {
  display: flex;
  opacity: 1;
}

.shooting-star-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.star-animation-stage {
  text-align: center;
  color: #fff;
  z-index: 2;
}

.skip-wish-btn {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 6px 16px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 13px;
  transition: background 0.2s;
  z-index: 10;
}

.skip-wish-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Gacha result reveal screen */
.wish-result-reveal {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.98);
  z-index: 11001;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.dark .wish-result-reveal {
  background: rgba(8, 10, 15, 0.98);
}

.wish-result-reveal.active {
  display: flex;
  opacity: 1;
}

.reveal-items-container {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 90%;
  margin-bottom: 3rem;
}

.reveal-card {
  width: 130px;
  height: 220px;
  border-radius: 12px;
  background: var(--genshin-card);
  border: 2px solid var(--genshin-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  animation: revealItemPop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  opacity: 0;
  transform: scale(0.8);
}

@keyframes revealItemPop {
  to { opacity: 1; transform: scale(1); }
}

.reveal-card.rarity-5 { border-color: #f0a850; background: linear-gradient(to bottom, #1f2430 0%, #433322 100%); }
.reveal-card.rarity-4 { border-color: #a256e8; background: linear-gradient(to bottom, #1f2430 0%, #302243 100%); }
.reveal-card.rarity-3 { border-color: #519df5; background: linear-gradient(to bottom, #1f2430 0%, #222d43 100%); }

.reveal-card-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
}
.reveal-card.rarity-5 .reveal-card-glow { background: var(--rarity-5); }
.reveal-card.rarity-4 .reveal-card-glow { background: var(--rarity-4); }
.reveal-card.rarity-3 .reveal-card-glow { background: var(--rarity-3); }

.reveal-card-icon {
  font-size: 32px;
  margin-top: 1rem;
}

.reveal-card-name {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  padding: 0 4px;
}

.reveal-card-stars {
  color: var(--genshin-accent);
  font-size: 11px;
  letter-spacing: 1px;
}

.reveal-close-btn {
  background: var(--genshin-gold);
  color: #12161f;
  font-weight: 800;
  border: none;
  padding: 10px 32px;
  border-radius: 20px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  transition: all 0.2s;
}

.reveal-close-btn:hover {
  background: #fff;
  transform: translateY(-1px);
}

/* ─── LEVEL UP OVERLAY (NON-INTRUSIVE TOP BANNER) ─── */

.levelup-overlay {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translate(-50%, -150%);
  z-index: 12000;
  display: flex;
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
  pointer-events: none;
}

.levelup-overlay.active {
  display: flex;
  opacity: 1;
  transform: translate(-50%, 0);
}

.levelup-box {
  background: rgba(255, 255, 255, 0.96);
  border: 2px solid var(--genshin-accent);
  border-radius: 12px;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05), 0 0 20px rgba(189, 126, 255, 0.1);
  backdrop-filter: blur(10px);
  pointer-events: all;
  animation: levelupPulse 2s infinite ease-in-out;
}

.dark .levelup-box {
  background: rgba(14, 18, 27, 0.96);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(240, 168, 80, 0.2);
}

@keyframes levelupPulse {
  0%, 100% { border-color: var(--genshin-accent); }
  50% { border-color: #fff; }
}

.levelup-title {
  font-size: 18px;
  font-weight: 900;
  color: var(--genshin-accent);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.levelup-subtitle {
  font-size: 11px;
  color: var(--genshin-text-muted);
}

.levelup-badge {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 3px solid var(--genshin-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 900;
  color: var(--genshin-accent);
  background: rgba(240, 168, 80, 0.15);
  box-shadow: 0 0 10px rgba(240, 168, 80, 0.2);
}

/* ─── QUEST NOTIFICATION CRISTAL ─── */

.quest-toast {
  position: fixed;
  top: 2rem;
  right: 2rem;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--genshin-accent);
  border-left: 4px solid var(--genshin-accent);
  padding: 12px 20px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  z-index: 12000;
  font-family: 'Inter', sans-serif;
  color: #140f26;
  transform: translateX(120%);
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.dark .quest-toast {
  background: rgba(18, 22, 31, 0.95);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  color: #fff;
}

.quest-toast.active {
  transform: translateX(0);
}

.toast-icon {
  color: var(--genshin-accent);
  font-size: 18px;
}

.toast-content {
  display: flex;
  flex-direction: column;
}

.toast-title {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--genshin-accent);
  font-weight: 800;
  letter-spacing: 0.05em;
}

.toast-message {
  font-size: 13px;
  font-weight: 600;
}

/* ─── FLASHY ELEMENTS & MOTION OVERRIDES ─── */

/* Metallic Sheen Flow for XP Progress Bar */
#xp-bar-fill {
  position: relative;
  overflow: hidden;
}
#xp-bar-fill::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: xpSheen 2.5s infinite linear;
}
@keyframes xpSheen {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* Gamified Quest Board Blog Cards */
.blog-card {
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

.blog-card:hover {
  transform: translateY(-6px) scale(1.01) !important;
  border-color: var(--genshin-accent) !important;
  box-shadow: 0 15px 35px rgba(240, 168, 80, 0.15) !important;
}

/* Floating XP Reward Badge on Cards */
.blog-card::after {
  content: "+25 XP";
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(189, 126, 255, 0.15);
  border: 1px solid var(--genshin-accent);
  color: var(--genshin-accent);
  padding: 3px 8px;
  font-size: 9px;
  font-weight: 900;
  border-radius: 6px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  animation: questBadgeGlow 2s infinite ease-in-out;
  transition: all 0.3s;
}

.blog-card:hover::after {
  background: var(--genshin-accent);
  color: #12161f;
  box-shadow: 0 0 15px var(--genshin-accent);
  transform: scale(1.05);
}

@keyframes questBadgeGlow {
  0%, 100% { opacity: 0.8; box-shadow: 0 0 4px rgba(189,126,255,0.2); }
  50% { opacity: 1; box-shadow: 0 0 10px rgba(189,126,255,0.5); }
}

/* Star Glow pulse on the HUD Compass */
.hud-spin-ring {
  animation: hudRingSpin 8s linear infinite;
  box-shadow: inset 0 0 8px rgba(189,126,255,0.3);
}

.gamify-hud-badge {
  animation: floatHud 4s infinite ease-in-out;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 20px rgba(189, 126, 255, 0.4);
}

@keyframes floatHud {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* Gacha Star animation scale */
.reveal-card {
  box-shadow: 0 10px 30px rgba(189,126,255,0.2);
  transition: transform 0.3s ease;
}

.reveal-card:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 15px 40px rgba(189,126,255,0.4);
}

/* Screen Shake Animation for Slashes */
@keyframes screenShake {
  0%, 100% { transform: translate(0, 0); }
  10% { transform: translate(-6px, 6px); }
  30% { transform: translate(6px, -6px); }
  50% { transform: translate(-6px, -6px); }
  70% { transform: translate(6px, 6px); }
  90% { transform: translate(-3px, 3px); }
}

/* Extra Flashy Hover glow effects for Navigation / Links */
.gamify-nav-item:hover, .gamify-close-btn:hover {
  text-shadow: 0 0 8px var(--genshin-accent);
  box-shadow: 0 0 15px rgba(189, 126, 255, 0.1);
}

/* Neon animated border pulse on active overlay panels */
.char-card-visual {
  border-color: rgba(189, 126, 255, 0.3);
  animation: visualBorderPulse 6s infinite ease-in-out;
}

@keyframes visualBorderPulse {
  0%, 100% { border-color: rgba(189, 126, 255, 0.3); box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5); }
  50% { border-color: var(--genshin-accent); box-shadow: 0 12px 36px rgba(189, 126, 255, 0.15); }
}

/* Extra Flashy Homepage Enhancements */
.tag-btn {
  border-radius: 8px !important;
  transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

.tag-btn:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 4px 15px rgba(189, 126, 255, 0.3) !important;
  border-color: var(--genshin-accent) !important;
}

#search-input:focus {
  border-color: var(--genshin-accent) !important;
  box-shadow: 0 0 20px rgba(189, 126, 255, 0.4) !important;
}

/* Flashy active filters display */
#entry-count {
  color: var(--genshin-accent) !important;
  font-weight: 800 !important;
  text-shadow: 0 0 8px rgba(189, 126, 255, 0.2);
}

/* ────────────────────────────────────────────────────────────────────────────
   FANCY TOP BAR (NAVBAR) OVERRIDES
   ──────────────────────────────────────────────────────────────────────────── */
/* ────────────────────────────────────────────────────────────────────────────
   FANCY TOP BAR (NAVBAR) OVERRIDES
   ──────────────────────────────────────────────────────────────────────────── */
header, .navbar, nav[class*="navbar"] {
  position: relative !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.85) 0%, rgba(240, 238, 245, 0.9) 100%) !important;
  backdrop-filter: blur(20px) !important;
  border-bottom: 2px solid rgba(189, 126, 255, 0.15) !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05), 0 0 25px rgba(189, 126, 255, 0.03) !important;
  padding: 0.75rem 2rem !important;
  z-index: 1000 !important;
}

.dark header, .dark .navbar, .dark nav[class*="navbar"] {
  background: linear-gradient(180deg, rgba(20, 15, 38, 0.85) 0%, rgba(12, 8, 24, 0.9) 100%) !important;
  border-bottom: 2px solid rgba(189, 126, 255, 0.3) !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), 0 0 25px rgba(189, 126, 255, 0.1) !important;
}

/* Star dust effect on top bar */
header::before, .navbar::before, nav[class*="navbar"]::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 50% 50%, rgba(189, 126, 255, 0.12) 0%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}

header::after, .navbar::after, nav[class*="navbar"]::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(255, 203, 107, 0.8) 20%, 
    var(--genshin-accent, #bd7eff) 50%, 
    rgba(255, 203, 107, 0.8) 80%, 
    transparent 100%) !important;
  box-shadow: 0 0 15px var(--genshin-accent, #bd7eff), 0 0 5px rgba(255, 203, 107, 0.5) !important;
  z-index: 1;
}

header a, .navbar a, .navbar .nav-link, nav[class*="navbar"] a {
  position: relative !important;
  font-family: 'Outfit', 'Inter', sans-serif !important;
  font-weight: 800 !important;
  font-size: 13px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.12em !important;
  color: rgba(30, 25, 45, 0.75) !important;
  padding: 8px 16px !important;
  border-radius: 6px !important;
  border: 1px solid transparent !important;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8) !important;
  text-decoration: none !important;
  z-index: 2;
}

.dark header a, .dark .navbar a, .dark .navbar .nav-link, .dark nav[class*="navbar"] a {
  color: rgba(236, 229, 216, 0.75) !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) !important;
}

header a:hover, .navbar a:hover, .navbar .nav-link:hover, nav[class*="navbar"] a:hover {
  color: #140f26 !important;
  background: linear-gradient(180deg, rgba(189, 126, 255, 0.1), rgba(189, 126, 255, 0.03)) !important;
  border-color: rgba(189, 126, 255, 0.2) !important;
  box-shadow: 0 4px 15px rgba(189, 126, 255, 0.1) !important;
  text-shadow: 0 0 8px rgba(189, 126, 255, 0.4) !important;
}

.dark header a:hover, .dark .navbar a:hover, .dark .navbar .nav-link:hover, .dark nav[class*="navbar"] a:hover {
  color: #fff !important;
  background: linear-gradient(180deg, rgba(189, 126, 255, 0.15), rgba(189, 126, 255, 0.05)) !important;
  border-color: rgba(189, 126, 255, 0.3) !important;
  box-shadow: 0 4px 15px rgba(189, 126, 255, 0.15) !important;
  text-shadow: 0 0 8px rgba(189, 126, 255, 0.8) !important;
}

/* Force Dark/Light Mode Theme Toggle to the extreme right and make it an RPG-style button */
.theme-toggle, 
button[id*="theme"], 
button[class*="theme"], 
.navbar-right-toggle,
.nav-item:has(button[id*="theme"]), 
.nav-item:has(.theme-toggle),
.nav-item:has(button[class*="theme-toggle"]) {
  margin-left: auto !important;
  order: 99 !important;
  display: flex !important;
  align-self: center !important;
  background: rgba(0, 0, 0, 0.03) !important;
  border: 1px solid rgba(189, 126, 255, 0.3) !important;
  border-radius: 50% !important;
  width: 38px !important;
  height: 38px !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.3s ease !important;
  cursor: pointer !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

.dark .theme-toggle, 
.dark button[id*="theme"], 
.dark button[class*="theme"], 
.dark .navbar-right-toggle,
.dark .nav-item:has(button[id*="theme"]), 
.dark .nav-item:has(.theme-toggle),
.dark .nav-item:has(button[class*="theme-toggle"]) {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(189, 126, 255, 0.2) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
}

.theme-toggle:hover, 
button[id*="theme"]:hover, 
button[class*="theme"]:hover {
  border-color: var(--genshin-accent, #bd7eff) !important;
  background: rgba(189, 126, 255, 0.12) !important;
  box-shadow: 0 0 12px rgba(189, 126, 255, 0.4) !important;
  transform: rotate(20deg) scale(1.05) !important;
}

/* Active navigation item underliner & glow */
header a[aria-current="page"],
.navbar .nav-item.active .nav-link,
.navbar .nav-link.active,
nav[class*="navbar"] a[aria-current="page"] {
  color: #c88a10 !important; /* Golden-amber accent adjusted for light mode contrast */
  background: rgba(189, 126, 255, 0.1) !important;
  border-color: rgba(200, 138, 16, 0.3) !important;
  box-shadow: inset 0 0 10px rgba(189, 126, 255, 0.15), 0 2px 10px rgba(189, 126, 255, 0.05) !important;
}

.dark header a[aria-current="page"],
.dark .navbar .nav-item.active .nav-link,
.dark .navbar .nav-link.active,
.dark nav[class*="navbar"] a[aria-current="page"] {
  color: #ffcb6b !important; /* Golden accent */
  background: rgba(189, 126, 255, 0.15) !important;
  border-color: rgba(255, 203, 107, 0.3) !important;
  box-shadow: inset 0 0 10px rgba(189, 126, 255, 0.2), 0 2px 10px rgba(189, 126, 255, 0.1) !important;
}

header a[aria-current="page"]::after,
.navbar .nav-item.active .nav-link::after,
.navbar .nav-link.active::after,
nav[class*="navbar"] a[aria-current="page"]::after {
  content: "✦" !important;
  position: absolute !important;
  bottom: -5px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  color: #c88a10 !important;
  font-size: 10px !important;
  animation: floatHud 2.5s infinite ease-in-out !important;
  text-shadow: 0 0 8px #c88a10 !important;
}

.dark header a[aria-current="page"]::after,
.dark .navbar .nav-item.active .nav-link::after,
.dark .navbar .nav-link.active::after,
.dark nav[class*="navbar"] a[aria-current="page"]::after {
  color: #ffcb6b !important;
  text-shadow: 0 0 8px #ffcb6b !important;
}

.navbar-brand, 
.logo-text, 
a[class*="logo"],
a[class*="brand"],
.navbar-brand a,
.navbar-brand span {
  font-size: 1.25rem !important;
  font-family: 'Outfit', 'Inter', sans-serif !important;
  font-weight: 900 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  background: linear-gradient(135deg, #140f26 0%, #30255c 50%, var(--genshin-accent, #bd7eff) 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  text-shadow: none !important;
  filter: drop-shadow(0 0 8px rgba(189, 126, 255, 0.2)) !important;
  border-color: rgba(139, 92, 246, 0.15) !important;
}

.navbar-brand img,
a[class*="logo"] img,
a[class*="brand"] img {
  border: 2px solid rgba(139, 92, 246, 0.15) !important;
  box-shadow: 0 0 8px rgba(189, 126, 255, 0.2) !important;
  transition: all 0.3s ease !important;
}

html.dark .navbar-brand, 
html.dark .logo-text, 
html.dark a[class*="logo"],
html.dark a[class*="brand"],
html.dark .navbar-brand a,
html.dark .navbar-brand span,
.dark .navbar-brand, 
.dark .logo-text, 
.dark a[class*="logo"],
.dark a[class*="brand"],
.dark .navbar-brand a,
.dark .navbar-brand span {
  background: linear-gradient(135deg, #fff 0%, #cbd5e1 50%, var(--genshin-accent, #bd7eff) 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  text-shadow: none !important;
  filter: drop-shadow(0 0 8px rgba(189, 126, 255, 0.5)) !important;
  border-color: rgba(189, 126, 255, 0.3) !important;
}

html.dark .navbar-brand img,
html.dark a[class*="logo"] img,
html.dark a[class*="brand"] img,
.dark .navbar-brand img,
.dark a[class*="logo"] img,
.dark a[class*="brand"] img {
  border: 2px solid var(--genshin-accent) !important;
  box-shadow: 0 0 12px rgba(189, 126, 255, 0.5) !important;
}

/* ────────────────────────────────────────────────────────────────────────────
   FANCY QUEST HEADERS FOR SECONDARY PAGES
   ──────────────────────────────────────────────────────────────────────────── */
/* Tighten container paddings/margins to pull content and titles closer to top bar */
#blog-single-container,
.max-w-6xl.mx-auto.px-4.py-8,
.max-w-6xl.mx-auto.px-4.py-12,
.max-w-4xl.mx-auto.px-6.py-12,
.wide-about-section,
main {
  padding-top: 0.5rem !important;
  margin-top: 0 !important;
}

/* Target global secondary titles h1 and style them consistently */
h1:not(.text-transparent):not([class*="text-transparent"]),
.prose h1, 
.wide-about-section h1,
.container h1 {
  font-family: 'Outfit', 'Inter', sans-serif !important;
  font-size: 2.5rem !important;
  text-align: center !important;
  width: 100% !important;
  display: block !important;
  font-weight: 900 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: transparent !important;
  background: linear-gradient(90deg, #bd7eff, #c4b5fd, #a78bfa) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  filter: drop-shadow(0 0 12px rgba(189, 126, 255, 0.4)) !important;
  position: relative !important;
  padding-top: 0.25rem !important;
  padding-bottom: 1.25rem !important;
  margin-top: 1.5rem !important;
  margin-bottom: 2rem !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

h1:not(.text-transparent):not([class*="text-transparent"])::before,
.prose h1::before,
.wide-about-section h1::before,
.container h1::before {
  content: "✦" !important;
  display: block !important;
  font-size: 14px !important;
  color: var(--genshin-accent) !important;
  animation: hudRingSpin 10s linear infinite !important;
  margin-bottom: 0.25rem !important;
  text-align: center !important;
}

h1:not(.text-transparent):not([class*="text-transparent"])::after,
.prose h1::after,
.wide-about-section h1::after,
.container h1::after {
  content: "" !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 180px !important;
  height: 2px !important;
  background: linear-gradient(90deg, transparent, var(--genshin-accent), transparent) !important;
}

/* Ensure metadata on single post headers centers nicely beneath the centered fancy title */
#blog-single-container .border-b,
.max-w-4xl .border-b {
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
}

@media (max-width: 768px) {
  .gamify-menu-overlay {
    flex-direction: column !important;
    overflow-y: auto !important;
  }
  
  .gamify-sidebar {
    width: 100% !important;
    border-right: none !important;
    border-bottom: 1px solid var(--genshin-border) !important;
    padding: 1.5rem 1rem !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 1rem !important;
    align-items: center !important;
  }

  .gamify-profile-brief {
    flex-direction: row !important;
    align-items: center !important;
    text-align: left !important;
    margin-bottom: 0 !important;
    gap: 12px !important;
  }

  .brief-avatar-container {
    width: 50px !important;
    height: 50px !important;
    margin-bottom: 0 !important;
  }

  .brief-name {
    font-size: 16px !important;
  }

  .brief-stars {
    font-size: 10px !important;
    margin-bottom: 0 !important;
  }

  .brief-level-info {
    padding: 2px 8px !important;
    font-size: 10px !important;
  }

  .gamify-nav-list {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin-top: 0.5rem !important;
    width: 100% !important;
  }

  .gamify-nav-item {
    padding: 8px 12px !important;
    font-size: 13px !important;
    flex: 1 1 auto !important;
    justify-content: center !important;
  }

  .gamify-close-btn {
    margin-top: 0 !important;
    padding: 6px 12px !important;
    border: 1px solid var(--genshin-border) !important;
    border-radius: 20px !important;
    background: rgba(0, 0, 0, 0.05) !important;
    width: auto !important;
    margin-left: auto !important;
  }
  
  .dark .gamify-close-btn {
    background: rgba(255, 255, 255, 0.05) !important;
  }

  .gamify-main-content {
    padding: 1.5rem 1rem !important;
    overflow-y: visible !important;
  }

  .character-card-grid {
    gap: 1.5rem !important;
  }

  .char-card-visual {
    padding: 1.5rem 1rem !important;
  }

  .char-avatar-large {
    width: 120px !important;
    height: 120px !important;
  }

  .char-name-big {
    font-size: 22px !important;
  }

  .stats-card {
    padding: 1rem !important;
  }

  .stat-row {
    padding: 6px 0 !important;
  }

  .stat-label, .stat-value {
    font-size: 12px !important;
  }

  .gacha-banner-wrapper {
    height: 180px !important;
    padding: 1rem !important;
  }

  .banner-title {
    font-size: 18px !important;
  }

  .banner-subtitle {
    font-size: 11px !important;
  }

  .wish-btn {
    padding: 10px 20px !important;
    font-size: 13px !important;
  }
  
  /* Floating HUD position on mobile */
  .gamify-hud-badge {
    bottom: 1rem !important;
    right: 1rem !important;
    padding: 6px 12px !important;
  }
}



