:root {
  --banana: #ffd166;
  --banana-deep: #ffb347;
  --leaf: #22c55e;
  --leaf-deep: #16a34a;
  --sky: #38bdf8;
  --danger: #ef4444;
  --ink: #0b1324;
  --card: #ffffff1a;
  --card-border: #ffffff33;
}

* { box-sizing: border-box }

body {
  font-family: 'Baloo 2', system-ui, -apple-system, Segoe UI, Roboto, "Comic Neue", sans-serif;
}

/* THEME BACKGROUND */
.bg-jungle {
  background-image:
    radial-gradient(1000px 500px at 90% -10%, #a7f3d0 0%, transparent 50%),
    radial-gradient(900px 500px at 10% -20%, #fef08a 0%, transparent 50%),
    linear-gradient(180deg, #0a422d 0%, #0d5a38 40%, #0c3a28 100%);
  background-attachment: fixed;
  background-size: cover;
}

/* Ocean theme */
.bg-ocean {
  background-image:
    radial-gradient(1000px 500px at 100% -10%, #7dd3fc 0%, transparent 50%),
    radial-gradient(900px 500px at 0% -20%, #a5b4fc 0%, transparent 50%),
    linear-gradient(180deg, #0f172a 0%, #1e293b 40%, #020617 100%);
  background-attachment: fixed;
  background-size: cover;
}

/* Candy theme */
.bg-candy {
  background-image:
    radial-gradient(900px 500px at 100% -10%, #fecaca 0%, transparent 50%),
    radial-gradient(900px 500px at 0% -10%, #f9a8d4 0%, transparent 50%),
    linear-gradient(180deg, #4c1d95 0%, #6b21a8 40%, #3b0764 100%);
  background-attachment: fixed;
  background-size: cover;
}

.title-font { font-family: 'Comic Neue', 'Baloo 2', cursive }

/* ===== MODERN NAVBAR ===== */
.jungle-nav-modern {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 2px solid rgba(255, 209, 102, 0.2);
  background: linear-gradient(135deg, rgba(6, 78, 59, 0.98) 0%, rgba(13, 90, 56, 0.98) 50%, rgba(10, 58, 38, 0.98) 100%);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

/* Hide navbar during loading */
#loading-screen:not(.hidden) ~ nav.jungle-nav-modern,
body:has(#loading-screen:not(.hidden)) nav.jungle-nav-modern {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.jungle-nav-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 209, 102, 0.5), transparent);
  animation: shimmerNav 3s linear infinite;
}

@keyframes shimmerNav {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Modern Logo */
.nav-logo-container {
  position: relative;
  z-index: 1;
}

.logo-modern {
  position: relative;
  width: 50px;
  height: 50px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(255, 209, 102, 0.3), rgba(255, 179, 71, 0.2));
  border: 2px solid rgba(255, 209, 102, 0.4);
  box-shadow: 
    0 0 20px rgba(255, 209, 102, 0.4),
    0 4px 12px rgba(0, 0, 0, 0.3),
    inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  overflow: hidden;
}

.logo-modern:hover {
  transform: scale(1.05) rotate(5deg);
  box-shadow: 
    0 0 30px rgba(255, 209, 102, 0.6),
    0 6px 20px rgba(0, 0, 0, 0.4),
    inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}

.logo-glow {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  background: radial-gradient(circle at 50% 50%, rgba(255, 209, 102, 0.3), transparent 70%);
  animation: logoPulse 2s ease-in-out infinite;
  pointer-events: none;
}

@keyframes logoPulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.1); }
}

.logo-banana-modern {
  font-size: 24px;
  line-height: 1;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
  animation: bananaBounce 3s ease-in-out infinite;
}

@keyframes bananaBounce {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-3px) rotate(5deg); }
}

.logo-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.logo-particles .particle {
  position: absolute;
  font-size: 8px;
  opacity: 0;
  animation: particleFloat 4s ease-in-out infinite;
}

.logo-particles .particle:nth-child(1) {
  top: 10%;
  left: 20%;
  animation-delay: 0s;
}

.logo-particles .particle:nth-child(2) {
  top: 70%;
  right: 20%;
  animation-delay: 2s;
}

@keyframes particleFloat {
  0%, 100% { opacity: 0; transform: translateY(0) scale(0); }
  50% { opacity: 0.8; transform: translateY(-20px) scale(1); }
}

.nav-title-wrapper {
  position: relative;
}

.nav-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: white;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  position: relative;
  z-index: 1;
}

.nav-title-main {
  background: linear-gradient(135deg, #ffffff 0%, #ffd166 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.6rem;
}

.nav-title-sub {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 700;
}

.nav-title-underline {
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--banana), var(--leaf));
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-logo-container:hover .nav-title-underline {
  width: 100%;
}

/* Modern Nav Links */
.nav-link {
  padding: 8px 16px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.nav-link:hover::before {
  left: 100%;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 209, 102, 0.4);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.nav-link-primary {
  background: linear-gradient(135deg, var(--banana), var(--banana-deep));
  color: #3a2100;
  border-color: rgba(255, 209, 102, 0.5);
}

.nav-link-primary:hover {
  background: linear-gradient(135deg, var(--banana-deep), var(--banana));
  box-shadow: 0 4px 16px rgba(255, 209, 102, 0.4);
}

.nav-link-danger {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.4);
  color: #fee2e2;
}

.nav-link-danger:hover {
  background: rgba(239, 68, 68, 0.3);
  border-color: rgba(239, 68, 68, 0.6);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

/* Mobile Menu Button */
.mobile-menu-btn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  transition: all 0.3s ease;
  padding: 10px;
}

.mobile-menu-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 209, 102, 0.4);
}

.menu-icon-line {
  width: 22px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu-btn:hover .menu-icon-line {
  background: var(--banana);
}

/* Mobile Menu */
.mobile-menu {
  background: linear-gradient(180deg, rgba(10, 58, 38, 0.98), rgba(6, 78, 59, 0.98));
  border-top: 2px solid rgba(255, 209, 102, 0.2);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.mobile-nav-link {
  padding: 12px 16px;
  border-radius: 10px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  text-align: left;
  width: 100%;
}

.mobile-nav-link:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 209, 102, 0.4);
  transform: translateX(4px);
}

.mobile-nav-link-danger {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.4);
  color: #fee2e2;
}

.mobile-nav-link-danger:hover {
  background: rgba(239, 68, 68, 0.3);
  border-color: rgba(239, 68, 68, 0.6);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .nav-title {
    font-size: 1.3rem;
  }
  
  .nav-title-main {
    font-size: 1.4rem;
  }
  
  .nav-title-sub {
    font-size: 1rem;
  }
  
  .logo-modern {
    width: 44px;
    height: 44px;
  }
  
  .logo-banana-modern {
    font-size: 20px;
  }
}

/* ===== ENHANCED BUTTONS ===== */
.leaf-btn,
.fruit-btn {
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 
    0 4px 12px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
}

.leaf-btn::before,
.fruit-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.leaf-btn:hover::before,
.fruit-btn:hover::before {
  width: 300px;
  height: 300px;
}

.leaf-btn {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.leaf-btn:hover { 
  transform: translateY(-2px) scale(1.02);
  box-shadow: 
    0 6px 20px rgba(34, 197, 94, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.15) inset;
}

.fruit-btn {
  background: linear-gradient(135deg, var(--banana), var(--banana-deep));
  color: #3a2100;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
}

.fruit-btn:hover { 
  transform: translateY(-2px) scale(1.03);
  box-shadow: 
    0 6px 20px rgba(255, 209, 102, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.15) inset;
}

.fruit-btn--sm { 
  padding: 8px 16px; 
  font-size: 0.85rem;
}

.fruit-btn:active, 
.leaf-btn:active { 
  transform: translateY(0px) scale(0.98);
}

.music-toggle {
  position: fixed; right: 14px; bottom: 14px; z-index: 60;
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 30% 30%, #1fbf63 0%, #0e7a3a 90%);
  color: white; border: 2px solid #ffffff2e; box-shadow: 0 10px 20px #0006;
}

/* Floating Settings Button */
.settings-fab {
  position: fixed; right: 14px; bottom: 78px; z-index: 60;
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 30% 30%, #facc15 0%, #ea580c 90%);
  color: white; border: 2px solid #ffffff2e; box-shadow: 0 10px 20px #0006;
}

/* ===== ENHANCED CARDS ===== */
.card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.08) 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  padding: 12px;
  box-shadow: 
    0 5px 20px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset,
    0 2px 5px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(12px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 209, 102, 0.5), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 209, 102, 0.4);
  box-shadow: 
    0 12px 40px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.15) inset,
    0 4px 16px rgba(255, 209, 102, 0.2);
}

