@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg-darkest: #141416;
  --bg-dark: #1a1a1e;
  --bg-mid: #222228;
  --bg-light: #2a2a32;
  --bg-lighter: #35353f;
  --border: #3a3a44;
  --border-light: #4a4a56;
  --text: #e0e0e6;
  --text-dim: #8888a0;
  --text-muted: #5a5a70;

  --patch-orange: #d76b2b;
  --patch-orange-deep: #b55a23;
  --patch-yellow: #e8a020;
  --patch-green: #6aa15c;
  --patch-green-deep: #4e7c43;
  --patch-blue: #3a6bc5;
  --patch-red: #c14a3a;
  --patch-teal: #3b8a8a;
  --patch-cream: #fae7cd;
  --patch-pink: #d6588f;

  --panel-bg: #1d1d22;
  --panel-stitch: #8a7a5a;
  --panel-shadow: 0 8px 22px rgba(0,0,0,0.5), 0 2px 4px rgba(0,0,0,0.35);

  --topbar-h: 68px;
  --radius: 14px;
}

[data-theme="light"] {
  --bg-darkest: #fae7cd;
  --bg-dark: #f5dbb8;
  --bg-mid: #eedcbe;
  --bg-light: #e8d2b0;
  --bg-lighter: #dfc8a2;
  --border: #d4b896;
  --border-light: #c9a97e;
  --text: #2a1f14;
  --text-dim: #6b5a45;
  --text-muted: #a08a70;

  --panel-bg: #f1dfbf;
  --panel-stitch: #b59566;
  --panel-shadow: 0 8px 22px rgba(120,80,40,0.2), 0 2px 4px rgba(120,80,40,0.12);
}

html, body {
  background: var(--bg-darkest);
  color: var(--text);
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  font-weight: 500;
  -webkit-tap-highlight-color: transparent;
}

body {
  overflow-x: hidden;
  min-height: 100vh;
  background-color: var(--bg-darkest);
  background-image:
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(58,107,197,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(215,107,43,0.05) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg-darkest) 0%, #101016 100%);
  position: relative;
}
[data-theme="light"] body {
  background-image:
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(215,107,43,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(232,160,32,0.05) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg-darkest) 0%, #f0d4ac 100%);
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  animation: grain 0.18s steps(1) infinite;
  mix-blend-mode: overlay;
}
[data-theme="light"] body::after { opacity: 0.12; mix-blend-mode: multiply; }

@keyframes grain {
  0%   { background-position: 0% 0%; }
  20%  { background-position: -15% 5%; }
  40%  { background-position: -5% 25%; }
  60%  { background-position: 15% 0%; }
  80%  { background-position: 3% 35%; }
  100% { background-position: 0% 5%; }
}
@media (prefers-reduced-motion: reduce) { body::after { animation: none; } }

/* TOPBAR */
.topbar {
  position: sticky; top: 0; z-index: 10;
  min-height: var(--topbar-h);
  display: flex; align-items: center; gap: 14px;
  padding: 10px 20px;
  background: linear-gradient(180deg, var(--bg-dark), rgba(26,26,30,0.9));
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
[data-theme="light"] .topbar { background: linear-gradient(180deg, var(--bg-dark), rgba(245,219,184,0.9)); }

.logo-patch {
  position: relative;
  width: 56px; height: 56px;
  background: var(--panel-bg);
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5), 0 1px 2px rgba(0,0,0,0.35);
  padding: 4px;
  flex-shrink: 0;
  transform: rotate(-2deg);
  transition: transform 0.2s;
  isolation: isolate;
}
.logo-patch:hover { transform: rotate(0deg) scale(1.04); }
.logo-patch::before {
  content: '';
  position: absolute;
  inset: 5px;
  border: 1.5px dashed var(--panel-stitch);
  border-radius: 6px;
  pointer-events: none;
  opacity: 0.6;
}
.logo-patch::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 10px;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.45'/%3E%3C/svg%3E");
  background-size: 120px 120px;
  opacity: 0.08;
  mix-blend-mode: overlay;
  z-index: -1;
}
.logo-patch img { width: 100%; height: 100%; object-fit: contain; display: block; }

