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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    min-height: 100vh;
    padding: 20px;
}

.screen {
    display: none;
}

.screen.active {
    display: block;
}

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

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    color: white;
}

h1 {
    color: white;
    text-align: center;
    margin-bottom: 30px;
}

.card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    margin-bottom: 20px;
}

.tabs, .main-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.main-tabs {
    justify-content: center;
}

.tab {
    padding: 10px 20px;
    border: none;
    background: rgba(255,255,255,0.2);
    color: white;
    cursor: pointer;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s;
}

.main-tabs .tab {
    background: white;
    color: #2c3e50;
    border-radius: 10px;
    border-bottom: none;
}

.tab:hover {
    color: #2c3e50;
    background: rgba(44, 62, 80, 0.05);
}

.tab.active {
    color: #2c3e50;
    border-bottom-color: #2c3e50;
    background: transparent;
}

.main-tabs .tab.active {
    background: #2c3e50;
    color: white;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

label {
    display: block;
    margin: 15px 0 5px;
    font-weight: bold;
    color: #333;
}

input, select, textarea {
    width: 100%;
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #2c3e50;
}

.radio-group, .checkbox-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.radio-group label, .checkbox-group label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: normal;
}

.highlight-box {
    background: #fff3cd;
    padding: 15px;
    border-radius: 10px;
    margin: 20px 0;
}

.btn-primary {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 20px;
}

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

.btn-logout {
    padding: 8px 16px;
    background: rgba(255,255,255,0.2);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.btn-delete {
    padding: 5px 15px;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
}

.match-card {
    border-left: 5px solid #ddd;
}

.match-card.win {
    border-left-color: #28a745;
}

.match-card.lose {
    border-left-color: #dc3545;
}

.match-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.match-date {
    color: #666;
    font-size: 14px;
    margin-top: 5px;
}

.match-result {
    font-weight: bold;
    font-size: 18px;
}

.match-card.win .match-result {
    color: #28a745;
}

.match-card.lose .match-result {
    color: #dc3545;
}

.match-body {
    margin-bottom: 10px;
}

.death-types {
    color: #666;
    font-size: 14px;
    margin: 5px 0;
}

.next-focus {
    background: #f8f9fa;
    padding: 10px;
    border-radius: 5px;
    margin-top: 10px;
    font-style: italic;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.stat-value {
    font-size: 32px;
    font-weight: bold;
    color: #2c3e50;
}
.stat-label {
    color: #666;
    margin-top: 5px;
}

@media (max-width: 600px) {
    body {
        padding: 10px;
    }
    
    .card {
        padding: 20px;
    }
    
    .radio-group, .checkbox-group {
        flex-direction: column;
    }
}
