.filter-controls {
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 12px;
    padding: 1.25rem;
    backdrop-filter: blur(10px);
}

.search-wrapper {
    position: relative;
    width: 100%;
}

.search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    opacity: 0.7;
    pointer-events: none;
    color: rgba(139, 92, 246, 0.7);
}

.search-bar {
    padding-left: 45px !important;
    border-radius: 6px !important;
    font-family: 'Monaco', 'Menlo', 'Consolas', monospace;
    font-size: 0.85rem;
}

.search-bar::placeholder {
    color: rgba(167, 139, 250, 0.4) !important;
    opacity: 1 !important;
}

.filter-pill {
    padding: 0.35rem 0.75rem;
    border: 1px solid rgba(139, 92, 246, 0.25);
    background: rgba(10, 10, 10, 0.6);
    color: rgba(255, 255, 255, 0.6);
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    font-family: 'Monaco', 'Menlo', 'Consolas', monospace;
}

.filter-pill:hover {
    background: rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.4);
    color: #a78bfa;
}

.filter-pill.active {
    background: rgba(139, 92, 246, 0.25);
    border-color: rgba(139, 92, 246, 0.5);
    color: #c4b5fd;
}

/* Timeline Styles - Git Graph Design */
.timeline {
    position: relative;
    padding: 1rem 0 2rem 0;
}

/* Main vertical line */
.timeline::before {
    content: '';
    position: absolute;
    left: 31px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(139, 92, 246, 0.4);
}

/* Year Separator - Git Branch Point */
.timeline-year {
    position: relative;
    margin: 1.5rem 0 1rem 0;
    padding-left: 75px;
}

.timeline-year:first-child {
    margin-top: 0;
}

.timeline-year-marker {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: #0a0a0a;
    border: 2px solid #8b5cf6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.7rem;
    color: #c4b5fd;
    z-index: 3;
    font-family: 'Monaco', 'Menlo', 'Consolas', monospace;
    box-shadow: 0 0 0 3px #0a0a0a,
                0 0 0 5px rgba(139, 92, 246, 0.3);
}

.timeline-year-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.timeline-year-label h3 {
    margin: 0;
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(167, 139, 250, 0.7);
    font-family: 'Monaco', 'Menlo', 'Consolas', monospace;
}

.timeline-year-label::before {
    content: '//';
    color: rgba(139, 92, 246, 0.4);
    font-family: 'Monaco', 'Menlo', 'Consolas', monospace;
}

