body {
    font-family: 'JetBrains Mono', monospace;
    background: #050505;
    color: #fff;
    overflow-x: hidden;
}

.heading-font {
    font-family: 'Inter', sans-serif;
}

.blueprint-grid {
    background-image: radial-gradient(circle, #1a1a1a 1px, transparent 1px);
    background-size: 30px 30px;
}

.bento-card {
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.bento-card:hover {
    border-color: #9c3bf6;
    transform: translateY(-2px);
}

.active-color {
    border: 2px solid #9c3bf6 !important;
    box-shadow: 0 0 15px rgba(156, 59, 246, 0.4);
    transform: scale(1.1);
}

.active-size,
.active-preset {
    background-color: #9c3bf6 !important;
    color: #fff !important;
    border-color: #9c3bf6 !important;
}

#production-list {
    transition: all 0.5s ease;
}

[onclick] {
    transition: all 0.2s ease-in-out;
}

#hud-items button {
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: #9c3bf6;
    box-shadow: 0 0 8px #9c3bf6;
    transition: all 0.3s ease;
    border: none;
}

#hud-items button:hover {
    transform: scale(1.5);
    filter: brightness(1.2);
}

#content-layer {
    transition: opacity 0.5s ease;
    background: black;
}

.upload-feedback {
    font-size: 8px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.mechanical-part {
    transition: transform 0.6s cubic-bezier(0.17, 0.84, 0.44, 1), opacity 0.3s;
}

.u-block-initial {
    transform: translateY(-100vh);
    opacity: 0;
}

.e-block-initial {
    transform: translateY(100vh);
    opacity: 0;
}

.expansion-chamber {
    display: inline-flex;
    overflow: hidden;
    width: 0;
    white-space: nowrap;
    align-items: center;
    transition: width 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.ue-core {
    font-size: 18vw;
    font-weight: 900;
    font-style: italic;
    line-height: 0.8;
    flex-shrink: 0;
}

.expansion-text {
    font-size: 8vw;
    font-weight: 900;
    font-style: italic;
    letter-spacing: -0.05em;
}

@media (max-width: 768px) {
    .mobile-order-trigger {
        display: none;
    }

    #production-log.active-page .mobile-order-trigger {
        display: flex;
        position: fixed;
        bottom: 24px;
        left: 16px;
        right: 16px;
        z-index: 100;
        box-shadow: 0 20px 40px rgba(0,0,0,0.6);
        animation: slideUp 0.3s steps(4);
    }
}

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