.topbar .brand { display: flex; flex-direction: column; justify-content: center; line-height: 1.1; }
.topbar .app-name {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 2px;
  color: var(--patch-orange);
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
  text-transform: uppercase;
}
[data-theme="light"] .topbar .app-name {
  color: var(--patch-orange-deep);
  text-shadow: 0 1px 1px rgba(255,255,255,0.4);
}
.topbar .tagline {
  font-size: 10px;
  color: var(--text-dim);
  letter-spacing: 1.5px;
  margin-top: 2px;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s;
}
.topbar .tagline:hover { color: var(--patch-orange); }

.topbar .right { margin-left: auto; display: flex; align-items: center; gap: 8px; }

.theme-btn {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-mid); color: var(--text-dim);
  border: 1px solid var(--border); border-radius: 6px;
  cursor: pointer; font-size: 15px;
  transition: all 0.15s;
}
.theme-btn:hover {
  background: var(--bg-light); color: var(--patch-orange);
  border-color: var(--patch-orange); box-shadow: 0 0 10px rgba(215,107,43,0.3);
}

/* HERO */
.hero {
  position: relative;
  z-index: 1;
  padding: 70px 24px 40px;
  text-align: center;
}
.hero-inner {
  max-width: 760px;
  margin: 0 auto;
}
.hero-pretitle {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  color: var(--patch-orange);
  text-transform: uppercase;
  letter-spacing: 3px;
  padding: 6px 14px 7px;
  border: 1.5px dashed var(--patch-orange);
  border-radius: 5px;
  margin-bottom: 18px;
  background: rgba(215,107,43,0.08);
}
[data-theme="light"] .hero-pretitle { color: var(--patch-orange-deep); border-color: var(--patch-orange-deep); }

.hero-title {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 56px;
  line-height: 1.05;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  color: var(--text);
  margin: 0 0 14px;
  text-shadow: 0 2px 6px rgba(0,0,0,0.4);
}
[data-theme="light"] .hero-title { text-shadow: 0 1px 1px rgba(255,255,255,0.4); }
.hero-title::after {
  content: '';
  display: block;
  width: 84px;
  height: 4px;
  margin: 16px auto 0;
  background: var(--patch-orange);
  border-radius: 4px;
  position: relative;
}

/* ━━━━ GAME NIGHT APP ICON ━━━━
   CSS recreation of the patchwork app-icon look: stitched fabric square with
   game-night props arranged around a central felt patch labeled GAME NIGHT.
   Set --gn-icon-size to scale (default 320px). */
.gn-app-icon {
  --gn-icon-size: 320px;
  --gn-icon-bg: #fae7cd;
  --gn-icon-stitch: #b59566;
  position: relative;
  width: var(--gn-icon-size);
  height: var(--gn-icon-size);
  margin: 0 auto 22px;
  background: var(--gn-icon-bg);
  border-radius: 22%;
  box-shadow:
    0 18px 40px rgba(0,0,0,0.5),
    0 6px 12px rgba(0,0,0,0.3),
    inset 0 -10px 22px rgba(181,149,102,0.30),
    inset 0 8px 16px rgba(255,255,255,0.10);
  isolation: isolate;
  overflow: hidden;
  flex-shrink: 0;
}
[data-theme="light"] .gn-app-icon {
  box-shadow:
    0 18px 40px rgba(120,80,40,0.4),
    0 6px 12px rgba(120,80,40,0.2),
    inset 0 -10px 22px rgba(120,80,40,0.18),
    inset 0 8px 16px rgba(255,255,255,0.18);
}
/* Outer dashed-stitch border (the "patch border") */
.gn-app-icon::before {
  content: '';
  position: absolute;
  inset: 5%;
  border-radius: 18%;
  border: 3px dashed var(--gn-icon-stitch);
  pointer-events: none;
  opacity: 0.7;
  z-index: 5;
}
/* Fabric noise texture overlay */
.gn-app-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  background-size: 110px 110px;
  mix-blend-mode: multiply;
  opacity: 0.30;
  z-index: 6;
}

