/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #241773 0%, #1a1960 100%);
    color: #fff;
    min-height: 100vh;
    padding-bottom: 2rem;
}

/* Header */
header {
    position: relative;
    text-align: center;
    padding: 2rem 1rem;
    background: rgba(0, 0, 0, 0.4);
    margin-bottom: 2rem;
    overflow: hidden;
    border-bottom: 4px solid #9E7C0C;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

#footballs-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.header-content {
    position: relative;
    z-index: 10;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-shadow:
        -2px -2px 0 #9E7C0C,
        2px -2px 0 #9E7C0C,
        -2px 2px 0 #9E7C0C,
        2px 2px 0 #9E7C0C,
        0 0 8px rgba(0, 0, 0, 0.8);
    -webkit-text-stroke: 2px #9E7C0C;
    text-stroke: 2px #9E7C0C;
    paint-order: stroke fill;
}

.tagline {
    font-size: 1rem;
    opacity: 0.9;
    font-style: italic;
    color: #9E7C0C;
}

/* Navigation */
.main-nav {
    margin-top: 1.5rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
}

.main-nav a {
    color: #fff;
    text-decoration: none;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    transition: background 0.2s, transform 0.2s;
    backdrop-filter: blur(10px);
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.main-nav a:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.main-nav a.active {
    background: rgba(158, 124, 12, 0.2);
    border-color: #9E7C0C;
    color: #9E7C0C;
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Section Styles */
section {
    margin-bottom: 3rem;
}

section h2 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Winners Grid */
.winners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.winner-card {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.winner-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.winner-card .year {
    font-size: 1.2rem;
    font-weight: bold;
    color: #9E7C0C;
    margin-bottom: 0.5rem;
}

.winner-card .champion {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.winner-card .note {
    font-size: 0.75rem;
    font-style: italic;
    opacity: 0.8;
    margin-top: 0.5rem;
}

/* Banners Grid */
.banners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.banner-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem;
    transition: transform 0.2s;
    backdrop-filter: blur(10px);
}

.banner-item:hover {
    transform: scale(1.02);
}

.banner-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

.banner-year {
    text-align: center;
    margin-top: 0.75rem;
    font-size: 1.1rem;
    font-weight: bold;
    color: #9E7C0C;
}

/* Members Grid */
.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.member-card {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.member-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.member-header {
    text-align: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.member-initials {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(158, 124, 12, 0.2);
    border: 2px solid #9E7C0C;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #9E7C0C;
    margin: 0 auto 0.75rem;
}

.member-team-name {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.member-owner {
    font-size: 0.85rem;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.member-highlights {
    margin-bottom: 1rem;
}

.stat-badge {
    background: rgba(158, 124, 12, 0.2);
    border: 1px solid #9E7C0C;
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    text-align: center;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: #9E7C0C;
}

.stat-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.stat-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 0.75rem;
    text-align: center;
}

.stat-label {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 1.3rem;
    font-weight: bold;
}

.expand-button {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 0.75rem;
    color: #fff;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: background 0.2s;
    font-family: inherit;
}

.expand-button:hover {
    background: rgba(255, 255, 255, 0.15);
}

.expand-icon {
    transition: transform 0.2s;
    font-size: 0.8rem;
}

.member-card.expanded .expand-icon {
    transform: rotate(180deg);
}

.member-card.expanded .expand-text::after {
    content: ' Less';
}

.member-details {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.member-details[hidden] {
    display: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.stat-block {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 1rem;
}

.stat-block h4 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    color: #9E7C0C;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-line {
    display: flex;
    justify-content: space-between;
    padding: 0.4rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-line:last-child {
    border-bottom: none;
}

.stat-line span {
    opacity: 0.8;
    font-size: 0.9rem;
}

.stat-line strong {
    font-weight: 600;
}

.positive {
    color: #4ade80;
}

.negative {
    color: #f87171;
}

.years-list {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.years-list.runner-up {
    opacity: 0.8;
}

.years-list.sacco-award {
    opacity: 0.7;
    color: rgba(255, 180, 180, 0.95);
}

.inherited-note {
    font-size: 0.85em;
    opacity: 0.7;
    font-style: italic;
}

.no-data {
    opacity: 0.5;
    font-style: italic;
    font-size: 0.9rem;
}

.team-history {
    margin-top: 1rem;
}

.team-names-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.team-name-chip {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    padding: 0.4rem 0.75rem;
    font-size: 0.85rem;
    opacity: 0.9;
}

.related-posts {
    font-size: 0.9rem;
}

.post-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.post-link-item {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.post-link-item:last-child {
    border-bottom: none;
}

.post-link-item a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s;
    font-size: 0.9rem;
}

.post-link-item a:hover {
    color: #9E7C0C;
}

.post-year {
    font-size: 0.75rem;
    opacity: 0.5;
    margin-left: 0.5rem;
}

.view-all-posts {
    display: inline-block;
    margin-top: 0.75rem;
    color: #9E7C0C;
    text-decoration: none;
    font-size: 0.85rem;
    transition: opacity 0.2s;
}

.view-all-posts:hover {
    opacity: 0.8;
}

.no-posts {
    opacity: 0.5;
    font-style: italic;
    font-size: 0.85rem;
}

.former-owners-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.former-owner-chip {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    padding: 0.4rem 0.75rem;
    font-size: 0.85rem;
    opacity: 0.9;
}

.ownership-note {
    font-size: 0.8rem;
    opacity: 0.6;
    font-style: italic;
    margin-top: 0.5rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem 1rem;
    margin-top: 3rem;
    font-size: 0.9rem;
    background: rgba(0, 0, 0, 0.4);
    border-top: 4px solid #9E7C0C;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.3);
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    header {
        position: relative;
    }

    .main-nav {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        padding: 0 1rem;
    }

    .main-nav a {
        padding: 0.65rem 0.75rem;
        font-size: 0.9rem;
    }

    header h1 {
        font-size: 1.8rem;
    }

    section h2 {
        font-size: 1.4rem;
    }

    .winners-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 0.75rem;
    }

    .winner-card {
        padding: 1rem 0.5rem;
    }

    .winner-card .champion {
        font-size: 1.2rem;
    }

    .banners-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .members-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .member-card {
        padding: 1.25rem;
    }

    .member-initials {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .member-team-name {
        font-size: 1.3rem;
    }
}

/* Extra Small Screens */
@media (max-width: 480px) {
    .winners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Rules Page Styles */
.rules-content {
    max-width: 800px;
    margin: 0 auto;
}

.rules-card {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
    margin-bottom: 1.5rem;
}

.rules-card h3 {
    font-size: 1.5rem;
    color: #9E7C0C;
    margin-bottom: 1rem;
}

.rules-card .coming-soon {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.rules-card .subtitle {
    opacity: 0.8;
    font-style: italic;
}

/* Blog Page Styles */
/* Tag Filters */
.tag-filters {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.tag-filter-btn {
    padding: 0.65rem 1.25rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    backdrop-filter: blur(10px);
    font-family: inherit;
}

.tag-filter-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.tag-filter-btn.active {
    background: rgba(158, 124, 12, 0.2);
    border-color: #9E7C0C;
    color: #ffd700;
}

/* Tag badges on post cards */
.post-tag-badges {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.tag-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(158, 124, 12, 0.15);
    border: 1px solid rgba(158, 124, 12, 0.4);
    border-radius: 4px;
    font-size: 0.75rem;
    color: #ffd700;
    font-weight: 500;
    text-transform: capitalize;
}

/* Championship post card - red border accent */
.blog-post-card[data-tags*="championship"] {
    border: 2px solid rgba(198, 12, 48, 0.5);
}

.blog-post-card[data-tags*="championship"]:hover {
    border-color: rgba(198, 12, 48, 0.7);
}

/* Championship individual post page - red border accent */
.markdown-content.championship-post {
    border: 2px solid rgba(198, 12, 48, 0.5);
}

.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.blog-post-card {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.blog-post-card.hidden {
    display: none;
}

.blog-post-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.post-date {
    font-size: 0.9rem;
    color: #9E7C0C;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.post-title {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    color: #fff;
}

.post-excerpt {
    font-size: 1rem;
    line-height: 1.5;
    opacity: 0.9;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.read-more-btn {
    align-self: flex-start;
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(158, 124, 12, 0.2);
    border: 2px solid #9E7C0C;
    color: #9E7C0C;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: background 0.2s, transform 0.2s;
}

.read-more-btn:hover {
    background: rgba(158, 124, 12, 0.3);
    transform: translateX(5px);
}

/* Blog Post Page */
.blog-post-section {
    max-width: 900px;
    margin: 0 auto;
}

.post-navigation {
    margin-bottom: 1.5rem;
}

.back-to-blog {
    display: inline-block;
    color: #9E7C0C;
    text-decoration: none;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    transition: background 0.2s;
    backdrop-filter: blur(10px);
}

.back-to-blog:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* Markdown Content Container */
.markdown-content {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    min-height: 400px;
}

/* Mobile Responsiveness for Blog */
@media (max-width: 768px) {
    .blog-posts-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .post-title {
        font-size: 1.2rem;
    }

    .markdown-content {
        padding: 1rem;
    }
}

/* Post metadata */
.post-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(158, 124, 12, 0.3);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.post-author {
    font-style: italic;
}

/* Post tags */
.post-tags {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid rgba(158, 124, 12, 0.3);
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.post-tags::before {
    content: "Tags:";
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-right: 0.5rem;
}

.tag {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background: rgba(158, 124, 12, 0.2);
    border: 1px solid rgba(158, 124, 12, 0.4);
    border-radius: 20px;
    font-size: 0.85rem;
    color: #9E7C0C;
    backdrop-filter: blur(10px);
    transition: background 0.2s, transform 0.2s;
}

.tag:hover {
    background: rgba(158, 124, 12, 0.3);
    transform: translateY(-1px);
}

/* Markdown content styling */
.markdown-content h1 {
    font-size: 2rem;
    color: #9E7C0C;
    margin-bottom: 0.5rem;
}

.markdown-content h2 {
    font-size: 1.6rem;
    color: #9E7C0C;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.markdown-content h3 {
    font-size: 1.3rem;
    color: #9E7C0C;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.markdown-content p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.markdown-content a {
    color: #87ceeb;
    text-decoration: underline;
}

.markdown-content a:hover {
    color: #9E7C0C;
}

.markdown-content ul,
.markdown-content ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.markdown-content li {
    margin-bottom: 0.5rem;
}

.markdown-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    margin: 1.5rem 0;
}

.markdown-content blockquote {
    border-left: 4px solid #9E7C0C;
    padding: 1rem;
    margin: 1.5rem 0;
    font-style: italic;
    background: rgba(158, 124, 12, 0.05);
    border-radius: 4px;
}

.markdown-content code {
    background: rgba(0, 0, 0, 0.3);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
}

.markdown-content pre {
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.markdown-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.markdown-content th,
.markdown-content td {
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.markdown-content th {
    background: rgba(158, 124, 12, 0.2);
    color: #9E7C0C;
}

@media (max-width: 768px) {
    .markdown-content h1 { font-size: 1.5rem; }
    .markdown-content h2 { font-size: 1.3rem; }
    .markdown-content h3 { font-size: 1.1rem; }
    .post-meta {
        flex-direction: column;
        gap: 0.25rem;
    }
}

/* Stats Page Styles */
.page-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 1rem;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-header .subtitle {
    font-size: 1.2rem;
    color: #9E7C0C;
    margin-bottom: 0.5rem;
}

.page-header .note {
    font-size: 0.85rem;
    opacity: 0.7;
    font-style: italic;
}

/* Stat Sections */
.stat-section {
    margin-bottom: 3rem;
}

.stat-section .card {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.stat-section .card h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.section-note {
    text-align: center;
    font-size: 0.95rem;
    opacity: 0.8;
    font-style: italic;
    margin-bottom: 2rem;
}

/* Champion Club Tiers */
.champion-tier {
    margin-bottom: 2.5rem;
}

.champion-tier:last-child {
    margin-bottom: 0;
}

.tier-title {
    font-size: 1.5rem;
    color: #9E7C0C;
    text-align: center;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.tier-subtitle {
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: 1rem;
}

/* Champion Entries */
.champion-entry {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 1rem 1.5rem;
    margin-bottom: 0.75rem;
    display: grid;
    grid-template-columns: 2fr 1fr 2fr;
    gap: 1rem;
    align-items: center;
    transition: transform 0.2s, background 0.2s;
}

.champion-entry:hover {
    transform: translateX(5px);
    background: rgba(255, 255, 255, 0.08);
}

.champion-entry:last-child {
    margin-bottom: 0;
}

/* Juggernaut styling */
.champion-entry.juggernaut {
    background: rgba(158, 124, 12, 0.1);
    border-color: #9E7C0C;
    border-width: 3px;
}

.champion-entry.juggernaut .name {
    color: #9E7C0C;
    font-weight: bold;
}

.champion-entry .name {
    font-size: 1.2rem;
    font-weight: 500;
}

.champion-entry .count {
    text-align: center;
    font-size: 1.1rem;
    color: #9E7C0C;
    font-weight: bold;
}

.champion-entry .years {
    text-align: right;
    font-size: 0.95rem;
    opacity: 0.8;
}

/* Runner-Up List */
.runner-up-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.runner-up-entry {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 1rem 1.5rem;
    display: grid;
    grid-template-columns: auto 2fr 1fr 2fr;
    gap: 1rem;
    align-items: center;
    transition: transform 0.2s, background 0.2s;
}

.runner-up-entry:hover {
    transform: translateX(5px);
    background: rgba(255, 255, 255, 0.08);
}

.runner-up-entry.top-loser {
    border-color: rgba(192, 192, 192, 0.4);
    background: rgba(192, 192, 192, 0.05);
}

.runner-up-entry .rank {
    font-size: 1.5rem;
}

.runner-up-entry .name {
    font-size: 1.2rem;
    font-weight: 500;
}

.runner-up-entry .count {
    text-align: center;
    font-size: 1rem;
    color: rgba(192, 192, 192, 0.9);
    font-weight: bold;
}

.runner-up-entry .years {
    text-align: right;
    font-size: 0.95rem;
    opacity: 0.8;
}

/* Sacco Award Styles */
.sacco-hall-of-shame {
    margin-bottom: 2rem;
}

.sacco-subtitle {
    font-size: 1.1rem;
    color: #9E7C0C;
    margin-bottom: 1rem;
    text-align: center;
}

.sacco-repeat-entry {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 1rem 1.5rem;
    display: grid;
    grid-template-columns: 2fr 1fr 2fr;
    gap: 1rem;
    align-items: center;
    margin-bottom: 0.75rem;
    transition: transform 0.2s, background 0.2s;
}

.sacco-repeat-entry:hover {
    transform: translateX(5px);
    background: rgba(255, 255, 255, 0.08);
}

.sacco-repeat-entry.top-loser {
    border-color: rgba(158, 124, 12, 0.4);
    background: rgba(158, 124, 12, 0.05);
}

.sacco-repeat-entry .name {
    font-size: 1.2rem;
    font-weight: 500;
}

.sacco-repeat-entry .count {
    text-align: center;
    font-size: 1rem;
    color: #9E7C0C;
    font-weight: bold;
}

.sacco-repeat-entry .years {
    text-align: right;
    font-size: 0.95rem;
    opacity: 0.8;
}

.sacco-yearly-title {
    font-size: 1.1rem;
    color: #9E7C0C;
    margin: 2rem 0 1rem 0;
    text-align: center;
}

.sacco-yearly-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sacco-year-entry {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 0.75rem 1rem;
    display: grid;
    grid-template-columns: auto 2fr 1fr 3fr;
    gap: 1rem;
    align-items: center;
    transition: transform 0.2s, background 0.2s;
}

.sacco-year-entry:hover {
    transform: translateX(3px);
    background: rgba(255, 255, 255, 0.05);
}

.sacco-year-entry.highlight-worst {
    border-color: rgba(158, 124, 12, 0.3);
    background: rgba(158, 124, 12, 0.03);
}

.sacco-year-entry .year {
    font-size: 1.1rem;
    color: #9E7C0C;
    font-weight: bold;
}

.sacco-year-entry .owner {
    font-size: 1rem;
    font-weight: 500;
}

.sacco-year-entry .record {
    text-align: center;
    font-size: 0.95rem;
    opacity: 0.8;
}

.sacco-year-entry .team-name {
    font-size: 0.9rem;
    opacity: 0.7;
    font-style: italic;
}

.sacco-year-entry .note {
    grid-column: 2 / -1;
    font-size: 0.85rem;
    color: #9E7C0C;
    margin-top: 0.25rem;
}

/* Record Lists */
.record-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.record-item {
    background: rgba(255, 255, 255, 0.05);
    border-left: 4px solid rgba(255, 255, 255, 0.3);
    padding: 0.75rem 1rem;
    border-radius: 4px;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    transition: background 0.2s, border-color 0.2s;
}

.record-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-left-color: #9E7C0C;
}

.record-item.highlight {
    border-left-color: #9E7C0C;
    background: rgba(158, 124, 12, 0.05);
}

.record-rank {
    font-size: 1.1rem;
    font-weight: bold;
    color: #9E7C0C;
    min-width: 2rem;
}

.record-detail {
    line-height: 1.5;
    flex: 1;
}

.record-detail strong {
    color: #9E7C0C;
}

/* Heartbreak List */
.heartbreak-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.heartbreak-item {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 1.5rem;
    transition: transform 0.2s, background 0.2s;
}

.heartbreak-item:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.08);
}

.heartbreak-item h3 {
    font-size: 1.3rem;
    color: #9E7C0C;
    margin-bottom: 0.75rem;
}

.heartbreak-item p {
    line-height: 1.6;
    opacity: 0.9;
}

.heartbreak-item strong {
    color: #fff;
    font-weight: bold;
}

/* Mobile Optimizations for Stats Page */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 1.8rem;
    }

    .page-header .subtitle {
        font-size: 1rem;
    }

    .stat-section .card {
        padding: 1.5rem 1rem;
    }

    .stat-section .card h2 {
        font-size: 1.5rem;
    }

    .tier-title {
        font-size: 1.2rem;
    }

    .champion-entry {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        padding: 1rem;
    }

    .champion-entry .name {
        font-size: 1.1rem;
    }

    .champion-entry .count,
    .champion-entry .years {
        text-align: left;
        font-size: 0.9rem;
    }

    .runner-up-entry {
        grid-template-columns: auto 1fr;
        gap: 0.5rem;
        padding: 1rem;
    }

    .runner-up-entry .name {
        font-size: 1.1rem;
        grid-column: 2;
    }

    .runner-up-entry .count,
    .runner-up-entry .years {
        grid-column: 1 / -1;
        text-align: left;
        font-size: 0.9rem;
    }

    .record-item {
        flex-direction: column;
        gap: 0.5rem;
    }

    .record-rank {
        min-width: auto;
    }

    .heartbreak-item {
        padding: 1rem;
    }

    .heartbreak-item h3 {
        font-size: 1.1rem;
    }
}
