/* /assets/css/hub.css */

.hub-page {
  background:
    linear-gradient(180deg, #ffffff 0, #f7f8fb 460px),
    #f7f8fb;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.72fr);
  gap: 36px;
  align-items: center;
  padding: clamp(44px, 6vw, 76px) 0 34px;
}

.page-hero.centered {
  display: block;
  max-width: 820px;
  text-align: center;
  margin: 0 auto;
}

.page-hero h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(2.35rem, 5.2vw, 4.9rem);
  line-height: 0.98;
  font-weight: 950;
  letter-spacing: 0;
}

.page-hero .hero-title .highlight {
  color: var(--accent);
}

.page-hero.page-hero-small h1 {
  font-size: clamp(2.2rem, 4.6vw, 4rem);
}

.page-hero .lead {
  max-width: 660px;
  margin-top: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-panel {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(37, 99, 235, 0.035), rgba(255, 255, 255, 0) 42%),
    #ffffff;
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.09), 0 2px 0 rgba(255, 255, 255, 0.78) inset;
  padding: 20px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.hero-panel:hover {
  transform: translateY(-3px);
  border-color: rgba(37, 99, 235, 0.16);
  box-shadow: 0 24px 58px rgba(15, 23, 42, 0.12), 0 2px 0 rgba(255, 255, 255, 0.82) inset;
}

.hero-panel-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.075);
}

.hero-logo {
  width: 54px;
  height: 54px;
  border-radius: 10px;
  background: #f8fafc;
}

.hero-panel-title {
  margin: 0;
  font-size: 1.04rem;
  line-height: 1.2;
  font-weight: 900;
}

.hero-panel-subtitle {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.91rem;
  line-height: 1.45;
}

.hero-tool-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.hero-tool-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 54px;
  padding: 10px 12px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  background: #fbfdff;
  color: #334155;
  font-weight: 800;
  transition: transform 170ms ease, box-shadow 170ms ease, border-color 170ms ease, background-color 170ms ease;
}

.hero-tool-row:hover {
  transform: translateY(-2px);
  border-color: rgba(37, 99, 235, 0.18);
  background: #ffffff;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.07);
}

.hero-tool-main {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.hero-tool-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #eef5ff;
  color: #1d4ed8;
}

.hero-tool-icon.green { background: #ecfdf5; color: #047857; }
.hero-tool-icon.rose { background: #fff1f2; color: #be123c; }
.hero-tool-icon.gold { background: #fffbeb; color: #b45309; }
.hero-tool-icon.sky { background: #eff6ff; color: #0284c7; }

.hero-tool-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-tool-cta {
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 900;
  white-space: nowrap;
  transition: transform 170ms ease, color 170ms ease;
}

.hero-tool-row:hover .hero-tool-cta {
  color: #1d4ed8;
  transform: translateX(2px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.hero-stat {
  min-width: 0;
  padding: 12px 8px;
  border-radius: 8px;
  border: 1px solid rgba(15, 23, 42, 0.045);
  background: #f8fafc;
  text-align: center;
}

.hero-stat strong {
  display: block;
  color: #0f172a;
  font-size: 0.95rem;
  line-height: 1.15;
  font-weight: 900;
}

.hero-stat span {
  color: var(--muted);
  display: block;
  margin-top: 5px;
  font-size: 0.76rem;
  line-height: 1.25;
  font-weight: 750;
}

.tools-index .tools-hero-actions {
  gap: 10px;
}

.tools-index .tools-hero-actions .btn {
  min-height: 42px;
  padding-inline: 16px;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.055);
}

.tools-index .tools-hero-actions .btn-secondary {
  background: #ffffff;
  border-color: rgba(37, 99, 235, 0.14);
}

.tools-index .tools-hero-actions .btn-secondary:hover {
  border-color: rgba(37, 99, 235, 0.28);
  background: #f8fbff;
}

.tools-index .hero-panel {
  position: relative;
  overflow: hidden;
  border-color: rgba(15, 23, 42, 0.085);
  box-shadow: 0 22px 52px rgba(15, 23, 42, 0.1), 0 10px 18px rgba(15, 23, 42, 0.035), 0 2px 0 rgba(255, 255, 255, 0.78) inset;
}

.tools-index .hero-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.74), rgba(14, 165, 233, 0.34), rgba(37, 99, 235, 0));
  opacity: 0.82;
  pointer-events: none;
}

.tools-index .hero-panel:hover {
  box-shadow: 0 28px 64px rgba(15, 23, 42, 0.13), 0 12px 22px rgba(15, 23, 42, 0.045), 0 2px 0 rgba(255, 255, 255, 0.82) inset;
}

.tools-index .hero-tool-row {
  min-height: 52px;
  padding: 10px 12px 10px 11px;
  background: linear-gradient(180deg, #ffffff, #fbfdff);
}

.tools-index .hero-tool-main > span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pdf-hub .hero-panel {
  position: relative;
  overflow: hidden;
  border-color: rgba(15, 23, 42, 0.085);
  box-shadow: 0 22px 52px rgba(15, 23, 42, 0.1), 0 10px 18px rgba(15, 23, 42, 0.035), 0 2px 0 rgba(255, 255, 255, 0.78) inset;
}

.pdf-hub .hero-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.78), rgba(14, 165, 233, 0.36), rgba(37, 99, 235, 0));
  pointer-events: none;
}

