/* Mankinator Frontend Game Styles */

#mankinator-container {
    max-width: 600px;
    margin: 20px auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.mankinator-game {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

.mankinator-header {
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 20px;
}

.mankinator-header h2 {
    margin: 0 0 10px;
    color: #333;
    font-size: 28px;
}

.mankinator-header p {
    color: #666;
    margin: 0;
    font-size: 14px;
}

.mankinator-content {
    margin: 30px 0;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mankinator-question {
    font-size: 18px;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.5;
    text-align: center;
}

.mankinator-guess {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #4CAF50;
}

.mankinator-guess h3 {
    margin-top: 0;
    color: #333;
}

.mankinator-guess-name {
    font-size: 24px;
    font-weight: bold;
    color: #4CAF50;
    margin: 10px 0;
}

.mankinator-guess-description {
    color: #666;
    font-style: italic;
    margin: 10px 0;
}

.mankinator-unknown {
    background: #fff3cd;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #ffc107;
    color: #856404;
    text-align: center;
}

.mankinator-unknown-form {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #ffc107;
}

.mankinator-unknown-form input,
.mankinator-unknown-form textarea {
    width: 100%;
    margin: 10px 0;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
    font-family: inherit;
}

.mankinator-unknown-form textarea {
    resize: vertical;
    min-height: 80px;
}

.mankinator-controls {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.mankinator-btn {
    padding: 12px 24px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    min-width: 100px;
}

.mankinator-btn-primary {
    background: #4CAF50;
    color: white;
}

.mankinator-btn-primary:hover {
    background: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.mankinator-btn-secondary {
    background: #2196F3;
    color: white;
}

.mankinator-btn-secondary:hover {
    background: #0b7dda;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.mankinator-btn-danger {
    background: #f44336;
    color: white;
}

.mankinator-btn-danger:hover {
    background: #da190b;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.mankinator-btn-light {
    background: #e0e0e0;
    color: #333;
}

.mankinator-btn-light:hover {
    background: #d0d0d0;
}

.mankinator-btn-light.inactive {
    background: #f5f5f5;
    color: #999;
    cursor: default;
    opacity: 0.5;
}

.mankinator-progress {
    margin: 20px 0;
    text-align: center;
    color: #666;
    font-size: 14px;
}

.mankinator-counter {
    display: inline-block;
    background: #f0f0f0;
    padding: 5px 15px;
    border-radius: 20px;
    margin: 0 5px;
}

.mankinator-stats {
    margin-top: 30px;
    border-top: 2px solid #e0e0e0;
    padding-top: 20px;
}

.mankinator-stats h3 {
    margin-top: 0;
}

.mankinator-stats ul {
    list-style: none;
    padding: 0;
}

.mankinator-stats li {
    padding: 10px;
    background: #f5f5f5;
    margin: 5px 0;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stat-name {
    font-weight: 500;
    color: #333;
}

.stat-number {
    background: #4CAF50;
    color: white;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 12px;
}

.mankinator-loading {
    text-align: center;
    color: #999;
}

.mankinator-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #4CAF50;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 600px) {
    .mankinator-game {
        padding: 20px;
    }
    
    .mankinator-btn {
        padding: 10px 16px;
        font-size: 14px;
        min-width: auto;
        flex: 1;
    }
    
    .mankinator-header h2 {
        font-size: 24px;
    }
}
