@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,400;0,500;0,600;1,400&family=Playfair+Display:ital,wght@0,400;0,600;1,400;1,600&display=swap');

:root {
  --font-body: "DM Sans", "Segoe UI", system-ui, sans-serif;
  --font-display: "Playfair Display", Georgia, serif;
  --paper: #ffffff;
  --ink: #1A1A1A;
  --divider: #E8E4DC;
  --accent: #FF5436;

  --c-wiserwork: #7C5CFF;
  --c-joyskin: #D98A8A;
  --c-peinirli: #FF7A33;
  --c-100mentors: #1B2A4A;
  --c-island: #C9A227;
  --c-illustration: #FF5436;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  height: 100%;
  overflow: hidden;
}

.topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 20px 32px;
}

.topbar__name {
  grid-column: 2;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: 0.02em;
  justify-self: center;
}

.topbar__hint {
  grid-column: 3;
  font-size: 0.85rem;
  color: #8a8578;
  justify-self: end;
}

.hero-note {
  position: absolute;
  top: 110px;
  left: 50%;
  transform: translateX(-50%);
  height: 200px;
  width: auto;
  z-index: 10;
  pointer-events: none;
}

.scene-viewport {
  position: fixed;
  inset: 0;
  overflow: hidden;
  background: var(--paper);
}

.scene {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  transition: transform 0.2s ease-out;
}

.scene__frame {
  position: relative;
  aspect-ratio: 3000 / 1850;
  max-width: 100%;
  max-height: 100%;
  width: 100%;
}

.scene__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  pointer-events: none;
  -webkit-user-drag: none;
}

.hotspot {
  position: absolute;
  left: var(--l);
  top: var(--t);
  width: var(--w);
  height: var(--h);
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  border-radius: 12px;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.hotspot:hover,
.hotspot:focus-visible {
  transform: translateY(-4px) scale(1.02);
  background: rgba(255, 84, 54, 0.08);
  box-shadow: 0 8px 24px rgba(22, 20, 15, 0.10);
  outline: none;
}

.hotspot__label {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  white-space: nowrap;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.hotspot:hover .hotspot__label,
.hotspot:focus-visible .hotspot__label {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.hotspot--easter { cursor: default; }
.hotspot--easter:hover { background: transparent; box-shadow: none; transform: none; }
.hotspot--easter:hover .hotspot__label { opacity: 1; }

.hotspot.is-active {
  transform: translateY(-2px) scale(0.97);
  background: rgba(255, 84, 54, 0.16);
}

@media (max-width: 640px) {
  .topbar { padding: 16px 20px; }
  .hero-note { top: 76px; height: 110px; }
  .topbar__hint { display: none; }
}
