/* Poo Samurai marketing site — matches in-game sakura palette */

:root {
  --grad-top: #e63c4e;
  --grad-bottom: #ffa8b8;
  --ink: #2a1810;
  --ink-muted: #5c4a42;
  --surface: #fffaf9;
  --accent: #18a052;
  --accent-hover: #148a46;
  --gold: #ffd85a;
  --radius: 16px;
  --shadow: 0 12px 40px rgba(42, 24, 16, 0.12);
  --max: 1080px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
  color: var(--ink);
  background: linear-gradient(165deg, var(--grad-top) 0%, var(--grad-bottom) 55%, #ffe8ee 100%);
  min-height: 100vh;
  line-height: 1.6;
}

a {
  color: var(--grad-top);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

/* ── Nav ── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(255, 250, 249, 0.88);
  border-bottom: 1px solid rgba(42, 24, 16, 0.08);
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

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

.brand:hover {
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.95rem;
  font-weight: 600;
}

.nav-links a {
  color: var(--ink-muted);
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--grad-top);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 20px rgba(24, 160, 82, 0.35);
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  border: 2px solid rgba(255, 255, 255, 0.8);
}

/* ── Hero ── */

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3rem 1.25rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  line-height: 1.08;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.hero-copy .tagline {
  font-size: 1.2rem;
  color: var(--ink-muted);
  margin: 0 0 1.75rem;
  max-width: 28rem;
}

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

.hero-copy .note {
  font-size: 0.85rem;
  color: var(--ink-muted);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-visual img.samurai {
  width: min(320px, 90%);
  filter: drop-shadow(0 20px 40px rgba(42, 24, 16, 0.2));
  animation: bob 3s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ── Sections ── */

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem 1.25rem;
}

.section-title {
  text-align: center;
  font-size: clamp(1.6rem, 3vw, 2rem);
  margin: 0 0 0.5rem;
}

.section-sub {
  text-align: center;
  color: var(--ink-muted);
  margin: 0 0 2rem;
}

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

.card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.card p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

/* ── Screenshots ── */

.screenshot-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.screenshot-row img {
  border-radius: 20px;
  box-shadow: var(--shadow);
  width: 100%;
}

/* ── CTA band ── */

.cta-band {
  max-width: var(--max);
  margin: 1rem auto 3rem;
  padding: 2.5rem 1.25rem;
  text-align: center;
  background: var(--surface);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.cta-band h2 {
  margin: 0 0 0.75rem;
  font-size: 1.75rem;
}

.cta-band p {
  margin: 0 0 1.5rem;
  color: var(--ink-muted);
}

/* ── Legal pages ── */

.legal-page {
  max-width: 760px;
  margin: 2rem auto 3rem;
  padding: 2.5rem 2rem;
  background: var(--surface);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.legal-page h1 {
  margin: 0 0 0.25rem;
  font-size: 2rem;
}

.legal-page .updated {
  color: var(--ink-muted);
  font-size: 0.9rem;
  margin: 0 0 2rem;
}

.legal-page h2 {
  font-size: 1.15rem;
  margin: 2rem 0 0.75rem;
  color: var(--ink);
}

.legal-page p,
.legal-page li {
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.legal-page ul {
  padding-left: 1.25rem;
}

.legal-page li {
  margin-bottom: 0.4rem;
}

/* ── Contact form ── */

.contact-page {
  max-width: 560px;
}

.contact-form {
  display: grid;
  gap: 1.1rem;
  margin-top: 1.5rem;
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field span {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink);
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid rgba(42, 24, 16, 0.12);
  border-radius: 12px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--grad-top);
  box-shadow: 0 0 0 3px rgba(230, 60, 78, 0.15);
}

.field textarea {
  resize: vertical;
  min-height: 140px;
}

.hp,
input.hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.form-status {
  margin-top: 1.25rem;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
}

.form-status--success {
  background: rgba(24, 160, 82, 0.12);
  color: #0f6636;
  border: 1px solid rgba(24, 160, 82, 0.25);
}

.form-status--error {
  background: rgba(230, 60, 78, 0.1);
  color: #9f1f31;
  border: 1px solid rgba(230, 60, 78, 0.22);
}

.contact-form .btn {
  justify-self: start;
  margin-top: 0.25rem;
}

.contact-form .btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* ── Footer ── */

.site-footer {
  background: rgba(42, 24, 16, 0.92);
  color: rgba(255, 255, 255, 0.75);
  padding: 2.5rem 1.25rem;
  margin-top: 2rem;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: flex-start;
}

.footer-inner .brand {
  color: #fff;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: #fff;
}

.footer-copy {
  width: 100%;
  margin: 1.5rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ── Responsive ── */

@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 2rem;
  }

  .hero-copy .tagline,
  .hero-copy .note {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-copy .cta-row {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .screenshot-row {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin: 0 auto;
  }

  .nav-links li:not(:last-child) {
    display: none;
  }

  .legal-page {
    margin: 1rem;
    padding: 1.75rem 1.25rem;
  }
}