.pdf-hub .hero-logo {
  object-fit: contain;
  padding: 4px;
}

.pdf-hub .hero-tool-row {
  min-height: 52px;
  padding: 10px 12px 10px 11px;
  background: linear-gradient(180deg, #ffffff, #fbfdff);
}

.pdf-hub .hero-tool-main > span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pdf-hub .pdf-feature-card {
  border-color: rgba(37, 99, 235, 0.12);
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.045), rgba(255, 255, 255, 0) 44%),
    #ffffff;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.075);
}

.pdf-hub .pdf-feature-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.78), rgba(14, 165, 233, 0.34));
}

.pdf-hub .pdf-feature-card:hover {
  border-color: rgba(37, 99, 235, 0.22);
  box-shadow: 0 24px 54px rgba(15, 23, 42, 0.105);
}

.pdf-hub .pdf-feature-media {
  display: block;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.055);
}

.pdf-hub .pdf-feature-media img {
  object-fit: contain;
}

.pdf-hub .pdf-tool-grid .tool-card {
  min-height: 214px;
  border-color: rgba(15, 23, 42, 0.075);
  background:
    linear-gradient(180deg, rgba(37, 99, 235, 0.026), rgba(255, 255, 255, 0) 48%),
    #ffffff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.052);
}

.pdf-hub .pdf-tool-grid .tool-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--accent);
  opacity: 0.72;
  border-radius: 8px 8px 0 0;
}

.pdf-hub .pdf-tool-grid .tool-card:hover {
  border-color: rgba(37, 99, 235, 0.22);
  box-shadow: 0 20px 42px rgba(15, 23, 42, 0.08);
}

.pdf-hub .category-insight {
  position: relative;
  overflow: hidden;
  border-color: rgba(15, 23, 42, 0.075);
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.06), rgba(255, 255, 255, 0) 42%),
    linear-gradient(180deg, #ffffff, #fbfdff);
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.06);
}

.pdf-hub .category-insight::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.7), rgba(16, 185, 129, 0.34), rgba(37, 99, 235, 0));
}

.pdf-hub .insight-item {
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.035);
}

.pdf-hub .pdf-workflow-band {
  position: relative;
  overflow: hidden;
  border-color: rgba(37, 99, 235, 0.11);
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.045), rgba(255, 255, 255, 0) 48%),
    #ffffff;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.06);
}

.pdf-hub .pdf-workflow-band::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.78), rgba(14, 165, 233, 0.2));
}

.pdf-hub .home-faq-section .faq-grid {
  gap: 18px;
}

.pdf-hub .home-faq-section .faq-item {
  min-height: 178px;
}

.pdf-hub .home-faq-section .faq-item h3 {
  margin-bottom: 12px;
  font-size: 1.08rem;
}

.pdf-hub .home-faq-section .faq-item p {
  color: #59677a;
  line-height: 1.74;
}

.finance-hub .hero-panel {
  position: relative;
  overflow: hidden;
  border-color: rgba(15, 23, 42, 0.085);
  box-shadow: 0 22px 52px rgba(15, 23, 42, 0.1), 0 10px 18px rgba(15, 23, 42, 0.035), 0 2px 0 rgba(255, 255, 255, 0.78) inset;
}

.finance-hub .hero-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.72), rgba(245, 158, 11, 0.34), rgba(37, 99, 235, 0));
  pointer-events: none;
}

.finance-hub .hero-logo {
  object-fit: contain;
  padding: 4px;
}

.finance-hub .hero-tool-row {
  min-height: 52px;
  padding: 10px 12px 10px 11px;
  background: linear-gradient(180deg, #ffffff, #fbfdff);
}

.finance-hub .hero-tool-main > span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.finance-hub .finance-featured-grid .tool-card {
  border-color: rgba(15, 23, 42, 0.075);
  background:
    linear-gradient(180deg, rgba(16, 185, 129, 0.03), rgba(255, 255, 255, 0) 48%),
    #ffffff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.055);
}

.finance-hub .finance-featured-grid .tool-card:hover {
  border-color: rgba(16, 185, 129, 0.22);
  box-shadow: 0 20px 42px rgba(15, 23, 42, 0.085);
}

.finance-hub .finance-featured-grid .card-media {
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.055);
}

.finance-hub .finance-featured-grid .card-media img {
  object-fit: contain;
}

.finance-hub .finance-tool-grid .tool-card {
  min-height: 218px;
  border-color: rgba(15, 23, 42, 0.075);
  background:
    linear-gradient(180deg, rgba(16, 185, 129, 0.026), rgba(255, 255, 255, 0) 48%),
    #ffffff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.052);
}

.finance-hub .finance-tool-grid .tool-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--finance-card-accent, #10b981);
  opacity: 0.72;
  border-radius: 8px 8px 0 0;
}

