
/* Global layout */
body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", sans-serif;
    background: #02030b;
    color: #e5ecff;
}

a {
    color: #19c46b;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

.bluegrass-site-wrap {
    max-width: 1160px;
    margin: 0 auto;
    padding: 24px 16px 40px;
}

/* Header */
.site-header {
    padding: 18px 0 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.site-branding {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.site-title {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.03em;
}
.site-tagline {
    font-size: 12px;
    color: #9ca4cf;
}
.site-main-nav {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.nav-pill {
    padding: 6px 12px;
    border-radius: 999px;
    background: #050a1f;
    color: #d4ddff;
    font-size: 12px;
    border: 1px solid rgba(255,255,255,0.08);
}
.nav-pill--primary {
    background: #19c46b;
    color: #02110a;
    border-color: #19c46b;
}

/* Footer */
.site-footer {
    margin-top: 32px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.12);
    font-size: 12px;
    color: #8a93c0;
}
.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 6px;
}
.footer-links a {
    color: #bcc4ff;
}
.footer-copy {
    font-size: 11px;
}

/* HERO front-page */
.bg-hero {
    margin-top: 10px;
    padding: 24px 20px 22px;
    border-radius: 26px;
    background: radial-gradient(circle at top left,#252f66,#050814);
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 22px 60px rgba(0,0,0,0.7);
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 1.7fr);
    gap: 20px;
    align-items: flex-start;
}
.bg-hero-main {
    max-width: 640px;
}
.bg-hero-kicker-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 13px;
    color: #a9b4ff;
}
.bg-hero-kicker {
    padding: 3px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(0,0,0,0.38);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}
.bg-hero-main h1 {
    margin: 0 0 8px;
    font-size: 28px;
    line-height: 1.12;
}
.bg-hero-main p {
    margin: 0 0 12px;
    font-size: 14px;
    color: #c3ceff;
}
.bg-hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}
.bg-hero-chip {
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(0,0,0,0.45);
    border: 1px solid rgba(255,255,255,0.16);
    font-size: 11px;
    color: #d2ddff;
}
.bg-hero-main .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 18px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 13px;
    background: #19c46b;
    color: #02110a;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.bg-hero-side {
    align-self: stretch;
    border-radius: 20px;
    background: rgba(3,7,30,0.96);
    border: 1px solid rgba(255,255,255,0.14);
    padding: 14px 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.bg-hero-side-title {
    font-size: 13px;
    color: #cbd5ff;
}
.bg-hero-side-text {
    font-size: 12px;
    color: #a5afd8;
}

/* Sportsbook ranking section */
.bg-sb-section {
    margin-top: 24px;
    border-radius: 22px;
    background: radial-gradient(circle at top,#14172c,#050814);
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 18px 46px rgba(0,0,0,0.9);
    overflow: hidden;
}
.bg-sb-header {
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255,255,255,0.10);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.bg-sb-header h2 {
    margin: 0;
    font-size: 18px;
}
.bg-sb-tag {
    font-size: 11px;
    padding: 4px 9px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.18);
    color: #aeb9ff;
}

.bg-sb-head-row {
    display: grid;
    grid-template-columns: 50px minmax(0,2.4fr) minmax(0,2fr) 110px 150px;
    padding: 10px 18px;
    font-size: 12px;
    color: #9ba3c8;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.bg-sb-head-cell {
    opacity: 0.9;
}

