:root {
  --bg: #060816;
  --bg-2: #0a1022;
  --card: rgba(8, 12, 28, 0.84);
  --panel: rgba(14, 20, 40, 0.94);
  --panel-border: rgba(255, 255, 255, 0.08);
  --text: #f4f7ff;
  --muted: #9fb0d1;
  --blue: #66a9ff;
  --green: #76e0ad;
  --gold: #ffc861;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Inter", system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 18%, rgba(69, 128, 255, 0.25), transparent 28%),
    radial-gradient(circle at 82% 14%, rgba(0, 217, 255, 0.16), transparent 22%),
    radial-gradient(circle at 50% 95%, rgba(144, 86, 255, 0.18), transparent 30%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}

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

.wallpaper-card {
  width: min(100%, 430px);
  min-height: min(100vh - 36px, 932px);
  border-radius: 32px;
  padding: 22px;
  background: linear-gradient(180deg, rgba(14, 18, 35, 0.9), rgba(7, 10, 24, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.hero,
.panel {
  background: var(--card);
  border: 1px solid var(--panel-border);
  border-radius: 24px;
}

.hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 20px;
  margin-bottom: 14px;
}

.eyebrow,
.day-label,
.rules-label {
  margin: 0 0 8px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow,
.day-1 .day-label {
  color: var(--blue);
}

.day-2 .day-label {
  color: var(--green);
}

.rules-label {
  color: var(--gold);
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  font-size: clamp(2rem, 7vw, 2.6rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.subtitle {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.45;
  max-width: 25ch;
}

.hero-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  background: linear-gradient(180deg, rgba(102, 169, 255, 0.18), rgba(102, 169, 255, 0.06));
  border: 1px solid rgba(102, 169, 255, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.panel {
  padding: 18px;
  margin-bottom: 14px;
}

.panel-head h2 {
  font-size: 1.12rem;
  margin-bottom: 12px;
}

.checklist,
.rules-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.checklist li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
  padding: 9px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.checklist li:first-child {
  border-top: 0;
  padding-top: 4px;
}

.box {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  margin-top: 2px;
  border: 1.5px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.02);
}

.name {
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.35;
}

.meta {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.35;
  text-align: right;
  padding-left: 10px;
  white-space: nowrap;
}

.rules-list li {
  position: relative;
  padding-left: 18px;
  color: #f8f0d8;
  font-weight: 500;
  line-height: 1.5;
}

.rules-list li + li {
  margin-top: 8px;
}

.rules-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 16px rgba(255, 200, 97, 0.55);
}

@media (max-width: 420px) {
  .wallpaper-shell {
    padding: 10px;
  }

  .wallpaper-card {
    min-height: auto;
    border-radius: 24px;
    padding: 16px;
  }

  .hero,
  .panel {
    border-radius: 20px;
  }

  .checklist li {
    grid-template-columns: 18px 1fr;
  }

  .meta {
    grid-column: 2;
    text-align: left;
    padding-left: 0;
    white-space: normal;
  }
}

@media print {
  body {
    background: #070b17;
  }

  .wallpaper-shell {
    padding: 0;
  }

  .wallpaper-card {
    width: 100%;
    min-height: 100vh;
    border-radius: 0;
    border: 0;
  }
}