.finance-hub .finance-tool-grid .tool-card:nth-child(2) { --finance-card-accent: #f59e0b; }

.finance-hub .finance-tool-grid .tool-card:hover {
  border-color: rgba(16, 185, 129, 0.22);
  box-shadow: 0 20px 42px rgba(15, 23, 42, 0.08);
}

.finance-hub .category-insight {
  position: relative;
  overflow: hidden;
  border-color: rgba(15, 23, 42, 0.075);
  background:
    linear-gradient(135deg, rgba(16, 185, 129, 0.06), rgba(255, 255, 255, 0) 42%),
    linear-gradient(180deg, #ffffff, #fbfdff);
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.06);
}

.finance-hub .category-insight::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.7), rgba(245, 158, 11, 0.38), rgba(37, 99, 235, 0));
}

.finance-hub .insight-item {
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.035);
}

.finance-hub .finance-planning-band {
  position: relative;
  overflow: hidden;
  border-color: rgba(16, 185, 129, 0.12);
  background:
    linear-gradient(135deg, rgba(16, 185, 129, 0.045), rgba(255, 255, 255, 0) 48%),
    #ffffff;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.06);
}

.finance-hub .finance-planning-band::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.78), rgba(245, 158, 11, 0.22));
}

.finance-hub .home-faq-section .faq-grid {
  gap: 18px;
}

.finance-hub .home-faq-section .faq-item {
  min-height: 188px;
}

.finance-hub .home-faq-section .faq-item h3 {
  margin-bottom: 12px;
  font-size: 1.08rem;
}

.finance-hub .home-faq-section .faq-item p {
  color: #59677a;
  line-height: 1.74;
}

.holiday-hub .hero-panel {
  position: relative;
  overflow: hidden;
  border-color: rgba(15, 23, 42, 0.085);
  box-shadow: 0 22px 52px rgba(15, 23, 42, 0.1), 0 10px 18px rgba(15, 23, 42, 0.035), 0 2px 0 rgba(255, 255, 255, 0.78) inset;
}

.holiday-hub .hero-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.72), rgba(245, 158, 11, 0.42), rgba(244, 63, 94, 0.28));
  pointer-events: none;
}

.holiday-hub .hero-logo {
  object-fit: contain;
  padding: 4px;
}

.holiday-hub .hero-tool-row {
  min-height: 52px;
  padding: 10px 12px 10px 11px;
  background: linear-gradient(180deg, #ffffff, #fbfdff);
}

.holiday-hub .hero-tool-main > span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.holiday-hub .holiday-featured-grid .tool-card {
  border-color: rgba(15, 23, 42, 0.075);
  background:
    linear-gradient(180deg, rgba(245, 158, 11, 0.035), rgba(255, 255, 255, 0) 48%),
    #ffffff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.055);
}

.holiday-hub .holiday-featured-grid .tool-card:hover {
  border-color: rgba(245, 158, 11, 0.24);
  box-shadow: 0 20px 42px rgba(15, 23, 42, 0.085);
}

.holiday-hub .holiday-featured-grid .card-media {
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.055);
}

.holiday-hub .holiday-featured-grid .card-media img {
  object-fit: contain;
}

.holiday-hub .holiday-tool-grid .tool-card {
  min-height: 218px;
  border-color: rgba(15, 23, 42, 0.075);
  background:
    linear-gradient(180deg, rgba(245, 158, 11, 0.026), rgba(255, 255, 255, 0) 48%),
    #ffffff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.052);
}

.holiday-hub .holiday-tool-grid .tool-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--holiday-card-accent, #f59e0b);
  opacity: 0.72;
  border-radius: 8px 8px 0 0;
}

.holiday-hub .holiday-tool-grid .tool-card:nth-child(2) { --holiday-card-accent: #10b981; }
.holiday-hub .holiday-tool-grid .tool-card:nth-child(3) { --holiday-card-accent: #f43f5e; }

.holiday-hub .holiday-tool-grid .tool-card:hover {
  border-color: rgba(245, 158, 11, 0.22);
  box-shadow: 0 20px 42px rgba(15, 23, 42, 0.08);
}

.holiday-hub .category-insight {
  position: relative;
  overflow: hidden;
  border-color: rgba(15, 23, 42, 0.075);
  background:
    linear-gradient(135deg, rgba(245, 158, 11, 0.06), rgba(255, 255, 255, 0) 42%),
    linear-gradient(180deg, #ffffff, #fbfdff);
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.06);
}

.holiday-hub .category-insight::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.72), rgba(16, 185, 129, 0.38), rgba(244, 63, 94, 0.28));
}

.holiday-hub .insight-item {
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.035);
}

.holiday-hub .holiday-planning-band {
  position: relative;
  overflow: hidden;
  border-color: rgba(245, 158, 11, 0.13);
  background:
    linear-gradient(135deg, rgba(245, 158, 11, 0.05), rgba(255, 255, 255, 0) 48%),
    #ffffff;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.06);
}

.holiday-hub .holiday-planning-band::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.78), rgba(244, 63, 94, 0.24));
}

.holiday-hub .home-faq-section .faq-grid {
  gap: 18px;
}

.holiday-hub .home-faq-section .faq-item {
  min-height: 184px;
}

.holiday-hub .home-faq-section .faq-item h3 {
  margin-bottom: 12px;
  font-size: 1.08rem;
}