/* Announcement Cards - Git Commits */
.timeline-item {
    position: relative;
    padding-left: 75px;
    margin-bottom: 0;
    animation: fadeIn 0.3s ease forwards;
    opacity: 0;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* Git commit node */
.timeline-dot {
    position: absolute;
    left: 24px;
    top: 20px;
    width: 16px;
    height: 16px;
    background: #0a0a0a;
    border: 2px solid rgba(139, 92, 246, 0.7);
    border-radius: 50%;
    z-index: 2;
    transition: all 0.2s ease;
}

/* Connector line from dot to card */
.timeline-dot::after {
    content: '';
    position: absolute;
    left: 14px;
    top: 5px;
    width: 20px;
    height: 2px;
    background: rgba(139, 92, 246, 0.3);
}

.timeline-item:hover .timeline-dot {
    transform: scale(1.3);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
}

/* Category-based dot colors */
.timeline-dot.release {
    border-color: #10b981;
}
.timeline-dot.release::after {
    background: rgba(16, 185, 129, 0.3);
}

.timeline-dot.update {
    border-color: #3b82f6;
}
.timeline-dot.update::after {
    background: rgba(59, 130, 246, 0.3);
}

.timeline-dot.security {
    border-color: #ef4444;
}
.timeline-dot.security::after {
    background: rgba(239, 68, 68, 0.3);
}

.timeline-dot.bug {
    border-color: #f97316;
}
.timeline-dot.bug::after {
    background: rgba(249, 115, 22, 0.3);
}

.timeline-dot.announcement {
    border-color: #8b5cf6;
}

/* Card styles */
.announcement-card {
    background: rgba(12, 12, 12, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    padding: 1rem 1.25rem;
    margin-bottom: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.announcement-card:hover {
    background: rgba(18, 18, 18, 0.95);
    border-color: rgba(139, 92, 246, 0.3);
}

/* Category color indicator */
.announcement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: rgba(139, 92, 246, 0.5);
    border-radius: 6px 0 0 6px;
}

.announcement-card.release::before { background: #10b981; }
.announcement-card.update::before { background: #3b82f6; }
.announcement-card.security::before { background: #ef4444; }
.announcement-card.bug::before { background: #f97316; }

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    gap: 0.75rem;
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.card-category {
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Monaco', 'Menlo', 'Consolas', monospace;
}

.card-category.release {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
}

.card-category.update {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
}

.card-category.security {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
}

.card-category.announcement {
    background: rgba(139, 92, 246, 0.15);
    color: #a78bfa;
}

.card-category.bug {
    background: rgba(249, 115, 22, 0.15);
    color: #fb923c;
}

.card-date {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.35);
    font-family: 'Monaco', 'Menlo', 'Consolas', monospace;
}

.card-date svg {
    display: none;
}

.card-title {
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 0.35rem 0;
    transition: color 0.2s ease;
    line-height: 1.4;
}

.announcement-card:hover .card-title {
    color: #c4b5fd;
}

.card-summary {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.6rem;
}

.card-tag {
    padding: 0.1rem 0.4rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.4);
    font-family: 'Monaco', 'Menlo', 'Consolas', monospace;
}

/* Card Links - Git style */
.card-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.6rem;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.25rem 0.5rem;
    background: transparent;
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 3px;
    font-size: 0.7rem;
    color: #a78bfa;
    text-decoration: none;
    transition: all 0.2s ease;
    font-family: 'Monaco', 'Menlo', 'Consolas', monospace;
}

.card-link:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.4);
    color: #c4b5fd;
}

.card-link svg {
    width: 12px;
    height: 12px;
    opacity: 0.6;
}

/* Read More indicator */
.card-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 0.6rem;
    font-size: 0.7rem;
    color: rgba(139, 92, 246, 0.5);
    transition: all 0.2s ease;
    font-family: 'Monaco', 'Menlo', 'Consolas', monospace;
}

.card-read-more::before {
    content: '→';
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.2s ease;
}

.announcement-card:hover .card-read-more {
    color: #a78bfa;
}

.announcement-card:hover .card-read-more::before {
    opacity: 1;
    transform: translateX(0);
}

.card-read-more svg {
    display: none;
}

/* Modal Styles */
.announcement-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    padding: 1rem;
}

.announcement-modal.show {
    opacity: 1;
    visibility: visible;
}

.announcement-modal-dialog {
    width: 100%;
    max-width: 600px;
    max-height: 85vh;
    overflow-y: auto;
    transform: translateY(20px);
    transition: transform 0.2s ease;
}

.announcement-modal.show .announcement-modal-dialog {
    transform: translateY(0);
}

.announcement-modal-content {
    background: #0c0c0c;
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 8px;
    overflow: hidden;
}

.announcement-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(139, 92, 246, 0.03);
}

.modal-header-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.modal-category {
    padding: 0.2rem 0.6rem;
    border-radius: 3px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    background: rgba(139, 92, 246, 0.15);
    color: #a78bfa;
    font-family: 'Monaco', 'Menlo', 'Consolas', monospace;
}

.modal-category.release {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
}

.modal-category.update {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
}

.modal-category.security {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
}

.modal-category.bug {
    background: rgba(249, 115, 22, 0.15);
    color: #fb923c;
}

.modal-date {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    font-family: 'Monaco', 'Menlo', 'Consolas', monospace;
}

.announcement-modal-close {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    width: 32px;
    height: 32px;
    border-radius: 4px;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.announcement-modal-close:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
    color: #f87171;
}

.announcement-modal-body {
    padding: 1.25rem;
}

.announcement-modal-body .modal-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 1rem 0;
}

.modal-content-body {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    font-size: 0.9rem;
}

.modal-content-body p {
    margin-bottom: 0.75rem;
}

.modal-content-body h4 {
    color: #a78bfa;
    margin: 1.25rem 0 0.75rem 0;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: 'Monaco', 'Menlo', 'Consolas', monospace;
}

.modal-content-body h4::before {
    content: '# ';
    opacity: 0.5;
}

.modal-content-body ul {
    padding-left: 1.25rem;
    margin-bottom: 0.75rem;
}

