/* ジャックポットメーター共通CSS */

/* シマーエフェクト */
@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}
.animate-shimmer { 
    animation: shimmer 2s infinite; 
}

/* レインボーエフェクト（100%時専用） */
.bg-rainbow {
    background: linear-gradient(124deg, #ff0000, #ff8000, #ffff00, #80ff00, #00ff00, #00ff80, #00ffff, #0080ff, #0000ff, #8000ff, #ff00ff, #ff0080);
    background-size: 1800% 1800%;
}

.animate-rainbow {
    animation: rainbow 5s linear infinite;
}

@keyframes rainbow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ラグジュアリーゲージ */
.top-luxury-gauge {
    background: linear-gradient(135deg, #374151, #1f2937);
    border: 1px solid #4a5568;
    position: relative;
    overflow: hidden;
}

.top-luxury-gauge-progress {
    background: linear-gradient(90deg, #fbbf24, #f59e0b, #d97706);
    position: relative;
    box-shadow: 
        inset 0 1px 0 rgba(255,255,255,0.3),
        inset 0 -1px 0 rgba(0,0,0,0.3),
        0 0 10px rgba(245, 158, 11, 0.5);
}

/* 100%時のレインボー効果 */
.top-luxury-gauge-progress.rainbow-mode {
    background: linear-gradient(124deg, #ff0000, #ff8000, #ffff00, #80ff00, #00ff00, #00ff80, #00ffff, #0080ff, #0000ff, #8000ff, #ff00ff, #ff0080);
    background-size: 1800% 1800%;
    animation: rainbow 5s linear infinite;
    box-shadow: 
        inset 0 1px 0 rgba(255,255,255,0.3),
        inset 0 -1px 0 rgba(0,0,0,0.3),
        0 0 15px rgba(255, 255, 255, 0.8),
        0 0 25px rgba(255, 193, 7, 0.6);
}

/* バブルエフェクト */
.top-bubble-effect::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.3) 2px, transparent 2px),
        radial-gradient(circle at 80% 30%, rgba(255,255,255,0.2) 1px, transparent 1px),
        radial-gradient(circle at 60% 70%, rgba(255,255,255,0.25) 1.5px, transparent 1.5px);
    animation: bubble-move 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes bubble-move {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-2px); }
}

/* 波エフェクト */
.top-wave-effect {
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255,255,255,0.1) 25%, 
        rgba(255,255,255,0.2) 50%, 
        rgba(255,255,255,0.1) 75%, 
        transparent 100%);
    animation: wave-flow 2s ease-in-out infinite;
}

.top-wave-effect-reverse {
    background: linear-gradient(-90deg, 
        transparent 0%, 
        rgba(255,255,255,0.1) 25%, 
        rgba(255,255,255,0.2) 50%, 
        rgba(255,255,255,0.1) 75%, 
        transparent 100%);
    animation: wave-flow-reverse 2.5s ease-in-out infinite;
}

@keyframes wave-flow {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

@keyframes wave-flow-reverse {
    0%, 100% { transform: translateX(100%); }
    50% { transform: translateX(-100%); }
}

/* MAXテキスト表示 */
.top-max-text-display {
    font-weight: bold;
    color: #fbbf24;
    text-shadow: 
        0 0 5px rgba(251, 191, 36, 0.8),
        0 0 10px rgba(251, 191, 36, 0.6),
        0 0 15px rgba(251, 191, 36, 0.4);
    animation: max-glow 1s ease-in-out infinite alternate;
}

.top-max-text-display span {
    display: inline-block;
    animation: max-bounce 0.6s ease-in-out infinite alternate;
}

.top-max-text-display span:nth-child(1) { animation-delay: 0s; }
.top-max-text-display span:nth-child(2) { animation-delay: 0.1s; }
.top-max-text-display span:nth-child(3) { animation-delay: 0.2s; }
.top-max-text-display span:nth-child(4) { animation-delay: 0.3s; }
.top-max-text-display span:nth-child(5) { animation-delay: 0.4s; }

@keyframes max-glow {
    from { 
        text-shadow: 
            0 0 5px rgba(251, 191, 36, 0.8),
            0 0 10px rgba(251, 191, 36, 0.6),
            0 0 15px rgba(251, 191, 36, 0.4);
    }
    to { 
        text-shadow: 
            0 0 8px rgba(251, 191, 36, 1),
            0 0 15px rgba(251, 191, 36, 0.8),
            0 0 25px rgba(251, 191, 36, 0.6);
    }
}

@keyframes max-bounce {
    from { transform: translateY(0px); }
    to { transform: translateY(-3px); }
}

/* テキストシャドウユーティリティ */
.text-shadow-sm {
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

.text-shadow-lg {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

/* バブルアニメーション（JS生成用） */
@keyframes bubble-float {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }
    50% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100%);
        opacity: 0;
    }
} 