/* worldcup2026picks.ca — Sports Analytics Newsroom theme */
/* Deep navy/slate + electric violet + white editorial */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Syne:wght@700;800&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
    --bg: #080b14;
    --surface: #0d1120;
    --card: #111827;
    --card2: #171f33;
    --violet: #7c3aed;
    --violet-light: #a78bfa;
    --violet-dim: rgba(124, 58, 237, .12);
    --violet-border: rgba(124, 58, 237, .25);
    --electric: #8b5cf6;
    --neon: #c4b5fd;
    --green: #22c55e;
    --green-dim: rgba(34, 197, 94, .1);
    --amber: #f59e0b;
    --amber-dim: rgba(245, 158, 11, .1);
    --red: #ef4444;
    --red-dim: rgba(239, 68, 68, .1);
    --text: #f8fafc;
    --text-muted: rgba(248, 250, 252, .6);
    --text-dim: rgba(248, 250, 252, .28);
    --border: rgba(255, 255, 255, .06);
    --border2: rgba(255, 255, 255, .11);
    --font-head: 'Syne', system-ui, sans-serif;
    --font-body: 'Space Grotesk', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --glow: 0 0 30px rgba(124, 58, 237, .35), 0 0 80px rgba(124, 58, 237, .12);
    --radius: 10px;
    --radius-lg: 18px;
    --shadow: 0 8px 40px rgba(0, 0, 0, .6);
    --t: .2s cubic-bezier(.4, 0, .2, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html {
    scroll-behavior: smooth
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    line-height: 1.65;
    overflow-x: hidden
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: radial-gradient(ellipse 60% 40% at 10% 15%, rgba(124, 58, 237, .08) 0%, transparent 60%),
        radial-gradient(ellipse 50% 30% at 90% 85%, rgba(139, 92, 246, .06) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0
}

img {
    max-width: 100%;
    height: auto;
    display: block
}

a {
    color: var(--violet-light);
    text-decoration: none;
    transition: color var(--t)
}

a:hover {
    color: var(--neon)
}

ul {
    list-style: none
}

/* SKIP */
.skip-link {
    position: absolute;
    top: -99px;
    left: 0;
    background: var(--violet);
    color: #fff;
    padding: .5rem 1rem;
    z-index: 999;
    border-radius: 0 0 8px 0;
    font-weight: 700;
    transition: top .2s
}

.skip-link:focus {
    top: 0
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.25rem;
    position: relative;
    z-index: 1
}

/* HEADER */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(8, 11, 20, .88);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--violet-border)
}

.site-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--violet-light), transparent);
    opacity: .4
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 62px;
    gap: 1rem
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px
}

.logo img {
    border-radius: 8px
}

.logo-text .logo-name {
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
    line-height: 1
}

.logo-text .logo-name span {
    color: var(--violet-light)
}

.logo-text .logo-tag {
    font-family: var(--font-mono);
    font-size: .55rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: .1em
}

.main-nav ul {
    display: flex;
    gap: .1rem
}

.main-nav a {
    font-size: .78rem;
    font-weight: 600;
    color: var(--text-muted);
    padding: .38rem .8rem;
    border-radius: 6px;
    border: 1px solid transparent;
    transition: all var(--t)
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--violet-light);
    border-color: var(--violet-border);
    background: var(--violet-dim)
}

.burger {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: 1px solid var(--violet-border);
    border-radius: 6px;
    cursor: pointer;
    padding: .35rem .5rem
}

.burger span {
    display: block;
    width: 19px;
    height: 2px;
    background: var(--violet-light);
    border-radius: 2px
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 62px;
    left: 0;
    right: 0;
    background: rgba(8, 11, 20, .97);
    border-bottom: 1px solid var(--violet-border);
    z-index: 99;
    padding: .75rem 0
}

.mobile-nav.open {
    display: block
}

.mobile-nav li a {
    display: block;
    padding: .6rem 1.5rem;
    font-size: .9rem;
    font-weight: 600;
    color: var(--text-muted)
}

.mobile-nav li a:hover {
    color: var(--violet-light);
    background: var(--violet-dim)
}

