:root {
  --bg: #101820;
  --panel: rgba(255, 255, 255, 0.075);
  --panel-strong: rgba(255, 255, 255, 0.11);
  --text: #f4efe5;
  --muted: #b7c1c7;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #ffc857;
  --accent-2: #5de4c7;
  --ink: #101820;
  --radius: 24px;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Trebuchet MS", "Gill Sans", Verdana, sans-serif;
  background:
    radial-gradient(circle at 10% 10%, rgba(255, 200, 87, 0.22), transparent 28%),
    radial-gradient(circle at 86% 14%, rgba(93, 228, 199, 0.18), transparent 24%),
    linear-gradient(145deg, #101820 0%, #142633 48%, #0e151d 100%);
}

a {
  color: inherit;
}

.page {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 44px;
}

.hero,
.toolbar,
.summary,
.note-card,
.site-card {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero {
  padding: clamp(28px, 6vw, 62px);
  border-radius: 34px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -8% -36% auto;
  width: 320px;
  height: 320px;
  border-radius: 999px;
  background: rgba(255, 200, 87, 0.12);
  filter: blur(8px);
}

.eyebrow {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  max-width: 860px;
  margin: 14px 0 18px;
  font-size: clamp(2.7rem, 7vw, 6.8rem);
  line-height: 0.9;
  letter-spacing: -0.07em;
}

h2 {
  margin: 10px 0 0;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.hero p {
  max-width: 720px;
  font-size: 1.1rem;
}

.toolbar {
  display: grid;
  gap: 18px;
  margin-top: 22px;
  padding: 20px;
  border-radius: var(--radius);
}

.search-box {
  display: grid;
  gap: 8px;
}

.search-box span {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.search-box input {
  width: 100%;
  min-height: 54px;
  padding: 0 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(0, 0, 0, 0.2);
  font: inherit;
}

.search-box input:focus {
  outline: 2px solid rgba(255, 200, 87, 0.28);
  outline-offset: 2px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-chip {
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.filter-chip.is-active {
  color: var(--ink);
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent), #ffe09a);
}

.summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin: 18px 0;
  padding: 16px 18px;
  border-radius: 20px;
}

.summary strong {
  font-size: 1.8rem;
}

.sites-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.site-card {
  display: grid;
  gap: 14px;
  padding: 22px;
  border-radius: var(--radius);
}

.card-top {
  display: grid;
  gap: 2px;
}

.category {
  width: fit-content;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--accent-2);
  font-size: 0.75rem;
  font-weight: 800;
}

.summary-text {
  color: var(--text);
}

.detail {
  font-size: 0.94rem;
}

.detail strong {
  color: var(--text);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tags span {
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.07);
  font-size: 0.82rem;
}

.visit-link {
  width: fit-content;
  margin-top: 2px;
  padding: 11px 15px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--accent);
  font-weight: 800;
  text-decoration: none;
}

.note-card {
  margin-top: 18px;
  padding: 28px;
  border-radius: var(--radius);
}

.note-card p {
  max-width: 760px;
}

.footer {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 26px;
  color: var(--muted);
}

.footer a {
  color: var(--accent);
  font-weight: 800;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .sites-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .page {
    width: min(100% - 22px, 100%);
    padding: 18px 0 32px;
  }

  .hero,
  .toolbar,
  .note-card,
  .site-card {
    border-radius: 22px;
  }

  h1 {
    font-size: 3.1rem;
  }

  .summary {
    align-items: flex-start;
    flex-direction: column;
  }

  .sites-grid {
    grid-template-columns: 1fr;
  }
}