.modal-content-body li {
    margin-bottom: 0.35rem;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.85rem;
}

.modal-content-body li::marker {
    color: rgba(139, 92, 246, 0.5);
}

.modal-content-body a {
    color: #a78bfa;
    text-decoration: none;
}

.modal-content-body a:hover {
    color: #c4b5fd;
    text-decoration: underline;
}

.modal-content-body code {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.15rem 0.4rem;
    border-radius: 3px;
    font-size: 0.85em;
    color: #c4b5fd;
    font-family: 'Monaco', 'Menlo', 'Consolas', monospace;
}

.modal-content-body pre {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    padding: 0.75rem;
    margin: 0.75rem 0;
    overflow-x: auto;
}

.modal-content-body pre code {
    background: none;
    padding: 0;
    color: rgba(255, 255, 255, 0.8);
}

.modal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.modal-tag {
    padding: 0.15rem 0.5rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
    font-family: 'Monaco', 'Menlo', 'Consolas', monospace;
}

/* Featured/Pinned announcement */
.announcement-card.featured {
    background: rgba(139, 92, 246, 0.05);
    border-color: rgba(139, 92, 246, 0.2);
}

.announcement-card.featured::before {
    background: linear-gradient(180deg, #8b5cf6, #6366f1);
}

.featured-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.15rem 0.4rem;
    background: rgba(139, 92, 246, 0.2);
    border-radius: 3px;
    font-size: 0.6rem;
    font-weight: 600;
    color: #c4b5fd;
    text-transform: uppercase;
    font-family: 'Monaco', 'Menlo', 'Consolas', monospace;
}

.featured-badge svg {
    width: 10px;
    height: 10px;
}

/* No Results */
.no-results {
    padding: 3rem 2rem;
}

.no-results svg {
    opacity: 0.3;
}

.no-results h2 {
    font-family: 'Monaco', 'Menlo', 'Consolas', monospace;
    font-size: 0.9rem;
}

/* Loading State */
.timeline-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    gap: 0.75rem;
}

.loading-spinner {
    width: 32px;
    height: 32px;
    border: 2px solid rgba(139, 92, 246, 0.2);
    border-top-color: #8b5cf6;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .timeline::before {
        left: 16px;
    }
    
    .timeline-year {
        padding-left: 55px;
    }
    
    .timeline-year-marker {
        left: 2px;
        width: 30px;
        height: 30px;
        font-size: 0.6rem;
    }
    
    .timeline-item {
        padding-left: 55px;
    }
    
    .timeline-dot {
        left: 10px;
        width: 14px;
        height: 14px;
    }
    
    .timeline-dot::after {
        left: 12px;
        width: 15px;
    }
    
    .card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.35rem;
    }
    
    .card-title {
        font-size: 0.9rem;
    }
    
    .announcement-modal-dialog {
        max-height: 80vh;
    }
    
    .announcement-modal-body .modal-title {
        font-size: 1.1rem;
    }
    
    .filter-controls {
        padding: 1rem;
    }
    
    .filter-pill {
        padding: 0.3rem 0.6rem;
        font-size: 0.7rem;
    }
}

/* Staggered animation */
.timeline-item:nth-child(1) { animation-delay: 0.05s; }
.timeline-item:nth-child(2) { animation-delay: 0.1s; }
.timeline-item:nth-child(3) { animation-delay: 0.15s; }
.timeline-item:nth-child(4) { animation-delay: 0.2s; }
.timeline-item:nth-child(5) { animation-delay: 0.25s; }
.timeline-item:nth-child(6) { animation-delay: 0.3s; }
.timeline-item:nth-child(7) { animation-delay: 0.35s; }
.timeline-item:nth-child(8) { animation-delay: 0.4s; }

/* Scrollbar styling for modal */
.announcement-modal-dialog::-webkit-scrollbar {
    width: 6px;
}

.announcement-modal-dialog::-webkit-scrollbar-track {
    background: rgba(139, 92, 246, 0.1);
    border-radius: 3px;
}

.announcement-modal-dialog::-webkit-scrollbar-thumb {
    background: rgba(139, 92, 246, 0.4);
    border-radius: 3px;
}

.announcement-modal-dialog::-webkit-scrollbar-thumb:hover {
    background: rgba(139, 92, 246, 0.6);
}