.holiday-hub .home-faq-section .faq-item p {
  color: #59677a;
  line-height: 1.74;
}

.weather-hub .hero-panel {
  position: relative;
  overflow: hidden;
  border-color: rgba(15, 23, 42, 0.085);
  box-shadow: 0 22px 52px rgba(15, 23, 42, 0.1), 0 10px 18px rgba(15, 23, 42, 0.035), 0 2px 0 rgba(255, 255, 255, 0.78) inset;
}

.weather-hub .hero-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, rgba(244, 63, 94, 0.62), rgba(37, 99, 235, 0.42), rgba(14, 165, 233, 0.28));
  pointer-events: none;
}

.weather-hub .hero-logo {
  object-fit: contain;
  padding: 4px;
}

.weather-hub .hero-tool-row {
  min-height: 52px;
  padding: 10px 12px 10px 11px;
  background: linear-gradient(180deg, #ffffff, #fbfdff);
}

.weather-hub .hero-tool-main > span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.weather-hub .weather-feature-card {
  border-color: rgba(244, 63, 94, 0.12);
  background:
    linear-gradient(135deg, rgba(244, 63, 94, 0.045), rgba(255, 255, 255, 0) 44%),
    #ffffff;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.075);
}

.weather-hub .weather-feature-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, rgba(244, 63, 94, 0.7), rgba(37, 99, 235, 0.38));
}

.weather-hub .weather-feature-card:hover {
  border-color: rgba(244, 63, 94, 0.22);
  box-shadow: 0 24px 54px rgba(15, 23, 42, 0.105);
}

.weather-hub .weather-feature-media {
  display: block;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.055);
}

.weather-hub .weather-feature-media img {
  object-fit: contain;
}

.weather-hub .weather-tool-grid .tool-card {
  min-height: 218px;
  border-color: rgba(15, 23, 42, 0.075);
  background:
    linear-gradient(180deg, rgba(244, 63, 94, 0.026), rgba(255, 255, 255, 0) 48%),
    #ffffff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.052);
}

.weather-hub .weather-tool-grid .tool-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: #f43f5e;
  opacity: 0.72;
  border-radius: 8px 8px 0 0;
}

.weather-hub .weather-tool-grid .tool-card:hover {
  border-color: rgba(244, 63, 94, 0.22);
  box-shadow: 0 20px 42px rgba(15, 23, 42, 0.08);
}

.weather-hub .category-insight {
  position: relative;
  overflow: hidden;
  border-color: rgba(15, 23, 42, 0.075);
  background:
    linear-gradient(135deg, rgba(244, 63, 94, 0.05), rgba(255, 255, 255, 0) 42%),
    linear-gradient(180deg, #ffffff, #fbfdff);
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.06);
}

.weather-hub .category-insight::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, rgba(244, 63, 94, 0.68), rgba(37, 99, 235, 0.38), rgba(14, 165, 233, 0.22));
}

.weather-hub .insight-item {
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.035);
}

.weather-hub .weather-planning-band {
  position: relative;
  overflow: hidden;
  border-color: rgba(244, 63, 94, 0.12);
  background:
    linear-gradient(135deg, rgba(244, 63, 94, 0.045), rgba(255, 255, 255, 0) 48%),
    #ffffff;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.06);
}

.weather-hub .weather-planning-band::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, rgba(244, 63, 94, 0.72), rgba(37, 99, 235, 0.24));
}

.weather-hub .home-faq-section .faq-grid {
  gap: 18px;
}

.weather-hub .home-faq-section .faq-item {
  min-height: 184px;
}

.weather-hub .home-faq-section .faq-item h3 {
  margin-bottom: 12px;
  font-size: 1.08rem;
}

.weather-hub .home-faq-section .faq-item p {
  color: #59677a;
  line-height: 1.74;
}

.tools-guide-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.tools-guide-item {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 13px 12px;
  border: 1px solid rgba(15, 23, 42, 0.075);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #fbfdff);
  transition: transform 170ms ease, box-shadow 170ms ease, border-color 170ms ease;
}

.tools-guide-item:hover {
  transform: translateY(-2px);
  border-color: rgba(37, 99, 235, 0.16);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.065);
}

.tools-guide-icon {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #eef5ff;
  color: #1d4ed8;
}

.tools-guide-icon.green {
  background: #ecfdf5;
  color: #047857;
}

.tools-guide-icon.gold {
  background: #fffbeb;
  color: #b45309;
}

.tools-guide-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tools-guide-item strong {
  display: block;
  color: #0f172a;
  font-size: 0.96rem;
  line-height: 1.25;
  font-weight: 900;
}

.tools-guide-item span:not(.tools-guide-icon) {
  display: block;
  margin-top: 4px;
  color: #516074;
  font-size: 0.86rem;
  line-height: 1.5;
  font-weight: 650;
}

.tools-guide-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.tools-guide-metrics span {
  min-width: 0;
  padding: 11px 8px;
  border: 1px solid rgba(15, 23, 42, 0.055);
  border-radius: 8px;
  background: #f8fafc;
  text-align: center;
}

.tools-guide-metrics strong {
  display: block;
  color: #0f172a;
  font-size: 0.92rem;
  line-height: 1.15;
  font-weight: 900;
}

