.section-sub-title {
    color: var(--color-gold);
    font-size: 1.4rem;
    text-transform: uppercase;
    margin: 30px 0 15px;
    letter-spacing: 1px;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.vote-tiers-timeline {
    margin: 40px 0;
    padding: 35px 35px 45px 35px;
    background: linear-gradient(145deg, rgba(20, 12, 8, 0.7), rgba(30, 20, 15, 0.7));
    border-radius: 16px;
    overflow: visible;
    width: 100%;
    box-sizing: border-box;
    max-width: 100%;
    border: 1px solid rgba(255, 215, 0, 0.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.05);
    position: relative;
}

.vote-tiers-timeline h4.progression-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
    color: var(--color-gold);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vote-tiers-timeline h4::before,
.vote-tiers-timeline h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    height: 3px;
    border-radius: 2px;
}

.vote-tiers-timeline h4::before {
    left: 30%;
    right: 30%;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
    opacity: 0.7;
}

.vote-tiers-timeline h4::after {
    left: 40%;
    right: 40%;
    bottom: -4px;
    background: rgba(255, 255, 255, 0.3);
    filter: blur(2px);
}

.vote-tiers-timeline h4 i {
    margin-right: 10px;
    color: var(--color-gold);
    animation: pulse-icon 2s infinite ease-in-out;
}

@keyframes pulse-icon {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.vote-tiers-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
    border-radius: 3px 3px 0 0;
    opacity: 0.7;
}

.timeline-container {
    position: relative;
    margin: 60px 0 60px;
    height: 36px;
    width: 100%;
    overflow: visible;
}

.timeline-track {
    position: absolute;
    top: 16px;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border-radius: 6px;
    overflow: hidden;
    width: 100%;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.5);
}

.timeline-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(90deg, #bb8e36, #f0c454, #bb8e36);
    border-radius: 6px;
    transition: width 1s cubic-bezier(0.22, 1, 0.36, 1);
    min-width: 6px;
    box-shadow: 0 0 15px rgba(240, 196, 84, 0.5), 0 0 5px rgba(240, 196, 84, 0.3);
}

.timeline-progress::after {
    content: '';
    position: absolute;
    top: -5px;
    right: -1px;
    height: 16px;
    width: 3px;
    background-color: #ffffff;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.9), 0 0 10px rgba(240, 196, 84, 0.8);
    animation: pulseProgressMarker 2s infinite cubic-bezier(0.4, 0, 0.6, 1);
    z-index: 5;
    border-radius: 2px;
}

@keyframes pulseProgressMarker {
    0%, 100% { opacity: 0.8; height: 16px; }
    50% { opacity: 1; height: 20px; transform: translateY(-2px); }
}

.timeline-markers {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
}

.timeline-marker {
    position: absolute;
    transform: translateX(-50%) scale(0.85);
    width: 14px;
    height: 14px;
    background: rgba(20, 12, 8, 0.8);
    border: 2px solid rgba(189, 147, 60, 0.5);
    border-radius: 50%;
    top: 11px;
    z-index: 2;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 0 0 0 rgba(255, 215, 0, 0);
}

.timeline-marker.active {
    background: var(--color-gold);
    border: 2px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 15px var(--color-gold), 0 0 5px var(--color-gold-dark);
    transform: translateX(-50%) scale(1.2);
    animation: marker-pulse 2s infinite;
}

@keyframes marker-pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(255, 215, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0); }
}

.tier-container {
    position: absolute;
    width: 110px;
    transform: translateX(-50%);
    text-align: center;
    transition: all 0.3s ease;
}

.tier-container-top {
    bottom: 100%;
    margin-bottom: 30px;
}

.tier-container-bottom {
    top: 100%;
    margin-top: 30px;
}

.tier-container-first {
    left: 0 !important;
    transform: none;
    text-align: left;
}

.tier-container-last {
    left: auto !important;
    right: 0;
    transform: none;
    text-align: right;
}