/* HERO */
.hero {
    position: relative;
    min-height: 86vh;
    display: flex;
    align-items: center;
    overflow: hidden
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('../images/hero-bg.png');
    background-size: cover;
    background-position: center;
    filter: brightness(.15) saturate(1.4) hue-rotate(30deg)
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(8, 11, 20, .75) 0%, rgba(8, 11, 20, .45) 60%, rgba(8, 11, 20, .92) 100%)
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(90deg, transparent, transparent 60px, rgba(124, 58, 237, .025) 60px, rgba(124, 58, 237, .025) 61px);
    z-index: 1
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: var(--violet-dim);
    border: 1px solid var(--violet-border);
    color: var(--violet-light);
    font-family: var(--font-mono);
    font-size: .65rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: .32rem .95rem;
    border-radius: 20px;
    margin-bottom: 1.5rem
}

.dot-pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green);
    animation: pulse 1.8s ease infinite
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1)
    }

    50% {
        opacity: .5;
        transform: scale(.8)
    }
}

.hero h1 {
    font-family: var(--font-head);
    font-size: clamp(3rem, 9vw, 7rem);
    font-weight: 800;
    line-height: .92;
    color: #fff;
    margin-bottom: 1.2rem;
    letter-spacing: -.02em
}

.hero h1 .vi {
    color: var(--violet-light);
    text-shadow: var(--glow)
}

.hero h1 .gr {
    color: var(--green)
}

.hero-sub {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 520px;
    line-height: 1.75;
    margin-bottom: 2rem
}

.hero-ctas {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem
}

.btn-vi {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    background: linear-gradient(135deg, var(--violet), var(--electric));
    color: #fff;
    font-size: .88rem;
    font-weight: 700;
    padding: .72rem 1.75rem;
    border-radius: 8px;
    transition: all var(--t);
    box-shadow: var(--glow)
}

.btn-vi:hover {
    box-shadow: 0 0 50px rgba(124, 58, 237, .55);
    transform: translateY(-2px);
    color: #fff
}

.btn-outline-vi {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    border: 1px solid var(--violet-border);
    color: var(--text-muted);
    font-size: .88rem;
    font-weight: 600;
    padding: .72rem 1.75rem;
    border-radius: 8px;
    transition: all var(--t)
}

.btn-outline-vi:hover {
    border-color: var(--violet-light);
    color: var(--violet-light);
    background: var(--violet-dim)
}

/* CONFIDENCE METER */
.conf-meter {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-wrap: wrap;
    padding: 1.2rem 0;
    border-top: 1px solid var(--border)
}

.conf-item {
    display: flex;
    flex-direction: column;
    gap: .2rem
}

.conf-label {
    font-family: var(--font-mono);
    font-size: .58rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: .08em
}

.conf-bar {
    width: 80px;
    height: 4px;
    background: rgba(255, 255, 255, .06);
    border-radius: 2px;
    overflow: hidden
}

.conf-fill {
    height: 100%;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--violet), var(--violet-light))
}

.conf-pct {
    font-family: var(--font-mono);
    font-size: .8rem;
    color: var(--violet-light);
    font-weight: 500
}

/* SECTION */
.section {
    padding: 5rem 0;
    position: relative;
    z-index: 1
}

.section-tag {
    font-family: var(--font-mono);
    font-size: .62rem;
    color: var(--violet-light);
    text-transform: uppercase;
    letter-spacing: .15em;
    margin-bottom: .5rem;
    display: block
}

.section-title {
    font-family: var(--font-head);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: #fff;
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.05;
    margin-bottom: .7rem
}

.section-title span {
    color: var(--violet-light)
}

.section-title .gr {
    color: var(--green)
}

.section-sub {
    color: var(--text-muted);
    max-width: 600px;
    line-height: 1.75;
    font-size: .93rem
}

.section-header {
    margin-bottom: 2.75rem
}

/* PICK CARD */
.pick-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.35rem;
    position: relative;
    overflow: hidden;
    transition: all var(--t)
}

.pick-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--violet), transparent)
}

.pick-card:hover {
    border-color: var(--violet-border);
    box-shadow: 0 4px 24px rgba(124, 58, 237, .18);
    transform: translateY(-3px)
}

.pick-card .pick-rank {
    font-family: var(--font-mono);
    font-size: .6rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: .5rem
}

.pick-card .pick-team {
    font-family: var(--font-head);
    font-size: 1.15rem;
    color: #fff;
    font-weight: 800;
    margin-bottom: .4rem;
    display: flex;
    align-items: center;
    gap: .5rem
}

.pick-card .pick-conf {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-top: .75rem
}