.tools-guide-metrics small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.25;
  font-weight: 750;
}

.games-hero-actions {
  gap: 10px;
}

.games-hero-actions .btn {
  min-height: 42px;
  padding-inline: 18px;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.055);
}

.games-index .hero-panel {
  position: relative;
  overflow: hidden;
  border-color: rgba(15, 23, 42, 0.085);
  box-shadow: 0 22px 52px rgba(15, 23, 42, 0.1), 0 10px 18px rgba(15, 23, 42, 0.035), 0 2px 0 rgba(255, 255, 255, 0.78) inset;
}

.games-index .hero-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.74), rgba(16, 185, 129, 0.34), rgba(37, 99, 235, 0));
  opacity: 0.82;
  pointer-events: none;
}

.games-index .hero-panel:hover {
  box-shadow: 0 28px 64px rgba(15, 23, 42, 0.13), 0 12px 22px rgba(15, 23, 42, 0.045), 0 2px 0 rgba(255, 255, 255, 0.82) inset;
}

.games-play-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.games-play-item {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 13px 12px;
  border: 1px solid rgba(15, 23, 42, 0.075);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #fbfdff);
  transition: transform 170ms ease, box-shadow 170ms ease, border-color 170ms ease;
}

.games-play-item:hover {
  transform: translateY(-2px);
  border-color: rgba(37, 99, 235, 0.16);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.065);
}

.games-play-icon {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #eef5ff;
  color: #1d4ed8;
}

.games-play-icon.green { background: #ecfdf5; color: #047857; }
.games-play-icon.gold { background: #fff7ed; color: #b45309; }

.games-play-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.games-play-item strong {
  display: block;
  color: #0f172a;
  font-size: 0.96rem;
  line-height: 1.25;
  font-weight: 900;
}

.games-play-item span:not(.games-play-icon) {
  display: block;
  margin-top: 4px;
  color: #516074;
  font-size: 0.86rem;
  line-height: 1.5;
  font-weight: 650;
}

.games-play-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.games-play-actions .btn {
  min-height: 42px;
  padding-inline: 12px;
}

.games-featured-grid .card-media {
  background: #f8fafc;
}

.games-featured-grid .card-media img {
  object-fit: contain;
}

.games-index .games-tool-grid .tool-card {
  min-height: 218px;
  border-color: rgba(15, 23, 42, 0.075);
  background:
    linear-gradient(180deg, rgba(37, 99, 235, 0.026), rgba(255, 255, 255, 0) 48%),
    #ffffff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.052);
}

.games-index .games-tool-grid .tool-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--game-card-accent, #10b981);
  opacity: 0.72;
  border-radius: 8px 8px 0 0;
}

.games-index .games-tool-grid .tool-card:nth-child(2) {
  --game-card-accent: #f59e0b;
}

.games-index .games-tool-grid .tool-card:hover {
  border-color: rgba(37, 99, 235, 0.22);
  box-shadow: 0 20px 42px rgba(15, 23, 42, 0.08);
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.section-header p {
  max-width: 640px;
  margin: 0;
  color: var(--muted-strong);
  line-height: 1.7;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.feature-grid.feature-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.category-highlight-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.home-category-grid {
  gap: 18px;
}

.tools-index .category-highlight-grid.home-category-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.home-category-section .category-card {
  overflow: hidden;
  min-height: 218px;
  padding: 20px;
  border-color: rgba(15, 23, 42, 0.075);
  background:
    linear-gradient(180deg, rgba(37, 99, 235, 0.035), rgba(255, 255, 255, 0) 46%),
    #ffffff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.055);
}

.home-category-section .category-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--category-accent, var(--accent));
  opacity: 0.72;
}

.home-category-section .category-card:nth-child(2) { --category-accent: var(--accent-2); }
.home-category-section .category-card:nth-child(3) { --category-accent: var(--accent-3); }
.home-category-section .category-card:nth-child(4) { --category-accent: #be123c; }
.tools-index .home-category-section .category-card:nth-child(5) { --category-accent: #7c3aed; }

.home-category-section .category-card:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, 0.2);
  box-shadow: 0 20px 42px rgba(15, 23, 42, 0.085);
}

.category-symbol {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #eef5ff;
  color: #1d4ed8;
}

.category-symbol.green { background: #ecfdf5; color: #047857; }
.category-symbol.gold { background: #fff7ed; color: #b45309; }
.category-symbol.rose { background: #fff1f2; color: #be123c; }
.tools-index .category-symbol.purple { background: #f5f3ff; color: #6d28d9; }

.category-symbol svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-category-section .card-badge {
  min-height: 28px;
  padding-inline: 10px;
  background: rgba(248, 250, 252, 0.92);
  color: #334155;
  border: 1px solid rgba(15, 23, 42, 0.055);
}

.home-category-section .category-card h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
  line-height: 1.22;
  font-weight: 900;
}

.home-category-section .category-card p {
  color: #516074;
  line-height: 1.66;
}

.home-category-section .category-card .card-actions {
  width: 100%;
  padding-top: 18px;
}

.home-category-section .category-card .btn-secondary {
  width: 100%;
  border-color: rgba(37, 99, 235, 0.16);
  background: #f8fbff;
  color: #1d4ed8;
}

.home-category-section .category-card .btn-secondary:hover {
  border-color: rgba(37, 99, 235, 0.32);
  background: #eff6ff;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.08);
}

@media (max-width: 1180px) {
  .tools-index .category-highlight-grid.home-category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .tools-index .category-highlight-grid.home-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .tools-index .category-highlight-grid.home-category-grid {
    grid-template-columns: 1fr;
  }
}

.category-insight {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(18px, 4vw, 34px);
  align-items: start;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.055), rgba(255, 255, 255, 0) 44%),
    #ffffff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.045);
  padding: clamp(22px, 4vw, 34px);
}

.category-insight h2 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: clamp(1.45rem, 2.5vw, 2.05rem);
  line-height: 1.16;
  font-weight: 900;
}

.category-insight p {
  margin: 0;
  color: var(--muted-strong);
  line-height: 1.75;
}

.insight-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.insight-item {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 14px;
  border: 1px solid rgba(15, 23, 42, 0.075);
  border-radius: 10px;
  background: rgba(248, 250, 252, 0.72);
}

.insight-marker {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 0.82rem;
  font-weight: 900;
}

.insight-marker.green { background: #ecfdf5; color: #047857; }
.insight-marker.gold { background: #fff7ed; color: #b45309; }
.insight-marker.rose { background: #fff1f2; color: #be123c; }

.insight-item h3 {
  margin: 0 0 4px;
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.24;
  font-weight: 850;
}

.insight-item p {
  font-size: 0.94rem;
  line-height: 1.62;
}

.why-use-section {
  position: relative;
}

.why-use-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.why-use-card {
  min-width: 0;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 20px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.045);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.why-use-card:hover {
  transform: translateY(-3px);
  border-color: rgba(37, 99, 235, 0.22);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.08);
}

.why-use-icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 10px;
  background: #eef5ff;
  color: #1d4ed8;
}

.why-use-icon.green { background: #ecfdf5; color: #047857; }
.why-use-icon.gold { background: #fff7ed; color: #b45309; }
.why-use-icon.rose { background: #fff1f2; color: #be123c; }

.why-use-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.why-use-card h3 {
  margin: 0 0 9px;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.2;
  font-weight: 850;
}

.why-use-card p {
  margin: 0;
  color: var(--muted-strong);
  line-height: 1.66;
}

.home-updates-grid {
  gap: 18px;
}

.home-updates-section .blog-card {
  overflow: hidden;
  min-height: 260px;
  padding: 20px;
  border-color: rgba(15, 23, 42, 0.075);
  background:
    linear-gradient(180deg, rgba(37, 99, 235, 0.035), rgba(255, 255, 255, 0) 44%),
    #ffffff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.055);
}

.home-updates-section .blog-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--update-accent, var(--accent));
  opacity: 0.7;
}

.home-updates-section .blog-card:nth-child(2) { --update-accent: var(--accent-2); }
.home-updates-section .blog-card:nth-child(3) { --update-accent: var(--accent-3); }

.home-updates-section .blog-card:hover {
  transform: translateY(-3px);
  border-color: rgba(37, 99, 235, 0.2);
  box-shadow: 0 20px 42px rgba(15, 23, 42, 0.085);
}

.update-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.home-updates-section .blog-badge {
  min-height: 28px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.055);
}

.update-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 26px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #047857;
  font-size: 0.74rem;
  font-weight: 900;
  line-height: 1;
}

.update-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: currentColor;
}

