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

#tree-container {
    background-image: url('tree_bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.sticky-note {
    position: absolute;
    width: 55px;
    height: 70px;
    background-color: #fff9c4;
    box-shadow: 2px 5px 10px rgba(0,0,0,0.15);
    border-radius: 4px;
    transform-origin: top center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 4px;
    cursor: pointer;
    transition: transform 0.2s;
}

.sticky-note::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background-color: #ffb7b2;
    border-radius: 50%;
    box-shadow: inset -2px -2px 4px rgba(0,0,0,0.1), 1px 2px 3px rgba(0,0,0,0.2);
    z-index: 10;
}

.sticky-note:hover {
    transform: scale(1.3) rotate(0deg) !important;
    z-index: 100;
}

.note-photo {
    width: 100%;
    height: 40px;
    background-size: cover;
    background-position: center;
    border-radius: 2px;
}

.note-name {
    margin-top: 4px;
    color: #4b5563;
    font-size: 10px;
    font-weight: bold;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.neon-glow {
    animation: neonGlow 1.5s infinite alternate, popIn 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    z-index: 50;
}

@keyframes neonGlow {
    0% { box-shadow: 0 0 10px #ffeaa7, 0 0 20px #ffeaa7; }
    100% { box-shadow: 0 0 20px #ffeaa7, 0 0 40px #ffeaa7; }
}

@keyframes popIn {
    0% { transform: scale(3) translateY(100px) rotate(-20deg); opacity: 0; }
    100% { transform: scale(1) translateY(0) rotate(var(--rot)); opacity: 1; }
}