.pick-card .pick-conf .bar {
    flex: 1;
    height: 5px;
    background: rgba(255, 255, 255, .05);
    border-radius: 3px;
    overflow: hidden
}

.pick-card .pick-conf .fill {
    height: 100%;
    border-radius: 3px
}

.pick-card .pick-desc {
    font-size: .82rem;
    color: var(--text-dim);
    margin-top: .6rem;
    line-height: 1.65
}

/* TABLE */
.table-wrap {
    overflow-x: auto;
    border-radius: var(--radius);
    border: 1px solid var(--border)
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .85rem
}

.data-table caption {
    font-family: var(--font-mono);
    font-size: .6rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--text-dim);
    text-align: left;
    padding: .65rem 1rem;
    border-bottom: 1px solid var(--border)
}

.data-table th {
    background: rgba(124, 58, 237, .07);
    color: var(--violet-light);
    font-family: var(--font-mono);
    font-size: .6rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: .65rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--violet-border)
}

.data-table td {
    padding: .6rem 1rem;
    border-bottom: 1px solid var(--border);
    color: var(--text-muted);
    vertical-align: middle
}

.data-table tr:last-child td {
    border: none
}

.data-table tr:hover td {
    background: rgba(124, 58, 237, .04)
}

.data-table .hl td {
    background: rgba(124, 58, 237, .07);
    color: var(--text)
}

.flag-sm {
    border-radius: 2px;
    vertical-align: middle;
    margin-right: .35rem
}

/* BADGE */
.b-vi {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-mono);
    font-size: .58rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: .22rem .6rem;
    border-radius: 3px;
    background: var(--violet-dim);
    color: var(--violet-light);
    border: 1px solid var(--violet-border)
}

.b-gr {
    background: var(--green-dim);
    color: var(--green);
    border: 1px solid rgba(34, 197, 94, .25)
}

.b-am {
    background: var(--amber-dim);
    color: var(--amber);
    border: 1px solid rgba(245, 158, 11, .25)
}

.b-red {
    background: var(--red-dim);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, .25)
}

/* CONFIDENCE BAR (standalone) */
.bar-list {
    display: flex;
    flex-direction: column;
    gap: .9rem
}

.bar-item {
    display: grid;
    grid-template-columns: 160px 1fr 55px;
    gap: .75rem;
    align-items: center
}

.bar-label {
    font-size: .82rem;
    font-weight: 600;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: .4rem
}

.bar-track {
    height: 6px;
    background: rgba(255, 255, 255, .05);
    border-radius: 3px;
    overflow: hidden
}

.bar-fill {
    height: 100%;
    border-radius: 3px;
    width: 0;
    transition: width 1.4s cubic-bezier(.4, 0, .2, 1);
    background: linear-gradient(90deg, var(--violet), var(--violet-light))
}

.bar-fill.gr {
    background: linear-gradient(90deg, var(--green), rgba(34, 197, 94, .3))
}

.bar-val {
    font-family: var(--font-mono);
    font-size: .72rem;
    color: var(--violet-light);
    text-align: right
}

/* SISTER */
.sister-section {
    background: linear-gradient(135deg, #06080f, var(--surface), #06080f);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 4.5rem 0
}

/* SEO */
.seo-section {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 3.5rem 0
}

.seo-article h2 {
    font-family: var(--font-head);
    font-size: 1.2rem;
    color: #fff;
    font-weight: 800;
    margin-bottom: .8rem
}

.seo-article p {
    font-size: .88rem;
    color: var(--text-muted);
    line-height: 1.82;
    margin-bottom: .9rem
}

.seo-article a {
    color: var(--violet-light);
    border-bottom: 1px dashed var(--violet-border)
}

.seo-article a:hover {
    border-color: var(--violet-light)
}

.ql-row {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: 1rem
}

.ql {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    font-family: var(--font-mono);
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    padding: .28rem .8rem;
    border-radius: 4px;
    background: var(--violet-dim);
    border: 1px solid var(--violet-border);
    color: var(--text-dim);
    transition: all var(--t)
}

.ql:hover {
    background: rgba(124, 58, 237, .22);
    color: var(--violet-light)
}

/* BREADCRUMB */
.breadcrumbs {
    font-family: var(--font-mono);
    font-size: .68rem;
    color: var(--text-dim);
    padding: .6rem 0;
    position: relative;
    z-index: 1
}

.breadcrumbs a {
    color: var(--text-dim)
}

.breadcrumbs a:hover {
    color: var(--violet-light)
}

.breadcrumbs span {
    margin: 0 .3rem;
    opacity: .4
}

/* FAQ */
.faq-item {
    border-bottom: 1px solid var(--border)
}

.faq-q {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 1.1rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-family: var(--font-body);
    font-size: .93rem;
    font-weight: 600;
    color: #fff;
    cursor: pointer
}

.faq-icon {
    font-size: 1rem;
    color: var(--violet-light);
    flex-shrink: 0
}

.faq-answer {
    display: none;
    padding: 0 0 1.1rem;
    font-size: .87rem;
    color: var(--text-muted);
    line-height: 1.78
}

.faq-item.open .faq-answer {
    display: block
}

/* FOOTER */
.site-footer {
    background: #050710;
    border-top: 1px solid var(--violet-border);
    padding: 3rem 0 1.5rem;
    position: relative;
    z-index: 1
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--violet-light), transparent);
    opacity: .3
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem
}