.home-updates-section .blog-card h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
  line-height: 1.22;
  font-weight: 900;
}

.home-updates-section .blog-meta {
  margin-bottom: 12px;
  color: #718096;
  font-size: 0.84rem;
  font-weight: 750;
}

.home-updates-section .blog-card p:not(.blog-meta) {
  color: #516074;
  line-height: 1.68;
}

.home-updates-section .card-actions {
  padding-top: 20px;
}

.home-updates-section .update-link {
  min-height: 40px;
  padding-inline: 13px;
  border-color: rgba(37, 99, 235, 0.16);
  background: #f8fbff;
  color: #1d4ed8;
}

.home-updates-section .update-link:hover {
  border-color: rgba(37, 99, 235, 0.32);
  background: #eff6ff;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.08);
}

.info-band {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 28px;
  align-items: start;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.045);
  padding: clamp(22px, 4vw, 34px);
}

.info-band h2 {
  margin: 0 0 10px;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1.18;
  font-weight: 900;
}

.info-band p {
  margin: 0;
  color: var(--muted-strong);
  line-height: 1.75;
}

.info-list {
  display: grid;
  gap: 12px;
}

.info-list li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: var(--muted-strong);
  line-height: 1.65;
}

.info-list strong {
  color: var(--text);
}

.info-check {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #ecfdf5;
  color: #047857;
  font-weight: 900;
}

.tools-choice-band {
  position: relative;
  overflow: hidden;
  align-items: center;
  gap: clamp(24px, 4vw, 42px);
  border-color: rgba(15, 23, 42, 0.075);
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.045), rgba(255, 255, 255, 0) 44%),
    #ffffff;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.07);
}

