@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

/* RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Courier New', monospace;
    background: #000;
    color: #fff;
    overflow: hidden;
    cursor: none;
    height: 100vh;
    position: relative;
}

/* Text Dithering Effect */
p, h1, h2, h3, h4, h5, h6, span, div {
    position: relative;
    z-index: 2;
}

p::after, h1::after, h2::after, h3::after, h4::after, h5::after, h6::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 0.3px rgba(255, 255, 255, 0.2);
    opacity: 0.3;
    filter: url(#dither-filter);
}

/* Image Dithering Effect */
img {
    position: relative;
    filter: url(#dither-filter);
    transition: filter 0.3s ease;
}

img:hover {
    filter: url(#noise-filter);
}

/* Apply dithering to all media */
video, canvas, iframe {
    position: relative;
    filter: url(#dither-filter);
}

/* CURSOR */
.cursor-blob {
    position: fixed;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 0;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    transition: transform 0.1s ease;
}

/* Interactive Elements Dithering */
.nav-link, .lang-btn, button, a {
    position: relative;
    overflow: hidden;
}

.nav-link::after, .lang-btn::after, button::after, a::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='2' height='2' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1,1 L0,0 M2,2 L1,1' stroke='white' stroke-width='0.5' opacity='0.3'/%3E%3C/svg%3E");
    background-size: 2px 2px;
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-link:hover::after, .lang-btn:hover::after, button:hover::after, a:hover::after {
    opacity: 0.4;
    animation: dither-interactive 0.5s infinite alternate;
}

@keyframes dither-interactive {
    0% { background-position: 0 0; }
    100% { background-position: 1px 1px; }
}

/* FOLDER ICONS */
.folder-icons {
    position: fixed;
    top: 8%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 60px;
    z-index: 100;
    pointer-events: auto;
}

.folder-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 5px;
    position: relative;
}

/* Desktop drag functionality */
@media (min-width: 769px) {
    .folder-icon.draggable {
        cursor: grab;
        user-select: none;
    }
    
    .folder-icon.dragging {
        cursor: grabbing;
        opacity: 0.7;
        transform: scale(1.1);
        z-index: 1000;
        position: fixed;
        pointer-events: none;
    }
    
    .folder-icon.draggable:hover {
        transform: scale(1.05);
    }
}

/* NEW FOLDER CONTAINERS */
.folder-containers {
    position: fixed;
    top: 18%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 80px;
    z-index: 100;
    pointer-events: auto;
}

.white-folder {
    color: #ffffff;
}

.white-folder:hover {
    color: #ffffff;
    filter: drop-shadow(0 0 10px #ffffff);
}

.contacts-folder,
.about-folder {
    color: #ffffff;
    position: relative;
}

.contacts-folder:hover,
.about-folder:hover {
    color: #ffffff;
    filter: drop-shadow(0 0 10px #ffffff);
}

/* Icone EXE e scritte bianche */
.contacts-folder,
.about-folder {
    color: #ffffff;
    position: relative;
}

.contacts-folder:hover,
.about-folder:hover {
    color: #ffffff;
    filter: drop-shadow(0 0 10px #ffffff);
}

/* Puntino verde nella posizione finale per CONTACTS */
.contacts-folder::after {
    content: '';
    position: absolute;
    top: 13px;
    left: calc(50% - 6px);  /* 2 pixel più a destra (era -8px) */
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: #00ff88;
    border-radius: 50%;
    z-index: 10;
    pointer-events: none;
}

/* Puntino arancione nella posizione finale per ABOUT */
.about-folder::after {
    content: '';
    position: absolute;
    top: 13px;
    left: calc(50% - 6px);  /* 2 pixel più a destra (era -8px) */
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: #ff8800;
    border-radius: 50%;
    z-index: 10;
    pointer-events: none;
}

/* Assicuriamo che le etichette siano bianche */
.contacts-folder .folder-label,
.about-folder .folder-label {
    color: #ffffff;
    text-shadow: 0 0 5px #ffffff;
}

/* Effetti hover per i puntini colorati */
.contacts-folder:hover::after {
    box-shadow: 0 0 6px #00ff88;
    transform: translateX(-50%) scale(1.3);
}

.about-folder:hover::after {
    box-shadow: 0 0 6px #ff8800;
    transform: translateX(-50%) scale(1.3);
}

.folder-icon-graphic {
    width: 32px;
    height: 32px;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.folder-icon-graphic svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 5px currentColor);
}

.folder-icon:hover .folder-icon-graphic {
    transform: scale(1.1);
    filter: drop-shadow(0 0 10px currentColor);
}

.folder-label {
    font-family: 'Courier New', monospace;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    text-shadow: 0 0 5px currentColor;
}

@media (max-width: 768px) {
    .folder-icons {
        top: 10%;
        gap: 30px;
    }
    
    .folder-containers {
        top: 27%;
        gap: 30px;
    }
    
    .folder-icon {
        padding: 8px;
    }
    
    .folder-icon-graphic {
        width: 28px;
        height: 28px;
    }
    
    .folder-label {
        font-size: 10px;
    }
}

/* LANGUAGE SELECTOR */
.language-selector {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 1000;
    display: flex;
    gap: 0.5rem;
}

.lang-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.6);
    padding: 0.5rem 1rem;
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    cursor: none;
    transition: all 0.3s ease;
}

.lang-btn.active,
.lang-btn:hover {
    border-color: #fff;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

/* BACKGROUND EFFECTS */
.artwork-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}



#glitchCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

/* DITHER EFFECT */
.dither-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.15;
}



.dither-particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    transition: all 0.2s ease;
    transform-origin: center;
    opacity: 0.6;
    border-radius: 0;
}



