:root { --night: #0d0607; --night2: #2a0a10; --red: #a3192e; --red2: #5e0c18; --green: #1d3a2a; --gold: #d8b25a; --snow: #fbf4e6; --ink: #fdf8ee; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; font: 16px/1.55 Nunito, system-ui, "Segoe UI", sans-serif; color: var(--ink);
  background: radial-gradient(1000px 600px at 50% -10%, #23407e 0, transparent 70%), linear-gradient(180deg, var(--night2), var(--night) 60%); }
#snow { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.top, main, .foot { position: relative; z-index: 1; }
.hidden { display: none !important; }
a { color: var(--gold); }

.top { display: flex; align-items: center; gap: 12px; padding: 14px clamp(16px, 4vw, 40px); }
.brand { font: 700 26px "Mountains of Christmas", cursive; color: var(--snow); text-decoration: none; }
.by { margin-left: auto; color: #c9d4f2; font-size: 14px; }

main { max-width: 1060px; margin: 0 auto; padding: 0 clamp(12px, 3vw, 24px) 120px; }
.intro { text-align: center; padding: 10px 0 24px; }
.intro h1 { margin: 0; font: 700 clamp(44px, 9vw, 86px)/1 "Mountains of Christmas", cursive; color: var(--snow);
  text-shadow: 0 0 24px rgba(245, 197, 66, .45), 0 4px 0 var(--red2); }
.sub { margin: 8px 0 12px; color: var(--gold); font-weight: 800; letter-spacing: .04em; }
.intro-text p { margin: 4px auto; max-width: 640px; color: #d7def5; }
.status { display: inline-block; margin-top: 14px; padding: 8px 18px; border-radius: 99px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .15); font-weight: 600; }

/* the board */
.board { position: relative; padding: 34px clamp(10px, 2.5vw, 26px) clamp(14px, 2.5vw, 26px); border-radius: 26px;
  background: linear-gradient(160deg, #1d7a46, var(--green) 40%, #0d4d29); border: 6px solid #6b3b17;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5), inset 0 0 0 3px rgba(245, 197, 66, .35); }
.garland { position: absolute; left: 12px; right: 12px; top: 8px; height: 18px;
  background: radial-gradient(circle at 10px 9px, var(--red) 5px, transparent 6px) 0 0 / 40px 18px, radial-gradient(circle at 30px 9px, var(--gold) 5px, transparent 6px) 0 0 / 40px 18px; }
.doors { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(8px, 1.6vw, 14px); }

.door { position: relative; aspect-ratio: 1; perspective: 700px; border: 0; padding: 0; background: none; cursor: pointer; font: inherit; color: inherit; }
.door .inside { position: absolute; inset: 0; border-radius: 14px; background: radial-gradient(circle at 50% 35%, #fff6dc, #f1d9a2);
  color: #3b2410; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 8px; gap: 4px; box-shadow: inset 0 0 0 3px rgba(0, 0, 0, .08); }
.door .inside b { font-size: clamp(11px, 1.6vw, 14px); line-height: 1.2; overflow-wrap: anywhere; }
.door .inside .play { width: clamp(34px, 5vw, 46px); height: clamp(34px, 5vw, 46px); border-radius: 50%; display: grid; place-items: center; background: var(--red); color: #fff; font-size: clamp(14px, 2vw, 18px); }
.door .inside small { font-size: 11px; opacity: .7; }
.door .front { position: absolute; inset: 0; border-radius: 14px; transform-origin: left center; transition: transform .9s cubic-bezier(.3, .9, .3, 1.05);
  display: grid; place-items: center; backface-visibility: hidden; box-shadow: 0 6px 14px rgba(0, 0, 0, .35), inset 0 0 0 2px rgba(255, 255, 255, .25); }
.door .front span { font: 700 clamp(26px, 5vw, 46px) "Mountains of Christmas", cursive; color: #fff; text-shadow: 0 2px 0 rgba(0, 0, 0, .35); }
.door .front i { position: absolute; bottom: 7px; right: 9px; font-style: normal; font-size: 13px; opacity: .85; }
.door .front::after { content: ""; position: absolute; right: 10px; top: 50%; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 6px var(--gold); }
.door.c0 .front { background: linear-gradient(145deg, #d42a3f, var(--red2)); }
.door.c1 .front { background: linear-gradient(145deg, #2b8d55, #0f5a2f); }
.door.c2 .front { background: linear-gradient(145deg, #2a4f9a, #182f63); }
.door.c3 .front { background: linear-gradient(145deg, #d9a52a, #9d6f0e); }
.door.open .front { transform: rotateY(-108deg); }
.door.today:not(.open) .front { animation: glow 1.6s ease-in-out infinite; }
.door.locked { cursor: not-allowed; }
.door.locked .front { filter: saturate(.75) brightness(.85); }
.door.shake .front { animation: shake .45s; }
.door.playing .inside { background: radial-gradient(circle at 50% 35%, #fffbe8, var(--gold)); }
@keyframes glow { 50% { box-shadow: 0 0 0 4px var(--gold), 0 0 26px var(--gold); } }
@keyframes shake { 20%, 60% { transform: rotate(-4deg); } 40%, 80% { transform: rotate(4deg); } }

.door.xmas { grid-column: span 2; aspect-ratio: auto; min-height: 100%; }
.door.xmas .front { background: linear-gradient(145deg, #e4c15a, #b3801a); }
.door.xmas .front span { font-size: clamp(30px, 6vw, 54px); }
.door.xmas .inside { background: radial-gradient(circle at 50% 30%, #fff, #ffe7a3); }
.dl { display: inline-flex; gap: 6px; align-items: center; padding: 9px 16px; border-radius: 99px; background: var(--red); color: #fff; text-decoration: none; font-weight: 800; font-size: 14px; }

/* player */
.player { position: fixed; z-index: 5; left: 50%; bottom: 14px; transform: translateX(-50%); width: min(720px, calc(100% - 20px));
  display: flex; align-items: center; gap: 12px; padding: 10px 46px 10px 12px; border-radius: 18px; background: rgba(12, 20, 46, .94); border: 1px solid rgba(245, 197, 66, .4); box-shadow: 0 16px 50px rgba(0, 0, 0, .6); }
.pl-info { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 0 1 240px; }
.pl-info small { display: block; color: #9fb0dc; font-size: 12px; }
.pl-info b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-day { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--red); font: 700 22px "Mountains of Christmas", cursive; }
.player audio { flex: 1; min-width: 0; height: 40px; }
.pl-x { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); border: 0; background: none; color: #fff; font-size: 16px; cursor: pointer; }

.foot { text-align: center; padding: 10px 16px 120px; color: #b8c4e6; }
.foot p { margin: 4px 0; }
.foot .small { font-size: 13px; opacity: .8; }

@media (max-width: 720px) {
  .doors { grid-template-columns: repeat(4, 1fr); }
  .board { border-width: 4px; }
  .player { flex-wrap: wrap; padding-right: 40px; }
  .pl-info { flex: 1 1 100%; }
  .player audio { flex: 1 1 100%; }
}
@media (max-width: 420px) { .doors { grid-template-columns: repeat(3, 1fr); } .door.xmas { grid-column: span 3; aspect-ratio: 3 / 1.2; } }
@media (prefers-reduced-motion: reduce) { .door .front { transition: none; } .door.today:not(.open) .front { animation: none; box-shadow: 0 0 0 4px var(--gold); } }

/* ---- Ashes to Angels dress (2026-11-15): crimson, obsidian and gold like the album art */
body { background: radial-gradient(1000px 640px at 50% -12%, #4a0f18 0, transparent 70%), linear-gradient(180deg, #1a0a0d, var(--night) 60%); }
.brand { font: 900 22px "Playfair Display", Georgia, serif; color: var(--gold); letter-spacing: .02em; }
.by { color: #cdb98d; }
.intro .cover { display: block; width: min(300px, 70vw); height: auto; margin: 0 auto 18px; border-radius: 6px; box-shadow: 0 24px 60px rgba(0, 0, 0, .65), 0 0 0 1px rgba(216, 178, 90, .45); }
.presents { margin: 0 0 4px; color: var(--gold); letter-spacing: .22em; text-transform: uppercase; font-weight: 800; font-size: 13px; }
.intro h1 { font: 900 clamp(40px, 8vw, 78px)/1.02 "Playfair Display", Georgia, serif; color: #f1d58b;
  background: linear-gradient(180deg, #fff1c4, #d8b25a 55%, #9c7425); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; text-shadow: none; }
.sub { color: #e7c77a; letter-spacing: .08em; text-transform: uppercase; font-size: 14px; }
.board { background: linear-gradient(160deg, #1b0d10, #0c0607); border: 3px solid #8a6a2a; box-shadow: 0 30px 80px rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(216, 178, 90, .5); }
.garland { background: radial-gradient(circle at 10px 9px, var(--gold) 4px, transparent 5px) 0 0 / 40px 18px, radial-gradient(circle at 30px 9px, #c0283c 4px, transparent 5px) 0 0 / 40px 18px; }
.door .front span { font-family: "Playfair Display", Georgia, serif; color: #f6dc95; }
.door.c0 .front { background: linear-gradient(145deg, #a3192e, #4f0a14); }
.door.c1 .front { background: linear-gradient(145deg, #2a2224, #0b0708); }
.door.c2 .front { background: linear-gradient(145deg, #6d1222, #2c0710); }
.door.c3 .front { background: linear-gradient(145deg, #c9a24c, #7a5a17); }
.door.c3 .front span { color: #2a1a05; }
.door .inside { background: radial-gradient(circle at 50% 35%, #fff4dc, #e6cf9c); }
.door .inside.pic { background-size: cover; background-position: center 22%; color: #fff; justify-content: flex-end; padding-bottom: 6px; }
.door .inside.pic::before { content: ""; position: absolute; inset: 0; border-radius: 14px; background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, .78)); }
.door .inside.pic > * { position: relative; }
.door .inside.pic b { color: #fff; text-shadow: 0 1px 3px #000; font-size: clamp(10px, 1.3vw, 13px); }
.door .inside.pic small { color: #f1d58b; opacity: 1; }
.door .inside.pic .play { position: absolute; left: 50%; top: 40%; transform: translate(-50%, -50%); box-shadow: 0 4px 16px rgba(0, 0, 0, .5); }
.door .inside .zoom { position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; background: rgba(0, 0, 0, .55); color: #fff; cursor: zoom-in; }
.door.xmas .front { background: linear-gradient(145deg, #e0bd62, #8f6a1c); }
.door.xmas .inside.pic { background-position: center 30%; }
.dl { background: linear-gradient(135deg, #d8b25a, #9c7425); color: #1b1004; }
.pl-day { background: var(--red); }
.player { border-color: rgba(216, 178, 90, .5); background: rgba(18, 8, 10, .95); }
.viewer { position: fixed; inset: 0; z-index: 20; background: rgba(8, 3, 4, .92); display: flex; align-items: center; justify-content: center; padding: 16px; }
.viewer figure { margin: 0; text-align: center; max-height: 100%; }
.viewer img { max-width: 100%; max-height: calc(100vh - 80px); border-radius: 6px; box-shadow: 0 20px 60px #000; }
.viewer figcaption { color: #f1d58b; margin-top: 8px; font-weight: 700; }
.viewer .v-x { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .15); color: #fff; font-size: 18px; cursor: pointer; }
.foot .rights { max-width: 720px; margin: 10px auto; font-size: 12px; color: #a99a86; line-height: 1.5; }
@media (max-width: 520px) { .brand { font-size: 17px; white-space: nowrap; } .by { font-size: 12px; } }

.album-name { margin: -2px 0 8px; color: #e7c77a; font: italic 700 clamp(18px, 3.4vw, 26px) "Playfair Display", Georgia, serif; letter-spacing: .03em; }
.album-name b { color: #fff1c4; }

/* Support section (2026-11-17): PAG UK + Buy Me a Coffee */
.support { position: relative; z-index: 1; max-width: 720px; margin: 34px auto 6px; padding: 26px 20px 20px; text-align: center;
  border-radius: 22px; background: linear-gradient(180deg, rgba(94, 12, 24, .55), rgba(13, 6, 7, .75));
  border: 1px solid rgba(216, 178, 90, .45); box-shadow: 0 14px 40px rgba(0, 0, 0, .45); }
.support h2 { margin: 0 0 6px; font: 700 clamp(26px, 5vw, 34px)/1.15 "Playfair Display", Georgia, serif; color: var(--gold); }
.support p { margin: 6px auto; max-width: 560px; color: var(--ink); }
.support .small { font-size: 14px; opacity: .8; }
.support-links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 16px 0 8px; }
.sup-btn { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 210px; padding: 12px 20px; border-radius: 14px;
  text-decoration: none; color: #1a0b07; background: linear-gradient(180deg, #f0d48a, var(--gold)); border: 1px solid #f6e3ad;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .35); transition: transform .15s, box-shadow .15s; }
.sup-btn b { font: 800 17px "Nunito", system-ui, sans-serif; }
.sup-btn small { font-size: 12.5px; opacity: .75; }
.sup-btn.coffee { background: linear-gradient(180deg, #ffe08a, #ffc93c); }
.sup-btn:hover, .sup-btn:focus-visible { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 0, 0, .45); }
.sup-btn:focus-visible { outline: 3px solid var(--snow); outline-offset: 3px; }
@media (max-width: 520px) { .sup-btn { min-width: 0; width: 100%; } }
