@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');
@import './mouseEffects.css';
@import './footer.css';

@font-face {
    font-family: 'Minecraft';
    src: url(../fonts/Minecraft.ttf);
    font-weight: normal;
    font-style: normal;
}

:root {
    --color-glitch-red: #ff0000;
    --color-glitch-yellow: #ffff00;
    --color-glitch-purple: #8000ff;
    --color-glitch-lime: #00ff00;



    --color-primary-cyan: #00ffff;
    --color-primary-magenta: #ff0080;
    --color-primary-green: #00ff41;
    --color-secondary-blue: #0a0a23;
    --color-secondary-purple: #1a0033;
    --color-secondary-charcoal: #0d0d0d;
    --color-accent-white: #f0f0f0;

    /* Variables de UI */
    --primary-glow-color: rgba(255, 0, 128, 0.6);
    --terminal-border-outer: var(--color-primary-magenta);
    --terminal-border-inner: #5d8bc4;
    --text-color-light: var(--color-accent-white);
    --text-color-darker: rgba(240, 240, 240, 0.8);
    --terminal-bg: #000000;
    --font-main: 'Press Start 2P', monospace;
    --font-accent: 'Minecraft', monospace;
}

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

body {
    background-color: var(--color-secondary-charcoal);
    min-height: 100vh;
    font-family: var(--font-main);
    color: var(--text-color-light);
    overflow-x: hidden;
    position: relative;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ===========================================
   TU CÓDIGO DE FONDO (NO TOCADO)
   =========================================== */

#cyberpunk-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    background: linear-gradient(135deg, 
        var(--color-secondary-charcoal) 0%, 
        var(--color-secondary-blue) 50%, 
        var(--color-secondary-purple) 100%);
}

.perspective-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(90deg, 
            transparent 0%, 
            rgba(255, 0, 128, 0.3) 50%, 
            transparent 100%),
        repeating-linear-gradient(90deg,
            transparent 0px,
            transparent 80px,
            rgba(0, 255, 255, 0.2) 81px,
            rgba(0, 255, 255, 0.2) 82px
        ),
        repeating-linear-gradient(0deg,
            transparent 0px,
            transparent 40px,
            rgba(255, 0, 128, 0.15) 41px,
            rgba(255, 0, 128, 0.15) 42px
        );
    opacity: 0.6;
    animation: grid-pulse 4s ease-in-out infinite alternate;
    transition: transform 0.1s ease-out;
}

@keyframes grid-pulse {
    0% { opacity: 0.4; }
    100% { opacity: 0.8; }
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    transition: transform 0.1s ease-out;
}

.particles::before,
.particles::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(0, 255, 255, 0.8);
    border-radius: 50%;
    box-shadow: 
        10vw 20vh 0 0 rgba(0, 255, 255, 0.6),
        80vw 30vh 0 0 rgba(255, 0, 128, 0.7),
        30vw 90vh 0 0 rgba(255, 255, 255, 0.5),
        90vw 70vh 0 0 rgba(0, 255, 255, 0.4),
        50vw 50vh 0 0 rgba(255, 0, 128, 0.6),
        5vw 10vh 0 0 rgba(255, 255, 255, 0.3),
        60vw 85vh 0 0 rgba(0, 255, 255, 0.5),
        40vw 5vh 0 0 rgba(255, 0, 128, 0.4);
    animation: float-particles 20s linear infinite;
}

.particles::after {
    animation-delay: -10s;
    box-shadow: 
        70vw 15vh 0 0 rgba(255, 0, 128, 0.5),
        20vw 80vh 0 0 rgba(0, 255, 255, 0.6),
        85vw 40vh 0 0 rgba(255, 255, 255, 0.4),
        15vw 60vh 0 0 rgba(255, 0, 128, 0.7);
}

@keyframes float-particles {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}

.cyber-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 0, 128, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 60% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    animation: cyber-glow 6s ease-in-out infinite;
    z-index: 1; /* Asegura que esté sobre la grid */
}

@keyframes cyber-glow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.7; }
}


/* ===========================================
   CAPA MEDIA
   =========================================== */

/* --- Formas Geométricas --- */
.geometric-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    transition: transform 0.1s ease-out;
}

.shape {
    position: absolute;
    opacity: 0;
    animation: drift-and-fade 25s ease-in-out infinite;
}

