@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@400;700&family=Teko:wght@400;600&display=swap');

body {
    font-family: 'Chakra Petch', sans-serif;
    background-color: #111827;
    color: #d1d5db;
    overflow-x: hidden
}

.font-tech {
    font-family: 'Teko', sans-serif
}

.recycle-bg {
    background: repeating-linear-gradient(45deg, #064e3b, #064e3b 20px, #065f46 20px, #065f46 40px);
    min-height: 100vh;
    position: relative
}

.machinery {
    background: #1f2937;
    border: 4px solid #374151;
    border-radius: 10px;
    padding: 20px;
    position: relative;
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.8)
}

.gears {
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 4rem;
    color: #10b981;
    animation: spin 10s linear infinite
}

@keyframes spin {
    to {
        transform: rotate(360deg)
    }
}

.conveyor {
    height: 120px;
    background: #374151;
    margin: 20px 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-top: 5px solid #4b5563;
    border-bottom: 5px solid #4b5563
}

.conveyor::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(90deg, transparent, transparent 50px, rgba(0, 0, 0, 0.2) 50px, rgba(0, 0, 0, 0.2) 100px);
    animation: moveBelt 2s linear infinite
}

@keyframes moveBelt {
    from {
        transform: translateX(0)
    }

    to {
        transform: translateX(-100px)
    }
}

.waste-item {
    width: 100px;
    height: 100px;
    background: #10b981;
    border: 4px solid #065f46;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    color: #fff;
    font-weight: bold;
    font-size: 1.5rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4)
}

.fraction-line {
    width: 60%;
    height: 3px;
    background: white;
    margin: 5px 0
}

.crusher {
    width: 100%;
    height: 20px;
    background: #ef4444;
    transition: height 0.2s
}

.crusher.active {
    height: 100px
}

.screen-lcd {
    background: #000;
    color: #10b981;
    font-family: 'Courier New', monospace;
    padding: 10px;
    border-radius: 4px;
    border: 2px solid #064e3b;
    text-align: center;
    text-shadow: 0 0 5px #10b981
}

.btn-recycle {
    background: #059669;
    color: white;
    border: none;
    padding: 10px 20px;
    font-family: 'Teko';
    font-size: 1.5rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.1s
}

.btn-recycle:hover {
    background: #047857;
    transform: scale(1.05)
}

.factor-btn {
    background: #374151;
    border: 2px solid #10b981;
    color: #10b981;
    padding: 8px;
    font-weight: bold;
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.1s
}

.factor-btn:hover {
    background: #064e3b;
    color: white
}

.factor-btn.active {
    background: #10b981;
    color: black
}

/* High-quality claymation background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('clay_background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: -1;
}