/* Game-night props arranged around the perimeter */
.gn-app-icon-prop {
  position: absolute;
  font-size: calc(var(--gn-icon-size) * 0.22);
  line-height: 1;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.4));
  z-index: 1;
  user-select: none;
}
.gn-app-icon-prop-trophy    { top: 6%;  left: 4%;  transform: rotate(-14deg); }
.gn-app-icon-prop-die       { top: -2%; left: 38%; transform: rotate(8deg); font-size: calc(var(--gn-icon-size) * 0.24); }
.gn-app-icon-prop-target    { top: 8%;  right: 1%; transform: rotate(10deg); }
.gn-app-icon-prop-wheel     { bottom: 4%; left: 2%; transform: rotate(-8deg); font-size: calc(var(--gn-icon-size) * 0.24); }
.gn-app-icon-prop-clipboard { bottom: 6%; right: 4%; transform: rotate(8deg); }

/* Central felt patch with the GAME NIGHT label */
.gn-app-icon-patch {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 70%;
  height: 56%;
  transform: translate(-50%, -50%) rotate(-1.5deg);
  background: var(--gn-icon-bg);
  border-radius: 14%;
  box-shadow:
    0 8px 18px rgba(0,0,0,0.35),
    inset 0 -4px 10px rgba(181,149,102,0.25),
    inset 0 3px 8px rgba(255,255,255,0.18);
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  z-index: 3;
  overflow: hidden;
}
[data-theme="light"] .gn-app-icon-patch {
  box-shadow:
    0 8px 18px rgba(120,80,40,0.3),
    inset 0 -4px 10px rgba(120,80,40,0.16),
    inset 0 3px 8px rgba(255,255,255,0.3);
}
.gn-app-icon-patch::before {
  content: '';
  position: absolute;
  inset: 6%;
  border: 2px dashed var(--gn-icon-stitch);
  border-radius: 11%;
  pointer-events: none;
  opacity: 0.7;
  z-index: 2;
}
.gn-app-icon-patch::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  background-size: 80px 80px;
  mix-blend-mode: multiply;
  opacity: 0.25;
  z-index: 1;
}

.gn-app-icon-text {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 0 6%;
}
.gn-app-icon-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 1px;
  line-height: 1;
}
/* Felt-letter effect: tight letters with 3D extruded shadow + tiny dashed-stitch outline ring via text-stroke */
.gn-app-icon-letter {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: calc(var(--gn-icon-size) * 0.135);
  color: var(--letter-color);
  line-height: 0.95;
  letter-spacing: 0.5px;
  -webkit-text-stroke: 1.5px rgba(0,0,0,0.18);
  text-shadow:
    0 1px 0 rgba(0,0,0,0.25),
    0 2px 0 rgba(0,0,0,0.20),
    0 3px 1px rgba(0,0,0,0.18),
    0 4px 5px rgba(0,0,0,0.30);
  display: inline-block;
}

.gn-app-icon-stars {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 4px;
}
.gn-app-icon-star {
  color: var(--star-color);
  font-size: calc(var(--gn-icon-size) * 0.05);
  line-height: 1;
  text-shadow:
    0 1px 0 rgba(0,0,0,0.2),
    0 2px 2px rgba(0,0,0,0.25);
}
.gn-app-icon-dash {
  display: inline-block;
  width: calc(var(--gn-icon-size) * 0.04);
  height: 3px;
  background: var(--dash-color, var(--patch-blue));
  border-radius: 2px;
  box-shadow: 0 1px 0 rgba(0,0,0,0.2);
}

.hero-sub {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.55;
  color: var(--text-dim);
  margin: 14px auto 22px;
  max-width: 600px;
  letter-spacing: 0.2px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 18px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-mid);
  border: 1.5px dashed var(--border);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 800;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* MAIN APP */
.app {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 24px 60px;
  position: relative;
  z-index: 2;
}

/* TOOLS GRID */
.tools-grid {
  display: grid;
  /* 2x2 on desktop for visual balance with 4 cards; collapses to 1-col on narrow viewports via media query below. */
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 18px;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}

