.search-container {
    max-width: 600px;
    margin: 2rem auto;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 114, 0, 0.3);
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    transition: all var(--transition-normal);
}

.search-input:focus {
    outline: none;
    border-color: var(--accent-purple);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 20px rgba(255, 114, 0, 0.2);
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.subjects-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.subject-section {
    margin-bottom: 3rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition-normal);
}

.subject-section:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 114, 0, 0.3);
}

.subject-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(255, 114, 0, 0.3);
}

.papers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.paper-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 114, 0, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all var(--transition-normal);
}

.paper-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--accent-purple);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 114, 0, 0.15);
}

.paper-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #F3E8FF;
    margin-bottom: 1rem;
    text-shadow: 0 0 1px rgba(0, 0, 0, 0.3);
}

.years-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.year-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255, 114, 0, 0.28);
    border: 1px solid rgba(255, 114, 0, 0.6);
    border-radius: 8px;
    color: #FFFFFF;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all var(--transition-normal);
    -webkit-tap-highlight-color: rgba(255, 114, 0, 0.3);
}

.year-link:hover {
    background: rgba(255, 114, 0, 0.5);
    border-color: var(--accent-purple);
    color: #FFFFFF;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(255, 114, 0, 0.3);
}

.no-results {
    text-align: center;
    padding: 3rem;
    color: var(--surface-400);
    font-size: 1.1rem;
}

.hidden {
    display: none;
}

@media (max-width: 768px) {
    .papers-grid {
        grid-template-columns: 1fr;
    }
    
    .subject-section {
        padding: 1.5rem;
    }
    
    .paper-title {
        color: #F3E8FF;
        font-size: 1.125rem;
    }
    
    .year-link {
        background: rgba(255, 114, 0, 0.35);
        border-color: rgba(255, 114, 0, 0.7);
        color: #FFFFFF;
        font-size: 0.9375rem;
        font-weight: 700;
    }
}

@media (max-width: 480px) {
    .paper-title {
        color: #F3E8FF;
    }
    
    .year-link {
        background: rgba(255, 114, 0, 0.4);
        border-color: rgba(255, 114, 0, 0.8);
        color: #FFFFFF;
        font-weight: 700;
    }
}

