body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f0f2f5;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    overflow: hidden;
}

.container {
    text-align: center;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    width: 90%;
    max-width: 600px;
}

h1 {
    color: #2c3e50;
    margin-bottom: 2rem;
}

.game-area {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    height: 300px;
    margin-bottom: 2rem;
    position: relative;
    border: 2px dashed #ccc;
    border-radius: 10px;
    padding: 20px;
}

.paper-stack {
    position: relative;
    width: 100px;
    height: 140px;
}

.paper {
    font-size: 80px;
    cursor: grab;
    user-select: none;
    transition: transform 0.2s;
    position: absolute;
    top: 0;
    left: 0;
}

.paper:active {
    cursor: grabbing;
}

.paper.dragging {
    opacity: 0.5;
}

.shredder {
    width: 180px;
    position: relative;
}

.shredder-top {
    height: 15px;
    background: #34495e;
    border-radius: 5px 5px 0 0;
}

.shredder-mouth {
    height: 10px;
    background: #2c3e50;
    margin: 0 10px;
}

.shredder-body {
    height: 120px;
    background: #7f8c8d;
    border-radius: 0 0 10px 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: bold;
    font-size: 0.8rem;
    box-shadow: inset 0 -5px 15px rgba(0,0,0,0.2);
}

.shredder-label {
    border: 1px solid rgba(255,255,255,0.3);
    padding: 5px;
}

/* Megsemmisítés animáció */
@keyframes shred {
    0% { transform: translateY(0) scaleY(1); opacity: 1; }
    50% { transform: translateY(50px) scaleY(0.5); opacity: 0.5; }
    100% { transform: translateY(100px) scaleY(0); opacity: 0; }
}

.shredding {
    animation: shred 0.8s forwards ease-in;
}

.counter-container {
    font-size: 1.2rem;
    color: #e74c3c;
    font-weight: bold;
    border-top: 2px solid #eee;
    padding-top: 1rem;
}

#global-count {
    display: inline-block;
    transition: transform 0.2s;
}

.count-bump {
    transform: scale(1.3);
}
