@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@400;500;600&display=swap');

:root {
    --bg-main: #0A0A0A;
    --text-main: #FFFFFF;
    --text-muted: #888888;
    --accent-red: #E8001D;
    --line-color: rgba(255, 255, 255, 0.15);
    --font-display: 'Bebas Neue', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Noise overlay */
body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.03;
    background-image: 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.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Global Details */
::selection {
    background-color: var(--accent-red);
    color: var(--text-main);
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-main);
    border-left: 1px solid var(--line-color);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-red);
}

*:focus-visible {
    outline: 2px solid var(--accent-red);
    outline-offset: 2px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 0.9;
    font-weight: 400;
}

h1 {
    font-size: clamp(5rem, 12vw, 10rem);
    margin-bottom: 1rem;
}

h2 {
    font-size: clamp(3rem, 8vw, 6rem);
    margin-bottom: 2rem;
}

h3 {
    font-size: clamp(2rem, 5vw, 4rem);
}

p {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 60ch;
    margin-bottom: 1.5rem;
}

a {
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.3s ease;
}

/* Navigation */
.retro-nav-wrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--bg-main);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease;
}

.retro-nav-wrap.scrolled {
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.retro-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    max-width: 1800px;
    margin: 0 auto;
}

.retro-logo {
    font-family: var(--font-display);
    font-size: 2rem;
    letter-spacing: 0.05em;
    color: var(--text-main);
    text-transform: uppercase;
}

.retro-menu {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.retro-menu a {
    font-family: var(--font-body);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    position: relative;
    padding-bottom: 0.5rem;
    font-weight: 500;
}

.retro-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--accent-red);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s cubic-bezier(0.19, 1, 0.22, 1);
}

.retro-menu a:hover::after,
.retro-menu a.is-active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.retro-menu a.is-active {
    color: var(--text-main);
}

.retro-menu a.is-active::after {
    background-color: var(--accent-red);
}

.retro-hamburger {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 2rem;
    cursor: pointer;
    z-index: 1001;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--bg-main);
    z-index: 1005;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu-overlay .retro-menu {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: center;
}

.mobile-menu-overlay .retro-menu a {
    font-size: 2rem;
}

.mobile-menu-close {
    position: absolute;
    top: 1.5rem;
    right: 5%;
    background: none;
    border: none;
    color: var(--accent-red);
    font-size: 2.5rem;
    cursor: pointer;
}

/* Dropdown */
.retro-dropdown {
    position: relative;
}

.retro-dropdown-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1001;
    background: var(--bg-main);
    border: 1px solid var(--line-color);
    padding: 1.5rem;
    list-style: none;
    min-width: 250px;
}

.retro-dropdown:hover .retro-dropdown-list {
    display: block;
}

.retro-dropdown-list li {
    margin-bottom: 1rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 5%;
    position: relative;
    z-index: 0;
    border-bottom: 1px solid var(--line-color);
    background: none; /* override old styles */
}

/* Matrix rain canvas */
#matrix-rain {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.18;
}

.hero-content {
    max-width: 1800px;
    margin: 0 auto;
    width: 100%;
    padding-top: 8rem;
    position: relative;
    z-index: 1;
}

.highlight {
    color: var(--accent-red);
    display: block;
}

.btn {
    display: inline-block;
    padding: 1.25rem 3rem;
    border: 1px solid var(--accent-red);
    color: var(--text-main);
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
    background: transparent;
    margin-top: 3rem;
}

.btn:hover {
    background: var(--accent-red);
    color: var(--text-main);
}