.shape-1 {
    width: 25vw;
    height: 25vw;
    background: rgba(0, 255, 255, 0.05);
    bottom: 5%;
    left: 10%;
    animation-duration: 30s;
    animation-delay: -5s;
}

.shape-2 {
    width: 0;
    height: 0;
    border-left: 15vw solid transparent;
    border-right: 15vw solid transparent;
    border-bottom: 25vw solid rgba(255, 0, 128, 0.07);
    top: 10%;
    right: 15%;
    animation-duration: 25s;
    animation-delay: 0s;
}

.shape-3 {
    width: 30vw;
    height: 2px;
    background: var(--color-primary-cyan);
    box-shadow: 0 0 15px var(--color-primary-cyan);
    top: 50%;
    left: 5%;
    animation-duration: 20s;
    animation-delay: -15s;
}

@keyframes drift-and-fade {
    0% {
        transform: translateX(0) translateY(0) rotate(0deg);
        opacity: 0;
    }
    25% {
        opacity: 0.1;
    }
    75% {
        opacity: 0.1;
    }
    100% {
        transform: translateX(10vw) translateY(-15vh) rotate(180deg);
        opacity: 0;
    }
}


#rain-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
    opacity: 0.12;
    font-family: sans-serif;
}


/* --- Líneas de Circuito --- */
.circuit-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-image: repeating-conic-gradient(from 45deg, 
        rgba(0, 255, 255, 0.1) 0deg 5deg, 
        transparent 5deg 90deg);
    opacity: 0.2;
    animation: spin-circuits 60s linear infinite;
}

@keyframes spin-circuits {
    to { transform: rotate(360deg); }
}

/* ===========================================
   TU CÓDIGO DE CONTENIDO Y RESTO (NO TOCADO)
   =========================================== */

.main-content-area {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.terminal-window {
    z-index: 20;
    position: relative;
}

.header {
    padding: 1rem 0;
    text-align: center;
    position: relative;
    z-index: 11;
}

@keyframes upAndDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.main-text-container{
    position: relative;
    z-index: 11;
    animation: upAndDown 3s ease-in-out infinite;
    text-align: center;
}

.header-greeting {
    filter: blur(0.8px);
    font-family: 'Press Start 2P', monospace;
    font-size: clamp(1rem, 2.5vw, 2rem);
    font-weight: 300;
    color: var(--color-primary-magenta); 
    margin-bottom: 25px;
    letter-spacing: 2px;
    text-shadow: 0 0 8px var(--primary-glow-color);
}

.main-title {
    font-family: 'Press Start 2P', monospace;
    font-size: clamp(4rem, 10vw, 5.2rem);
    font-weight: 700;
    color: red;
    line-height: 1;
    margin-bottom: 35px;
    text-shadow: 
        0 0 8px rgba(103, 64, 64, 0.8),
        0 0 20px rgba(233, 86, 78, 0.308),
        0 0 15px rgba(233, 86, 78, 0.308);
  
}


.main-subtitle {
    font-family: 'Press Start 2P', monospace;
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    font-weight: 400;
    color: var(--color-accent-white);
    letter-spacing: 1.5px;
    filter: blur(0.7px);
    opacity: 0.9;
    margin-bottom: 1.5em;
}

.terminal-top-bar {
    width: 100%;
    height: 35px;
    background-color: var(--terminal-bg);
    border-bottom: 3px solid var(--terminal-border-inner);
    border-radius: 6px 6px 0 0;
    display: flex;
    align-items: center;
    padding: 0 15px;
    position: relative;
}

.terminal-buttons {
    display: flex;
    gap: 8px;
}

.terminal-btn {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.2);
    transition: transform 0.2s, filter 0.2s;
}

.terminal-btn:hover {
    transform: scale(1.2);
    filter: brightness(1.2);
}

