/* AquarelleGo - watercolor / hand-drawn aesthetic */

:root {
  --paper: #fbf7f2;
  --ink: #3d3429;
  --ink-soft: #6b5f52;
  --peach: #ffd1b3;
  --sky: #bfe3ff;
  --sage: #cfe8c2;
  --lavender: #e8d4f5;
  --rose: #f5c4c4;
  --mystic: #5b8fd4;
  --valor: #d45b5b;
  --instinct: #e8b84a;
  --discord: #5865f2;
  --font-display: "Caveat", cursive;
  --font-body: "Gochi Hand", cursive;
  --sketch: 2px 3px 0 rgba(61, 52, 41, 0.08);
  --radius-blob: 58% 42% 55% 45% / 48% 52% 44% 56%;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  background-image:
    radial-gradient(ellipse 80% 50% at 10% 0%, rgba(255, 209, 179, 0.55) 0%, transparent 60%),
    radial-gradient(ellipse 70% 45% at 90% 10%, rgba(191, 227, 255, 0.5) 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(207, 232, 194, 0.45) 0%, transparent 50%);
  background-attachment: fixed;
}

/* Paper grain overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' 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.08'/%3E%3C/svg%3E");
  z-index: 0;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--ink);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

a:hover {
  color: #7a5c3e;
}

.wrap {
  width: min(1120px, 92vw);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Sketchy border utility */
.sketch-box {
  background: rgba(255, 255, 255, 0.55);
  border: 2.5px solid var(--ink);
  border-radius: var(--radius-blob);
  box-shadow: var(--sketch), 6px 8px 24px rgba(61, 52, 41, 0.06);
  position: relative;
}

.sketch-box::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1.5px dashed rgba(61, 52, 41, 0.15);
  border-radius: inherit;
  pointer-events: none;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0.75rem 0;
  background: rgba(251, 247, 242, 0.88);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid rgba(61, 52, 41, 0.12);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-tag {
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.nav-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.7);
  border: 2px solid var(--ink);
  border-radius: 40% 60% 55% 45% / 50% 45% 55% 50%;
  padding: 0.45rem 0.65rem;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1.1rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem 1.1rem;
  flex-wrap: wrap;
}

.nav-links a {
  text-decoration: none;
  padding: 0.25rem 0.1rem;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  border-bottom-color: var(--peach);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1.15rem;
  font-family: var(--font-body);
  font-size: 1.05rem;
  border: 2.5px solid var(--ink);
  border-radius: 45% 55% 50% 50% / 55% 45% 55% 45%;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 3px 4px 0 rgba(61, 52, 41, 0.12);
}

.btn:hover {
  transform: translate(-1px, -1px);
  box-shadow: 5px 6px 0 rgba(61, 52, 41, 0.14);
}

.btn:active {
  transform: translate(1px, 1px);
  box-shadow: 1px 2px 0 rgba(61, 52, 41, 0.1);
}