.bg-sb-row {
    display: grid;
    grid-template-columns: 50px minmax(0,2.4fr) minmax(0,2fr) 110px 150px;
    align-items: stretch;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    background: rgba(7,10,32,0.96);
    transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.bg-sb-row:nth-child(odd) {
    background: rgba(10,14,40,0.96);
}
.bg-sb-row:hover {
    background: rgba(16,22,60,0.98);
    transform: translateY(-1px);
    box-shadow: 0 14px 40px rgba(0,0,0,0.7);
}
.bg-sb-cell {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-size: 13px;
    color: #e3e8ff;
}
.bg-sb-cell-rank {
    justify-content: center;
    font-weight: 800;
    color: #19c46b;
}
.bg-sb-cell-rank span {
    display: none;
}

/* Brand cell */
.bg-sb-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}
.bg-sb-logo-wrap {
    width: 80px;
    height: 72px;
    border-radius: 18px;
    background: #050814;
    border: 1px solid rgba(255,255,255,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}
.bg-sb-logo-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.bg-sb-brand-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.bg-sb-brand-name {
    font-weight: 700;
    font-size: 15px;
}
.bg-sb-brand-sub {
    font-size: 11px;
    color: #9ba3c8;
}

/* Bonus */
.bg-sb-bonus-text {
    font-size: 13px;
}
.bg-sb-bonus-text span {
    font-weight: 600;
}

/* Features */
.bg-sb-features {
    font-size: 12px;
    color: #c0c9ff;
}

/* Rating */
.bg-sb-rating {
    justify-content: center;
}
.bg-sb-star {
    color: #ffc857;
    margin-right: 2px;
}
.bg-sb-star-empty {
    color: #39405f;
    margin-right: 2px;
}

/* CTA */
.bg-sb-cta {
    justify-content: flex-end;
}
.bg-sb-cta .btn-claim {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 14px;
    min-width: 130px;
    border-radius: 999px;
    background: #19c46b;
    color: #020f09;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
}
.bg-sb-cta .btn-claim:hover {
    filter: brightness(1.06);
}

.bg-sb-note {
    padding: 10px 18px 12px;
    font-size: 11px;
    color: #8c95c0;
    background: rgba(5,8,24,0.98);
}

/* Sweeps teaser on front-page */
.bg-sweeps-teaser {
    margin-top: 22px;
    padding: 18px 18px 20px;
    border-radius: 22px;
    background: #050814;
    border: 1px solid rgba(255,255,255,0.14);
    box-shadow: 0 16px 40px rgba(0,0,0,0.8);
}
.bg-sweeps-teaser h2 {
    margin-top: 0;
    font-size: 18px;
}
.bg-sweeps-teaser p {
    margin: 6px 0 10px;
    font-size: 14px;
    color: #c6ceff;
}
.bg-sweeps-teaser .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 16px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.16);
    background: transparent;
    color: #e5ecff;
    font-size: 13px;
    font-weight: 600;
}

/* Generic page content */
.page-content-wrapper {
    background: #050814;
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,0.14);
    box-shadow: 0 16px 40px rgba(0,0,0,0.8);
    padding: 20px 18px 22px;
    margin-top: 18px;
}
.page-content-wrapper h1,
.page-content-wrapper h2,
.page-content-wrapper h3 {
    color: #ffffff;
}
.page-content-wrapper p {
    color: #cfd5ff;
    line-height: 1.6;
}

/* Sweeps ranking page (theme-integrated) */
.bg-sweeps-page {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: stretch;
    color: #e4ebff;
    padding: 24px 0 32px;
}
.bg-sweeps-hero {
    padding: 22px 20px 20px;
    border-radius: 26px;
    background: radial-gradient(circle at top left,#252f66,#050814);
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 22px 60px rgba(0,0,0,0.7);
}
.bg-sweeps-hero h1 {
    margin: 0 0 8px;
    font-size: 26px;
}
.bg-sweeps-hero p {
    margin: 0 0 10px;
    font-size: 14px;
    color: #c3ceff;
}
.bg-sweeps-hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}
.bg-sweeps-hero-chip {
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(0,0,0,0.45);
    border: 1px solid rgba(255,255,255,0.16);
    font-size: 11px;
    color: #d2ddff;
}

