/* StickTapStats 2.0 — Editable site stylesheet */
/* Colors and core layout */

:root {
    color-scheme:dark;
    --bg:#0b1420;
    --panel:#152438;
    --line:#2b4159;
    --text:#f0f5fa;
    --muted:#a4b8ca;
    --accent:#76c6f2;
}

* {
    box-sizing:border-box;
}

body {
    margin:0;
    background:radial-gradient(circle at 70% 0,#172e45 0,transparent 40%),var(--bg);
    color:var(--text);
    font:16px/1.6 system-ui,-apple-system,Segoe UI,sans-serif;
    min-height:100vh;
    display:flex;
    flex-direction:column;
}

a {
    color:inherit;
    text-decoration:none;
}

.container {
    width:min(1140px,calc(100% - 40px));
    margin:auto;
}

.site-header {
    border-bottom:1px solid var(--line);
    background:#0c1725e8;
}

.header-inner {
    min-height:76px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
}

.brand {
    font-size:1.22rem;
    letter-spacing:.045em;
    font-weight:800;
}

.brand span:last-child {
    color:var(--accent);
}

.brand-icon {
    color:var(--accent);
    margin-right:8px;
}

.nav {
    display:flex;
    gap:26px;
}

.nav a {
    font-size:.92rem;
    color:var(--muted);
}

.nav a:hover,.nav a[aria-current] {
    color:var(--accent);
}

.menu-toggle {
    display:none;
    border:1px solid var(--line);
    background:var(--panel);
    color:white;
    padding:6px 12px;
    border-radius:7px;
    font-size:1.3rem;
}

main {
    flex:1;
}

.hero {
    padding:110px 0 95px;
    max-width:760px;
}

.eyebrow {
    color:var(--accent);
    font-size:.77rem;
    font-weight:800;
    letter-spacing:.15em;
}

.hero h1 {
    font-size:clamp(2.6rem,6vw,5rem);
    line-height:1.08;
    letter-spacing:-.045em;
    margin:18px 0;
}

.hero p,.page-heading p {
    font-size:1.14rem;
    color:var(--muted);
    max-width:660px;
}

.actions {
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    margin-top:28px;
}

.button {
    border-radius:8px;
    padding:12px 21px;
    font-weight:700;
}

.primary {
    background:var(--accent);
    color:#071521;
}

.secondary {
    border:1px solid var(--line);
    background:#1b2b3d;
}

.section-heading {
    margin-bottom:24px;
}

.section-heading h2 {
    margin:0;
    font-size:1.7rem;
}

.section-heading p {
    margin:2px 0;
    color:var(--muted);
}

.card-grid {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:18px;
}

.card,.placeholder {
    border:1px solid var(--line);
    border-radius:13px;
    background:var(--panel);
    padding:27px;
}

.card:hover {
    border-color:var(--accent);
    transform:translateY(-2px);
    transition:.2s;
}

.card-icon {
    color:var(--accent);
    font-size:2rem;
}

.card h3 {
    font-size:1.28rem;
    margin:9px 0;
}

.card p,.placeholder p {
    color:var(--muted);
}

.card-link {
    color:var(--accent);
    font-size:.9rem;
    font-weight:700;
}

.notice {
    margin:35px 0 75px;
    padding:18px 20px;
    border-left:3px solid var(--accent);
    background:#14273a;
    color:var(--muted);
}

.notice strong {
    color:var(--text);
}

.page-heading {
    padding:80px 0 40px;
}

.page-heading h1 {
    font-size:clamp(2.3rem,5vw,3.7rem);
    margin:10px 0;
}

.placeholder {
    margin-bottom:100px;
    min-height:190px;
}

.placeholder h2 {
    margin-top:0;
}

.site-footer {
    border-top:1px solid var(--line);
    color:var(--muted);
    font-size:.82rem;
}

.footer-inner {
    padding:22px 0;
    display:flex;
    justify-content:space-between;
    gap:15px;
    flex-wrap:wrap;
}

@media(max-width:720px) {
    .header-inner {
        flex-wrap:wrap;
        padding:16px 0;
    }

    .menu-toggle {
        display:block;
    }

    .nav {
        display:none;
        flex-basis:100%;
        flex-direction:column;
        gap:12px;
        padding:12px 0;
    }

    .nav.open {
        display:flex;
    }

    .hero {
        padding:65px 0;
    }

    .card-grid {
        grid-template-columns:1fr;
    }

    .page-heading {
        padding-top:55px;
    }

}

/* ============================================================
   TEAM LOGOS — 33% larger
   Scoreboard: 36px -> 48px
   Team directory: 48px -> 64px
   !important overrides legacy styles embedded in index.php.
   ============================================================ */
.club-line img {
    width: 48px !important;
    height: 48px !important;
    object-fit: contain;
}

.team-tile img {
    width: 64px !important;
    height: 64px !important;
    object-fit: contain;
}


/* ============================================
   TEAM CENTER — SNAPSHOT DASHBOARD
   ============================================ */
.team-overview { display:flex; align-items:center; justify-content:space-between; gap:20px; flex-wrap:wrap; margin:0 0 24px; }
.team-identity { display:flex; align-items:center; gap:20px; }
.team-large-logo { width:92px; height:92px; object-fit:contain; }
.team-identity h2 { margin:3px 0; font-size:1.7rem; }
.team-back { color:var(--accent); font-size:.9rem; }
.team-season-select { display:flex; align-items:center; gap:12px; color:var(--muted); }
.team-season-select select { background:var(--panel); border:1px solid var(--line); border-radius:8px; padding:10px; color:var(--text); font:inherit; }
.snapshot-cards { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; margin-bottom:24px; }
.snapshot-card { display:flex; flex-direction:column; gap:4px; background:var(--panel); border:1px solid var(--line); border-radius:12px; padding:20px; }
.snapshot-card span,.snapshot-card small { color:var(--muted); }
.snapshot-card strong { font-size:2rem; line-height:1.2; }
.snapshot-panel { background:var(--panel); border:1px solid var(--line); border-radius:12px; padding:22px; margin-bottom:24px; min-width:0; }
.snapshot-panel h2 { margin:0 0 12px; font-size:1.25rem; }
.snapshot-panel-head p,.snapshot-footnote,.empty-fixture { color:var(--muted); font-size:.9rem; }
.snapshot-table-wrap { overflow-x:auto; }
.snapshot-table { width:100%; border-collapse:collapse; font-variant-numeric:tabular-nums; }
.snapshot-table th,.snapshot-table td { padding:13px 10px; border-bottom:1px solid var(--line); text-align:right; white-space:nowrap; }
.snapshot-table th:first-child { text-align:left; }
.snapshot-table thead th { color:var(--muted); font-size:.8rem; }
.snapshot-table td small { color:var(--muted); font-size:.75rem; }
.favorable { color:#71dbab; }
.unfavorable { color:#f4a2a2; }
.neutral { color:var(--muted); }
.team-fixtures { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; margin-bottom:50px; }
.fixture-row { display:flex; align-items:center; gap:10px; padding:12px 0; border-bottom:1px solid var(--line); font-size:.9rem; }
.fixture-row:last-child { border-bottom:0; }
.fixture-row img { width:34px; height:34px; object-fit:contain; flex-shrink:0; }
.fixture-date { color:var(--muted); min-width:42px; }
.fixture-opponent { flex:1; min-width:0; }
.fixture-result,.fixture-time { white-space:nowrap; }
.fixture-time { color:var(--accent); }
@media(max-width:720px) {
    .snapshot-cards { grid-template-columns:1fr; }
    .team-fixtures { grid-template-columns:1fr; }
    .team-large-logo { width:70px; height:70px; }
    .snapshot-panel { padding:14px; }
}


/* ============================================================
   GAME CENTER — PREGAME / GAME MATCHUP
   Editable directly in Bluehost File Manager
   ============================================================ */
.game-tile { transition: border-color .2s, transform .2s; }
.game-tile:hover { transform: translateY(-2px); }
.fixture-link { color: inherit; text-decoration: none; }
.fixture-link:hover { color: var(--accent); }
.matchup-topline { display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; color:var(--muted); margin-bottom:14px; font-size:.92rem; }
.matchup-hero { display:grid; grid-template-columns:1fr 190px 1fr; grid-template-areas:"away center home"; align-items:center; gap:14px; padding:28px; border:1px solid var(--line); background:var(--panel); border-radius:14px; margin-bottom:22px; }
.matchup-club { display:flex; flex-direction:column; align-items:center; text-align:center; gap:6px; min-width:0; }
.matchup-club:first-child { grid-area:away; }
.matchup-club:nth-child(2) { grid-area:home; }
.matchup-club:hover strong { color:var(--accent); }
.matchup-club img { width:100px; height:100px; object-fit:contain; }
.matchup-club strong { font-size:1.15rem; line-height:1.25; }
.matchup-club small,.matchup-side-label,.matchup-center small { color:var(--muted); }
.matchup-side-label { font-size:.72rem; font-weight:700; letter-spacing:.1em; }
.matchup-center { grid-area:center; display:flex; flex-direction:column; align-items:center; text-align:center; gap:6px; }
.matchup-center strong { font-size:2.25rem; white-space:nowrap; line-height:1.2; }
.matchup-status { color:var(--accent); font-weight:700; }
.matchup-note { color:var(--muted); font-size:.9rem; margin:0 0 16px; }
.matchup-table th:first-child { width:50%; }
.matchup-table td { width:25%; }
.matchup-table td small { color:var(--accent); }
.matchup-fixtures { margin-top:4px; }
@media (max-width:720px) {
  .matchup-hero { grid-template-columns:1fr 1fr; grid-template-areas:"away home" "center center"; padding:15px; }
  .matchup-club img { width:70px; height:70px; }
  .matchup-club strong { font-size:.95rem; }
  .matchup-center { border-top:1px solid var(--line); padding-top:15px; }
  .matchup-center strong { font-size:1.7rem; }
}

/* Matchup advanced metrics — editable in Bluehost */
.matchup-tabs { display:flex; gap:8px; margin:16px 0 20px; flex-wrap:wrap; }
.matchup-tab { background:#1b2b3d; color:var(--muted); border:1px solid var(--line); border-radius:8px; padding:10px 16px; font:inherit; cursor:pointer; }
.matchup-tab.active,.matchup-tab:hover { color:#071521; background:var(--accent); border-color:var(--accent); }
.matchup-group th { color:var(--accent); background:#102034; font-size:.78rem; letter-spacing:.08em; text-transform:uppercase; padding-top:16px; }
.matchup-window[hidden] { display:none !important; }
.matchup-advanced .matchup-table td { font-variant-numeric:tabular-nums; }
@media(max-width:720px) { .matchup-advanced .matchup-table th,.matchup-advanced .matchup-table td { font-size:.78rem; padding:9px 5px; } }
