/* Reset y base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    background-color: #070C0F;
    color: #ffffff;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Navbar */
.navbar {
    background-color: #1C2722;
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo a {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: #9DC52A;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-menu li {
    margin-left: 1.5rem;
    position: relative;
}

.nav-menu a {
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #9DC52A;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #1C2722;
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.5);
    border-radius: 8px;
    padding: 0.5rem 0;
}

.dropdown-content a {
    display: block;
    padding: 0.5rem 1rem;
    color: #fff;
}

.dropdown-content a:hover {
    background-color: #2a3a32;
    border-radius: 8px;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.nav-actions .btn-jugar {
    background-color: #9DC52A;
    color: #070C0F;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    transition: transform 0.3s, background-color 0.3s;
    display: inline-block;
}

.nav-actions .btn-jugar:hover {
    background-color: #b0d43a;
    transform: scale(1.05);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 4px 0;
    transition: 0.3s;
}

/* Hero */
.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(7,12,15,0.7);
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #ccc;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: #9DC52A;
    color: #070C0F;
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(157,197,42,0.4);
}

.btn-secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid #9DC52A;
}

.btn-secondary:hover {
    background-color: #9DC52A;
    color: #070C0F;
    transform: scale(1.05);
}

.btn-download {
    background-color: #9DC52A;
    color: #070C0F;
    font-size: 1.2rem;
    padding: 1rem 3rem;
}

.btn-download:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(157,197,42,0.4);
}

/* Secciones generales */
section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #9DC52A;
}

/* Descarga */
.download-section {
    text-align: center;
}

.download-section p {
    margin-bottom: 2rem;
}

/* Tienda */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.product-card {
    background-color: #1C2722;
    padding: 1.5rem;
    border-radius: 16px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.product-card h3 {
    margin-bottom: 0.5rem;
}

.product-card p {
    margin-bottom: 1rem;
    color: #aaa;
}

/* Tutorial */
.tutorial-section .video-container {
    max-width: 800px;
    margin: 0 auto 2rem;
}

.tutorial-section video {
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.5);
}

/* Registro */
.register-section {
    max-width: 500px;
    margin: 0 auto;
}

.register-section form {
    background-color: #1C2722;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 0.8rem;
    border-radius: 8px;
    border: 1px solid #2a3a32;
    background-color: #070C0F;
    color: #fff;
    font-size: 1rem;
}

.form-group input:focus {
    outline: none;
    border-color: #9DC52A;
}

#register-message {
    margin: 1rem 0;
}

#register-message .error {
    color: #ff6b6b;
}

#register-message .success {
    color: #9DC52A;
}

/* Contacto */
.contact-section p {
    font-size: 1.1rem;
    margin: 0.5rem 0;
}

/* Footer */
.footer {
    background-color: #1C2722;
    padding: 2rem;
    margin-top: 2rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-brand h2 {
    color: #9DC52A;
}

.footer-social a {
    margin-left: 1.5rem;
    color: #ccc;
    transition: color 0.3s;
}

.footer-social a:hover {
    color: #9DC52A;
}

/* Animaciones */
.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

.fade-out {
    animation: fadeOut 0.3s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeOut {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(-20px); }
}

/* Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #1C2722;
        position: absolute;
        top: 70px;
        left: 0;
        padding: 1rem;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        margin: 0.5rem 0;
    }

    .nav-actions {
        margin-left: auto;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-social a {
        margin: 0 0.5rem;
    }
}
/* Todo el CSS original que ya tienes... luego agrega: */

/* Hints en formulario */
.hint {
    display: block;
    font-size: 0.78rem;
    color: #888;
    margin-top: 0.3rem;
}

/* Botón deshabilitado */
.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}
