/*
Theme Name: Freespinix
Theme URI: https://freespinix.co.uk
Author: Freespinix
Description: UK free spins comparison theme. Sharp-edged, category-coloured, accessible. Sprint 1 of staged Lovable to WordPress migration. v1.1 adds the Casino CPT and grid shortcodes. v1.2 adds the freespin_subpage CPT, 3 static hub pages, and 21 pre-seeded sub-pages with content from Lovable. v1.3 adds the author page editor with three HTML editor boxes and structured admin fields, plus auto-injected AuthorBox on homepage, hubs, and sub-pages. v1.3.1 — pre-upload audit + auto-fix pass. v1.4.0 — Sprint 5: seeds 10 casinos from Lovable offers.ts, replaces hub-page placeholder content with real Key Terms + real FAQs from noDepositFaqs/noWageringFaqs/depositFaqs.ts, theme-asset logo fallback when no featured image is set on a casino post. v1.4.1 — hub pages rewritten 1:1 from Lovable NoDepositPage/NoWageringPage/DepositPage with full long-form prose, hex-numbered step lists, EditorialByline, FAQ accordion, cross-category footer; shared .fs-hub-* CSS class family with --fs-hub-accent CSS variable. v1.4.2 — static page audit: added [freespinix_author_box] inline call to about.html between coverage lists and Get-in-touch CTA (matches Lovable AboutPage.tsx). v1.4.3 — sub-page tile images on hub grids (Lovable SubPageGrid 1:1), full Lovable rewrites of about / free-spins-explained / privacy-policy with .spinix-page-* and .spinix-legal-* CSS class families. v1.4.4 — setup-pages.php now re-imports page content from disk on every activation (Sprint 1 was skipping existing pages, which prevented v1.4.3 static-page rewrites from reaching the database). DESTRUCTIVE: re-activation overwrites admin edits to all 12 static pages' post_content. v1.4.5 — freespin_subpage CPT now sets show_in_admin_bar: true so the "Edit Sub-Page" link appears in the WP admin bar when viewing a sub-page on the front end. v1.4.6 — homepage JUST VERIFIED ticker and ComparisonChart radar are now dynamic: [freespinix_just_verified] queries casinos ordered by _casino_verified DESC, [freespinix_comparison_radar] computes 5 scores per cohort (Risk / Spin Count / Wagering / Availability / Conversion Value) from the Casino CPT and renders the SVG radar live. v1.4.7 — auto-upgrade detector: theme now re-runs activation hooks (page content re-import, casino seed, etc.) whenever FREESPINIX_VERSION changes between requests, so uploading a new zip without manually switching themes still propagates content updates to the database. v1.4.8 — manual force-reimport handler at /wp-admin/?freespinix_force_reimport=1 (admin-only) for cases where the auto-upgrade doesn't fire — re-runs all after_switch_theme hooks and force-rewrites the homepage from disk. v1.4.9 — JUST VERIFIED ticker now keeps scrolling even with OS-level Reduce Motion enabled (matching Lovable's HeroSection.tsx override); ComparisonChart radar polygons animate in on first render (matching Recharts default). v1.4.10 — radar SVG viewBox widened to -110 -40 620 500 and overflow:visible added so the "Conversion Value" and "Spin Count" labels no longer clip at the edges. v1.4.11 — radar labels shortened ("Conversion Value" -> "Conversion") and label_r pulled in from 28 to 18 so labels fit even when the SVG renders at ~320px on narrower viewports / when DevTools is open. v1.4.12 — removed the global prefers-reduced-motion *, *::before, *::after rule that was zeroing every animation duration on the site (the JUST VERIFIED ticker still wasn't scrolling because that rule was overriding my v1.4.9 ticker-specific override on browsers that interpret cascade order more strictly). Reduced-motion now only suppresses .fs-fade-up and .fs-pulse — opt-in instead of opt-out. v1.4.13 — JUST VERIFIED ticker now scrolls via requestAnimationFrame in freespinix.js instead of relying on CSS animation. The CSS animation is force-disabled by the JS handler so the two don't fight. This bypasses any CSS-level animation blocker (browser extension, OS setting, conflicting rule). v1.4.14 — FREESPINIX_SITE_URL now derives from WordPress's configured home URL via home_url() so canonical URLs, og:url, JSON-LD @ids, and the robots.txt sitemap URL all match the live domain (was hardcoded to https://freespinix.co.uk, now follows whatever Settings > General > Site Address is set to). v1.4.15 — homepage "No Deposit vs Deposit Free Spins — Which Is Better?" section removed (radar chart + 5-paragraph intro + 5-cell explainer grid).
Version: 1.4.15
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: freespinix
*/

/* Base body styles. Detailed component styles live in assets/css/freespinix.css. */
body {
  margin: 0;
  background: #FFFFFF;
  color: #0B0D12;
  font-family: Inter, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 { font-family: 'Space Grotesk', system-ui, sans-serif; margin: 0; }
* { border-radius: 0 !important; }
::selection { background: #0E8F7E; color: #0B0D12; }
