body { font-family: 'Noto Sans SC', sans-serif; background-color: #f0fdf4; }
.glass-header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(22, 163, 74, 0.1);
    transition: all 0.3s ease;
}
.hero-gradient {
    background: radial-gradient(circle at 50% -20%, #dcfce7 0%, #f0fdf4 100%);
}
.search-box:focus-within {
    box-shadow: 0 10px 25px -5px rgba(34, 197, 94, 0.2);
    transform: scale(1.01);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.prompt-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(34, 197, 94, 0.1);
}
.prompt-card:hover {
    border-color: #22c55e;
    box-shadow: 0 12px 20px -8px rgba(34, 197, 94, 0.15);
    transform: translateY(-4px);
}
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

#detailModal {
    transition: opacity 0.3s ease;
}
#detailModal.hidden {
    opacity: 0;
    pointer-events: none;
}
#detailModal:not(.hidden) {
    opacity: 1;
    pointer-events: auto;
}

@media (max-width: 768px) {
    #detailModal .relative {
        max-width: calc(100vw - 2rem);
        margin: 1rem;
    }
    
    #detailModal .p-6 {
        padding: 1rem;
    }
    
    #detailModal .text-2xl {
        font-size: 1.25rem;
    }
}

.page-fade-in {
    animation: fadeIn 0.5s ease-out;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.stagger-in {
    animation: staggerIn 0.4s ease-out forwards;
    opacity: 0;
}
@keyframes staggerIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.modal-backdrop {
    animation: backdropFade 0.3s ease-out;
}
@keyframes backdropFade {
    from { opacity: 0; }
    to { opacity: 0.5; }
}

.modal-content {
    animation: modalScale 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes modalScale {
    from { 
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to { 
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.link-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.link-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 20px 30px -10px rgba(34, 197, 94, 0.2);
}

.nav-link {
    transition: all 0.2s ease;
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #22c55e;
    transition: width 0.3s ease;
}
.nav-link:hover::after {
    width: 100%;
}

.mobile-menu {
    animation: slideDown 0.3s ease-out;
}
@keyframes slideDown {
    from { 
        opacity: 0;
        transform: translateY(-10px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

.button-press {
    transition: all 0.15s ease;
}
.button-press:active {
    transform: scale(0.95);
}

.input-focus {
    transition: all 0.3s ease;
}
.input-focus:focus {
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
}

.hero-text {
    animation: slideUp 0.6s ease-out;
}
@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(30px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

#categoryTabs button {
    flex-shrink: 0;
}

@media (max-width: 768px) {
    #categoryTabs {
        padding-left: 1rem;
        padding-right: 1rem;
        justify-content: flex-start;
        gap: 0.5rem;
    }
    
    #categoryTabs button {
        font-size: 0.875rem;
        padding: 0.5rem 1rem;
    }
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
