/* User Profile Menu */
.user-profile-menu {
    position: absolute;
    top: 2rem;
    left: 2rem;
    z-index: 50;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.profile-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-text-primary);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    cursor: pointer;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
    font-size: 0.9rem;
}

.profile-btn:hover {
    background: rgba(212, 163, 115, 0.2);
    border-color: var(--color-accent);
}

.user-avatar {
    font-size: 1.2rem;
}

.user-name {
    font-weight: 500;
}

.stats-mini {
    background: rgba(26, 24, 22, 0.8);
    backdrop-filter: blur(15px);
    padding: 0.6rem 1rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
}

.stats-mini.hidden {
    display: none;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--color-text-secondary);
}

.stat-item span {
    color: var(--color-accent);
    font-weight: 600;
}

/* Authentication Modal */
.auth-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    z-index: 200;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.4s ease;
}

.auth-modal.hidden {
    opacity: 0;
    pointer-events: none;
}

.auth-content {
    background: #1a1816;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 32px;
    padding: 3rem 2.5rem;
    text-align: center;
    max-width: 400px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.auth-content h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--color-text-primary);
}

.auth-content p {
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.google-signin-btn {
    background: white;
    color: #444;
    border: none;
    padding: 0.9rem 2rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    width: 100%;
    margin-bottom: 1rem;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.google-signin-btn:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transform: translateY(-1px);
}

.skip-btn {
    background: transparent;
    color: var(--color-text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.8rem 2rem;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s;
}

.skip-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-text-primary);
}

/* Stats Dashboard */
.stats-dashboard {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 1.5rem 0;
}

.stat-card {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s;
}

.stat-card:hover {
    background: rgba(0, 0, 0, 0.4);
    border-color: rgba(212, 163, 115, 0.3);
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.stat-value {
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: 0.3rem;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.stat-card.full-width {
    grid-column: 1 / -1;
}

/* Streak Animation */
@keyframes fireGlow {
    0%, 100% {
        text-shadow: 0 0 10px rgba(255, 100, 0, 0.5);
    }
    50% {
        text-shadow: 0 0 20px rgba(255, 100, 0, 0.8);
    }
}

.stat-card .stat-icon.fire {
    animation: fireGlow 2s ease-in-out infinite;
}

/* Responsive */
@media (max-width: 500px) {
    .stats-dashboard {
        grid-template-columns: 1fr;
    }
    
    .user-profile-menu {
        top: 1rem;
        left: 1rem;
    }
}