/* TOOL CARD (patchwork patch) */
.tool-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--panel-bg);
  border-radius: var(--radius);
  box-shadow: var(--panel-shadow);
  padding: 28px 22px 20px;
  isolation: isolate;
  text-decoration: none;
  color: var(--text);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s;
  cursor: pointer;
  /* Slight tilt for that handmade quilt feel; even-numbered cards tilt the other way via :nth-child below */
  transform: rotate(-0.6deg);
}
.tool-card:nth-child(even) { transform: rotate(0.6deg); }
.tool-card:hover {
  transform: rotate(0deg) translateY(-4px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.55), 0 4px 8px rgba(0,0,0,0.4);
  filter: brightness(1.04);
}
[data-theme="light"] .tool-card:hover {
  box-shadow: 0 14px 30px rgba(120,80,40,0.28), 0 4px 8px rgba(120,80,40,0.18);
}
.tool-card::before {
  content: '';
  position: absolute;
  inset: 7px;
  border: 2px dashed var(--panel-stitch);
  border-radius: calc(var(--radius) - 4px);
  pointer-events: none;
  opacity: 0.55;
}
.tool-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.45'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  opacity: 0.05;
  mix-blend-mode: overlay;
  z-index: -1;
}
.tool-card > * { position: relative; z-index: 1; }

/* Card colored ribbon along the top behaves like its identity stripe */
.tool-card[data-color="orange"] { --card-color: var(--patch-orange); }
.tool-card[data-color="blue"]   { --card-color: var(--patch-blue); }
.tool-card[data-color="green"]  { --card-color: var(--patch-green-deep); }
.tool-card[data-color="red"]    { --card-color: var(--patch-red); }
.tool-card[data-color="teal"]   { --card-color: var(--patch-teal); }

.tool-tag {
  position: absolute;
  top: -14px; left: 22px;
  padding: 5px 14px 6px;
  font-size: 11px; font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #fff;
  background: var(--tag-color, var(--patch-orange));
  border-radius: 6px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.2);
  z-index: 2;
}
.tool-tag::before {
  content: '';
  position: absolute;
  inset: 3px 5px;
  border: 1px dashed rgba(255,255,255,0.45);
  border-radius: 3px;
  pointer-events: none;
}
.tag-orange { --tag-color: var(--patch-orange); }
.tag-yellow { --tag-color: var(--patch-yellow); color: #2a1f14; }
.tag-yellow::before { border-color: rgba(42,31,20,0.4); }
.tag-green  { --tag-color: var(--patch-green-deep); }
.tag-blue   { --tag-color: var(--patch-blue); }
.tag-red    { --tag-color: var(--patch-red); }
.tag-teal   { --tag-color: var(--patch-teal); }

.tool-icon {
  font-size: 56px;
  line-height: 1;
  margin-top: 8px;
  text-align: center;
  filter: drop-shadow(0 3px 6px rgba(0,0,0,0.4));
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.tool-card:hover .tool-icon { transform: scale(1.1) rotate(-4deg); }

.tool-title {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--card-color, var(--text));
  text-align: center;
  margin: 4px 0 0;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}
[data-theme="light"] .tool-title { text-shadow: none; }

.tool-desc {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.55;
  color: var(--text-dim);
  text-align: center;
  margin: 0 4px;
  letter-spacing: 0.1px;
}

.tool-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 6px 0 6px;
  padding: 10px 12px;
  background: var(--bg-mid);
  border-radius: 8px;
  border: 1px dashed var(--border);
}
.tool-features li {
  font-size: 11px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.4px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 2px 0;
}
.tool-features li::before {
  content: '✓';
  color: var(--card-color, var(--patch-orange));
  font-weight: 800;
  font-size: 12px;
  flex-shrink: 0;
}

.tool-open {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: auto;
  padding: 10px 14px;
  background: var(--card-color, var(--patch-orange));
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  border-radius: 8px;
  position: relative;
  box-shadow: 0 3px 8px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.18);
  transition: filter 0.15s, transform 0.05s;
}
.tool-card[data-color="orange"] .tool-open { color: #fff; }
.tool-card .tool-open::before {
  content: '';
  position: absolute;
  inset: 4px;
  border: 1.5px dashed rgba(255,255,255,0.4);
  border-radius: 4px;
  pointer-events: none;
}
.tool-card:hover .tool-open {
  filter: brightness(1.15);
  box-shadow: 0 5px 14px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.2);
}
.tool-card[data-color="orange"]:hover .tool-open { box-shadow: 0 6px 18px rgba(215,107,43,0.5), inset 0 1px 0 rgba(255,255,255,0.2); }
.tool-card[data-color="blue"]:hover .tool-open   { box-shadow: 0 6px 18px rgba(58,107,197,0.5),  inset 0 1px 0 rgba(255,255,255,0.2); }
.tool-card[data-color="green"]:hover .tool-open  { box-shadow: 0 6px 18px rgba(106,161,92,0.5),  inset 0 1px 0 rgba(255,255,255,0.2); }
.tool-card[data-color="red"]:hover .tool-open    { box-shadow: 0 6px 18px rgba(193,74,58,0.5),   inset 0 1px 0 rgba(255,255,255,0.2); }

