* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'ZCOOL KuaiLe', cursive;
    background-color: #f0f0f0;
    background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    text-align: center;
    max-width: 600px;
    width: 90%;
}

h1 {
    color: #1a2a6c;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    font-weight: normal;
}

.difficulty {
    margin-bottom: 2rem;
}

.controls {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.reset-container {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px dashed #ddd;
}

.reset-btn {
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    background-color: #ff6b6b;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    font-family: 'ZCOOL KuaiLe', cursive;
}

.reset-btn:hover {
    background-color: #ff5252;
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.difficulty-btn {
    padding: 0.5rem 1rem;
    margin: 0 0.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    background-color: #ddd;
    font-family: 'ZCOOL KuaiLe', cursive;
    transition: all 0.3s ease;
}

.difficulty-btn:hover {
    transform: scale(1.05);
}

.difficulty-btn.active {
    background-color: #2196F3;
    color: white;
}

.result {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    align-items: center;
}

.player-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.result-label {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 0.5rem;
    font-weight: normal;
}

.score-display {
    font-size: 1.2rem;
    color: #1a2a6c;
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.vs {
    font-size: 2rem;
    color: #1a2a6c;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.result-box {
    width: 100px;
    height: 100px;
    border: 2px solid #4CAF50;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
    overflow: hidden;
    background: white;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.result-box:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.choice-btn {
    padding: 1rem 2rem;
    margin: 0 0.5rem;
    font-size: 1.2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    background-color: #2196F3;
    color: white;
    transition: all 0.3s ease;
    font-family: 'ZCOOL KuaiLe', cursive;
    margin-bottom: 1rem;
}

.choice-btn:hover {
    background-color: #1976D2;
    transform: scale(1.05);
}

.choice-btn:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
    transform: none;
}

.round-result {
    font-size: 1.5rem;
    margin: 2rem 0;
    color: #1a2a6c;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    animation: fadeIn 0.5s ease;
}

.result-win {
    color: #4CAF50;
}

.result-lose {
    color: #f44336;
}

.result-tie {
    color: #ff9800;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.author {
    margin-top: 2rem;
    font-size: 0.9rem;
    color: #666;
}

.author a {
    color: #1a2a6c;
    text-decoration: none;
    transition: all 0.3s ease;
}

.author a:hover {
    color: #2196F3;
    text-decoration: underline;
}

@media (max-width: 480px) {
    .container {
        padding: 1rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .choice-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .result-box {
        width: 80px;
        height: 80px;
    }
    
    .score-display {
        font-size: 1rem;
        padding: 0.3rem 0.5rem;
    }
    
    .vs {
        font-size: 1.5rem;
    }
    
    .reset-container {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
    }
    
    .reset-btn {
        font-size: 1rem;
        padding: 0.6rem 1.5rem;
    }
    
    .author {
        margin-top: 1.5rem;
        font-size: 0.8rem;
    }
} 