/* ==========================================================================
   Events Timeline Mechanical System
   ========================================================================== */
.events-hero {
    background: radial-gradient(circle at 80% 30%, rgba(0, 245, 212, 0.15), transparent 60%),
                linear-gradient(180deg, rgba(10, 17, 40, 0.9) 0%, var(--brand-blue-dark) 100%),
                url('https://mcdn.pokemon.com/pokemon-prod/raw/upload/v1/live/static-assets/content-assets/cms2/img/misc/virtual-backgrounds/go/pokemon-outing.jpg');
    background-size: cover;
    background-position: center;
}

.events-timeline {
    padding: 120px 0;
    background-color: #060b18;
    border-top: 2px solid rgba(0, 180, 216, 0.1);
}

.timeline-container {
    position: relative;
    max-width: 1000px;
    margin: 60px auto 0;
}

/* Central Tracker Vector Line */
.timeline-container::before {
    content: '';
    position: absolute;
    left: 220px;
    top: 0;
    width: 4px;
    height: 100%;
    background: var(--brand-blue-deep);
    border-radius: 2px;
}

/* Individual Node Structural Rules */
.timeline-row {
    display: flex;
    margin-bottom: 50px;
    position: relative;
    width: 100%;
}

.timeline-time {
    width: 190px;
    text-align: right;
    padding-right: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.time-stamp {
    font-family: var(--font-gaming-heading);
    font-size: 9px;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.active-node .time-stamp {
    color: var(--brand-teal);
}

.date-label {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-white);
    margin-top: 4px;
}

/* Center Nodes Pin Placement */
.timeline-marker {
    position: absolute;
    left: 214px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--brand-blue-dark);
    border: 4px solid var(--brand-blue-deep);
    z-index: 5;
}

.active-node .timeline-marker {
    background: var(--brand-teal);
    border-color: var(--brand-blue-dark);
    box-shadow: 0 0 15px var(--brand-teal);
}

/* Animated active pulse sequence */
.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--brand-teal);
    border-radius: 50%;
    left: 0;
    top: 0;
    animation: timelinePulse 2s infinite ease-out;
}

@keyframes timelinePulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(2.5); opacity: 0; }
}

.timeline-content-box {
    margin-left: 260px;
    flex: 1;
    background: var(--brand-blue-deep);
    border: 1px solid rgba(0, 180, 216, 0.15);
    padding: 32px;
    border-radius: var(--border-radius-box);
    transition: var(--transition-bounce);
}

.timeline-row:hover .timeline-content-box {
    border-color: var(--brand-cyan);
    transform: translateX(6px);
}

.timeline-content-box h3 {
    font-size: 22px;
    font-weight: 900;
    margin: 8px 0;
}

.timeline-content-box p {
    color: var(--text-muted);
}

/* Adaptive Breakdown Logic for Mobile Screens */
@media (max-width: 768px) {
    .timeline-container::before { left: 20px; }
    .timeline-row { flex-direction: column; padding-left: 50px; }
    .timeline-time { width: 100%; text-align: left; padding: 0 0 12px 0; }
    .timeline-marker { left: 14px; top: 22px; }
    .timeline-content-box { margin-left: 0; }
}