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

:root {
  --bg: linear-gradient(180deg, #061018 0%, #040b12 48%, #02060c 100%);
  --panel: rgba(10, 16, 26, 0.85);
  --panel-2: rgba(10, 16, 26, 0.65);
  --border: rgba(255, 255, 255, 0.16);
  --text: #eaf2ff;
  --muted: #c4d2ea;
  --accent: #f86c6c;
  --accent-2: #ffd28a;
  --accent-3: #7cffc7;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  padding: 36px 18px;
  position: relative;
  overflow: hidden;
}
body::before{
  content:"";
  position: fixed;
  inset: 0;
  background: url("/advent/assets/Setting.png") center bottom / cover no-repeat;
  filter: brightness(0.9) contrast(1.05) saturate(1.04) blur(1px);
  z-index: 0;
}
body::after{
  content:"";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(1200px 740px at 70% 35%, rgba(0,0,0,0.32), rgba(0,0,0,0.78)),
    linear-gradient(180deg, rgba(0,0,0,0.30), rgba(0,0,0,0.70));
  z-index: 1;
}
a { color: var(--accent); }

.day-container {
  position: relative;
  z-index: 2;
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}
.day-card {
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 18px 44px rgba(0,0,0,0.45);
  backdrop-filter: blur(10px);
}
.day-card h1, .day-card h2 { margin: 0 0 10px; font-family: "Space Grotesk", "Inter", sans-serif; letter-spacing: -0.01em; }
.day-card p { margin: 6px 0 0; color: var(--muted); }
.day-card .meta { display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin: 6px 0 0; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  color: var(--accent);
  font-weight: 600;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 12px;
}
.list {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: grid;
  gap: 8px;
}
.list li {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.05);
  color: var(--text);
  line-height: 1.45;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 200px;
  gap: 18px;
  align-items: center;
}
.emote-card{
  width: 200px;
  height: 200px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
  display: grid;
  place-items: center;
  box-shadow: 0 14px 32px rgba(0,0,0,0.36);
}
.emote-card img{
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.small{ color: var(--muted); font-size: 14px; margin: 8px 0 0; }
code{
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 4px 6px;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  color: #d9f6ff;
}
.back-row{
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: -4px;
}
.back-link{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:8px 12px;
  border-radius:10px;
  border:1px solid var(--border);
  background: rgba(0,0,0,0.2);
  color: var(--text);
  text-decoration:none;
}
@media (max-width: 720px){
  body { padding: 24px 12px; }
  .hero { grid-template-columns: 1fr; }
  .emote-card { width: 150px; height: 150px; }
}