.btn-discord {
  background: linear-gradient(135deg, #7b8cff 0%, var(--discord) 100%);
  color: #fff;
  border-color: #3f4ab8;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.65);
  color: var(--ink);
}

.btn-sm {
  padding: 0.4rem 0.85rem;
  font-size: 0.98rem;
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Hero */
.hero {
  padding: 3.5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.wash {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  opacity: 0.7;
  pointer-events: none;
}

.wash-peach {
  width: 320px;
  height: 280px;
  background: var(--peach);
  top: -40px;
  left: -60px;
}

.wash-sky {
  width: 360px;
  height: 300px;
  background: var(--sky);
  top: 20px;
  right: -80px;
}

.wash-sage {
  width: 280px;
  height: 240px;
  background: var(--sage);
  bottom: -60px;
  left: 30%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.75rem;
  padding: 0.25rem 0.85rem;
  background: rgba(207, 232, 194, 0.5);
  border: 1.5px dashed rgba(61, 52, 41, 0.25);
  border-radius: 999px;
  font-size: 0.95rem;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.65rem;
}

h1 {
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  letter-spacing: 0.01em;
}

h1 em {
  font-style: normal;
  color: #c47a5a;
  text-shadow: 2px 2px 0 rgba(255, 209, 179, 0.6);
}

.hero-lede {
  font-size: 1.25rem;
  color: var(--ink-soft);
  max-width: 34ch;
  margin: 0 0 1.5rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.hero-note {
  font-size: 0.98rem;
  color: var(--ink-soft);
  margin: 0;
}

.hero-art {
  padding: 1.5rem;
  text-align: center;
}

.hero-art svg {
  width: 100%;
  max-width: 340px;
  height: auto;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-10px) rotate(1deg); }
}

/* Sections */
section {
  padding: 3rem 0;
}

.section-head {
  text-align: center;
  margin-bottom: 2rem;
}

.section-head h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.section-head p {
  color: var(--ink-soft);
  max-width: 50ch;
  margin: 0.5rem auto 0;
}

/* Services grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}

.svc-card {
  padding: 1.35rem 1.25rem 1.5rem;
  background: rgba(255, 255, 255, 0.5);
  border: 2px solid var(--ink);
  border-radius: 52% 48% 45% 55% / 48% 52% 48% 52%;
  box-shadow: var(--sketch);
  transition: transform 0.2s;
}

.svc-card:nth-child(3n+1) { background: linear-gradient(145deg, rgba(255,209,179,0.35), rgba(255,255,255,0.5)); }
.svc-card:nth-child(3n+2) { background: linear-gradient(145deg, rgba(191,227,255,0.35), rgba(255,255,255,0.5)); }
.svc-card:nth-child(3n)   { background: linear-gradient(145deg, rgba(207,232,194,0.35), rgba(255,255,255,0.5)); }

.svc-card:hover {
  transform: rotate(-0.5deg) scale(1.02);
}

.svc-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.65);
  border: 2px solid rgba(61, 52, 41, 0.2);
  border-radius: 50%;
  padding: 0.25rem;
}

.svc-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.svc-card h3 {
  font-size: 1.65rem;
}

.svc-card p {
  margin: 0;
  font-size: 1.02rem;
  color: var(--ink-soft);
}

/* How it works strip */
.how-strip {
  margin: 1rem 0 0;
  padding: 2rem;
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.how-steps li {
  text-align: center;
  padding: 0.5rem;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  background: var(--lavender);
  border: 2px solid var(--ink);
  border-radius: 50%;
  margin-bottom: 0.5rem;
}

.how-steps h3 {
  font-size: 1.45rem;
}

.how-steps p {
  margin: 0;
  font-size: 1rem;
  color: var(--ink-soft);
}

/* Testimonials */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.testimonial {
  padding: 1.35rem;
  border: 2px dashed rgba(61, 52, 41, 0.35);
  border-radius: 42% 58% 50% 50% / 55% 45% 55% 45%;
  background: rgba(255, 255, 255, 0.4);
  position: relative;
}

.testimonial::before {
  content: "\201C";
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1;
  color: var(--peach);
  position: absolute;
  top: 0.2rem;
  left: 0.75rem;
}

.testimonial blockquote {
  margin: 0;
  padding-top: 1.5rem;
  font-size: 1.02rem;
}

.testimonial cite {
  display: block;
  margin-top: 0.75rem;
  font-style: normal;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.placeholder-tag {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.15rem 0.45rem;
  background: var(--rose);
  border: 1px solid var(--ink);
  border-radius: 4px;
  margin-bottom: 0.35rem;
}

/* Page hero (inner pages) */
.page-hero {
  padding: 2.5rem 0 1.5rem;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
}

.page-hero p {
  color: var(--ink-soft);
  max-width: 55ch;
  margin: 0.5rem auto 0;
}

/* Raids */
.raids-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.5rem;
  align-items: start;
}

.boss-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem;
}

.boss-chip {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.65rem 0.75rem;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.5);
  border: 2px solid rgba(61, 52, 41, 0.25);
  border-radius: 40% 60% 50% 50% / 50% 45% 55% 50%;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.boss-chip:hover {
  background: rgba(191, 227, 255, 0.4);
  border-color: var(--ink);
}

.boss-chip[aria-pressed="true"] {
  background: rgba(255, 209, 179, 0.55);
  border-color: var(--ink);
  box-shadow: 3px 3px 0 rgba(61, 52, 41, 0.1);
}

.boss-thumb {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.65);
  border: 2px solid rgba(61, 52, 41, 0.2);
  border-radius: 50%;
  overflow: hidden;
}

.boss-thumb img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.boss-name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
}