.terminal-btn.close {
    background: linear-gradient(135deg, #ff5f57, #e0443e);
}

.terminal-btn.min {
    background: linear-gradient(135deg, #ffbd2e, #e0a128);
}

.terminal-btn.max {
    background: linear-gradient(135deg, #28ca42, #1da235);
}

.terminal-window-title {
    font-size: 0.65rem;
    color: var(--text-color-darker);
    margin-left: 45px;
    text-transform: uppercase;
}

.terminal-main-content {
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 0 0 6px 6px;
}

.terminal-grid-layout {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 30px;
    width: 100%;
    height: 100%;
}

.terminal-left-section {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: center;
    border-bottom: 1px solid white;
    width: 100%;
}

.terminal-left-section .stats-text{
    margin-left: 60px;
}

.terminal-left-section .avatar-image {
        margin-left: 70px;
}

.avatar-image {
    width: clamp(100px, 15vw, 180px);
    height: clamp(100px, 15vw, 160px);
    margin-bottom: 20px;
    border: 2px solid var(--terminal-border-inner);
    border-radius: 8px;
    object-fit: cover;
    margin-top: 10px;
}

.stats-text {
    font-size: clamp(0.75rem, 1.5vw, 0.9rem);
    line-height: 1.6;
    color: var(--text-color-darker);
    padding: 0 5px;
}

.stats-text p {
    margin: 0;
}

.stats-text:hover{
    color: var(--text-color-light);
    text-shadow: 0 2 15px rgba(255, 255, 255, 0.888);
    font-size: .95rem;
}

.terminal-right-section {
    flex-basis: 65%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
}

.terminal-menu-buttons {
    display: flex;
    flex-direction: column;
    gap: clamp(10px, 2vh, 15px);
    width: 100%;
}

.terminal-button {
    font-family: var(--font-main);
    font-size: clamp(0.8rem, 1.8vw, 1rem);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-color-light);
    background: rgba(20, 20, 20, 0.6);
    border: 2px solid var(--terminal-border-inner);
    border-radius: 5px;
    padding: clamp(10px, 2vh, 25px);
    text-align: center;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: block;
    width: 100%;
    position: relative; /* Muy importante para los efectos */
    overflow: hidden;
}

/* === INICIO DE LOS NUEVOS EFECTOS DE HOVER === */

/* El resplandor que ilumina el fondo */
.terminal-button:hover {
    border-color: var(--color-primary-cyan);
    color: var(--color-primary-cyan);
    box-shadow: 0 0 45px rgba(0, 255, 255, 0.3); /* Gran resplandor cian */
}

/* Creamos los pseudo-elementos para la electricidad. Ocultos por defecto. */
.terminal-button::before,
.terminal-button::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 100%;
    background: var(--color-primary-cyan);
    opacity: 0;
    box-shadow: 0 0 10px var(--color-primary-cyan);
}

/* Al hacer hover, los mostramos y activamos la animación */
.terminal-button:hover::before,
.terminal-button:hover::after {
    opacity: 1;
    animation: electricity-arc 0.4s steps(2, end) infinite;
}

.terminal-button:hover::before {
    top: -50%;
    left: 0;
}

.terminal-button:hover::after {
    top: 50%;
    right: 0;
    animation-delay: -0.2s; /* Desfase para que no vayan a la vez */
}




#floating-code-window .window-header {
    background: var(--color-primary-cyan);
    color: var(--color-secondary-charcoal);
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.7rem;
    padding: 3px 8px;
    text-align: right;
}

#floating-code-window pre {
    padding: 10px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.75rem;
    color: var(--color-accent-white);
    margin: 0;
    line-height: 1.5;
    white-space: pre-wrap;
    word-wrap: break-word;
    transition: opacity 0.5s ease-in-out;
}

/* Clases para el "syntax highlighting" falso */
#code-snippet-content .token-keyword { color: var(--color-primary-magenta); }
#code-snippet-content .token-function { color: var(--color-primary-green); }
#code-snippet-content .token-string { color: var(--color-accent-yellow); }
#code-snippet-content .token-comment { color: #808080; }

@keyframes fade-in-window {
    to {
        opacity: 0.7;
    }
}

.motion-reduced * {
    animation-play-state: paused !important; /* Pausa animaciones CSS */
    transition: none !important; /* Desactiva transiciones CSS */
}

/* Animación que mueve los arcos eléctricos */
@keyframes electricity-arc {
    0% {
        transform: translateY(0);
        clip-path: inset(0 0 100% 0);
    }
    50% {
        transform: translateY(50%);
        clip-path: inset(50% 0 0 0);
    }
    100% {
        transform: translateY(100%);
        clip-path: inset(100% 0 0 0);
    }
}
.terminal-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}


#tutorial-start-button:hover {
    border-color: #00ff9c;
    color: #00ff9c;
    background: radial-gradient(circle at center, rgba(0, 255, 156, 0.1), rgba(20, 20, 20, 0.8));
    transform: scale(1.05) translateY(-2px);
    box-shadow: 
        0 0 20px rgba(0, 255, 156, 0.6),
        0 0 40px rgba(0, 255, 156, 0.3),
        inset 0 0 10px rgba(0, 255, 156, 0.1);
    text-shadow: 0 0 10px rgba(0, 255, 156, 0.7);
}

