/* --- Timer Module V2: The Chronos Ring --- */

.timer-wrapper {
    position: relative;
    padding: 60px 0;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.timer-ring-container {
    position: relative;
    width: clamp(300px, 60vw, 450px);
    aspect-ratio: 1 / 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* The static ring and its glows */
.timer-ring-container::before,
.timer-ring-container::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
}

/* Outer glow */
.timer-ring-container::before {
    box-shadow: 0 0 40px rgba(100, 180, 255, 0.3);
}

/* Inner ring structure */
.timer-ring-container::after {
    inset: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.1);
}

.timer-ring-scanner {
    position: absolute;
    inset: 5px;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        transparent 0%,
        transparent 50%,
        rgba(120, 200, 255, 0.5) 90%,
        white 100%
    );
    animation: rotate 60s linear infinite;
    will-change: transform;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.timer-values-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

.timer-value-block {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120px;
    height: 90px;
    transform-origin: center;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;

    background: rgba(28, 28, 38, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

/* Position each block around the ring */
.timer-value-block:nth-child(1) { /* Days */
    transform: translate(-50%, -50%) translateY(-90%) scale(1.1);
}
.timer-value-block:nth-child(2) { /* Hours */
    transform: translate(-50%, -50%) rotate(120deg) translateY(-90%) rotate(-120deg);
}
.timer-value-block:nth-child(3) { /* Minutes */
    transform: translate(-50%, -50%) rotate(240deg) translateY(-90%) rotate(-240deg);
}

.timer-value {
    font-family: 'Roboto Mono', monospace;
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    font-weight: 700;
    color: var(--text-color);
    line-height: 1;
    text-shadow: 0 0 10px rgba(255,255,255,0.3);
}

.timer-label {
    font-size: 0.9rem;
    color: var(--muted-text);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timer-arrival-info {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}