.card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 45px; height: 45px; border-radius: 10px;
  display: grid; place-items: center; font-size: 1.1rem; color: white; margin-bottom: .4rem;
}

/* ===== ENHANCED TYPOGRAPHY ===== */
.card-title { 
  font-weight: 900; 
  font-size: 1.1rem; 
  margin-bottom: 0.6rem; 
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  position: relative;
  display: inline-block;
}

.page-title {
  font-weight: 900;
  font-size: clamp(1rem, 3vw, 2rem);
  color: white;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
  margin-bottom: 2rem;
  background: linear-gradient(135deg, #ffffff 0%, #ffd166 50%, #ffffff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
  position: relative;
  display: inline-block;
}

.page-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--banana), var(--leaf));
  border-radius: 2px;
}

.hero-title { 
  font-weight: 900; 
  font-size: clamp(1.6rem, 3vw, 2.5rem); 
  color: white; 
  text-shadow: 0 3px 0 #00000050, 0 0 18px #fff2; 
}

.text-banana { color: var(--banana) }

/* ===== Enhanced Home Page Styles ===== */

/* Hero Section */
.hero-section {
  position: relative;
  padding: 2rem 0;
}

.hero-emoji {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  animation: floatEmojis 3s ease-in-out infinite;
}

.hero-banana,
.hero-palm,
.hero-star {
  font-size: 2.5rem;
  display: inline-block;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
  animation: bounceEmoji 2s ease-in-out infinite;
}

.hero-palm {
  animation-delay: 0.3s;
}

.hero-star {
  animation-delay: 0.6s;
  font-size: 2rem;
}

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

@keyframes bounceEmoji {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(5deg); }
}

.enhanced-hero {
  background: linear-gradient(135deg, #ffffff 0%, #ffd166 50%, #ffffff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
  text-shadow: none;
}

.hero-gradient {
  background: linear-gradient(135deg, #ffd166 0%, #ffb347 50%, #ffd166 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
  font-weight: 1000;
}

@keyframes shimmer {
  to { background-position: 200% center; }
}

.hero-subtitle {
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
  font-weight: 500;
}

/* Feature Cards Enhancement */
.feature-card {
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transition: left 0.5s ease;
}

.feature-card:hover::before {
  left: 100%;
}

.feature-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(255, 209, 102, 0.4);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3), 0 0 30px rgba(255, 209, 102, 0.2);
}

.feature-card-1:hover {
  box-shadow: 0 20px 40px rgba(0,0,0,0.3), 0 0 30px rgba(34, 197, 94, 0.3);
}

.feature-card-2:hover {
  box-shadow: 0 20px 40px rgba(0,0,0,0.3), 0 0 30px rgba(251, 191, 36, 0.3);
}

.feature-card-3:hover {
  box-shadow: 0 20px 40px rgba(0,0,0,0.3), 0 0 30px rgba(244, 63, 94, 0.3);
}

