@import url("https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600&display=swap");

:root {
  --color-bg: #fff8f0;
  --color-bg-accent: #e8e0f7;
  --color-surface: #ffffff;
  --color-text: #4a3728;
  --color-text-muted: #7d6b5d;
  --color-accent: #6bc4a6;
  --color-accent-dark: #4a9e82;
  --color-warm: #ff8c69;
  --color-gold: #d4a574;
  --color-lavender: #c4b5fd;
  --color-border: #e8d5c4;
  --shadow-soft: 0 4px 20px rgba(74, 55, 40, 0.08);
  --shadow-lift: 0 8px 28px rgba(74, 55, 40, 0.12);
  --radius: 20px;
  --radius-sm: 12px;
  --max-width: 720px;
  --spacing: 1.5rem;
}

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

body {
  margin: 0;
  font-family: "Fredoka", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text);
  background:
    radial-gradient(circle at 10% 15%, rgba(196, 181, 253, 0.35) 0%, transparent 40%),
    radial-gradient(circle at 90% 10%, rgba(255, 180, 162, 0.3) 0%, transparent 35%),
    radial-gradient(circle at 80% 85%, rgba(107, 196, 166, 0.25) 0%, transparent 40%),
    radial-gradient(circle at 15% 80%, rgba(212, 165, 116, 0.2) 0%, transparent 35%),
    var(--color-bg);
  min-height: 100vh;
}

body::before,
body::after {
  content: "✦";
  position: fixed;
  font-size: 1.25rem;
  color: var(--color-lavender);
  opacity: 0.5;
  pointer-events: none;
  animation: twinkle 3s ease-in-out infinite;
}

body::before {
  top: 8%;
  right: 12%;
}

body::after {
  bottom: 15%;
  left: 8%;
  animation-delay: 1.5s;
  color: var(--color-warm);
}

@keyframes twinkle {
  0%, 100% { opacity: 0.3; transform: scale(1) rotate(0deg); }
  50% { opacity: 0.7; transform: scale(1.2) rotate(15deg); }
}

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

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--spacing);
}

a {
  color: var(--color-accent-dark);
  text-decoration-style: wavy;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-warm);
}

header {
  text-align: center;
  padding: 2.5rem 1.5rem 2rem;
  margin-bottom: var(--spacing);
  background: var(--color-surface);
  border-radius: var(--radius);
  border: 3px dashed var(--color-border);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

header::before {
  content: "";
  position: absolute;
  top: -30px;
  right: -30px;
  width: 100px;
  height: 100px;
  background: rgba(196, 181, 253, 0.25);
  border-radius: 50%;
}

header::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 70px;
  height: 70px;
  background: rgba(255, 180, 162, 0.2);
  border-radius: 50%;
}

header .logo {
  display: block;
  width: min(100%, 640px);
  height: auto;
  max-height: 220px;
  margin: 0 auto;
  object-fit: contain;
  /* animation: gentle-bob 4s ease-in-out infinite; */
  position: relative;
  z-index: 1;
}

header h1 {
  margin: 1rem 0 0;
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: 0.02em;
  position: relative;
  z-index: 1;
}

/* header h1::after {
  content: " 🐉";
  font-size: 1.25rem;
} */

section {
  margin-bottom: 2rem;
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  box-shadow: var(--shadow-soft);
  border: 2px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

section:hover {
  transform: rotate(-0.3deg);
  box-shadow: var(--shadow-lift);
}

section:nth-child(even) {
  border-color: rgba(196, 181, 253, 0.3);
}

section:nth-child(odd):not(header) {
  border-color: rgba(107, 196, 166, 0.25);
}

section h2 {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 0 0 1rem;
  display: inline-block;
  position: relative;
}

section h2::after {
  content: "";
  display: block;
  height: 6px;
  margin-top: 4px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-warm), var(--color-lavender));
  opacity: 0.7;
}

#over-ons h2::before { content: "🌿 "; }
#contact h2::before { content: "💌 "; }
#anbi h2::before { content: "📋 "; }

section h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 1.5rem 0 0.5rem;
  color: var(--color-accent-dark);
}

.intro {
  font-size: 1.1rem;
  background: linear-gradient(135deg, rgba(232, 224, 247, 0.4), rgba(255, 248, 240, 0.6));
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--color-accent);
}

.contact-block {
  background: linear-gradient(135deg, #fff8f0, #f5f0ff);
  border: 2px dashed var(--color-gold);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
}

.contact-block dl {
  margin: 0;
  display: grid;
  gap: 1rem;
}

.contact-block dt {
  font-weight: 600;
  color: var(--color-warm);
  font-size: 0.875rem;
  letter-spacing: 0.04em;
}

.contact-block dt::before {
  margin-right: 0.35rem;
}

.contact-block div:nth-child(1) dt::before { content: "🏠"; }
.contact-block div:nth-child(2) dt::before { content: "✉️"; }
.contact-block div:nth-child(3) dt::before { content: "📞"; }

.contact-block dd {
  margin: 0.2rem 0 0;
}

.anbi-subsection {
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 2px dotted var(--color-border);
}

.anbi-subsection:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.anbi-subsection p,
.anbi-subsection ul {
  margin: 0;
}

.anbi-subsection ul {
  padding-left: 0;
  list-style: none;
}

.anbi-subsection li {
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}

.anbi-subsection li::before {
  content: "★";
  position: absolute;
  left: 0;
  color: var(--color-warm);
  font-size: 0.85rem;
}

table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.9375rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid var(--color-border);
}

th,
td {
  text-align: left;
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid var(--color-border);
}

th {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  color: #fff;
  font-weight: 500;
}

tbody tr:nth-child(even) {
  background: rgba(232, 224, 247, 0.15);
}

tbody tr:last-child td {
  border-bottom: none;
}

.financial-table {
  margin-top: 0.75rem;
  font-size: 0.875rem;
}

.financial-table td:last-child,
.financial-table th:last-child {
  text-align: right;
}

footer {
  margin-top: 2rem;
  padding: 1.25rem;
  background: var(--color-surface);
  border-radius: var(--radius);
  border: 2px dashed var(--color-lavender);
  font-size: 0.875rem;
  color: var(--color-text-muted);
  text-align: center;
  box-shadow: var(--shadow-soft);
}

footer p {
  margin: 0.25rem 0;
}

footer p:first-child::before {
  content: "✨ ";
}

@media (max-width: 480px) {
  main {
    padding: 1rem;
  }

  header {
    padding: 2rem 1rem 1.5rem;
  }

  header h1 {
    font-size: 1.35rem;
  }

  section {
    padding: 1.25rem;
  }

  section:hover {
    transform: none;
  }

  th,
  td {
    padding: 0.5rem;
    font-size: 0.8125rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  header img,
  body::before,
  body::after {
    animation: none;
  }

  section:hover {
    transform: none;
  }
}
