:root {
  --indigo-900: #1A237E;
  --indigo-800: #283593;
  --indigo-600: #3949AB;
  --indigo-500: #3F51B5;
  --indigo-a200: #536DFE;
  --indigo-50: #E8EAF6;
  --bg-light: #F4F5FB;
  --text-dark: #1A1F36;
  --text-muted: #4A5072;
  --shadow: 0 10px 30px rgba(63, 81, 181, 0.18);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-dark);
  background: var(--bg-light);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main { flex: 1; }

/* Header */
.site-header {
  background: var(--indigo-900);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 28px; height: 28px; }
.brand span { color: #FFFFFF; font-weight: 800; font-size: 1.15rem; letter-spacing: 0.02em; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  color: var(--indigo-50);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.nav a:hover { color: #FFFFFF; }
.nav a.active { color: #FFFFFF; border-bottom-color: var(--indigo-a200); }

/* Hero */
.hero, .page-hero {
  background: linear-gradient(160deg, var(--indigo-900) 0%, var(--indigo-800) 55%, var(--indigo-600) 100%);
  color: #FFFFFF;
  text-align: center;
}
.hero { padding: 56px 24px 64px; }
.page-hero { padding: 44px 24px 52px; }
.badge {
  display: inline-block;
  background: rgba(83, 109, 254, 0.25);
  border: 1px solid var(--indigo-a200);
  color: var(--indigo-50);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.hero h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; line-height: 1.15; margin-bottom: 12px; }
.page-hero h1 { font-size: clamp(1.7rem, 4.5vw, 2.4rem); font-weight: 800; margin-bottom: 10px; }
.hero p, .page-hero p { font-size: 1.12rem; color: var(--indigo-50); max-width: 540px; margin: 0 auto; }

/* Content sections */
.section {
  max-width: 1080px;
  margin: 0 auto;
  padding: 64px 24px 88px;
}
.section.center { text-align: center; }
.section h2 { font-size: 1.6rem; font-weight: 700; margin-bottom: 12px; }
.section .lead { color: var(--text-muted); max-width: 540px; margin-bottom: 40px; }
.section.center .lead { margin-left: auto; margin-right: auto; }

/* Cards */
.card-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 24px;
}
.card-row.narrow { max-width: 640px; margin: 0 auto; }
.card {
  background: #FFFFFF;
  border-radius: 14px;
  padding: 32px 28px;
  box-shadow: var(--shadow);
  text-align: left;
  display: flex;
  flex-direction: column;
}
.card .icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--indigo-50);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}
.card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 6px; }
.card p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 16px; flex: 1; }
.card .card-link { color: var(--indigo-500); font-weight: 600; text-decoration: none; font-size: 0.95rem; }
.card .card-link:hover { color: var(--indigo-600); text-decoration: underline; }
a.card { text-decoration: none; color: inherit; transition: transform 0.15s, box-shadow 0.15s; }
a.card:hover { transform: translateY(-3px); box-shadow: 0 14px 36px rgba(63, 81, 181, 0.25); }
.card .meta { font-size: 0.82rem; color: var(--indigo-500); font-weight: 600; margin-bottom: 4px; }
.card:has(.stretch) { position: relative; transition: transform 0.15s, box-shadow 0.15s; }
.card:has(.stretch):hover { transform: translateY(-3px); box-shadow: 0 14px 36px rgba(63, 81, 181, 0.25); }
.card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.card-link.stretch::after { content: ""; position: absolute; inset: 0; }
.card-cta {
  position: relative;
  z-index: 1;
  background: var(--indigo-500);
  color: #FFFFFF;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  padding: 9px 16px;
  border-radius: 8px;
  white-space: nowrap;
  transition: background 0.15s;
}
.card-cta:hover { background: var(--indigo-600); }
.card-share {
  position: relative;
  z-index: 1;
  background: var(--indigo-50);
  color: var(--indigo-800);
  border: none;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 9px 14px;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s;
}
.card-share:hover { background: #D8DCF0; }

/* Photos */
.card-photo {
  width: calc(100% + 56px);
  margin: -32px -28px 18px;
  height: 190px;
  object-fit: cover;
  border-radius: 14px 14px 0 0;
  display: block;
}
.recipe-photo {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: var(--shadow);
  margin: 0 0 28px;
  display: block;
}

/* Hobby list */
.hobby-list {
  list-style: none;
  max-width: 520px;
  margin: 0 auto;
  text-align: left;
}
.hobby-list li {
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: var(--shadow);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
}
.hobby-list li:has(a) { padding: 0; }
.hobby-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex: 1;
  text-decoration: none;
  color: inherit;
  padding: 16px 20px;
  border-radius: 12px;
}
.hobby-list li a:hover { background: var(--indigo-50); }
.hobby-name { font-weight: 600; font-size: 1rem; }
.chip {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--bg-light);
  border: 1px solid #D8DCF0;
  border-radius: 999px;
  padding: 4px 12px;
  white-space: nowrap;
}
.chip.live {
  color: #FFFFFF;
  background: var(--indigo-500);
  border-color: var(--indigo-500);
}