.card-icon-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.feature-icon {
  width: 50px;
  height: 50px;
  font-size: 1.25rem;
  transition: all 0.3s ease;
  position: relative;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.feature-title {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
  transition: color 0.3s ease;
}

.feature-card:hover .feature-title {
  color: var(--banana);
}

.feature-description {
  color: rgba(255,255,255,0.85);
  line-height: 1.4;
  font-size: 0.8rem;
}

.feature-decoration {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  font-size: 2rem;
  opacity: 0.3;
  transition: all 0.3s ease;
  transform: scale(0.8);
}

.feature-card:hover .feature-decoration {
  opacity: 0.6;
  transform: scale(1.1) rotate(15deg);
}

/* Hero Buttons */
.hero-btn {
  padding: 10px 20px;
  font-size: 0.95rem;
  font-weight: 800;
  min-width: 150px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.hero-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.hero-btn:hover::before {
  width: 300px;
  height: 300px;
}

.hero-btn-primary {
  font-size: 1rem;
  padding: 12px 24px;
  box-shadow: 0 8px 0 #00000040, 0 0 20px rgba(255, 209, 102, 0.4);
}

.hero-btn-primary:hover {
  box-shadow: 0 10px 0 #00000040, 0 0 30px rgba(255, 209, 102, 0.6);
  transform: translateY(-2px) scale(1.05);
}

/* Daily Challenge Card */
.daily-challenge-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.08) 100%);
  border: 2px solid rgba(255, 209, 102, 0.3);
  position: relative;
  overflow: hidden;
}

.daily-challenge-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 209, 102, 0.1) 0%, transparent 70%);
  animation: rotateGradient 10s linear infinite;
}

@keyframes rotateGradient {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.daily-challenge-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.daily-challenge-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(255, 209, 102, 0.3), rgba(255, 179, 71, 0.3));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--banana);
  box-shadow: 0 4px 12px rgba(255, 209, 102, 0.3);
}

.daily-badge {
  width: 45px;
  height: 45px;
  font-size: 1rem;
  box-shadow: 0 4px 12px rgba(255, 209, 102, 0.4);
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { transform: scale(1); box-shadow: 0 4px 12px rgba(255, 209, 102, 0.4); }
  50% { transform: scale(1.05); box-shadow: 0 6px 20px rgba(255, 209, 102, 0.6); }
}

.daily-progress {
  height: 16px;
  border-radius: 12px;
  background: rgba(11, 94, 59, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.daily-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--leaf) 0%, var(--banana) 50%, var(--leaf) 100%);
  background-size: 200% auto;
  animation: progressShine 2s linear infinite;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(255, 209, 102, 0.5);
}

@keyframes progressShine {
  to { background-position: 200% center; }
}

.daily-challenge-btn {
  position: relative;
  z-index: 1;
  font-size: 1.1rem;
  padding: 14px 24px;
  box-shadow: 0 6px 0 #00000030, 0 0 20px rgba(255, 209, 102, 0.3);
  transition: all 0.3s ease;
}

.daily-challenge-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 0 #00000030, 0 0 30px rgba(255, 209, 102, 0.5);
}

/* Daily Missions Styles */
.daily-missions-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.06) 100%);
  border: 2px solid rgba(34, 197, 94, 0.3);
  position: relative;
  overflow: hidden;
}

.daily-missions-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.08) 0%, transparent 70%);
  animation: rotateGradient 12s linear infinite;
}

.daily-missions-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.daily-missions-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.3), rgba(16, 185, 129, 0.3));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--leaf);
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3);
}

.daily-missions-progress-badge {
  background: linear-gradient(135deg, var(--leaf), #16a34a);
  color: white;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.4);
}

.daily-missions-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
  z-index: 1;
}

.daily-mission-item {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.daily-mission-item:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(34, 197, 94, 0.4);
  transform: translateX(4px);
}

.daily-mission-item.completed {
  background: rgba(34, 197, 94, 0.15);
  border-color: var(--leaf);
}

.daily-mission-checkbox {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.05);
}

.daily-mission-item.completed .daily-mission-checkbox {
  background: var(--leaf);
  border-color: var(--leaf);
}

.daily-mission-item.completed .daily-mission-checkbox i {
  color: white;
  font-size: 0.7rem;
  display: block;
}

.daily-mission-item:not(.completed) .daily-mission-checkbox i {
  display: none;
}

.daily-mission-text {
  flex: 1;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  font-weight: 500;
}

.daily-mission-item.completed .daily-mission-text {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: line-through;
}

.daily-mission-reward {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--banana);
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-emoji {
    gap: 0.75rem;
  }
  
  .hero-banana,
  .hero-palm {
    font-size: 2rem;
  }
  
  .hero-star {
    font-size: 1.5rem;
  }
  
  .feature-card {
    margin-bottom: 1rem;
  }
  
  .hero-btn {
    min-width: 100%;
    width: 100%;
  }
  
  .daily-challenge-header {
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
  }
  
  .daily-badge {
    align-self: flex-end;
  }
  
  .daily-missions-header {
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
  }
  
  .daily-missions-progress-badge {
    align-self: flex-end;
  }
}

/* ===== ENHANCED PROGRESS BARS ===== */
.progress {
  height: 14px;
  background: rgba(11, 94, 59, 0.4);
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) inset;
  position: relative;
}

.progress__bar {
  height: 100%;
  background: linear-gradient(90deg, var(--leaf) 0%, var(--banana) 50%, var(--leaf) 100%);
  background-size: 200% auto;
  width: 0;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 10px;
  box-shadow: 
    0 0 10px rgba(255, 209, 102, 0.5),
    0 2px 4px rgba(0, 0, 0, 0.2) inset;
  animation: progressShine 2s linear infinite;
  position: relative;
}

.progress__bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: progressShimmer 1.5s ease-in-out infinite;
}

@keyframes progressShimmer {
  0%, 100% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
}

/* ===== ENHANCED STATUS BADGES ===== */
.level-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: #1f1500;
  background: linear-gradient(135deg, var(--banana), var(--banana-deep));
  font-weight: 900;
  box-shadow: 
    inset 0 0 0 3px rgba(255, 255, 255, 0.4),
    0 4px 12px rgba(255, 209, 102, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  position: relative;
}