.dither-particle.active {
    transform: scale(2);
    opacity: 1;
    background: #00ff88;
    box-shadow: 0 0 10px #00ff88;
}

.dither-particle:nth-child(3n) {
    background: #ff0088;
}

.dither-particle:nth-child(3n).active {
    background: #ff0088;
    box-shadow: 0 0 10px #ff0088;
}

.dither-particle:nth-child(5n) {
    background: #0088ff;
}

.dither-particle:nth-child(5n).active {
    background: #0088ff;
    box-shadow: 0 0 10px #0088ff;
}

.dither-particle.active {
    width: 4px;
    height: 4px;
    opacity: 0.8;
    box-shadow: 0 0 4px white;
}

/* HERO SECTION */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.hero-content {
    text-align: center;
    position: relative;
    width: 100%;
}

/* MAIN TITLE - CENTERED */
.main-title {
    font-family: 'Press Start 2P', 'Courier New', monospace;
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: normal;
    letter-spacing: 0.1em;
    margin: 0;
    text-shadow: 2px 2px 0px #000000, 0 0 10px rgba(255, 255, 255, 0.3);
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    word-break: break-word;
    text-align: center;
    text-transform: uppercase;
    line-height: 1.2;
}

/* TEXT SCRAMBLE EFFECT */
.main-title {
    transition: text-shadow 0.3s ease;
    font-family: 'Orbitron', monospace;
}

/* Scramble effect for all text elements */
.scramble-text .dud,
.main-title .dud {
    color: #ff8800;
    opacity: 0.8;
    animation: dudFlicker 0.1s infinite;
}

@keyframes dudFlicker {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 0.4; }
}

.main-title:hover {
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.8),
                 0 0 40px rgba(0, 255, 136, 0.6),
                 0 0 60px rgba(255, 0, 136, 0.4);
    transform: scale(1.05);
}



/* SUBTITLE CONTAINER - UNDER TITLE */
.subtitle-container {
    position: relative;
    margin-top: 2rem;
    text-align: center;
    max-width: 100%;
    width: 100%;
}

.subtitle {
    font-size: clamp(0.6rem, 1.5vw, 0.9rem);
    letter-spacing: 0.15em;
    margin: 0 auto;
    opacity: 0.8;
    font-weight: 500;
    max-width: 100%;
    white-space: nowrap;
    padding: 0 1rem;
    text-align: center;
}

