/* cyberpunk.css - v5 (Matrix GIF with original cyberpunk colors) */
@keyframes glitch {
    2%,64% { transform: translate(2px,0) skew(0deg); }
    4%,60% { transform: translate(-2px,0) skew(0deg); }
    62%    { transform: translate(0,0) skew(5deg); }
}

@keyframes glow {
    from {
        box-shadow: 0 0 10px #ff00ff, 0 0 20px #ff00ff, 0 0 30px #ff00ff; /* Magenta */
    }
    to {
        box-shadow: 0 0 20px #00ffff, 0 0 30px #00ffff, 0 0 40px #00ffff; /* Cyan */
    }
}

body {
    background-image: url('image/matrix_gif.gif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #000000; /* Fallback color */
    color: #f0f0f0;
    font-family: 'Consolas', 'Courier New', monospace;
    text-shadow: 0 0 2px rgba(255, 255, 255, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

.cyber-container {
    border: 2px solid #ff00ff; /* Magenta */
    padding: 30px;
    margin: 20px;
    max-width: 800px;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    animation: glow 2s ease-in-out infinite alternate;
}

h1 {
    background: linear-gradient(90deg, #00ffff, #ff00ff); /* Cyan to Magenta */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
    text-transform: uppercase;
    letter-spacing: 4px;
    border-bottom: 1px solid #00ffff; /* Cyan */
    padding-bottom: 10px;
    animation: glitch 1s linear infinite;
}

h2 {
    color: #00ffff; /* Cyan */
    text-shadow: 0 0 8px #00ffff, 0 0 12px #00ffff;
    text-transform: uppercase;
    letter-spacing: 4px;
}

p {
    line-height: 1.8;
    font-size: 1.1em;
}

a {
    color: #ffff00; /* Yellow */
    text-decoration: none;
    transition: text-shadow 0.3s, color 0.3s;
    text-transform: uppercase;
}

a:hover {
    color: #fff;
    text-shadow: 0 0 10px #ffff00;
}

.back-button {
    display: inline-block;
    margin-top: 30px;
    padding: 12px 25px;
    border: 2px solid #00ffff; /* Cyan */
    color: #00ffff; /* Cyan */
    background-color: rgba(0, 0, 0, 0.6); /* Match container but slightly less opaque */
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: color 0.4s ease, transform 0.1s ease;
    position: relative;
    overflow: hidden;
    z-index: 0;
    text-transform: uppercase;
    transform-style: preserve-3d;
    will-change: transform;
}

.back-button span {
    position: relative;
    z-index: 2;
}

.back-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    padding-bottom: 150%;
    border-radius: 50%;
    background-color: #00ffff; /* Cyan */
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1;
}

.back-button:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

.back-button:hover {
    color: #0d0221; /* Dark purple/blue */
    background-color: transparent;
    box-shadow: 0 0 20px #00ffff; /* Cyan */
}

@media (max-width: 768px) {
    .cyber-container {
        padding: 15px;
        margin: 10px;
        width: 90%;
    }

    h1 {
        font-size: 1.5em;
        letter-spacing: 2px;
    }

    h2 {
        font-size: 1.2em;
        letter-spacing: 2px;
    }

    p {
        font-size: 1em;
    }

    .back-button {
        display: block;
        margin: 10px 0;
        text-align: center;
        width: 100%;
        box-sizing: border-box;
    }
}