.level-badge::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--banana), var(--leaf));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
  filter: blur(8px);
}

.level-badge:hover::before {
  opacity: 0.5;
}

.level-badge:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 
    inset 0 0 0 3px rgba(255, 255, 255, 0.5),
    0 6px 20px rgba(255, 209, 102, 0.6);
}

.score-display {
  color: var(--banana);
  font-weight: 900;
  font-size: 1.5rem;
  text-shadow: 0 2px 8px rgba(255, 209, 102, 0.5);
  background: linear-gradient(135deg, #ffffff 0%, #ffd166 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.streak-counter {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(135deg, var(--leaf), var(--banana));
  color: #1f1500;
  font-weight: 900;
  box-shadow: 
    0 4px 12px rgba(34, 197, 94, 0.4),
    inset 0 0 0 2px rgba(255, 255, 255, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.streak-counter:hover {
  transform: scale(1.1);
  box-shadow: 
    0 6px 20px rgba(34, 197, 94, 0.6),
    inset 0 0 0 2px rgba(255, 255, 255, 0.4);
}

/* ===== ENHANCED INPUTS ===== */
.input {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: white;
  padding: 14px 18px;
  border-radius: 12px;
  outline: none;
  width: 100%;
  transition: all 0.3s ease;
  font-size: 1rem;
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) inset;
}

.input:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.12);
}

.input:focus { 
  border-color: var(--banana); 
  box-shadow: 
    0 0 0 4px rgba(255, 209, 102, 0.2),
    0 4px 12px rgba(0, 0, 0, 0.2) inset;
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}

.input::placeholder { 
  color: rgba(255, 255, 255, 0.6);
}

.input--lg { 
  font-size: 1.5rem; 
  padding: 18px 24px;
  font-weight: 700;
  text-align: center;
}

/* ===== ENHANCED MODALS ===== */
.modal {
  position: fixed; 
  inset: 0; 
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  display: grid; 
  place-items: center; 
  z-index: 80;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.settings-modal-landscape {
  width: 100% !important;
  max-width: 900px !important;
  max-height: 85vh;
  overflow-y: auto;
  margin-top: 5rem;
}

.settings-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .settings-grid {
    grid-template-columns: 1fr;
  }
  .settings-modal-landscape {
    max-width: 95vw !important;
  }
}

.modal__card {
  width: 100%; 
  max-width: 460px;
  background: linear-gradient(135deg, rgba(14, 75, 49, 0.98) 0%, rgba(12, 58, 38, 0.98) 100%);
  border: 2px solid rgba(255, 209, 102, 0.3);
  border-radius: 24px;
  padding: 32px; 
  color: white; 
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  position: relative;
  backdrop-filter: blur(12px);
  animation: modalSlideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal__title { 
  font-size: 2rem; 
  font-weight: 900; 
  text-align: center; 
  margin-bottom: 24px;
  background: linear-gradient(135deg, #ffffff 0%, #ffd166 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.close-modal {
  position: absolute; 
  right: 16px; 
  top: 16px;
  width: 40px; 
  height: 40px; 
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1); 
  border: 1px solid rgba(255, 255, 255, 0.2); 
  color: white; 
  font-weight: 900;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: grid;
  place-items: center;
}

.close-modal:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.4);
  transform: rotate(90deg) scale(1.1);
}

/* ===== ENHANCED GOOGLE BUTTON ===== */
.google-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #ffffff;
  color: #1f1f1f;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  padding: 12px 20px;
  font-weight: 800;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.google-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.05);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.google-btn:hover::before {
  width: 300px;
  height: 300px;
}

.google-btn:hover {
  background: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
}

.google-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.google-btn:hover .google-icon {
  transform: scale(1.1);
}

/* ===== ENHANCED TABS ===== */
.tab-switch {
  display: flex;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 8px;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.tab-switch__btn {
  padding: 10px 20px;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 800;
  background: transparent;
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 0.9rem;
}

.tab-switch__btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.tab-switch__btn.active {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.4);
  transform: translateY(-1px);
}

/* ===== ENHANCED LEADERBOARD TABLE ===== */
.leaderboard-table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
}

.leaderboard-table thead tr { 
  background: linear-gradient(135deg, rgba(8, 51, 31, 0.8), rgba(6, 78, 59, 0.8));
  color: #fff;
  border-radius: 12px 12px 0 0;
}

.leaderboard-table thead th {
  padding: 16px;
  font-weight: 800;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--banana);
  border-bottom: 2px solid rgba(255, 209, 102, 0.3);
}

.leaderboard-table thead th.text-right {
  text-align: right;
}

.leaderboard-table thead th.text-left {
  text-align: left;
}

.leaderboard-table tbody tr {
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.leaderboard-table tbody tr:nth-child(even) { 
  background: rgba(255, 255, 255, 0.04);
}

.leaderboard-table tbody tr:hover { 
  background: rgba(255, 209, 102, 0.15);
  transform: scale(1.01);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.leaderboard-table tbody td {
  padding: 16px;
  color: rgba(255, 255, 255, 0.9);
}

.leaderboard-table tbody td.text-right {
  text-align: right;
}

.leaderboard-table tbody td.text-left {
  text-align: left;
}

/* ===== ENHANCED PROFILE STATS ===== */
.stat-chip {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.08) 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  padding: 16px;
  text-align: center;
  color: white;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stat-chip::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 209, 102, 0.1), transparent);
  transition: left 0.5s ease;
}

.stat-chip:hover::before {
  left: 100%;
}

.stat-chip:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 209, 102, 0.4);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.stat-chip__value { 
  font-weight: 900; 
  font-size: 1.35rem;
  background: linear-gradient(135deg, #ffffff 0%, #ffd166 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-chip__label { 
  color: rgba(255, 255, 255, 0.8); 
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 4px;
}

/* ===== ENHANCED ACHIEVEMENTS ===== */
.achievements-grid { 
  display: grid; 
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); 
  gap: 16px;
}

