.honor-display-container {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 100vh;
    padding: 2rem 0;
}

.filter-buttons-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, rgba(245, 251, 230, 0.95), rgba(237, 247, 209, 0.95));
    border-radius: 1.5rem;
    box-shadow: 0 8px 32px rgba(157, 210, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(157, 210, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.filter-buttons-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #9DD200, #7ab000, #b8e600, #9DD200);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.filter-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 2px solid transparent;
    text-decoration: none;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.filter-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(157, 210, 0, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.filter-button:hover::before {
    width: 300px;
    height: 300px;
}

.filter-button.active {
    background: linear-gradient(135deg, #9DD200, #7ab000);
    color: white;
    box-shadow: 0 6px 20px rgba(157, 210, 0, 0.5), 0 2px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.3);
}

.filter-button.active::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 9999px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), transparent);
    z-index: -1;
}

.filter-button:not(.active) {
    background-color: rgba(255, 255, 255, 0.95);
    color: #4a7000;
    border-color: #c0e066;
    box-shadow: 0 2px 10px rgba(157, 210, 0, 0.12);
}

.filter-button:not(.active):hover {
    background-color: #edf7d1;
    border-color: #9DD200;
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 4px 15px rgba(157, 210, 0, 0.25);
    color: #5a8800;
}

.filter-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.honors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.honor-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.honor-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.honor-card-content {
    padding: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.honor-image-container {
    aspect-ratio: 16/12;
    border-radius: 0.5rem;
    overflow: hidden;
    margin-bottom: 1rem;
    position: relative;
}

.honor-image {
    width: 100%;
    height: 12rem;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.honor-card:hover .honor-image {
    transform: scale(1.1);
}

.honor-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.5rem;
    min-height: 3.5rem;
    display: flex;
    align-items: center;
    line-height: 1.4;
}

.honor-description {
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    flex-grow: 1;
    line-height: 1.5;
}

.honor-tags {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: auto;
}

.honor-category-tag {
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    font-weight: 500;
}

.tag-quality {
    background-color: #f5fbe6;
    color: #5a8800;
}

.tag-industry {
    background-color: #edf7d1;
    color: #4a7000;
}

.tag-patent {
    background-color: #d4eb99;
    color: #5a8800;
}

.tag-other {
    background-color: #f3f4f6;
    color: #374151;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.stats-card {
    background: white;
    padding: 1.5rem;
    border-radius: 0.75rem;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.stats-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.stats-number {
    font-size: 2rem;
    font-weight: 700;
    color: #9DD200;
    display: block;
    margin-bottom: 0.5rem;
}

.stats-label {
    color: #6b7280;
    font-size: 0.875rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .honor-display-container {
        padding: 1rem 0;
    }
    
    .filter-buttons-container {
        gap: 0.5rem;
        margin-bottom: 1.5rem;
    }
    
    .filter-button {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .honors-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .honor-card-content {
        padding: 1rem;
    }
    
    .honor-title {
        font-size: 1rem;
        min-height: 3rem;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .stats-card {
        padding: 1rem;
    }
    
    .stats-number {
        font-size: 1.5rem;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.honor-card {
    animation: fadeInUp 0.6s ease forwards;
}

.honor-card:nth-child(1) { animation-delay: 0.1s; }
.honor-card:nth-child(2) { animation-delay: 0.2s; }
.honor-card:nth-child(3) { animation-delay: 0.3s; }
.honor-card:nth-child(4) { animation-delay: 0.4s; }
.honor-card:nth-child(5) { animation-delay: 0.5s; }
.honor-card:nth-child(6) { animation-delay: 0.6s; }

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lightbox-title {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.honor-image {
    cursor: pointer;
}

.honor-image:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .lightbox-close {
        top: 20px;
        right: 20px;
        width: 36px;
        height: 36px;
        font-size: 18px;
    }

    .lightbox-title {
        bottom: 20px;
        font-size: 16px;
        padding: 0 20px;
        white-space: normal;
        max-width: calc(100% - 40px);
    }
}
