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

body {
    font-family: Georgia, "Times New Roman", Times, serif;
    background: #fff;
    color: #111;
    margin: 0;
    padding: 0;
    line-height: 1.4;
}

main {
    padding: 0 10px;
}

a {
    color: #00c;
    text-decoration: none;
}

a:visited {
    color: #551a8b;
}

a:hover {
    text-decoration: underline;
}

/* Header */
header {
    text-align: center;
    padding: 15px 0 10px;
    margin-bottom: 15px;
}

.home-header {
    border-bottom: none;
    margin-bottom: 10px;
}

.logo-link {
    color: inherit;
    text-decoration: none;
}

.logo-link:visited {
    color: inherit;
}

.site-title {
    font-size: 5em;
    letter-spacing: 3px;
    font-family: "Courier New", Courier, monospace;
    color: #000;
}

.tagline {
    font-family: "Courier New", Courier, monospace;
    font-size: 1.05em;
    color: #666;
    margin-top: 2px;
}

/* Featured */
.featured {
    text-align: center;
    padding: 20px 10px;
}

.featured-headline {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 2.4em;
    color: #000;
    line-height: 1.2;
    text-decoration: underline;
    text-transform: uppercase;
    max-width: 700px;
    margin: 0 auto;
}

.featured-link {
    color: #000;
    text-decoration: none;
}

.featured-link:visited {
    color: #000;
}

.featured-link:hover .featured-headline {
    color: #c00;
}

.featured-image {
    max-width: 100%;
    max-height: 400px;
    display: block;
    margin: 0 auto 15px;
}

.featured-meta {
    margin-top: 5px;
    font-size: 0.8em;
    color: #666;
}

.divider {
    border: none;
    border-top: 1px solid #ccc;
    margin: 10px 0;
}

/* Article list */
.article-list {
    list-style: none;
}

.article-list li {
    padding: 6px 0;
    border-bottom: 1px solid #ccc;
}

.article-list li a {
    font-family: "Courier New", Courier, monospace;
    font-weight: bold;
    font-size: 1em;
    text-decoration: underline;
    color: #111;
    display: block;
}

.article-list li a:visited {
    color: #111;
}

.article-list li a:hover {
    color: #c00;
}

.thumb {
    max-width: 180px;
    display: block;
    margin-bottom: 6px;
}

@media (min-width: 769px) {
    .article-list {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 0;
        border-left: 1px solid #000;
    }

    .article-list li {
        border-bottom: 1px solid #ccc;
        border-right: 1px solid #000;
        padding: 6px 10px;
    }
}

/* Single article */
.single-article {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 15px;
}

.article-headline {
    font-size: 1.5em;
    margin-bottom: 8px;
    color: #c00;
}

.article-image {
    max-width: 100%;
    display: block;
    margin: 0 auto 15px;
}

.article-meta {
    font-size: 0.8em;
    color: #666;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
}

.article-content {
    font-size: 1em;
    line-height: 1.6;
}

.article-content p {
    margin-bottom: 12px;
}

.article-content a {
    color: #cc0000;
    text-decoration: none;
    border-bottom: 1px solid transparent;
}

.article-content a:hover {
    border-bottom-color: #cc0000;
}

.source-link {
    font-weight: bold;
    color: #666;
}

.source-cite {
    margin-top: 20px;
    padding-top: 10px;
    border-top: 1px dotted #ddd;
    font-size: 0.85em;
    color: #888;
}

.read-next {
    margin: 18px 0 10px;
}

.read-next-label {
    margin: 0 0 10px;
    font-family: "Courier New", Courier, monospace;
    font-size: 0.85em;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #444;
}

.read-next-list {
    margin-top: 0;
    border-top: 1px solid #000;
}

.read-next-list li {
    border-right: 1px solid #000;
    border-bottom: 1px solid #000;
}

.read-next-list .meta {
    display: block;
    font-size: 0.8em;
    color: #666;
    margin-top: 4px;
}

@media (min-width: 769px) {
    .read-next-list {
        grid-template-columns: 1fr 1fr;
    }
}

