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

body {
    font-family: 'Courier New', monospace;
    background-color: #0a0a0a;
    color: #00ff00;
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
}

.background-text {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.1;
    pointer-events: none;
}

.background-text::before,
.background-text::after {
    content: "HACKUNA";
    position: absolute;
    font-size: 15vw;
    font-weight: bold;
    letter-spacing: 1vw;
    transform: rotate(-45deg);
    white-space: nowrap;
    text-shadow: 0 0 15px #00ff00;
    animation: glitch 3s infinite;
}

.background-text::before {
    top: 20%;
    left: -10%;
    color: rgba(0, 255, 0, 0.3);
}

.background-text::after {
    bottom: 20%;
    right: -10%;
    color: rgba(0, 255, 0, 0.2);
}

@keyframes glitch {
    0% {
        text-shadow: 0 0 15px #00ff00;
        transform: rotate(-45deg) scale(1);
    }
    25% {
        text-shadow: 
            2px 2px 0 #ff0000,
            -2px -2px 0 #0000ff;
        transform: rotate(-45deg) scale(1.02);
    }
    50% {
        text-shadow: 0 0 15px #00ff00;
        transform: rotate(-45deg) scale(1);
    }
    75% {
        text-shadow: 
            -2px 2px 0 #ff0000,
            2px -2px 0 #0000ff;
        transform: rotate(-45deg) scale(0.98);
    }
    100% {
        text-shadow: 0 0 15px #00ff00;
        transform: rotate(-45deg) scale(1);
    }
}

.container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 1rem;
    text-align: center;
    position: relative;
    z-index: 1;
    background-color: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(5px);
    border-radius: 15px;
    box-shadow: 0 0 30px rgba(0, 255, 0, 0.2);
}

h1 {
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px #00ff00;
}

.game-info {
    margin-bottom: 2rem;
}

.matrix {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 4px;
    margin: 2rem auto;
    max-width: 600px;
    background-color: #1a1a1a;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.2);
}

.cell {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000;
    border: 1px solid #00ff00;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1.2rem;
    user-select: none;
}

.cell:hover {
    background-color: #003300;
}

.cell.selected {
    background-color: #006600;
    box-shadow: 0 0 10px #00ff00;
}

