/* Know The Points - Complete Site Stylesheet */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Times New Roman', Times, serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}


/* ==========================================================================
   HEADER AND NAVIGATION
   ========================================================================== */

.header {
    border-bottom: 3px solid #333;
    margin-bottom: 30px;
    padding-bottom: 15px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.header-left {
    flex: 1;
}

.header-right {
    flex: 0 0 auto;
}

.site-title {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-title:hover {
    color: #666;
}

.header h1 {
    font-size: 2.5rem;
    font-weight: bold;
    letter-spacing: -1px;
    margin-bottom: 5px;
}

.header .subtitle {
    font-size: 1.1rem;
    color: #666;
    font-style: italic;
}

.main-nav {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-link {
    color: #333;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: bold;
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.nav-link:hover {
    background-color: #f0f0f0;
    color: #007bff;
}

.nav-link.active {
    background-color: #007bff;
    color: white;
}

/* ==========================================================================
   BREADCRUMB NAVIGATION
   ========================================================================== */

nav.breadcrumb {
    margin-bottom: 20px;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.breadcrumb-list {
    list-style: none !important;
    display: flex;
    gap: 10px;
    margin: 0 !important;
    padding: 0 !important;
}

.breadcrumb-list li {
    display: flex !important;
    align-items: center;
    background: none !important;
    padding: 0 !important;
}

.breadcrumb-list li:not(:last-child)::after {
    content: "›";
    margin-left: 10px;
    color: #666;
    font-weight: bold;
}

.breadcrumb-list a {
    color: #007bff !important;
    text-decoration: none;
    font-size: 0.9rem;
}

.breadcrumb-list a:hover {
    text-decoration: underline;
    color: #0056b3 !important;
}

.breadcrumb-list .current {
    color: #666 !important;
    font-size: 0.9rem;
}

/* ==========================================================================
   INTRODUCTION AND CTA SECTIONS
   ========================================================================== */

.intro-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #ddd;
    background: white;
}

.intro-section h1 {
    font-size: 2.2rem !important;
    margin-bottom: 15px;
    color: #333 !important;
    line-height: 1.3;
    font-family: 'Times New Roman', Times, serif;
}

.intro-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
}

.methodology-highlight {
    background-color: #f8f9fa !important;
    border-left: 4px solid #007bff;
    padding: 20px;
    border-radius: 5px;
    margin-top: 20px;
}

.methodology-highlight h2 {
    font-size: 1.3rem !important;
    margin-bottom: 10px;
    color: #333 !important;
}

.methodology-highlight p {
    margin: 0;
    line-height: 1.6;
    color: #555;
}

.cta-section {
    background-color: #f8f9fa !important;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 30px;
    margin: 40px 0;
    text-align: center;
}

.cta-section h2,
.cta-section h3 {
    margin-bottom: 15px;
    color: #333 !important;
}

.cta-section p {
    margin-bottom: 20px;
    color: #666;
    line-height: 1.6;
}

.cta-button {
    background-color: #007bff !important;
    color: white !important;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
    transition: background-color 0.2s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.cta-button:hover {
    background-color: #0056b3 !important;
    color: white !important;
    text-decoration: none;
}

.quick-nav {
    margin-top: 20px;
    text-align: center;
}

/* ==========================================================================
   GAMES CONTAINER AND GAME ITEMS
   ========================================================================== */

.games-container {
    border-top: 2px solid #ddd;
}

.game-item {
    border-bottom: 1px solid #eee;
    padding: 20px 0;
    transition: background-color 0.2s ease;
    padding-left: 2px;
}

.game-item:hover {
    background-color: #f5f5f5;
}

.game-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.game-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.matchup {
    flex: 1;
}

.teams {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.away-team {
    color: #666;
}

.vs {
    color: #999;
    font-weight: normal;
    margin: 0 8px;
}

.game-details {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.4;
}

.venue {
    font-style: italic;
}

.conference {
    background-color: #f0f0f0;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.8rem;
    margin-left: 8px;
}

.game-status {
    text-align: right;
    min-width: 120px;
}

.status-time {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 5px;
}

.score {
    font-size: 1.4rem;
    font-weight: bold;
    color: #333;
}

.betting-line {
    font-size: 0.9rem;
    font-family: 'Courier New', monospace;
    color: #007bff;
    font-weight: bold;
}

.completed {
    color: #2d5016;
}

.in-progress {
    color: #cc4125;
}

.upcoming {
    color: #666;
}

.neutral-site {
    color: #0066cc;
    font-size: 0.8rem;
    margin-left: 8px;
}

.special-note {
    background-color: #fff3cd !important;
    color: #856404;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.8rem;
    margin-left: 8px;
}

/* ==========================================================================
   GAME DETAIL PAGE STYLES
   ========================================================================== */

.game-hero {
    background-color: #f8f8f8;
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 30px 20px;
    margin-bottom: 30px;
    text-align: center;
}

.matchup-large {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    gap: 20px;
}

.team {
    flex: 1;
}

.team-name {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.team-details {
    font-size: 1rem;
    color: #666;
    margin-bottom: 10px;
}

.team-score {
    font-size: 3rem;
    font-weight: bold;
    color: #333;
}

.vs-section {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.vs-symbol {
    font-size: 2rem;
    color: #999;
    font-weight: bold;
}

.game-status-large {
    font-size: 1.1rem;
    color: #666;
    font-weight: bold;
}

.game-info {
    border-top: 1px solid #ddd;
    padding-top: 15px;
}

.venue-info {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.neutral-site-badge {
    background-color: #0066cc;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    margin-left: 10px;
}

.special-game {
    font-style: italic;
    color: #666;
    font-size: 1rem;
}

/* ==========================================================================
   SECTIONS AND CONTENT ORGANIZATION
   ========================================================================== */

.section {
    margin-bottom: 40px;
    border-bottom: 1px solid #eee;
    padding-bottom: 30px;
}

.section h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    border-bottom: 2px solid #333;
    padding-bottom: 8px;
}

.section h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #333;
}

.section-title {
    font-size: 1.5rem !important;
    margin-bottom: 20px;
    color: #333 !important;
    padding-bottom: 10px;
    border-bottom: 2px solid #007bff;
    font-family: 'Times New Roman', Times, serif;
}

/* ==========================================================================
   BETTING LINES
   ========================================================================== */

.betting-lines {
    display: grid;
    gap: 15px;
}

.betting-provider {
    background-color: #f5f5f5;
    padding: 15px;
    border-radius: 5px;
    border-left: 4px solid #333;
}

.provider-name {
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.line-details {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.spread, .total, .moneyline {
    background-color: white;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 0.9rem;
    border: 1px solid #ddd;
}

/* ==========================================================================
   GAME REPORT AND ANALYSIS
   ========================================================================== */

.game-report {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 25px;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333;
    font-family: 'Times New Roman', Times, serif;
}

.game-report p {
    margin-bottom: 15px;
}

.game-report p:last-child {
    margin-bottom: 0;
}

.game-report ul {
    margin-bottom: 15px;
    padding-left: 20px;
}

.game-report li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.report-header {
    font-size: 1.2rem;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #dee2e6;
}

.decision-badge {
    padding: 4px 12px;
    border-radius: 15px;
    font-weight: bold;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.decision-badge.strong-bet {
    background-color: #28a745;
    color: white;
}

.decision-badge.moderate-bet {
    background-color: #ffc107;
    color: #333;
}

.decision-badge.weak-bet {
    background-color: #6c757d;
    color: white;
}

.decision-badge.no-bet {
    background-color: #dc3545;
    color: white;
}

.recommendation-highlight {
    background-color: #e7f3ff !important;
    border: 1px solid #b3d7ff;
    border-radius: 5px;
    padding: 20px;
    margin: 15px 0;
}

.recommendation-highlight h3 {
    margin: 0 0 10px 0 !important;
    color: #0056b3 !important;
    font-size: 1.2rem !important;
}

.analysis-section {
    margin: 20px 0;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.analysis-section:last-child {
    border-bottom: none;
}

.analysis-section h3 {
    font-size: 1.1rem !important;
    margin-bottom: 10px;
    color: #333 !important;
    font-weight: bold;
}

.analysis-section p {
    line-height: 1.6;
    color: #555;
}

.analysis-section ul {
    margin: 10px 0;
    padding-left: 20px;
    list-style-type: disc;
}

.analysis-section li {
    margin-bottom: 8px;
    line-height: 1.5;
    background: none !important;
    padding: 0 !important;
    display: list-item !important;
}

/* ==========================================================================
   BETTING ANALYSIS AND KEY FACTORS
   ========================================================================== */

.key-factors {
    background-color: #f8f9fa !important;
    border-left: 3px solid #28a745;
    padding: 15px;
    margin: 15px 0;
    border-radius: 0 5px 5px 0;
}

.key-factors h4 {
    margin: 0 0 10px 0 !important;
    font-size: 1rem !important;
    color: #333 !important;
}

.key-factors ul {
    margin: 0;
    padding-left: 20px;
    list-style-type: disc;
}

.key-factors li {
    margin-bottom: 8px;
    line-height: 1.5;
    background: none !important;
    padding: 0 !important;
    display: list-item !important;
}

/* ==========================================================================
   BEST BETS PAGE STYLES
   ========================================================================== */

.best-bets-intro {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #ddd;
}

.best-bets-intro h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #333;
}

.intro-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666;
    font-style: italic;
}

.bets-container {
    margin-bottom: 40px;
}

.bet-item {
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 25px;
    padding: 25px;
    background-color: #fff;
    transition: box-shadow 0.2s ease;
}

.bet-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.bet-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 15px;
}

.bet-number {
    background-color: #333;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    flex-shrink: 0;
}

.game-title {
    flex: 1;
}

.game-title h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
    color: #333;
}

.bet-meta {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.confidence, .edge {
    font-size: 0.9rem;
    color: #666;
    font-weight: bold;
}

.bet-recommendation {
    background-color: #f8f9fa;
    border-left: 4px solid #007bff;
    padding: 15px;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.line-info {
    color: #666;
    font-size: 0.95rem;
    font-family: 'Courier New', monospace;
    font-weight: normal;
}

.bet-analysis {
    font-size: 1rem;
    line-height: 1.7;
    color: #333;
    margin-bottom: 15px;
}

.bet-footer {
    border-top: 1px solid #eee;
    padding-top: 15px;
    text-align: right;
}

.details-link {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95rem;
}

.details-link:hover {
    text-decoration: underline;
}

.no-bets {
    text-align: center;
    padding: 40px;
    color: #666;
    font-style: italic;
}

/* ==========================================================================
   STATISTICS AND TEAM COMPARISON
   ========================================================================== */

.stats-category {
    margin-bottom: 30px;
}

.stats-grid {
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.stat-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    border-bottom: 1px solid #eee;
}

.stat-row:last-child {
    border-bottom: none;
}

.stat-row:nth-child(even) {
    background-color: #f9f9f9;
}

.stat-label {
    padding: 12px 15px;
    font-weight: bold;
    border-right: 1px solid #eee;
}

.stat-away, .stat-home {
    padding: 12px 15px;
    text-align: center;
    font-family: 'Courier New', monospace;
    border-right: 1px solid #eee;
}

.stat-home {
    border-right: none;
}

.stat-better {
    background-color: #d4edda !important;
    color: #155724;
}

.stat-worse {
    background-color: #f8d7da !important;
    color: #721c24;
}

.stats-header {
    background-color: #f0f0f0 !important;
    color: #333;
    font-weight: bold;
    border-bottom: 2px solid #ddd;
}

.stat-team-header {
    padding: 12px 15px;
    text-align: center;
    font-weight: bold;
    border-right: 1px solid #eee;
    color: #333;
}

/* ==========================================================================
   ELO SECTION
   ========================================================================== */

.elo-section {
    padding: 20px 0;
}

.elo-description {
    font-style: italic;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

#elo-chart-container {
    text-align: center;
    margin-bottom: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 20px;
    width: 100%;
}

#eloScatterPlot {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.elo-current-ratings {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.current-elo {
    text-align: center;
    background-color: #f5f5f5;
    padding: 15px;
    border-radius: 5px;
    flex: 1;
    max-width: 200px;
}

.current-elo h4 {
    font-size: 1rem;
    margin-bottom: 8px;
    color: #666;
}

.elo-value {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    font-family: 'Courier New', monospace;
}

/* ==========================================================================
   GAME DETAILS AND METADATA
   ========================================================================== */

.game-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.detail-label {
    font-weight: bold;
    color: #666;
}

.detail-value {
    font-family: 'Courier New', monospace;
}

/* ==========================================================================
   FOOTER AND NAVIGATION
   ========================================================================== */

.page-footer {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid #333;
    color: #666;
}

.page-footer h3 {
    color: #333 !important;
    font-size: 1.2rem !important;
    margin-bottom: 15px;
}

.page-footer h4 {
    color: #333 !important;
    font-size: 1rem !important;
    margin: 20px 0 10px 0;
}

.page-footer ul {
    margin: 10px 0;
    padding-left: 20px;
    list-style-type: disc;
}

.page-footer li {
    margin-bottom: 8px;
    line-height: 1.5;
    background: none !important;
    padding: 0 !important;
    display: list-item !important;
}

.methodology-brief {
    margin-bottom: 30px;
}

.methodology-brief p {
    line-height: 1.6;
}

.back-link {
    margin-top: 30px;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.back-link a {
    color: #333 !important;
    text-decoration: none;
    font-size: 1rem;
    border: 2px solid #333;
    padding: 10px 20px;
    border-radius: 5px;
    transition: all 0.2s ease;
    display: inline-block;
}

.back-link a:hover {
    background-color: #333 !important;
    color: white !important;
}

.report-footer {
    border-top: 2px solid #333;
    padding-top: 25px;
    margin-top: 40px;
}

.disclaimer, .methodology {
    margin-bottom: 20px;
}

.disclaimer h4, .methodology h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: #333;
}

.disclaimer p, .methodology p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #666;
}

.disclaimer {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    padding: 15px;
    border-radius: 5px;
}

.print-button,
.back-link-button {
    background-color: #333 !important;
    color: white !important;
    border: none;
    padding: 12px 24px;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    margin: 0 10px;
    transition: background-color 0.2s ease;
}

.print-button:hover,
.back-link-button:hover {
    background-color: #555 !important;
    color: white !important;
}

/* ==========================================================================
   PRINT STYLES
   ========================================================================== */

@media print {
    .no-print {
        display: none !important;
    }

    body {
        font-size: 12px;
        line-height: 1.4;
        padding: 15px;
        max-width: none;
    }

    .game-report {
        border: 1px solid #000;
        padding: 20px;
        margin-bottom: 20px;
        page-break-inside: avoid;
    }

    .bet-item {
        border: 1px solid #000;
        margin-bottom: 20px;
        padding: 15px;
        page-break-inside: avoid;
    }

    h1, h2, h3 {
        page-break-after: avoid;
    }

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

    .cta-section {
        display: none;
    }
}

/* ==========================================================================
   MOBILE RESPONSIVE STYLES
   ========================================================================== */

@media (max-width: 768px) {
    body {
        padding: 15px;
    }

    .header h1 {
        font-size: 2rem;
    }

    .header-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .main-nav {
        gap: 10px;
    }

    .nav-link {
        font-size: 1rem;
        padding: 6px 12px;
    }

    .game-header {
        flex-direction: column;
        gap: 10px;
    }

    .game-status {
        text-align: left;
        min-width: auto;
    }

    .teams {
        font-size: 1.1rem;
    }

    .matchup-large {
        flex-direction: column;
        gap: 15px;
    }

    .team-name {
        font-size: 1.5rem;
    }

    .team-score {
        font-size: 2rem;
    }

    .stat-row {
        grid-template-columns: 1fr;
    }

    .stat-label, .stat-team-header {
        border-right: none;
        border-bottom: 1px solid #eee;
        background-color: #f0f0f0;
    }

    .stat-away, .stat-home {
        border-right: none;
        display: flex;
        justify-content: space-between;
        padding: 8px 15px;
    }

    .stat-away:before {
        content: "Away: ";
        font-weight: bold;
    }

    .stat-home:before {
        content: "Home: ";
        font-weight: bold;
    }

    .line-details {
        flex-direction: column;
        gap: 10px;
    }

    .elo-current-ratings {
        flex-direction: column;
        align-items: center;
    }

    #eloScatterPlot {
        width: 100%;
        height: 300px;
    }

    .bet-header {
        flex-direction: column;
        gap: 15px;
    }

    .bet-number {
        align-self: flex-start;
    }

    .bet-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .bet-footer {
        text-align: center;
    }

    .intro-section h1 {
        font-size: 1.8rem !important;
    }

    .methodology-highlight {
        padding: 15px;
        margin: 15px 0;
    }

    .cta-section {
        padding: 20px;
        margin: 20px 0;
    }

    .breadcrumb-list {
        flex-wrap: wrap;
        gap: 5px;
    }

    .back-link {
        flex-direction: column;
        align-items: center;
    }

    .recommendation-highlight {
        padding: 15px;
    }

    .key-factors {
        padding: 12px;
        margin: 10px 0;
    }
}

@media (max-width: 480px) {
    .intro-section h1 {
        font-size: 1.5rem !important;
    }

    .section-title {
        font-size: 1.3rem !important;
    }

    .cta-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-1 {
    margin-bottom: 10px;
}

.mb-2 {
    margin-bottom: 20px;
}

.mb-3 {
    margin-bottom: 30px;
}

.p-1 {
    padding: 10px;
}

.p-2 {
    padding: 20px;
}

.p-3 {
    padding: 30px;
}