:root {
    --bg-dark: #0d0d0d;
    --card-bg: #161616;
    --text-gray: #888;
    --year-color: #333;
}

body {
    background-color: var(--bg-dark);
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    overflow-x: hidden;
}

.profile-header { padding: 40px 20px 40px; text-align: center; }
.profile-img { width: 250px; height: 250px; object-fit: cover; border-radius: 50%; border: 2px solid #222; margin-bottom: 25px; }
.social-icons a { color: var(--text-gray); font-size: 1.8rem; margin: 0 12px; transition: 0.3s; }
.social-icons a:hover { color: #fff; }

/* Category Filter */
.category-filter {
    max-width: 1100px;
    margin: 0 auto;
    padding: 14px 20px;
    position: sticky;
    top: 0;
    z-index: 100;
    background: linear-gradient(to bottom, var(--bg-dark) 60%, transparent);
    display: flex;
    justify-content: center;
}

.filter-group {
    display: inline-flex;
    gap: 0;
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 14px;
    padding: 4px;
}

.filter-btn {
    background: transparent;
    border: none;
    color: #666;
    padding: 10px 28px;
    border-radius: 11px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
    font-family: inherit;
    letter-spacing: 0.02em;
    position: relative;
    white-space: nowrap;
}

.filter-btn:hover {
    color: #bbb;
    background: rgba(255, 255, 255, 0.04);
}

.filter-btn.active {
    background: #fff;
    color: #000;
    font-weight: 600;
    box-shadow: 0 2px 12px rgba(255, 255, 255, 0.15), 0 0 1px rgba(255, 255, 255, 0.3);
}

.timeline { position: relative; max-width: 1100px; margin: 20px auto; padding: 20px; }

@media screen and (min-width: 769px) {
    .timeline::after {
        content: ''; position: absolute; width: 1px; background: #222;
        top: 0; bottom: 0; left: 50%; margin-left: -0.5px;
    }
}

.timeline-item {
    position: relative; width: 50%; padding: 30px 40px;
    opacity: 0; transform: translateY(50px);
    transition: all 0.9s cubic-bezier(0.23, 1, 0.32, 1);
}

.timeline-item.visible { opacity: 1; transform: translateY(0); }
.left { left: 0; text-align: right; }
.right { left: 50%; text-align: left; }

@media screen and (max-width: 768px) {
    .timeline::after { display: none; }
    .timeline-item { width: 100%; left: 0 !important; padding: 20px 0; text-align: left; }
}

.year-display {
    font-size: 3rem;
    font-weight: 800;
    color: #f1f1f1	;
    line-height: 1;
    margin-bottom: 10px;
    letter-spacing: -2px;
}

.card {
    background: var(--card-bg);
    border: 1px solid #222;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.image-container {
    width: 100%;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.event-img {
    max-width: 100%;
    height: auto;
    display: block;
}

.card-body { padding: 30px; }
.card-title { font-weight: 700; margin-bottom: 15px; color: #f1f1f1; }
.card-text { color: #aaa; line-height: 1.6; font-size: 1.05rem; }

/* Footer */
footer { border-top: 1px solid #222; }
.btn-link-custom { color: var(--text-gray); text-decoration: none; font-size: 0.9rem; margin: 0 10px; }
.btn-link-custom:hover { color: #fff; }

.modal-content { background-color: #111; color: #ccc; border: 1px solid #333; }