* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #0d0d0d;
    color: #f0f0f0;
    font-family: 'Arial', sans-serif;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
    letter-spacing: 1px;
    overflow: hidden;
}

h1 {
    font-size: 6rem;
    position: relative;
    color: white;
    width: 400px;
    margin: 0 auto;
    animation: jtr 0.3s infinite;
}

@media (max-width: 768px) {
    h1 {
        font-size: 4rem;
        width: 300px;
    }

    .jr-btn {
        font-size: 0.9rem;
        padding: 8px 16px;
    }

    p {
        font-size: 1rem;
    }
}

@keyframes jtr {
    0% { transform: translateX(0); }
    20% { transform: translateX(-1px); }
    40% { transform: translateX(0px); }
    60% { transform: translateX(0px); }
    80% { transform: translateX(0px); }
    100% { transform: translateX(0); }
}

@keyframes noise-anim {
    0% {
        clip: rect(0.25em, 9999px, 1.25em, 0);
    }
    10% {
        clip: rect(0.2em, 9999px, 0.8em, 0);
    }
    20% {
        clip: rect(0.35em, 9999px, 1.65em, 0);
    }
    30% {
        clip: rect(0.5em, 9999px, 1.55em, 0);
    }
    40% {
        clip: rect(0.25em, 9999px, 1.75em, 0);
    }
    50% {
        clip: rect(0.1em, 9999px, 1.9em, 0);
    }
    60% {
        clip: rect(0.3em, 9999px, 1.5em, 0);
    }
    70% {
        clip: rect(0.45em, 9999px, 2em, 0);
    }
    80% {
        clip: rect(0.25em, 9999px, 1.85em, 0);
    }
    90% {
        clip: rect(0.4em, 9999px, 1.6em, 0);
    }
    100% {
        clip: rect(0.15em, 9999px, 1.5em, 0);
    }
}

h1::before, h1::after {
    font-size: inherit;
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    color: white;
    background: #0d0d0d;
    overflow: hidden;
}

h1::after {
    left: 2px;
    text-shadow: -1px 0 red;
    clip: rect(0, 900px, 0, 0);
    animation: noise-anim 2s infinite linear alternate-reverse;
}

h1::before {
    left: -2px;
    text-shadow: 1px 0 blue;
    clip: rect(0, 900px, 0, 0);
    animation: noise-anim 3s infinite linear alternate-reverse;
}

p {
    font-size: 1.2rem;
    color: #888;
    opacity: 0;
    animation: fdin 3s ease forwards;
}

@keyframes fdin {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

.blk {
    animation: sblk 1.5s step-start infinite;
}

@keyframes sblk {
    50% {
        opacity: 0;
    }
}

.jr-btn {
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: 600;
    color: #1c1c1c;
    background-color: #ffffff;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    margin-top: 20px;
    transition: background-color 1.5s ease, transform 2s ease;
    animation: fdin 4s ease-in forwards;
}

.jr-btn-yw {
    background-color: #ffff00;
}

.jr-btn:hover {
    background-color: #ff1a1a;
    transform: scale(1.05);
}

.jr-btn:active {
    transform: scale(0.98);
}