:root {
    --gridiron-navy: #101827;
    --gridiron-blue: #1f6feb;
    --gridiron-green: #28a745;
    --gridiron-light: #f6f8fb;
    --gridiron-card: #ffffff;
    --gridiron-border: #e5e7eb;
}

body {
    background: var(--gridiron-light);
    color: #1f2937;
}

.gridiron-navbar {
    background: var(--gridiron-navy);
}

.hero-section {
    background: linear-gradient(135deg, #101827, #1f2937);
    color: white;
    border-radius: 18px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.18);
}

.dashboard-card {
    background: var(--gridiron-card);
    border: 1px solid var(--gridiron-border);
    border-radius: 18px;
    padding: 1.25rem;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.card-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #6b7280;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.card-subtext,
.section-subtitle {
    color: #6b7280;
    margin-bottom: 0;
}

.section-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.chart-container {
    width: 100%;
    min-height: 420px;
}

.table thead th {
    font-size: 0.85rem;
    text-transform: uppercase;
    color: #6b7280;
}

.positive-value {
    color: #15803d;
    font-weight: 700;
}

.negative-value {
    color: #b91c1c;
    font-weight: 700;
}

.form-label {
    color: #374151;
    font-size: 0.9rem;
}

.form-select,
.form-control {
    border-radius: 10px;
    border-color: #d1d5db;
}

.form-select:focus,
.form-control:focus {
    border-color: var(--gridiron-blue);
    box-shadow: 0 0 0 0.2rem rgba(31, 111, 235, 0.15);
}

.btn-outline-secondary {
    border-radius: 10px;
}

.result-win,
.result-loss,
.result-tie {
    display: inline-block;
    min-width: 28px;
    text-align: center;
    padding: 0.2rem 0.45rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.8rem;
}

.result-win {
    background: #dcfce7;
    color: #166534;
}

.result-loss {
    background: #fee2e2;
    color: #991b1b;
}

.result-tie {
    background: #e5e7eb;
    color: #374151;
}

.comparison-team-card h2 {
    font-size: 1.5rem;
}

.comparison-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
}

.comparison-stat-grid div {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 0.75rem;
}

.comparison-label {
    display: block;
    color: #6b7280;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.comparison-advantage {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    background: #e0f2fe;
    color: #075985;
    font-weight: 700;
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .comparison-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.chart-note {
    color: #6b7280;
    font-size: 0.85rem;
    border-left: 4px solid #d1d5db;
    padding-left: 0.75rem;
}

#gameExplorerTable td {
    vertical-align: middle;
}

#gameExplorerTable th,
#gameExplorerTable td {
    white-space: nowrap;
}

.method-list {
    margin-bottom: 0;
    padding-left: 1.25rem;
}

.method-list li {
    margin-bottom: 0.45rem;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.tech-grid div {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 0.9rem;
}

.pipeline-steps {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
}

.pipeline-step {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 1rem;
}

.pipeline-step span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--gridiron-navy);
    color: white;
    border-radius: 999px;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.pipeline-step h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.pipeline-step p {
    color: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 0;
}

@media (max-width: 992px) {
    .pipeline-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 576px) {
    .pipeline-steps,
    .tech-grid {
        grid-template-columns: 1fr;
    }
}

.hero-kicker {
    color: #93c5fd;
    text-transform: uppercase;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 0.4rem;
}

.clickable-row {
    cursor: pointer;
}

.clickable-row:hover {
    background: #f1f5f9;
}

.btn-gridiron {
    font-family: inherit;
    color: #93c5fd;
    text-transform: uppercase;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;

    background: var(--gridiron-navy);
    border: 1px solid var(--gridiron-navy);
    border-radius: 10px;

    padding: 0.6rem 1rem;
    transition: all 0.2s ease-in-out;
}

.btn-gridiron:hover {
    color: #ffffff;
    background: #1f2937;
    border-color: #1f2937;
}

.btn-gridiron:focus {
    color: #ffffff;
    background: #1f2937;
    border-color: #1f2937;
    box-shadow: 0 0 0 0.2rem rgba(16, 24, 39, 0.25);
}

.btn-gridiron:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}