* {
    margin: 0;
    padding: 5px;
    box-sizing: border-box;
}

body {
    font-family: "Jersey 10", sans-serif;
    background-color: #0a0a0a;
    color: white;

    height: 100vh;
    overflow: hidden;

    animation: flicker 0.15s infinite;
}

#bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;

    transform: scale(1.2);
}

body::after {
    content: "";
    position: fixed;
    inset: 0;


    background: rgba(0,0,0,0.15);

    pointer-events: none;
    z-index: 997;

    mix-blend-mode:color-dodge;
    animation: chromatic 2s infinite alternate;
}

body::before {
    content: "";
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.25'/%3E%3C/svg%3E");

    pointer-events: none;
    z-index: 999;

    animation: noiseMove 0.4s steps(4) infinite;
}


.top-buttons {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);

    display: flex;
    gap: 15px;
    z-index: 2;
}

.center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    display: flex;
    flex-direction: column;
    align-items: center;
}

.Title {
    font-size: 9rem;
    font-weight: 400;
    text-align: center;
    letter-spacing: 4px;
    margin-bottom: 4px;

    text-shadow:
        2px 0 rgb(218, 0, 0),
        -2px 0 blue,

        0 0 5px rgba(255,255,255,0.6),
        0 0 10px rgba(255,255,255,0.4),
        0 0 20px rgba(255,255,255,0.2);
}

.faq-top {
    left: 20px;
    transform: none;
}

#caBtn {
    margin-top: 0;
}

/* Buttons */
button {
    font-family: "Jersey 10", sans-serif;
    background-color: rgba(17,17,17,0.8);
    border: 1px solid #333;
    color: white;

    padding: 12px 20px;
    font-size: 1rem;
    border-radius: 8px;

    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(4px);
}

button:hover:not(#caBtn) {
    background-color: rgba(31,31,31,0.9);
    border-color: #555;
    transform: translateY(-2px);
    text-shadow: 
        0 0 5px rgba(255,255,255,0.6),
        0 0 10px rgba(255,255,255,0.4);
}

#caBtn {
    font-family: "Jersey 10", sans-serif;
    background-color: rgba(17,17,17,0.8);
    border: 1px solid #333;
    color: white;

    padding: 12px 20px;
    font-size: 1rem;
    border-radius: 8px;

    backdrop-filter: blur(4px);

    display: inline-block; /* important */

    transition: all 0.2s ease;

}

#caBtn:hover {
    background-color: rgba(31,31,31,0.9);
    border-color: #555;
    text-shadow: 
        0 0 5px rgba(255,255,255,0.6),
        0 0 10px rgba(255,255,255,0.4);
}

@keyframes flicker {
    0%   { opacity: 0.98; }
    5%   { opacity: 0.95; }
    10%  { opacity: 1; }
    15%  { opacity: 0.97; }
    50%  { opacity: 0.99; }
    100% { opacity: 0.98; }
}

@keyframes noiseMove {
    0%   { transform: translate(0, 0); }
    25%  { transform: translate(-2%, 1%); }
    50%  { transform: translate(2%, -1%); }
    75%  { transform: translate(-1%, 2%); }
    100% { transform: translate(0, 0); }
}

@keyframes chromatic {
    0% {
        filter: drop-shadow(15px 0 red) drop-shadow(-1px 0 blue);
    }
    50% {
        filter: drop-shadow(15px 0 red) drop-shadow(-2px 0 blue);
    }
    100% {
        filter: drop-shadow(1px 0 red) drop-shadow(-1px 0 blue);
    }
}

.scanlines {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 998;

    background: repeating-linear-gradient(
        to bottom,
        rgba(255,255,255,0.025) 0px,
        rgba(255,255,255,0.025) 1px,
        transparent 1px,
        transparent 3px
    );
}

::selection {
  background-color: rgb(255, 255, 255, 0.8);
  color: black;      
  text-shadow: 1px 0 red, -1px 0 blue;
}

.dynamic-selection::selection {
  background-color: var(--inverted-bg);
  color: var(--inverted-text);
}

.faq-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    max-width: 800px;
    width: 90%;

    display: flex;
    flex-direction: column;
    gap: 25px;
}

.faq-item h2 {
    font-size: 1.5rem;
    margin-bottom: 2px;

    text-shadow:
        2px 0 rgba(255,0,0,0.4),
        -2px 0 rgba(0,0,255,0.4);
}

.faq-item p {
    font-size: 1rem;
    color: rgba(255,255,255,0.85);
}

@keyframes fadeDown {
    0% {
        opacity: 0;
        transform: translateY(-15px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-item {
    opacity: 0;
    animation: fadeDown 0.6s ease forwards;
}

.faq-item:nth-child(2) { animation-delay: 0.4s; }
.faq-item:nth-child(3) { animation-delay: 0.55s; }
.faq-item:nth-child(4) { animation-delay: 0.7s; }


@keyframes zoomFade {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.faq-container .Title {
    opacity: 0;
    animation: zoomFade 1.2s ease forwards;
}



#caBtn.copied {
    background-color: rgba(49, 61, 48, 0.9);
    border-color: #4b5c4f;

    text-shadow:
        0 0 5px rgba(255,255,255,0.8),
        0 0 10px rgba(255,255,255,0.6);
}

@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(15px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}




.top-buttons button {
    opacity: 0;
    animation: fadeUp 0.5s ease forwards;
}

.top-buttons button:nth-child(1) { animation-delay: 0.2s; }
.top-buttons button:nth-child(2) { animation-delay: 0.35s; }
.top-buttons button:nth-child(3) { animation-delay: 0.5s; }


#caBtn {
    opacity: 0;
    animation: fadeUp 0.6s ease forwards;
    animation-delay: 0.7s;
}