/* ========================= */
/* RESET */
/* ========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* ========================= */
/* FONDO GLOBAL */
/* ========================= */

body {
    background: linear-gradient(
        to right,
        #000000 0%,
        #0a0a0a 40%,
        #111111 70%,
        #161616 100%
    );
    font-family: Arial, Helvetica, sans-serif;
    color: white;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* ========================= */
/* PARTICULAS */
/* ========================= */

.particulas {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.particula {
    position: absolute;
    bottom: -20px;
    width: 6px;
    height: 6px;
    background: rgba(0, 255, 120, 0.8);
    border-radius: 50%;
    animation: subir 7s linear infinite;
    opacity: 0;
}

@keyframes subir {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0.8;
    }
    70% {
        opacity: 0.4;
    }
    100% {
        transform: translateY(-110vh) scale(0.5);
        opacity: 0;
    }
}

/* ========================= */
/* CONTENEDOR BLOG */
/* ========================= */

.blog-container {
    width: 75%;
    max-width: 900px;
    margin: 140px auto 120px auto;
    position: relative;
    z-index: 2;
}

/* ========================= */
/* TITULO PRINCIPAL */
/* ========================= */

.blog-title {
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #00ff88;
    animation: glowVerde 2.5s ease-in-out infinite alternate;
}

.blog-meta {
    color: #aaa;
    margin-bottom: 60px;
    font-size: 0.95rem;
    letter-spacing: 1px;
}

/* ========================= */
/* CONTENIDO */
/* ========================= */

.blog-content h2 {
    margin-top: 70px;
    margin-bottom: 20px;
    font-size: 1.6rem;
    position: relative;
}

.blog-content h2::after {
    content: "";
    display: block;
    width: 70px;
    height: 3px;
    background: #00ff88;
    margin-top: 12px;
    border-radius: 10px;
}

.blog-content p {
    margin-bottom: 20px;
    color: #cccccc;
    font-size: 1.08rem;
}

.blog-content ul {
    margin: 20px 0 30px 20px;
}

.blog-content li {
    margin-bottom: 10px;
    color: #ccc;
}

/* ========================= */
/* IMAGENES */
/* ========================= */

.blog-content img {
    width: 100%;
    margin: 50px 0;
    border-radius: 20px;
    box-shadow: 0 0 30px rgba(0,255,120,0.25);
    transition: 0.4s ease;
}

.blog-content img:hover {
    transform: scale(1.02);
    box-shadow: 0 0 50px rgba(0,255,120,0.4);
}

/* ========================= */
/* GLOW VERDE */
/* ========================= */

@keyframes glowVerde {
    from {
        text-shadow:
            0 0 6px rgba(0,255,120,0.6),
            0 0 12px rgba(0,255,120,0.4);
    }
    to {
        text-shadow:
            0 0 14px rgba(0,255,120,0.9),
            0 0 30px rgba(0,255,120,0.6);
    }
}

/* ========================= */
/* RESPONSIVE */
/* ========================= */

@media (max-width: 768px) {

    .blog-container {
        width: 90%;
        margin: 100px auto;
    }

    .blog-title {
        font-size: 2rem;
    }

    .blog-content h2 {
        font-size: 1.3rem;
    }
}
/* ============================= */
/* NAV SUPERIOR */
/* ============================= */

.nav-top {
    position: fixed;
    top: 40px;
    right: 60px;
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 1000;
}

.btn-nav {
    text-decoration: none;
    color: #00ff88;
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 1.7rem;
    transition: all 0.3s ease;
}

.btn-nav:hover {
    text-shadow: 0 0 12px rgba(0,255,120,0.8);
    transform: scale(1.05);
}

.separador {
    color: rgba(255,255,255,0.7);
    font-size: 1.7rem;
}