.tier-number {
    font-weight: 700;
    color: var(--color-gold);
    font-size: 1.1rem;
    display: block;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.tier-votes {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.tier-reward {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    display: inline-block;
    padding: 3px 8px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    transition: all 0.3s ease;
}

.current-votes-marker {
    position: absolute;
    top: 4px;
    width: 28px;
    height: 28px;
    background: linear-gradient(145deg, #f0c454, #bb8e36);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 4;
    border: 3px solid rgba(30, 20, 15, 0.9);
    box-shadow: 0 0 20px rgba(240, 196, 84, 0.7), 0 0 10px rgba(189, 147, 60, 0.5);
    cursor: pointer;
    animation: pulse-marker 3s infinite cubic-bezier(0.4, 0, 0.6, 1);
    transition: left 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.current-votes-marker::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
}

@keyframes pulse-marker {
    0%, 100% { transform: translateX(-50%) scale(1); box-shadow: 0 0 20px rgba(240, 196, 84, 0.7), 0 0 10px rgba(189, 147, 60, 0.5); }
    50% { transform: translateX(-50%) scale(1.15); box-shadow: 0 0 25px rgba(240, 196, 84, 0.8), 0 0 15px rgba(189, 147, 60, 0.6); }
}

.current-votes-tooltip {
    position: absolute;
    top: -48px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(30, 20, 15, 0.95);
    color: var(--color-gold);
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    border: 1px solid var(--color-gold);
    z-index: 10;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    transform: translateX(-50%) translateY(5px);
}

.current-votes-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: var(--color-gold) transparent transparent transparent;
}

.current-votes-marker:hover .current-votes-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.tier-container:hover .tier-number {
    transform: translateY(-2px);
    color: #f0c454;
}

.tier-container:hover .tier-votes {
    color: rgba(255, 255, 255, 0.9);
}

.tier-container:hover .tier-reward {
    background: rgba(50, 30, 10, 0.4);
    color: rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 215, 0, 0.4);
}

.tier-container.active .tier-number {
    color: #f0c454;
    transform: translateY(-2px);
    text-shadow: 0 2px 8px rgba(240, 196, 84, 0.5);
}

.tier-container.active .tier-votes {
    color: rgba(255, 255, 255, 0.95);
}

.tier-container.active .tier-reward {
    background: rgba(189, 147, 60, 0.2);
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 215, 0, 0.5);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.tier-container::before {
    content: '';
    position: absolute;
    width: 1px;
    background: linear-gradient(to bottom, rgba(189, 147, 60, 0.7), rgba(189, 147, 60, 0.3));
    z-index: -1;
}

.tier-container-top::before {
    top: 100%;
    left: 50%;
    height: 25px;
}

.tier-container-bottom::before {
    bottom: 100%;
    left: 50%;
    height: 25px;
}

.tier-container-first::before {
    left: 7px;
}

.tier-container-last::before {
    right: 7px;
    left: auto;
}

@media (max-width: 768px) {
    .vote-tiers-timeline {
        padding: 25px 20px;
    }
    
    .vote-tiers-timeline h4 {
        font-size: 1.15rem;
    }
    
    .timeline-container {
        margin: 65px 0 45px;
    }
    
    .tier-container {
        width: 90px;
    }
    
    .tier-number {
        font-size: 1rem;
        margin-bottom: 5px;
    }
    
    .tier-votes, .tier-reward {
        font-size: 0.75rem;
    }
    
    .current-votes-tooltip {
        font-size: 0.85rem;
        padding: 6px 12px;
        top: -42px;
    }
}

@media (max-width: 576px) {
    .timeline-container {
        margin: 60px 0 40px;
    }
    
    .tier-container {
        width: 80px;
    }

    .tier-container:nth-child(odd):not(.tier-container-first):not(.tier-container-last) {
        opacity: 0.5;
        transform: translateX(-50%) scale(0.85);
    }
}