@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&family=Roboto+Mono:wght@400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: url('../ImgPW/fondo.png') no-repeat center center fixed;
    background-size: cover;
    font-family: 'Roboto Mono', monospace;
    color: #fff;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    text-align: center;
    padding: 40px 0;
}

h1 {
    font-family: 'Press Start 2P', cursive;
    font-size: 3.5rem;
    color: #00FF00;
    text-shadow: 3px 3px #000, 0 0 20px #00FF00;
    margin-bottom: 20px;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 3px 3px #000, 0 0 20px #00FF00;
    }
    to {
        text-shadow: 3px 3px #000, 0 0 30px #00FF00, 0 0 40px #00FF00;
    }
}

.hero-section {
    text-align: center;
    background: rgba(0, 0, 0, 0.8);
    padding: 40px;
    border-radius: 15px;
    border: 2px solid #00FF00;
    margin-bottom: 40px;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.2);
}

.hero-section h2 {
    font-family: 'Press Start 2P', cursive;
    font-size: 1.8rem;
    color: #00FF00;
    margin-bottom: 20px;
}

.hero-section p {
    font-size: 1.1rem;
    /*margin-bottom: 20px;*/
    max-width: 800px;
    margin: 20px auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.feature-card {
    background: rgba(0, 0, 0, 0.8);
    padding: 30px;
    border-radius: 15px;
    border: 2px solid #00FF00;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(0, 255, 0, 0.3);
}

.feature-card h3 {
    font-family: 'Press Start 2P', cursive;
    color: #00FF00;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.banner {
    background: rgba(0, 0, 0, 0.8);
    padding: 40px 0;
    position: relative;
    margin: 60px 0;
    border-radius: 15px;
}

/* Mantenemos los estilos existentes del slider */
.slider {
    position: relative;
    width: 100%;
    margin: 2rem 0;
    overflow: hidden;
}

.slide-track {
    display: flex;
    width: calc(200px * 12);
    animation: scroll 20s linear infinite;
}

.slide-track-reverse {
    animation-direction: reverse;
}

.slide {
    background: rgba(255, 255, 255, 0.1);
    width: 200px;
    height: 180px;
    padding: 1rem;
    border-radius: 10px;
    margin: 0 10px;
    transition: transform 0.3s ease;
}

.slide:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.2);
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.download-section {
    text-align: center;
    background: rgba(0, 0, 0, 0.8);
    padding: 40px;
    border-radius: 15px;
    border: 2px solid #00FF00;
    margin-top: 40px;
}

.download-btn {
    display: inline-block;
    padding: 15px 30px;
    margin: 15px;
    font-family: 'Press Start 2P', cursive;
    font-size: 1rem;
    color: #00FF00;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid #00FF00;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.download-btn:hover {
    background: #00FF00;
    color: #000;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.5);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-200px * 6));
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    .hero-section {
        padding: 20px;
    }

    .hero-section h2 {
        font-size: 1.4rem;
    }

    .feature-card {
        padding: 20px;
    }
}

/* 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;
}