

.seccionbody {
    font-family: 'Courier New', monospace;
    background-color: #ffffff;
    color: #333;
    line-height: 1.6;
    overflow: hidden;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Efecto de ruido digital sutil en el fondo */
.seccionbody::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95)),
        url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 1;
    z-index: -1;
    animation: noise 0.2s infinite alternate;
}

/* Efecto de líneas de escaneo sutiles */
.seccionbody::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(transparent 0px,
            transparent 1px,
            rgba(0, 0, 0, 0.03) 1px,
            rgba(0, 0, 0, 0.03) 2px);
    pointer-events: none;
    z-index: -1;
    animation: scan 8s linear infinite;
}

.container-error {
    text-align: center;
    padding: 2rem;
    position: relative;
    z-index: 1;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    max-width: 90%;
    backdrop-filter: blur(5px);
}

.error-code {
    font-size: 12rem;
    font-weight: 900;
    color: #222;
    position: relative;
    text-shadow:
        2px 2px 0px #ff0066,
        -2px -2px 0px #00ccff;
    animation: glitch 7s infinite;
    margin-bottom: 1rem;
    letter-spacing: -5px;
}

.error-message {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #444;
    max-width: 600px;
    line-height: 1.4;
}

.home-button {
    display: inline-block;
    padding: 12px 30px;
    background: transparent;
    color: #ff0066;
    border: 2px solid #ff0066;
    text-decoration: none;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
    z-index: 1;
    border-radius: 30px;
}

.home-button:hover {
    color: white;
    background: #ff0066;
    box-shadow: 0 0 20px rgba(255, 0, 102, 0.4);
}

.home-button::before {
    content: '';
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: 0.5s;
    z-index: -1;
}

.home-button:hover::before {
    left: 100%;
}

/* Animaciones */
@keyframes glitch {
    0% {
        text-shadow:
            2px 2px 0px #ff0066,
            -2px -2px 0px #00ccff;
        transform: translate(0);
    }

    2% {
        text-shadow:
            -2px -2px 0px #ff0066,
            2px 2px 0px #00ccff;
        transform: translate(3px, -3px);
    }

    4% {
        text-shadow:
            2px 2px 0px #ff0066,
            -2px -2px 0px #00ccff;
        transform: translate(0);
    }

    5% {
        text-shadow:
            4px 4px 0px #ff0066,
            -4px -4px 0px #00ccff;
        transform: translate(-3px, 3px);
    }

    6% {
        text-shadow:
            2px 2px 0px #ff0066,
            -2px -2px 0px #00ccff;
        transform: translate(0);
    }

    30% {
        text-shadow:
            2px 2px 0px #ff0066,
            -2px -2px 0px #00ccff;
        transform: translate(0);
    }

    32% {
        text-shadow:
            -2px -2px 0px #ff0066,
            2px 2px 0px #00ccff;
        transform: translate(4px, -4px);
    }

    34% {
        text-shadow:
            2px 2px 0px #ff0066,
            -2px -2px 0px #00ccff;
        transform: translate(0);
    }

    37% {
        text-shadow:
            2px 2px 0px #ff0066,
            -2px -2px 0px #00ccff;
        transform: translate(0);
    }

    38% {
        text-shadow:
            6px 6px 0px #ff0066,
            -6px -6px 0px #00ccff;
        transform: translate(-6px, 6px);
    }

    39% {
        text-shadow:
            2px 2px 0px #ff0066,
            -2px -2px 0px #00ccff;
        transform: translate(0);
    }

    60% {
        text-shadow:
            2px 2px 0px #ff0066,
            -2px -2px 0px #00ccff;
        transform: translate(0);
    }

    62% {
        text-shadow:
            -2px -2px 0px #ff0066,
            2px 2px 0px #00ccff;
        transform: translate(0, -6px) skewX(8deg);
    }

    64% {
        text-shadow:
            2px 2px 0px #ff0066,
            -2px -2px 0px #00ccff;
        transform: translate(0);
    }

    66% {
        text-shadow:
            2px 2px 0px #ff0066,
            -2px -2px 0px #00ccff;
        transform: translate(0);
    }

    67% {
        text-shadow:
            10px 10px 0px #ff0066,
            -10px -10px 0px #00ccff;
        transform: translate(10px, -10px);
    }

    68% {
        text-shadow:
            2px 2px 0px #ff0066,
            -2px -2px 0px #00ccff;
        transform: translate(0);
    }

    95% {
        text-shadow:
            2px 2px 0px #ff0066,
            -2px -2px 0px #00ccff;
        transform: translate(0);
    }

    97% {
        text-shadow:
            -5px -5px 0px #ff0066,
            5px 5px 0px #00ccff;
        transform: translate(-5px, 5px);
    }

    100% {
        text-shadow:
            2px 2px 0px #ff0066,
            -2px -2px 0px #00ccff;
        transform: translate(0);
    }
}

@keyframes scan {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 0 100%;
    }
}

@keyframes noise {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 100% 100%;
    }
}

/* Efectos de destello aleatorios sutiles */
.glitch-effect {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 1;
    background: rgba(255, 255, 255, 0.5);
    pointer-events: none;
    z-index: 2;
    animation: flash 10s infinite;
}

@keyframes flash {

    0%,
    12%,
    15%,
    46%,
    49%,
    82%,
    85%,
    100% {
        opacity: 1;
    }

    13%,
    14%,
    47%,
    48%,
    83%,
    84% {
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .error-code {
        font-size: 8rem;
    }

    .error-message {
        font-size: 1.4rem;
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .error-code {
        font-size: 6rem;
    }

    .error-message {
        font-size: 1.2rem;
    }

    .home-button {
        padding: 10px 20px;
        font-size: 1rem;
    }
}