/* experience-bar.css - Phase 3D: Points & Levels System */
.experience-bar-container {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 24px;
    border-radius: 16px;
    margin-bottom: 24px;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
}
.level-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}
.current-level {
    display: flex;
    align-items: center;
    gap: 12px;
}
.level-number {
    background: rgba(255, 255, 255, 0.2);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 700;
    border: 2px solid rgba(255, 255, 255, 0.3);
}
.level-title {
    font-size: 1.2rem;
    font-weight: 600;
    opacity: 0.9;
}
.xp-numbers {
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    opacity: 0.9;
}
.experience-bar {
    position: relative;
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 12px;
}
.xp-fill {
    height: 100%;
    background: linear-gradient(90deg, #10B981 0%, #34D399 50%, #6EE7B7 100%);
    border-radius: 10px;
    position: relative;
    transition: width 0.6s ease-out;
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.3);
}
.xp-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shine 2s ease-in-out infinite;
}
.xp-segments {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    pointer-events: none;
}
.xp-segment {
    flex: 1;
    border-right: 1px solid rgba(255, 255, 255, 0.3);
}
.next-level-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    opacity: 0.8;
}
.level-up-celebration {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn 0.5s ease-out;
}
.celebration-content {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 48px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: scaleIn 0.6s ease-out;
}
.celebration-level {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 16px;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}
.celebration-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 12px;
}
.celebration-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 24px;
}
.celebration-rewards {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 12px;
    margin-top: 24px;
}
.bonus-points {
    margin-top: 12px;
    font-weight: 700;
    color: #10B981;
}
.celebration-continue {
    margin-top: 32px;
    padding: 12px 32px;
    font-size: 1.1rem;
    border-radius: 12px;
    background: #10B981;
    color: white;
    border: none;
    cursor: pointer;
    font-weight: 600;
}
@keyframes shine {
    0% { left: -100%; }
    100% { left: 100%; }
}
@keyframes scaleIn {
    0% { transform: scale(0.5); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}
@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}
