/* Tech Stack Cards */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.tech-card {
    background: var(--bg-card);
    border: 1px solid rgba(0, 243, 255, 0.1);
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.3s ease;
    border-radius: 4px;
    aspect-ratio: 1 / 1;
}

.tech-card:hover {
    border-color: var(--neon-green);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.2);
    transform: translateY(-3px);
    background: rgba(0, 243, 255, 0.05);
}

.tech-card i {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--cyan);
    transition: all 0.3s ease;
}

.tech-card:hover i {
    color: var(--neon-green);
    transform: scale(1.1);
    text-shadow: 0 0 10px var(--neon-green);
}

.tech-card span {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-grey);
    font-weight: bold;
}

.tech-card:hover span {
    color: var(--text-white);
}

/* Tech Category Headers */
.tech-category {
    margin-bottom: var(--spacing-xl);
}

.tech-category h3 {
    color: var(--neon-green);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: var(--spacing-md);
    border-left: 3px solid var(--neon-green);
    padding-left: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Mobile horizontal scroll for dense grids */
@media (max-width: 768px) {
    .tech-grid {
        display: flex;
        overflow-x: auto;
        gap: var(--spacing-md);
        padding-bottom: var(--spacing-sm);
        scroll-snap-type: x mandatory;
    }

    .tech-card {
        flex: 0 0 150px;
        scroll-snap-align: start;
    }
}
