/* Landing page styles */
.landing {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 24px;
    min-height: calc(100vh - 200px);
    justify-content: center;
}

.card {
    width: 100%;
    max-width: 480px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 14px;
    box-shadow: var(--shadow);
    padding: 32px;
    text-align: center;
}

.card h2 {
    margin: 0 0 8px;
    font-size: 1.75rem;
}

.card .tagline {
    color: var(--muted);
    font-size: 1rem;
    margin-bottom: 24px;
}

.features {
    text-align: left;
    margin: 20px 0;
    padding: 0 20px;
}

.features ul {
    list-style: none;
    padding: 0;
}

.features li {
    padding: 8px 0;
    color: #555;
}

.features li:before {
    content: "✓ ";
    color: #4CAF50;
    font-weight: bold;
    margin-right: 8px;
}

.actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}

.btn {
    width: 100%;
    padding: 14px 20px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    background: #111;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.2s;
}

.btn:hover {
    background: #333;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.btn.secondary {
    background: #fff;
    color: #111;
    border: 2px solid #111;
}

.btn.secondary:hover {
    background: #f5f5f5;
}

.title-bar h1 {
    font-size: 1.15rem;
}

.error-message {
    background: #ffebee;
    color: #c62828;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 0.9rem;
}

/* .hidden class moved to mousescoring.css */

.landing footer {
    width: 100%;
    max-width: 900px;
}

.loading {
    display: none;
    margin-top: 12px;
    color: var(--muted);
    font-size: 0.9rem;
}

/* Country Selector Modal */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: #fff;
    border-radius: 12px;
    padding: 32px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.modal-content h3 {
    margin: 0 0 8px;
    font-size: 1.5rem;
}

.modal-content .subtitle {
    color: var(--muted);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.country-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.country-option {
    display: flex;
    align-items: center;
    padding: 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    background: #fff;
}

.country-option:hover {
    border-color: #111;
    background: #f9f9f9;
}

.country-option.selected {
    border-color: #111;
    background: #f5f5f5;
}

.country-flag {
    font-size: 2rem;
    margin-right: 16px;
}

.country-info {
    flex: 1;
}

.country-name {
    font-weight: 600;
    font-size: 1.1rem;
    color: #111;
}

.country-code {
    color: var(--muted);
    font-size: 0.85rem;
    margin-top: 2px;
}

.modal-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.modal-actions button {
    flex: 1;
}