/* Kitty Cafe website — same palette and rounded type as the game.
   Self-contained: no web fonts, scripts or anything loaded from elsewhere. */
:root {
  color-scheme: light;
  --cocoa: #5b3a29;
  --cocoa-soft: #8a6450;
  --cream: #fff8ee;
  --paper: #fbefdc;
  --oat: #f3e4cc;
  --latte: #e9d3b4;
  --terracotta: #d9775b;
  --terracotta-deep: #b65a40;
  --teal: #4f7c7a;
  --teal-deep: #365c5a;
  --sage: #9db48a;
  --sage-deep: #6e8b63;
  --honey: #e8a94f;
  --rose: #e8a3a0;
  --blush: #ff9eaa;
  --round: ui-rounded, "SF Pro Rounded", "Hiragino Maru Gothic ProN", "Nunito", "Varela Round", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--round);
  color: var(--cocoa);
  line-height: 1.6;
  background-color: var(--cream);
  /* Faint paw prints, like the paper in the game */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cg fill='%23e9d3b4' fill-opacity='.45'%3E%3Cg transform='translate(40 50) rotate(-18)'%3E%3Cellipse cx='0' cy='6' rx='9' ry='8'/%3E%3Cellipse cx='-9' cy='-5' rx='3.4' ry='4.2'/%3E%3Cellipse cx='-3.2' cy='-10' rx='3.4' ry='4.2'/%3E%3Cellipse cx='3.2' cy='-10' rx='3.4' ry='4.2'/%3E%3Cellipse cx='9' cy='-5' rx='3.4' ry='4.2'/%3E%3C/g%3E%3Cg transform='translate(130 125) rotate(22)'%3E%3Cellipse cx='0' cy='6' rx='9' ry='8'/%3E%3Cellipse cx='-9' cy='-5' rx='3.4' ry='4.2'/%3E%3Cellipse cx='-3.2' cy='-10' rx='3.4' ry='4.2'/%3E%3Cellipse cx='3.2' cy='-10' rx='3.4' ry='4.2'/%3E%3Cellipse cx='9' cy='-5' rx='3.4' ry='4.2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

