.projects-container {
    padding: 100px 2rem 4rem;
    max-width: 1600px;
    margin: 0 auto;
    min-height: 100vh;
}

.search-container {
    position: relative;
    max-width: 500px;
    margin: 0 auto 2rem;
}

.category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
    margin-bottom: 2.5rem;
    padding: 0 1rem;
}

.category-btn {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: capitalize;
}

.category-btn:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    transform: translateY(-2px);
}

.category-btn.active {
    background: var(--accent-green);
    border-color: var(--accent-green);
    color: #000000;
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.3);
}

.category-btn .count {
    background: rgba(0, 0, 0, 0.2);
    padding: 0.2rem 0.5rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

.category-btn.active .count {
    background: rgba(0, 0, 0, 0.3);
}

.search-icon {
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-green);
    pointer-events: none;
    z-index: 2;
}

.search-input {
    width: 100%;
    padding: 1rem 1.5rem 1rem 3rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(20px);
    position: relative;
    z-index: 1;
}

.search-input::placeholder {
    color: var(--text-tertiary);
}

.search-input:focus {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--accent-green);
    box-shadow: 0 0 25px rgba(0, 255, 65, 0.2);
}

.projects-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin-top: 0;
    padding: 0 1rem;
    justify-content: center;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
}

.project-card {
    width: 240px;
    flex-shrink: 0;
    background: rgba(15, 15, 15, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 1.5rem 1.2rem;
    backdrop-filter: blur(30px);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-green), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover::before {
    opacity: 1;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 255, 65, 0.2);
    background: rgba(20, 20, 20, 0.9);
    box-shadow: 0 15px 40px rgba(0, 255, 65, 0.15);
}

.project-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(0, 255, 65, 0.15), rgba(0, 255, 65, 0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--accent-green);
    border: 2px solid rgba(0, 255, 65, 0.3);
    transition: all 0.3s ease;
}

.project-card:hover .project-icon {
    background: linear-gradient(135deg, rgba(0, 255, 65, 0.25), rgba(0, 255, 65, 0.1));
    border-color: var(--accent-green);
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.4);
    transform: scale(1.1);
}

.project-icon svg {
    width: 24px;
    height: 24px;
}

.project-card h3 {
    font-family: 'Monument', sans-serif;
    font-size: 1rem;
    margin-bottom: 0.8rem;
    color: #ffffff;
    letter-spacing: -0.01em;
    line-height: 1.2;
    transition: all 0.3s ease;
}

.project-card:hover h3 {
    color: var(--accent-green);
}

.project-description {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1rem;
    flex: 1;
    min-height: 50px;
    display: flex;
    align-items: center;
}

.project-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    width: 100%;
    justify-content: center;
    padding: 0.6rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.project-language {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
}

.language-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-green);
    box-shadow: 0 0 10px rgba(0, 255, 65, 0.6);
}

.project-stars {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--accent-green);
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
}

.project-links {
    display: flex;
    gap: 0.6rem;
    width: 100%;
}

.project-link {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.7rem 0.8rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    font-size: 0.7rem;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-link:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.project-link svg {
    width: 14px;
    height: 14px;
}

.project-link.demo-link {
    background: var(--accent-green);
    border-color: var(--accent-green);
    color: #000000;
}

.project-link.demo-link:hover {
    background: #00ff41;
    border-color: #00ff41;
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.4);
    transform: translateY(-2px);
}

.no-projects {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem;
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.no-results {
    width: 100%;
    text-align: center;
    padding: 4rem;
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    color: var(--text-secondary);
}

body.light-theme .category-btn {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.08);
    color: rgba(0, 0, 0, 0.7);
}

body.light-theme .category-btn:hover {
    background: rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 0, 0, 0.15);
    color: #000000;
}

body.light-theme .category-btn.active {
    background: #00cc00;
    border-color: #00cc00;
    color: #000000;
    box-shadow: 0 0 20px rgba(0, 204, 0, 0.3);
}

body.light-theme .category-btn .count {
    background: rgba(255, 255, 255, 0.3);
}

body.light-theme .category-btn.active .count {
    background: rgba(0, 0, 0, 0.2);
}

body.light-theme .search-icon {
    color: #00cc00;
}

body.light-theme .search-input {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.08);
    color: #000000;
}

body.light-theme .search-input:focus {
    background: rgba(0, 0, 0, 0.05);
    border-color: #00cc00;
    box-shadow: 0 0 40px rgba(0, 204, 0, 0.3), 0 0 80px rgba(0, 204, 0, 0.1);
}

body.light-theme .divider {
    background: linear-gradient(90deg, transparent 0%, #00cc00 20%, #00cc00 80%, transparent 100%);
    box-shadow: 0 0 30px rgba(0, 204, 0, 0.6);
}

body.light-theme .project-card {
    background: rgba(245, 245, 245, 0.9);
    border-color: rgba(0, 0, 0, 0.08);
}

body.light-theme .project-card:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(0, 204, 0, 0.25);
    box-shadow: 0 15px 40px rgba(0, 204, 0, 0.15);
}

body.light-theme .project-card::before {
    background: linear-gradient(90deg, transparent, #00cc00, transparent);
}

body.light-theme .project-icon {
    background: linear-gradient(135deg, rgba(0, 204, 0, 0.15), rgba(0, 204, 0, 0.05));
    border-color: rgba(0, 204, 0, 0.3);
    color: #00cc00;
}

body.light-theme .project-card:hover .project-icon {
    background: linear-gradient(135deg, rgba(0, 204, 0, 0.25), rgba(0, 204, 0, 0.1));
    border-color: #00cc00;
    box-shadow: 0 0 25px rgba(0, 204, 0, 0.4);
}

body.light-theme .project-card h3 {
    color: #000000;
}

body.light-theme .project-card:hover h3 {
    color: #00cc00;
}

body.light-theme .project-description {
    color: rgba(0, 0, 0, 0.6);
}

body.light-theme .project-meta {
    border-top-color: rgba(0, 0, 0, 0.05);
    border-bottom-color: rgba(0, 0, 0, 0.05);
}

body.light-theme .project-language {
    color: rgba(0, 0, 0, 0.7);
}

body.light-theme .project-stars {
    color: #00cc00;
}

body.light-theme .language-dot {
    background: #00cc00;
    box-shadow: 0 0 12px rgba(0, 204, 0, 0.6);
}

body.light-theme .project-link {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.1);
    color: #000;
}

body.light-theme .project-link:hover {
    background: rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.3);
}

body.light-theme .project-link.demo-link {
    background: #00cc00;
    border-color: #00cc00;
    color: #000000;
}

body.light-theme .project-link.demo-link:hover {
    background: #00dd00;
    border-color: #00dd00;
    box-shadow: 0 0 20px rgba(0, 204, 0, 0.4);
} 