/* Sections */
.section {
    padding: 10rem 5%;
    border-bottom: 1px solid var(--line-color);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Timeline / Cards */
.timeline-head {
    margin-bottom: 6rem;
}

.master-timeline {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

.timeline-entry {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 4rem;
    align-items: start;
    border-top: 1px solid var(--line-color);
    padding: 4rem 0;
    transition: border-color 0.3s ease;
}

.timeline-entry:hover {
    border-top-color: var(--accent-red);
}

.timeline-period {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--accent-red);
    margin: 0;
}

.timeline-card {
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

.entry-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.tech-icons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.tech-icon {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border: 1px solid var(--line-color);
    padding: 0.5rem 1rem;
    border-radius: 0;
    color: var(--text-muted);
}

.entry-impact {
    font-size: 1.25rem;
    color: var(--text-main);
    max-width: 80ch;
}

/* Hide retro/cyberpunk decorative elements */
.type-badge, .timeline-node, .crt-overlay, .retro-status, .retro-signal, .timeline-filters, .hero::after, .timeline::before, .timeline-item::before, .master-timeline::before, .timeline-card::after, .project-fx-mysteroid::after, .project-fx-whispered::after, .project-fx-gtr::after, .project-fx-raccoon::after {
    display: none !important;
}

/* Footer */
.retro-footer {
    padding: 4rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--accent-red);
    font-family: var(--font-body);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    background: var(--bg-main);
}

.retro-socials {
    display: flex;
    gap: 3rem;
}

.retro-socials a {
    color: var(--text-main);
    border: none;
    background: none;
    width: auto;
    height: auto;
    display: inline-block;
}

.retro-socials a:hover {
    color: var(--accent-red);
    transform: none;
    box-shadow: none;
    filter: none;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.19, 1, 0.22, 1), transform 1s cubic-bezier(0.19, 1, 0.22, 1);
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

/* About Page */
.about-page {
    background: var(--bg-main);
}

/* About Hero */
.about-hero {
    padding: 18rem 5% 8rem;
    max-width: 1400px;
    margin: 0 auto;
    border-bottom: 1px solid var(--line-color);
}

.about-hero-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent-red);
    margin-bottom: 2rem;
    font-weight: 600;
}

.about-hero h1 {
    font-size: clamp(6rem, 14vw, 12rem);
    line-height: 0.85;
    margin-bottom: 3rem;
}

.about-hero-accent {
    color: var(--accent-red);
}

.about-hero-sub {
    font-family: var(--font-body);
    font-size: 1.125rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    max-width: none;
    margin: 0;
}

/* About Sections */
.about-section {
    padding: 6rem 5%;
    border-bottom: 1px solid var(--line-color);
}

.about-section.border-top {
    border-top: none;
}

.about-section-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 6rem;
    align-items: start;
}

.about-col-label {
    padding-top: 0.4rem;
}

.about-label-text {
    font-family: var(--font-body);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-muted);
    font-weight: 600;
}

.about-col-content {
    /* content column */
}

/* Bio */
.about-bio-text {
    font-size: 1.375rem;
    color: var(--text-main);
    line-height: 1.7;
    max-width: 70ch;
    margin-bottom: 2rem;
}

/* Skills Grid */
.about-skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.about-skill-card {
    border: 1px solid var(--line-color);
    padding: 3rem 2.5rem;
    transition: border-color 0.3s ease;
}

.about-skill-card:hover {
    border-color: var(--accent-red);
}

.about-skill-cat {
    display: block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-red);
    font-weight: 600;
    margin-bottom: 2rem;
}

.about-skill-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.about-skill-list li {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-muted);
    padding-left: 1.25rem;
    position: relative;
    transition: color 0.2s ease;
}

.about-skill-list li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--accent-red);
}

.about-skill-card:hover .about-skill-list li {
    color: var(--text-main);
}

/* Timeline */
.about-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.about-timeline-entry {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 4rem;
    align-items: start;
    border-top: 1px solid var(--line-color);
    padding: 4rem 0;
    transition: border-color 0.3s ease;
}

.about-timeline-entry:hover {
    border-top-color: var(--accent-red);
}

.about-timeline-period {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--accent-red);
    margin: 0;
    line-height: 1;
}

.about-timeline-body {
    /* content */
}

.about-timeline-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: var(--text-main);
    margin-bottom: 1.5rem;
}

.about-timeline-desc {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 60ch;
    margin-bottom: 2rem;
}

/* CTA row */
.about-cta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

