:root {
  --cream: #fff9f2;
  --sand: #f5e8d9;
  --sun: #f2b56b;
  --coral: #e76f51;
  --ink: #26313f;
  --muted: #6f7885;
  --line: rgba(38, 49, 63, 0.1);
  --shadow: 0 28px 80px rgba(38, 49, 63, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  color: var(--ink);
}

.monday-theme {
  background:
    radial-gradient(circle at top left, rgba(242, 181, 107, 0.38), transparent 22%),
    radial-gradient(circle at 85% 12%, rgba(231, 111, 81, 0.24), transparent 20%),
    linear-gradient(180deg, #fff4e8 0%, #fdf7ef 46%, #fffdf9 100%);
}

.shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.card {
  width: 100%;
  max-width: 760px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 32px;
  padding: 36px 32px 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--coral);
  border: 1px solid rgba(231, 111, 81, 0.16);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-emoji {
  font-size: 58px;
  margin: 14px 0 10px;
}

h1 {
  margin: 0;
  font-size: 44px;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.subtitle {
  width: min(100%, 590px);
  margin: 14px auto 24px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.keyword-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0 0 18px;
}

.keyword-strip span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(38, 49, 63, 0.08);
  color: var(--muted);
  font-size: 12px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 14px;
}

.chip-row.compact {
  margin-bottom: 16px;
}

.chip {
  border: 1px solid rgba(38, 49, 63, 0.08);
  background: rgba(255, 255, 255, 0.75);
  color: var(--ink);
  border-radius: 999px;
  padding: 11px 15px;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.chip.soft {
  color: var(--muted);
}

.chip.active {
  background: linear-gradient(135deg, var(--coral), #ef9d63);
  color: white;
  border-color: transparent;
  box-shadow: 0 10px 22px rgba(231, 111, 81, 0.2);
}

.chip:hover,
.btn:hover,
.footer-links a:hover {
  transform: translateY(-1px);
}

.text-input {
  width: 100%;
  border: 1px solid rgba(38, 49, 63, 0.12);
  background: rgba(255, 255, 255, 0.88);
  border-radius: 18px;
  padding: 16px 18px;
  font: inherit;
  font-size: 15px;
  margin: 6px 0 18px;
  outline: none;
  color: var(--ink);
}

.text-input:focus {
  border-color: rgba(231, 111, 81, 0.34);
  box-shadow: 0 0 0 4px rgba(231, 111, 81, 0.08);
}

.display {
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.95), rgba(255, 247, 237, 0.88)),
    var(--cream);
  border: 1px solid rgba(38, 49, 63, 0.06);
  border-radius: 24px;
  padding: 26px 24px;
  min-height: 164px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.display-label {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.display-text {
  margin: 0;
  font-size: 28px;
  line-height: 1.45;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.detail-panel {
  text-align: left;
  margin-top: 16px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
}

.detail-item + .detail-item {
  margin-top: 14px;
}

.detail-item span {
  display: block;
  color: var(--coral);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.detail-item p,
.detail-reminder {
  margin: 0;
  color: var(--ink);
  line-height: 1.72;
  font-size: 15px;
}

.detail-reminder {
  margin-top: 16px;
  color: var(--muted);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 20px;
}

.btn {
  border: none;
  border-radius: 999px;
  padding: 14px 18px;
  font: inherit;
  font-size: 15px;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--coral), #ef9d63);
  color: white;
  box-shadow: 0 14px 28px rgba(231, 111, 81, 0.22);
}

.btn-secondary {
  background: white;
  color: var(--ink);
  border: 1px solid rgba(38, 49, 63, 0.1);
}

.hint {
  min-height: 20px;
  margin: 10px 0 0;
  color: #3e9e4f;
  font-size: 13px;
}

.seo-copy {
  margin-top: 18px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--line);
  text-align: left;
}

.seo-copy h2 {
  margin: 0 0 8px;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.seo-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
  font-size: 15px;
}

.footer {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(38, 49, 63, 0.08);
}

.footer p {
  width: min(100%, 560px);
  margin: 0 auto 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-links a {
  text-decoration: none;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(38, 49, 63, 0.08);
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 13px;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

@media (max-width: 640px) {
  .card {
    padding: 28px 18px 22px;
  }

  h1 {
    font-size: 34px;
  }

  .subtitle {
    font-size: 15px;
  }

  .display-text {
    font-size: 23px;
  }

  .button-row {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}