.subtitle-secondary {
    font-size: clamp(1.5rem, 3vw, 1.8rem);
    letter-spacing: 0.2em;
    margin: 0.3rem auto 0 auto;
    opacity: 0.8;
    font-weight: 600;
    text-align: center;
    width: 100%;
    overflow: hidden;
}

/* Subtitle responsive layout */
.subtitle-part-1,
.subtitle-part-2,
.subtitle-separator {
    display: inline;
}

/* Mobile responsive - break line after separator */
@media (max-width: 768px) {
    .subtitle-secondary {
        font-size: clamp(0.7rem, 2.5vw, 1rem);
        line-height: 1.3;
    }
    
    .subtitle-separator {
        display: none; /* Hide the / on mobile */
    }
    
    .subtitle-part-2 {
        display: block; /* Force new line */
        margin-top: 0.2rem;
    }
    
    .scrolling-text {
        white-space: normal; /* Allow wrapping */
        text-align: center;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .subtitle-secondary {
        font-size: clamp(0.7rem, 3vw, 1rem);
        letter-spacing: 0.1em;
    }
    
    .subtitle-part-2 {
        margin-top: 0.3rem;
    }
}

@keyframes scroll-left {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

.scrolling-text {
    display: inline-block;
    white-space: nowrap;
}

/* COMING SOON TEXT - BOTTOM HALF */
.coming-soon-container {
    position: fixed;
    bottom: 15vh;
    left: 50%;
    transform: translateX(-50%);
    height: 60px;
    overflow: hidden;
    text-align: center;
    width: 100%;
    z-index: 15;
}

.coming-soon {
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    letter-spacing: 0.3em;
    font-weight: 600;
    opacity: 0.8;
    position: relative;
    display: inline-block;
    margin: 0 auto;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-align: center;
}

.coming-soon::before {
    content: attr(data-en);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
display: flex;
align-items: center;
justify-content: center;
opacity: 0;
letter-spacing: 0.3em;
}

/* IMAGE WINDOWS */
.image-window {
    font-family: 'Courier New', monospace;
}

.image-window img {
    filter: url(#dither-filter);
    transition: filter 0.3s ease;
}

.image-window:hover img {
    filter: url(#noise-filter);
}

/* Mobile adjustments for image windows */
@media (max-width: 768px) {
    .image-window {
        width: 90vw !important;
        left: 5vw !important;
        top: 10vh !important;
        position: fixed !important;
    }
}

/* MEDIA QUERIES FOR RESPONSIVE DESIGN */

.numpad {
    display: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
    margin-top: 10px;
}

.numpad-btn {
    background-color: #1a1a1a;
    border: 1px solid #00ff00;
    color: #00ff00;
    padding: 10px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
}

.numpad-btn:hover {
    background-color: #00ff00;
    color: #000;
}

@media (max-width: 768px) {
    .numpad {
        display: grid;
    }

    .captcha-input {
        pointer-events: none; /* Disable direct input on mobile */
    }

    .language-selector {
        position: fixed !important;
        bottom: 2rem !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        top: auto !important;
        right: auto !important;
        display: flex;
        gap: 0.5rem;
        background: none;
        padding: 0;
        border-radius: 0;
    }
    
    .lang-btn {
        padding: 0.3rem 0.5rem;
        font-size: 0.7rem;
        min-width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
    }



    .main-title {
        font-size: clamp(2rem, 5vw, 2.8rem);
    }

    .subtitle {
        font-size: clamp(0.7rem, 4vw, 0.9rem);
        white-space: normal;
        padding: 0 2rem;
    }

    .coming-soon {
        font-size: clamp(1.2rem, 2vw, 1.4rem);
        padding: 0.4rem 0.8rem;
    }

    .terminal {
        width: 95vw;
        max-width: 600px;
        height: auto;
        min-height: 50vh;
        font-size: 0.85rem;
    }

    .terminal-header {
        padding: 0.5rem;
    }

    .terminal-body {
        padding: 1rem;
    }
}

/* Coming Soon particles removed - now using scramble effect */

.coming-soon:hover {
    color: #00ff88;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.6);
    transform: translateY(-2px);
}



/* Terminal Window Styles */
.terminal-window {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 400px;
    background: #000;
    border: 3px solid #fff;
    box-shadow: 
        0 0 0 1px #000,
        0 0 0 2px #fff,
        0 0 0 3px #000,
        5px 5px 0 0 rgba(255, 255, 255, 0.3);
    font-family: 'Courier New', monospace;
    font-size: 12px;
    z-index: 1000;
    cursor: move;
    animation: terminalGlitch 0.1s ease-in-out;
    resize: both;
    overflow: hidden;
}

.terminal-window::after {
    content: '◢';
    position: absolute;
    bottom: 2px;
    right: 2px;
    color: #ffffff;
    font-size: 12px;
    cursor: nw-resize;
    user-select: none;
    pointer-events: none;
}

.terminal-header {
    background: #000;
    border-bottom: 1px solid #ff8800;
    padding: 8px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    user-select: none;
    cursor: move;
}

.terminal-title {
    color: #ff8800;
    font-weight: bold;
}

.terminal-controls {
    display: flex;
    gap: 4px;
}



.terminal-close {
    color: #ff0000;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
    padding: 0 4px;
    transition: background-color 0.2s;
}

.terminal-close:hover {
    background-color: #ff0000;
    color: #000;
}

/* Copy Button */
.copy-btn {
    background: transparent;
    border: 1px solid #ff8800;
    color: #ff8800;
    font-family: 'Courier New', monospace;
    font-size: 10px;
    padding: 2px 6px;
    margin-left: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: bold;
}

.copy-btn:hover {
    background-color: #ff8800;
    color: #000;
    transform: scale(1.05);
}

.copy-btn:active {
    transform: scale(0.95);
}

.copy-btn.copied {
    background-color: #00ff00;
    border-color: #00ff00;
    color: #000;
}

/* About Terminal Specific Styles */
.about-terminal .terminal-header {
    border-bottom-color: #00ff00;
}

.about-terminal .terminal-title {
    color: #00ff00;
}

.about-terminal .copy-btn {
    border-color: #00ff00;
    color: #00ff00;
}

.about-terminal .copy-btn:hover {
    background-color: #00ff00;
    color: #000;
}

.about-terminal .terminal-link {
    color: #00ff00;
}

.about-terminal .terminal-link:hover {
    color: #000000;
}

/* TERMINAL THEMES */
/* Contacts Theme - Green */
.contacts-theme {
    border-color: #00ff88;
    box-shadow: 
        0 0 0 1px #000,
        0 0 0 2px #00ff88,
        0 0 0 3px #000,
        5px 5px 0 0 rgba(0, 255, 136, 0.3);
}

.contacts-theme .terminal-header {
    border-bottom-color: #00ff88;
}

.contacts-theme .terminal-title {
    color: #00ff88;
}

.contacts-theme .copy-btn {
    border-color: #00ff88;
    color: #00ff88;
}

.contacts-theme .copy-btn:hover {
    background-color: #00ff88;
    color: #000;
}

.contacts-theme .terminal-link {
    color: #00ff88;
}

.contacts-theme .terminal-link:hover {
    color: #000000;
    background-color: #00ff88;
}

.contacts-theme .numpad-btn {
    border-color: #00ff88;
    color: #00ff88;
}

.contacts-theme .numpad-btn:hover {
    background-color: #00ff88;
    color: #000;
}

.contacts-theme .captcha-input {
    border-color: #00ff88;
    color: #00ff88;
}

.contacts-theme .captcha-submit {
    border-color: #00ff88;
    color: #00ff88;
}

.contacts-theme .captcha-submit:hover {
    background-color: #00ff88;
    color: #000;
}

.contacts-theme .terminal-line {
    color: #00ff88;
}

.contacts-theme .terminal-content {
    color: #00ff88;
}

.contacts-theme .terminal-cursor {
    color: #00ff88;
}

/* About Theme - Orange */
.about-theme {
    border-color: #ff8800;
    box-shadow: 
        0 0 0 1px #000,
        0 0 0 2px #ff8800,
        0 0 0 3px #000,
        5px 5px 0 0 rgba(255, 136, 0, 0.3);
}

.about-theme .terminal-header {
    border-bottom-color: #ff8800;
}

.about-theme .terminal-title {
    color: #ff8800;
}

.about-theme .copy-btn {
    border-color: #ff8800;
    color: #ff8800;
}

.about-theme .copy-btn:hover {
    background-color: #ff8800;
    color: #000;
}

.about-theme .terminal-link {
    color: #ff8800;
}

.about-theme .terminal-link:hover {
    color: #000000;
    background-color: #ff8800;
}

.about-theme .numpad-btn {
    border-color: #ff8800;
    color: #ff8800;
}

.about-theme .numpad-btn:hover {
    background-color: #ff8800;
    color: #000;
}

.about-theme .captcha-input {
    border-color: #ff8800;
    color: #ff8800;
}

.about-theme .captcha-submit {
    border-color: #ff8800;
    color: #ff8800;
}

.about-theme .captcha-submit:hover {
    background-color: #ff8800;
    color: #000;
    background: #00ff00;
    padding: 0 2px;
}

.about-terminal .terminal-line:first-of-type {
    color: #00ff00;
}

.about-terminal .terminal-line[id*="progress-bar"] {
    color: #00ff00;
}

.captcha-input, .captcha-submit {
    background-color: #000;
    color: #00ff00;
    border: 1px solid #00ff00;
    padding: 5px;
    margin-top: 5px;
    font-family: 'Courier New', Courier, monospace;
}

.captcha-submit {
    cursor: pointer;
}

.captcha-submit:hover {
    background-color: #00ff00;
    color: #000;
}



.terminal-content {
    padding: 12px;
    color: #ffffff;
    background: #000;
    min-height: 200px;
    line-height: 1.4;
}

.terminal-line {
    margin-bottom: 4px;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    color: #ffffff;
}

.terminal-label {
    font-weight: bold;
    color: #ffffff;
}

.terminal-link {
    color: #ff8800;
    text-decoration: underline;
    transition: all 0.2s;
}

.terminal-link:hover {
    color: #000000;
    background: #ff8800;
    padding: 0 2px;
}

.terminal-cursor {
    display: inline-block;
    animation: terminalBlink 1s infinite;
    font-size: 11px;
    color: #ffffff;
}

@keyframes terminalBlink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

@keyframes terminalGlitch {
    0% { transform: translate(0); }
    20% { transform: translate(-1px, 1px); }
    40% { transform: translate(1px, -1px); }
    60% { transform: translate(-1px, -1px); }
    80% { transform: translate(1px, 1px); }
    100% { transform: translate(0); }
}

.terminal-window.dragging {
    opacity: 0.9;
    transform: rotate(0.5deg);
}

/* Continue prompt */
.terminal-window .continue-prompt {
    margin: 15px 0;
    padding: 10px;
    text-align: center;
    color: #ff8800;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    border: 1px solid #ff8800;
    border-radius: 5px;
    background: rgba(0, 0, 0, 0.8);
    animation: terminalBlink 1.5s infinite;
}

/* Mobile keypad - always available */
.terminal-window .mobile-keypad-container {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin: 15px 0;
    padding: 10px;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid #ff8800;
    border-radius: 5px;
    visibility: visible !important;
    opacity: 1 !important;
}

.terminal-window .keypad-btn {
    background-color: #000;
    border: 1px solid #ff8800;
    color: #ff8800;
    padding: 10px;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
    border-radius: 3px;
}

.terminal-window .keypad-btn:hover {
    background-color: #ff8800;
    color: #000;
    animation: terminalGlitch 0.3s ease;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    /* Touch-following background animation */
    body {
        background: radial-gradient(circle at var(--touch-x, 50%) var(--touch-y, 50%), 
                    rgba(255, 136, 0, 0.1) 0%, 
                    rgba(255, 136, 0, 0.05) 30%, 
                    transparent 70%),
                    #000;
        transition: background 0.3s ease;
    }
    
    .main-title {
        font-size: clamp(2rem, 7vw, 3.5rem);
    }
    
    .subtitle-container {
        margin-top: 1.2rem;
    }
    
    .subtitle {
        font-size: clamp(0.7rem, 1.8vw, 1rem);
    }
    
    .subtitle-secondary {
        font-size: clamp(0.7rem, 3vw, 1rem);
    }
    
    .language-selector {
        top: 1rem;
        right: 1rem;
    }
    
    .coming-soon-container {
        bottom: 20vh;
        height: 50px;
    }
    
    .coming-soon {
        font-size: clamp(1.2rem, 3vw, 1.8rem);
        padding: 0.4rem 0.8rem;
    }
    
    .lang-btn {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }
    
    .terminal-window {
        width: 320px;
        top: 10px;
        right: 10px;
        font-size: 11px;
    }
    
    .terminal-line {
        font-size: 11px;
    }
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    /* Mobile: All terminals orange EXCEPT contacts theme */
    .terminal-window:not(.contacts-theme) .terminal-header {
        background: #000 !important;
        border-bottom: 1px solid #ff8800;
    }
    
    .terminal-window:not(.contacts-theme) .terminal-title {
        color: #ff8800 !important;
    }
    
    .terminal-window:not(.contacts-theme) .terminal-line {
        color: #ff8800 !important;
    }
    
    .terminal-window:not(.contacts-theme) .terminal-label {
        color: #ff8800 !important;
    }
    
    .terminal-window:not(.contacts-theme) .terminal-link {
        color: #ff8800 !important;
    }
    
    .terminal-window:not(.contacts-theme) .copy-btn {
        border-color: #ff8800 !important;
        color: #ff8800 !important;
    }
    
    .terminal-window:not(.contacts-theme) .captcha-input, 
    .terminal-window:not(.contacts-theme) .captcha-submit {
        background-color: #000 !important;
        color: #ff8800 !important;
        border: 1px solid #ff8800 !important;
    }
    
    /* Keep numpad/keypad orange for ALL terminals including contacts */
    .terminal-window .numpad-btn,
    .terminal-window .keypad-btn {
        background-color: #000 !important;
        border: 1px solid #ff8800 !important;
        color: #ff8800 !important;
    }
    
    .terminal-window .numpad-btn:hover,
    .terminal-window .keypad-btn:hover {
        background-color: #ff8800 !important;
        color: #000 !important;
    }
    
    .simple-nav {
        top: 1rem;
        left: 1rem;
        gap: 1.5rem;
    }
    
    .language-selector {
        top: 1rem;
        right: 1rem;
    }
    
    .lang-btn {
        padding: 0.3rem 0.6rem;
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: clamp(1.5rem, 4vw, 2rem);
        letter-spacing: 0.05em;
    }
    
    .subtitle-container {
        margin-top: 0.5rem;
    }
    
    .subtitle {
        font-size: clamp(0.5rem, 1.2vw, 0.7rem);
        letter-spacing: 0.1em;
    }
    
    .subtitle-secondary {
        font-size: clamp(0.7rem, 1.5vw, 0.9rem);
        letter-spacing: 0.15em;
    }
    
    .simple-nav {
        top: 0.5rem;
        left: 0.5rem;
        gap: 1rem;
    }
    
    .language-selector {
        top: 0.5rem;
        right: 0.5rem;
    }
    
    .coming-soon-container {
        bottom: 15vh;
        height: 45px;
    }
    
    .coming-soon {
        font-size: clamp(1rem, 1.8vw, 1.2rem);
        letter-spacing: 0.25em;
        padding: 0.3rem 0.6rem;
    }
    
    .lang-btn {
        font-size: 0.6rem;
        padding: 0.2rem 0.4rem;
    }
    
    .terminal-window {
        width: 280px;
        top: 5px;
        right: 5px;
        font-size: 10px;
    }
    
    .terminal-line {
        font-size: 10px;
    }
    
    .terminal-cursor {
        font-size: 10px;
    }
}

/* Prevent horizontal overflow */
@media (max-width: 1024px) {
    .nav-menu {
        gap: clamp(0.5rem, 2vw, 2rem);
    }
    
    .nav-link {
        font-size: clamp(0.6rem, 1.8vw, 0.8rem);
        letter-spacing: 0.1em;
    }
}