/* Rumble site — design tokens. Light page, rough-cut panels, dark footer.
   Game pages override the brand colours per game (applyPalette in site.js). */

@import url("https://api.fontshare.com/v2/css?f[]=bespoke-sans@400,500,700,800&f[]=author@400,500,600,700&display=swap");

:root {
	/* Ink — text + dark surfaces */
	--ink: #0d2a3a;
	--ink-2: #164a5e;
	--ink-3: #4b6b7a;
	--night: #08182a; /* footer / overlays */

	/* Paper — the page is light; panels sit on white */
	--white: #ffffff;
	--paper: #f2f4f3;
	--paper-2: #e4e9e8;

	/* Brand — pulled from the Rumble wordmark */
	--mint: #1de9b6; /* hover/highlight */
	--lime: #c6f35e;
	--cyan: #2fd6ea; /* wordmark outer stroke */
	--volt: #8b3cf0; /* text links on light */
	--signal: #d81b45; /* badges, "new", live (white text on it passes 4.5:1) */
	--steel: #a9bccd;

	/* CTA button gradient */
	--cta-top: #d8ff6a;
	--cta-bottom: #17d9a8;
	--cta-stroke: #08182a;

	/* Type */
	--font-display: "Bespoke Sans", "Lato", system-ui, sans-serif;
	--font-body: "Author", "Bespoke Sans", system-ui, sans-serif;

	--fs-hero: clamp(40px, 6vw, 72px); /* 800 */
	--fs-h1: clamp(36px, 4.4vw, 60px); /* 800, "Welcome to …" */
	--fs-h2: 24px; /* 900 */
	--fs-h3: 21px; /* 900, card titles / feature captions */
	--fs-body: 18px; /* 400–500 */
	--fs-ui: 16px; /* 900 nav, 800 links */
	--fs-meta: 14px; /* 700 dates, legal */
	--fs-tag: 13px; /* 700 uppercase +0.03em */

	/* Layout */
	--content: 1200px;
	--gutter: max(24px, calc(50vw - var(--content) / 2));
	--header-h: 64px;
	--space-1: 4px;
	--space-2: 8px;
	--space-3: 12px;
	--space-4: 16px;
	--space-5: 24px;
	--space-6: 32px;
	--space-7: 64px;
	--space-8: 120px; /* section → footer */

	/* Motion */
	--ease-snap: cubic-bezier(0.2, 0.9, 0.3, 1.3);
	--t-fast: 0.15s;
	--t-base: 0.2s;

	/* Rough-cut masks */
	--cut-panel: polygon(0.4% 1.6%, 46% 0%, 74% 0.9%, 87% 0%, 99.6% 1%, 99% 26%, 99.6% 50%, 100% 75%, 99.5% 99.4%, 81% 97.4%, 59% 100%, 21% 99.3%, 20% 97.4%, 15.8% 99.3%, 0.6% 99.3%, 0% 78%, 1.2% 20%, 2.6% 17.6%);
	--cut-card: polygon(1% 2%, 24% 0%, 50% 2%, 52.8% 4.7%, 51.7% 2%, 99.4% 2%, 100% 77%, 99.4% 97.3%, 59% 100%, 25.6% 96%, 1% 97.3%, 1.5% 93.8%, 0% 58%, 1.5% 12%);
	--cut-chip: polygon(2% 2%, 24% 1%, 76% 3%, 98% 4%, 100% 9%, 99.5% 38%, 100% 92%, 79% 100%, 48% 98.5%, 47% 97%, 17% 97%, 0.2% 94%, 0% 31%, 0.6% 19%);
	--cut-band: polygon(0.2% 4%, 5% 1.6%, 5.3% 2.8%, 6% 1.6%, 53% 0%, 100% 1.6%, 99.8% 22%, 100% 50%, 99.5% 98.5%, 52.8% 100%, 49.9% 99%, 9.5% 95.6%, 0.4% 97.6%, 0% 29.6%);
}
