body {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    font-family: 'Courier New', monospace;
    color: #f0f0f0;
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    max-width: 75rem;
    margin: 0 auto;
    padding: 2.5rem 1.25rem;
}

.title {
    text-align: center;
    margin-bottom: 3.125rem;
    font-size: 2.5rem;
    color: #FFFFFF;
    text-shadow: 0 0 1.25rem rgba(255, 107, 53, 0.5);
    letter-spacing: 0.188rem;
}

.filing-cabinet {
    perspective: 62.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.875rem;
    margin-bottom: 3.125rem;
}

.file-drawer {
    position: relative;
    height: 450px;
    transform-style: preserve-3d;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 0.125rem solid #555;
    border-radius: 0.625rem;
    box-shadow: 0 0.625rem 1.875rem rgba(0, 0, 0, 0.5);
}

.file-drawer:hover {
    transform: translateY(-0.625rem);
}

.file-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ad8762;
    border: 0.125rem solid #555;
    border-radius: 0.625rem;
    box-shadow: 0 0.625rem 1.875rem rgba(0, 0, 0, 0.5);
    transform-origin: left center;
    transition: ease-out 0.8s;
    z-index: 13;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.file-cover::before {
    content: 'CONFIDENTIEL';
    font-size: 2rem;
    font-weight: bold;
    color: rgba(0, 0, 0, 0.2);
    letter-spacing: 0.5rem;
    transform: rotate(-25deg);
    text-align: center;
}

.file-drawer:hover .file-cover {
    transform: rotateY(-120deg);
    /* content-visibility: hidden; */
    transition: ease-in-out 0.8s;
    box-shadow: -0.625rem 0.625rem 1.875rem rgba(0, 0, 0, 0.6);
}

.file-tab {
    position: absolute;
    top: -1.500rem;
    left: 1.25rem;
    background: #f2efefFF;
    color: #1a1a1a;
    padding: 0.313rem 0.938rem;
    border: #ad8762 0.250rem solid;
    border-radius: 0.313rem 0.313rem 0 0;
    font-weight: bold;
    font-size: 0.75rem;
    box-shadow: 0 -0.313rem 0.625rem rgba(255, 107, 53, 0.3);
    z-index: 11;
}

.file-content {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: #ad8762;
    border: 1rem solid #ad8762;
    border-radius: 0.625rem;
    overflow: hidden;
    box-shadow: 0 0.625rem 1.875rem rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

.file-preview {
    width: 100%;
    height: 12.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    /* transition: all 0.3s ease; */
}

.file-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: #FFFFFF 0.313rem solid;
    transition: all 1s ease;
}

.file-content:hover .file-preview img {
    transform: scale(1.05);
}

.file-info {
    padding: 0.938rem;
    background: #FFFFFF;
    opacity: 0.95;
    height: calc(100% - 12.5rem);
    display: flex;
    flex-direction: column;
}

.file-title {
    font-size: 1.2rem;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.file-description {
    font-size: 1rem;
    line-height: 1.4;
    color: #1a1a1a;
    flex-grow: 1;
}

.file-tech {
    margin-top: 0.625rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.313rem;
}

.tech-tag {
    background: rgba(243, 44, 44, 0.2);
    color: #1a1a1a;
    padding: 0.125rem 0.5rem;
    border-radius: 0.75rem;
    font-size: 0.938rem;
    border: 0.063rem solid rgba(219, 24, 24, 0.3);
}

.project-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

.project-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-desk {
    background: linear-gradient(45deg, #ccc, #545252);
    border-radius: 0.938rem;
    padding: 1.875rem;
    max-width: 90%;
    max-height: 90%;
    position: relative;
    box-shadow: 0 1.875rem 5rem rgba(0, 0, 0, 0.8);
    transform: scale(0.8);
    animation: slideUp 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    overflow-y: auto;
}

.close-btn {
    position: absolute;
    top: 0.938rem;
    right: 1.25rem;
    background: #1a1a1a;
    color: #FFFFFF;
    border: none;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.close-btn:hover {
    background: #FFFFFF;
    color: #1a1a1a;
    transform: rotate(180deg);
}

.project-full {
    text-align: center;
}

.project-full img {
    max-width: 100%;
    max-height: 25rem;
    height: 20rem;
    border-radius: 0.625rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 0.625rem 1.875rem rgba(0, 0, 0, 0.5);
}

.project-full h2 {
    color: #FFFFFF;
    margin-bottom: 0.938rem;
    font-size: 2rem;
}

.project-full p {
    color: #FFFFFF;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    max-width: 50rem;
    margin-left: auto;
    margin-right: auto;
}

.project-links {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    margin-top: 1.25rem;
    flex-wrap: wrap;
}

.project-link {
    background: #1a1a1a;
    color: #FFFFFF;
    padding: 0.625rem 1.25rem;
    text-decoration: none;
    font-size: 1.5rem;
    border-radius: 1.563rem;
    transition: all 0.3s ease;
    font-weight: bold;
}

.project-link:hover {
    background: #666;
    transform: translateY(-2px);
    box-shadow: 0 0.313rem 0.938rem rgba(255, 107, 53, 0.4);
}

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

@keyframes slideUp {
    from {
        transform: scale(0.8) translateY(100px);
        opacity: 0;
    }
    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.classified-stamp {
    position: absolute;
    top: 0.625rem;
    right: 0.625rem;
    background: #f2efefFF;
    color: #dc143c;
    padding: 0.313rem 0.625rem;
    border: #dc143c 0.125rem solid;
    border-radius: 0.188rem;
    font-size: 0.7rem;
    font-weight: bold;
    transform: rotate(15deg);
    z-index: 12;
}

@keyframes typewriter {
    from { width: 0; }
    to { width: 100%; }
}

.typewriter {
    overflow: hidden;
    white-space: nowrap;
    animation: typewriter 2s steps(40, end);
    border-right: 0.188rem solid #ff6b35;
    animation: typewriter 2s steps(40, end), blink 1s infinite;
}

@keyframes blink {
    0%, 50% { border-color: #ff6b35; }
    51%, 100% { border-color: transparent; }
}