@import url('https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --purple: #b24bf3;
    --pink: #e94c89;
    --orange: #ff6b35;
    --gradient: linear-gradient(135deg, #b24bf3 0%, #e94c89 50%, #ff6b35 100%);
    --gradient2: linear-gradient(135deg, #4ade80 0%, #22c55e 50%, #16a34a 100%);
}

body {
    font-family: 'Source Code Pro', monospace;
    background-color: #0a0a0a;
    color: #b24bf3;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
    height: 100dvh;
    height: 100vh;
    overflow: hidden;
}

header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 40px;
    background-color: #1a1a1a;
    border-bottom: 2px solid transparent;
    border-image: var(--gradient) 1;
}

.logo {
    font-family: 'Courier New', Courier, monospace;
    font-size: 28px;
    font-weight: bold;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 10px #b24bf3);
    margin: 0;
}

.contact {
    display: flex;
    gap: 30px;
}

.contact-link {
    color: #ff6b35;
    text-decoration: none;
    font-size: 16px;
    padding: 8px 16px;
    border: 1px solid #ff6b35;
    transition: all .3s ease;
    position: relative;
}

.contact-link:hover {
    background: var(--gradient);
    color: #0a0a0a;
    border-color: transparent;
    box-shadow: 0 0 15px #e94c89;
}

main {
    flex: 1;
    padding: 40px 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (min-width: 1600px) {
    main {
        padding: 60px 80px;
    }
}

.terminal-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
    width: 100%;
    max-width: 1800px;
    height: 80vh;
}

@media (min-width: 1600px) {
    .terminal-container {
        max-width: 2000px;
        gap: 40px;
    }
}

.menu-terminal,
.display-terminal {
    background-color: #1a1a1a;
    border: 2px solid transparent;
    border-radius: 4px;
    border-image: var(--gradient) 1;
    box-shadow: 0 0 20px rgba(178, 75, 243, .3);
    overflow: hidden;
}

.menu-terminal {
    display: flex;
    flex-direction: column;
}

.terminal-header {
    background: var(--gradient);
    color: #0a0a0a;
    padding: 10px 15px;
    font-weight: bold;
    font-size: 14px;
    letter-spacing: 2px;
}

.terminal-content {
    padding: 20px;
    min-height: auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.menu-item {
    padding: 12px 0;
    font-size: 20px;
    cursor: pointer;
    transition: all .2s ease;
    display: flex;
    align-items: center;
}

.menu-item:hover {
    padding-left: 10px;
}

.selector {
    width: 30px;
    display: inline-block;
    color: #ff6b35;
    font-weight: bold;
    font-size: 24px;
    text-shadow: 0 0 10px #ff6b35;
}

.menu-text {
    color: #b24bf3;
    text-shadow: 0 0 5px #b24bf3;
}

.menu-item.active .menu-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 10px #e94c89);
}

.display-terminal .terminal-content {
    font-size: 16px;
    line-height: 1.6;
}

.section-content {
    animation: fadeIn .3s ease-in;
}

.section-content.hidden {
    display: none;
}

.section-content h2 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    padding-left: 15px;
    color: #ff6b35;
    text-shadow: 0 0 15px #ff6b35;
    border-left: 4px solid #ff6b35;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: .5;
    }
}

.section-content p {
    margin-bottom: 8px;
}

.terminal-link {
    color: #00d9ff;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: all .3s ease;
    text-shadow: 0 0 5px #00d9ff;
}

.terminal-link:hover {
    color: #00ffff;
    text-shadow: 0 0 10px #00ffff;
    text-decoration-color: #00ffff;
}

.devmode-toggle {
    margin-top: auto;
    padding: 12px 0;
    font-size: 18px;
    cursor: pointer;
    transition: all .2s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(178, 75, 243, .3);
    padding-top: 20px;
}

.devmode-toggle:hover {
    padding-left: 10px;
}

.toggle-text {
    color: #e94c89;
    text-shadow: 0 0 5px #e94c89;
}

.toggle-indicator {
    color: #ff6b35;
    font-weight: bold;
    text-shadow: 0 0 5px #ff6b35;
    font-family: monospace;
}

