/* gta-tools.css - Stili specifici per la sezione GTA Tools */

.gta-container {
    padding: 1rem;
}

.gta-card {
    background: #111112;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.2s ease;
}

.gta-card:hover {
    border-color: rgba(255, 255, 255, 0.1);
    background: #141415;
}

.gta-card-inner {
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .gta-card-inner {
        flex-direction: row;
    }
}

.gta-img-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #000;
}

@media (min-width: 768px) {
    .gta-img-wrapper {
        width: 320px;
        height: auto;
        min-height: 100%;
    }
}

.gta-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gta-card:hover .gta-img-wrapper img {
    transform: scale(1.05);
}

.gta-info {
    flex: 1;
    padding: 1.5rem 2rem;
}

.feature-list li {
    font-size: 0.8rem;
    color: #a1a1aa;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-gta {
    padding: 0.5rem 1.25rem;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-gta.primary {
    background: #00a2ff;
    color: white;
}

.btn-gta.primary:hover {
    background: #00b0ff;
}

.btn-gta.secondary {
    background: #27272a;
    color: #a1a1aa;
}

.btn-gta.secondary:hover {
    background: #3f3f46;
    color: white;
}

.gta-card-footer {
    padding: 0.75rem 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    font-size: 0.65rem;
    color: #52525b;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Modal Styles */
.gta-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.gta-modal.show {
    opacity: 1;
    visibility: visible;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
}

.modal-dialog {
    background: #111112;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    position: relative;
    z-index: 1;
    overflow: hidden;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.gta-modal.show .modal-dialog {
    transform: translateY(0);
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .gta-btns-legacy {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .gta-btns-enhanced {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    /* Il terzo pulsante (Discord) prende tutta la riga */
    .gta-btns-enhanced a:last-child {
        grid-column: span 2;
    }

    .btn-gta {
        width: 100%;
        padding: 0.75rem 1rem;
        font-size: 0.7rem;
    }
}