.boss-meta {
  display: block;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.raid-panel {
  padding: 1.5rem;
}

.raid-boss-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 2px dashed rgba(61, 52, 41, 0.2);
}

.raid-boss-art {
  width: 96px;
  height: 96px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(191, 227, 255, 0.35);
  border: 2.5px solid var(--ink);
  border-radius: 50%;
  overflow: hidden;
}

.raid-boss-art img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.raid-boss-info h2 {
  font-size: 2rem;
  margin: 0;
}

.raid-boss-info p {
  margin: 0.15rem 0 0;
  color: var(--ink-soft);
}

.counters-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 0.45rem;
}

.counters-table th {
  font-family: var(--font-display);
  font-size: 1.2rem;
  text-align: left;
  padding: 0.35rem 0.75rem;
  color: var(--ink-soft);
}

.counters-table td {
  padding: 0.65rem 0.75rem;
  background: rgba(255, 255, 255, 0.45);
  border-top: 1.5px solid rgba(61, 52, 41, 0.12);
  border-bottom: 1.5px solid rgba(61, 52, 41, 0.12);
}

.counters-table td:first-child {
  border-left: 1.5px solid rgba(61, 52, 41, 0.12);
  border-radius: 12px 0 0 12px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
}

.counters-table td:last-child {
  border-right: 1.5px solid rgba(61, 52, 41, 0.12);
  border-radius: 0 12px 12px 0;
}

.type-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.1rem 0.5rem 0.1rem 0.3rem;
  font-size: 0.88rem;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: var(--sky);
}

.type-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
}

.rating-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.rating-track {
  flex: 1;
  height: 10px;
  background: rgba(61, 52, 41, 0.1);
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(61, 52, 41, 0.15);
}

.rating-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--sage), #8bc47a);
  border-radius: 999px;
  transition: width 0.4s ease;
}

.rating-num {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  min-width: 2.5rem;
  text-align: right;
}

/* Friends */
.site-note {
  padding: 0.85rem 1.15rem;
  margin-bottom: 1.5rem;
  background: rgba(191, 227, 255, 0.35);
  border: 2px dashed rgba(61, 52, 41, 0.3);
  border-radius: 20px;
  font-size: 1rem;
}

.friends-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 1.5rem;
  align-items: start;
}

.add-form {
  padding: 1.5rem;
}

.add-form h2 {
  font-size: 1.85rem;
  margin-bottom: 1rem;
}

.form-group {
  margin-bottom: 0.85rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.5rem 0.65rem;
  font-family: var(--font-body);
  font-size: 1.05rem;
  border: 2px solid var(--ink);
  border-radius: 8px 14px 10px 12px / 12px 10px 14px 8px;
  background: rgba(255, 255, 255, 0.75);
}

.form-group input:focus,
.form-group select:focus {
  outline: 2px dashed var(--peach);
  outline-offset: 2px;
}

.form-actions {
  margin-top: 1rem;
}

.friend-list-wrap {
  padding: 1.5rem;
}

.friend-list-wrap h2 {
  font-size: 1.85rem;
  margin-bottom: 1rem;
}

