/* Estilos para el modal de créditos */

.credits-modal {
    background-color: var(--secondary-color);
    border-radius: var(--border-radius-md);
    width: 90%;
    max-width: 500px;
    padding: 2rem;
    position: relative;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    color: white;
}

.modal-overlay.active .credits-modal {
    transform: translateY(0);
}

.credits-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.credits-modal-title {
    color: var(--primary-color);
    font-size: 3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
    text-shadow: 0 0 5px rgba(255, 70, 85, 0.3);
}

.credits-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.credits-section {
    margin-bottom: 1.5rem;
}

.credits-section-title {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
}

.credits-section-content {
    font-size: 1.5rem;
    line-height: 1.4;
}

.credits-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.credits-link:hover {
    color: var(--primary-hover-color);
    text-decoration: underline;
}

#valorantApiLogo {
    max-width: 200px;
    margin: 1rem auto;
    display: flex;
    justify-content: center;
}

.api-logo svg {
    width: 100%;
    height: auto;
}

.developer-info {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.github-info {
    display: flex;
    align-items: center;
}

.github-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: #333;
    border-radius: var(--border-radius-sm);
    text-decoration: none;
    color: white;
    transition: background-color 0.3s ease;
}

.github-link:hover {
    background-color: #555;
    text-decoration: none;
}

.github-icon {
    width: 24px;
    height: 24px;
}

.credits-close-button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius-sm);
    padding: 0.8rem 1.5rem;
    font-size: 1.5rem;
    cursor: pointer;
    text-transform: uppercase;
    margin-top: 1.5rem;
    align-self: center;
    transition: background-color 0.3s ease, transform 0.1s ease;
}

.credits-close-button:hover {
    background-color: var(--primary-hover-color);
}

.credits-close-button:active {
    transform: scale(0.98);
}

/* Responsive */
@media (max-width: 768px) {
    .credits-modal {
        width: 95%;
        padding: 1.5rem;
    }
    
    .credits-modal-title {
        font-size: 2.5rem;
    }
    
    .credits-section-title {
        font-size: 1.8rem;
    }
    
    .credits-section-content {
        font-size: 1.3rem;
    }
    
    .credits-close-button {
        font-size: 1.3rem;
        padding: 0.7rem 1.2rem;
    }
    
    #valorantApiLogo {
        max-width: 180px;
    }
}

/* Small Mobile Phones */
@media (max-width: 480px) {
    .credits-modal {
        width: 100%;
        padding: 1.2rem;
    }
    
    .credits-modal-title {
        font-size: 2rem;
    }
    
    .close-modal {
        font-size: 1.8rem;
    }
    
    .credits-section {
        margin-bottom: 1rem;
    }
    
    .credits-section-title {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .credits-section-content {
        font-size: 1.1rem;
    }
    
    .credits-close-button {
        font-size: 1.1rem;
        padding: 0.6rem 1rem;
        margin-top: 1rem;
    }
    
    #valorantApiLogo {
        max-width: 150px;
        margin: 0.5rem auto;
    }
    
    .github-link {
        padding: 0.4rem 0.8rem;
    }
    
    .github-icon {
        width: 20px;
        height: 20px;
    }
}