.achievement-card { 
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  padding: 16px;
  text-align: center;
  color: white;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.achievement-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(255, 209, 102, 0.5), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.achievement-card.unlocked { 
  border-color: #22c55e;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(16, 185, 129, 0.15));
  box-shadow: 0 4px 16px rgba(34, 197, 94, 0.3);
}

.achievement-card.unlocked::before {
  opacity: 1;
  background: linear-gradient(90deg, transparent, #22c55e, transparent);
}

.achievement-card:hover { 
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 209, 102, 0.4);
}

.achievement-card.unlocked:hover {
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.4);
}

.achievement-icon { 
  font-size: 2.25rem; 
  color: var(--banana); 
  margin-bottom: 10px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
  transition: transform 0.3s ease;
}

.achievement-card:hover .achievement-icon {
  transform: scale(1.1) rotate(5deg);
}
.achievement-icon-small { 
  display: flex; 
  align-items: center; 
  justify-content: center;
  min-width: 40px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 209, 102, 0.15);
  border: 1px solid rgba(255, 209, 102, 0.3);
}

/* ===== ENHANCED SHOP ===== */
.coin-pod {
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(255, 209, 102, 0.2), rgba(255, 179, 71, 0.15));
  border: 2px solid rgba(255, 209, 102, 0.4);
  border-radius: 16px;
  padding: 12px 20px;
  color: white;
  box-shadow: 0 4px 12px rgba(255, 209, 102, 0.3);
  font-weight: 800;
  font-size: 1.1rem;
}

.powerup-card { 
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.08) 100%);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 18px;
  color: white;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.powerup-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.powerup-card:hover::before {
  left: 100%;
}

.powerup-card:hover { 
  transform: translateY(-6px) scale(1.02);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.12));
  border-color: rgba(255, 209, 102, 0.5);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.powerup-icon { 
  font-size: 2.25rem; 
  color: #a7f3d0; 
  margin-bottom: 10px;
  filter: drop-shadow(0 2px 8px rgba(167, 243, 208, 0.4));
  transition: transform 0.3s ease;
}

.powerup-card:hover .powerup-icon {
  transform: scale(1.15) rotate(5deg);
}

.powerup-title { 
  font-weight: 900;
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.powerup-desc { 
  opacity: 0.85; 
  font-size: 0.95rem;
  line-height: 1.5;
}

.powerup-meta { 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.price { 
  color: var(--banana); 
  font-weight: 900;
  font-size: 1.2rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Power-Up Hotbar (In-Game) */
.powerup-hotbar-btn {
  background: #ffffff12;
  border: 2px solid #ffffff22;
  border-radius: 10px;
  padding: 6px 10px;
  min-width: 60px;
  color: white;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.powerup-hotbar-btn:hover:not(:disabled) {
  transform: translateY(-2px) scale(1.05);
  background: #ffffff18;
  border-color: var(--banana);
}

.powerup-hotbar-btn .text-2xl {
  font-size: 1.25rem;
  line-height: 1;
}

.powerup-hotbar-btn .text-xs {
  font-size: 0.7rem;
  margin-top: 2px;
}

.powerup-hotbar-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.powerup-hotbar-btn.powerup-active {
  background: #22c55e22;
  border-color: #22c55e;
  box-shadow: 0 0 10px #22c55e66;
}

.powerup-active-indicator {
  position: absolute;
  top: -6px;
  right: -6px;
  background: #22c55e;
  color: white;
  font-size: 7px;
  font-weight: 800;
  padding: 1px 3px;
  border-radius: 3px;
  text-transform: uppercase;
}

.powerup-quantity {
  position: absolute;
  bottom: -6px;
  right: -6px;
  background: var(--banana);
  color: #1f1500;
  font-size: 9px;
  font-weight: 800;
  padding: 1px 4px;
  border-radius: 6px;
  min-width: 18px;
  text-align: center;
}

/* Power-Up Inventory Badge (Shop) */
.powerup-inventory {
  margin: 8px 0;
  text-align: center;
}

.inventory-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  background: #ffffff10;
  border: 1px solid #ffffff22;
  color: #ffffff90;
  transition: all 0.2s ease;
}

.inventory-badge.has-inventory {
  background: #22c55e22;
  border-color: #22c55e;
  color: #a3e635;
}

.inventory-badge strong {
  color: var(--banana);
  font-size: 1rem;
}

/* Power-Ups Summary - Removed to reduce crowding */

/* ===== ENHANCED GAME SCROLL ===== */
.scroll-wrap {
  background: linear-gradient(180deg, #fef3c7, #fde68a);
  border: 6px solid #d4a373;
  border-radius: 20px;
  padding: 24px;
  display: grid;
  place-items: center;
  box-shadow: 
    inset 0 0 0 4px #fcd34d,
    0 12px 32px rgba(0, 0, 0, 0.4),
    0 4px 16px rgba(212, 163, 115, 0.3);
  position: relative;
  transition: all 0.3s ease;
}

.scroll-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.2), transparent);
  border-radius: 14px;
  pointer-events: none;
}

.scroll-wrap:hover {
  transform: scale(1.02);
  box-shadow: 
    inset 0 0 0 4px #fcd34d,
    0 16px 40px rgba(0, 0, 0, 0.5),
    0 6px 20px rgba(212, 163, 115, 0.4);
}

.scroll-image { 
  max-height: 14rem; 
  object-fit: contain; 
  filter: saturate(1.1) contrast(1.1) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2)); 
  width: 100%;
  transition: transform 0.3s ease;
}

.scroll-wrap:hover .scroll-image {
  transform: scale(1.05);
}

