* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

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

.container {
    width: 100%;
    max-width: 500px;
    text-align: center;
}

.game-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
    margin-bottom: 1rem;
}

.game-card:hover {
    transform: translateY(-5px);
}

h1 {
    color: #2d3748;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

h2 {
    color: #4a5568;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.game-section {
    transition: opacity 0.3s ease;
}

.hidden {
    display: none;
    opacity: 0;
}

.input-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    color: #4a5568;
    font-weight: 500;
}

input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

input:focus {
    outline: none;
    border-color: #667eea;
}

.btn {
    width: 100%;
    padding: 0.75rem;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.primary {
    background: #667eea;
    color: white;
}

.primary:hover {
    background: #5a67d8;
    transform: translateY(-2px);
}

.secondary {
    background: #e2e8f0;
    color: #4a5568;
    margin-top: 1rem;
}

.secondary:hover {
    background: #cbd5e0;
}

.message {
    margin: 1rem 0;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    font-weight: 500;
}

.attempts {
    text-align: center;
    color: #4a5568;
    font-weight: 500;
    margin-bottom: 1rem;
}

.powered-by {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    margin-top: 1rem;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.shake {
    animation: shake 0.3s ease-in-out;
}

@media (max-width: 480px) {
    .game-card {
        padding: 1.5rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.25rem;
    }
} 