/* --- Events Page Specific Styles --- */
.events-main {
    padding-top: 100px;
}

.page-header {
    text-align: center;
    padding: 60px 5%;
    position: relative;
    overflow: hidden;
}

.page-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--gold);
    margin-bottom: 10px;
}

.page-subtitle {
    color: var(--text-muted);
    font-size: 1.2rem;
}

.intro-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 5%;
    text-align: justify;
}

.intro-section p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--text-light);
}

.intro-section h2 {
    color: var(--primary-orange);
    margin-bottom: 30px;
    font-family: var(--font-display);
}

.kandas-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
    justify-content: center;
}

.kanda-tag {
    background: rgba(234, 88, 12, 0.2);
    border: 1px solid var(--primary-orange);
    padding: 8px 16px;
    border-radius: 20px;
    color: var(--gold);
    font-weight: 500;
}

/* Timeline */
.timeline {
    padding: 80px 5%;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 100px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--gold), transparent);
}

.timeline-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
    position: relative;
    width: 100%;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: var(--gold);
    border: 4px solid var(--dark-bg);
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 15px var(--gold-glow);
}

.timeline-content {
    width: 45%;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 30px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s;
}

.timeline-content:hover {
    transform: translateY(-5px);
    border-color: var(--primary-orange);
}

.timeline-content h3 {
    color: var(--primary-orange);
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-family: var(--font-display);
}

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

@media (max-width: 768px) {
    .timeline::before {
        left: 20px;
    }
    .timeline-item, .timeline-item:nth-child(even) {
        flex-direction: column;
        align-items: flex-end;
    }
    .timeline-dot {
        left: 20px;
    }
    .timeline-content {
        width: calc(100% - 60px);
    }
}

/* Table Enhancements */
.table-container {
    overflow-x: auto;
    margin-top: 20px;
    margin-bottom: 20px;
    border-radius: 12px;
    border: 1px solid var(--card-border);
    background: rgba(0, 0, 0, 0.2);
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--card-border);
}

th {
    color: var(--gold);
    font-family: var(--font-display);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    background: rgba(251, 191, 36, 0.05);
}

td {
    color: var(--text-light);
    font-size: 0.95rem;
}

tr:last-child td {
    border-bottom: none;
}

tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

/* Keyword Highlights */
.highlight {
    color: var(--primary-orange);
    font-weight: 600;
    text-shadow: 0 0 15px rgba(234, 88, 12, 0.4);
}