.footer-brand p {
    font-size: .8rem;
    color: var(--text-dim);
    line-height: 1.7;
    margin-top: .7rem
}

.footer-col h4 {
    font-family: var(--font-mono);
    font-size: .6rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--violet-light);
    margin-bottom: .9rem
}

.footer-col li {
    margin-bottom: .38rem
}

.footer-col a {
    font-size: .8rem;
    color: var(--text-dim)
}

.footer-col a:hover {
    color: var(--violet-light)
}

.footer-social {
    border-top: 1px solid var(--border);
    padding: 1.4rem 0;
    text-align: center
}

.footer-social p {
    font-family: var(--font-mono);
    font-size: .6rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: .8rem
}

.social-row {
    display: flex;
    gap: .55rem;
    justify-content: center;
    flex-wrap: wrap
}

.soc-btn {
    display: inline-flex;
    align-items: center;
    gap: .38rem;
    font-family: var(--font-mono);
    font-size: .66rem;
    letter-spacing: .05em;
    padding: .38rem .85rem;
    border-radius: 4px;
    border: 1px solid;
    transition: all var(--t)
}

.soc-btn:hover {
    transform: translateY(-2px)
}

.soc-fb {
    border-color: rgba(24, 119, 242, .3);
    color: #1877f2;
    background: rgba(24, 119, 242, .06)
}

.soc-fb:hover {
    background: rgba(24, 119, 242, .14)
}

.soc-x {
    border-color: rgba(255, 255, 255, .12);
    color: #e7e9ea;
    background: rgba(255, 255, 255, .03)
}

.soc-x:hover {
    background: rgba(255, 255, 255, .09)
}

.soc-tt {
    border-color: rgba(255, 0, 80, .22);
    color: #ff0050;
    background: rgba(255, 0, 80, .05)
}

.soc-tt:hover {
    background: rgba(255, 0, 80, .12)
}

.soc-ig {
    border-color: rgba(225, 48, 108, .22);
    color: #e1306c;
    background: rgba(225, 48, 108, .05)
}

.soc-ig:hover {
    background: rgba(225, 48, 108, .12)
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.2rem;
    border-top: 1px solid var(--border);
    font-family: var(--font-mono);
    font-size: .68rem;
    color: var(--text-dim);
    flex-wrap: wrap;
    gap: .5rem
}

.footer-bottom a {
    color: var(--text-dim)
}

.footer-bottom a:hover {
    color: var(--violet-light)
}

.footer-dev {
    text-align: center;
    font-family: var(--font-mono);
    font-size: .65rem;
    color: var(--text-dim);
    margin-top: .5rem
}

.footer-dev a {
    color: var(--violet-light)
}

.footer-dev a:hover {
    color: var(--neon)
}

/* ANIM */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(16px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.fade-up {
    animation: fadeUp .5s ease both
}

.d1 {
    animation-delay: .1s
}

.d2 {
    animation-delay: .2s
}

.d3 {
    animation-delay: .3s
}

/* RESPONSIVE */
@media(max-width:1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr
    }
}

@media(max-width:768px) {
    .main-nav {
        display: none
    }

    .burger {
        display: flex
    }

    .hero h1 {
        font-size: 3.5rem
    }

    .bar-item {
        grid-template-columns: 110px 1fr 48px
    }

    .footer-grid {
        grid-template-columns: 1fr
    }
}