/* ===== ENHANCED AVATAR ===== */
.avatar-ring {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(255, 209, 102, 0.3), rgba(255, 179, 71, 0.2));
  border: 3px solid rgba(255, 209, 102, 0.5);
  box-shadow: 
    0 0 20px rgba(255, 209, 102, 0.4),
    0 4px 12px rgba(0, 0, 0, 0.3);
  position: relative;
  transition: all 0.3s ease;
}

.avatar-ring::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--banana), var(--leaf));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.avatar-ring:hover::before {
  opacity: 0.3;
}

.avatar-ring:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 
    0 0 30px rgba(255, 209, 102, 0.6),
    0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Timer & Hint */
.timer { 
  font-size: 1.4rem; 
  font-weight: 900; 
  color: var(--banana); 
  text-shadow: 0 0 12px #ffd166aa;
}

.hint-box { 
  background: linear-gradient(135deg, rgba(255, 209, 102, 0.2), rgba(255, 179, 71, 0.15));
  border: 2px dashed var(--banana);
  border-radius: 16px;
  padding: 16px;
  margin-top: 12px;
  color: #fff;
  font-size: 0.95rem;
  box-shadow: 0 4px 12px rgba(255, 209, 102, 0.2);
  backdrop-filter: blur(8px);
}

/* ===== MODERN FOOTER ===== */
.jungle-footer-modern {
  border-top: 2px solid rgba(255, 209, 102, 0.2);
  background: linear-gradient(180deg, rgba(6, 78, 59, 0.95) 0%, rgba(10, 51, 32, 0.95) 50%, rgba(8, 39, 23, 0.95) 100%);
  backdrop-filter: blur(12px);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.jungle-footer-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 209, 102, 0.5), transparent);
  animation: shimmerNav 3s linear infinite;
}

.footer-content {
  padding: 3rem 1rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.footer-logo {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(255, 209, 102, 0.3), rgba(255, 179, 71, 0.2));
  border: 2px solid rgba(255, 209, 102, 0.4);
  box-shadow: 0 0 20px rgba(255, 209, 102, 0.3);
  flex-shrink: 0;
}

.footer-banana {
  font-size: 24px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.footer-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: white;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #ffffff 0%, #ffd166 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  gap: 3rem;
  justify-content: flex-end;
}

.footer-link-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--banana);
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.85rem;
}

.footer-link {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  font-weight: 600;
  background: none;
  border: none;
  padding: 0;
  text-align: left;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  width: fit-content;
}

.footer-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--banana);
  transition: width 0.3s ease;
}

.footer-link:hover {
  color: white;
  transform: translateX(4px);
}

