* { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 18px; }
body { font-family: Georgia, 'Times New Roman', serif; background-color: #0b0b0f; background-image: linear-gradient(180deg, rgba(11,11,15,0.84), rgba(11,11,15,0.94)), var(--page-art, url('gallery/img/work-049.jpg')); background-size: cover; background-position: center top; background-repeat: no-repeat; color: #f3e9d2; line-height: 1.5; -webkit-tap-highlight-color: transparent; }
@media (min-width: 641px) { body { background-attachment: fixed; } }
.pg-home { --page-art: url('bg-enochxii.jpg'); }
.pg-art { --page-art: url('gallery/img/work-012.jpg'); }
.pg-play { --page-art: url('gallery/img/work-059.jpg'); }
.pg-shop { --page-art: url('book-cover.jpg'); }
.pg-muses { --page-art: url('devil-face.jpg'); }
a { color: inherit; }
.topbar { display: flex; align-items: center; gap: 12px; padding: 10px 16px; background: rgba(13,13,16,0.88); backdrop-filter: blur(6px); border-bottom: 2px solid #c9a227; position: sticky; top: 0; z-index: 5; }
.topbar .brand { font-weight: bold; font-size: 1rem; text-decoration: none; min-height: 56px; display: flex; align-items: center; padding: 0 10px; }
.topbar .title { flex: 1; text-align: center; font-size: 1rem; color: #c9a227; }
.topbar .agents { font-size: 0.95rem; border: 1px solid #c9a227; border-radius: 8px; padding: 10px 12px; text-decoration: none; min-height: 56px; display: flex; align-items: center; white-space: nowrap; }
.hero { text-align: center; padding: 34px 18px 10px; max-width: 760px; margin: 0 auto; }
.hero h1 { font-size: 1.9rem; line-height: 1.25; margin-bottom: 12px; text-shadow: 0 1px 10px rgba(0,0,0,0.65); }
.hero p { font-size: 1.05rem; color: #d8c9a3; }
.doors { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 900px; margin: 26px auto; padding: 0 16px 30px; }
.door { display: block; text-decoration: none; transition: transform 160ms cubic-bezier(0.23, 1, 0.32, 1); background: #16161c; border: 1px solid rgba(201,162,39,0.55); border-radius: 16px; padding: 22px 20px; min-height: 190px; position: relative; overflow: hidden; z-index: 0; }
.door::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,14,18,0.78), rgba(14,14,18,0.90)), var(--door-art) center / cover; transition: transform 220ms cubic-bezier(0.23, 1, 0.32, 1); z-index: -1; }
.door:focus::before { transform: scale(1.06); }
.door:hover, .door:focus { border-color: #c9a227; }
.door .art { height: 74px; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.door h2 { font-size: 1.45rem; margin-bottom: 6px; }
.door p { font-size: 1rem; color: #d8c9a3; }
.badges { margin-top: 12px; display: flex; gap: 8px; flex-wrap: wrap; }
.badge { font-size: 0.95rem; font-weight: bold; padding: 5px 12px; border-radius: 999px; min-height: 30px; display: inline-flex; align-items: center; }
.badge.free { background: #2e5d33; color: #dff5df; }
.badge.paid { background: #6d5510; color: #ffe9a8; }
.links { max-width: 760px; margin: 20px auto 40px; padding: 0 16px; display: flex; flex-direction: column; gap: 14px; }
.card { display: flex; align-items: center; gap: 14px; text-decoration: none; background: linear-gradient(180deg, rgba(14,14,18,0.84), rgba(14,14,18,0.93)), var(--page-art, url('gallery/img/work-049.jpg')) center / cover; border: 1px solid rgba(201,162,39,0.45); border-radius: 14px; padding: 16px 18px; min-height: 72px; }
.card:hover, .card:focus { border-color: #c9a227; }
.card .txt { flex: 1; }
.card h3 { font-size: 1.15rem; }
.card p { font-size: 0.95rem; color: #d8c9a3; }
.card .go { font-size: 1.3rem; color: #c9a227; }
.note { max-width: 760px; margin: 0 auto 34px; padding: 0 16px; color: #a68f5f; font-size: 0.9rem; text-align: center; }
.feature { max-width: 900px; margin: 4px auto 0; padding: 0 16px; }
.feature-in { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; background: #16161c; border: 3px solid #c9a227; border-radius: 16px; padding: 20px 22px; position: relative; overflow: hidden; z-index: 0; }
.feature-in::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,14,18,0.72), rgba(14,14,18,0.88)), var(--feat-art) center 22% / cover; transition: transform 220ms cubic-bezier(0.23, 1, 0.32, 1); z-index: -1; }
@media (min-width: 641px) { .feature-in::before { background-position: center 6%; } }
.feature-txt { flex: 1; min-width: 240px; }
.feature-in h2 { font-size: 1.5rem; margin: 8px 0 4px; }
.feature-in p { color: #d8c9a3; font-size: 1rem; }
.claimbtn { display: inline-flex; transition: transform 160ms cubic-bezier(0.23, 1, 0.32, 1), background-color 160ms ease; align-items: center; min-height: 60px; padding: 14px 24px; background: #c9a227; color: #14100c; font-weight: bold; font-size: 1.1rem; border-radius: 12px; text-decoration: none; }
.claimbtn:hover, .claimbtn:focus { background: #e8c268; }
@media (max-width: 640px) {
  .doors { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.6rem; }
  .topbar .title { display: none; }
}

/* Emil pass 2026-11-27: hover zoom only where hover is real (not touch) */
@media (hover: hover) and (pointer: fine) {
  .door:hover::before { transform: scale(1.06); }
  .feature-in:hover::before { transform: scale(1.05); }
}
/* Emil pass 2026-11-27: press feedback */
.door:active, .claimbtn:active { transform: scale(0.97); }
/* Emil pass 2026-11-27: reduced motion = gentler, not nothing */
@media (prefers-reduced-motion: reduce) {
  .door::before, .feature-in::before { transition: none; }
  .door:focus::before, .door:hover::before, .feature-in:hover::before { transform: none; }
  .door, .claimbtn { transition: none; }
  .door:active, .claimbtn:active { transform: none; }
}