.friend-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.friend-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem 1rem;
  align-items: center;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.5);
  border: 2px solid rgba(61, 52, 41, 0.2);
  border-radius: 14px 18px 16px 12px / 16px 12px 18px 14px;
}

.friend-card.is-mine {
  border-color: var(--ink);
  background: rgba(255, 209, 179, 0.25);
}

.friend-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.75rem;
}

.friend-trainer {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
}

.friend-code {
  font-size: 1rem;
  letter-spacing: 0.04em;
}

.team-badge {
  display: inline-block;
  padding: 0.1rem 0.55rem;
  font-size: 0.82rem;
  text-transform: capitalize;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  color: #fff;
}

.team-mystic { background: var(--mystic); }
.team-valor { background: var(--valor); }
.team-instinct { background: var(--instinct); color: var(--ink); }

.friend-meta {
  font-size: 0.92rem;
  color: var(--ink-soft);
  grid-column: 1;
}

.friend-actions {
  grid-row: 1 / 3;
  grid-column: 2;
}

/* Blog scrapbook */
.blog-scrapbook {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem 1.5rem;
  padding: 0.5rem 0 1rem;
}

.scrapbook-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ink);
  padding: 0;
  overflow: hidden;
  transition: transform 0.2s;
}

.scrapbook-card:nth-child(odd) {
  transform: rotate(-0.8deg);
}

.scrapbook-card:nth-child(even) {
  transform: rotate(0.6deg);
}

.scrapbook-card:nth-child(3n) {
  transform: rotate(-0.3deg);
}

.scrapbook-card:hover {
  transform: rotate(0deg) scale(1.02);
  color: var(--ink);
}

.scrapbook-cover {
  position: relative;
  height: 160px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 209, 179, 0.55), rgba(191, 227, 255, 0.5));
  border-bottom: 2px dashed rgba(61, 52, 41, 0.2);
}

.scrapbook-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 20% 30%, rgba(255, 209, 179, 0.7) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 80% 60%, rgba(191, 227, 255, 0.65) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 50% 80%, rgba(207, 232, 194, 0.55) 0%, transparent 60%);
  pointer-events: none;
}

.scrapbook-cover::after {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  width: 72px;
  height: 22px;
  background: rgba(255, 249, 230, 0.75);
  border: 1px solid rgba(61, 52, 41, 0.15);
  box-shadow: 0 1px 3px rgba(61, 52, 41, 0.1);
  pointer-events: none;
}

.scrapbook-cover img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1rem;
}

.scrapbook-cover-empty .cover-placeholder {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  padding: 1.5rem;
}

.scrapbook-body {
  padding: 1.15rem 1.25rem 1.35rem;
}

.scrapbook-category {
  display: inline-block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.15rem 0.5rem;
  background: var(--lavender);
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  margin-bottom: 0.5rem;
}

.scrapbook-card h2 {
  font-size: 1.65rem;
  margin: 0 0 0.4rem;
  line-height: 1.2;
}

.scrapbook-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin-bottom: 0.65rem;
}

.scrapbook-excerpt {
  margin: 0;
  font-size: 1rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

.blog-empty {
  grid-column: 1 / -1;
  padding: 2.5rem 2rem;
  text-align: center;
}

.blog-empty p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.1rem;
}

/* Single post */
.page-hero-compact {
  padding: 1.5rem 0 0.5rem;
  text-align: left;
}

.back-link {
  display: inline-block;
  text-decoration: none;
  font-size: 1rem;
  color: var(--ink-soft);
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
}

.back-link:hover {
  border-bottom-color: var(--peach);
  color: var(--ink);
}

.post-wrap {
  padding: 0;
  overflow: hidden;
}

.post-article {
  padding: 0;
}

.post-cover {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 209, 179, 0.45), rgba(191, 227, 255, 0.4));
  border-bottom: 2px dashed rgba(61, 52, 41, 0.2);
}

