/* Tools page - roster of the tools, apps and services TFR runs for players.
   Relies on shared.css for .content-box, .cut-corner, .page-title, .page-intro,
   .contact-chip and .CTA. Only the roster grid and card internals live here. */

.tools-roster {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: clamp(16px, 3vw, 28px);
    width: 100%;
    margin: 0 auto clamp(28px, 5vw, 48px);
}

.tool-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    padding: clamp(22px, 3vw, 34px);
    transition: transform 0.2s ease;
}

.tool-card:hover {
    transform: translateY(-4px);
}

.tool-card--ai {
    --content-box-border: rgba(125, 33, 40, 0.9);
    background-image: radial-gradient(circle at 50% 8%, rgba(125, 33, 40, 0.34), transparent 48%);
}

.tool-card--foxy {
    --content-box-border: rgba(226, 133, 11, 0.9);
    background-image: radial-gradient(circle at 50% 8%, rgba(226, 133, 11, 0.24), transparent 48%);
}

.tool-card__icon {
    width: 72px;
    height: 72px;
    object-fit: contain;
}

.tool-card__icon--ai {
    border-radius: 50%;
    box-shadow: 0 0 0 2px #7d2128, 0 10px 24px #000;
}

.tool-card__icon--foxy {
    filter: drop-shadow(0 10px 16px #000);
}

.tool-card h3 {
    margin: 0;
    font-size: clamp(1.15rem, 2.6vw, 1.4rem);
    border-bottom: 3px solid #7d2128;
    padding-bottom: 8px;
    letter-spacing: 0.4px;
}

.tool-card p {
    margin: 0;
    line-height: 1.55;
    font-size: 1rem;
    flex: 1 1 auto;
}

.tool-link {
    margin-top: auto;
    text-decoration: none;
}

.tool-link button {
    background-color: #7d2128;
    border: none;
    border-radius: 6px;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    padding: 10px 22px;
    text-transform: uppercase;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.tool-link button:hover {
    background-color: #5b5b5c;
    transform: translateY(-2px);
}

.tool-link button:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}