.cell.wrong {
    background-color: #330000;
    border-color: #ff0000;
    animation: wrong-pulse 0.5s;
}
@keyframes wrong-pulse {
    0% { transform: scale(1); background-color: #330000; }
    50% { transform: scale(1.1); background-color: #660000; }
    100% { transform: scale(1); background-color: #330000; }
}

.controls {
    margin-top: 2rem;
}

button {
    background-color: #003300;
    color: #00ff00;
    border: 2px solid #00ff00;
    padding: 0.5rem 1rem;
    margin: 0.5rem;
    cursor: pointer;
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    transition: all 0.2s ease;
}

button:hover {
    background-color: #006600;
    box-shadow: 0 0 10px #00ff00;
}

#target-sequence {
    font-weight: bold;
    letter-spacing: 2px;
}

.target-sequence-container {
    font-family: 'Courier New', monospace;
    font-size: 1.5rem;
    letter-spacing: 2px;
    margin: 1rem 0;
}

.target-digit {
    display: inline-block;
    width: 1ch;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.target-digit.correct {
    color: #00ff00;
    opacity: 1;
    text-shadow: 0 0 10px #00ff00;
    transform: scale(1.2);
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background-color: #0a0a0a;
    padding: 2rem;
    border: 2px solid #00ff00;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
    text-align: center;
}

.word-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.word-option {
    background-color: #003300;
    color: #00ff00;
    border: 2px solid #00ff00;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Courier New', monospace;
}

.word-option:hover {
    background-color: #006600;
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.5);
}

.modal.hidden {
    display: none;
}

.header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.game-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.timer, .lives {
    font-size: 1.2rem;
    font-weight: bold;
    padding: 0.5rem 1rem;
    background-color: #003300;
    border: 2px solid #00ff00;
    border-radius: 4px;
    min-width: 150px;
    text-align: center;
}

@media (min-width: 768px) {
    .header {
        flex-direction: row;
        justify-content: space-between;
    }

    .game-stats {
        width: auto;
    }

    .timer, .lives {
        font-size: 1.5rem;
        min-width: auto;
    }
}

.leaderboard-list {
    margin: 2rem 0;
    text-align: left;
}

.leaderboard-entry {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem;
    margin: 0.5rem 0;
    background-color: #003300;
    border: 1px solid #00ff00;
    border-radius: 4px;
}

.leaderboard-entry.highlight {
    background-color: #006600;
    animation: highlight 1s infinite;
}

@keyframes highlight {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

.close-button {
    margin-top: 1rem;
}

.timer.warning {
    color: #ff0000;
    border-color: #ff0000;
    animation: warning-pulse 1s infinite;
}

@keyframes warning-pulse {
    0% { box-shadow: 0 0 5px #ff0000; }
    50% { box-shadow: 0 0 20px #ff0000; }
    100% { box-shadow: 0 0 5px #ff0000; }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

@keyframes warning-pulse {
    0% { box-shadow: 0 0 5px #ff0000; }
    50% { box-shadow: 0 0 20px #ff0000; }
    100% { box-shadow: 0 0 5px #ff0000; }
}

.language-selector {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.language-selector select {
    padding: 5px 10px;
    border: 1px solid #666;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.language-selector select:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* Easter egg animation */
.easter-egg-activated {
    animation: pulse 1s ease-in-out;
    color: #00ff00 !important;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Easter egg LOVE */
.love-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
}

.love-text {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 8em;
    color: #ff69b4;
    text-shadow: 0 0 10px #ff1493;
    animation: loveTextAnimation 5s ease-in-out;
    opacity: 0;
}

.heart {
    position: absolute;
    font-size: 2em;
    animation: heartFall linear forwards;
}

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

@keyframes loveTextAnimation {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
    }
    20% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 1;
    }
    80% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
    }
}

/* Easter egg FATE */
.fate-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
}

.fate-text {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 8em;
    color: #9932cc;
    text-shadow: 0 0 10px #4b0082;
    animation: fateTextAnimation 5s ease-in-out;
    opacity: 0;
}

.fate-symbol {
    position: absolute;
    font-size: 2em;
    animation: fateSymbolFall linear forwards;
    filter: drop-shadow(0 0 5px rgba(153, 50, 204, 0.5));
}

@keyframes fateSymbolFall {
    0% {
        transform: translateY(-10vh) rotate(0deg) scale(1);
        opacity: 1;
    }
    50% {
        transform: translateY(50vh) rotate(180deg) scale(1.5);
        opacity: 0.8;
    }
    100% {
        transform: translateY(110vh) rotate(360deg) scale(1);
        opacity: 0;
    }
}

@keyframes fateTextAnimation {
    0% {
        transform: translate(-50%, -50%) scale(0) rotate(-180deg);
        opacity: 0;
    }
    20% {
        transform: translate(-50%, -50%) scale(1.2) rotate(0deg);
        opacity: 1;
    }
    80% {
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(0) rotate(180deg);
        opacity: 0;
    }
}

/* Easter egg TEXT */
.text-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80vw;
    height: 80vh;
    background: rgba(0, 0, 0, 0.9);
    border: 2px solid #00ff00;
    border-radius: 5px;
    padding: 20px;
    font-family: 'Courier New', monospace;
    overflow: hidden;
    z-index: 9999;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
}

.text-line {
    color: #00ff00;
    font-size: 1.2em;
    margin: 5px 0;
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
    white-space: nowrap;
    animation: textGlow 1s ease-in-out infinite alternate;
}

@keyframes textGlow {
    from {
        text-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
    }
    to {
        text-shadow: 0 0 15px rgba(0, 255, 0, 0.8);
    }
}

.text-line:nth-child(odd) {
    color: #00cc00;
}

.text-line:nth-child(even) {
    color: #33ff33;
}

/* Easter egg LIFE */
.life-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
    background: linear-gradient(to bottom, #87ceeb, #98fb98);
    opacity: 0;
    animation: fadeIn 0.5s forwards;
}

.life-text {
    position: fixed;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 8em;
    color: #228b22;
    text-shadow: 0 0 10px rgba(34, 139, 34, 0.5);
    animation: lifeTextAnimation 5s ease-in-out;
}

.life-element {
    position: absolute;
    font-size: 2em;
    animation: floatUpDown linear infinite;
}

.plant-container {
    position: fixed;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.plant-stage {
    font-size: 5em;
    margin-top: -0.5em;
    animation: growPlant 1s ease-out forwards;
    opacity: 0;
    transform: scale(0);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes floatUpDown {
    0% {
        transform: translateY(100vh) rotate(0deg) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-20vh) rotate(360deg) scale(1.5);
        opacity: 0;
    }
}

@keyframes lifeTextAnimation {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
    }
    20% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 1;
    }
    80% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
    }
}

@keyframes growPlant {
    0% {
        opacity: 0;
        transform: scale(0) translateY(50px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Easter egg HOME */
.home-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
    background: linear-gradient(to bottom, #87CEEB 0%, #87CEEB 60%, #90EE90 60%, #90EE90 100%);
    opacity: 0;
    animation: fadeIn 0.5s forwards;
}

.home-text {
    position: fixed;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 8em;
    color: #8B4513;
    text-shadow: 0 0 10px rgba(139, 69, 19, 0.5);
    animation: homeTextAnimation 5s ease-in-out;
}

.house {
    position: fixed;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 60vw;
    height: 40vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.house-element {
    position: absolute;
    font-size: 4em;
    opacity: 0;
    animation: popIn 0.5s ease-out forwards;
}

.house-element:nth-child(1) { transform: translate(0, 0); } /* Casa no centro */
.house-element:nth-child(2) { transform: translate(-150%, 20%); } /* Árvore esquerda */
.house-element:nth-child(3) { transform: translate(150%, 20%); } /* Árvore direita */
.house-element:nth-child(4) { transform: translate(0, -150%); } /* Sol/nuvem */
.house-element:nth-child(5) { transform: translate(-100%, 50%); } /* Cachorro */
.house-element:nth-child(6) { transform: translate(-200%, 50%); } /* Carro */
.house-element:nth-child(7) { transform: translate(200%, 50%); } /* Caixa de correio */
.house-element:nth-child(8) { transform: translate(-120%, 70%); } /* Flores */
.house-element:nth-child(9) { transform: translate(120%, 70%); } /* Mais flores */
.house-element:nth-child(10) { transform: translate(50%, 50%); } /* Cadeira */

.smoke {
    position: absolute;
    font-size: 2em;
    transform: translate(20%, -120%);
    animation: smokeRise 2s ease-out forwards;
}

@keyframes homeTextAnimation {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
    }
    20% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 1;
    }
    80% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
    }
}

@keyframes popIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    70% {
        transform: scale(1.2);
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes smokeRise {
    0% {
        transform: translate(20%, -120%) scale(0.5);
        opacity: 0.8;
    }
    100% {
        transform: translate(20%, -300%) scale(2);
        opacity: 0;
    }
}

/* Easter egg WORK */
.work-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    opacity: 0;
    animation: fadeIn 0.5s forwards;
}

.work-text {
    position: fixed;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 8em;
    color: #2196F3;
    text-shadow: 0 0 10px rgba(33, 150, 243, 0.5);
    animation: workTextAnimation 5s ease-in-out;
}

.office {
    position: fixed;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    width: 90vw;
    height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.work-element {
    position: absolute;
    font-size: 3em;
    opacity: 0;
    animation: moveToPosition 0.8s ease-out forwards;
}

/* Posições finais dos elementos */
.computer { --final-x: 0; --final-y: 0; font-size: 5em; }
.coffee { --final-x: -300px; --final-y: -150px; font-size: 3.5em; }
.phone { --final-x: 300px; --final-y: -150px; font-size: 3.5em; }
.chart { --final-x: -400px; --final-y: 100px; font-size: 4em; }
.notes { --final-x: 400px; --final-y: 100px; font-size: 4em; }
.calendar { --final-x: 0; --final-y: -250px; font-size: 4em; }
.briefcase { --final-x: -200px; --final-y: 200px; font-size: 3.5em; }
.printer { --final-x: 200px; --final-y: 200px; font-size: 3.5em; }
.paperclip { --final-x: -500px; --final-y: -50px; font-size: 3em; }
.watch { --final-x: 500px; --final-y: -50px; font-size: 3em; }

@keyframes moveToPosition {
    0% {
        transform: translate(0, 0);
        opacity: 0;
    }
    20% {
        transform: translate(0, 0);
        opacity: 1;
    }
    100% {
        transform: translate(var(--final-x), var(--final-y));
        opacity: 1;
    }
}

/* Ajuste das notificações para aparecerem no centro */
.work-notification {
    position: absolute;
    background: white;
    padding: 10px 20px;
    border-radius: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    font-size: 1.2em;
    opacity: 0;
    left: 50%;
    transform: translateX(-50%);
    animation: notificationFade 2s ease-out forwards;
}

@keyframes notificationFade {
    0% {
        transform: translate(-50%, 20px);
        opacity: 0;
    }
    20% {
        transform: translate(-50%, 0);
        opacity: 1;
    }
    80% {
        transform: translate(-50%, 0);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -20px);
        opacity: 0;
    }
}

/* Animação de "trabalho" para elementos específicos */
.work-element.working {
    animation: workingPulse 0.5s ease-in-out;
}

@keyframes workingPulse {
    0% {
        transform: scale(1);
        filter: brightness(1);
    }
    50% {
        transform: scale(1.2);
        filter: brightness(1.2);
    }
    100% {
        transform: scale(1);
        filter: brightness(1);
    }
}

@keyframes notificationSlide {
    0% {
        transform: translateY(20px);
        opacity: 0;
    }
    20% {
        transform: translateY(0);
        opacity: 1;
    }
    80% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateY(-20px);
        opacity: 0;
    }
}

/* Easter egg WORD */
.word-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    opacity: 0;
    animation: fadeIn 0.5s forwards;
}

.word-text {
    position: fixed;
    top: 15%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 8em;
    color: #2b579a;
    text-shadow: 0 0 10px rgba(43, 87, 154, 0.5);
    animation: wordTextAnimation 5s ease-in-out;
}

.doc-area {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 800px;
    height: 60%;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    padding: 30px;
    font-family: 'Segoe UI', Arial, sans-serif;
    overflow: hidden;
}

.doc-line {
    margin-bottom: 15px;
    opacity: 0;
    transform: translateY(20px);
    animation: lineAppear 0.5s ease-out forwards;
    display: flex;
    align-items: center;
}

.doc-icon {
    font-size: 1.5em;
    margin-right: 15px;
    opacity: 0.7;
}

.doc-text {
    font-size: 1.2em;
    color: #333;
    line-height: 1.5;
}

.typing-cursor {
    display: inline-block;
    width: 2px;
    height: 1.2em;
    background-color: #2b579a;
    margin-left: 5px;
    animation: cursorBlink 0.7s infinite;
    vertical-align: middle;
}

@keyframes wordTextAnimation {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
    }
    20% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 1;
    }
    80% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
    }
}

@keyframes lineAppear {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Easter egg HTML */
.html-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
    background: #1e1e1e;
    opacity: 0;
    animation: fadeIn 0.5s forwards;
}

.html-text {
    position: fixed;
    top: 15%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 8em;
    color: #e44d26;
    text-shadow: 0 0 10px rgba(228, 77, 38, 0.5);
    animation: htmlTextAnimation 5s ease-in-out;
    z-index: 2;
}

.code-area {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 800px;
    height: 70%;
    background: #252526;
    border-radius: 10px;
    padding: 30px;
    font-family: 'Consolas', 'Monaco', monospace;
    overflow-y: auto;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.code-line {
    color: #d4d4d4;
    font-size: 1.1em;
    line-height: 1.8;
    margin: 0 0 8px 20px;
    padding-right: 20px;
    white-space: pre;
    opacity: 0;
    animation: lineAppear 0.3s ease-out forwards;
    position: relative;
    display: block;
    width: calc(100% - 40px);
    overflow-x: visible;
}

.tag {
    color: #569cd6;
    display: inline-block;
    position: relative;
    z-index: 1;
    white-space: pre;
}

@keyframes htmlTextAnimation {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
    }
    20% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 1;
    }
    80% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
    }
}

@keyframes lineAppear {
    0% {
        opacity: 0;
        transform: translateX(-20px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.code-cursor {
    display: inline-block;
    width: 2px;
    height: 1.2em;
    background-color: #d4d4d4;
    margin-left: 2px;
    animation: cursorBlink 0.7s infinite;
    vertical-align: middle;
    position: relative;
    z-index: 0;
}

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