* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background: url('../ImgPW/fondo.png') no-repeat center center fixed;
    background-size: cover;
    color: #fff;
    line-height: 1.6;
}

.content-container {
    width: 90%;
    max-width: 1000px;
    margin: 2rem auto;
    background: rgba(0, 0, 0, 0.9);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 0 30px rgba(76, 175, 80, 0.2);
}

.hero-section {
    text-align: center;
    padding: 2rem 0;
    border-bottom: 2px solid #4CAF50;
    margin-bottom: 2rem;
}

h1 {
    font-family: 'Press Start 2P', cursive;
    color: #4CAF50;
    font-size: 2rem;
    text-shadow: 0 0 10px rgba(76, 175, 80, 0.5);
    margin-bottom: 1rem;
}

.algorithm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.algorithm-card {
    background: rgba(76, 175, 80, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid #4CAF50;
    transition: transform 0.3s ease;
}

.algorithm-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

.algorithm-card h3 {
    color: #4CAF50;
    margin-bottom: 1rem;
}

.features-section {
    margin: 2rem 0;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}

.download-section {
    text-align: center;
    margin: 2rem 0;
    padding: 2rem;
    background: rgba(76, 175, 80, 0.1);
    border-radius: 10px;
}

.download-button {
    display: inline-block;
    background: #4CAF50;
    color: white;
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    margin: 1rem;
    transition: all 0.3s ease;
}

.download-button:hover {
    background: #45a049;
    transform: scale(1.05);
}

.screenshot {
    text-align: center;
    margin: 2rem 0;
}

.screenshot img {
    max-width: 80%;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .content-container {
        width: 95%;
        padding: 1rem;
    }

    h1 {
        font-size: 1.5rem;
    }
}

/* Botón flotante para regresar */
.back-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s;
}

.back-button:hover {
    background-color: #45a049;
}