.tools-choice-band::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.72), rgba(14, 165, 233, 0.28), rgba(37, 99, 235, 0));
  pointer-events: none;
}

.tools-choice-copy {
  max-width: 520px;
}

.tools-choice-band h2 {
  max-width: 560px;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
}

.tools-choice-band p:not(.eyebrow) {
  max-width: 560px;
}

.tools-choice-list {
  gap: 10px;
}

.tools-choice-list li {
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  transition: transform 170ms ease, border-color 170ms ease, background-color 170ms ease;
}

.tools-choice-list li:hover {
  transform: translateX(2px);
  border-color: rgba(15, 23, 42, 0.06);
  background: #f8fafc;
}

.tools-choice-list .info-check {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: #dcfce7;
  color: #047857;
  box-shadow: 0 8px 18px rgba(16, 185, 129, 0.12);
}

.games-style-band {
  position: relative;
  overflow: hidden;
  align-items: center;
  gap: clamp(24px, 4vw, 42px);
  border-color: rgba(15, 23, 42, 0.075);
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.045), rgba(255, 255, 255, 0) 44%),
    #ffffff;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.07);
}

.games-style-band::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.72), rgba(16, 185, 129, 0.28), rgba(37, 99, 235, 0));
  pointer-events: none;
}

.games-style-copy {
  max-width: 520px;
}

.games-style-band h2 {
  max-width: 560px;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
}

.games-style-band p:not(.eyebrow) {
  max-width: 560px;
}

.games-style-list {
  gap: 10px;
}

.games-style-list li {
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  transition: transform 170ms ease, border-color 170ms ease, background-color 170ms ease;
}

.games-style-list li:hover {
  transform: translateX(2px);
  border-color: rgba(15, 23, 42, 0.06);
  background: #f8fafc;
}

.games-style-list .info-check {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: #dcfce7;
  color: #047857;
  box-shadow: 0 8px 18px rgba(16, 185, 129, 0.12);
}

.tools-quality-section {
  padding-top: clamp(18px, 3vw, 28px);
}

.tools-quality-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.tools-quality-card {
  position: relative;
  min-width: 0;
  min-height: 214px;
  display: flex;
  flex-direction: column;
  padding: 20px;
  border: 1px solid rgba(15, 23, 42, 0.075);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(37, 99, 235, 0.03), rgba(255, 255, 255, 0) 48%),
    #ffffff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.052);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.tools-quality-card:hover {
  transform: translateY(-3px);
  border-color: rgba(37, 99, 235, 0.18);
  box-shadow: 0 20px 42px rgba(15, 23, 42, 0.082);
}

.tools-quality-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 10px;
  background: #eef5ff;
  color: #1d4ed8;
}

