/* Estilos específicos para o medidor de aro */

/* Timeline */
.timeline-container {
    position: relative;
}

.timeline-item {
    position: relative;
    opacity: 0.5;
    transform: translateX(-20px);
    transition: all 0.5s ease;
}

.timeline-item.active {
    opacity: 1;
    transform: translateX(0);
}

/* Estilo da bolha e linha */
.timeline-dot {
    position: relative;
    border: 2px solid #8b7355;
    background: #f5e6d3;
    transition: all 0.5s ease;
}

.timeline-item.active .timeline-dot {
    background: #8b7355;
    box-shadow: 0 0 0 4px rgba(139, 115, 85, 0.2);
}

.timeline-item:not(:last-child) .timeline-dot::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 100%;
    height: 0;
    width: 2px;
    background: #8b7355;
    transition: height 1s ease;
}

.timeline-item.active:not(:last-child) .timeline-dot::after {
    height: 2.5rem;
}

/* Rings */
.ring-container {
    position: relative;
    width: 160px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}

.ring-incorrect {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(45deg, #d4af37, #fff6e6, #d4af37);
    border: 12px solid;
    border-color: #d4af37 #ffd700 #d4af37 #ffd700;
    transform: rotateX(60deg) rotateZ(-45deg);
    box-shadow: 
        inset 0 0 20px rgba(0,0,0,0.2),
        0 5px 15px rgba(0,0,0,0.1);
}

.ring-incorrect::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.4), transparent);
}

.ring-incorrect::after {
    content: '';
    position: absolute;
    width: 140%;
    height: 140%;
    left: -20%;
    top: -20%;
    border: 3px solid #ff0000;
    border-radius: 50%;
    border-top-color: transparent;
    transform: rotate(-45deg);
}

.ring-correct {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(45deg, #d4af37, #fff6e6, #d4af37);
    border: 12px solid;
    border-color: #d4af37 #ffd700 #d4af37 #ffd700;
    transform: rotateX(60deg);
    box-shadow: 
        inset 0 0 20px rgba(0,0,0,0.2),
        0 5px 15px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.ring-correct::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.4), transparent);
}

.ring-correct-inner {
    position: absolute;
    width: calc(100% - 4px);
    height: calc(100% - 4px);
    border: 2px solid #4ade80;
    border-radius: 50%;
    opacity: 0.9;
    top: 2px;
    left: 2px;
}

/* Status indicators */
.status-indicator {
    position: absolute;
    top: -1rem;
    right: -1rem;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.status-indicator.error {
    background: #ef4444;
}

.status-indicator.success {
    background: #22c55e;
}

/* Animações */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.button-continue {
    animation: pulse 2s infinite;
}

/* Scroll Smooth */
html {
    scroll-behavior: smooth;
}

/* Responsividade */
@media (max-width: 640px) {
    .ring-container {
        width: 140px;
        height: 140px;
    }

    .ring-incorrect,
    .ring-correct {
        width: 100px;
        height: 100px;
        border-width: 10px;
    }

    .ring-correct-inner {
        width: calc(100% - 2px);
        height: calc(100% - 2px);
        top: 1px;
        left: 1px;
    }
} 