/* National Trading League: the page's single color and style palette.
   Edit these tokens to restyle the site. Component layout is in style.css. */
:root {
    --report-shadow-soft: rgba(7, 20, 40, .06);
    --report-shadow-hover: rgba(7, 20, 40, .15);
    --report-overlay: rgba(0, 0, 0, .15);
    --report-icon-border: rgba(255, 255, 255, .8);
    --report-icon-background: rgba(7, 16, 32, .8);
    --report-dialog-shadow: rgba(0, 0, 0, .65);
    --report-backdrop: rgba(0, 5, 15, .88);
    color-scheme: light;

    /* Brand and surfaces */
    --navy: #07172f;
    --ink: #080f1e;
    /* Dominant solid colors sampled from images/NTL_Logo.png. */
    --blue: #17408b;
    --red: #c9082a;
    --white: #fff;
    --social-instagram: #ff63a5;
    --social-tiktok: #25f4ee;
    --social-youtube: #ff4141;
    --social-tradingview: #6398ff;
    --clear: transparent;
    --muted: #56657a;
    --surface-soft: #f0f3f7;
    --text-secondary: #53657a;
    --text-on-dark: #f1f5fb;
    --text-footer: #b6c7df;
    --bull-highlight: var(--blue);
    --bear-highlight: var(--red);
    --bull-surface: var(--blue);
    --bear-surface: var(--red);
    --border: #d6dfe9;
    --border-glass: #ffffff38;
    --border-on-dark: #ffffff55;
    --chrome-background: #02050b;
    --header-background: var(--chrome-background);
    --footer-background: var(--chrome-background);
    --header-text: var(--white);
    --brand-national: var(--white);
    --brand-trading: var(--white);
    --brand-league: var(--white);
    --link-hover: var(--white);
    --focus-color: var(--blue);

    /* Gradients and effects */
    --league-line: linear-gradient(90deg, var(--blue) 0 50%, var(--red) 50% 100%);
    --hero-background: linear-gradient(180deg, transparent 30%, #030508 100%), linear-gradient(90deg, var(--navy), #090e19 50%, #230b13);
    --banner-mask: linear-gradient(180deg, #000 0%, #000 83%, transparent 100%);
    --panel-background: linear-gradient(110deg, #051227, #050912 55%, #270814);
    --battle-pattern: repeating-linear-gradient(130deg, transparent 0 11px, #ffffff08 12px 13px);
    --panel-shadow: none;
    --panel-blur: blur(3px);
    --panel-radius: 5px;
    --art-opacity: .4;
    --art-opacity-mobile: .3;

    /* Typography */
    --font-family: Arial, Helvetica, sans-serif;
    --font-body: 1rem;
    --font-small: .875rem;
    --font-brand: .75rem;
    --font-brand-mobile: .875rem;
    --font-brand-tablet: 1rem;
    --font-heading: clamp(2rem, 4.4vw, 4.25rem);
    --font-heading-mobile: clamp(2rem, 7.8vw, 3.25rem);
    --font-hero-body: clamp(1rem, 1.25vw, 1.125rem);
    --font-section: clamp(1.5625rem, 3.1vw, 2.8125rem);
    --font-subheading: 1.875rem;
    --font-team: clamp(1.5625rem, 3.7vw, 3.3125rem);
    --font-versus: 1.5rem;
    --font-closing: clamp(1.3125rem, 2.7vw, 2.25rem);
    --weight-normal: 400;
    --weight-bold: 800;
    --weight-heading: 900;
    --heading-style: italic;
    --hero-heading-style: normal;
    --label-case: uppercase;
    --leading-heading: 1.08;
    --leading-tight: 1;
    --leading-label: 1.4;
    --leading-small: 1.5;
    --leading-relaxed: 1.6;
    --leading-body: 1.7;
    --tracking-hero: -.035em;
    --tracking-section: -.045em;
    --tracking-heading: -1px;
    --tracking-brand: .6px;
    --tracking-label: 1px;
    --tracking-detail: 1.5px;
    --tracking-wide: 2px;
    --tracking-kicker: 2.6px;

    /* Spacing, widths and line weights */
    --space-1: 3px;
    --space-2: 4px;
    --space-3: 6px;
    --space-4: 7px;
    --space-5: 8px;
    --space-6: 9px;
    --space-7: 10px;
    --space-8: 12px;
    --space-9: 13px;
    --space-10: 14px;
    --space-11: 15px;
    --space-12: 16px;
    --space-13: 18px;
    --space-14: 20px;
    --space-15: 21px;
    --space-16: 22px;
    --space-17: 24px;
    --space-18: 25px;
    --space-19: 28px;
    --space-20: 30px;
    --space-21: 38px;
    --space-22: 44px;
    --page-gutter: 5%;
    --page-gutter-mobile: 4%;
    --team-gutter: 10%;
    --team-gutter-mobile: 8%;
    --content-width: 1440px;
    --panel-width: min(90%, var(--content-width));
    --panel-width-mobile: 92%;
    --panel-overlap: clamp(-44px, -3vw, -20px);
    --panel-gap: clamp(24px, 4vw, 62px);
    --panel-padding: clamp(24px, 3.1vw, 46px);
    --team-art-inset: clamp(44px, 5vw, 76px);
    --line-thin: 1px;
    --line-medium: 3px;
    --line-accent: 4px;
    --scroll-behavior: smooth;
    --layer-header: 5;

    /* Reusable battle divider. */
    --battle-duration: 8s;
    --battle-easing: ease-in-out;
    --battle-even: .5;
    --battle-blue-advance: .64;
    --battle-red-counter: .44;
    --battle-blue-counter: .56;
    --battle-red-advance: .36;
    --battle-ribbon-height: 20px;
    --battle-ribbon-height-mobile: 12px;

    /* Image-only alternative: rise, descend, clash, then freeze. */
    --clash-background: var(--navy);
    --clash-duration: 3.5s;
    --clash-delay: 0s;
    --clash-easing: ease;
    --clash-fighter-shadow: drop-shadow(0 14px 22px #0008);
    --clash-edge-shadow: inset 0 0 80px #02071465;
    --clash-impact-flare: radial-gradient(circle, var(--white) 0%, color-mix(in srgb, var(--white) 60%, transparent) 4%, color-mix(in srgb, var(--blue) 40%, transparent) 13%, color-mix(in srgb, var(--red) 27%, transparent) 29%, transparent 65%);
}

@media (prefers-reduced-motion: reduce) {
    :root { --scroll-behavior: auto; }
}
