:root {
    --primary-color: hsla(268, 100%, 7%, 0.851);
    --secondary-color: hsl(270, 100%, 14%);
    --text-color: hsl(0, 0%, 86%);
    --accent-color: hsl(141, 76%, 46%);
    --border-radius: 11px;
    --game-max-width: 800px;
}

.game-container {
    max-width: var(--game-max-width);
    margin: 0 auto;
    padding: 50px;
}

.game-header {
    text-align: center;
    margin-bottom: 20px;
}

.game-header h1 {
    color: var(--accent-color);
    font-size: 3rem;
    margin-bottom: 10px;
    font-family: 'October Crow', sans-serif;
    text-shadow: 0 0 10px hsl(141, 76%, 46%);
}

.game-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.game-button {
    padding: 12px 25px;
    font-size: 1rem;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: var(--accent-color);
    color: var(--text-color);
    font-family: 'lazy dog', sans-serif;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.game-button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 0 15px var(--accent-color);
}

.results-container {
    background-color: var(--primary-color);
    padding: 20px;
    border-radius: var(--border-radius);
    border: 1px dashed var(--accent-color);
}

.result-section {
    margin-bottom: 30px;
}

.result-section h3 {
    color: var(--accent-color);
    font-family: 'lazy dog', sans-serif;
    text-align: center;
    margin-bottom: 15px;
}

.player-result {
    margin-bottom: 30px;
}

.player-result h3 {
    color: var(--accent-color);
    font-family: 'lazy dog', sans-serif;
    text-align: center;
    margin-bottom: 15px;
}

.result-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.result-item {
    background-color: var(--secondary-color);
    border: 1px solid var(--accent-color);
    border-radius: var(--border-radius);
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.result-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 15px var(--accent-color);
}

.result-item img {
    max-width: 100%;
    height: 50px;
    object-fit: contain;
    margin-bottom: 10px;
    filter: drop-shadow(0 0 2px var(--accent-color));
}

.result-item p {
    color: var(--text-color);
    font-family: 'lazy dog', sans-serif;
    margin: 0;
    font-size: 0.9rem;
}

.particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
}

@media (max-width: 768px) {
    .game-container {
        padding: 20px;
    }
    
    .game-header h1 {
        font-size: 2rem;
        padding-top: 100px;
    }
    
    .game-controls {
        flex-direction: column;
        align-items: center;
    }
    
    .result-items {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .result-items {
        grid-template-columns: 1fr;
    }
}