.about-cta-heading {
    font-size: clamp(3.5rem, 7vw, 7rem);
    line-height: 0.9;
    margin: 0;
}

/* Responsive — About */
@media (max-width: 1024px) {
    .about-section-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .about-skills-grid {
        grid-template-columns: 1fr;
    }
    .about-timeline-entry {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 3rem 0;
    }
    .about-cta-row {
        flex-direction: column;
        align-items: flex-start;
    }
    .about-hero {
        padding: 14rem 5% 6rem;
    }
}

@media (max-width: 768px) {
    .about-skills-grid {
        grid-template-columns: 1fr;
    }
}

/* Projects Page Specifics */
.projects-page {
    background: var(--bg-main);
}

.projects-hero {
    padding: 12rem 5% 6rem;
    max-width: 1400px;
    margin: 0 auto;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5% 10rem;
}

.project-card {
    position: relative;
    background: var(--bg-main);
    border: 1px solid var(--line-color);
    padding: 3rem;
    overflow: hidden;
    transition: border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 400px;
}

.project-card.full-width {
    grid-column: span 12;
}

.project-card.half-width {
    grid-column: span 6;
}

.project-card.two-thirds {
    grid-column: span 8;
}

.project-card.one-third {
    grid-column: span 4;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--accent-red);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.project-card:hover::before {
    opacity: 0.15;
}

.project-card:hover {
    border-color: var(--accent-red);
}

.project-card-content {
    position: relative;
    z-index: 2;
    transition: transform 0.3s cubic-bezier(0.19, 1, 0.22, 1);
}

.project-card:hover .project-card-content {
    transform: translateY(-10px);
}

.project-card-title {
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--text-main);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.project-card-category {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--accent-red);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 600;
}

.project-card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    z-index: 0;
}

.projects-filters {
    display: flex;
    gap: 2rem;
    margin-bottom: 4rem;
}

.filter-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    padding-bottom: 0.5rem;
    position: relative;
    transition: color 0.3s ease;
}

.filter-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--accent-red);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s cubic-bezier(0.19, 1, 0.22, 1);
}

.filter-btn:hover, .filter-btn.is-active {
    color: var(--text-main);
}

.filter-btn:hover::after, .filter-btn.is-active::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Contact Page Specifics */
.contact-page {
    background: var(--bg-main);
}

.contact-hero {
    padding: 12rem 5% 6rem;
    max-width: 1400px;
    margin: 0 auto;
}

.contact-form-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5% 10rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.form-group {
    position: relative;
}

.form-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 1rem 0;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 1.125rem;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-bottom-color: var(--accent-red);
}

.form-label {
    position: absolute;
    top: 1rem;
    left: 0;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 1.125rem;
    transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
    pointer-events: none;
}

.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label {
    top: -1.5rem;
    font-size: 0.875rem;
    color: var(--accent-red);
}

