* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  background: #000;
  touch-action: none;
  overscroll-behavior: none;
  user-select: none;
  -webkit-user-select: none;
  font-family: -apple-system, BlinkMacSystemFont, Arial, sans-serif;
}

#app {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.fur {
  position: absolute;
  inset: -3%;
  background-image: url('assets/fur1.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  will-change: transform, opacity, background-image;
  transition: transform 0.08s linear, opacity 0.18s ease;
}

.base {
  transform: scale(1.02);
}

.l1 {
  opacity: 0.15;
  mix-blend-mode: soft-light;
}

.l2 {
  opacity: 0.09;
  mix-blend-mode: overlay;
}

#logo {
  position: absolute;
  top: 16px;
  left: 16px;
  color: white;
  letter-spacing: 2px;
  font-size: 18px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
  z-index: 10;
}

#hint {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.8);
  font-size: 11px;
  letter-spacing: 2px;
  z-index: 10;
  transition: opacity 0.2s;
  pointer-events: auto;
}

#app.active #hint {
  opacity: 0.1;
}

#paywall {
  position: absolute;
  inset: 0;
  z-index: 30;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  opacity: 0;
  pointer-events: none;
  background: rgba(0,0,0,0.26);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: opacity 0.22s ease;
}

#paywall.visible {
  opacity: 1;
  pointer-events: auto;
}

#paywallTitle {
  color: rgba(255,255,255,0.96);
  font-size: 20px;
  letter-spacing: 0.18em;
  text-shadow: 0 1px 6px rgba(0,0,0,0.6);
}

#paywallOptions {
  display: flex;
  gap: 0;
  align-items: center;
  justify-content: center;
}

.payOption {
  touch-action: manipulation;
  cursor: pointer;
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,0.9);
  font-size: 14px;
  letter-spacing: 0.14em;
  padding: 8px 4px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.55);
}

.payOption:active {
  opacity: 0.7;
}

#paywallNote {
  color: rgba(255,255,255,0.46);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-align: center;
  padding: 0 18px;
}


#app.paywalling .l1,
#app.paywalling .l2 {
  transition: transform 0.18s linear, opacity 0.28s ease;
}

#app.paywalling .l1 {
  opacity: 0.10;
}

#app.paywalling .l2 {
  opacity: 0.05;
}


#shareHint {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 40;
  color: rgba(255,255,255,0.88);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-shadow: 0 1px 5px rgba(0,0,0,0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

#shareHint.visible {
  opacity: 1;
  pointer-events: auto;
}
