@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@600;700&family=Inter:wght@400;500;600;700&display=swap');

body {
  font-family: 'Inter', sans-serif;
}

.handwritten {
  font-family: 'Caveat', cursive;
}

.cork-frame {
  background-color: #ba8852;
  box-shadow: 
    0 25px 60px -15px rgba(0, 0, 0, 0.75),
    inset 0 0 0 10px #4a2810,
    inset 0 0 0 14px #2b1506,
    inset 0 0 35px rgba(0, 0, 0, 0.7);
  border: 14px solid #754420;
  border-image: linear-gradient(135deg, #874f28, #45220c, #91572d, #4e2910) 14;
}

.dark .cork-frame {
  box-shadow: 
    0 30px 60px -15px rgba(0, 0, 0, 0.95),
    inset 0 0 0 10px #2a1608,
    inset 0 0 0 14px #150a03,
    inset 0 0 45px rgba(0, 0, 0, 0.9);
  border-color: #4a270f;
}

.brass-corner {
  position: absolute;
  width: 26px;
  height: 26px;
  background: linear-gradient(135deg, #f59e0b 0%, #b45309 100%);
  clip-path: polygon(0 0, 100% 0, 0 100%);
  opacity: 0.9;
  z-index: 25;
}

.paper-badge {
  position: relative;
  transition: transform 0.2s ease;
}
.paper-badge:hover {
  transform: scale(1.03) rotate(0deg) !important;
  z-index: 28 !important;
}

.board-card {
  position: relative;
  width: 100%;
  max-width: 310px;
  min-height: 230px;
  cursor: pointer;
  transform-origin: center top;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
}

.board-card:hover {
  transform: scale(1.04) rotate(0deg) !important;
  z-index: 25 !important;
  box-shadow: 0 18px 30px -6px rgba(0, 0, 0, 0.35) !important;
}

.pushpin {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.5), inset 0 2px 3px rgba(255, 255, 255, 0.7);
  z-index: 20;
}
.pushpin::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 4px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
}
.pin-red { background: radial-gradient(circle at 35% 35%, #ef4444, #991b1b); }
.pin-blue { background: radial-gradient(circle at 35% 35%, #3b82f6, #1d4ed8); }
.pin-gold { background: radial-gradient(circle at 35% 35%, #eab308, #854d0e); }
.pin-green { background: radial-gradient(circle at 35% 35%, #22c55e, #15803d); }

.washi-tape {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%) rotate(-1deg);
  width: 80px;
  height: 22px;
  background: rgba(255, 245, 215, 0.8);
  backdrop-filter: blur(1px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  border-left: 2px dashed rgba(200, 180, 140, 0.5);
  border-right: 2px dashed rgba(200, 180, 140, 0.5);
  z-index: 10;
}
.washi-tape-cyan {
  background: rgba(207, 250, 254, 0.8);
}

.paper-tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11px;
  line-height: 1.2;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.placed-sticker {
  position: absolute;
  transform: translate(-50%, -50%);
  user-select: none;
  cursor: pointer;
  pointer-events: auto;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.4));
  transition: transform 0.15s ease, opacity 0.2s ease;
  z-index: 40;
}
.placed-sticker:hover {
  transform: translate(-50%, -50%) scale(1.35) !important;
}
.placed-sticker.removing {
  transform: translate(-50%, -50%) scale(0) !important;
  opacity: 0;
}

@keyframes stickerPop {
  0% { transform: translate(-50%, -50%) scale(0.2) rotate(-20deg); opacity: 0; }
  60% { transform: translate(-50%, -50%) scale(1.25) rotate(12deg); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(1); }
}
.sticker-pop {
  animation: stickerPop 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}