/* DaisyUI 커스텀 스타일 */

/* 애니메이션 */
@keyframes bounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes pop {
    0% { transform: scale(0); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.result-text {
    animation: bounce 0.5s ease;
}

/* 메뉴 아이템 뱃지 */
.menu-item {
    animation: pop 0.3s ease;
}

/* 로또 공 스타일 */
.lotto-ball {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
    color: white;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    animation: pop 0.4s ease;
}

/* 작은 로또 공 (통계용) */
.lotto-ball.small {
    width: 32px;
    height: 32px;
    font-size: 0.85rem;
}

/* 고정된 번호 표시 */
.lotto-ball.fixed {
    box-shadow: 0 0 0 3px white, 0 0 0 5px #f59e0b;
}

.lotto-ball.yellow { background: linear-gradient(135deg, #ffd93d 0%, #ff9a3d 100%); }
.lotto-ball.blue { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
.lotto-ball.red { background: linear-gradient(135deg, #fa709a 0%, #fee140 100%); }
.lotto-ball.gray { background: linear-gradient(135deg, #868f96 0%, #596164 100%); }
.lotto-ball.green { background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); }

/* 번호 고정 그리드 버튼 */
.fixed-number-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    font-weight: bold;
    font-size: 0.75rem;
    color: white;
    transition: all 0.2s ease;
    opacity: 0.6;
}

.fixed-number-btn:hover {
    opacity: 0.9;
    transform: scale(1.1);
}

.fixed-number-btn.selected {
    opacity: 1;
    box-shadow: 0 0 0 2px white, 0 0 0 4px #f59e0b;
    transform: scale(1.1);
}

.fixed-number-btn.yellow { background: linear-gradient(135deg, #ffd93d 0%, #ff9a3d 100%); }
.fixed-number-btn.blue { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
.fixed-number-btn.red { background: linear-gradient(135deg, #fa709a 0%, #fee140 100%); }
.fixed-number-btn.gray { background: linear-gradient(135deg, #868f96 0%, #596164 100%); }
.fixed-number-btn.green { background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); }

/* 광고 영역 플레이스홀더 */
.ad-placeholder {
    min-height: 90px;
    border: 2px dashed;
    border-color: inherit;
    opacity: 0.5;
}

/* 반응형 */
@media (max-width: 640px) {
    .lotto-ball {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .lotto-ball.small {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }

    .fixed-number-btn {
        width: 28px;
        height: 28px;
        font-size: 0.65rem;
    }
}
