/**
 * BreakingBet design tokens — dark, green-tinted sports desk.
 *
 * Every colour, size, radius and shadow in theme.css should come from here.
 *
 * @package BreakingBet
 */

:root {
	/* Surfaces — near-black with a green undertone */
	--bb-bg: #060a09;
	--bb-elevated: #091010;
	--bb-surface: #0d1513;
	--bb-surface-2: #121c19;
	--bb-surface-3: #172320;
	--bb-border: #1a2623;
	--bb-border-strong: #2a3934;
	--bb-border-glass: rgba(255, 255, 255, 0.08);

	/* Text */
	--bb-text: #f3f7f5;
	--bb-text-secondary: #a9b4b0;
	--bb-text-muted: #85918d; /* ≥4.5:1 on bg, surface and surface-2 (AA) */
	--bb-text-on-accent: #03140d;

	/* Accent */
	--bb-accent: #06c37c; /* brand green, matches logo.svg */
	--bb-accent-hover: #22d996;
	--bb-accent-deep: #04794d;
	--bb-accent-soft: rgba(6, 195, 124, 0.13);
	--bb-accent-line: rgba(6, 195, 124, 0.42);
	--bb-accent-ring: rgba(6, 195, 124, 0.45);

	/* Semantic */
	--bb-danger: #ff5468;
	--bb-danger-soft: rgba(255, 84, 104, 0.12);
	--bb-warning: #f6b63e;
	--bb-warning-soft: rgba(246, 182, 62, 0.12);
	--bb-success: var(--bb-accent);
	--bb-success-soft: var(--bb-accent-soft);
	--bb-info: #6aa8ff;
	--bb-info-soft: rgba(106, 168, 255, 0.12);
	--bb-star: #f6c544;

	/* Atmosphere */
	--bb-glow: radial-gradient(60% 80% at 85% 0%, rgba(6, 195, 124, 0.10), transparent 70%);
	--bb-glow-soft: radial-gradient(50% 60% at 0% 0%, rgba(6, 195, 124, 0.06), transparent 70%);
	--bb-card-sheen: linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 40%);

	/* Typography */
	--bb-font-display: "Archivo", "Arial Black", Impact, sans-serif; /* used expanded + italic */
	--bb-font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
	--bb-display-stretch: 125%;
	--bb-display-weight: 800;
	--bb-tracking-display: -0.02em;
	--bb-tracking-tight: -0.01em;
	--bb-tracking-wide: 0.03em;
	--bb-tracking-caps: 0.14em;

	/* Type scale — use only these. Minimum is 12px. */
	--bb-fs-label: 0.75rem;   /* 12px — uppercase labels, badges */
	--bb-fs-sm: 0.875rem;     /* 14px — meta, secondary */
	--bb-fs-body: 0.9375rem;  /* 15px — card body copy */
	--bb-fs-base: 1rem;       /* 16px — body */
	--bb-fs-md: 1.125rem;     /* 18px — card titles */
	--bb-fs-lg: 1.375rem;     /* 22px */
	--bb-fs-xl: 1.75rem;      /* 28px — stat values */
	--bb-fs-h3: clamp(1.375rem, 2vw, 1.625rem);
	--bb-fs-h2: clamp(1.625rem, 2.6vw, 2.125rem);
	--bb-fs-h1: clamp(2.125rem, 4.2vw, 3.25rem);
	--bb-fs-display: clamp(2.4rem, 4.6vw, 4rem);

	--bb-leading-tight: 0.98;
	--bb-leading-snug: 1.25;
	--bb-leading-body: 1.65;

	/* Layout */
	--bb-container: 1440px;
	--bb-container-wide: 1600px;
	--bb-header-height: 80px;
	--bb-gutter: 1.5rem;
	--bb-section-gap: clamp(3.5rem, 6vw, 5.5rem);

	/* Radius */
	--bb-radius-sm: 6px;
	--bb-radius: 10px;
	--bb-radius-lg: 14px;
	--bb-radius-pill: 999px;

	/* Motion */
	--bb-ease: cubic-bezier(0.22, 1, 0.36, 1);
	--bb-duration: 180ms;
	--bb-duration-slow: 320ms;

	/* Shadows */
	--bb-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
	--bb-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
	--bb-shadow-accent: 0 10px 30px rgba(6, 195, 124, 0.22);
	--bb-inset-top: inset 0 1px 0 rgba(255, 255, 255, 0.04);

	/* Z-index */
	--bb-z-header: 100;
	--bb-z-search: 110;
	--bb-z-nav: 120;
	--bb-z-overlay: 130;

	/* Form controls */
	--bb-control-height: 48px;
	--bb-control-height-sm: 38px;
}
