.art-newyear-character-container {
    position: fixed;
    z-index: 9998;
    transition: opacity 0.5s ease-in, transform 0.3s ease;
    pointer-events: auto;
}

.art-character-image {
    max-width: 150px;
    max-height: 250px;
    width: auto;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
    user-select: none;
    -webkit-user-drag: none;
}

.art-character-bottom-left {
    bottom: 20px;
    left: 20px;
}

.art-character-bottom-right {
    bottom: 20px;
    right: 20px;
}

.art-character-top-left {
    top: 20px;
    left: 20px;
}

.art-character-top-right {
    top: 20px;
    right: 20px;
}

.art-newyear-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow-y: auto;
}

.art-newyear-popup-content {
    position: relative;
    max-width: 600px;
    width: 90%;
    margin: 50px auto;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    background-position: center;
    background-image: url("./image/bg.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    padding: 120px 110px;
}

.art-newyear-popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 32px;
    line-height: 1;
    color: #000;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.art-newyear-popup-close:hover {
    color: #333;
}

.art-newyear-popup-title {
    margin: 0 0 20px 0;
    font-size: 28px;
    font-weight: bold;
    color: #d32f2f;
    text-align: center;
}

.art-newyear-greeting-text {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 20px;
    min-height: 250px;
}

.art-newyear-promo-code {
    margin-top: 20px;
    padding: 15px;
    background: #f5f5f5;
    border-radius: 5px;
    text-align: center;
    border: 2px dashed #d32f2f;
}

.art-newyear-promo-code strong {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    color: #666;
}

.art-promo-code-value {
    display: inline-block;
    font-size: 24px;
    font-weight: bold;
    color: #d32f2f;
    letter-spacing: 2px;
    color: #d32f2f;
}

@media (max-width: 767px) {
    .art-character-image {
        max-width: 150px;
        max-height: 225px;
    }
    
    .art-newyear-popup-content {
        margin: 20px auto;
        padding: 100px 20px;
        width: 95%;
    }
    
    .art-newyear-popup-title {
        font-size: 24px;
    }
    
    .art-newyear-greeting-text {
        font-size: 14px;
    }
    
    .art-promo-code-value {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .art-character-image {
        max-width: 120px;
        max-height: 180px;
    }
    
    .art-newyear-popup-title {
        font-size: 20px;
    }
}

@keyframes characterIdle {
    0% {
        transform: scale(1) rotate(0deg);
    }
    25% {
        transform: scale(1.02) rotate(-1deg);
    }
    50% {
        transform: scale(1.03) rotate(0deg);
    }
    75% {
        transform: scale(1.02) rotate(1deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
    }
}

@keyframes characterPulse {
    0% {
        filter: drop-shadow(0 0 0 rgba(255, 0, 0, 0));
    }
    50% {
        filter: drop-shadow(0 0 12px rgba(255, 0, 0, 0.35));
    }
    100% {
        filter: drop-shadow(0 0 0 rgba(255, 0, 0, 0));
    }
}

.art-character-image {
    animation:
        characterIdle 6s ease-in-out infinite,
        characterPulse 4s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
    .art-newyear-character-container,
    .art-character-image,
    .art-newyear-popup-overlay,
    .art-newyear-popup-content {
        transition: none;
        animation: none;
    }
}

