/* ==========================================================================
   Global & Layout
   ========================================================================== */

   html, body {
    height: 100%;
    margin: 0;
}

body {
    background: #110c1a;
    color: #64e7f0;
    font-family: 'JetBrains Mono', monospace;
    overflow-x: hidden;
    min-height: 100vh;
    -ms-overflow-style: none;
    cursor: url('cursors/Point.cur'), auto;
}

/* Media: default responsive elements */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

body::-webkit-scrollbar {
    display: none;
}

/* Canvas Matrix Rain */
canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    display: block;
}

.stage {
    position: relative;
    min-height: 100vh;
    width: 100%;
}

.protocol-frame {
    position: absolute;
    inset: 0;
    width: 100vw;
    height: 100vh;
    border: 0;
    opacity: 1;
    transition: opacity 600ms ease;
}

.protocol-frame.fade-out {
    opacity: 0;
    pointer-events: none;
}

.main-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 600ms ease 200ms;
    min-height: 100vh;
    padding: clamp(16px, 4vh, 48px);
}

.main-content.visible {
    opacity: 1;
}

/* ==========================================================================
   CSS Variables
   ========================================================================== */

:root {
    --bg: #110c1a;
    --fg: rgb(217, 217, 217);
    --neon: #b8f0ff;
    --neon-2: #9fdfff;
    --muted: #cacaca;
    --card-bg: rgba(15, 12, 24, 0.7);
    --border: rgba(214, 240, 100, 0.35);
}

/* ==========================================================================
   Content Grid Layout
   ========================================================================== */

.content-shell {
    width: min(1200px, 94vw);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 3fr 1.2fr;
    grid-template-areas:
        "title title"
        "primary side"
        "blog side";
    gap: clamp(12px, 2.4vw, 24px);
    align-items: start;
    min-height: calc(100vh - clamp(32px, 6vh, 96px));
}

/* Panels */
.primary-panel {
    grid-area: primary;
    background: var(--card-bg);
    border: 1px solid #ffffff;
    border-radius: 10px;
    padding: clamp(12px, 2.2vw, 22px) clamp(14px, 2.4vw, 24px);
    box-shadow:
        0 0 24px rgba(0, 0, 0, 0.35),
        inset 0 0 24px rgba(214, 240, 100, 0.06);
    backdrop-filter: blur(6px);
    min-height: clamp(220px, 40vh, 60vh);
}

.blog-panel {
    grid-area: blog;
    background: rgba(15, 12, 24, 0.8);
    border: 1px solid #9fdfff;
    border-radius: 10px;
    padding: clamp(12px, 2.2vw, 22px) clamp(14px, 2.4vw, 24px);
    box-shadow:
        0 0 24px rgba(159, 223, 255, 0.15),
        inset 0 0 24px rgba(159, 223, 255, 0.05);
    backdrop-filter: blur(6px);
    height: fit-content;
}

.side-panel {
    grid-area: side;
    background: transparent;
    border: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: fit-content;
}

.sidebar-section {
    background: rgba(17, 12, 26, 0.5);
    border-radius: 10px;
    padding: clamp(10px, 1.8vw, 18px);
    height: fit-content;
}

