.tools {
    color: white;
    position: fixed;
    top: 11%;
    left: 50%;
    transform: translateX(-50%);
    width: min(1100px, 94vw);
    height: 78vh;
    overflow: hidden;
    padding: 2px 6px 10px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.tools-title {
    margin: 0;
    font-size: 1.65rem;
    color: rgb(166, 214, 44);
}

.tools-subtitle {
    margin: 8px 0 10px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.projects-row {
    margin-top: 10px;
}

.projects-row-title {
    margin: 0 0 8px;
    color: white;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    opacity: 0.95;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.tool-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 185px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 12px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.tool-card:hover {
    cursor: pointer;
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.tool-card.tool-card-static:hover {
    cursor: default;
    transform: none;
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: none;
}

.tool-card:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.9);
    outline-offset: 2px;
}

.tool-icon {
    width: 78px;
    height: 78px;
    margin-bottom: 8px;
}

.tool-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.tool-name {
    margin: 0;
    color: rgb(166, 214, 44);
    font-size: 1rem;
}

.tool-description {
    margin: 6px 0 10px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.82rem;
    line-height: 1.35;
}

.tool-cta {
    margin-top: auto;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: white;
    padding: 6px 9px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.38);
    background: rgba(255, 255, 255, 0.08);
}

.games-row {
    margin-top: 12px;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

@media (max-width: 900px) {
    .tools {
        top: 72px;
        left: 50%;
        transform: translateX(-50%);
        width: 94vw;
        height: calc(100svh - 162px);
        overflow-y: auto;
        overflow-x: hidden;
        padding: 8px 8px 20px;
    }

    .tools-title {
        font-size: 1.35rem;
    }

    .tools-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .games-grid {
        grid-template-columns: 1fr;
    }

    .tool-card {
        min-height: 160px;
        padding: 12px;
    }

    .tool-icon {
        width: 72px;
        height: 72px;
    }

    .projects-row {
        margin-top: 8px;
    }
}