.post-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 70% at 30% 40%, rgba(255, 209, 179, 0.6) 0%, transparent 70%),
    radial-gradient(ellipse 70% 60% at 70% 50%, rgba(191, 227, 255, 0.55) 0%, transparent 65%);
  pointer-events: none;
}

.post-cover img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1.5rem;
}

.post-header {
  padding: 1.75rem 2rem 1rem;
  border-bottom: 2px dashed rgba(61, 52, 41, 0.2);
}

.post-header h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin: 0.35rem 0 0.5rem;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.post-body {
  padding: 1.5rem 2rem 2rem;
  font-size: 1.1rem;
  line-height: 1.7;
}

.post-body h2 {
  font-size: 1.75rem;
  margin: 1.5rem 0 0.65rem;
}

.post-body p {
  margin: 0 0 1rem;
}

.post-body ul {
  margin: 0 0 1rem;
  padding-left: 1.5rem;
}

.post-body li {
  margin-bottom: 0.35rem;
}

/* Related articles */
.related-section {
  padding-top: 1rem;
}

.related-heading {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}

.related-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ink);
  padding: 0;
  overflow: hidden;
  transition: transform 0.2s;
}

.related-card:hover {
  transform: scale(1.02);
  color: var(--ink);
}

.related-cover {
  height: 100px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(207, 232, 194, 0.45), rgba(232, 212, 245, 0.4));
  border-bottom: 2px dashed rgba(61, 52, 41, 0.15);
}

.related-cover img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.75rem;
}

.related-cover-empty {
  background: linear-gradient(135deg, rgba(191, 227, 255, 0.4), rgba(255, 209, 179, 0.35));
}

.related-body {
  padding: 0.85rem 1rem 1.1rem;
}

.related-body h3 {
  font-size: 1.35rem;
  margin: 0.25rem 0 0.35rem;
  line-height: 1.2;
}

.related-body time {
  font-size: 0.88rem;
  color: var(--ink-soft);
}

/* Footer */
.site-footer {
  margin-top: 3rem;
  padding: 2rem 0 2.5rem;
  border-top: 2px solid rgba(61, 52, 41, 0.12);
  background: rgba(255, 255, 255, 0.25);
}

.footer-inner {
  text-align: center;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.footer-disclaimer {
  font-size: 0.88rem;
  color: var(--ink-soft);
  max-width: 62ch;
  margin: 0 auto 0.75rem;
  line-height: 1.5;
}

.footer-level {
  font-size: 0.92rem;
  margin: 0;
  color: var(--ink-soft);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid,
  .raids-layout,
  .friends-layout {
    grid-template-columns: 1fr;
  }

  .how-steps,
  .testimonials {
    grid-template-columns: 1fr;
  }

  .hero-art {
    order: -1;
  }
}

@media (max-width: 680px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 0;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a.btn {
    justify-content: center;
  }

  .friend-card {
    grid-template-columns: 1fr;
  }

  .friend-actions {
    grid-row: auto;
    grid-column: 1;
  }

  .counters-table thead {
    display: none;
  }

  .counters-table tr {
    display: block;
    margin-bottom: 0.75rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.45);
    border: 1.5px solid rgba(61, 52, 41, 0.15);
    border-radius: 12px;
  }

  .counters-table td {
    display: block;
    border: none;
    padding: 0.25rem 0;
    background: transparent;
    border-radius: 0;
  }

  .counters-table td::before {
    content: attr(data-label) ": ";
    font-size: 0.85rem;
    color: var(--ink-soft);
  }

  .counters-table td:first-child,
  .counters-table td:last-child {
    border: none;
    border-radius: 0;
  }

  .post-header,
  .post-body {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .blog-scrapbook {
    grid-template-columns: 1fr;
  }

  .scrapbook-card:nth-child(odd),
  .scrapbook-card:nth-child(even),
  .scrapbook-card:nth-child(3n) {
    transform: none;
  }
}