#tutorial-sobremi-button:hover {
    border-color: #00d9ff;
    color: #00d9ff;
    background: radial-gradient(circle at center, rgba(0, 217, 255, 0.1), rgba(20, 20, 20, 0.8));
    transform: scale(1.05) translateY(-2px);
    box-shadow: 
        0 0 20px rgba(0, 217, 255, 0.6),
        0 0 40px rgba(0, 217, 255, 0.3),
        inset 0 0 10px rgba(0, 217, 255, 0.1);
    text-shadow: 0 0 10px rgba(0, 217, 255, 0.7);
}

#tutorial-proyectos-button:hover {
    border-color: #bf55ff;
    color: #bf55ff;
    background: radial-gradient(circle at center, rgba(191, 85, 255, 0.1), rgba(20, 20, 20, 0.8));
    transform: scale(1.05) translateY(-2px);
    box-shadow: 
        0 0 20px rgba(191, 85, 255, 0.6),
        0 0 40px rgba(191, 85, 255, 0.3),
        inset 0 0 10px rgba(191, 85, 255, 0.1);
    text-shadow: 0 0 10px rgba(191, 85, 255, 0.7);
}

.terminal-button.contact:hover {
    border-color: #ff01af;
    color: #ff01af;
    background: radial-gradient(circle at center, rgba(255, 1, 175, 0.15), rgba(20, 20, 20, 0.8));
    transform: scale(1.05) translateY(-2px);
    box-shadow: 
        0 0 25px rgba(255, 1, 175, 0.8),
        0 0 50px rgba(255, 1, 175, 0.4),
        inset 0 0 15px rgba(255, 1, 175, 0.1);
    text-shadow: 0 0 10px rgba(255, 1, 175, 0.8);
}

.decorative-pixel-flower {
    position: fixed;
    bottom: 20px;
    cursor: pointer;
    right: 20px;
    width: clamp(160px, 8vw, 80px);
    z-index: 5;
    image-rendering: pixelated;
}


/* ... (Tu CSS no cambia hasta la sección del glitch) ... */

/* ===========================================
   NUEVOS ESTILOS PARA EL GLITCH CAÓTICO
   =========================================== */

/* --- Contenedor del Body cuando el glitch está activo --- */
body.glitch-active {
    /* Pone todo del revés y lo hace vibrar */
    animation: content-shake 1.5s linear both;
}

/* --- Overlay Principal --- */
#fullscreen-glitch-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    pointer-events: none;
    display: none; 
}

/* 1ª CAPA (El propio overlay): Distorsión del contenido + Líneas de escaneo */
#fullscreen-glitch-overlay.active {
    display: block;
    /* Este filtro distorsiona todo lo que está debajo */
    backdrop-filter: invert(1) hue-rotate(180deg) blur(2px);
    background-image: repeating-linear-gradient(
        -45deg, /* Líneas diagonales */
        transparent 0,
        rgba(255, 255, 255, 0.05) 2px,
        transparent 4px
    );
    animation: scanlines-move 1.5s linear both;
}

/* 2ª CAPA (::before): Ruido fractal psicodélico */
#fullscreen-glitch-overlay.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="n"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="4" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%" height="100%" filter="url(%23n)" opacity="0.4"/%3E%3C/svg%3E');
    mix-blend-mode: screen;
    animation: fractal-boil 1s linear infinite;
}

/* 3ª CAPA (::after): Fragmentación digital y cambios de color */
#fullscreen-glitch-overlay.active::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-primary-cyan);
    mix-blend-mode: difference;
    animation: 
        fragmentation 1.5s cubic-bezier(.25, .46, .45, .94) both,
        color-change 1.5s linear both;
}

/* --- Fundido a blanco para el reinicio --- */
#fullscreen-glitch-overlay.fade-to-white {
    backdrop-filter: none;
    background: white;
    transition: background 0.3s ease-out, backdrop-filter 0.3s ease-out;
}
#fullscreen-glitch-overlay.fade-to-white::before,
#fullscreen-glitch-overlay.fade-to-white::after {
    display: none; /* Ocultamos las otras capas durante el fundido */
}


