/**
 * Homepage Styles - dfwfan.com
 *
 * Operational, Uline-inspired business homepage.
 * Light background, dense layout, strong borders.
 */

/* ================================ */
/* HOMEPAGE LIGHT THEME OVERRIDE    */
/* ================================ */
body.homepage {
    background: #f8f8f8;
    color: #1a1a1a;
}

body.homepage .page {
    max-width: 960px;
    margin: 0 auto;
    background: #ffffff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.08);
}

/* ================================ */
/* SKIP LINK                        */
/* ================================ */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    padding: 8px 16px;
    background: #1565c0;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

/* ================================ */
/* PAGE LAYOUT                      */
/* ================================ */
.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ================================ */
/* SITE HEADER                      */
/* ================================ */
.site-header {
    background: #1565c0;
    color: #ffffff;
    padding: 24px 32px;
    border-bottom: 4px solid #0d47a1;
}

.header-inner {
    max-width: 100%;
}

.site-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.02em;
}

.site-desc {
    font-size: 0.875rem;
    margin: 4px 0 0;
    opacity: 0.9;
}

/* ================================ */
/* NAVIGATION                       */
/* ================================ */
.site-nav {
    background: #ffffff;
    border-bottom: 2px solid #e0e0e0;
    padding: 0 32px;
}

.site-nav ul {
    display: flex;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-nav li {
    border-right: 1px solid #e0e0e0;
}

.site-nav li:first-child {
    border-left: 1px solid #e0e0e0;
}

.site-nav a {
    display: block;
    color: #333;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 12px 20px;
    border-bottom: 3px solid transparent;
    transition: background 0.15s, border-color 0.15s;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    background: #f5f5f5;
    border-bottom-color: #1565c0;
}

.site-nav a.active {
    background: #e3f2fd;
    border-bottom-color: #1565c0;
    color: #0d47a1;
}

.site-nav .nav-sponsor {
    color: #1565c0;
}

/* ================================ */
/* MAIN CONTENT                     */
/* ================================ */
.main-content {
    flex: 1;
    padding: 32px;
}

/* ================================ */
/* SECTIONS                         */
/* ================================ */
.section {
    margin-bottom: 40px;
}

.section:last-child {
    margin-bottom: 0;
}

.section-heading {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding-bottom: 8px;
    border-bottom: 2px solid #333;
    margin: 0 0 16px;
}

/* ================================ */
/* INTRO SECTION                    */
/* ================================ */
.intro-text {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #444;
    margin: 0;
    max-width: 720px;
}

/* ================================ */
/* SPORTS TABLE                     */
/* ================================ */
.sports-table {
    overflow-x: auto;
}

.sports-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.sports-table th,
.sports-table td {
    text-align: left;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
}

.sports-table thead th {
    background: #f5f5f5;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #555;
}

.sports-table tbody tr:hover {
    background: #fafafa;
}

.sport-name {
    font-weight: 600;
    white-space: nowrap;
}

.sport-icon {
    margin-right: 8px;
}

/* ================================ */
/* STATUS BADGES                    */
/* ================================ */
.status {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 3px 8px;
    border-radius: 3px;
}

.status-live {
    background: #c8e6c9;
    color: #2e7d32;
}

.status-beta {
    background: #fff3e0;
    color: #e65100;
}

.status-soon {
    background: #e0e0e0;
    color: #616161;
}

/* ================================ */
/* BUTTONS                          */
/* ================================ */
.btn {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 3px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}

.btn-primary {
    background: #1565c0;
    color: #fff;
    border-color: #1565c0;
}

.btn-primary:hover,
.btn-primary:focus-visible {
    background: #0d47a1;
    border-color: #0d47a1;
}

.btn-secondary {
    background: #f5f5f5;
    color: #333;
    border-color: #ccc;
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
    background: #e0e0e0;
    border-color: #999;
}

.btn-sponsor {
    background: #2e7d32;
    color: #fff;
    border-color: #2e7d32;
    padding: 12px 24px;
}

.btn-sponsor:hover,
.btn-sponsor:focus-visible {
    background: #1b5e20;
    border-color: #1b5e20;
}

/* ================================ */
/* SPONSOR SECTION                  */
/* ================================ */
.section-sponsor {
    background: #fafafa;
    margin-left: -32px;
    margin-right: -32px;
    padding: 32px;
    border-top: 2px solid #e0e0e0;
    border-bottom: 2px solid #e0e0e0;
}

.sponsor-intro {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #444;
    margin: 0 0 20px;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
    margin-bottom: 20px;
}

.pricing-table th,
.pricing-table td {
    text-align: left;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
}

.pricing-table thead th {
    background: #e8f5e9;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #2e7d32;
}

.pricing-table tbody tr:hover {
    background: #f5f5f5;
}

.pricing-table td:last-child {
    font-weight: 700;
    white-space: nowrap;
    color: #2e7d32;
}

.sponsor-cta {
    margin: 0;
}

/* ================================ */
/* HOW IT WORKS                     */
/* ================================ */
.steps-list {
    margin: 0;
    padding-left: 20px;
    font-size: 0.9375rem;
    line-height: 2;
    color: #333;
}

.steps-list li {
    padding-left: 8px;
}

/* ================================ */
/* SITE FOOTER                      */
/* ================================ */
.site-footer {
    background: #333;
    color: #ccc;
    padding: 24px 32px;
    text-align: center;
}

.footer-inner {
    max-width: 100%;
}

.footer-copy {
    font-size: 0.8125rem;
    font-weight: 600;
    margin: 0 0 4px;
    color: #fff;
}

.footer-note {
    font-size: 0.75rem;
    margin: 0;
    color: #999;
}

/* ================================ */
/* RESPONSIVE                       */
/* ================================ */
@media (max-width: 768px) {
    .site-header {
        padding: 20px 24px;
    }

    .site-title {
        font-size: 1.5rem;
    }

    .site-nav {
        padding: 0 16px;
    }

    .site-nav a {
        padding: 10px 14px;
        font-size: 0.8125rem;
    }

    .main-content {
        padding: 24px;
    }

    .section-sponsor {
        margin-left: -24px;
        margin-right: -24px;
        padding: 24px;
    }

    .sports-table td:nth-child(2) {
        display: none;
    }

    .sports-table th:nth-child(2) {
        display: none;
    }
}

@media (max-width: 480px) {
    .site-header {
        padding: 16px;
    }

    .site-title {
        font-size: 1.25rem;
    }

    .site-nav {
        padding: 0;
        overflow-x: auto;
    }

    .site-nav ul {
        flex-wrap: nowrap;
    }

    .site-nav a {
        padding: 10px 12px;
        font-size: 0.75rem;
        white-space: nowrap;
    }

    .main-content {
        padding: 16px;
    }

    .section-sponsor {
        margin-left: -16px;
        margin-right: -16px;
        padding: 16px;
    }

    .btn {
        padding: 8px 12px;
        font-size: 0.75rem;
    }
}
