:root {
  --bg: #fff9f2;
  --bg-tint: #fff3e2;
  --surface: #ffffff;
  --text: #1f2933;
  --muted: #5b6b7a;
  --coral: #ff6b5b;
  --coral-soft: #ffe4df;
  --green: #2ecc8b;
  --green-soft: #d6f7e8;
  --yellow: #ffc857;
  --yellow-soft: #fff1cf;
  --berry: #c2185b;
  --border: #f1e4d0;
  --shadow: 0 6px 20px -10px rgba(40, 30, 20, 0.18);
}

* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: var(--bg-image);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family:
    'Inter',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    'Helvetica Neue',
    Helvetica,
    Arial,
    sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

main {
  max-width: 960px;
  margin: 2rem auto;
  padding: 3rem 2.5rem 4rem;
  background: rgba(255, 253, 248, 0.94);
  backdrop-filter: blur(8px) saturate(1.1);
  -webkit-backdrop-filter: blur(8px) saturate(1.1);
  border-radius: 24px;
  box-shadow: 0 20px 60px -30px rgba(50, 30, 10, 0.25);
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  margin: 0 0 0.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(
    95deg,
    var(--coral) 0%,
    var(--yellow) 55%,
    var(--green) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
}

h2 {
  font-size: 1.55rem;
  margin: 3rem 0 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
h2::before {
  content: '';
  display: inline-block;
  width: 0.55rem;
  height: 1.4rem;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--coral), var(--yellow));
}
h2:nth-of-type(2)::before {
  background: linear-gradient(180deg, var(--green), var(--yellow));
}
h2:nth-of-type(3)::before {
  background: linear-gradient(180deg, var(--berry), var(--coral));
}

h3 {
  font-size: 1.15rem;
  margin: 1.5rem 0 0.5rem;
  font-weight: 600;
}
p {
  margin: 0.75rem 0;
}

ul {
  padding-left: 0;
  list-style: none;
}
ul li {
  position: relative;
  padding: 0.4rem 0.5rem 0.4rem 1.6rem;
  margin: 0.2rem 0;
}
ul li::before {
  content: '';
  position: absolute;
  left: 0.4rem;
  top: 0.95rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 3px var(--coral-soft);
}
h2:nth-of-type(2) ~ ul li::before {
  background: var(--green);
  box-shadow: 0 0 0 3px var(--green-soft);
}
h2:nth-of-type(3) ~ ul li::before {
  background: var(--yellow);
  box-shadow: 0 0 0 3px var(--yellow-soft);
}

strong {
  color: var(--berry);
  font-weight: 700;
}

code {
  background: var(--yellow-soft);
  color: var(--berry);
  padding: 0.1rem 0.4rem;
  border-radius: 5px;
  font-size: 0.9em;
  font-weight: 600;
}

.version {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: white;
  background: linear-gradient(95deg, var(--coral), var(--yellow));
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
  box-shadow: 0 4px 14px -6px rgba(255, 107, 91, 0.55);
}
.version::before {
  content: '✦';
  font-size: 0.9rem;
}

.table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0;
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
thead th {
  text-align: left;
  background: linear-gradient(95deg, var(--coral-soft), var(--yellow-soft));
  color: var(--text);
  padding: 0.95rem 1rem;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-bottom: 2px solid var(--border);
  white-space: nowrap;
}
tbody td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  transition: background 0.15s ease;
}
tbody tr {
  transition: transform 0.1s ease;
}
tbody tr:hover td {
  background: var(--bg-tint);
}
tbody tr:nth-child(even) td {
  background: rgba(255, 244, 226, 0.4);
}
tbody tr:nth-child(even):hover td {
  background: var(--bg-tint);
}
tbody tr:last-child td {
  border-bottom: none;
  background: linear-gradient(
    95deg,
    var(--green-soft),
    var(--yellow-soft)
  ) !important;
  font-weight: 600;
}
tbody tr:last-child td strong {
  color: var(--berry);
}

hr {
  border: none;
  border-top: 1px dashed var(--border);
  margin: 2rem 0;
}

footer {
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px dashed var(--border);
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
}
footer::before {
  content: '🥣  ';
}

@media (max-width: 600px) {
  body {
    font-size: 16px;
  }
  main {
    margin: 0;
    border-radius: 0;
    padding: 2rem 1rem 3rem;
  }
  h2 {
    font-size: 1.3rem;
    margin-top: 2.25rem;
  }
  table {
    font-size: 0.85rem;
  }
  thead th {
    padding: 0.65rem 0.7rem;
    font-size: 0.75rem;
  }
  tbody td {
    padding: 0.6rem 0.7rem;
  }
}

@media print {
  body {
    background: white;
    color: black;
  }
  body,
  body::before {
    background-image: none !important;
  }
  main {
    padding: 0;
    max-width: none;
  }
  h1 {
    -webkit-text-fill-color: #ff6b5b;
  }
  .table-wrap {
    border: 1px solid #999;
    box-shadow: none;
  }
  h2 {
    page-break-after: avoid;
  }
  table {
    page-break-inside: avoid;
  }
}
