/* ============================================================
   ABOUT.CSS — Timeline, deity, stats
   ============================================================ */

/* ======================== TIMELINE ======================== */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto 60px;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: rgba(200, 200, 200, 0.3);
    border-radius: 3px;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -33px;
    top: 6px;
    width: 18px;
    height: 18px;
    background: var(--saffron);
    border: 3px solid var(--cream);
    border-radius: 50%;
    box-shadow: 0 0 0 3px var(--saffron);
    z-index: 2;
}

.timeline-content {
    background: var(--white);
    padding: 24px 28px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    border-left: 4px solid var(--saffron);
}

.timeline-date {
    display: inline-block;
    background: linear-gradient(135deg, var(--maroon), var(--saffron));
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.timeline-content h3 {
    font-size: 1.2rem;
    color: var(--maroon);
    margin-bottom: 8px;
}

.timeline-content p {
    font-size: 0.95rem;
    color: #444;
}

/* Alternating timeline animation */
.timeline-item:nth-child(odd) .timeline-content {
    animation: none;
}

.timeline-item.fade-left .timeline-content,
.timeline-item.fade-right .timeline-content {
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

/* ======================== DEITY ======================== */
.deity-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: start;
}

.deity-content h3 {
    font-size: 1.6rem;
    color: var(--maroon);
    margin-bottom: 16px;
}

.deity-content h4 {
    font-size: 1.15rem;
    color: var(--saffron);
    margin: 24px 0 12px;
}

.deity-content p {
    margin-bottom: 14px;
    color: #444;
    font-size: 0.95rem;
}

.deity-content ul {
    padding-left: 0;
    margin-bottom: 14px;
}

.deity-content li {
    padding: 6px 0 6px 20px;
    position: relative;
    font-size: 0.95rem;
    color: #444;
}

.deity-content li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 8px;
    height: 8px;
    background: var(--saffron);
    border-radius: 50%;
}

.deity-visual {
    position: sticky;
    top: calc(var(--nav-height) + 20px);
}

.deity-illustration {
    text-align: center;
    margin-bottom: 30px;
}

.deity-frame {
    display: inline-block;
    padding: 32px;
    border: 2px solid var(--gold);
    border-radius: var(--radius);
    background: linear-gradient(135deg, #fffdf0, #fff8dc);
    box-shadow: var(--shadow);
}

.deity-icon-large svg {
    width: 160px;
    height: auto;
}

.deity-attributes {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.attribute {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    background: var(--cream);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--gold);
}

.attr-icon {
    font-size: 1.6rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.attribute strong {
    display: block;
    color: var(--maroon);
    margin-bottom: 2px;
    font-size: 0.95rem;
}

.attribute p {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
}