.back-link {
    display: inline-block;
    margin-top: 20px;
    font-size: 0.9em;
}

/* Pagination */
.pagination {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #ccc;
    margin-top: 10px;
}

.more-link {
    font-family: "Courier New", Courier, monospace;
    font-size: 1em;
    font-weight: bold;
    letter-spacing: 1px;
    color: #00c;
    margin: 0 15px;
}

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

/* Empty state */
.empty {
    text-align: center;
    padding: 40px;
    color: #666;
}

.empty code {
    background: #f0f0f0;
    padding: 2px 6px;
    font-size: 0.9em;
}

/* Footer */
footer {
    text-align: center;
    padding: 15px 10px;
    margin-top: 30px;
    border-top: 1px solid #ccc;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1em;
    color: #111;
}

/* Install banner */
.install-banner {
    background: #1a1a1a;
    color: #fff;
    padding: 18px 20px;
    margin: 15px 0;
    text-align: center;
}

.install-banner-heading {
    font-family: "Courier New", Courier, monospace;
    font-size: 1em;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 6px;
    color: #fff;
}

.install-banner-text {
    font-size: 0.9em;
    color: #ccc;
    line-height: 1.5;
    margin-bottom: 8px;
}

.install-banner-steps {
    text-align: left;
    max-width: 340px;
    margin: 0 auto 12px;
    padding-left: 24px;
    font-size: 0.85em;
    color: #ccc;
    line-height: 1.6;
}

.install-banner-steps li {
    margin-bottom: 4px;
}

.install-banner-btn {
    background: #cc0000;
    color: #fff;
    border: none;
    padding: 8px 22px;
    font-family: "Courier New", Courier, monospace;
    font-size: 0.85em;
    font-weight: bold;
    letter-spacing: 1px;
    cursor: pointer;
}

.install-banner-btn:hover {
    background: #a00;
}

/* Push notification CTA */
.push-cta {
    margin-top: 25px;
    padding: 18px 20px;
    text-align: center;
    background: #1a1a1a;
    color: #fff;
}

.push-cta-text {
    font-size: 0.9em;
    color: #ccc;
    margin-bottom: 8px;
}

.push-cta-btn {
    background: #cc0000;
    color: #fff;
    border: none;
    padding: 8px 20px;
    font-family: "Courier New", Courier, monospace;
    font-size: 0.85em;
    font-weight: bold;
    letter-spacing: 1px;
    cursor: pointer;
}

.push-cta-btn:hover {
    background: #a00;
}

.push-cta-btn:disabled {
    background: #999;
    cursor: default;
}

/* Player pages */
.player-page-heading {
    font-family: "Courier New", Courier, monospace;
    font-size: 1.6em;
    color: #c00;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.player-article-count {
    font-size: 0.85em;
    color: #888;
    margin-bottom: 15px;
}

/* Player grid (used in footer + /players index) */
.player-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    text-align: left;
    border-left: 1px solid #000;
}

.player-grid .player-name {
    border-right: 1px solid #000;
    padding: 4px 10px;
    display: block;
}

footer .player-grid .player-name,
footer .player-grid .player-name:visited,
footer .player-grid .player-name:link {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1em;
    font-weight: bold;
    color: #111;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: underline;
}

/* Players index page cards */
.players-index {
    gap: 10px 16px;
    margin-bottom: 20px;
}

.player-card {
    display: flex;
    flex-direction: column;
    padding: 8px 0;
    border-bottom: 1px dotted #ddd;
    text-decoration: none;
}

.player-card:hover .player-name {
    text-decoration: underline;
}

.player-count {
    font-size: 0.7em;
    color: #888;
}

/* Footer players section */
.footer-players {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
}

.footer-heading {
    font-family: "Courier New", Courier, monospace;
    font-size: 0.8em;
    letter-spacing: 2px;
    color: #111;
    margin-bottom: 8px;
}

/* Mobile */
@media (max-width: 600px) {
    .site-title {
        font-size: 3.2em;
    }

    .featured-headline {
        font-size: 1.3em;
    }
}
