/*
Theme Name: FunPickLab
Author: Retweaker
Description: A polished WordPress theme for browser-based fun pickers, generators, social games and date calculators. Includes 18 interactive tools, responsive layouts, legal pages and advertisement widget areas.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: funpicklab
Tags: entertainment, one-column, custom-logo, custom-menu, featured-images, blog
*/

:root {
  --fpl-bg: #090d1a;
  --fpl-bg-soft: #0e1426;
  --fpl-surface: rgba(18, 26, 48, .82);
  --fpl-surface-solid: #121a30;
  --fpl-surface-2: #17213c;
  --fpl-text: #f7f8ff;
  --fpl-muted: #aab5ce;
  --fpl-purple: #8b5cf6;
  --fpl-purple-2: #6d4aff;
  --fpl-cyan: #34d9c3;
  --fpl-blue: #5fa8ff;
  --fpl-pink: #ff7abd;
  --fpl-warning: #ffca67;
  --fpl-border: rgba(255, 255, 255, .10);
  --fpl-border-strong: rgba(255, 255, 255, .16);
  --fpl-shadow: 0 24px 80px rgba(0, 0, 0, .38);
  --fpl-shadow-soft: 0 14px 40px rgba(0, 0, 0, .22);
  --fpl-radius: 24px;
  --fpl-radius-sm: 16px;
  --fpl-container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--fpl-text);
  background:
    radial-gradient(circle at 15% -10%, rgba(139, 92, 246, .23), transparent 30%),
    radial-gradient(circle at 100% 20%, rgba(52, 217, 195, .12), transparent 27%),
    var(--fpl-bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open { overflow: hidden; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
::selection { color: #fff; background: var(--fpl-purple); }

.container { width: min(var(--fpl-container), calc(100% - 40px)); margin-inline: auto; }
.narrow-container { max-width: 980px; }
.article-container { max-width: 860px; }
.site-main { overflow: hidden; }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}
.screen-reader-text:focus,
.skip-link:focus {
  top: 8px; left: 8px;
  width: auto; height: auto;
  padding: 12px 16px;
  clip: auto;
  z-index: 9999;
  color: #111;
  background: #fff;
  border-radius: 10px;
}

:focus-visible { outline: 3px solid var(--fpl-cyan); outline-offset: 3px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  background: rgba(9, 13, 26, .78);
  backdrop-filter: blur(20px) saturate(140%);
}
.admin-bar .site-header { top: 32px; }
.nav-shell { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.site-branding { flex: 0 0 auto; }
.custom-logo-link { display: inline-flex; align-items: center; }
.custom-logo { width: auto; max-height: 50px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(139, 92, 246, .95), rgba(78, 70, 229, .95));
  box-shadow: 0 12px 30px rgba(109, 74, 255, .28);
  font-size: 23px;
}
.brand-copy { display: flex; flex-direction: column; line-height: 1.15; }
.brand-copy strong { font-size: 18px; letter-spacing: -.02em; }
.brand-copy small { margin-top: 5px; color: var(--fpl-muted); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.primary-nav { display: flex; align-items: center; gap: 22px; }
.primary-nav .menu { display: flex; align-items: center; gap: 6px; padding: 0; margin: 0; list-style: none; }
.primary-nav .menu a { display: block; padding: 11px 13px; color: #dce2f3; border-radius: 11px; font-size: 14px; font-weight: 650; transition: .2s ease; }
.primary-nav .menu a:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.nav-cta { padding: 11px 18px; border-radius: 12px; background: #fff; color: #101528; font-size: 14px; font-weight: 800; box-shadow: 0 8px 30px rgba(255, 255, 255, .12); }
.nav-toggle { display: none; width: 46px; height: 46px; padding: 11px; border: 1px solid var(--fpl-border); border-radius: 13px; background: var(--fpl-surface-solid); }
.nav-toggle > span:not(.screen-reader-text) { display: block; width: 100%; height: 2px; margin: 5px 0; border-radius: 2px; background: #fff; transition: .2s ease; }

.hero-section { position: relative; isolation: isolate; padding: 94px 0 84px; }
.hero-orb { position: absolute; z-index: -1; border-radius: 999px; filter: blur(10px); pointer-events: none; }
.hero-orb-one { width: 380px; height: 380px; top: -190px; left: -110px; background: rgba(139, 92, 246, .17); }
.hero-orb-two { width: 320px; height: 320px; right: -110px; bottom: -80px; background: rgba(52, 217, 195, .09); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr); align-items: center; gap: 72px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: #bfaeff; font-size: 12px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.hero-copy h1 { max-width: 760px; margin: 18px 0 22px; font-size: clamp(46px, 6.4vw, 78px); line-height: .98; letter-spacing: -.06em; }
.hero-copy > p { max-width: 650px; margin: 0; color: var(--fpl-muted); font-size: 19px; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 34px; }
.button,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-weight: 800;
  line-height: 1.2;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}
.button:hover, .btn:hover { transform: translateY(-2px); }
.button-large { min-height: 56px; padding-inline: 25px; }
.button-primary, .btn:not(.secondary) { color: #fff; background: linear-gradient(135deg, var(--fpl-purple), var(--fpl-purple-2)); box-shadow: 0 14px 35px rgba(109, 74, 255, .28); }
.button-primary:hover, .btn:not(.secondary):hover { box-shadow: 0 18px 44px rgba(109, 74, 255, .38); }
.button-ghost, .btn.secondary { color: #eef1ff; border-color: var(--fpl-border-strong); background: rgba(255, 255, 255, .055); }
.button-light { color: #18122d; background: #fff; box-shadow: 0 16px 36px rgba(0, 0, 0, .18); }
.trust-row { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 30px; color: #c4cee3; font-size: 13px; }
.trust-row span { display: inline-flex; align-items: center; gap: 8px; }
.trust-row i { display: grid; place-items: center; width: 19px; height: 19px; border-radius: 50%; color: #06241e; background: var(--fpl-cyan); font-size: 11px; font-style: normal; font-weight: 900; }

.hero-preview { position: relative; min-height: 520px; display: grid; place-items: center; }
.preview-glow { position: absolute; width: 75%; height: 75%; border-radius: 50%; background: radial-gradient(circle, rgba(139, 92, 246, .32), transparent 68%); filter: blur(16px); }
.preview-card {
  position: relative;
  border: 1px solid rgba(255, 255, 255, .14);
  background: linear-gradient(145deg, rgba(25, 35, 64, .93), rgba(13, 20, 38, .92));
  box-shadow: var(--fpl-shadow);
  backdrop-filter: blur(18px);
}
.preview-main { width: min(100%, 410px); padding: 30px; border-radius: 30px; transform: rotate(-2deg); }
.preview-top { display: flex; justify-content: space-between; align-items: center; }
.preview-icon { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 20px; background: rgba(139, 92, 246, .18); font-size: 31px; }
.preview-pill { padding: 8px 11px; border: 1px solid rgba(52, 217, 195, .22); border-radius: 999px; color: #83f4e3; background: rgba(52, 217, 195, .08); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.preview-main h2 { margin: 26px 0 5px; font-size: 29px; letter-spacing: -.03em; }
.preview-main p { margin: 0; color: var(--fpl-muted); }
.preview-main > a { display: inline-flex; gap: 8px; margin-top: 22px; color: #fff; font-weight: 800; }
.mini-wheel { position: relative; width: 180px; height: 180px; margin: 28px auto 8px; border: 10px solid rgba(255, 255, 255, .08); border-radius: 50%; display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; transform: rotate(8deg); box-shadow: inset 0 0 30px rgba(0,0,0,.24); }
.mini-wheel span { display: grid; place-items: center; font-size: 29px; }
.mini-wheel span:nth-child(1) { background: #8b5cf6; }
.mini-wheel span:nth-child(2) { background: #1fbda8; }
.mini-wheel span:nth-child(3) { background: #4e8ddd; }
.mini-wheel span:nth-child(4) { background: #ef6aa9; }
.floating-chip { position: absolute; display: flex; align-items: center; gap: 10px; padding: 13px 16px; border: 1px solid rgba(255,255,255,.14); border-radius: 16px; background: rgba(18, 26, 48, .88); box-shadow: var(--fpl-shadow-soft); backdrop-filter: blur(15px); font-size: 13px; }
.floating-chip span { font-size: 21px; }
.chip-one { top: 68px; right: -12px; transform: rotate(4deg); }
.chip-two { left: -22px; bottom: 70px; transform: rotate(-4deg); }

.quick-strip { border-block: 1px solid rgba(255,255,255,.075); background: rgba(255,255,255,.018); }
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.quick-grid > div { padding: 26px 20px; text-align: center; border-right: 1px solid rgba(255,255,255,.075); }
.quick-grid > div:last-child { border-right: 0; }
.quick-grid strong { display: block; font-size: 24px; letter-spacing: -.03em; }
.quick-grid span { color: var(--fpl-muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }

.tools-section { padding: 105px 0 110px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 36px; }
.section-heading h2 { max-width: 690px; margin: 11px 0 0; font-size: clamp(32px, 4.5vw, 52px); line-height: 1.05; letter-spacing: -.045em; }
.section-heading > p { max-width: 430px; margin: 0; color: var(--fpl-muted); }
.tool-controls { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 30px; }
.tool-search { display: flex; align-items: center; gap: 10px; width: min(100%, 330px); min-height: 50px; padding: 0 16px; border: 1px solid var(--fpl-border); border-radius: 14px; background: rgba(255,255,255,.045); }
.tool-search span { color: var(--fpl-muted); font-size: 22px; }
.tool-search input { width: 100%; border: 0; outline: 0; color: #fff; background: transparent; }
.tool-search input::placeholder { color: #8894ae; }
.filter-pills { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.filter-pill { padding: 10px 14px; border: 1px solid var(--fpl-border); border-radius: 999px; color: #c9d1e4; background: rgba(255,255,255,.025); font-size: 12px; font-weight: 750; }
.filter-pill:hover, .filter-pill.is-active { color: #fff; border-color: rgba(139,92,246,.5); background: rgba(139,92,246,.18); }
.tool-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.tool-card { min-width: 0; }
.tool-card[hidden] { display: none; }
.tool-card-link { position: relative; display: flex; flex-direction: column; min-height: 280px; height: 100%; padding: 23px; border: 1px solid var(--fpl-border); border-radius: 22px; background: linear-gradient(145deg, rgba(22, 31, 57, .78), rgba(15, 22, 41, .86)); box-shadow: 0 1px 0 rgba(255,255,255,.02); overflow: hidden; transition: .25s ease; }
.tool-card-link::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 10% 0%, rgba(139,92,246,.16), transparent 38%); opacity: 0; transition: .25s ease; }
.tool-card-link:hover { transform: translateY(-7px); border-color: rgba(139, 92, 246, .46); box-shadow: 0 24px 54px rgba(0,0,0,.28); }
.tool-card-link:hover::before { opacity: 1; }
.tool-card-top { position: relative; display: flex; align-items: center; justify-content: space-between; }
.tool-icon { display: grid; place-items: center; width: 54px; height: 54px; border: 1px solid rgba(255,255,255,.09); border-radius: 17px; background: rgba(255,255,255,.06); font-size: 27px; }
.tool-arrow { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--fpl-muted); background: rgba(255,255,255,.04); transition: .2s ease; }
.tool-card-link:hover .tool-arrow { color: #fff; background: var(--fpl-purple); transform: rotate(5deg); }
.tool-card h3 { position: relative; margin: 25px 0 9px; font-size: 20px; line-height: 1.25; letter-spacing: -.025em; }
.tool-card p { position: relative; margin: 0; color: var(--fpl-muted); font-size: 14px; }
.tool-card-meta { position: relative; margin-top: auto; padding-top: 22px; color: #9384d1; font-size: 10px; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.no-tools { padding: 32px; text-align: center; color: var(--fpl-muted); border: 1px dashed var(--fpl-border-strong); border-radius: var(--fpl-radius); }

.ad-area { margin-top: 30px; margin-bottom: 30px; }
.ad-widget { min-height: 90px; display: grid; place-items: center; border: 1px dashed rgba(255,255,255,.14); border-radius: 16px; background: rgba(255,255,255,.02); overflow: hidden; }
.ad-widget > * { max-width: 100%; }

.safety-section { padding: 100px 0; border-block: 1px solid rgba(255,255,255,.07); background: linear-gradient(180deg, rgba(255,255,255,.018), transparent); }
.safety-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 24px; }
.safety-card { padding: 42px; border: 1px solid rgba(139,92,246,.25); border-radius: 30px; background: radial-gradient(circle at 100% 0%, rgba(139,92,246,.22), transparent 40%), var(--fpl-surface-solid); }
.safety-icon { display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 24px; border-radius: 20px; background: rgba(52,217,195,.12); font-size: 30px; }
.safety-card h2 { margin: 12px 0 15px; font-size: 40px; line-height: 1.1; letter-spacing: -.04em; }
.safety-card p { max-width: 660px; color: var(--fpl-muted); }
.text-link { display: inline-flex; align-items: center; gap: 7px; color: #d9d0ff; font-weight: 800; }
.privacy-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.privacy-panel > div { padding: 27px; border: 1px solid var(--fpl-border); border-radius: 22px; background: rgba(18,26,48,.7); }
.privacy-panel span { font-size: 25px; }
.privacy-panel h3 { margin: 18px 0 6px; font-size: 18px; }
.privacy-panel p { margin: 0; color: var(--fpl-muted); font-size: 13px; }

.cta-section { padding: 90px 0; }
.cta-card { display: flex; align-items: center; justify-content: space-between; gap: 35px; padding: 48px 52px; border-radius: 30px; background: linear-gradient(120deg, #7147ee, #5a38cf 52%, #4a31a8); box-shadow: 0 28px 80px rgba(76, 45, 180, .28); }
.cta-card h2 { margin: 11px 0 8px; font-size: clamp(30px, 4vw, 45px); line-height: 1.05; letter-spacing: -.04em; }
.cta-card p { margin: 0; color: #e5defe; }
.cta-card .eyebrow { color: #efeaff; }

.site-footer { padding: 74px 0 25px; border-top: 1px solid rgba(255,255,255,.08); background: #070a14; }
.footer-main { display: grid; grid-template-columns: 1.5fr .7fr .7fr; gap: 55px; padding-bottom: 48px; }
.footer-brand p { max-width: 450px; margin: 22px 0 0; color: var(--fpl-muted); }
.footer-column h2 { margin: 0 0 17px; color: #8f9bb5; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.footer-column ul { padding: 0; margin: 0; list-style: none; }
.footer-column li + li { margin-top: 10px; }
.footer-column a { color: #d8deee; font-size: 14px; }
.footer-column a:hover { color: #fff; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.07); color: #7f8aa3; font-size: 12px; }

/* Tool pages */
.tool-breadcrumbs { display: flex; align-items: center; gap: 9px; padding-top: 30px; color: #8995ae; font-size: 12px; }
.tool-breadcrumbs a:hover { color: #fff; }
.tool-hero { padding: 58px 0 50px; }
.tool-hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 45px; align-items: end; }
.tool-page-icon { display: grid; place-items: center; width: 72px; height: 72px; margin-bottom: 22px; border: 1px solid rgba(255,255,255,.12); border-radius: 23px; background: linear-gradient(145deg, rgba(139,92,246,.23), rgba(52,217,195,.07)); font-size: 36px; }
.tool-hero h1 { margin: 13px 0 13px; font-size: clamp(42px, 6vw, 68px); line-height: 1; letter-spacing: -.055em; }
.tool-hero p { max-width: 740px; margin: 0; color: var(--fpl-muted); font-size: 18px; }
.tool-badges { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 23px; }
.tool-badges span { padding: 8px 11px; border: 1px solid var(--fpl-border); border-radius: 999px; color: #bfc9dd; background: rgba(255,255,255,.035); font-size: 11px; font-weight: 750; }
.tool-hero-note { display: flex; align-items: flex-start; gap: 14px; padding: 22px; border: 1px solid rgba(255,202,103,.19); border-radius: 19px; background: rgba(255,202,103,.055); }
.tool-hero-note > span { font-size: 22px; }
.tool-hero-note strong { display: block; margin-bottom: 4px; color: #ffe1a1; }
.tool-hero-note p { font-size: 13px; line-height: 1.55; }
.tool-workspace-section { padding: 10px 0 75px; }
.tool-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 22px; align-items: start; }
.tool-workspace { overflow: hidden; border: 1px solid var(--fpl-border-strong); border-radius: 28px; background: linear-gradient(145deg, rgba(22,31,57,.96), rgba(11,17,32,.98)); box-shadow: var(--fpl-shadow); }
.tool-workspace-head { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 0 20px; border-bottom: 1px solid var(--fpl-border); color: #7f8ba5; font-size: 11px; text-transform: uppercase; letter-spacing: .09em; }
.workspace-dot { display: inline-block; width: 8px; height: 8px; margin-right: 5px; border-radius: 50%; background: #ff6b72; }
.workspace-dot:nth-child(2) { background: #ffc65f; }
.workspace-dot:nth-child(3) { background: #44d6a7; }
.tool-ui-mount { min-height: 410px; padding: clamp(24px, 4vw, 44px); }
.tool-sidebar { display: grid; gap: 14px; }
.sidebar-card, .sidebar-link-card { padding: 22px; border: 1px solid var(--fpl-border); border-radius: 20px; background: rgba(18,26,48,.7); }
.sidebar-icon { font-size: 23px; }
.sidebar-card h2 { margin: 14px 0 7px; font-size: 17px; }
.sidebar-card p { margin: 0; color: var(--fpl-muted); font-size: 13px; }
.sidebar-link-card { display: flex; align-items: center; gap: 12px; }
.sidebar-link-card > span { font-size: 22px; }
.sidebar-link-card div { min-width: 0; flex: 1; }
.sidebar-link-card strong, .sidebar-link-card small { display: block; }
.sidebar-link-card strong { font-size: 13px; }
.sidebar-link-card small { margin-top: 2px; color: var(--fpl-muted); font-size: 11px; }
.sidebar-link-card b { color: var(--fpl-muted); }

.tool-ui { display: grid; gap: 23px; }
.tool-ui .field { display: grid; gap: 9px; }
.tool-ui label { color: #e9ecf6; font-size: 13px; font-weight: 760; }
.tool-ui .input,
.tool-ui .textarea,
.tool-ui .select {
  width: 100%;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 14px;
  color: #fff;
  background: rgba(5,9,18,.52);
  outline: 0;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.tool-ui .input, .tool-ui .select { min-height: 50px; padding: 0 14px; }
.tool-ui .textarea { min-height: 132px; padding: 13px 14px; resize: vertical; }
.tool-ui .input:focus, .tool-ui .textarea:focus, .tool-ui .select:focus { border-color: rgba(139,92,246,.78); box-shadow: 0 0 0 4px rgba(139,92,246,.12); }
.tool-ui .select option { color: #111; background: #fff; }
.tool-ui .row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.tool-ui .actions { display: flex; flex-wrap: wrap; gap: 10px; }
.tool-ui .result { min-height: 104px; display: flex; align-items: center; justify-content: center; padding: 23px; border: 1px solid rgba(52,217,195,.2); border-radius: 18px; text-align: center; background: radial-gradient(circle at 50% 0%, rgba(52,217,195,.13), transparent 60%), rgba(5,12,22,.6); }
.tool-ui .result strong { display: block; font-size: clamp(22px, 3.5vw, 34px); line-height: 1.25; letter-spacing: -.03em; overflow-wrap: anywhere; }
.tool-ui .result small { display: block; margin-top: 8px; color: var(--fpl-muted); font-size: 12px; font-weight: 500; letter-spacing: 0; }
.success-note { min-height: 18px; color: #72e6d2; font-size: 12px; }
.wheel-wrap { position: relative; width: min(300px, 80vw); margin: 5px auto; }
.wheel { width: 100%; aspect-ratio: 1; border: 12px solid rgba(255,255,255,.1); border-radius: 50%; box-shadow: 0 20px 50px rgba(0,0,0,.3), inset 0 0 20px rgba(0,0,0,.25); transition: transform 3.6s cubic-bezier(.12,.72,.05,1); }
.pointer { position: absolute; z-index: 2; top: -4px; left: 50%; width: 0; height: 0; transform: translateX(-50%); border-left: 15px solid transparent; border-right: 15px solid transparent; border-top: 31px solid #fff; filter: drop-shadow(0 4px 7px rgba(0,0,0,.35)); }

.tool-content-section { padding: 15px 0 85px; }
.tool-content-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 22px; }
.content-card { padding: 34px; border: 1px solid var(--fpl-border); border-radius: 24px; background: rgba(18,26,48,.62); }
.content-card h2 { margin: 12px 0 13px; font-size: 31px; line-height: 1.15; letter-spacing: -.035em; }
.content-card p { color: var(--fpl-muted); }
.content-card.compact h2 { margin-top: 0; font-size: 22px; }
.check-list { padding: 0; margin: 20px 0 0; list-style: none; }
.check-list li { position: relative; padding-left: 27px; color: #c3cce0; }
.check-list li + li { margin-top: 11px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--fpl-cyan); font-weight: 900; }
.related-section { padding: 80px 0 110px; border-top: 1px solid rgba(255,255,255,.07); }
.compact-heading { align-items: center; }
.related-grid { grid-template-columns: repeat(3, 1fr); }
.related-grid .tool-card-link { min-height: 250px; }

/* Content and blog */
.content-shell { min-height: 65vh; padding: 85px 0 110px; }
.archive-header, .content-page > header, .article-header { margin-bottom: 38px; }
.archive-header h1, .content-page h1, .article-header h1 { margin: 12px 0; font-size: clamp(39px, 6vw, 64px); line-height: 1.03; letter-spacing: -.05em; }
.archive-header p, .archive-description, .article-byline { color: var(--fpl-muted); }
.content-page, .single-article { padding: clamp(26px, 5vw, 56px); border: 1px solid var(--fpl-border); border-radius: 28px; background: rgba(18,26,48,.66); box-shadow: var(--fpl-shadow-soft); }
.entry-content { color: #d2d9e9; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2, .entry-content h3, .entry-content h4 { color: #fff; line-height: 1.2; letter-spacing: -.025em; }
.entry-content h2 { margin-top: 2em; font-size: 32px; }
.entry-content a { color: #bcaeff; text-decoration: underline; text-underline-offset: 3px; }
.entry-content blockquote { margin: 28px 0; padding: 18px 22px; border-left: 4px solid var(--fpl-purple); background: rgba(139,92,246,.08); }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { padding: 12px; border: 1px solid var(--fpl-border); text-align: left; }
.post-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.post-card { overflow: hidden; border: 1px solid var(--fpl-border); border-radius: 23px; background: rgba(18,26,48,.68); }
.post-thumbnail { display: block; aspect-ratio: 16/9; overflow: hidden; }
.post-thumbnail img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.post-card:hover .post-thumbnail img { transform: scale(1.035); }
.post-card-body { padding: 25px; }
.post-meta { color: #9789ce; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.post-card h2 { margin: 11px 0 8px; font-size: 25px; line-height: 1.2; letter-spacing: -.03em; }
.post-card p { color: var(--fpl-muted); }
.article-image { margin: 0 0 35px; overflow: hidden; border-radius: 22px; }
.navigation.pagination { margin-top: 38px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.page-numbers { display: grid; place-items: center; min-width: 42px; min-height: 42px; border: 1px solid var(--fpl-border); border-radius: 10px; }
.page-numbers.current { background: var(--fpl-purple); }
.comments-area { margin-top: 30px; padding: 30px; border: 1px solid var(--fpl-border); border-radius: 22px; background: rgba(18,26,48,.65); }
.comment-list { padding-left: 22px; }
.comment-form input:not([type="submit"]), .comment-form textarea { width: 100%; padding: 12px; border: 1px solid var(--fpl-border); border-radius: 12px; color: #fff; background: #0a1020; }
.form-submit .submit { padding: 12px 18px; border: 0; border-radius: 12px; color: #fff; background: var(--fpl-purple); font-weight: 800; }
.empty-state { padding: 60px 30px; text-align: center; border: 1px dashed var(--fpl-border-strong); border-radius: 26px; }
.empty-state > span { font-size: 48px; }
.error-page { min-height: 72vh; display: grid; place-items: center; padding: 80px 0; }
.error-card { max-width: 760px; text-align: center; }
.error-number { display: block; color: rgba(139,92,246,.38); font-size: clamp(110px, 20vw, 220px); font-weight: 900; line-height: .8; letter-spacing: -.08em; }
.error-card h1 { margin: 20px 0 10px; font-size: 44px; letter-spacing: -.04em; }
.error-card p { color: var(--fpl-muted); }
.error-card .hero-actions { justify-content: center; }

@media (max-width: 1050px) {
  .hero-grid { grid-template-columns: 1fr 420px; gap: 35px; }
  .tool-grid { grid-template-columns: repeat(3, 1fr); }
  .tool-layout { grid-template-columns: 1fr 260px; }
}

@media (max-width: 900px) {
  .admin-bar .site-header { top: 46px; }
  .nav-toggle { display: block; }
  .primary-nav { position: fixed; inset: 79px 0 auto; display: none; flex-direction: column; align-items: stretch; padding: 22px 20px 28px; border-bottom: 1px solid var(--fpl-border); background: rgba(9,13,26,.98); box-shadow: 0 30px 50px rgba(0,0,0,.35); }
  .admin-bar .primary-nav { top: 125px; }
  .primary-nav.is-open { display: flex; }
  .primary-nav .menu { flex-direction: column; align-items: stretch; }
  .primary-nav .menu a { padding: 13px 14px; }
  .nav-cta { text-align: center; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-preview { width: min(100%, 500px); min-height: 460px; margin-inline: auto; }
  .tool-grid { grid-template-columns: repeat(2, 1fr); }
  .section-heading { align-items: start; flex-direction: column; }
  .tool-controls { align-items: stretch; flex-direction: column; }
  .tool-search { width: 100%; }
  .filter-pills { justify-content: flex-start; }
  .safety-grid, .tool-hero-grid, .tool-content-grid { grid-template-columns: 1fr; }
  .tool-layout { grid-template-columns: 1fr; }
  .tool-sidebar { grid-template-columns: repeat(3, 1fr); }
  .cta-card { align-items: flex-start; flex-direction: column; }
  .footer-main { grid-template-columns: 1.2fr .8fr .8fr; }
}

@media (max-width: 700px) {
  .container { width: min(100% - 28px, var(--fpl-container)); }
  .hero-section { padding: 70px 0 55px; }
  .hero-copy h1 { font-size: clamp(43px, 14vw, 62px); }
  .hero-preview { min-height: 420px; }
  .preview-main { padding: 24px; }
  .chip-one { right: -2px; }
  .chip-two { left: -2px; }
  .quick-grid { grid-template-columns: 1fr 1fr; }
  .quick-grid > div:nth-child(2) { border-right: 0; }
  .quick-grid > div:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.075); }
  .tools-section, .safety-section { padding: 75px 0; }
  .tool-grid, .related-grid, .privacy-panel, .post-grid { grid-template-columns: 1fr; }
  .tool-card-link { min-height: 235px; }
  .safety-card, .content-card { padding: 27px; }
  .safety-card h2 { font-size: 34px; }
  .cta-section { padding: 65px 0; }
  .cta-card { padding: 32px 27px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .tool-hero { padding-top: 42px; }
  .tool-sidebar { grid-template-columns: 1fr; }
  .tool-ui .row { grid-template-columns: 1fr; }
  .tool-ui .actions .btn { flex: 1 1 auto; }
  .content-page, .single-article { border-radius: 21px; }
}

@media (max-width: 430px) {
  .brand-copy small { display: none; }
  .hero-actions .button { width: 100%; }
  .floating-chip { display: none; }
  .hero-preview { min-height: 365px; }
  .preview-main { transform: none; }
  .mini-wheel { width: 150px; height: 150px; }
  .filter-pills { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 5px; }
  .filter-pill { flex: 0 0 auto; }
  .tool-workspace { border-radius: 21px; }
  .tool-ui-mount { padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
.tool-card h2 { position: relative; margin: 25px 0 9px; font-size: 20px; line-height: 1.25; letter-spacing: -.025em; }
.directory-header { max-width: 760px; }
.directory-content { margin-top: 55px; padding: 34px; border: 1px solid var(--fpl-border); border-radius: 24px; background: rgba(18,26,48,.62); }