/* Sweeps list */
.bg-sweeps-table-section {
    border-radius: 22px;
    background: radial-gradient(circle at top,#12172f,#050814);
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 18px 46px rgba(0,0,0,0.85);
    overflow: hidden;
}
.bg-sweeps-table-header {
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255,255,255,0.09);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.bg-sweeps-table-header h2 {
    margin: 0;
    font-size: 18px;
}
.bg-sweeps-table-tag {
    font-size: 11px;
    padding: 4px 9px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.18);
    color: #aeb9ff;
}
.bg-sweeps-table-head-row {
    display: grid;
    grid-template-columns: 50px minmax(0,2.4fr) minmax(0,2fr) 150px;
    gap: 0;
    padding: 10px 18px;
    font-size: 12px;
    color: #9ba3c8;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.bg-sweeps-table-head-cell {
    opacity: 0.9;
}
.bg-sweeps-row {
    display: grid;
    grid-template-columns: 50px minmax(0,2.4fr) minmax(0,2fr) 150px;
    gap: 0;
    align-items: stretch;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    background: rgba(7,10,32,0.96);
    transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.bg-sweeps-row:nth-child(odd) {
    background: rgba(10,14,40,0.96);
}
.bg-sweeps-row:hover {
    background: rgba(15,22,60,0.98);
    transform: translateY(-1px);
    box-shadow: 0 14px 40px rgba(0,0,0,0.7);
}
.bg-sweeps-cell {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-size: 13px;
    color: #e3e8ff;
}
.bg-sweeps-cell-rank {
    justify-content: center;
    font-weight: 800;
    color: #19c46b;
}
.bg-sweeps-cell-rank span {
    display: none;
}
.bg-sweeps-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}
.bg-sweeps-logo-wrap {
    width: 96px;
    height: 80px;
    border-radius: 18px;
    background: #050814;
    border: 1px solid rgba(255,255,255,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}
.bg-sweeps-logo-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.bg-sweeps-brand-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.bg-sweeps-brand-name {
    font-weight: 700;
    font-size: 15px;
}
.bg-sweeps-brand-sub {
    font-size: 11px;
    color: #9ba3c8;
}
.bg-sweeps-bonus-text {
    font-size: 13px;
}
.bg-sweeps-bonus-text span {
    font-weight: 600;
}
.bg-sweeps-cta {
    justify-content: flex-end;
}
.bg-sweeps-cta .btn-claim {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 14px;
    min-width: 130px;
    border-radius: 999px;
    background: #19c46b;
    color: #020f09;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
}
.bg-sweeps-cta .btn-claim:hover {
    filter: brightness(1.06);
}
.bg-sweeps-note {
    padding: 10px 18px 12px;
    font-size: 11px;
    color: #8c95c0;
    background: rgba(5,8,24,0.98);
}

/* Sweeps guide block */
.bg-sweeps-guide {
    margin-top: 8px;
    padding: 16px 18px 18px;
    border-radius: 22px;
    background: #050814;
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 14px 36px rgba(0,0,0,0.8);
}
.bg-sweeps-guide h2 {
    margin-top: 0;
    font-size: 20px;
}
.bg-sweeps-guide h3 {
    margin-top: 16px;
    margin-bottom: 6px;
    font-size: 16px;
}
.bg-sweeps-guide p {
    margin-top: 4px;
    margin-bottom: 8px;
    font-size: 14px;
    color: #d0d6ff;
}
.bg-sweeps-guide ul {
    margin: 4px 0 10px 20px;
    padding: 0;
    font-size: 14px;
}
.bg-sweeps-guide li {
    margin-bottom: 4px;
}

/* Responsive */
@media (max-width: 1024px) {
    .bg-hero {
        grid-template-columns: minmax(0,1fr);
    }
}
@media (max-width: 900px) {
    .bg-sb-head-row {
        display: none;
    }
    .bg-sb-row {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto auto auto;
        gap: 6px;
        padding: 12px 14px;
    }
    .bg-sb-cell {
        justify-content: space-between;
    }
    .bg-sb-cell-rank {
        justify-content: flex-start;
    }
    .bg-sb-cta {
        justify-content: flex-start;
    }
    .bg-sb-cta .btn-claim {
        width: 100%;
    }

    .bg-sweeps-table-head-row {
        display: none;
    }
    .bg-sweeps-row {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto auto;
        gap: 6px;
        padding: 12px 14px;
    }
    .bg-sweeps-cell {
        justify-content: space-between;
    }
    .bg-sweeps-cell-rank {
        justify-content: flex-start;
    }
    .bg-sweeps-cta {
        justify-content: flex-start;
    }
    .bg-sweeps-cta .btn-claim {
        width: 100%;
    }
}
@media (max-width: 640px) {
    .site-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .bg-hero {
        padding: 18px 14px 16px;
        border-radius: 22px;
    }
    .bg-hero-main h1 {
        font-size: 22px;
    }
    .bg-sb-logo-wrap {
        width: 72px;
        height: 64px;
    }
    .bg-sweeps-logo-wrap {
        width: 88px;
        height: 72px;
    }
}


/* Footer layout */
.site-footer {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.18);
    font-size: 12px;
    color: #8a93c0;
}
.footer-top {
    display: grid;
    grid-template-columns: minmax(0,2.2fr) minmax(0,1.4fr) minmax(0,1.8fr);
    gap: 20px;
    margin-bottom: 18px;
}
.footer-col h4 {
    margin: 0 0 6px;
    font-size: 13px;
    color: #e5ecff;
}
.footer-logo-text {
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 4px;
}
.footer-tagline {
    margin: 0;
    font-size: 12px;
    color: #b4bce7;
}
.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.footer-links a {
    color: #bcc4ff;
}
.footer-text {
    margin: 0 0 6px;
    color: #b4bce7;
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.14);
    padding-top: 10px;
    font-size: 11px;
    color: #8a93c0;
}

@media (max-width: 800px) {
    .footer-top {
        grid-template-columns: minmax(0,1fr) minmax(0,1fr);
    }
}
@media (max-width: 560px) {
    .footer-top {
        grid-template-columns: minmax(0,1fr);
    }
}
