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

body {
    font-family: 'Fira Code', monospace;
    background: #0a0a0a;
    color: #00ff41;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 580px;
    padding: 0;
}

.terminal-window {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    overflow: hidden;
    width: 100%;
}

.terminal-header {
    background: #2a2a2a;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.btn.red { background: #ff5f56; }
.btn.yellow { background: #ffbd2e; }
.btn.green { background: #27ca3f; }

.terminal-title {
    color: #888;
    font-size: 13px;
    font-weight: 400;
}

.business-card {
    padding: 16px;
    background: #111;
    border-top: 1px solid #333;
    position: relative;
}

.photo-section {
    text-align: center;
    margin-bottom: 12px;
}

.photo-placeholder {
    width: 80px;
    height: 80px;
    border: 2px solid #00ff41;
    border-radius: 50%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a1a1a;
    font-size: 10px;
    color: #666;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.photo-placeholder[style*="background-image"] span {
    display: none;
}

.main-info {
    text-align: center;
    margin-bottom: 14px;
}

.name {
    font-size: 20px;
    font-weight: 600;
    color: #00ff41;
    margin-bottom: 4px;
    letter-spacing: 1px;
}

.title {
    font-size: 16px;
    color: #0dd4ff;
    margin-bottom: 8px;
    font-weight: 400;
}

.education {
    font-size: 13px;
    color: #888;
    font-weight: 300;
}

.experience {
    font-size: 12px;
    color: #777;
    font-weight: 300;
    margin-top: 2px;
}

.contact-info {
    margin-bottom: 16px;
    text-align: left;
}

.contact-item {
    font-size: 11px;
    color: #888;
    margin-bottom: 2px;
    font-weight: 300;
}

.experience-section {
    margin-bottom: 12px;
}

.job {
    margin-bottom: 8px;
    padding: 8px;
    border: 1px solid #333;
    border-radius: 4px;
    background: #0f0f0f;
}

.company-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo-placeholder {
    width: 50px;
    height: 50px;
    border: 1px solid #666;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: #666;
    background: #1a1a1a;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.logo-placeholder[style*="background-image"] span {
    display: none;
}

.logo-placeholder.europol {
    border-color: #0dd4ff;
    color: #0dd4ff;
}

.logo-placeholder.pj {
    border-color: #666;
}

.job-details h3 {
    font-size: 14px;
    color: #fff;
    margin-bottom: 4px;
    font-weight: 500;
}

.job-details p {
    font-size: 13px;
    color: #ccc;
    margin-bottom: 6px;
}

.status {
    font-size: 11px;
    color: #666;
    font-weight: 400;
}

.status.active {
    color: #00ff41;
    animation: pulse 2s infinite;
}

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

.bottom-sections {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.earlier-experience {
    flex: 1;
    padding: 8px;
    border: 1px solid #2a2a2a;
    border-radius: 4px;
    background: #0a0a0a;
}

.earlier-experience h4 {
    font-size: 11px;
    color: #888;
    margin-bottom: 6px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.company-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.company-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px;
    border: 1px solid #2a2a2a;
    border-radius: 2px;
    background: #111;
}

.logo-placeholder-small {
    width: 24px;
    height: 24px;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    font-weight: 500;
    flex-shrink: 0;
    background-size: contain !important;
    background-position: center;
    background-repeat: no-repeat;
    object-fit: contain;
}

.logo-placeholder-small[style*="background-image"] span {
    display: none;
}

.logo-placeholder-small.QuarksLab {
    background: #1a1a1a;
    border: 1px solid #ff6b35;
    color: #ff6b35;
}

.logo-placeholder-small.orange {
    background: #1a1a1a;
    border: 1px solid #ff8c00;
    color: #ff8c00;
}

.logo-placeholder-small.digital {
    background: #1a1a1a;
    border: 1px solid #9c27b0;
    color: #9c27b0;
}

.company {
    font-size: 11px;
    color: #666;
    font-weight: 300;
    flex: 1;
}

.annex-activities {
    flex: 1;
    padding: 8px;
    border: 1px solid #1a1a1a;
    border-radius: 4px;
    background: #0f0f0f;
}

.annex-activities h4 {
    font-size: 11px;
    color: #0dd4ff;
    margin-bottom: 6px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.activity {
    font-size: 10px;
    color: #888;
    padding: 2px 6px;
    border-left: 2px solid #0dd4ff;
    background: #111;
    font-weight: 300;
    padding-left: 8px;
}

.skills-section {
    margin-bottom: 12px;
}

.skills-section h3 {
    font-size: 14px;
    color: #fff;
    margin-bottom: 8px;
    font-weight: 500;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    background: #1a1a1a;
    color: #00ff41;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    border: 1px solid #333;
    font-weight: 400;
}

.footer {
    margin-top: 8px;
    text-align: center;
    padding-top: 8px;
    border-top: 1px solid #333;
}

.glitch {
    font-size: 11px;
    color: #666;
    position: relative;
    font-weight: 400;
    letter-spacing: 1px;
}

.glitch::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: #ff0040;
    overflow: hidden;
    animation: glitch1 3s infinite;
}

.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: #00ffff;
    overflow: hidden;
    animation: glitch2 3s infinite;
}

@keyframes glitch1 {
    0% { clip: rect(0, 900px, 0, 0); }
    5% { clip: rect(0, 900px, 0, 0); }
    10% { clip: rect(0, 900px, 0, 0); }
    15% { clip: rect(0, 900px, 0, 0); }
    20% { clip: rect(0, 900px, 0, 0); }
    25% { clip: rect(0, 900px, 0, 0); }
    30% { clip: rect(0, 900px, 0, 0); }
    35% { clip: rect(0, 900px, 0, 0); }
    40% { clip: rect(0, 900px, 0, 0); }
    45% { clip: rect(0, 900px, 0, 0); }
    50% { clip: rect(0, 900px, 0, 0); }
    55% { clip: rect(0, 900px, 0, 0); }
    60% { clip: rect(0, 900px, 0, 0); }
    65% { clip: rect(0, 900px, 0, 0); }
    70% { clip: rect(0, 900px, 0, 0); }
    75% { clip: rect(0, 900px, 0, 0); }
    80% { clip: rect(0, 900px, 0, 0); }
    85% { clip: rect(0, 900px, 0, 0); }
    90% { clip: rect(0, 900px, 0, 0); }
    95% { clip: rect(0, 900px, 0, 0); }
    100% { clip: rect(0, 900px, 0, 0); }
}

@keyframes glitch2 {
    0% { clip: rect(0, 900px, 0, 0); }
    5% { clip: rect(0, 900px, 0, 0); }
    10% { clip: rect(0, 900px, 0, 0); }
    15% { clip: rect(0, 900px, 0, 0); }
    20% { clip: rect(0, 900px, 0, 0); }
    25% { clip: rect(0, 900px, 0, 0); }
    30% { clip: rect(0, 900px, 0, 0); }
    35% { clip: rect(0, 900px, 0, 0); }
    40% { clip: rect(0, 900px, 0, 0); }
    45% { clip: rect(0, 900px, 0, 0); }
    50% { clip: rect(0, 900px, 0, 0); }
    55% { clip: rect(0, 900px, 0, 0); }
    60% { clip: rect(0, 900px, 0, 0); }
    65% { clip: rect(0, 900px, 0, 0); }
    70% { clip: rect(0, 900px, 0, 0); }
    75% { clip: rect(0, 900px, 0, 0); }
    80% { clip: rect(0, 900px, 0, 0); }
    85% { clip: rect(0, 900px, 0, 0); }
    90% { clip: rect(0, 900px, 0, 0); }
    95% { clip: rect(0, 900px, 0, 0); }
    100% { clip: rect(0, 900px, 0, 0); }
}

/* Tablet and small desktop screens */
@media (max-width: 768px) {
    body {
        padding: 8px;
    }
    
    .container {
        max-width: 100%;
    }
    
    .terminal-header {
        padding: 10px 12px;
    }
    
    .terminal-title {
        font-size: 12px;
    }
    
    .business-card {
        padding: 14px;
    }
    
    .name {
        font-size: 18px;
    }
    
    .title {
        font-size: 15px;
    }
    
    .education {
        font-size: 12px;
    }
    
    .job-details h3 {
        font-size: 13px;
    }
    
    .job-details p {
        font-size: 12px;
    }
    
    .tag {
        font-size: 11px;
        padding: 5px 10px;
    }
}

/* Mobile screens */
@media (max-width: 480px) {
    body {
        padding: 5px;
        align-items: flex-start;
        padding-top: 10px;
    }
    
    .container {
        width: 100%;
        max-width: 100%;
    }
    
    .terminal-window {
        border-radius: 6px;
    }
    
    .terminal-header {
        padding: 8px 10px;
        gap: 8px;
    }
    
    .terminal-buttons {
        gap: 4px;
    }
    
    .btn {
        width: 10px;
        height: 10px;
    }
    
    .terminal-title {
        font-size: 11px;
    }
    
    .business-card {
        padding: 12px;
    }
    
    .photo-placeholder {
        width: 65px;
        height: 65px;
        font-size: 9px;
    }
    
    .contact-info {
        margin-bottom: 12px;
    }
    
    .contact-item {
        font-size: 10px;
    }
    
    .main-info {
        margin-bottom: 12px;
    }
    
    .name {
        font-size: 16px;
        letter-spacing: 0.5px;
    }
    
    .title {
        font-size: 14px;
        margin-bottom: 6px;
    }
    
    .education {
        font-size: 11px;
        line-height: 1.3;
    }
    
    .experience-section {
        margin-bottom: 10px;
    }
    
    .job {
        padding: 8px;
        margin-bottom: 6px;
    }
    
    .company-info {
        gap: 12px;
    }
    
    .logo-placeholder {
        width: 40px;
        height: 40px;
        font-size: 8px;
    }
    
    .job-details h3 {
        font-size: 12px;
        margin-bottom: 3px;
    }
    
    .job-details p {
        font-size: 11px;
        margin-bottom: 4px;
    }
    
    .status {
        font-size: 10px;
    }
    
    .skills-section {
        margin-bottom: 10px;
    }
    
    .skills-section h3 {
        font-size: 12px;
        margin-bottom: 6px;
    }
    
    .tags {
        gap: 6px;
        justify-content: center;
    }
    
    .tag {
        font-size: 10px;
        padding: 4px 8px;
    }
    
    .bottom-sections {
        flex-direction: column;
        gap: 8px;
        margin-bottom: 10px;
    }
    
    .earlier-experience,
    .annex-activities {
        padding: 6px;
    }
    
    .earlier-experience h4,
    .annex-activities h4 {
        font-size: 10px;
        margin-bottom: 5px;
    }
    
    .company-list {
        gap: 4px;
    }
    
    .company-item {
        gap: 6px;
        padding: 3px;
    }
    
    .logo-placeholder-small {
        width: 20px;
        height: 20px;
        font-size: 7px;
    }
    
    .company {
        font-size: 10px;
    }
    
    .activity-list {
        gap: 3px;
    }
    
    .activity {
        font-size: 9px;
        padding: 2px 6px;
        padding-left: 6px;
    }
    
    .footer {
        margin-top: 6px;
        padding-top: 6px;
    }
    
    .glitch {
        font-size: 9px;
        letter-spacing: 0.5px;
        line-height: 1.2;
    }

    .experience {
        font-size: 11px;
        line-height: 1.3;
    }
    
    .work-status {
        top: 6px;
        right: 6px;
        padding: 3px 6px;
    }
    
    .work-label,
    .work-value {
        font-size: 10px;
    }
}

/* Very small mobile screens */
@media (max-width: 360px) {
    body {
        padding: 3px;
    }
    
    .business-card {
        padding: 10px;
    }
    
    .contact-item {
        font-size: 9px;
    }
    
    .name {
        font-size: 15px;
    }
    
    .title {
        font-size: 13px;
    }
    
    .education {
        font-size: 10px;
    }
    
    .job-details h3 {
        font-size: 11px;
    }
    
    .job-details p {
        font-size: 10px;
    }
    
    .tag {
        font-size: 9px;
        padding: 3px 6px;
    }
    
    .company {
        font-size: 9px;
    }
    
    .activity {
        font-size: 8px;
    }
    
    .glitch {
        font-size: 8px;
    }
} 

.work-status {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 4px 8px;
    border: 1px solid #333;
    border-radius: 4px;
    background: #0f0f0f;
    user-select: none;
    z-index: 10;
}

.work-label {
    font-size: 12px;
    color: #888;
    font-weight: 300;
}

.work-value {
    font-size: 12px;
    color: #ff6b6b;
    font-weight: 400;
    margin-left: 4px;
}

.work-value.available {
    color: #00ff41;
} 