.devmode-toggle.active .toggle-indicator {
    color: #0f0;
    text-shadow: 0 0 10px #0f0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tablet styles */
@media (max-width: 1024px) {
    body {
        flex-direction: column;
        height: 100vh;
        overflow: hidden;
    }
    
    header {
        flex-shrink: 0;
    }
    
    main {
        padding: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        flex: 1;
        overflow: hidden;
    }
    
    .terminal-container {
        grid-template-columns: 1fr;
        display: flex;
        flex-direction: column;
        gap: 0;
        max-width: 100%;
        height: 100%;
    }
    
    .display-terminal {
        order: -1;
        height: 50%;
        flex-shrink: 0;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }
    
    .display-terminal .terminal-content {
        flex: 1;
        overflow-y: auto;
    }
    
    .menu-terminal {
        max-height: none;
        height: 50%;
        flex-shrink: 0;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }
    
    .menu-terminal .terminal-content {
        flex: 1;
        overflow-y: auto;
    }
}

/* Mobile styles */
@media (max-width: 768px) {
    body {
        flex-direction: column;
        height: 100vh;
        overflow: hidden;
    }
    
    header {
        flex-direction: row;
        justify-content: center;
        padding: 20px;
        border-bottom: 2px solid transparent;
        flex-shrink: 0;
    }
    
    .contact {
        display: none;
    }
    
    main {
        padding: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        flex: 1;
        overflow: hidden;
    }
    
    .terminal-container {
        display: flex;
        flex-direction: column;
        gap: 0;
        max-width: 100%;
        height: 100%;
    }
    
    .display-terminal {
        order: -1;
        border-radius: 0;
        height: 50%;
        flex-shrink: 0;
        border-top: none;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }
    
    .display-terminal .terminal-content {
        overflow-y: auto;
        flex: 1;
        padding: 20px;
    }
    
    .menu-terminal {
        border-radius: 0;
        height: 50%;
        flex-shrink: 0;
        display: flex;
        flex-direction: column;
        max-height: none;
        overflow: hidden;
    }
    
    .menu-terminal .terminal-header {
        display: block;
    }
    
    .menu-terminal .terminal-content {
        padding: 20px;
        display: flex;
        flex-direction: column;
        gap: 0;
        min-height: auto;
        overflow-y: auto;
        flex: 1;
    }
    
    .menu-item {
        background: transparent;
        border: none;
        padding: 12px 0;
        font-size: 20px;
        border-radius: 0;
        box-shadow: none;
        transition: all .2s ease;
        flex-shrink: 0;
        display: flex;
        align-items: center;
    }
    
    .menu-item:hover {
        box-shadow: none;
        transform: none;
        padding-left: 10px;
    }
    
    .menu-item.active {
        background: transparent;
        box-shadow: none;
    }
    
    .selector {
        display: inline-block;
        width: 30px;
        color: #ff6b35;
        font-weight: bold;
        font-size: 24px;
        text-shadow: 0 0 10px #ff6b35;
    }
    
    .menu-text {
        font-size: 20px;
        font-weight: normal;
        text-align: left;
        width: auto;
        color: #b24bf3;
        text-shadow: 0 0 5px #b24bf3;
    }
    
    .menu-item.active .menu-text {
        background: var(--gradient);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        filter: drop-shadow(0 0 10px #e94c89);
    }
    
    .devmode-toggle {
        background: transparent;
        border: none;
        padding: 12px 0;
        text-align: left;
        font-size: 18px;
        border-radius: 0;
        box-shadow: none;
        transition: all .2s ease;
        margin-top: auto;
        border-top: 1px solid rgba(178, 75, 243, .3);
        padding-top: 20px;
        justify-content: space-between;
        gap: 0;
        display: flex;
        align-items: center;
    }
    
    .devmode-toggle:hover {
        box-shadow: none;
        transform: none;
        padding-left: 10px;
    }
    
    .mobile-contact {
        display: flex;
        flex-direction: column;
        gap: 15px;
        padding: 20px;
        background-color: #1a1a1a;
        border-top: 2px solid transparent;
        border-image: var(--gradient) 1;
    }
    
    .mobile-contact .contact-link {
        display: block;
        text-align: center;
        padding: 15px;
        font-size: 18px;
    }
}

.mobile-contact {
    display: none;
}