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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0a1628 0%, #1a2332 100%);
    color: #e0e6ed;
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 900px;
    margin: 0 auto;
}

.game-header {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #1e3a5f 0%, #2c4a6e 100%);
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.game-header h1 {
    font-size: 2.5rem;
    color: #f4a261;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

.subtitle {
    font-size: 1.1rem;
    color: #bdc3c7;
}

.card {
    background: #1a2838;
    border: 2px solid #2c3e50;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.card h2 {
    color: #64b5f6;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: #0d1b2a;
    border: 1px solid #2c3e50;
    border-radius: 5px;
}

.stat-item label {
    font-weight: bold;
    color: #f4a261;
}

.stat-item > div {
    display: flex;
    align-items: center;
    gap: 10px;
}

input[type="text"],
input[type="number"],
textarea {
    width: 100%;
    padding: 12px;
    background: #0d1b2a;
    border: 2px solid #2c3e50;
    border-radius: 5px;
    color: #e0e6ed;
    font-size: 1rem;
    font-family: inherit;
}

input[type="text"]:focus,
input[type="number"]:focus,
textarea:focus {
    outline: none;
    border-color: #64b5f6;
}

textarea {
    resize: vertical;
    min-height: 150px;
}

button {
    background: linear-gradient(135deg, #2e7d32 0%, #4caf50 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(76, 175, 80, 0.3);
}

button:hover {
    background: linear-gradient(135deg, #388e3c 0%, #66bb6a 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(76, 175, 80, 0.5);
}

button:disabled {
    background: #37474f;
    cursor: not-allowed;
    opacity: 0.6;
    transform: none;
}

.btn-points {
    padding: 8px 15px;
    font-size: 0.9rem;
    margin: 0 5px;
}

.alert {
    padding: 15px;
    border-radius: 5px;
    margin: 15px 0;
}

.alert-info {
    background: #1e3a5f;
    border-left: 4px solid #64b5f6;
    color: #bdc3c7;
}

.alert-success {
    background: #1b5e20;
    border-left: 4px solid #4caf50;
    color: #c8e6c9;
}

.alert-error {
    background: #b71c1c;
    border-left: 4px solid #f44336;
    color: #ffcdd2;
}

.character-sheet {
    background: #0d1b2a;
    border: 2px solid #2c3e50;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.character-sheet h3 {
    color: #f4a261;
    margin-bottom: 15px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #2c3e50;
}

.info-row:last-child {
    border-bottom: none;
}