.footer-link:hover::after {
  width: 100%;
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.footer-author {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Responsive Footer */
@media (max-width: 768px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-links {
    justify-content: flex-start;
    gap: 2rem;
  }
  
  .footer-brand {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .footer-logo {
    margin-bottom: 0.5rem;
  }
  
  .footer-link-group {
    width: 100%;
  }
}

/* Decorative vines */
.vine { position: fixed; top: -120px; width: 220px; height: 220px; background: radial-gradient(circle at 30% 30%, #22c55e, #14532d 70%); filter: blur(40px) saturate(1.2); opacity: .35; z-index: 0; }
.vine-left { left: -60px } .vine-right { right: -60px }

/* Micro animations */
.fun-pop { animation: funpop .5s ease both }
@keyframes funpop { from { transform: scale(.96); opacity: 0 } to { transform: scale(1); opacity: 1 } }
.pulse { animation: pulse 2s infinite }
@keyframes pulse { 0%,100% { transform: scale(1) } 50% { transform: scale(1.05) } }

/* Utility */
.hidden { display: none !important }
.label { color: #ffffffd0; font-weight: 700 }
.text-forest-ink { color: #eaf9f0 }
.bg-danger { background: var(--danger) !important; color: #fff !important }

/* Popup feedback - Professional Design */
.popup-message {
  position: fixed; 
  top: 50%; 
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  font-size: 1.1rem; 
  font-weight: 700; 
  color: white;
  padding: 1rem 1.75rem; 
  border-radius: 16px; 
  z-index: 10000;
  box-shadow: 0 10px 40px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.1) inset;
  animation: popupFade 2s ease-out forwards;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 280px;
  max-width: 90vw;
  text-align: center;
  pointer-events: none;
  line-height: 1.4;
}

.popup-message i {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.popup-correct { 
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border: 2px solid rgba(255,255,255,0.2);
}

.popup-wrong { 
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  border: 2px solid rgba(255,255,255,0.2);
}

.popup-info { 
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  border: 2px solid rgba(255,255,255,0.2);
}

.popup-achieve {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  border: 2px solid rgba(255,255,255,0.2);
  box-shadow: 0 10px 40px rgba(139, 92, 246, 0.4), 0 0 0 1px rgba(255,255,255,0.1) inset;
}

@keyframes popupFade {
  0% { 
    opacity: 0; 
    transform: translate(-50%, -40%) scale(0.85);
  }
  10% { 
    opacity: 1; 
    transform: translate(-50%, -50%) scale(1.05);
  }
  20% { 
    transform: translate(-50%, -50%) scale(1);
  }
  80% { 
    opacity: 1; 
    transform: translate(-50%, -50%) scale(1);
  }
  100% { 
    opacity: 0; 
    transform: translate(-50%, -60%) scale(0.9);
  }
}

/* Responsive popup sizing */
@media (max-width: 640px) {
  .popup-message {
    font-size: 1rem;
    padding: 0.875rem 1.5rem;
    min-width: 260px;
  }
  
  .popup-message i {
    font-size: 1.25rem;
  }
}

/* Responsive */
@media (max-width: 768px) {
  #mobile-menu { transition: all 0.3s ease-in-out; }
}

/* ===== Loader & Teleport ===== */
.loading-screen {
  position: fixed; 
  inset: 0; 
  display: grid; 
  place-items: center;
  background: radial-gradient(1200px 600px at 90% -10%, #a7f3d022 0%, transparent 50%),
              radial-gradient(1000px 600px at 10% -20%, #fef08a22 0%, transparent 50%),
              linear-gradient(180deg, #0a422d 0%, #0d5a38 40%, #0c3a28 100%);
  z-index: 10000;
}

.loader-core { position: relative; width: 160px; height: 160px; display: grid; place-items: center; }
.orbit {
  width: 160px; height: 160px; border-radius: 50%;
  border-top: 3px solid #ffd166; border-right: 3px solid transparent; border-left: 3px solid transparent; border-bottom: 3px solid #22c55e;
  animation: spin 1.4s linear infinite;
  filter: drop-shadow(0 0 8px #ffd166aa);
}
.pulse-ring {
  position: absolute; width: 120px; height: 120px; border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(255, 209, 102, .7);
  animation: pulseRing 1.6s ease-out infinite;
}
.banana-icon {
  position: absolute; width: 100%; height: 100%; display: grid; place-items: center;
  font-size: 42px; transform: translateY(1px);
}
.loading-text { margin-top: 18px; text-align: center; color: #fff; font-weight: 800; letter-spacing: .02em }

@keyframes spin { to { transform: rotate(360deg) } }
@keyframes pulseRing {
  0% { box-shadow: 0 0 0 0 rgba(255, 209, 102, .6) }
  70% { box-shadow: 0 0 0 16px rgba(255, 209, 102, 0) }
  100% { box-shadow: 0 0 0 0 rgba(255, 209, 102, 0) }
}

/* Teleport overlay */
.teleport-overlay {
  position: fixed; inset: 0; z-index: 90; display: grid; place-items: center;
  pointer-events: none;
}
.teleport-flash {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,.8), rgba(255,255,255,0) 40%);
  opacity: 0; animation: telFlash .6s ease-out forwards;
}
.teleport-core { font-size: 44px; filter: drop-shadow(0 0 14px rgba(255, 209, 102, .8)); animation: telPop .6s ease-out forwards; }
@keyframes telFlash { 0% { opacity: 0 } 20% { opacity: 1 } 100% { opacity: 0 } }
@keyframes telPop { 0% { transform: scale(.6); opacity: 0 } 40% { transform: scale(1.1); opacity: 1 } 100% { transform: scale(1); opacity: 0 } }

/* Ensure emojis get a crisp shadow if used as confetti */
body div[style*="🍌"] { filter: drop-shadow(0 0 3px rgba(0,0,0,0.3)); }

@media (min-width: 768px) {
  #mobile-menu-btn {
    display: none !important;
  }
}
@media (max-width: 767px) {
  #mobile-menu-btn {
    display: block !important;
  }
}
/* =======================
   Responsive Navbar Behavior
======================= */
@media (max-width: 767px) {
  #nav-links,
  #auth-links {
    display: none !important;
  }

  #mobile-menu-btn {
    display: block !important;
  }

  #mobile-menu {
    transition: all 0.3s ease-in-out;
  }

  #mobile-menu.show {
    display: block;
  }
}

/* Clock Timer Styles - Updated for top bar positioning */
.timer-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.clock-timer {
  position: relative;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.clock-face {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 4px solid #0b5e3b;
  border-radius: 50%;
  background: #08331f;
  box-shadow: 0 0 15px rgba(0,0,0,0.3), inset 0 0 8px rgba(0,0,0,0.2);
}

.clock-hand {
  position: absolute;
  width: 3px;
  height: 32px;
  background: linear-gradient(to top, #ef4444, #f87171);
  top: 50%;
  left: 50%;
  transform-origin: bottom center;
  transform: translate(-50%, -100%) rotate(0deg);
  border-radius: 3px 3px 0 0;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.6);
  transition: transform 0.3s ease;
}

.clock-center {
  position: absolute;
  width: 12px;
  height: 12px;
  background: #ef4444;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  box-shadow: 0 0 6px rgba(239, 68, 68, 0.8);
}

.clock-time {
  position: relative;
  z-index: 3;
  font-size: 1rem;
  font-weight: 900;
  color: var(--banana);
  text-shadow: 0 0 10px #ffd166aa, 0 0 3px rgba(0,0,0,0.5);
  background: rgba(8, 51, 31, 0.9);
  padding: 6px 12px;
  border-radius: 15px;
  border: 2px solid #ffd166;
}

/* Timer Warning State */
.timer-warning {
  color: #ef4444 !important;
  animation: timerPulse 1s infinite;
  text-shadow: 0 0 10px #ef4444aa, 0 0 3px rgba(239, 68, 68, 0.8);
}

@keyframes timerPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.1); }
}

/* Timer Freeze State */
.timer-freeze {
  color: #3b82f6 !important;
  animation: timerFreeze 0.8s infinite;
  text-shadow: 0 0 15px #3b82f6aa, 0 0 5px rgba(59, 130, 246, 0.8);
  border: 2px solid #3b82f6 !important;
}

@keyframes timerFreeze {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.9; transform: scale(1.05); }
}

.clock-timer .timer-freeze {
  border-color: #3b82f6 !important;
  box-shadow: 0 0 20px #3b82f680;
}

/* Time Freeze Timer Display */
.time-freeze-timer {
  padding: 6px 10px;
  background: linear-gradient(135deg, #3b82f6/20, #2563eb/30);
  border: 2px solid #3b82f6;
  border-radius: 12px;
  box-shadow: 0 0 20px #3b82f680, inset 0 0 10px #3b82f640;
  animation: timeFreezePulse 1.5s ease-in-out infinite;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 60px;
}

.time-freeze-timer.hidden {
  display: none;
}

.time-freeze-timer-icon {
  font-size: 1.2rem;
  animation: timeFreezeIconSpin 2s linear infinite;
  filter: drop-shadow(0 0 8px #3b82f6);
  line-height: 1;
}

.time-freeze-timer-text {
  font-size: 1rem;
  font-weight: 800;
  color: #60a5fa;
  text-shadow: 0 0 10px #3b82f6, 0 0 5px rgba(59, 130, 246, 0.8);
  font-family: 'Comic Neue', cursive;
  line-height: 1;
}

.time-freeze-timer-label {
  font-size: 0.55rem;
  font-weight: 700;
  color: #93c5fd;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  line-height: 1;
}

@keyframes timeFreezePulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 20px #3b82f680, inset 0 0 10px #3b82f640;
  }
  50% {
    opacity: 0.95;
    transform: scale(1.02);
    box-shadow: 0 0 30px #3b82f6aa, inset 0 0 15px #3b82f650;
  }
}

@keyframes timeFreezeIconSpin {
  0% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(-10deg);
  }
  50% {
    transform: rotate(0deg);
  }
  75% {
    transform: rotate(10deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

/* Top bar responsive adjustments */
@media (max-width: 768px) {
  .clock-timer {
    width: 60px;
    height: 60px;
  }

  .clock-hand {
    height: 24px;
    width: 2px;
  }

  .clock-center {
    width: 8px;
    height: 8px;
  }

  .clock-time {
    font-size: 0.8rem;
    padding: 4px 8px;
  }

  .time-freeze-timer {
    padding: 4px 8px;
    min-width: 50px;
  }

  .time-freeze-timer-icon {
    font-size: 1rem;
  }

  .time-freeze-timer-text {
    font-size: 0.85rem;
  }

  .time-freeze-timer-label {
    font-size: 0.5rem;
  }

  .flex.flex-wrap {
    gap: 12px;
  }

  .badge-row {
    flex: 1;
    min-width: 45%;
    justify-content: space-between;
  }

  .timer-container {
    flex: 1;
    min-width: 100%;
    justify-content: center;
    margin-top: 8px;
  }
}

/* Badge row styling for better alignment */
.badge-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
}

.label {
  color: #ffffffd0;
  font-weight: 700;
  font-size: 0.9rem;
}

/* ===== Settings Toggle Switch ===== */
.switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #111827;
  border-radius: 999px;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 0 0 1px #ffffff33;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  top: 3px;
  background-color: #f9fafb;
  border-radius: 999px;
  transition: transform 0.2s ease;
}

.switch input:checked + .slider {
  background: linear-gradient(90deg, #22c55e, #a3e635);
  box-shadow: 0 0 10px #22c55e80;
}

.switch input:checked + .slider:before {
  transform: translateX(20px);
}

/* ===== Volume Slider ===== */
.volume-slider {
  flex: 1;
  height: 8px;
  border-radius: 4px;
  background: #0b5e3b;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--banana), var(--banana-deep));
  cursor: pointer;
  border: 2px solid white;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  transition: transform 0.1s ease;
}

.volume-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.volume-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--banana), var(--banana-deep));
  cursor: pointer;
  border: 2px solid white;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  transition: transform 0.1s ease;
}

