body {
    margin: 0;
    padding: 0;
    background-color: #000;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: white;
    overflow: hidden;
    position: relative;
    height: 100vh;
}

/* ГИГАНТСКАЯ СВЕТЯШКА */
body::after {
    content: '';
    position: absolute;
    bottom: -800px;
    right: -800px;
    width: 2500px; 
    height: 2500px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.site-header {
    position: absolute;
    top: 30px;
    left: 40px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 5px;
    color: rgba(255, 255, 255, 0.8);
    z-index: 10;
}

.container {
    position: relative;
    z-index: 5;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

.counter-box {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 20px;
}

.image-wrapper {
    position: relative;
    width: 350px;
    height: 350px;
    margin-bottom: 30px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 10px;
    overflow: hidden;
}

#target-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#fist-overlay {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(0);
    font-size: 100px;
    opacity: 0;
    pointer-events: none;
}

button#hit-button {
    background: #fff;
    color: #000;
    border: none;
    padding: 18px 45px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.2s;
}

button#hit-button:active { transform: scale(0.95); }

/* АНИМАЦИИ */
.shake { animation: shake-anim 0.15s ease-in-out; }
.punch-fist { animation: fist-anim 0.2s ease-out; }

@keyframes shake-anim {
    0% { transform: translate(0); }
    25% { transform: translate(8px, -8px); }
    50% { transform: translate(-8px, 8px); }
    75% { transform: translate(8px, 8px); }
    100% { transform: translate(0); }
}

@keyframes fist-anim {
    0% { transform: translate(-50%, -50%) scale(0.5); opacity: 0; }
    50% { transform: translate(-50%, -50%) scale(1.4); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(1.1); opacity: 0; }
}