:root {
    --primary: #ff5e00;
    --secondary: #ff8c00;
    --bg: #121212;
    --text: #e0e0e0;
    --terminal-bg: #1e1e1e;
    --terminal-border: #333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Courier New', monospace;
}

body {
    background-color: var(--bg);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 20px;
    line-height: 1.5;
    font-size: 18px;
}

.terminal {
    width: 100%;
    max-width: 1000px;
    background-color: var(--terminal-bg);
    border: 2px solid var(--terminal-border);
    border-radius: 10px;
    box-shadow: 0 0 25px rgba(255, 94, 0, 0.4);
    overflow: hidden;
    animation: fadeIn 1s ease-in-out;
    margin: 20px 0;
}

.terminal-header {
    background-color: #2a2a2a;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    border-bottom: 2px solid var(--terminal-border);
}

.terminal-title {
    color: #888;
    font-size: 1.2rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.terminal-body {
    padding: 25px;
}

.profile-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.profile-image {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary);
    box-shadow: 0 0 20px rgba(255, 94, 0, 0.6);
    align-self: center;
    animation: pulse 2s infinite;
}

.profile-info {
    flex: 1;
    font-size: 1.1rem;
    width: 100%;
}

.command-line {
    display: flex;
    margin-bottom: 15px;
    align-items: flex-start;
    font-size: 1.2rem;
    width: 100%;
    flex-wrap: wrap;
}

.prompt {
    color: var(--primary);
    margin-right: 10px;
    user-select: none;
    flex-shrink: 0;
    font-weight: bold;
    font-size: 1.3rem;
    line-height: 1.5;
}

.command-container {
    position: relative;
    display: inline-block;
    flex-grow: 1;
}

.command {
    color: var(--secondary);
    font-weight: bold;
    white-space: pre-wrap;
    word-break: break-word;
}

.typing-cursor {
    color: var(--primary);
    animation: blink 1s step-end infinite;
    margin-left: 2px;
}

.input-container {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    flex-wrap: wrap;
    gap: 5px;
}

.input-container:focus-within::after {
    opacity: 1;
}

#command-input, .command-input {
    background: transparent;
    border: none;
    color: var(--secondary);
    font-family: 'Courier New', monospace;
    font-size: 1.2rem;
    font-weight: bold;
    flex-grow: 1;
    min-width: 50px;
    outline: none;
    caret-color: var(--primary);
    padding: 0;
    margin: 0;
}

.output {
    margin-left: 35px;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeIn 0.5s ease-in-out forwards;
    font-size: 1.1rem;
    width: 100%;
}

.contact-list {
    margin-left: 35px;
    margin-top: 15px;
    width: 100%;
}

.contact-item {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    font-size: 1.1rem;
}

.contact-item i {
    margin-right: 15px;
    width: 25px;
    text-align: center;
    font-size: 1.3rem;
}

.whatsapp-color {
    color: #25D366;
}

.instagram-color {
    color: #E1306C;
}

.github-color {
    color: #f5f5f5;
}

.blue-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0078d7;
    color: white;
    z-index: 1000;
    display: none;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.blue-screen-content {
    max-width: 800px;
    margin: 0 auto;
}

.blue-screen-title {
    font-size: 80px;
    font-weight: bold;
    margin-bottom: 30px;
}

.blue-screen-message {
    font-size: 24px;
    margin-bottom: 30px;
    line-height: 1.3;
}

.blue-screen-details {
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.5;
}

.blue-screen-percentage {
    font-size: 18px;
    margin-bottom: 20px;
}

.blue-screen-footer {
    font-size: 14px;
    margin-top: 30px;
}

.blue-screen-link {
    color: white;
    text-decoration: underline;
}

.text-primary {
    color: var(--primary);
    font-weight: bold;
}

.text-secondary {
    color: var(--secondary);
    font-weight: bold;
}

.highlight {
    background-color: rgba(255, 94, 0, 0.2);
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: bold;
}

/* Animations */
@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink {
    from, to { opacity: 1 }
    50% { opacity: 0 }
}

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

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 94, 0, 0.7) }
    70% { box-shadow: 0 0 0 20px rgba(255, 94, 0, 0) }
    100% { box-shadow: 0 0 0 0 rgba(255, 94, 0, 0) }
}

/* Responsive Styles */
@media (min-width: 768px) {
    body {
        align-items: center;
        padding: 20px;
    }

    .profile-section {
        flex-direction: row;
        align-items: flex-start;
        gap: 40px;
    }

    .profile-image {
        width: 220px;
        height: 220px;
    }

    .command-line {
        align-items: center;
        flex-wrap: nowrap;
    }
}

@media (max-width: 767px) {
    body {
        font-size: 16px;
        padding: 10px;
        min-height: 100vh;
        height: auto;
    }

    .terminal {
        border-radius: 8px;
        margin: 10px 0;
    }

    .terminal-body {
        padding: 15px;
    }

    .profile-image {
        width: 150px;
        height: 150px;
    }

    .command-line {
        font-size: 1rem;
    }

    .prompt {
        font-size: 1.1rem;
    }

    .output {
        margin-left: 0;
        margin-top: 10px;
        font-size: 1rem;
    }

    .contact-list {
        margin-left: 0;
    }

    .contact-item {
        font-size: 1rem;
    }

    .contact-item i {
        margin-right: 10px;
        font-size: 1.1rem;
    }

    #command-input, .command-input {
        font-size: 1rem;
    }

    .blue-screen-title {
        font-size: 60px;
    }

    .blue-screen-message {
        font-size: 20px;
    }

    .blue-screen-details {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 14px;
        padding: 5px;
    }

    .terminal {
        margin: 5px 0;
    }

    .profile-image {
        width: 120px;
        height: 120px;
    }

    .terminal-header {
        padding: 8px 15px;
    }

    .terminal-title {
        font-size: 1rem;
    }

    .blue-screen {
        padding: 20px;
    }

    .blue-screen-title {
        font-size: 40px;
    }

    .blue-screen-message {
        font-size: 18px;
    }

    .blue-screen-details {
        font-size: 12px;
    }
}

@media (max-height: 600px) {
    .terminal {
        margin: 10px 0;
    }

    .profile-section {
        gap: 20px;
    }

    .profile-image {
        width: 100px;
        height: 100px;
    }

    .blue-screen {
        padding: 20px;
    }
}
