/* ... (el resto del CSS anterior sigue igual) ... */

/* Platforms Section Styles */
.platforms-section {
    padding: 60px 20px;
    background-color: #fff;
}

.platforms-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #333;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Filtros de Plataformas */
.platforms-filters {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.platforms-filters form {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 200px; /* Ancho mínimo para cada filtro */
}

.filter-group label {
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

.filter-group input,
.filter-group select {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.filter-group input:focus,
.filter-group select:focus {
    outline: none;
    border-color: #6c5ce7;
}

.btn {
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: #6c5ce7;
    color: white;
}

.btn-primary:hover {
    background-color: #5649cc;
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background-color: #fafafa;
}

.platforms-results-info {
    margin-bottom: 20px;
    color: #666;
    font-style: italic;
}

/* Grid de Plataformas */
.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); /* Mínimo 300px por columna */
    gap: 30px;
}

.platform-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.platform-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.platform-image-container {
    padding: 20px;
    text-align: center;
    background-color: #f9f9f9;
    border-bottom: 1px solid #eee;
}

.platform-logo {
    max-height: 80px;
    max-width: 80%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.platform-card:hover .platform-logo {
    transform: scale(1.05);
}

.platform-logo-placeholder {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c5ce7;
    font-size: 2.5rem;
    background-color: #f0f0f0;
    border-radius: 8px;
}

.platform-info {
    padding: 20px;
    flex-grow: 1; /* Empuja el botón hacia abajo */
}

.platform-name {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #333;
    font-weight: 600;
}

.platform-category {
    color: #6c5ce7;
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.platform-description {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 15px;
    line-height: 1.5;
}

.platform-stats {
    margin-top: auto; /* Empuja hacia abajo */
    padding-top: 15px;
    border-top: 1px solid #eee;
    font-size: 0.85rem;
    color: #888;
}

.platform-stats .popularity {
    display: flex;
    align-items: center;
    gap: 5px;
}

.platform-action {
    padding: 0 20px 20px;
    text-align: center;
}

.platform-action .btn {
    width: 100%;
    padding: 12px;
    font-weight: 500;
    text-align: center;
}

.no-platforms {
    text-align: center;
    padding: 60px 20px;
    font-size: 1.2rem;
    color: #666;
}

/* Responsive Design for Platforms */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .platforms-filters form {
        flex-direction: column; /* Cambiar a columna en móviles */
    }

    .filter-group {
        min-width: 100%; /* Ancho completo en móviles */
    }

    .platforms-grid {
        grid-template-columns: 1fr; /* Una columna en móviles */
    }

    .platform-card {
        margin-bottom: 20px;
    }

    .platform-name {
        font-size: 1.1rem;
    }

    .platform-description {
        font-size: 0.9rem;
    }
}
