.step-counter-container {
    max-width: 1200px;
    margin: 0 auto;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 25px;
    padding: 30px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #ffffff;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    min-height: 600px;
}

.step-counter-header {
    text-align: center;
    margin-bottom: 40px;
    border-bottom: 2px solid #333;
    padding-bottom: 20px;
}

.step-counter-header h2 {
    color: #FF6B35;
    margin: 0 0 10px 0;
    font-size: 32px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.current-date {
    color: #888;
    font-size: 16px;
    font-weight: 500;
}

/* Layout principal para PC */
.main-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
    align-items: start;
}

.left-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.right-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Anillo de progreso */
.main-progress-ring {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.progress-ring {
    position: relative;
    width: 220px;
    height: 220px;
}

.progress-ring-circle {
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
    transition: stroke-dashoffset 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
}

.steps-count {
    font-size: 42px;
    font-weight: 800;
    color: #FF6B35;
    margin-bottom: 8px;
    text-shadow: 0 2px 10px rgba(255, 107, 53, 0.3);
}

.steps-label {
    font-size: 16px;
    color: #888;
    margin-bottom: 8px;
    font-weight: 500;
}

.steps-goal {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

/* Input section */
.steps-input-section {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

#steps-input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid #333;
    border-radius: 12px;
    background: #2d2d2d;
    color: white;
    font-size: 18px;
    font-weight: 500;
    transition: all 0.3s ease;
}

#steps-input:focus {
    outline: none;
    border-color: #FF6B35;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.2);
}

.step-btn {
    background: linear-gradient(135deg, #FF6B35 0%, #FF8E53 100%);
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    min-width: 140px;
}

.step-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

/* Estadísticas semanales */
.weekly-stats {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 25px;
    backdrop-filter: blur(10px);
}

.weekly-stats h3 {
    color: #FF6B35;
    margin-bottom: 20px;
    font-size: 22px;
    font-weight: 700;
    text-align: center;
}

.week-bars {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    height: 160px;
    gap: 12px;
}

.day-bar {
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bar-container {
    height: 120px;
    background: #333;
    border-radius: 8px;
    position: relative;
    margin-bottom: 12px;
    width: 100%;
    max-width: 50px;
    overflow: hidden;
}

.bar-fill {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, #FF6B35, #FF8E53);
    border-radius: 8px;
    transition: height 1s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 5px;
}

.day-label {
    display: block;
    font-size: 13px;
    color: #888;
    margin-bottom: 6px;
    font-weight: 600;
}

.day-steps {
    display: block;
    font-size: 12px;
    color: #666;
    font-weight: 500;
}

/* Premios */
.rewards-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 25px;
    backdrop-filter: blur(10px);
}

.rewards-section h3 {
    color: #FF6B35;
    margin-bottom: 20px;
    font-size: 22px;
    font-weight: 700;
    text-align: center;
}

.rewards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.reward-card {
    background: linear-gradient(135deg, #333 0%, #444 100%);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.reward-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.1), transparent);
    transition: left 0.6s ease;
}

.reward-card:hover::before {
    left: 100%;
}

.reward-card.claimed {
    border-color: #FF6B35;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(255, 142, 83, 0.1) 100%);
}

.reward-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.reward-icon {
    font-size: 40px;
    margin-bottom: 15px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.reward-card h4 {
    margin: 0 0 8px 0;
    color: white;
    font-size: 18px;
    font-weight: 700;
}

.reward-card p {
    margin: 0 0 15px 0;
    color: #888;
    font-size: 14px;
    font-weight: 500;
}

.claim-btn {
    background: linear-gradient(135deg, #FF6B35 0%, #FF8E53 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.claim-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

.claimed-badge, .pending-badge {
    font-size: 12px;
    padding: 8px 16px;
    border-radius: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.claimed-badge {
    background: linear-gradient(135deg, #4CAF50 0%, #66BB6A 100%);
    color: white;
}

.pending-badge {
    background: #666;
    color: #ccc;
}

/* Logros */
.achievements-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(10px);
}

.achievements-section h3 {
    color: #FF6B35;
    margin-bottom: 25px;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
}

.achievement-card {
    background: linear-gradient(135deg, #333 0%, #444 100%);
    border-radius: 15px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 2px solid transparent;
    transition: all 0.4s ease;
    position: relative;
}

.achievement-card.unlocked {
    border-color: #FF6B35;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(255, 142, 83, 0.1) 100%);
}

.achievement-card.locked {
    opacity: 0.7;
}

.achievement-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.achievement-icon {
    font-size: 32px;
    flex-shrink: 0;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.3));
}

.achievement-info {
    flex: 1;
}

.achievement-info h5 {
    margin: 0 0 5px 0;
    font-size: 16px;
    color: white;
    font-weight: 700;
}

.achievement-info p {
    margin: 0 0 10px 0;
    font-size: 12px;
    color: #888;
    font-weight: 500;
}

.achievement-progress {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.progress-bar {
    height: 6px;
    background: #333;
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #FF6B35, #FF8E53);
    border-radius: 3px;
    transition: width 1s ease;
}

.achievement-progress span {
    font-size: 11px;
    color: #666;
    font-weight: 600;
}

.unlocked-badge, .locked-badge {
    font-size: 20px;
    flex-shrink: 0;
}

.unlocked-badge {
    color: #4CAF50;
    text-shadow: 0 2px 4px rgba(76, 175, 80, 0.3);
}

.locked-badge {
    color: #666;
}

.step-counter-login-required {
    text-align: center;
    padding: 60px 40px;
    background: #333;
    border-radius: 20px;
    color: white;
    font-size: 18px;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 1024px) {
    .step-counter-container {
        margin: 20px;
        padding: 25px;
    }
    
    .main-content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .achievements-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .step-counter-container {
        margin: 15px;
        padding: 20px;
        border-radius: 20px;
    }
    
    .step-counter-header h2 {
        font-size: 24px;
    }
    
    .current-date {
        font-size: 14px;
    }
    
    .progress-ring {
        width: 180px;
        height: 180px;
    }
    
    .steps-count {
        font-size: 32px;
    }
    
    .steps-input-section {
        flex-direction: column;
    }
    
    .step-btn {
        min-width: auto;
    }
    
    .week-bars {
        height: 140px;
    }
    
    .bar-container {
        height: 100px;
    }
    
    .achievements-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .step-counter-container {
        margin: 10px;
        padding: 15px;
        border-radius: 15px;
    }
    
    .step-counter-header h2 {
        font-size: 20px;
    }
    
    .progress-ring {
        width: 150px;
        height: 150px;
    }
    
    .steps-count {
        font-size: 28px;
    }
    
    .rewards-grid,
    .achievements-grid {
        grid-template-columns: 1fr;
    }
    
    .achievement-card {
        flex-direction: column;
        text-align: center;
    }
}

/* Animaciones */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.reward-card.claimed {
    animation: pulse 2s infinite;
}

/* Scroll personalizado */
.step-counter-container::-webkit-scrollbar {
    width: 8px;
}

.step-counter-container::-webkit-scrollbar-track {
    background: #333;
    border-radius: 4px;
}

.step-counter-container::-webkit-scrollbar-thumb {
    background: #FF6B35;
    border-radius: 4px;
}

.step-counter-container::-webkit-scrollbar-thumb:hover {
    background: #e55a2b;
}