.tools-quality-icon.green { background: #ecfdf5; color: #047857; }
.tools-quality-icon.gold { background: #fff7ed; color: #b45309; }
.tools-quality-icon.rose { background: #fff1f2; color: #be123c; }
.tools-quality-icon.sky { background: #eff6ff; color: #0284c7; }
.tools-quality-icon.gray { background: #f1f5f9; color: #334155; }

.tools-quality-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tools-quality-card h3 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 1.08rem;
  line-height: 1.22;
  font-weight: 900;
}

.tools-quality-card p {
  margin: 0;
  color: #516074;
  line-height: 1.66;
}

.games-feature-section {
  padding-top: clamp(18px, 3vw, 28px);
}

.games-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.games-feature-card {
  position: relative;
  min-width: 0;
  min-height: 214px;
  display: flex;
  flex-direction: column;
  padding: 20px;
  border: 1px solid rgba(15, 23, 42, 0.075);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(37, 99, 235, 0.03), rgba(255, 255, 255, 0) 48%),
    #ffffff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.052);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.games-feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(37, 99, 235, 0.18);
  box-shadow: 0 20px 42px rgba(15, 23, 42, 0.082);
}

.games-feature-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 10px;
  background: #eef5ff;
  color: #1d4ed8;
}

.games-feature-icon.green { background: #ecfdf5; color: #047857; }
.games-feature-icon.gold { background: #fff7ed; color: #b45309; }
.games-feature-icon.rose { background: #fff1f2; color: #be123c; }
.games-feature-icon.sky { background: #eff6ff; color: #0284c7; }
.games-feature-icon.gray { background: #f1f5f9; color: #334155; }

.games-feature-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.games-feature-card h3 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 1.08rem;
  line-height: 1.22;
  font-weight: 900;
}

.games-feature-card p {
  margin: 0;
  color: #516074;
  line-height: 1.66;
}

.games-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.games-index .home-faq-section .faq-grid {
  gap: 18px;
}

.games-index .home-faq-section .faq-item {
  min-height: 176px;
}

.games-index .home-faq-section .faq-item h3 {
  margin-bottom: 12px;
  font-size: 1.08rem;
}

.games-index .home-faq-section .faq-item p {
  color: #59677a;
  line-height: 1.74;
}

.tools-related-section .section-header {
  margin-bottom: 20px;
}

.tools-related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.tools-related-card {
  position: relative;
  min-width: 0;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  padding: 20px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.075);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(37, 99, 235, 0.032), rgba(255, 255, 255, 0) 46%),
    #ffffff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.055);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.tools-related-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--related-accent, var(--accent));
  opacity: 0.72;
}

.tools-related-card:nth-child(2) { --related-accent: var(--accent-2); }
.tools-related-card:nth-child(3) { --related-accent: var(--accent-3); }
.tools-related-card:nth-child(4) { --related-accent: #be123c; }

.tools-related-card:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, 0.2);
  box-shadow: 0 20px 42px rgba(15, 23, 42, 0.085);
}

.tools-related-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  border-radius: 10px;
  background: #eef5ff;
  color: #1d4ed8;
}

.tools-related-icon.green { background: #ecfdf5; color: #047857; }
.tools-related-icon.gold { background: #fff7ed; color: #b45309; }
.tools-related-icon.rose { background: #fff1f2; color: #be123c; }

.tools-related-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tools-related-kicker {
  width: fit-content;
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  margin-bottom: 12px;
  padding: 5px 9px;
  border: 1px solid rgba(15, 23, 42, 0.055);
  border-radius: 999px;
  background: rgba(248, 250, 252, 0.92);
  color: #334155;
  font-size: 0.76rem;
  line-height: 1;
  font-weight: 850;
}

.tools-related-card strong {
  display: block;
  margin-bottom: 10px;
  color: var(--text);
  font-size: 1.08rem;
  line-height: 1.22;
  font-weight: 900;
}

.tools-related-card span:not(.tools-related-icon):not(.tools-related-kicker) {
  display: block;
  color: #516074;
  line-height: 1.66;
}

.tools-related-card em {
  margin-top: auto;
  padding-top: 18px;
  color: #1d4ed8;
  font-style: normal;
  font-size: 0.9rem;
  font-weight: 900;
  transition: transform 170ms ease, color 170ms ease;
}

.tools-related-card:hover em {
  color: #004fc2;
  transform: translateX(2px);
}

.tools-index .home-faq-section .faq-grid {
  gap: 18px;
}

.tools-index .home-faq-section .faq-item {
  min-height: 176px;
}

.tools-index .home-faq-section .faq-item h3 {
  margin-bottom: 12px;
  font-size: 1.08rem;
}

.tools-index .home-faq-section .faq-item p {
  color: #59677a;
  line-height: 1.74;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.home-faq-section {
  padding-top: clamp(34px, 5vw, 58px);
}

.home-faq-section .faq-grid {
  gap: 18px;
  align-items: stretch;
}

.faq-item {
  position: relative;
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  background: #ffffff;
}

.home-faq-section .faq-item {
  min-height: 156px;
  height: 100%;
  padding: 20px 20px 20px 22px;
  border-color: rgba(15, 23, 42, 0.075);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.045);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.home-faq-section .faq-item::before {
  content: "";
  position: absolute;
  top: 20px;
  bottom: 20px;
  left: 0;
  width: 3px;
  border-radius: 0 999px 999px 0;
  background: var(--accent);
  opacity: 0.72;
}

.home-faq-section .faq-item:hover {
  transform: translateY(-3px);
  border-color: rgba(37, 99, 235, 0.2);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.075);
}

.faq-item h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  line-height: 1.25;
  font-weight: 850;
}

.home-faq-section .faq-item h3 {
  margin-bottom: 11px;
  font-size: 1.06rem;
  font-weight: 900;
}

.faq-item p {
  margin: 0;
  color: var(--muted-strong);
  line-height: 1.65;
}

.home-faq-section .faq-item p {
  color: #59677a;
  line-height: 1.72;
}

.related-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.related-chip,
.topic-chip {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: #334155;
  font-weight: 800;
  font-size: 0.9rem;
}

.related-chip:hover,
.topic-chip:hover {
  border-color: rgba(37, 99, 235, 0.3);
  color: #1d4ed8;
}

.subtle-panel {
  padding: 22px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 10px;
  background: #ffffff;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

@media (max-width: 980px) {
  .page-hero,
  .info-band,
  .category-insight {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .feature-grid.feature-grid-2,
  .tool-grid,
  .why-use-grid,
  .tools-quality-grid,
  .games-feature-grid,
  .tools-related-grid,
  .games-related-grid,
  .category-highlight-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-panel {
    max-width: 560px;
  }
}

@media (max-width: 640px) {
  .page-hero {
    padding: 36px 0 20px;
  }

  .page-hero h1 {
    font-size: clamp(2.05rem, 13vw, 3.1rem);
  }

  .hero-actions,
  .section-header {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-stats,
  .feature-grid,
  .feature-grid.feature-grid-2,
  .tool-grid,
  .why-use-grid,
  .tools-quality-grid,
  .games-feature-grid,
  .tools-related-grid,
  .games-related-grid,
  .category-highlight-grid,
  .faq-grid,
  .insight-list {
    grid-template-columns: 1fr;
  }

  .games-play-actions {
    grid-template-columns: 1fr;
  }

  .info-list li {
    grid-template-columns: 26px minmax(0, 1fr);
  }

  .info-check {
    width: 26px;
    height: 26px;
  }

  .related-chip,
  .topic-chip {
    width: 100%;
    justify-content: center;
    border-radius: 8px;
  }
}