textarea.form-input {
    resize: vertical;
    min-height: 100px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info-link {
    font-family: var(--font-body);
    font-size: 1.5rem;
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info-link:hover {
    color: var(--accent-red);
}

/* 404 Page */
.not-found-page {
    background: var(--bg-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 5%;
}

.not-found-title {
    font-family: var(--font-display);
    font-size: clamp(8rem, 20vw, 15rem);
    color: var(--accent-red);
    line-height: 0.8;
    margin-bottom: 2rem;
}

.not-found-text {
    font-family: var(--font-body);
    font-size: 1.5rem;
    color: var(--text-main);
    margin-bottom: 3rem;
}

/* Responsive */
@media (max-width: 1024px) {
    h1 { font-size: clamp(4rem, 10vw, 8rem); }
    h2 { font-size: clamp(2.5rem, 8vw, 5rem); }
    .timeline-entry {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 3rem 0;
    }
    .retro-menu {
        display: none;
    }
    .retro-hamburger {
        display: block;
    }
    .retro-footer {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    .xp-track {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .xp-column {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1rem;
    }
    .project-card.full-width,
    .project-card.half-width,
    .project-card.two-thirds,
    .project-card.one-third {
        grid-column: span 12;
    }
    .contact-form-section {
        grid-template-columns: 1fr;
    }
}

/* Custom Cursor System */
@media (pointer: fine) {
    body.has-custom-cursor, 
    body.has-custom-cursor a, 
    body.has-custom-cursor button, 
    body.has-custom-cursor .btn, 
    body.has-custom-cursor .retro-hamburger, 
    body.has-custom-cursor .mobile-menu-close, 
    body.has-custom-cursor .skill-node, 
    body.has-custom-cursor .filter-btn {
        cursor: none !important;
    }

    .cursor-dot,
    .cursor-ring,
    .cursor-dev,
    .cursor-branding,
    .cursor-photo,
    .cursor-motion,
    .cursor-experimental {
        position: fixed;
        top: 0;
        left: 0;
        pointer-events: none;
        z-index: 99999;
        transform: translate(-50%, -50%);
        opacity: 0;
    }

    .cursor-dot {
        width: 8px;
        height: 8px;
        background-color: #fff;
        border-radius: 50%;
        opacity: 1; /* Default visible */
        mix-blend-mode: difference;
    }

    .cursor-ring {
        width: 40px;
        height: 40px;
        border: 2px solid var(--accent-red);
        border-radius: 50%;
        opacity: 1; /* Default visible */
        transition: width 0.3s ease, height 0.3s ease, background-color 0.3s ease, border 0.3s ease;
    }

    /* Hover state for links/buttons */
    .cursor-ring.is-hovering {
        width: 60px;
        height: 60px;
        background-color: rgba(232, 0, 29, 0.1);
    }
    
    /* Idle state for default cursor */
    .cursor-ring.is-idle {
        border: 1px dashed var(--accent-red);
        background-color: rgba(232, 0, 29, 0.05);
    }
    
    /* Development Cursor */
    .cursor-dev {
        width: 20px;
        height: 20px;
        background-color: var(--accent-red);
        border-radius: 0;
    }

    /* Branding Cursor (SVG Stamp) */
    .cursor-branding {
        width: 60px;
        height: 60px;
        background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="45" fill="none" stroke="%23E8001D" stroke-width="5" stroke-dasharray="10 5"/><text x="50" y="55" font-family="sans-serif" font-size="20" fill="%23E8001D" text-anchor="middle">BRAND</text></svg>');
        background-size: contain;
    }

    /* Photography Cursor (Viewfinder) */
    .cursor-photo {
        width: 80px;
        height: 80px;
        background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M 10,30 L 10,10 L 30,10 M 70,10 L 90,10 L 90,30 M 90,70 L 90,90 L 70,90 M 30,90 L 10,90 L 10,70" fill="none" stroke="%23E8001D" stroke-width="4"/></svg>');
        background-size: contain;
    }

    /* Motion Cursor (Vertical Line) */
    .cursor-motion {
        width: 2px;
        height: 80px;
        background-color: var(--accent-red);
        transition: width 0.2s ease;
    }
    
    .cursor-motion.is-dragging {
        width: 40px;
        background-color: rgba(232, 0, 29, 0.5);
    }

    /* Experimental Cursor (Glitch) */
    .cursor-experimental {
        width: 40px;
        height: 40px;
        background-color: var(--accent-red);
        mix-blend-mode: difference;
    }
    
    .cursor-experimental.is-active {
        animation: cursorGlitch 0.2s infinite;
    }

    @keyframes cursorGlitch {
        0% { transform: translate(-50%, -50%) skewX(0deg); }
        20% { transform: translate(-52%, -48%) skewX(10deg); }
        40% { transform: translate(-48%, -52%) skewX(-10deg); }
        60% { transform: translate(-50%, -50%) skewX(5deg); }
        80% { transform: translate(-49%, -51%) skewX(-5deg); }
        100% { transform: translate(-50%, -50%) skewX(0deg); }
    }
}

@media (prefers-reduced-motion: reduce) {
    #matrix-rain {
        display: none;
    }
}