a { color: var(--teal-deep); font-weight: 700; }
a:hover { color: var(--terracotta-deep); }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 248, 238, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 3px solid var(--latte);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 10px; padding-bottom: 10px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--cocoa); font-weight: 900; font-size: 1.25rem; }
.brand img { width: 40px; height: 40px; border-radius: 10px; box-shadow: 0 2px 6px rgba(91, 58, 41, 0.25); }
.site-nav { display: flex; gap: 6px; flex-wrap: wrap; }
.site-nav a {
  text-decoration: none; color: var(--cocoa); font-weight: 800; font-size: 0.95rem;
  padding: 7px 14px; border-radius: 999px;
}
.site-nav a:hover { background: var(--oat); color: var(--cocoa); }
.site-nav a[aria-current="page"] { background: var(--terracotta); color: #fff; }

/* Hero */
.hero { text-align: center; padding: 56px 0 40px; }
.hero-icon {
  width: 168px; height: 168px; border-radius: 38px;
  box-shadow: 0 14px 30px rgba(91, 58, 41, 0.28), 0 0 0 6px #fff;
}
.wordmark {
  margin: 22px 0 6px; font-size: clamp(3rem, 9vw, 5.6rem); font-weight: 900; line-height: 1;
  letter-spacing: -0.01em;
  -webkit-text-stroke: 3px #fff; paint-order: stroke fill;
  text-shadow: 0 6px 0 rgba(91, 58, 41, 0.18);
}
.wordmark .kitty { color: var(--terracotta); }
.wordmark .cafe { color: var(--teal); }
.ribbon {
  display: inline-block; margin-top: 8px; padding: 6px 20px; border-radius: 999px;
  background: #fff; border: 3px solid var(--latte); font-weight: 800; font-size: 1.15rem; color: var(--cocoa);
}
.ribbon .heart { color: var(--blush); }
.lead { max-width: 640px; margin: 22px auto 0; font-size: 1.25rem; color: var(--cocoa-soft); font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.chips li { background: var(--oat); border-radius: 999px; padding: 5px 14px; font-weight: 800; font-size: 0.95rem; }
.cta {
  display: inline-block; margin-top: 26px; padding: 14px 30px; border-radius: 999px;
  background: var(--sage-deep); color: #fff; font-weight: 900; font-size: 1.15rem; text-decoration: none;
  box-shadow: 0 5px 0 #4d6345;
}
.cta:hover { color: #fff; filter: brightness(1.05); }

/* Sections */
section { padding: 34px 0; }
h1, h2, h3 { line-height: 1.2; font-weight: 900; }
h2 { font-size: clamp(1.7rem, 4vw, 2.3rem); text-align: center; margin: 0 0 8px; }
.sub { text-align: center; color: var(--cocoa-soft); font-weight: 600; margin: 0 auto 28px; max-width: 620px; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.card {
  background: var(--paper); border: 3px solid var(--latte); border-radius: 28px; padding: 22px;
}
.card .emoji { font-size: 2.2rem; line-height: 1; }
.card h3 { margin: 10px 0 6px; font-size: 1.25rem; }
.card p { margin: 0; color: var(--cocoa-soft); font-weight: 600; }

.gallery { margin-top: 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.gallery figure { margin: 0; }
.gallery img {
  display: block; width: 100%; height: auto; border-radius: 22px;
  border: 4px solid #fff; box-shadow: 0 8px 22px rgba(91, 58, 41, 0.22);
}
.gallery figcaption { text-align: center; font-weight: 800; margin-top: 10px; }

.promise {
  background: #fff; border: 3px solid var(--sage); border-radius: 32px; padding: 26px 28px; max-width: 820px; margin: 0 auto;
}
.promise ul { margin: 0; padding-left: 1.2em; }
.promise li { margin: 6px 0; font-weight: 600; }

/* Text pages (support, privacy) */
.page { max-width: 780px; margin: 0 auto; padding: 40px 0 20px; }
.page h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin: 0 0 4px; }
.page .updated { color: var(--cocoa-soft); font-weight: 700; margin: 0 0 24px; }
.page h2 { text-align: left; font-size: 1.45rem; margin: 30px 0 8px; }
.page p, .page li { font-size: 1.05rem; }
.paper {
  background: #fff; border: 3px solid var(--latte); border-radius: 30px; padding: 8px 28px 26px;
}
.contact {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
  background: var(--paper); border: 3px solid var(--latte); border-radius: 26px; padding: 18px 22px; margin: 18px 0 8px;
}
.contact .big { font-size: 1.25rem; font-weight: 900; }

details {
  background: var(--paper); border: 3px solid var(--latte); border-radius: 22px; padding: 12px 18px; margin: 12px 0;
}
details summary { cursor: pointer; font-weight: 900; font-size: 1.1rem; }
details[open] summary { margin-bottom: 6px; }
details p, details ul { margin: 6px 0; color: var(--cocoa); }

/* Footer */
.site-footer { border-top: 3px solid var(--latte); margin-top: 40px; padding: 26px 0 40px; text-align: center; color: var(--cocoa-soft); font-weight: 600; }
.site-footer nav { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; margin-bottom: 8px; }
.site-footer .love { color: var(--terracotta); font-weight: 800; }

@media (max-width: 560px) {
  .site-header .wrap { flex-direction: column; gap: 6px; }
  .site-nav { gap: 2px; flex-wrap: nowrap; }
  .site-nav a { padding: 6px 10px; font-size: 0.9rem; }
  .hero { padding-top: 36px; }
  .hero-icon { width: 128px; height: 128px; border-radius: 30px; }
  .paper { padding: 4px 18px 20px; }
}

/* Language links on the privacy pages */
.langs { display: flex; flex-wrap: wrap; gap: 4px 6px; margin: 0 0 18px; font-size: 0.9rem; }
.langs a { text-decoration: none; color: var(--cocoa-soft); font-weight: 800; padding: 3px 10px; border-radius: 999px; background: var(--oat); }
.langs a:hover { color: var(--cocoa); }
.langs a[aria-current="page"] { background: var(--teal); color: #fff; }