.volume-slider::-moz-range-thumb:hover {
  transform: scale(1.15);
}

.volume-slider::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(90deg, #0b5e3b 0%, var(--banana) 100%);
}

.volume-slider::-moz-range-track {
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(90deg, #0b5e3b 0%, var(--banana) 100%);
}

/* ===== Dark Theme Overrides ===== */
body.dark-theme {
  color: #e5e7eb;
  background-color: #020617;
}

.dark-theme .card {
  background: #020617dd;
  border-color: #1f2937;
}

.dark-theme .jungle-nav {
  background: linear-gradient(90deg, #020617, #111827);
  border-color: #1f2937;
}

.dark-theme .jungle-footer {
  background: linear-gradient(180deg, #020617, #020617);
  border-color: #1f2937;
}

.dark-theme .input {
  background: #0f172a;
  border-color: #1f2937;
}

.dark-theme .vine {
  opacity: 0.2;
}

.dark-theme .leaderboard-table thead tr {
  background: #020617;
}

.dark-theme .modal__card {
  background: linear-gradient(180deg, #020617, #020617);
}

.dark-theme .scroll-wrap {
  box-shadow: inset 0 0 0 4px #fcd34d33, 0 12px 24px #0009;
}

/* ===== ENHANCED LEVEL END & GAME OVER SCREENS ===== */
.level-end-card,
.game-over-card {
  margin-top: -1rem;
  position: relative;
  overflow: visible;
  padding: 1.275rem !important;
}

.level-end-icon,
.game-over-icon {
  position: relative;
  font-size: 4.25rem;
  margin-bottom: 1.275rem;
  display: inline-block;
  animation: iconBounce 1s ease-in-out;
}

@keyframes iconBounce {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-10px) scale(1.1); }
}

.trophy-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle, rgba(255, 209, 102, 0.4), transparent 70%);
  border-radius: 50%;
  animation: glowPulse 2s ease-in-out infinite;
  z-index: -1;
}

.gamepad-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle, rgba(244, 63, 94, 0.4), transparent 70%);
  border-radius: 50%;
  animation: glowPulse 2s ease-in-out infinite;
  z-index: -1;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.2); }
}

.level-end-title,
.game-over-title {
  font-size: 2.125rem;
  margin-bottom: 0.5rem;
}

.level-stats,
.game-over-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  margin-bottom: 1.275rem;
}

.level-stat-item {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 0.744rem;
  transition: all 0.3s ease;
}

.level-stat-item:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 209, 102, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.level-stat-label {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.level-stat-value {
  font-size: 1.15rem;
  font-weight: 900;
  color: white;
}

/* Reduce coin text size in level end and game over screens */
#level-end-screen .text-2xl,
#game-over-screen .text-2xl {
  font-size: 1.275rem;
}

.level-end-btn,
.game-over-btn {
  font-size: 0.94rem;
  padding: 12px 24px;
}

@media (max-width: 640px) {
  .level-stats,
  .game-over-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .level-end-icon,
  .game-over-icon {
    font-size: 3.4rem;
  }
  
  .level-end-title,
  .game-over-title {
    font-size: 1.7rem;
  }
}