.social-section    { border: 1px dashed #9fdfff; box-shadow: 0 0 12px rgba(184, 240, 255, 0.2); }
.languages-section { border: 1px dashed #9fdfff; box-shadow: 0 0 12px rgba(214, 240, 100, 0.2); }
.tools-section     { border: 1px dashed #9fdfff; box-shadow: 0 0 12px rgba(159, 223, 255, 0.2); }

.side-links {
    display: grid;
    gap: clamp(8px, 1.6vw, 12px);
}

.side-links a {
    display: block;
    text-decoration: dotted underline;
    cursor: url('cursors/Click.cur'), auto;
    color: var(--muted);
}

/* ==========================================================================
   Typography & Titles
   ========================================================================== */

.neon-title {
    grid-column: 1 / -1;
    text-align: center;
    margin-bottom: 24px;
}

.neon-title h1 {
    font-size: clamp(1.6rem, 4.5vw, 3rem);
    letter-spacing: 2px;
    color: var(--fg);
    text-shadow:
        0 0 clamp(4px, 1vw, 8px) rgba(214, 240, 100, 0.45),
        0 0 clamp(12px, 2vw, 22px) rgba(214, 240, 100, 0.25);
    margin: 0 0 8px 0;
}

/* Broken Neon Sign */
.neon-title h1.broken-neon,
.neon-title h1.broken-neon-tilted {
    position: relative;
    display: inline-block;
    color: var(--neon);
    font-family: "Sixtyfour", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings: "BLED" 0, "SCAN" 0;
    text-shadow: none;
    animation: neon-flicker 4.2s infinite;
    font-weight: bold;
}

.neon-title h1.broken-neon-tilted {
    transform-origin: 50% 90%;
    transform: rotate(15deg) translateX(clamp(-28px, -3vw, -12px)) translateY(clamp(6px, 1.2vh, 16px));
}

/* Remove pseudo-elements */
.neon-title h1.broken-neon::before,
.neon-title h1.broken-neon::after,
.neon-title h1.broken-neon-tilted::before,
.neon-title h1.broken-neon-tilted::after {
    content: none;
    display: none;
}

.neon-title .sub {
    font-size: clamp(0.8rem, 1.6vw, 1rem);
    color: var(--muted);
    letter-spacing: 3px;
    text-transform: uppercase;
}

.section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: clamp(0.85rem, 1.6vw, 1rem);
    color: var(--neon);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.blog-panel .section-title {
    margin-bottom: 12px;
}

/* ==========================================================================
   About Section
   ========================================================================== */

.about-wrap { width: 100%; padding: 0; display: block; }

.about-content {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 20px;
}

.profile-pic {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    border: 2px solid var(--neon);
    box-shadow:
        0 0 20px rgba(184, 240, 255, 0.3),
        inset 0 0 20px rgba(184, 240, 255, 0.1);
    object-fit: cover;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.profile-pic:hover {
    transform: scale(1.05);
    box-shadow:
        0 0 30px rgba(184, 240, 255, 0.5),
        inset 0 0 30px rgba(184, 240, 255, 0.2);
}

.bio {
    line-height: 1.6;
    color: var(--fg);
    opacity: 0.9;
    flex: 1;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.quick-facts {
    margin: 12px 0 0;
    padding-left: 20px;
    list-style: none;
}

.quick-facts li {
    position: relative;
    margin-bottom: 8px;
    padding-left: 16px;
    color: var(--fg);
    opacity: 0.9;
}

.quick-facts li::before {
    content: "▶";
    position: absolute;
    left: 0;
    color: var(--neon);
    font-size: 0.8em;
    text-shadow: 0 0 8px rgba(184, 240, 255, 0.5);
}

/* Chips */
.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.chip {
    border: 1px solid var(--neon);
    color: var(--neon);
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 0.85rem;
    background: rgba(184, 240, 255, 0.08);
    text-shadow: 0 0 8px rgba(184, 240, 255, 0.25);
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: url('cursors/Click.cur'), auto;
}

.chip:hover {
    background: rgba(184, 240, 255, 0.15);
    text-shadow: 0 0 12px rgba(184, 240, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(184, 240, 255, 0.2);
}

.chip.active {
    background: rgba(184, 240, 255, 0.2);
    text-shadow: 0 0 16px rgba(184, 240, 255, 0.6);
    border-color: var(--neon-2);
}

/* Synopsis */
.synopsis-container {
    margin: 16px 0 20px;
    display: none;
}

.synopsis-container.show { display: block; }

.synopsis-content {
    background: rgba(15, 12, 24, 0.8);
    border: 1px dashed var(--neon);
    border-radius: 8px;
    padding: 16px;
    color: var(--fg);
    font-size: 0.9rem;
    line-height: 1.5;
    opacity: 0.9;
    transition: all 0.3s ease;
    min-height: 60px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.synopsis-content.show {
    opacity: 1;
    border-color: var(--neon-2);
    box-shadow: 0 0 20px rgba(184, 240, 255, 0.1);
}

.synopsis-text { flex: 1; }

/* GitHub Button */
.github-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(184, 240, 255, 0.15), rgba(15, 12, 24, 0.8));
    border: 1px solid var(--neon);
    border-radius: 6px;
    padding: 8px 16px;
    color: var(--neon);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: bold;
    transition: all 0.3s ease;
    align-self: flex-start;
    text-shadow: 0 0 8px rgba(184, 240, 255, 0.3);
}

.github-button:hover {
    background: linear-gradient(135deg, rgba(184, 240, 255, 0.25), rgba(15, 12, 24, 0.9));
    text-shadow: 0 0 12px rgba(184, 240, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(184, 240, 255, 0.2);
}

.github-icon {
    font-size: 1rem;
    filter: drop-shadow(0 0 4px rgba(184, 240, 255, 0.5));
}

/* ==========================================================================
   Blog / RSS Section
   ========================================================================== */

.blog-section { margin-bottom: 20px; }

.rss-feed {
    background: rgba(15, 12, 24, 0.8);
    border: 1px dashed var(--neon);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 12px;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rss-loading {
    color: var(--muted);
    font-size: 0.9rem;
    text-align: center;
    opacity: 0.7;
}

.rss-post {
    border-bottom: 1px solid rgba(184, 240, 255, 0.2);
    padding-bottom: 8px;
    margin-bottom: 8px;
}

.rss-post:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.rss-post-title {
    color: var(--neon);
    font-size: 0.9rem;
    font-weight: bold;
    text-decoration: none;
    display: block;
    margin-bottom: 4px;
    transition: all 0.3s ease;
}

.rss-post-title:hover {
    color: var(--neon-2);
    text-shadow: 0 0 8px rgba(184, 240, 255, 0.3);
}

.rss-post-date {
    color: var(--muted);
    font-size: 0.8rem;
    opacity: 0.8;
}

.rss-post-excerpt {
    color: var(--fg);
    font-size: 0.85rem;
    line-height: 1.4;
    margin-top: 4px;
    opacity: 0.9;
}

.rss-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: linear-gradient(135deg, rgba(184, 240, 255, 0.15), rgba(15, 12, 24, 0.8));
    border: 1px solid var(--neon);
    border-radius: 6px;
    padding: 6px 10px;
    color: var(--neon);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: bold;
    transition: all 0.3s ease;
    text-shadow: 0 0 8px rgba(184, 240, 255, 0.3);
}

.rss-link:hover {
    background: linear-gradient(135deg, rgba(184, 240, 255, 0.25), rgba(15, 12, 24, 0.9));
    text-shadow: 0 0 12px rgba(184, 240, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(184, 240, 255, 0.2);
}

.rss-icon {
    font-size: 0.9rem;
    filter: drop-shadow(0 0 4px rgba(184, 240, 255, 0.5));
}

/* ==========================================================================
   Blog Search
   ========================================================================== */
.blog-search { margin-bottom: 12px; }
.search-input {
    width: 100%;
    padding: 10px 12px;
    border-radius: 6px;
    border: 1px solid #30363d;
    background: #0b0f14;
    color: #e6edf3;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    box-sizing: border-box;
}
.search-results {
    background: rgba(15, 12, 24, 0.8);
    border: 1px dashed var(--neon);
    border-radius: 8px;
    padding: 12px;
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.search-empty {
    color: var(--muted);
    font-size: 0.9rem;
    text-align: center;
    opacity: 0.8;
}
.search-hit {
    border-bottom: 1px solid rgba(184, 240, 255, 0.2);
    padding-bottom: 8px;
    margin-bottom: 8px;
}
.search-hit:last-child {
    border-bottom: none;
    margin-bottom: 0;
}
.search-hit-title {
    color: var(--neon);
    font-size: 0.9rem;
    font-weight: bold;
    text-decoration: none;
    display: block;
    margin-bottom: 4px;
    transition: all 0.3s ease;
}
.search-hit-title:hover {
    color: var(--neon-2);
    text-shadow: 0 0 8px rgba(184, 240, 255, 0.3);
}
.search-hit-date { color: var(--muted); font-size: 0.8rem; opacity: 0.8; }
.search-hit-excerpt { color: var(--fg); font-size: 0.85rem; line-height: 1.4; margin-top: 4px; opacity: 0.9; }

/* Details Grid */
.details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 12px;
}

.kv {
    border: 1px dashed #ffffff;
    border-radius: 8px;
    padding: 10px 12px;
    color: var(--fg);
    font-size: 0.9rem;
}

.kv .k {
    color: var(--muted);
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.kv .v {
    font-weight: bold;
    margin-top: 4px;
    display: block;
}

/* ==========================================================================
   Animations
   ========================================================================== */

@keyframes neon-flicker {
    0%   { opacity: 1; filter: brightness(1); }
    2%   { opacity: 0.3; filter: brightness(0.8); }
    3%   { opacity: 0.9; filter: brightness(1.1); }
    5%   { opacity: 0.4; filter: brightness(0.9); }
    6%   { opacity: 1; filter: brightness(1); }
    8%   { opacity: 0.6; filter: brightness(0.7); }
    9%   { opacity: 1; filter: brightness(1); }
    12%  { opacity: 0.2; filter: brightness(0.6); }
    13%  { opacity: 1; filter: brightness(1); }
    25%  { opacity: 1; filter: brightness(1); }
    28%  { opacity: 0.7; filter: brightness(0.8); }
    29%  { opacity: 1; filter: brightness(1); }
    35%  { opacity: 1; filter: brightness(1); }
    38%  { opacity: 0.4; filter: brightness(0.9); }
    39%  { opacity: 1; filter: brightness(1); }
    45%  { opacity: 1; filter: brightness(1); }
    48%  { opacity: 0.8; filter: brightness(1.2); }
    49%  { opacity: 1; filter: brightness(1); }
    100% { opacity: 1; filter: brightness(1); }
}

@keyframes neon-jitter {
    0%   { transform: translate(0, 0); }
    15%  { transform: translate(1px, -0.5px); }
    30%  { transform: translate(-1px, 0.8px); }
    45%  { transform: translate(0.7px, -0.3px); }
    60%  { transform: translate(-0.8px, 0.6px); }
    75%  { transform: translate(0.5px, -0.2px); }
    90%  { transform: translate(-0.3px, 0.4px); }
    100% { transform: translate(0, 0); }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

/* Disable custom cursors and hover transforms on coarse pointers (touch) */
@media (pointer: coarse) {
    body,
    .side-links a,
    .chip {
        cursor: auto;
    }
    .chip:hover,
    .github-button:hover,
    .rss-link:hover,
    .rss-post-title:hover {
        transform: none;
        box-shadow: none;
        text-shadow: none;
    }
}

@media (max-width: 1200px) {
    .content-shell {
        grid-template-columns: 1fr;
        grid-template-areas:
            "title"
            "primary"
            "side"
            "blog";
    }
}

@media (max-width: 900px) {
    .content-shell {
        grid-template-columns: 1fr;
        transform: none;
    }
}

@media (max-width: 860px) {
    .content-shell {
        grid-template-columns: 1fr;
        grid-template-areas:
            "title"
            "primary"
            "blog"
            "side";
        width: 100%;
    }
    .content-shell > * {
        grid-column: 1 / -1;
        min-width: 0;
    }
    .details-grid { grid-template-columns: 1fr; }

    .about-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .profile-pic { margin-bottom: 10px; }
}

/* Small phones */
@media (max-width: 600px) {
    .main-content {
        padding: 16px;
    }
    .primary-panel,
    .blog-panel,
    .sidebar-section {
        padding: 12px;
    }
    .neon-title h1.broken-neon-tilted {
        transform: rotate(12deg) translateX(-14px) translateY(6px);
    }
    .chip {
        padding: 7px 10px;
        font-size: 0.8rem;
    }
    .rss-link {
        padding: 6px 8px;
        font-size: 0.78rem;
    }
}

/* Discord presence dot */
.status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 6px;
    background: #9aa0a6; /* offline default */
    vertical-align: middle;
}
.status-dot.online { background: #2ecc71; }
.status-dot.idle { background: #f1c40f; }
.status-dot.dnd { background: #e74c3c; }
.status-dot.offline { background: #9aa0a6; }

/* ==========================================================================
   Guestbook / Comments
   ========================================================================== */
.guestbook {
    background: rgba(15, 12, 24, 0.8);
    border: 1px dashed var(--neon);
    border-radius: 8px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.gb-form {
    width: 100%;
}
.gb-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.gb-empty {
    color: var(--muted);
    font-size: 0.9rem;
    text-align: center;
    opacity: 0.8;
}
.gb-item {
    border: 1px solid rgba(184, 240, 255, 0.2);
    border-radius: 8px;
    padding: 10px 12px;
    background: rgba(15, 12, 24, 0.6);
}
.gb-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
}
.gb-name {
    color: var(--neon);
    font-weight: bold;
}
.gb-date {
    color: var(--muted);
    font-size: 0.78rem;
}
.gb-msg {
    white-space: pre-wrap;
    word-break: break-word;
    color: var(--fg);
    opacity: 0.95;
}
.gb-form .gb-row {
    margin-top: 6px;
    width: 100%;
    display: block;
}
.gb-form input[type="text"],
.gb-form textarea {
    width: 100%;
    padding: 10px 12px;
    border-radius: 6px;
    border: 1px solid #30363d;
    background: #0b0f14;
    color: #e6edf3;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    box-sizing: border-box;
    max-width: 100%;
}
.gb-form button {
    padding: 10px 14px;
    border-radius: 6px;
    border: 1px solid #238636;
    background: #238636;
    color: #fff;
    cursor: pointer;
}
.gb-form button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}
.gb-hint {
    color: var(--muted);
    font-size: 0.75rem;
    margin-top: 6px;
}

/* ==========================================================================
   Friends Page
   ========================================================================== */
.friends-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.friend-item {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.friend-item:hover {
    transform: translateY(-2px);
}

.friend-item a {
    display: block;
    border: 1px solid rgba(159, 223, 255, 0.3);
    border-radius: 4px;
    padding: 4px;
    background: rgba(15, 12, 24, 0.6);
    transition: all 0.2s ease;
    text-decoration: none;
}

.friend-item a:hover {
    border-color: var(--neon);
    box-shadow: 0 0 12px rgba(159, 223, 255, 0.3);
    background: rgba(15, 12, 24, 0.8);
}

.friend-item img {
    display: block;
    width: 88px;
    height: 32px;
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.friend-fallback {
    width: 88px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-size: 0.75rem;
    text-align: center;
    padding: 4px;
    word-break: break-word;
    overflow: hidden;
}

.friends-loading,
.friends-empty,
.friends-error {
    color: var(--muted);
    font-size: 0.9rem;
    text-align: center;
    padding: 24px;
    opacity: 0.8;
}

.friends-error {
    color: #e74c3c;
}

/* Responsive adjustments for friends grid */
@media (max-width: 768px) {
    .friends-grid {
        grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
        gap: 12px;
    }
}

/* ==========================================================================
   CRT Effect Styles
   ========================================================================== */

.flex-container {
    display: flex;
    flex-wrap: wrap;
}

/* Firefox not working :( */
/* Chrome and friends :O*/
body::-webkit-scrollbar {
    width: 24px;               /* width of the entire scrollbar */
}

body::-webkit-scrollbar-track {
    background: #c0c0c0;        /* color of the tracking area */
}

body::-webkit-scrollbar-thumb {
    background-color: #bbbbbb;    /* color of the scroll thumb */    
    border: 3px solid #444444;  /* creates padding around scroll thumb */
}

.crt::before {
    content: " ";
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    z-index: 3;
    background-size: 100% 2px, 3px 100%;
    pointer-events: none;
}

@keyframes flicker {
    0% {
        opacity: 0.27861;
    }
    5% {
        opacity: 0.34769;
    }
    10% {
        opacity: 0.23604;
    }
    15% {
        opacity: 0.90626;
    }
    20% {
        opacity: 0.18128;
    }
    25% {
        opacity: 0.83891;
    }
    30% {
        opacity: 0.65583;
    }
    35% {
        opacity: 0.67807;
    }
    40% {
        opacity: 0.26559;
    }
    45% {
        opacity: 0.84693;
    }
    50% {
        opacity: 0.96019;
    }
    55% {
        opacity: 0.08594;
    }
    60% {
        opacity: 0.20313;
    }
    65% {
        opacity: 0.71988;
    }
    70% {
        opacity: 0.53455;
    }
    75% {
        opacity: 0.37288;
    }
    80% {
        opacity: 0.71428;
    }
    85% {
        opacity: 0.70419;
    }
    90% {
        opacity: 0.7003;
    }
    95% {
        opacity: 0.36108;
    }
    100% {
        opacity: 0.24387;
    }
}

.crt::after {
    content: " ";
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: rgba(18, 16, 16, 0.1);
    opacity: 0;
    z-index: 2;
    pointer-events: none;
    animation: flicker 0.15s infinite;
}

@keyframes textShadow {
    0% {
        text-shadow: 0.4389924193300864px 0 1px rgba(0,30,255,0.5), -0.4389924193300864px 0 1px rgba(255,0,80,0.3), 0 0 3px;
    }
    5% {
        text-shadow: 2.7928974010788217px 0 1px rgba(0,30,255,0.5), -2.7928974010788217px 0 1px rgba(255,0,80,0.3), 0 0 3px;
    }
    10% {
        text-shadow: 0.02956275843481219px 0 1px rgba(0,30,255,0.5), -0.02956275843481219px 0 1px rgba(255,0,80,0.3), 0 0 3px;
    }
    15% {
        text-shadow: 0.40218538552878136px 0 1px rgba(0,30,255,0.5), -0.40218538552878136px 0 1px rgba(255,0,80,0.3), 0 0 3px;
    }
    20% {
        text-shadow: 3.4794037899852017px 0 1px rgba(0,30,255,0.5), -3.4794037899852017px 0 1px rgba(255,0,80,0.3), 0 0 3px;
    }
    25% {
        text-shadow: 1.6125630401149584px 0 1px rgba(0,30,255,0.5), -1.6125630401149584px 0 1px rgba(255,0,80,0.3), 0 0 3px;
    }
    30% {
        text-shadow: 0.7015590085143956px 0 1px rgba(0,30,255,0.5), -0.7015590085143956px 0 1px rgba(255,0,80,0.3), 0 0 3px;
    }
    35% {
        text-shadow: 3.896914047650351px 0 1px rgba(0,30,255,0.5), -3.896914047650351px 0 1px rgba(255,0,80,0.3), 0 0 3px;
    }
    40% {
        text-shadow: 3.870905614848819px 0 1px rgba(0,30,255,0.5), -3.870905614848819px 0 1px rgba(255,0,80,0.3), 0 0 3px;
    }
    45% {
        text-shadow: 2.231056963361899px 0 1px rgba(0,30,255,0.5), -2.231056963361899px 0 1px rgba(255,0,80,0.3), 0 0 3px;
    }
    50% {
        text-shadow: 0.08084290417898504px 0 1px rgba(0,30,255,0.5), -0.08084290417898504px 0 1px rgba(255,0,80,0.3), 0 0 3px;
    }
    55% {
        text-shadow: 2.3758461067427543px 0 1px rgba(0,30,255,0.5), -2.3758461067427543px 0 1px rgba(255,0,80,0.3), 0 0 3px;
    }
    60% {
        text-shadow: 2.202193051050636px 0 1px rgba(0,30,255,0.5), -2.202193051050636px 0 1px rgba(255,0,80,0.3), 0 0 3px;
    }
    65% {
        text-shadow: 2.8638780614874975px 0 1px rgba(0,30,255,0.5), -2.8638780614874975px 0 1px rgba(255,0,80,0.3), 0 0 3px;
    }
    70% {
        text-shadow: 0.48874025155497314px 0 1px rgba(0,30,255,0.5), -0.48874025155497314px 0 1px rgba(255,0,80,0.3), 0 0 3px;
    }
    75% {
        text-shadow: 1.8948491305757957px 0 1px rgba(0,30,255,0.5), -1.8948491305757957px 0 1px rgba(255,0,80,0.3), 0 0 3px;
    }
    80% {
        text-shadow: 0.0833037308038857px 0 1px rgba(0,30,255,0.5), -0.0833037308038857px 0 1px rgba(255,0,80,0.3), 0 0 3px;
    }
    85% {
        text-shadow: 0.09769827255241735px 0 1px rgba(0,30,255,0.5), -0.09769827255241735px 0 1px rgba(255,0,80,0.3), 0 0 3px;
    }
    90% {
        text-shadow: 3.443339761481782px 0 1px rgba(0,30,255,0.5), -3.443339761481782px 0 1px rgba(255,0,80,0.3), 0 0 3px;
    }
    95% {
        text-shadow: 2.1841838852799786px 0 1px rgba(0,30,255,0.5), -2.1841838852799786px 0 1px rgba(255,0,80,0.3), 0 0 3px;
    }
    100% {
        text-shadow: 2.6208764473832513px 0 1px rgba(0,30,255,0.5), -2.6208764473832513px 0 1px rgba(255,0,80,0.3), 0 0 3px;
    }
}

.crt {
    animation: textShadow 1.6s infinite;
}