.open-arrow {
  display: inline-block;
  transition: transform 0.18s;
}
.tool-card:hover .open-arrow { transform: translateX(4px); }

/* INFO STRIP */
.info-strip {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.info-strip-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 18px;
  background: var(--bg-mid);
  border: 1.5px dashed var(--border);
  border-radius: 12px;
}
.info-strip-icon {
  font-size: 28px;
  line-height: 1;
  flex-shrink: 0;
}
.info-strip-body h3 {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--patch-orange);
  margin: 0 0 6px;
}
[data-theme="light"] .info-strip-body h3 { color: var(--patch-orange-deep); }
.info-strip-body p {
  font-size: 12px;
  line-height: 1.55;
  color: var(--text-dim);
  font-weight: 600;
  margin: 0;
  letter-spacing: 0.2px;
}

/* FOOTER */
.footer {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 24px 50px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-top: 1px dashed var(--border);
  margin-top: 30px;
}
.footer-logo {
  position: relative;
  width: 44px; height: 44px;
  background: var(--panel-bg);
  border-radius: 8px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.4);
  padding: 4px;
  flex-shrink: 0;
  transform: rotate(-1.5deg);
  isolation: isolate;
  transition: transform 0.2s;
}
.footer-logo:hover { transform: rotate(0deg) scale(1.05); }
.footer-logo::before {
  content: '';
  position: absolute;
  inset: 4px;
  border: 1px dashed var(--panel-stitch);
  border-radius: 5px;
  opacity: 0.6;
  pointer-events: none;
}
.footer-logo img { width: 100%; height: 100%; object-fit: contain; }

.footer-text {
  font-size: 12px;
  line-height: 1.55;
  color: var(--text-dim);
  font-weight: 600;
  letter-spacing: 0.3px;
}
.footer-text strong {
  color: var(--text);
  font-weight: 800;
  display: block;
  margin-bottom: 2px;
}
.footer-text a {
  color: var(--patch-orange);
  font-weight: 800;
  text-decoration: none;
  transition: color 0.15s;
}
.footer-text a:hover { color: var(--patch-orange-deep); text-decoration: underline; }
[data-theme="light"] .footer-text a { color: var(--patch-orange-deep); }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: var(--patch-orange);
  border-radius: 5px;
  border: 2px solid var(--bg-darkest);
}
::-webkit-scrollbar-thumb:hover { background: var(--patch-orange-deep); }

/* RESPONSIVE */
@media (max-width: 800px) {
  .hero { padding: 50px 18px 30px; }
  .hero-title { font-size: 40px; }
  .hero-sub { font-size: 14px; }
  .gn-app-icon { --gn-icon-size: 260px; }
  .tools-grid { grid-template-columns: 1fr; gap: 26px; }
  .tool-card { transform: none !important; }
  .tool-card:hover { transform: translateY(-4px) !important; }
}

@media (max-width: 640px) {
  .topbar { padding: 8px 12px; gap: 10px; }
  .logo-patch { width: 48px; height: 48px; }
  .topbar .app-name { font-size: 18px; letter-spacing: 1.5px; }
  .app { padding: 8px 14px 40px; }
  .hero { padding: 36px 14px 22px; }
  .hero-title { font-size: 32px; letter-spacing: 0; }
  .gn-app-icon { --gn-icon-size: 220px; }
  .hero-pretitle { font-size: 10px; padding: 5px 12px; letter-spacing: 2px; }
  .hero-badges { gap: 6px; }
  .hero-badge { font-size: 10px; padding: 4px 10px; letter-spacing: 0.6px; }
  .tool-card { padding: 26px 18px 18px; }
  .tool-icon { font-size: 48px; }
  .tool-title { font-size: 18px; }
  .info-strip { gap: 14px; margin-top: 36px; }
  .footer { flex-direction: column; align-items: flex-start; gap: 12px; padding: 22px 14px 40px; text-align: left; }
}
