/* Global */
body {
    margin: 0;
    background: #0d0d0f;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
    color: #f5f5f7;
}

.app-container {
    padding: 20px;
    max-width: 600px;
    margin: auto;
}

.hidden {
    display: none;
}

/* Typography */
h1, h2, h3 {
    font-weight: 600;
    letter-spacing: -0.3px;
    margin-bottom: 12px;
}

h1 { font-size: 30px; }
h2 { font-size: 24px; text-align: center; margin-top: 0; }
h3 { font-size: 18px; }

/* Cards */
.card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(22px);
    padding: 20px;
    border-radius: 22px;
    margin-bottom: 22px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
    transition: 0.25s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.45);
}

/* Inputs */
input {
    width: 100%;
    padding: 14px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255,255,255,0.07);
    color: white;
    outline: none;
}

input:focus {
    border-color: rgba(0,122,255,0.6);
    box-shadow: 0 0 8px rgba(0,122,255,0.4);
}

/* Buttons */
button {
    cursor: pointer;
    border: none;
    border-radius: 16px;
    padding: 14px 18px;
    font-size: 17px;
    font-weight: 600;
    background: linear-gradient(145deg, #007aff, #0051c9);
    color: white;
    box-shadow: 0 8px 22px rgba(0,122,255,0.32);
}

button:active {
    transform: scale(0.97);
}

.full-btn {
    width: 100%;
    margin-top: 14px;
}

/* Layout rows */
.row {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
}

/* Modifier buttons */
#modifier-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
}

.mod-btn {
    flex: 1;
    margin: 0 6px;
    padding: 14px 0;
    border-radius: 14px;
    background: rgba(255,255,255,0.08);
    color: white;
}

.mod-btn.active {
    background: linear-gradient(145deg, #007aff, #0051c9);
    box-shadow: 0 6px 16px rgba(0,122,255,0.3);
}

/* Number grid */
#number-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.num-btn {
    padding: 14px;
    background: rgba(255,255,255,0.06);
    border-radius: 14px;
    text-align: center;
    font-size: 18px;
    border: 1px solid rgba(255,255,255,0.1);
}

.num-btn:active {
    transform: scale(0.95);
    background: rgba(0,122,255,0.4);
}

/* Selected dart display */
#selected-darts {
    font-size: 18px;
    margin-top: 12px;
    opacity: 0.9;
    min-height: 28px;
}

/* Score styling */
#scores p {
    margin: 4px 0;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    font-size: 20px;
    font-weight: 600;
}
/* Match options labels */
.option-label {
    display: block;
    margin-top: 10px;
    margin-bottom: 6px;
    font-size: 16px;
    opacity: 0.85;
}

/* Select dropdowns */
select {
    width: 100%;
    padding: 14px;
    margin-bottom: 10px;
    border-radius: 14px;
    font-size: 16px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
    outline: none;
    transition: 0.2s;
}

select:focus {
    border-color: rgba(0,122,255,0.6);
    box-shadow: 0 0 8px rgba(0,122,255,0.4);
    background: rgba(255,255,255,0.10);
}
