* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-align: center;
    min-width: 300px;
}

h1 {
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.counter-display {
    background: #f8f9fa;
    border: 3px solid #e9ecef;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

#counter {
    font-size: 3rem;
    font-weight: bold;
    color: #495057;
}

.buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 60px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-green {
    background: #28a745;
    color: white;
}

.btn-green:hover {
    background: #218838;
}

.btn-red {
    background: #dc3545;
    color: white;
}

.btn-red:hover {
    background: #c82333;
}

.btn-gray {
    background: #6c757d;
    color: white;
}

.btn-gray:hover {
    background: #5a6268;
}

.info {
    color: #666;
    font-size: 0.9rem;
}

.info p {
    margin: 0.5rem 0;
}

#message {
    font-weight: bold;
    min-height: 1.2rem;
}

.limit {
    color: #dc3545;
}

.normal {
    color: #28a745;
}