/* Buttons */
.btn {
  display: inline-block;
  background: var(--indigo-500);
  color: #FFFFFF;
  font-weight: 600;
  text-decoration: none;
  padding: 13px 30px;
  border-radius: 8px;
  transition: background 0.2s;
  box-shadow: var(--shadow);
}
.btn:hover { background: var(--indigo-600); }

/* Recipe page */
.recipe {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 24px 88px;
}
.recipe .back {
  display: inline-block;
  color: var(--indigo-500);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.92rem;
  margin-bottom: 28px;
}
.recipe .back:hover { text-decoration: underline; }
.recipe-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 36px;
}
.fact {
  background: #FFFFFF;
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 12px 18px;
  min-width: 120px;
}
.fact .label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--indigo-500);
}
.fact .value { font-weight: 600; font-size: 0.98rem; }
.recipe h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 36px 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--indigo-50);
}
.recipe ul, .recipe ol { padding-left: 24px; color: var(--text-dark); }
.recipe li { margin-bottom: 10px; }
.recipe .note {
  background: var(--indigo-50);
  border-left: 4px solid var(--indigo-a200);
  border-radius: 0 10px 10px 0;
  padding: 16px 20px;
  margin-top: 32px;
  color: var(--text-dark);
  font-size: 0.95rem;
}

/* Footer */
.site-footer { background: var(--indigo-900); color: var(--indigo-50); padding: 40px 24px; }
.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
.powered { display: flex; align-items: center; gap: 10px; }
.powered img { width: 24px; height: 24px; }
.powered span { font-weight: 600; font-size: 0.95rem; }
.powered a { color: #FFFFFF; text-decoration: none; }
.powered a:hover { text-decoration: underline; }
.tagline { font-size: 0.85rem; color: #AAB3E0; }
.copyright { font-size: 0.8rem; color: #8A93C8; }

@media (max-width: 600px) {
  .hero { padding: 26px 20px 32px; }
  .page-hero { padding: 22px 20px 28px; }
  .badge { font-size: 0.68rem; padding: 4px 12px; margin-bottom: 10px; }
  .hero h1 { font-size: 1.55rem; margin-bottom: 8px; }
  .page-hero h1 { font-size: 1.35rem; margin-bottom: 6px; }
  .hero p, .page-hero p { font-size: 0.95rem; }
  .header-inner { padding: 12px 16px; }
  .brand img { width: 24px; height: 24px; }
  .brand span { font-size: 1rem; white-space: nowrap; }
  .nav { gap: 14px; }
  .nav a { font-size: 0.85rem; white-space: nowrap; }
  .section { padding: 48px 20px 64px; }
  .recipe { padding: 40px 20px 64px; }
}
