.notification-badge::after {
content: "";
position: absolute;
top: 0;
right: 0;
width: 8px;
height: 8px;
background-color: #10B981;
border-radius: 50%;
}
body {
font-family: 'Chakra Petch', sans-serif;
background-color: #0A0E1A;
color: #ffffff;
overflow-x: hidden;
}
.game-card {
transition: all 0.3s ease;
background: linear-gradient(135deg, rgba(30, 58, 138, 0.6), rgba(16, 185, 129, 0.2));
backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.1);
}
.nav-item {
transition: all 0.3s ease;
}
.nav-item.active {
background: linear-gradient(135deg, rgba(16, 185, 129, 0.8), rgba(30, 58, 138, 0.4));
box-shadow: 0 0 15px rgba(16, 185, 129, 0.5);
}
.tab-button {
transition: all 0.3s ease;
}
.tab-button.active {
background: linear-gradient(90deg, #10B981, #1E3A8A);
box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}
.pixel-border {
position: relative;
overflow: hidden;
}
.pixel-border::after {
content: "";
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: linear-gradient(90deg, #10B981, #8B5CF6, #1E3A8A);
z-index: -1;
margin: -2px;
border-radius: inherit;
animation: borderAnimation 3s infinite linear;
}
@keyframes borderAnimation {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}
.glow-effect {
position: relative;
}
.glow-effect::before {
content: "";
position: absolute;
top: -5px;
left: -5px;
right: -5px;
bottom: -5px;
background: linear-gradient(45deg, #10B981, transparent, #1E3A8A);
z-index: -1;
border-radius: inherit;
filter: blur(10px);
opacity: 0;
transition: opacity 0.3s ease;
}
.glow-effect:hover::before {
opacity: 1;
}
.banner-container {
position: relative;
overflow: hidden;
}
.banner-container::before {
content: "";
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: radial-gradient(circle at center, transparent 0%, rgba(10, 14, 26, 0.8) 100%);
z-index: 1;
}
.stat-card {
background: linear-gradient(135deg, rgba(30, 58, 138, 0.4), rgba(16, 185, 129, 0.1));
backdrop-filter: blur(5px);
border: 1px solid rgba(255, 255, 255, 0.1);
transition: all 0.3s ease;
}
.stat-card:hover {
transform: translateY(-3px);
box-shadow: 0 5px 15px rgba(16, 185, 129, 0.3);
}
.rank-item {
background: linear-gradient(90deg, rgba(30, 58, 138, 0.4), rgba(16, 185, 129, 0.1));
backdrop-filter: blur(5px);
border: 1px solid rgba(255, 255, 255, 0.1);
transition: all 0.3s ease;
}
.rank-item:hover {
transform: translateX(3px);
box-shadow: 0 0 15px rgba(16, 185, 129, 0.3);
}
.crown-icon {
position: absolute;
top: -10px;
left: 10px;
color: #FFD700;
filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.7));
}
.rate-button {
background: linear-gradient(90deg, #10B981, #1E3A8A);
position: relative;
overflow: hidden;
transition: all 0.3s ease;
}
.rate-button::before {
content: "";
position: absolute;
top: -50%;
left: -50%;
width: 200%;
height: 200%;
background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
transform: rotate(45deg);
animation: shineEffect 3s infinite;
}
@keyframes shineEffect {
0% { left: -50%; }
100% { left: 150%; }
}
.progress-bar {
height: 6px;
background: rgba(255, 255, 255, 0.1);
border-radius: 3px;
overflow: hidden;
}
.progress-fill {
height: 100%;
background: linear-gradient(90deg, #10B981, #1E3A8A);
border-radius: 3px;
animation: pulse 2s infinite;
}
@keyframes pulse {
0%, 100% { opacity: 1; }
50% { opacity: 0.7; }
}

/* --- Task Page Specific Styles (moved from task.html) --- */
#game-carousel {
  perspective: 1000px;
  position: relative;
  height: 380px; /* height includes reflection */
  display: flex;
  justify-content: center;
  align-items: center;
}
#game-carousel .carousel-item {
  position: absolute;
  width: 160px;
  height: 240px;
  object-fit: cover;
  border-radius: 0.75rem;
  -webkit-box-reflect: below 5px linear-gradient(transparent, transparent, rgba(0,0,0,0.4));
  transition: transform 0.7s cubic-bezier(0.25, 0.8, 0.25, 1),
              filter 0.7s cubic-bezier(0.25, 0.8, 0.25, 1),
              z-index 0.7s;
}
#game-carousel .pos0 {
  transform: translateZ(0) rotateY(0deg) scale(1.1);
  z-index: 3;
  filter: brightness(1) drop-shadow(0 15px 25px rgba(0,0,0,0.5));
}
#game-carousel .pos1 {
  transform: translateX(-160px) rotateY(30deg) scale(0.9);
  z-index: 2;
  filter: brightness(0.5);
}
#game-carousel .pos2 {
  transform: translateX(160px) rotateY(-30deg) scale(0.9);
  z-index: 2;
  filter: brightness(0.5);
}

.stat-card-enhanced {
  background-color: rgba(30, 41, 59, 0.5); /* slate-800 with opacity */
  border: 1px solid rgba(51, 65, 85, 0.5); /* slate-700 with opacity */
  border-radius: 1rem;
  padding: 1.25rem; /* increased padding for larger size */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.stat-card-enhanced:hover {
  transform: translateY(-5px) scale(1.03);
  border-color: rgba(16, 185, 129, 0.6);
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
} 