/* All92 - Mockup 2 Clean Modern Theme */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #f4f6f9;
    color: #1a1a2e;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

a { color: #e63946; text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── NAV ── */
.a92-nav {
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    height: 64px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.a92-logo {
    font-size: 1.7rem;
    font-weight: 900;
    color: #1a1a2e;
    letter-spacing: 1px;
    text-decoration: none;
}
.a92-logo span { color: #e63946; }
.a92-nav ul {
    list-style: none;
    display: flex;
    gap: 1.75rem;
    align-items: center;
}
.a92-nav ul li a {
    color: #555;
    font-size: 0.88rem;
    font-weight: 500;
    transition: color 0.2s;
    text-decoration: none;
}
.a92-nav ul li a:hover { color: #e63946; }
.a92-nav .nav-btn {
    background: #e63946;
    color: #fff !important;
    padding: 0.45rem 1.2rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.85rem;
    transition: background 0.2s;
}
.a92-nav .nav-btn:hover { background: #c1121f; text-decoration: none; }

/* ── HAMBURGER ── */
.a92-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    background: none;
    border: none;
}
.a92-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #1a1a2e;
    border-radius: 2px;
    transition: all 0.3s;
}
@media (max-width: 768px) {
    .a92-hamburger { display: flex; }
    .a92-nav ul {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        gap: 0;
        border-bottom: 1px solid #eee;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        z-index: 99;
    }
    .a92-nav ul.open { display: flex; }
    .a92-nav ul li { width: 100%; }
    .a92-nav ul li a {
        display: block;
        padding: 0.9rem 1.5rem;
        border-bottom: 1px solid #f0f0f0;
        font-size: 0.95rem;
    }
    .a92-nav .nav-btn {
        margin: 0.75rem 1.5rem;
        display: inline-block;
        border-radius: 6px;
    }
}

/* ── HERO ── */
.a92-hero {
    background: linear-gradient(120deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    padding: 3.5rem 2rem;
}
.a92-hero-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}
.a92-hero-text h1 { font-size: 2.4rem; font-weight: 800; line-height: 1.2; }
.a92-hero-text h1 span { color: #e63946; }
.a92-hero-text p { color: #aab4c8; margin-top: 0.5rem; font-size: 1rem; }
.a92-hero-card {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    padding: 1.5rem 2.5rem;
    text-align: center;
    min-width: 260px;
}
.a92-hero-card .big { font-size: 3.5rem; font-weight: 900; color: #e63946; line-height: 1; }
.a92-hero-card .sub { font-size: 0.85rem; color: #aab4c8; text-transform: uppercase; letter-spacing: 1px; margin-top: 0.25rem; }
.progress-label { display: flex; justify-content: space-between; font-size: 0.75rem; color: #aab4c8; margin: 1rem 0 0.4rem; }
.progress-bar { background: rgba(255,255,255,0.1); border-radius: 999px; height: 8px; overflow: hidden; }
.progress-bar .fill { background: #e63946; height: 100%; border-radius: 999px; transition: width 0.5s; }

/* ── PUBLIC HERO (landing/login/register) ── */
.a92-hero-center {
    background: linear-gradient(120deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    padding: 4rem 2rem;
    text-align: center;
}
.a92-hero-center h1 { font-size: 3rem; font-weight: 900; }
.a92-hero-center h1 span { color: #e63946; }
.a92-hero-center p { color: #aab4c8; margin-top: 0.75rem; font-size: 1.05rem; max-width: 520px; margin-left: auto; margin-right: auto; }

/* ── CONTAINER ── */
.a92-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2.5rem 2rem;
    flex: 1;
}
.a92-container-sm {
    max-width: 520px;
    margin: 0 auto;
    padding: 2.5rem 2rem;
    flex: 1;
}

/* ── CARD ── */
.a92-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    padding: 2rem;
    margin-bottom: 2rem;
}
.a92-card h2 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 0.4rem;
}
.a92-card .subtitle {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

/* ── FORMS ── */
.a92-form .field { margin-bottom: 1.25rem; }
.a92-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.35rem;
}
.a92-form input[type=text],
.a92-form input[type=email],
.a92-form input[type=password],
.a92-form select,
.a92-form textarea {
    width: 100%;
    padding: 0.65rem 0.9rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #fafafa;
}
.a92-form input:focus,
.a92-form select:focus,
.a92-form textarea:focus {
    outline: none;
    border-color: #e63946;
    box-shadow: 0 0 0 3px rgba(230,57,70,0.1);
    background: #fff;
}
.a92-form .form-row { display: flex; gap: 1rem; }
.a92-form .form-row .field { flex: 1; }

.a92-btn {
    display: inline-block;
    background: #e63946;
    color: #fff;
    padding: 0.7rem 2rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
}
.a92-btn:hover { background: #c1121f; text-decoration: none; color: #fff; }
.a92-btn-outline {
    background: transparent;
    border: 2px solid #e63946;
    color: #e63946;
}
.a92-btn-outline:hover { background: #e63946; color: #fff; }

.a92-error {
    background: #fff5f5;
    border: 1px solid #fca5a5;
    color: #b91c1c;
    border-radius: 6px;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
}
.a92-success {
    background: #f0fdf4;
    border: 1px solid #86efac;
    color: #166534;
    border-radius: 6px;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
}
.a92-form-link { font-size: 0.85rem; color: #888; margin-top: 1rem; }
.a92-form-link a { color: #e63946; }

/* ── LEAGUE TABLES ── */
.league-section { margin-bottom: 2.5rem; }
.league-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}
.league-header h2 { font-size: 1.1rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; }
.league-badge {
    background: #e63946;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    text-transform: uppercase;
}
.grounds-table {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    overflow: hidden;
}
.grounds-table table { width: 100%; border-collapse: collapse; }
.grounds-table th {
    background: #f8f9fa;
    padding: 0.75rem 1rem;
    text-align: left;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
    border-bottom: 1px solid #eee;
}
.grounds-table td {
    padding: 0.7rem 1rem;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.9rem;
}
.grounds-table tr:last-child td { border-bottom: none; }
.grounds-table tr:hover td { background: #fafafa; }
.grounds-table tr.visited td { background: #fff8f8; }
.grounds-table td input[type=checkbox] { accent-color: #e63946; width: 16px; height: 16px; cursor: pointer; }
.visited-badge {
    display: inline-block;
    background: #e63946;
    color: #fff;
    font-size: 0.62rem;
    font-weight: 700;
    padding: 0.1rem 0.45rem;
    border-radius: 999px;
    margin-left: 0.4rem;
    vertical-align: middle;
}

/* ── HOME FEATURE GRID ── */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 2rem;
}
.feature-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    padding: 1.75rem 1.75rem;
    text-align: left;
    text-decoration: none;
    color: #1a1a2e;
    transition: box-shadow 0.2s, transform 0.2s;
    border: 1px solid #eee;
    display: flex;
    align-items: flex-start;
    gap: 1.1rem;
}
.feature-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.12); transform: translateY(-2px); text-decoration: none; color: #1a1a2e; }
.feature-card .icon { width: 40px; height: 40px; border-radius: 9px; background: #fef0f1; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.feature-card .icon svg { width: 20px; height: 20px; stroke: #e63946; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feature-card .fc-text h3 { font-size: 0.97rem; font-weight: 700; margin: 0 0 0.3rem; }
.feature-card .fc-text p { font-size: 0.84rem; color: #888; margin: 0; line-height: 1.55; }
@media (max-width: 900px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } }

/* ── MAP ── */
#map { width: 100%; height: 600px; border-radius: 10px; box-shadow: 0 2px 12px rgba(0,0,0,0.1); }

/* ── FAQ ── */
.faq-item { border-bottom: 1px solid #eee; padding: 1rem 0; }
.faq-item:last-child { border-bottom: none; }
.faq-q { font-weight: 700; font-size: 0.95rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-q::after { content: '+'; font-size: 1.2rem; color: #e63946; }
.faq-item.open .faq-q::after { content: '−'; }
.faq-a { display: none; color: #555; font-size: 0.9rem; line-height: 1.7; padding-top: 0.75rem; }
.faq-item.open .faq-a { display: block; }

/* ── FOOTER ── */
.a92-footer {
    background: #1a1a2e;
    color: #aab4c8;
    text-align: center;
    padding: 2rem;
    font-size: 0.85rem;
    margin-top: auto;
}
.a92-footer .logo { font-size: 1.3rem; font-weight: 900; color: #fff; margin-bottom: 0.4rem; }
.a92-footer .logo span { color: #e63946; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    .a92-nav ul { display: none; }
    .a92-hero-inner { flex-direction: column; }
    .a92-hero-text h1 { font-size: 1.8rem; }
    .a92-hero-center h1 { font-size: 2rem; }
    .a92-hero-card { min-width: unset; width: 100%; }
    .a92-form .form-row { flex-direction: column; }
}