/* --- NUEVAS ANIMACIONES PARA EL CAOS --- */

@keyframes subtle-shake {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(2px, -1px); }
}

body.subtle-glitch-active {
    animation: subtle-shake 0.2s 1;
}

/* --- Animación para el glitch del título al pasar el ratón --- */
.main-title.glitch-hover {
    animation: title-glitch 0.3s steps(2, end) infinite;
}

@keyframes title-glitch {
  0% {
    text-shadow: 
        0 0 10px var(--color-primary-cyan),
        2px 2px 0px var(--color-primary-magenta),
        -2px -2px 0px var(--color-primary-green);
    transform: translate(0,0);
  }
  50% {
    text-shadow: 
        0 0 10px var(--color-primary-cyan),
        -2px 2px 0px var(--color-primary-magenta),
        2px -2px 0px var(--color-primary-green);
    transform: translate(-1px, 1px);
  }
  100% {
    text-shadow: 
        0 0 10px var(--color-primary-cyan),
        2px -2px 0px var(--color-primary-magenta),
        -2px 2px 0px var(--color-primary-green);
    transform: translate(1px, -1px);
  }
}

@keyframes content-shake {
  0%, 100% { transform: rotate(0) translate(0,0); }
  10% { transform: rotate(180deg) translate(-2px, 2px); }
  20% { transform: rotate(180deg) translate(3px, -3px); }
  30% { transform: rotate(180deg) translate(-4px, 4px) skew(5deg, -5deg); }
  40% { transform: rotate(180deg) translate(2px, -2px); }
  50% { transform: rotate(180deg) translate(-3px, 3px) scale(1.05); }
  60% { transform: rotate(180deg) translate(4px, -4px); }
  70% { transform: rotate(180deg) translate(-2px, 2px) skew(-5deg, 5deg); }
  80% { transform: rotate(180deg) translate(3px, -3px) scale(0.95); }
  90% { transform: rotate(180deg) translate(-4px, 4px); }
}

@keyframes scanlines-move {
  from { background-position: 0 100vh; }
  to { background-position: 0 0; }
}

@keyframes fractal-boil {
  from { filter: hue-rotate(0deg); }
  to { filter: hue-rotate(360deg); }
}

@keyframes fragmentation {
  0% { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
  25% { clip-path: polygon(0 50%, 100% 0, 100% 100%, 0 50%); }
  50% { clip-path: polygon(50% 50%, 100% 0, 50% 50%, 0 100%); }
  75% { clip-path: polygon(0 100%, 50% 50%, 100% 100%, 0 100%); }
  100% { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
}

@keyframes color-change {
  0% { background: var(--color-primary-cyan); }
  33% { background: var(--color-primary-magenta); }
  66% { background: var(--color-primary-green); }
  100% { background: var(--color-accent-red); }
}

.decorative-pixel-flower:hover{
animation: subtle-glitch 0.5s steps(2, end) infinite;
}

@keyframes subtle-glitch {
    0% { transform: translate(0); opacity: 1; }
    20% { transform: translate(-2px, -2px); opacity: 0.9; }
    40% { transform: translate(2px, 2px); opacity: 0.8; }
    60% { transform: translate(-2px, 2px); opacity: 0.9; }
    80% { transform: translate(2px, -2px); opacity: 1; }
    100% { transform: translate(0); opacity: 1; }
}


#main-subtitle .keyword-1 {
    color: var(--color-primary-cyan);
    text-shadow: 0 0 5px var(--color-primary-cyan);
}

#main-subtitle .keyword-2 {
    color: var(--color-primary-magenta);
    text-shadow: 0 0 5px var(--color-primary-magenta);
}

#main-subtitle .keyword-3 {
    color: var(--color-primary-green);
    text-shadow: 0 0 5px var(--color-primary-green);
}

#main-subtitle .cursor {
    color: var(--color-accent-white);
    animation: blink 1s step-end infinite;
}


@media (max-width: 768px) {
    .perspective-grid {
        opacity: 0.3;
        animation: none;
    }
    
    .particles::before,
    .particles::after {
        display: none;
    }
    
    .cyber-overlay {
        opacity: 0.2;
        animation: none;
    }

    .terminal-window {
        width: 90vw;
        margin-top: 30px;
        margin-bottom: 30px;
    }

    .terminal-grid-layout {
        flex-direction: column;
        align-items: center;
    }
}