
        /* ========== ボタンアニメーション ========== */
        .btn-animation {
            transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }
        
        .btn-animation:active {
            transform: scale(0.95);
        }
        
        .btn-pulse {
            animation: pulse 1.5s infinite;
        }
        
        @keyframes pulse {
            0% {
                box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.7);
            }
            70% {
                box-shadow: 0 0 0 10px rgba(255, 193, 7, 0);
            }
            100% {
                box-shadow: 0 0 0 0 rgba(255, 193, 7, 0);
            }
        }
        
        .btn-wobble {
            animation: wobble 1s ease-in-out infinite;
        }
        
        @keyframes wobble {
            0%, 100% {
                transform: translateX(0);
            }
            15% {
                transform: translateX(-5px) rotate(-2deg);
            }
            30% {
                transform: translateX(4px) rotate(2deg);
            }
            45% {
                transform: translateX(-3px) rotate(-1deg);
            }
            60% {
                transform: translateX(2px) rotate(1deg);
            }
            75% {
                transform: translateX(-1px) rotate(-0.5deg);
            }
        }
        
        /* 輝くエフェクト */
        .btn-shine {
            position: relative;
            overflow: hidden;
        }
        
        .btn-shine::after {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: linear-gradient(
                to right,
                rgba(255, 255, 255, 0) 0%,
                rgba(255, 255, 255, 0.3) 50%,
                rgba(255, 255, 255, 0) 100%
            );
            transform: rotate(30deg);
            animation: shine 3s infinite;
        }
        
        @keyframes shine {
            0% {
                transform: translateX(-100%) rotate(30deg);
            }
            100% {
                transform: translateX(100%) rotate(30deg);
            }
        }
        
        /* フッターボタン用の追加スタイル */
        .footer-btn {
            position: relative;
            padding: 0.5rem;
            font-weight: 700;
            transition: all 0.2s ease;
            border-top: 4px solid transparent;
            overflow: hidden;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3), 
                        inset 0 1px 0 rgba(255, 255, 255, 0.2), 
                        inset 0 -2px 0 rgba(0, 0, 0, 0.3);
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
        }
        
        .footer-btn:active .btn-inner {
            transform: scale(0.95);
        }
        
        .footer-btn:active {
            box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3),
                        inset 0 1px 3px rgba(0, 0, 0, 0.4);
        }
        
        .footer-btn-icon {
            transform-origin: center;
            filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.5));
        }
        
        .drop-shadow-glow {
            filter: drop-shadow(0 0 3px rgba(255, 215, 0, 0.5));
        }
        
        /* コピーライト用スタイル */
        .copyright-section {
            position: relative;
            z-index: 10;
        }
        
        /* モダンなボタン効果 */
        .btn-modern {
            background: linear-gradient(135deg, #1a1a1a, #000000);
            border-left: 3px solid rgba(255, 255, 255, 0.1);
            transition: all 0.3s;
        }
        
        /* フローティングボタン */
        .floating-btn {
            transform: translateY(0);
            transition: transform 0.3s ease;
        }
        
        .floating-btn:hover {
            transform: translateY(-3px);
        }
        
        /* 目立つボタンスタイル */
        .btn-red {
            background: linear-gradient(to bottom, #e11d48, #9f1239);
            border-top: 4px solid #fb7185;
        }
        
        .btn-red:active {
            background: linear-gradient(to bottom, #be123c, #881337);
        }
        
        .btn-blue {
            background: linear-gradient(to bottom, #2563eb, #1e40af);
            border-top: 4px solid #60a5fa;
        }
        
        .btn-blue:active {
            background: linear-gradient(to bottom, #1d4ed8, #1e3a8a);
        }
        
        /* アイコン点滅アニメーション */
        @keyframes icon-pulse {
            0% {
                opacity: 0.8;
                transform: scale(0.95);
            }
            50% {
                opacity: 1;
                transform: scale(1.05);
            }
            100% {
                opacity: 0.8;
                transform: scale(0.95);
            }
        }
        
        .icon-pulse {
            animation: icon-pulse 2s ease-in-out infinite;
        }
        
        /* アイコンアニメーション */
        .icon-bounce {
            animation: icon-bounce 2s ease-in-out infinite;
        }
        
        @keyframes icon-bounce {
            0%, 100% {
                transform: translateY(0);
            }
            50% {
                transform: translateY(-4px);
            }
        }
        
        .icon-rotate {
            animation: icon-rotate 3s linear infinite;
        }
        
        @keyframes icon-rotate {
            0% {
                transform: rotate(0deg);
            }
            25% {
                transform: rotate(5deg);
            }
            75% {
                transform: rotate(-5deg);
            }
            100% {
                transform: rotate(0deg);
            }
        }
        
        /* タップヒント */
        .tap-hint {
            opacity: 0.8;
        }
        
        /* ボタン光沢エフェクト */
        .btn-shine {
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(
                90deg,
                rgba(255, 255, 255, 0) 0%,
                rgba(255, 255, 255, 0.2) 50%,
                rgba(255, 255, 255, 0) 100%
            );
            animation: btn-shine 3s infinite;
        }
        
        @keyframes btn-shine {
            0% {
                left: -100%;
            }
            20% {
                left: 100%;
            }
            100% {
                left: 100%;
            }
        }
        
        /* キラキラエフェクト */
        .sparkle-container {
            position: absolute;
            inset: 0;
            overflow: hidden;
            pointer-events: none;
        }
        
        .sparkle {
            position: absolute;
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background-color: rgba(255, 255, 255, 0.8);
            box-shadow: 0 0 10px 2px rgba(255, 255, 255, 0.6);
            pointer-events: none;
            opacity: 0;
        }
        
        .sparkle-1 {
            top: 20%;
            left: 10%;
            animation: sparkle-fade 2s infinite 0.2s;
        }
        
        .sparkle-2 {
            top: 60%;
            left: 40%;
            animation: sparkle-fade 2.5s infinite 0.7s;
        }
        
        .sparkle-3 {
            top: 30%;
            left: 80%;
            animation: sparkle-fade 1.8s infinite 1.2s;
        }
        
        @keyframes sparkle-fade {
            0% {
                opacity: 0;
                transform: scale(0);
            }
            50% {
                opacity: 1;
                transform: scale(1);
            }
            100% {
                opacity: 0;
                transform: scale(0);
            }
        }
        
        /* アイコンアニメーション */
        .icon-bounce {
            animation: icon-bounce 2s ease-in-out infinite;
        }
        
        @keyframes icon-bounce {
            0%, 100% {
                transform: translateY(0);
            }
            50% {
                transform: translateY(-4px);
            }
        }
        
        .icon-rotate {
            animation: icon-rotate 3s linear infinite;
        }
        
        @keyframes icon-rotate {
            0% {
                transform: rotate(0deg);
            }
            25% {
                transform: rotate(5deg);
            }
            75% {
                transform: rotate(-5deg);
            }
            100% {
                transform: rotate(0deg);
            }
        }
        
        /* 矢印アニメーション */
        .arrow-move {
            animation: arrow-move 1.5s ease-in-out infinite;
        }
        
        @keyframes arrow-move {
            0%, 100% {
                transform: translateX(0);
            }
            50% {
                transform: translateX(4px);
            }
        }
        
        /* タップヒント */
        .tap-hint {
            opacity: 0.8;
        }
        
        /* ファンタジー風見出し */
        .fantasy-heading {
            position: relative;
            margin-bottom: 1.5rem;
            text-align: center;
            width: 100%;
        }
        
        .fantasy-title {
            position: relative;
            display: block;
            width: 100%;
            padding: 0.8rem 1rem;
            font-size: 1.3rem;
            font-weight: bold;
            color: white;
            text-shadow: 0 2px 4px rgba(0,0,0,0.5);
            background: linear-gradient(to right, rgba(139, 69, 19, 0.8), rgba(165, 42, 42, 0.9), rgba(139, 69, 19, 0.8));
            border-top: 2px solid #ffd700;
            border-bottom: 2px solid #ffd700;
            box-shadow: 0 4px 8px rgba(0,0,0,0.3);
            overflow: hidden;
        }
        
        .fantasy-title::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h40v40H0V0zm40 40h-4v-4H4v4H0v-4h4v-4h4v4h4v-4h4v4h4v-4h4v4h4v-4h4v4h4v-4h4v4z' fill='%23ffd700' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
        }
        
        .fantasy-title::after {
            content: '';
            position: absolute;
            left: 10px;
            right: 10px;
            bottom: -4px;
            height: 2px;
            background: linear-gradient(to right, transparent, rgba(255, 215, 0, 0.6), transparent);
        }
        
        .fantasy-section-divider {
            position: relative;
            height: 4px;
            background: linear-gradient(to right, 
                transparent 0%, 
                rgba(184, 134, 11, 0.3) 20%, 
                rgba(184, 134, 11, 0.6) 50%, 
                rgba(184, 134, 11, 0.3) 80%, 
                transparent 100%);
            margin: 2rem 0;
            border-radius: 2px;
        }
        
        .fantasy-section-divider::before {
            content: '';
            position: absolute;
            width: 30px;
            height: 30px;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23b8860b'%3E%3Cpath d='M12 3L9 1 6 3 3 1v2l-2 1 2 1v2l3-2 3 2 3-2 3 2 3-2 3 2v-2l2-1-2-1v-2l-3 2-3-2-3 2-3-2z'/%3E%3C/svg%3E");
            background-size: cover;
            top: -13px;
            left: calc(50% - 15px);
        }
        
        /* レギュレーションセクションのスタイル */
        .regulation-frame {
            border: 2px solid #daa520;
            min-height: 300px;
        }
        
        .gift-option, .amount-option {
            position: relative;
        }
        
        .medal-option {
            position: relative;
        }
        
        /* タップアニメーション */
        .pointing-finger {
            position: relative;
        }
        
        .tap-animation {
            position: relative;
            width: 50px;
            height: 50px;
        }
        
        .tap-circle {
            position: absolute;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background-color: rgba(245, 158, 11, 0.2);
            top: 0;
            left: 0;
            transform-origin: center;
            animation: tap-anim 2s infinite;
        }
        
        @keyframes tap-anim {
            0% {
                transform: scale(0);
                opacity: 1;
            }
            100% {
                transform: scale(1.5);
                opacity: 0;
            }
        }
        
        /* 矢印アニメーション(強調版) */
        .arrow-move {
            animation: arrow-move-extend 1.5s ease-in-out infinite;
        }
        
        @keyframes arrow-move-extend {
            0% {
                transform: translateX(0);
            }
            50% {
                transform: translateX(8px);
            }
            100% {
                transform: translateX(0);
            }
        }
        
        /* フッターボタンロック状態のスタイル */
        .footer-btn.locked {
            background: linear-gradient(to bottom, #4a5568, #2d3748);
            border-top: 4px solid #718096;
            opacity: 0.85;
            cursor: not-allowed;
        }
        
        .footer-btn.locked .btn-inner {
            opacity: 0.7;
        }
        
        .footer-btn.locked .lock-icon {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 24px;
            height: 24px;
            color: rgba(255, 255, 255, 0.7);
            filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
            z-index: 10;
        }
        
        .footer-spacer {
            height: 76px;
        }
        
        .footer-btn-icon {
            flex-shrink: 0;
        }
        
        /* ボタン内部のテキストをテキスト折り返しさせないよう修正 */
        .btn-inner {
            white-space: nowrap;
            width: 100%;
            justify-content: center;
        }
        
        @media (max-width: 360px) {
            .btn-inner {
                padding: 0 4px;
            }
            
            .footer-btn-icon {
                width: 7vw;
                height: 7vw;
            }
        }
        
        .gift-card:hover, .amount-card:hover, .medal-card:hover {
            transform: translateY(-2px);
        }
        
        @keyframes pulse-shine {
            0% { opacity: 0.3; }
            50% { opacity: 0.8; }
            100% { opacity: 0.3; }
        }
        
        .pulse-shine {
            animation: pulse-shine 2s infinite;
        }
        
        /* 追加:ステップ点滅アニメーション */
        @keyframes step-pulse {
            0% { opacity: 1; }
            50% { opacity: 0.7; }
            100% { opacity: 1; }
        }
        
        @keyframes step-marker-glow {
            0% { box-shadow: 0 0 0 0 rgba(250, 204, 21, 0.7); }
            70% { box-shadow: 0 0 0 8px rgba(250, 204, 21, 0); }
            100% { box-shadow: 0 0 0 0 rgba(250, 204, 21, 0); }
        }
        
        .step-active-pulse {
            animation: step-pulse 1.5s infinite ease-in-out;
            position: relative;
        }
        
        .step-active-pulse::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(90deg, 
                        rgba(220, 38, 38, 0) 0%, 
                        rgba(220, 38, 38, 0.2) 50%, 
                        rgba(220, 38, 38, 0) 100%);
            animation: shine-slide 2.5s infinite;
        }
        
        .step-marker-pulse {
            animation: step-marker-glow 1.5s infinite;
            position: relative;
        }
        
        @keyframes shine-slide {
            0% { background-position: -100% 0; }
            100% { background-position: 200% 0; }
        }
        
        /* タップ表示アニメーション */
        .tap-direction {
            position: relative;
        }
        
        /* 見出しデザイン - 新しく黒系でカッコいいスタイルに変更 */
        .modern-heading {
            position: relative;
            width: 100%;
            margin-bottom: 1rem;
            overflow: hidden;
        }
        
        .modern-title {
            position: relative;
            display: block;
            width: 100%;
            padding: 1rem 1.5rem;
            font-size: 1.2rem;
            font-weight: bold;
            color: white;
            text-shadow: 0 2px 4px rgba(0,0,0,0.5);
            background: linear-gradient(to right, #000000, #1a1a1a, #000000);
            border-left: 4px solid #dc2626;
            box-shadow: 0 4px 6px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.1);
            overflow: hidden;
            z-index: 1;
        }
        
        .modern-title::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 1px;
            background: linear-gradient(to right, transparent, rgba(255,255,255,0.3), transparent);
            z-index: 2;
        }
        
        .modern-title::after {
            content: '';
            position: absolute;
            left: -100%;
            top: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, 
                transparent 0%, 
                rgba(255,255,255,0.1) 50%, 
                transparent 100%);
            animation: modern-shine 3s infinite;
            z-index: 1;
        }
        
        @keyframes modern-shine {
            0% { left: -100%; }
            20%, 100% { left: 100%; }
        }
        
        /* 既存のファンタジー見出しのスタイルを上書き */
        .fantasy-heading {
            position: relative;
            margin-bottom: 1rem;
            text-align: left;
            width: 100%;
        }
        
        .fantasy-title {
            position: relative;
            display: block;
            width: 100%;
            padding: 1rem 1.5rem;
            font-size: 1.2rem;
            font-weight: bold;
            color: white;
            text-shadow: 0 2px 4px rgba(0,0,0,0.5);
            background: linear-gradient(to right, #000000, #1a1a1a, #000000);
            border-left: 4px solid #dc2626;
            box-shadow: 0 4px 6px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.1);
            overflow: hidden;
        }
        
        .fantasy-title::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 1px;
            background: linear-gradient(to right, transparent, rgba(255,255,255,0.3), transparent);
        }
        
        .fantasy-title::after {
            content: '';
            position: absolute;
            left: -100%;
            top: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, 
                transparent 0%, 
                rgba(255,255,255,0.1) 50%, 
                transparent 100%);
            animation: modern-shine 3s infinite;
        }

        /* 最新のCSS効果 */
        .modern-glow {
            box-shadow: 0 0 10px rgba(255, 255, 255, 0.4),
                        0 0 20px rgba(255, 215, 0, 0.3);
        }

        @keyframes modern-shine {
            0% { background-position: -100% 0; }
            100% { background-position: 200% 0; }
        }
        
        .modern-button {
            position: relative;
            overflow: hidden;
            z-index: 1;
        }
        
        .modern-button::after {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
            transition: 0.6s;
            z-index: -1;
        }
        
        .modern-button:hover::after {
            left: 100%;
            animation: modern-shine 3s infinite;
        }

        /* ジャックポットUIのアニメーション */
        .text-shadow-lg {
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
        }
        
        .text-glow-gold {
            text-shadow: 0 0 10px rgba(255, 215, 0, 0.7), 
                        0 0 20px rgba(255, 215, 0, 0.5);
        }
        
        .shadow-glow-lg {
            box-shadow: 0 0 15px 5px rgba(255, 165, 0, 0.5);
        }
        
        @keyframes shimmer {
            0% { transform: translateX(-100%); }
            100% { transform: translateX(300%); }
        }
        
        .animate-shimmer {
            animation: shimmer 3s infinite linear;
        }
        
      

        /* 最新のCSS効果 */
        .modern-glow {
            box-shadow: 0 0 10px rgba(255, 255, 255, 0.4),
                        0 0 20px rgba(255, 215, 0, 0.3);
        }

        @keyframes modern-shine {
            0% { background-position: -100% 0; }
            100% { background-position: 200% 0; }
        }
        
        .modern-button {
            position: relative;
            overflow: hidden;
            z-index: 1;
        }
        
        .modern-button::after {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
            transition: 0.6s;
            z-index: -1;
        }
        
        .modern-button:hover::after {
            left: 100%;
            animation: modern-shine 3s infinite;
        }

        /* アニメーション修正・追加 */
        @keyframes shine {
            0% { background-position: -100% 0; }
            100% { background-position: 200% 0; }
        }
        
        .animate-shine {
            background: linear-gradient(to right, 
                rgba(255,255,255,0) 0%, 
                rgba(255,255,255,0.3) 25%, 
                rgba(255,255,255,0.5) 50%, 
                rgba(255,255,255,0.3) 75%, 
                rgba(255,255,255,0) 100%);
            background-size: 200% 100%;
            animation: shine 2s infinite linear;
        }

        .animate-bounce-slow {
            animation: bounce-slow 2s infinite;
        }
        
        /* 新しいボタンアニメーション */
        .pattern-grid-lg {
            background-image: 
                linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
            background-size: 10px 10px;
        }
        
        .flash-effect {
            background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
            animation: flash 2.5s infinite;
            transform: skewX(-20deg);
        }
        
        @keyframes flash {
            0% { transform: translateX(-100%) skewX(-20deg); }
            20%, 100% { transform: translateX(200%) skewX(-20deg); }
        }
        
        .particle {
            position: absolute;
            width: 4px;
            height: 4px;
            border-radius: 50%;
            background-color: rgba(255, 165, 0, 0.7);
            box-shadow: 0 0 6px 2px rgba(255, 215, 0, 0.5);
            opacity: 0;
        }
        
        .particle-1 {
            top: 20%;
            left: 0;
            animation: particle-move-1 3s infinite;
        }
        
        .particle-2 {
            top: 50%;
            left: 0;
            animation: particle-move-2 2.7s infinite 0.3s;
        }
        
        .particle-3 {
            top: 80%;
            left: 0;
            animation: particle-move-3 3.4s infinite 0.7s;
        }
        
        @keyframes particle-move-1 {
            0% { opacity: 0; left: 0; transform: translateY(0); }
            10% { opacity: 1; }
            70% { opacity: 1; }
            100% { opacity: 0; left: 100%; transform: translateY(-20px); }
        }
        
        @keyframes particle-move-2 {
            0% { opacity: 0; left: 0; transform: translateY(0); }
            10% { opacity: 1; }
            70% { opacity: 1; }
            100% { opacity: 0; left: 100%; transform: translateY(15px); }
        }
        
        @keyframes particle-move-3 {
            0% { opacity: 0; left: 0; transform: translateY(0); }
            10% { opacity: 1; }
            70% { opacity: 1; }
            100% { opacity: 0; left: 100%; transform: translateY(-10px); }
        }
        
        .arrow-jump {
            animation: arrow-jump 1.5s ease-in-out infinite;
        }
        
        @keyframes arrow-jump {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-4px); }
        }
        
        /* 矢印アニメーション */
        .animate-pulse-slow {
            animation: pulse-slow 2s infinite ease-in-out;
        }
        
        @keyframes pulse-slow {
            0%, 100% { opacity: 0.7; transform: scale(1); }
            50% { opacity: 1; transform: scale(1.1); }
        }

        /* ジャックポットデモから移植したスタイル */
        .bubble-effect {
            position: relative;
            overflow: hidden;
        }
        .bubble {
            position: absolute;
            background: rgba(255, 220, 180, 0.3);
            border-radius: 50%;
            animation: bubble-rise 4s infinite ease-in;
            bottom: -20px;
            opacity: 0;
            box-shadow: 0 0 3px rgba(255,220,180,0.2);
        }
        @keyframes bubble-rise {
            0% {
                transform: translateY(0) scale(0.2);
                opacity: 0;
            }
            20% {
                opacity: 0.8;
            }
            90% {
                opacity: 0.4;
            }
            100% {
                transform: translateY(-100px) scale(0.8);
                opacity: 0;
            }
        }
        .luxury-gauge {
            padding: 3px; 
            border-radius: 8px; 
            position: relative;
            background-color: rgba(25, 0, 15, 0.3);
            --neon-pink-primary: #ff40a0;
            --neon-pink-glow: #ff80c0;
            --neon-shadow-color: rgba(180, 0, 90, 0.4);
            box-shadow:
                0 0 2.5px var(--neon-pink-glow),
                0 0 5px var(--neon-pink-glow),
                0 0 8px var(--neon-pink-primary),
                0 0 13px var(--neon-shadow-color),
                inset 0 0 2px var(--neon-pink-glow),
                inset 0 0 4px var(--neon-pink-primary);
        }
        .luxury-gauge-progress {
            background: linear-gradient(
                135deg, 
                #ff7e7e, /* ソフトレッド */
                #ffbe7e, /* ソフトオレンジ */
                #ffff99, /* ソフトイエロー */
                #99ff99, /* ソフトグリーン */
                #7ec0ff, /* ソフトスカイブルー */
                #be7eff, /* ソフトパープル */
                #ff7ec0, /* ソフトピンク */
                #ff7e7e /* ループ */
            );
            background-size: 400% 100%;
            animation: flowingSoftRainbow 6s linear infinite;
            box-shadow: 
                inset 0 1px 2px rgba(0, 0, 0, 0.2),
                inset 0 -1px 1px rgba(255,255,255,0.1);
            border-radius: 4px;
            position:relative;
        }
        @keyframes flowingSoftRainbow {
            0% {
                background-position: 0% center;
            }
            100% {
                background-position: -300% center;
            }
        }
        .digital-timer {
            font-family: 'Courier New', monospace;
            background: rgba(0, 10, 20, 0.7);
            border: 1px solid #00aaff;
            border-radius: 4px;
            padding: 0.25rem 0.5rem;
            color: #00e6e6;
            text-shadow: 0 0 3px #00ffff, 0 0 6px #00aaff;
            box-shadow: 0 0 5px #00aaff, inset 0 0 3px rgba(0,255,255,0.3);
            display: inline-block;
            letter-spacing: 1px;
        }
        .digital-timer.max-effect-timer { 
            font-size: 2.3rem; 
            padding: 0.5rem 1rem;
            border-width: 2px;
            border-color: #00ffff;
            color: #e6ffff;
            background: rgba(0,5,15,0.8);
            text-shadow: 0 0 5px #00ffff, 0 0 10px #00ffff, 0 0 15px #00aaff, 1px 1px 2px #000;
            animation: timerPulseBlueNeon 0.7s infinite alternate;
        }
        @keyframes timerPulseBlueNeon {
            from { transform: scale(1); box-shadow: 0 0 5px #00ffff, 0 0 10px #00aaff; }
            to   { transform: scale(1.02); box-shadow: 0 0 8px #00ffff, 0 0 15px #00aaff, 0 0 20px #80ffff; }
        }
        .max-text-display span { 
            display: inline-block;
            color: #FFD700;
            background: none;
            -webkit-text-fill-color: currentColor;
            animation: maxTextGentlePop 1.2s cubic-bezier(0.4, 0, 0.2, 1) both;
            text-shadow: 
                 0 0 2px rgba(255,215,0,0.7),
                 0 0 5px rgba(255,215,0,0.5),
                 0 0 8px rgba(255,165,0,0.3),
                 0 0 6px rgba(0, 174, 255, 0.2),
                 0 0 10px rgba(0, 174, 255, 0.15);
        }
        .max-text-display span:nth-child(1) { animation-delay: 0.1s; }
        .max-text-display span:nth-child(2) { animation-delay: 0.2s; }
        .max-text-display span:nth-child(3) { animation-delay: 0.3s; }
        .max-text-display span:nth-child(4) { animation-delay: 0.4s; }
        .max-text-display span:nth-child(5) { animation-delay: 0.5s; }
        @keyframes maxTextGentlePop {
            0% { transform: scale(0.85) translateY(8px); opacity: 0; filter: blur(1px); }
            70% { transform: scale(1.02) translateY(-1px); opacity: 1; filter: blur(0); }
            100% { transform: scale(1) translateY(0); opacity: 1; filter: blur(0); }
        }
        /* .animate-shimmer と @keyframes shimmer は index3.html に既に存在していれば不要 */
        /* もし存在しない場合は以下を追加 */
        .animate-shimmer {
            animation: shimmer 2s infinite linear;
        }
        @keyframes shimmer {
            0% { transform: translateX(-100%); }
            100% { transform: translateX(100%); }
        }
        .wave-effect {
            background: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1) 10px, transparent 10px, transparent 20px);
            animation: wave 5s linear infinite;
        }
        .wave-effect-reverse {
            background: repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1) 10px, transparent 10px, transparent 20px);
            animation: wave-reverse 7s linear infinite;
        }
        @keyframes wave {
            0% { background-position: 0 0; }
            100% { background-position: 50px 0; }
        }
        @keyframes wave-reverse {
            0% { background-position: 0 0; }
            100% { background-position: -50px 0; }
        }
        .border-heavy-gold { 
            padding: 0rem 0rem 0.5rem;
            border-radius: 0.75rem; 
            background-color: #1e293b; 
            border: 1px solid #06b6d4;
            box-shadow: 0 10px 15px -3px rgba(6, 182, 212, 0.2), 0 4px 6px -4px rgba(6, 182, 212, 0.2);
        }
        .animate-flame-background {
           background-color: #0f172a;
           position: relative; 
           overflow: hidden; 
        }
        .particle-container::before,
        .particle-container::after {
            content: '';
            position: absolute;
            top: 100%; 
            left: 0;
            width: 100%; 
            height: 100%;
            pointer-events: none;
        }
        .particle-container::before {
            animation: rise-particles-small 10s linear infinite; 
            box-shadow: 
                10vw 80vh 0 0px rgba(0,255,255,0.8), 25vw 40vh 0 1px rgba(100,200,255,0.7),
                40vw 90vh 0 0px rgba(200,220,255,0.85), 55vw 10vh 0 1px rgba(0,200,255,0.7),
                70vw 70vh 0 0px rgba(150,230,255,0.9), 85vw 30vh 0 1px rgba(0,150,255,0.65),
                5vw 20vh 0 1px rgba(220,240,255,0.75), 20vw 60vh 0 0px rgba(50,180,255,0.8),
                15vw 50vh 0 1px rgba(0,255,255,0.7), 30vw 25vh 0 0px rgba(180,200,255,0.8);
            width: 1.5px; height: 1.5px; 
        }
        .particle-container::after {
            animation: rise-particles-large 8s linear infinite 0.5s; 
            box-shadow:
                10vw 90vh 1px 1px rgba(0,255,255,0.85), 25vw 20vh 0px 1px rgba(120,220,255,0.75), 
                40vw 70vh 1px 1px rgba(200,230,255,0.9), 55vw 40vh 0px 1px rgba(0,200,255,0.7),
                5vw 60vh 1px 1px rgba(100,200,255,0.8), 20vw 85vh 0px 1px rgba(220,240,255,0.95);
            width: 2.5px; height: 2.5px; 
        }
        @keyframes rise-particles-small {
          0% {
            transform: translateY(0) scale(0.7);
            opacity: 0;
          }
          10%, 90% { 
            opacity: 0.9;
            filter: blur(0.2px) brightness(1.2); 
          }
          100% {
            transform: translateY(-150vh) scale(1);
            opacity: 0;
            filter: blur(0.5px);
          }
        }
        @keyframes rise-particles-large {
          0% {
            transform: translateY(0) scale(0.8); 
            opacity: 0;
          }
          10%, 80% { 
            opacity: 1;
            filter: blur(0.5px) brightness(1.3); 
          }
          100% {
            transform: translateY(-120vh) scale(1.3); 
            opacity: 0;
            filter: blur(1px);
          }
        }
        .text-glow-gold {
            color: #33ccff !important;
            text-shadow: 0 0 4px #00ffff, 0 0 8px #00aaff, 0 0 12px #0077cc;
        }
        .warning-text-enhanced {
            background-color: rgba(30, 20, 0, 0.75);
            padding: 0.3rem 0.6rem;
            border-radius: 0.375rem;
            color: #fef3c7;
            font-weight: bold;
            font-size: 1.15rem;
            text-shadow: 0 0 2px rgba(0,0,0,0.7), 0 0 5px #ff8c00;
            display: inline-block;
            white-space: nowrap;
        }
        .animate-pulse-intense {
            animation: pulse-intense 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
        }
        @keyframes pulse-intense {
            0%, 100% { opacity: 1; transform: scale(1); filter: brightness(1); }
            50% { opacity: 0.8; transform: scale(1.03); filter: brightness(1.2); }
        }

        /* 既存の .text-shadow-lg があれば、こちらの定義は不要かもしれません。 */
        /* jackpot-demo.html にはありましたが、index3.html にも同名クラスがあるか確認してください。*/
        /*
        .text-shadow-lg {
            text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
        }
        */
        /* 既存の .animate-shimmer, @keyframes shimmer があれば、こちらの定義は不要です。 */
        /* jackpot-demo.html からのもので、index3.html にも同名のものがあるか確認してください。 */

        .oubo-campaign-item {
        background: linear-gradient(135deg, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.9) 100%);
        border: 1px solid rgba(255, 64, 160, 0.3);
        box-shadow: 
            0 0 20px rgba(255, 64, 160, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
        position: relative;
        overflow: hidden;
    }
    
    .oubo-campaign-item::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
        animation: oubo-shimmer 3s infinite;
        pointer-events: none;
    }
    
    @keyframes oubo-shimmer {
        0% { left: -100%; }
        100% { left: 100%; }
    }
    
    .oubo-deadline-meter {
        background: linear-gradient(135deg, #374151, #1f2937);
        border: 1px solid #4a5568;
        position: relative;
        overflow: hidden;
        border-radius: 8px;
        padding: 2px;
        box-shadow:
            0 0 8px rgba(255, 193, 7, 0.4),
            inset 0 0 3px rgba(255, 193, 7, 0.2);
    }
    
    .oubo-deadline-progress {
        background: linear-gradient(
            90deg, 
            #fbbf24, #f59e0b, #d97706, #b45309,
            #92400e, #78350f
        );
        background-size: 300% 100%;
        animation: oubo-deadline-flow 2s linear infinite;
        border-radius: 6px;
        position: relative;
        box-shadow: 
            inset 0 1px 2px rgba(0, 0, 0, 0.2),
            inset 0 -1px 1px rgba(255,255,255,0.1),
            0 0 5px rgba(251, 191, 36, 0.3);
        overflow: hidden;
    }
    
    .oubo-deadline-progress::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
        animation: oubo-meter-wave 1.5s linear infinite;
    }
    
    .oubo-deadline-progress.urgent {
        background: linear-gradient(
            90deg, 
            #ef4444, #dc2626, #b91c1c, #991b1b
        );
        background-size: 200% 100%;
        animation: oubo-urgent-flow 1.5s ease-in-out infinite;
        box-shadow: 
            inset 0 1px 2px rgba(0, 0, 0, 0.2),
            inset 0 -1px 1px rgba(255,255,255,0.1),
            0 0 8px rgba(239, 68, 68, 0.6);
    }
    
    .oubo-deadline-progress.urgent::before {
        animation: oubo-urgent-wave 1s linear infinite;
    }
    
    @keyframes oubo-deadline-flow {
        0% { background-position: 0% center; }
        100% { background-position: -300% center; }
    }
    
    @keyframes oubo-urgent-flow {
        0% { 
            background-position: 0% center;
            box-shadow: 
                inset 0 1px 2px rgba(0, 0, 0, 0.2),
                inset 0 -1px 1px rgba(255,255,255,0.1),
                0 0 8px rgba(239, 68, 68, 0.6);
        }
        50% {
            background-position: -100% center;
            box-shadow: 
                inset 0 1px 2px rgba(0, 0, 0, 0.2),
                inset 0 -1px 1px rgba(255,255,255,0.1),
                0 0 15px rgba(239, 68, 68, 0.9);
        }
        100% { 
            background-position: -200% center;
            box-shadow: 
                inset 0 1px 2px rgba(0, 0, 0, 0.2),
                inset 0 -1px 1px rgba(255,255,255,0.1),
                0 0 8px rgba(239, 68, 68, 0.6);
        }
    }
    
    @keyframes oubo-meter-wave {
        0% { left: -100%; }
        100% { left: 100%; }
    }
    
    @keyframes oubo-urgent-wave {
        0% { left: -100%; }
        100% { left: 100%; }
    }
    
    .oubo-campaign-title {
        background: linear-gradient(135deg, #fbbf24, #f59e0b);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        text-shadow: 0 0 20px rgba(251, 191, 36, 0.5);
    }
    
    .oubo-apply-button {
        background: linear-gradient(135deg, #ef4444, #dc2626);
        position: relative;
        overflow: hidden;
        transition: all 0.3s ease;
    }
    
    .oubo-apply-button:hover {
        background: linear-gradient(135deg, #f87171, #ef4444);
        transform: translateY(-2px);
        box-shadow: 
            0 10px 25px rgba(239, 68, 68, 0.4),
            0 0 20px rgba(239, 68, 68, 0.3);
    }
    
    .oubo-apply-button::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
        transition: left 0.6s ease;
    }
    
    .oubo-apply-button:hover::before {
        left: 100%;
    }
    
    @keyframes twinkle {
        0%, 100% { 
            opacity: 0.6; 
            transform: scale(1); 
        }
        50% { 
            opacity: 1; 
            transform: scale(1.5); 
        }
    }
    
    @keyframes gradientShift {
        0% { 
            background-position: 0% 50%; 
        }
        50% { 
            background-position: 100% 50%; 
        }
        100% { 
            background-position: 0% 50%; 
        }
    }

        
   
      
        /* brand-section-frame と brand-section-header のカスタムスタイルは、新しい構造に合わせて見直し */  /* 主にTailwindクラスでスタイリングするため、不要なものは削除 */

        .brand-swiper-container {
            padding: 1rem 0.75rem;
            position: relative;
        }
        .brand-swiper {
            overflow: visible;
            margin-left: 0.25rem;
            margin-right: 0.25rem;
        }
        .brand-swiper .swiper-slide {
            width: 170px;
            height: auto;
            flex-shrink: 0;
            display: flex;
            flex-direction: column;
            align-items: center;
            box-sizing: border-box;
            background-color: #374151; /* bg-gray-700 カード背景 */
            border-radius: 0.5rem; /* rounded-lg */
            box-shadow: 0 4px 6px -1px rgba(0,0,0,0.3), 0 2px 4px -1px rgba(0,0,0,0.2);
            padding: 0.625rem;
            color: white;
        }
        .brand-swiper .swiper-slide img.brand-image {
            width: 100%;
            height: 90px;
            object-fit: cover;
            border-radius: 0.375rem;
            margin-bottom: 0.375rem;
        }
        .brand-swiper .swiper-slide h3 {
            font-size: 0.875rem;
            font-weight: 600;
            color: #ffc107; /* text-accent */
            margin-bottom: 0.125rem;
            text-align: center;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            width: 100%;
        }
        .brand-swiper .swiper-slide .product-name {
            font-size: 0.75rem;
            color: #d1d5db;
            margin-bottom: 0.25rem;
            text-align: center;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            width: 100%;
            min-height: 1rem;
        }
        .brand-swiper .swiper-slide .price-info {
            font-size: 0.75rem;
            margin-bottom: 0.5rem;
            text-align: center;
            width: 100%;
            min-height: 2.8em; 
        }
        .brand-swiper .swiper-slide .price-info .original-price {
            color: #9ca3af;
            text-decoration: line-through;
            font-size: 0.6875rem;
            display: block;
        }
        .brand-swiper .swiper-slide .price-info .rion-price-label {
            color: #ffc107; /* text-accent */
            font-weight: 700;
            font-size: 0.875rem;
            display: block;
        }
        .brand-swiper .swiper-slide .favorite-btn {
            font-size: 0.75rem;
            padding: 0.375rem 0.625rem;
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: #dc2626; /* red-600 */
        }
        .brand-swiper .swiper-slide .favorite-btn svg {
            width: 0.875rem;
            height: 0.875rem;
            margin-right: 0.25rem;
        }
        .brand-swiper .swiper-slide .favorite-btn:hover { background-color: #b91c1c; /* red-700 */ }
        .brand-swiper .swiper-slide .favorite-btn.favorited { background-color: #eab308; /* yellow-500 */ }
        .brand-swiper .swiper-slide .favorite-btn.favorited:hover { background-color: #ca8a04; /* yellow-600 */ }

        .brand-swiper .swiper-button-next,
        .brand-swiper .swiper-button-prev {
            color: #ffc107; /* text-accent */
            width: 32px !important;
            height: 32px !important;
            background-color: rgba(17, 24, 39, 0.6); 
            border: 1px solid #4b5563; /* border-gray-600 */
            border-radius: 50%;
            top: 50%;
            transform: translateY(-50%) scale(0.6);
            opacity: 0.7;
            transition: opacity 0.2s, background-color 0.2s, transform 0.2s;
        }
        .brand-swiper-container:hover .swiper-button-next,
        .brand-swiper-container:hover .swiper-button-prev {
            opacity: 1;
            transform: translateY(-50%) scale(0.65);
        }
        .brand-swiper .swiper-button-next { right: 0px; }
        .brand-swiper .swiper-button-prev { left: 0px; }
        .brand-swiper .swiper-button-next::after,
        .brand-swiper .swiper-button-prev::after {
            font-size: 14px !important;
            font-weight: bold;
        }

        .view-more-brands-button-container {
            text-align: center;
            padding-top: 1.5rem; /* スライダーとの間隔を広げる (0.5rem -> 1.5rem) */
            padding-bottom: 0.75rem;
        }
        .view-more-brands-button {
            /* 新しいボタンスタイル - theme() を直接的な値に修正 */
            background-image: linear-gradient(to right, #eab308, #ca8a04); /* yellow-500, yellow-600 */
            color: #111827; /* gray-900 */
            font-weight: 700; /* font-bold */
            padding: 0.75rem 1.5rem; /* py-3 px-6 */
            border-radius: 0.5rem; /* rounded-lg */
            border: 2px solid #facc15; /* yellow-400 */
            box-shadow: 0 10px 15px -3px rgba(0,0,0,0.2), 0 4px 6px -2px rgba(0,0,0,0.1); /* shadow-lg */
            display: inline-flex; /* アイコンとの配置のため */
            align-items: center;
            text-decoration: none; /* aタグのデフォルト下線消去 */
            transition-property: all;
            transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
            transition-duration: 200ms;
        }
        .view-more-brands-button:hover {
            transform: scale(1.05);
            box-shadow: 0 20px 25px -5px rgba(0,0,0,0.2), 0 10px 10px -5px rgba(0,0,0,0.1); /* shadow-xl */
        }
        .view-more-brands-button svg {
            width: 1.25rem; /* w-5 */
            height: 1.25rem; /* h-5 */
            margin-left: 0.5rem; /* ml-2 */
        }

        #brandImageModal { background-color: rgba(0,0,0,0.9); display: flex; align-items: center; justify-content: center; padding: 0.5rem; z-index: 5000; }
        #brandImageModal.hidden { display: none; }
        #brandModalImage { max-width: calc(100vw - 1rem); max-height: calc(100vh - 5rem); object-fit: contain; border-radius: 0.25rem; }
        #closeBrandModalBtn { position: absolute;top: 1rem;right: 1rem;font-size: 2rem;line-height: 1;color: #cccccc;background-color: rgba(40,40,40,0.7);border-radius: 50%;width: 36px;height: 36px;display: flex;align-items: center;justify-content: center;cursor: pointer;transition: background-color 0.2s, color 0.2s;z-index: 5010; }
        #closeBrandModalBtn:hover { background-color: rgba(0,0,0,0.8); color: white; }

        .btn { transition: all 0.2s ease-in-out; border-radius: 9999px; }
        .btn:active { transform: scale(0.96); }
        


        .inv-section-game-status-bar {
            max-width: 800px;
            margin: 0 auto;
        }
       .inv-section-game-status-bar .bg-gradient-to-r {
            background: linear-gradient(to right, #1f2937, #111827);
        }
        .inv-section-medal-item {
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        .inv-section-medal-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        }
        .inv-section-medal-item img {
            filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.2));
        }
        .inv-section-medal-item p {
            color: #e5e7eb;
        }
        .inv-section-medal-item .inv-section-medal-count {
            color: #f3f4f6;
        }
        .inv-section-medal-item.inv-section-crystal::before {
            content: '';
            position: absolute;
            inset: 0;
            background: radial-gradient(circle at center, rgba(255,255,255,0.15), transparent 70%);
            animation: inv-section-pulse-anim 2s infinite;
            border-radius: inherit;
            z-index: 0;
        }
        .inv-section-medal-item.inv-section-crystal > * {
            position: relative;
            z-index: 1;
        }
        @keyframes inv-section-pulse-anim {
            0%, 100% {
                transform: scale(1);
                opacity: 0.6;
            }
            50% {
                transform: scale(1.05);
                opacity: 1;
            }
        }
        .inv-section-inventory-gacha-button {
            display: none;
            margin-top: 0.5rem;
            padding: 0.1rem 0.3rem;
            background-color: #f59e0b;
            color: white;
            font-size: 0.6rem;
            border-radius: 0.25rem;
            text-align: center;
            cursor: pointer;
            transition: background-color 0.3s ease, transform 0.3s ease;
            animation: inv-section-inventory-pulse 1.5s infinite;
        }
        .inv-section-inventory-gacha-button:hover {
            background-color: #d97706;
            transform: scale(1.1);
        }
        @keyframes inv-section-inventory-pulse {
            0%, 100% {
                transform: scale(1);
            }
            50% {
                transform: scale(1.05);
            }
        }

        /* ジャックポットメーター用の正しいスタイル */
        .top-luxury-gauge {
            padding: 3px; 
            border-radius: 8px; 
            position: relative;
            background-color: rgba(25, 0, 15, 0.3);
            --neon-pink-primary: #ff40a0;
            --neon-pink-glow: #ff80c0;
            --neon-shadow-color: rgba(180, 0, 90, 0.4);
            box-shadow:
                0 0 2.5px var(--neon-pink-glow),
                0 0 5px var(--neon-pink-glow),
                0 0 8px var(--neon-pink-primary),
                0 0 13px var(--neon-shadow-color),
                inset 0 0 2px var(--neon-pink-glow),
                inset 0 0 4px var(--neon-pink-primary);
        }
        .top-luxury-gauge-progress {
            background: linear-gradient(
                135deg, 
                #ff7e7e, /* ソフトレッド */
                #ffbe7e, /* ソフトオレンジ */
                #ffff99, /* ソフトイエロー */
                #99ff99, /* ソフトグリーン */
                #7ec0ff, /* ソフトスカイブルー */
                #be7eff, /* ソフトパープル */
                #ff7ec0, /* ソフトピンク */
                #ff7e7e /* ループ */
            );
            background-size: 400% 100%;
            animation: top-flowingSoftRainbow 6s linear infinite;
            box-shadow: 
                inset 0 1px 2px rgba(0, 0, 0, 0.2),
                inset 0 -1px 1px rgba(255,255,255,0.1);
            border-radius: 4px;
            position:relative;
        }

        /* レインボーモード(100%時)のスタイル */
        .top-luxury-gauge-progress.rainbow-mode {
            background: linear-gradient(124deg, #ff0000, #ff8000, #ffff00, #80ff00, #00ff00, #00ff80, #00ffff, #0080ff, #0000ff, #8000ff, #ff00ff, #ff0080) !important;
            background-size: 1800% 1800% !important;
            animation: rainbow-effect 5s linear infinite !important;
        }

        @keyframes top-flowingSoftRainbow {
            0% {
                background-position: 0% center;
            }
            100% {
                background-position: -300% center;
            }
        }

        @keyframes rainbow-effect {
            0% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }

        @keyframes top-maxTextGentlePop {
            0% { transform: scale(0.85) translateY(8px); opacity: 0; filter: blur(1px); }
            70% { transform: scale(1.02) translateY(-1px); opacity: 1; filter: blur(0); }
            100% { transform: scale(1) translateY(0); opacity: 1; filter: blur(0); }
        }

        @keyframes top-wave {
            0% { background-position: 0 0; }
            100% { background-position: 50px 0; }
        }
        
        @keyframes top-wave-reverse {
            0% { background-position: 0 0; }
            100% { background-position: -50px 0; }
        }

        @keyframes shimmer {
            0% { transform: translateX(-100%); }
            100% { transform: translateX(100%); }
        }

        /* バブルエフェクト用のクラス */
        .top-bubble-effect {
            position: relative;
            overflow: hidden;
        }
        .top-bubble-effect .bubble {
            position: absolute;
            background: rgba(255, 220, 180, 0.3);
            border-radius: 50%;
            animation: bubble-rise 4s infinite ease-in;
            bottom: -20px;
            opacity: 0;
            box-shadow: 0 0 3px rgba(255,220,180,0.2);
        }

        @keyframes bubble-rise {
            0% {
                transform: translateY(0) scale(0.2);
                opacity: 0;
            }
            20% {
                opacity: 0.8;
            }
            90% {
                opacity: 0.4;
            }
            100% {
                transform: translateY(-100px) scale(0.8);
                opacity: 0;
            }
        }

        /* MAXテキスト表示用のスタイル */
        .top-max-text-display span { 
            display: inline-block;
            color: #FFD700;
            background: none;
            -webkit-text-fill-color: currentColor;
            animation: top-maxTextGentlePop 1.2s cubic-bezier(0.4, 0, 0.2, 1) both;
            text-shadow: 
                 0 0 2px rgba(255,215,0,0.7),
                 0 0 5px rgba(255,215,0,0.5),
                 0 0 8px rgba(255,165,0,0.3),
                 0 0 6px rgba(0, 174, 255, 0.2),
                 0 0 10px rgba(0, 174, 255, 0.15);
        }
        .top-max-text-display span:nth-child(1) { animation-delay: 0.1s; }
        .top-max-text-display span:nth-child(2) { animation-delay: 0.2s; }
        .top-max-text-display span:nth-child(3) { animation-delay: 0.3s; }
        .top-max-text-display span:nth-child(4) { animation-delay: 0.4s; }
        .top-max-text-display span:nth-child(5) { animation-delay: 0.5s; }

        /* 波エフェクト */
        .top-wave-effect {
            background: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1) 10px, transparent 10px, transparent 20px);
            animation: top-wave 5s linear infinite;
        }
        .top-wave-effect-reverse {
            background: repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1) 10px, transparent 10px, transparent 20px);
            animation: top-wave-reverse 7s linear infinite;
        }

        .animate-shimmer {
            animation: shimmer 2s infinite;
        }

        /* 認証番号入力欄のスタイル */
        .verification-input {
            width: 3rem;
            height: 3rem;
            text-align: center;
            font-size: 1.5rem;
            font-weight: bold;
            border-radius: 0.5rem;
            border: 2px solid rgba(255, 255, 255, 0.2);
            background: rgba(0, 0, 0, 0.3);
            color: white;
            transition: all 0.3s ease;
        }
        .verification-input:focus {
            outline: none;
            border-color: #60a5fa;
            box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.1);
        }
        .verification-input.filled {
            border-color: #10b981;
            background: rgba(16, 185, 129, 0.1);
        }

        /* ボタンアニメーション */
        .btn-animation {
            transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }
        
        .btn-animation:active {
            transform: scale(0.95);
        }
        
        .btn-pulse {
            animation: pulse 1.5s infinite;
        }
        
        @keyframes pulse {
            0% {
                box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.7);
            }
            70% {
                box-shadow: 0 0 0 10px rgba(255, 193, 7, 0);
            }
            100% {
                box-shadow: 0 0 0 0 rgba(255, 193, 7, 0);
            }
        }
        
        .btn-wobble {
            animation: wobble 1s ease-in-out infinite;
        }
        
        @keyframes wobble {
            0%, 100% {
                transform: translateX(0);
            }
            15% {
                transform: translateX(-5px) rotate(-2deg);
            }
            30% {
                transform: translateX(4px) rotate(2deg);
            }
            45% {
                transform: translateX(-3px) rotate(-1deg);
            }
            60% {
                transform: translateX(2px) rotate(1deg);
            }
            75% {
                transform: translateX(-1px) rotate(-0.5deg);
            }
        }
        
        /* 輝くエフェクト */
        .btn-shine {
            position: relative;
            overflow: hidden;
        }
        
        .btn-shine::after {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: linear-gradient(
                to right,
                rgba(255, 255, 255, 0) 0%,
                rgba(255, 255, 255, 0.3) 50%,
                rgba(255, 255, 255, 0) 100%
            );
            transform: rotate(30deg);
            animation: shine 3s infinite;
        }
        
        @keyframes shine {
            0% {
                transform: translateX(-100%) rotate(30deg);
            }
            100% {
                transform: translateX(100%) rotate(30deg);
            }
        }
        
        /* フッターボタン用の追加スタイル */
            position: relative;
            padding: 0.5rem;
            font-weight: 700;
            transition: all 0.2s ease;
            border-top: 4px solid transparent;
            overflow: hidden;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3), 
                        inset 0 1px 0 rgba(255, 255, 255, 0.2), 
                        inset 0 -2px 0 rgba(0, 0, 0, 0.3);
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
        }
        
            transform: scale(0.95);
        }
        
            box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3),
                        inset 0 1px 3px rgba(0, 0, 0, 0.4);
        }
        
            transform-origin: center;
            filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.5));
        }
        
        .drop-shadow-glow {
            filter: drop-shadow(0 0 3px rgba(255, 215, 0, 0.5));
        }
        
        /* コピーライト用スタイル */
        .copyright-section {
            position: relative;
            z-index: 10;
        }
        
        /* モダンなボタン効果 */
        .btn-modern {
            background: linear-gradient(135deg, #1a1a1a, #000000);
            border-left: 3px solid rgba(255, 255, 255, 0.1);
            transition: all 0.3s;
        }
        
        /* フローティングボタン */
        .floating-btn {
            transform: translateY(0);
            transition: transform 0.3s ease;
        }
        
        .floating-btn:hover {
            transform: translateY(-3px);
        }
        
        /* 目立つボタンスタイル */
        .btn-red {
            background: linear-gradient(to bottom, #e11d48, #9f1239);
            border-top: 4px solid #fb7185;
        }
        
        .btn-red:active {
            background: linear-gradient(to bottom, #be123c, #881337);
        }
        
        .btn-blue {
            background: linear-gradient(to bottom, #2563eb, #1e40af);
            border-top: 4px solid #60a5fa;
        }
        
        .btn-blue:active {
            background: linear-gradient(to bottom, #1d4ed8, #1e3a8a);
        }
        
        /* アイコン点滅アニメーション */
        @keyframes icon-pulse {
            0% {
                opacity: 0.8;
                transform: scale(0.95);
            }
            50% {
                opacity: 1;
                transform: scale(1.05);
            }
            100% {
                opacity: 0.8;
                transform: scale(0.95);
            }
        }
        
        .icon-pulse {
            animation: icon-pulse 2s ease-in-out infinite;
        }
        
        /* アイコンアニメーション */
        .icon-bounce {
            animation: icon-bounce 2s ease-in-out infinite;
        }
        
        @keyframes icon-bounce {
            0%, 100% {
                transform: translateY(0);
            }
            50% {
                transform: translateY(-4px);
            }
        }
        
        .icon-rotate {
            animation: icon-rotate 3s linear infinite;
        }
        
        @keyframes icon-rotate {
            0% {
                transform: rotate(0deg);
            }
            25% {
                transform: rotate(5deg);
            }
            75% {
                transform: rotate(-5deg);
            }
            100% {
                transform: rotate(0deg);
            }
        }
        
        /* タップヒント */
        .tap-hint {
            opacity: 0.8;
        }
        
        @keyframes btn-shine {
            0% {
                left: -100%;
            }
            20% {
                left: 100%;
            }
            100% {
                left: 100%;
            }
        }
        
        /* キラキラエフェクト */
        .sparkle-container {
            position: absolute;
            inset: 0;
            overflow: hidden;
            pointer-events: none;
        }
        
        .sparkle {
            position: absolute;
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background-color: rgba(255, 255, 255, 0.8);
            box-shadow: 0 0 10px 2px rgba(255, 255, 255, 0.6);
            pointer-events: none;
            opacity: 0;
        }
        
        .sparkle-1 {
            top: 20%;
            left: 10%;
            animation: sparkle-fade 2s infinite 0.2s;
        }
        
        .sparkle-2 {
            top: 60%;
            left: 40%;
            animation: sparkle-fade 2.5s infinite 0.7s;
        }
        
        .sparkle-3 {
            top: 30%;
            left: 80%;
            animation: sparkle-fade 1.8s infinite 1.2s;
        }
        
        @keyframes sparkle-fade {
            0% {
                opacity: 0;
                transform: scale(0);
            }
            50% {
                opacity: 1;
                transform: scale(1);
            }
            100% {
                opacity: 0;
                transform: scale(0);
            }
        }
        
        /* アイコンアニメーション */
        .icon-bounce {
            animation: icon-bounce 2s ease-in-out infinite;
        }
        
        @keyframes icon-bounce {
            0%, 100% {
                transform: translateY(0);
            }
            50% {
                transform: translateY(-4px);
            }
        }
        
        .icon-rotate {
            animation: icon-rotate 3s linear infinite;
        }
        
        @keyframes icon-rotate {
            0% {
                transform: rotate(0deg);
            }
            25% {
                transform: rotate(5deg);
            }
            75% {
                transform: rotate(-5deg);
            }
            100% {
                transform: rotate(0deg);
            }
        }
        
        /* 矢印アニメーション */
        .arrow-move {
            animation: arrow-move 1.5s ease-in-out infinite;
        }
        
        @keyframes arrow-move {
            0%, 100% {
                transform: translateX(0);
            }
            50% {
                transform: translateX(4px);
            }
        }
        
        /* タップヒント */
        .tap-hint {
            opacity: 0.8;
        }
        
        /* ファンタジー風見出し */
        .fantasy-heading {
            position: relative;
            margin-bottom: 1.5rem;
            text-align: center;
            width: 100%;
        }
        
        .fantasy-title {
            position: relative;
            display: block;
            width: 100%;
            padding: 0.8rem 1rem;
            font-size: 1.3rem;
            font-weight: bold;
            color: white;
            text-shadow: 0 2px 4px rgba(0,0,0,0.5);
            background: linear-gradient(to right, rgba(139, 69, 19, 0.8), rgba(165, 42, 42, 0.9), rgba(139, 69, 19, 0.8));
            border-top: 2px solid #ffd700;
            border-bottom: 2px solid #ffd700;
            box-shadow: 0 4px 8px rgba(0,0,0,0.3);
            overflow: hidden;
        }
        
        .fantasy-title::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h40v40H0V0zm40 40h-4v-4H4v4H0v-4h4v-4h4v4h4v-4h4v4h4v-4h4v4h4v-4h4v4h4v-4h4v4z' fill='%23ffd700' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
        }
        
        .fantasy-title::after {
            content: '';
            position: absolute;
            left: 10px;
            right: 10px;
            bottom: -4px;
            height: 2px;
            background: linear-gradient(to right, transparent, rgba(255, 215, 0, 0.6), transparent);
        }
        
        .fantasy-section-divider {
            position: relative;
            height: 4px;
            background: linear-gradient(to right, 
                transparent 0%, 
                rgba(184, 134, 11, 0.3) 20%, 
                rgba(184, 134, 11, 0.6) 50%, 
                rgba(184, 134, 11, 0.3) 80%, 
                transparent 100%);
            margin: 2rem 0;
            border-radius: 2px;
        }
        
        .fantasy-section-divider::before {
            content: '';
            position: absolute;
            width: 30px;
            height: 30px;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23b8860b'%3E%3Cpath d='M12 3L9 1 6 3 3 1v2l-2 1 2 1v2l3-2 3 2 3-2 3 2 3-2 3 2v-2l2-1-2-1v-2l-3 2-3-2-3 2-3-2z'/%3E%3C/svg%3E");
            background-size: cover;
            top: -13px;
            left: calc(50% - 15px);
        }
        
        /* レギュレーションセクションのスタイル */
        .regulation-frame {
            border: 2px solid #daa520;
            min-height: 300px;
        }
        
        .gift-option, .amount-option {
            position: relative;
        }
        
        .medal-option {
            position: relative;
        }
        
        /* タップアニメーション */
        .pointing-finger {
            position: relative;
        }
        
        .tap-animation {
            position: relative;
            width: 50px;
            height: 50px;
        }
        
        .tap-circle {
            position: absolute;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background-color: rgba(245, 158, 11, 0.2);
            top: 0;
            left: 0;
            transform-origin: center;
            animation: tap-anim 2s infinite;
        }
        
        @keyframes tap-anim {
            0% {
                transform: scale(0);
                opacity: 1;
            }
            100% {
                transform: scale(1.5);
                opacity: 0;
            }
        }
        
        /* 矢印アニメーション(強調版) */
        .arrow-move {
            animation: arrow-move-extend 1.5s ease-in-out infinite;
        }
        
        @keyframes arrow-move-extend {
            0% {
                transform: translateX(0);
            }
            50% {
                transform: translateX(8px);
            }
            100% {
                transform: translateX(0);
            }
        }
        
        /* フッターボタンロック状態のスタイル */
            background: linear-gradient(to bottom, #4a5568, #2d3748);
            border-top: 4px solid #718096;
            opacity: 0.85;
            cursor: not-allowed;
        }
        
            opacity: 0.7;
        }
        
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 24px;
            height: 24px;
            color: rgba(255, 255, 255, 0.7);
            filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
            z-index: 10;
        }
        
        .footer-spacer {
            height: 76px;
        }
        
            flex-shrink: 0;
        }
        
        /* ボタン内部のテキストをテキスト折り返しさせないよう修正 */
        .btn-inner {
            white-space: nowrap;
            width: 100%;
            justify-content: center;
        }
        
        @media (max-width: 360px) {
            .btn-inner {
                padding: 0 4px;
            }
            
                width: 7vw;
                height: 7vw;
            }
        }
        
        .gift-card:hover, .amount-card:hover, .medal-card:hover {
            transform: translateY(-2px);
        }
        
        @keyframes pulse-shine {
            0% { opacity: 0.3; }
            50% { opacity: 0.8; }
            100% { opacity: 0.3; }
        }
        
        .pulse-shine {
            animation: pulse-shine 2s infinite;
        }
        
        /* 追加:ステップ点滅アニメーション */
        @keyframes step-pulse {
            0% { opacity: 1; }
            50% { opacity: 0.7; }
            100% { opacity: 1; }
        }
        
        @keyframes step-marker-glow {
            0% { box-shadow: 0 0 0 0 rgba(250, 204, 21, 0.7); }
            70% { box-shadow: 0 0 0 8px rgba(250, 204, 21, 0); }
            100% { box-shadow: 0 0 0 0 rgba(250, 204, 21, 0); }
        }
        
        .step-active-pulse {
            animation: step-pulse 1.5s infinite ease-in-out;
            position: relative;
        }
        
        .step-active-pulse::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(90deg, 
                        rgba(220, 38, 38, 0) 0%, 
                        rgba(220, 38, 38, 0.2) 50%, 
                        rgba(220, 38, 38, 0) 100%);
            animation: shine-slide 2.5s infinite;
        }
        
        .step-marker-pulse {
            animation: step-marker-glow 1.5s infinite;
            position: relative;
        }
        
        @keyframes shine-slide {
            0% { background-position: -100% 0; }
            100% { background-position: 200% 0; }
        }
        
        /* タップ表示アニメーション */
        .tap-direction {
            position: relative;
        }
        
        /* 見出しデザイン - 新しく黒系でカッコいいスタイルに変更 */
        .modern-heading {
            position: relative;
            width: 100%;
            margin-bottom: 1rem;
            overflow: hidden;
        }
        
        .modern-title {
            position: relative;
            display: block;
            width: 100%;
            padding: 1rem 1.5rem;
            font-size: 1.2rem;
            font-weight: bold;
            color: white;
            text-shadow: 0 2px 4px rgba(0,0,0,0.5);
            background: linear-gradient(to right, #000000, #1a1a1a, #000000);
            border-left: 4px solid #dc2626;
            box-shadow: 0 4px 6px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.1);
            overflow: hidden;
            z-index: 1;
        }
        
        .modern-title::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 1px;
            background: linear-gradient(to right, transparent, rgba(255,255,255,0.3), transparent);
            z-index: 2;
        }
        
        .modern-title::after {
            content: '';
            position: absolute;
            left: -100%;
            top: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, 
                transparent 0%, 
                rgba(255,255,255,0.1) 50%, 
                transparent 100%);
            animation: modern-shine 3s infinite;
            z-index: 1;
        }
        
        @keyframes modern-shine {
            0% { left: -100%; }
            20%, 100% { left: 100%; }
        }
        
        /* 既存のファンタジー見出しのスタイルを上書き */
        .fantasy-heading {
            position: relative;
            margin-bottom: 1rem;
            text-align: left;
            width: 100%;
        }
        
        .fantasy-title {
            position: relative;
            display: block;
            width: 100%;
            padding: 1rem 1.5rem;
            font-size: 1.2rem;
            font-weight: bold;
            color: white;
            text-shadow: 0 2px 4px rgba(0,0,0,0.5);
            background: linear-gradient(to right, #000000, #1a1a1a, #000000);
            border-left: 4px solid #dc2626;
            box-shadow: 0 4px 6px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.1);
            overflow: hidden;
        }
        
        .fantasy-title::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 1px;
            background: linear-gradient(to right, transparent, rgba(255,255,255,0.3), transparent);
        }
        
        .fantasy-title::after {
            content: '';
            position: absolute;
            left: -100%;
            top: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, 
                transparent 0%, 
                rgba(255,255,255,0.1) 50%, 
                transparent 100%);
            animation: modern-shine 3s infinite;
        }

        /* 最新のCSS効果 */
        .modern-glow {
            box-shadow: 0 0 10px rgba(255, 255, 255, 0.4),
                        0 0 20px rgba(255, 215, 0, 0.3);
        }

        @keyframes modern-shine {
            0% { background-position: -100% 0; }
            100% { background-position: 200% 0; }
        }
        
        .modern-button {
            position: relative;
            overflow: hidden;
            z-index: 1;
        }
        
        .modern-button::after {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
            transition: 0.6s;
            z-index: -1;
        }
        
        .modern-button:hover::after {
            left: 100%;
            animation: modern-shine 3s infinite;
        }

        /* ジャックポットUIのアニメーション */
        .text-shadow-lg {
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
        }
        
        .text-glow-gold {
            text-shadow: 0 0 10px rgba(255, 215, 0, 0.7), 
                        0 0 20px rgba(255, 215, 0, 0.5);
        }
        
        .shadow-glow-lg {
            box-shadow: 0 0 15px 5px rgba(255, 165, 0, 0.5);
        }
        
        
        
      

        /* 最新のCSS効果 */
        .modern-glow {
            box-shadow: 0 0 10px rgba(255, 255, 255, 0.4),
                        0 0 20px rgba(255, 215, 0, 0.3);
        }

        @keyframes modern-shine {
            0% { background-position: -100% 0; }
            100% { background-position: 200% 0; }
        }
        
        .modern-button {
            position: relative;
            overflow: hidden;
            z-index: 1;
        }
        
        .modern-button::after {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
            transition: 0.6s;
            z-index: -1;
        }
        
        .modern-button:hover::after {
            left: 100%;
            animation: modern-shine 3s infinite;
        }

        /* アニメーション修正・追加 */
        @keyframes shine {
            0% { background-position: -100% 0; }
            100% { background-position: 200% 0; }
        }
        
        .animate-shine {
            background: linear-gradient(to right, 
                rgba(255,255,255,0) 0%, 
                rgba(255,255,255,0.3) 25%, 
                rgba(255,255,255,0.5) 50%, 
                rgba(255,255,255,0.3) 75%, 
                rgba(255,255,255,0) 100%);
            background-size: 200% 100%;
            animation: shine 2s infinite linear;
        }

        .animate-bounce-slow {
            animation: bounce-slow 2s infinite;
        }
        
        /* 新しいボタンアニメーション */
        .pattern-grid-lg {
            background-image: 
                linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
            background-size: 10px 10px;
        }
        
        .flash-effect {
            background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
            animation: flash 2.5s infinite;
            transform: skewX(-20deg);
        }
        
        @keyframes flash {
            0% { transform: translateX(-100%) skewX(-20deg); }
            20%, 100% { transform: translateX(200%) skewX(-20deg); }
        }
        
        .particle {
            position: absolute;
            width: 4px;
            height: 4px;
            border-radius: 50%;
            background-color: rgba(255, 165, 0, 0.7);
            box-shadow: 0 0 6px 2px rgba(255, 215, 0, 0.5);
            opacity: 0;
        }
        
        .particle-1 {
            top: 20%;
            left: 0;
            animation: particle-move-1 3s infinite;
        }
        
        .particle-2 {
            top: 50%;
            left: 0;
            animation: particle-move-2 2.7s infinite 0.3s;
        }
        
        .particle-3 {
            top: 80%;
            left: 0;
            animation: particle-move-3 3.4s infinite 0.7s;
        }
        
        @keyframes particle-move-1 {
            0% { opacity: 0; left: 0; transform: translateY(0); }
            10% { opacity: 1; }
            70% { opacity: 1; }
            100% { opacity: 0; left: 100%; transform: translateY(-20px); }
        }
        
        @keyframes particle-move-2 {
            0% { opacity: 0; left: 0; transform: translateY(0); }
            10% { opacity: 1; }
            70% { opacity: 1; }
            100% { opacity: 0; left: 100%; transform: translateY(15px); }
        }
        
        @keyframes particle-move-3 {
            0% { opacity: 0; left: 0; transform: translateY(0); }
            10% { opacity: 1; }
            70% { opacity: 1; }
            100% { opacity: 0; left: 100%; transform: translateY(-10px); }
        }
        
        .arrow-jump {
            animation: arrow-jump 1.5s ease-in-out infinite;
        }
        
        @keyframes arrow-jump {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-4px); }
        }
        
        /* 矢印アニメーション */
        .animate-pulse-slow {
            animation: pulse-slow 2s infinite ease-in-out;
        }
        
        @keyframes pulse-slow {
            0%, 100% { opacity: 0.7; transform: scale(1); }
            50% { opacity: 1; transform: scale(1.1); }
        }

        /* ジャックポットデモから移植したスタイル */
        .top-bubble-effect {
            position: relative;
            overflow: hidden;
        }
        .top-bubble {
            position: absolute;
            background: rgba(255, 220, 180, 0.3);
            border-radius: 50%;
            animation: top-bubble-rise 4s infinite ease-in;
            bottom: -20px;
            opacity: 0;
            box-shadow: 0 0 3px rgba(255,220,180,0.2);
        }
        @keyframes top-bubble-rise {
            0% {
                transform: translateY(0) scale(0.2);
                opacity: 0;
            }
            20% {
                opacity: 0.8;
            }
            90% {
                opacity: 0.4;
            }
            100% {
                transform: translateY(-100px) scale(0.8);
                opacity: 0;
            }
        }
        .top-luxury-gauge {
            padding: 3px; 
            border-radius: 8px; 
            position: relative;
            background-color: rgba(25, 0, 15, 0.3);
            --neon-pink-primary: #ff40a0;
            --neon-pink-glow: #ff80c0;
            --neon-shadow-color: rgba(180, 0, 90, 0.4);
            box-shadow:
                0 0 2.5px var(--neon-pink-glow),
                0 0 5px var(--neon-pink-glow),
                0 0 8px var(--neon-pink-primary),
                0 0 13px var(--neon-shadow-color),
                inset 0 0 2px var(--neon-pink-glow),
                inset 0 0 4px var(--neon-pink-primary);
        }
        .top-luxury-gauge-progress {
            background: linear-gradient(
                135deg, 
                #ff7e7e, /* ソフトレッド */
                #ffbe7e, /* ソフトオレンジ */
                #ffff99, /* ソフトイエロー */
                #99ff99, /* ソフトグリーン */
                #7ec0ff, /* ソフトスカイブルー */
                #be7eff, /* ソフトパープル */
                #ff7ec0, /* ソフトピンク */
                #ff7e7e /* ループ */
            );
            background-size: 400% 100%;
            animation: top-flowingSoftRainbow 6s linear infinite;
            box-shadow: 
                inset 0 1px 2px rgba(0, 0, 0, 0.2),
                inset 0 -1px 1px rgba(255,255,255,0.1);
            border-radius: 4px;
            position:relative;
        }
        .digital-timer {
            font-family: 'Courier New', monospace;
            background: rgba(0, 10, 20, 0.7);
            border: 1px solid #00aaff;
            border-radius: 4px;
            padding: 0.25rem 0.5rem;
            color: #00e6e6;
            text-shadow: 0 0 3px #00ffff, 0 0 6px #00aaff;
            box-shadow: 0 0 5px #00aaff, inset 0 0 3px rgba(0,255,255,0.3);
            display: inline-block;
            letter-spacing: 1px;
        }
        .digital-timer.max-effect-timer { 
            font-size: 2.3rem; 
            padding: 0.5rem 1rem;
            border-width: 2px;
            border-color: #00ffff;
            color: #e6ffff;
            background: rgba(0,5,15,0.8);
            text-shadow: 0 0 5px #00ffff, 0 0 10px #00ffff, 0 0 15px #00aaff, 1px 1px 2px #000;
            animation: timerPulseBlueNeon 0.7s infinite alternate;
        }
        @keyframes timerPulseBlueNeon {
            from { transform: scale(1); box-shadow: 0 0 5px #00ffff, 0 0 10px #00aaff; }
            to   { transform: scale(1.02); box-shadow: 0 0 8px #00ffff, 0 0 15px #00aaff, 0 0 20px #80ffff; }
        }
        .top-max-text-display span { 
            display: inline-block;
            color: #FFD700;
            background: none;
            -webkit-text-fill-color: currentColor;
            animation: top-maxTextGentlePop 1.2s cubic-bezier(0.4, 0, 0.2, 1) both;
            text-shadow: 
                 0 0 2px rgba(255,215,0,0.7),
                 0 0 5px rgba(255,215,0,0.5),
                 0 0 8px rgba(255,165,0,0.3),
                 0 0 6px rgba(0, 174, 255, 0.2),
                 0 0 10px rgba(0, 174, 255, 0.15);
        }
        .top-max-text-display span:nth-child(1) { animation-delay: 0.1s; }
        .top-max-text-display span:nth-child(2) { animation-delay: 0.2s; }
        .top-max-text-display span:nth-child(3) { animation-delay: 0.3s; }
        .top-max-text-display span:nth-child(4) { animation-delay: 0.4s; }
        .top-max-text-display span:nth-child(5) { animation-delay: 0.5s; }
        /* .animate-shimmer と @keyframes shimmer は index3.html に既に存在していれば不要 */
        /* もし存在しない場合は以下を追加 */
        .top-wave-effect {
            background: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1) 10px, transparent 10px, transparent 20px);
            animation: top-wave 5s linear infinite;
        }
        .top-wave-effect-reverse {
            background: repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1) 10px, transparent 10px, transparent 20px);
            animation: top-wave-reverse 7s linear infinite;
        }
        .border-heavy-gold { 
            padding: 0rem 0rem 0.5rem;
            border-radius: 0.75rem; 
            background-color: #1e293b; 
            border: 1px solid #06b6d4;
            box-shadow: 0 10px 15px -3px rgba(6, 182, 212, 0.2), 0 4px 6px -4px rgba(6, 182, 212, 0.2);
        }
        .animate-flame-background {
           background-color: #0f172a;
           position: relative; 
           overflow: hidden; 
        }
        .particle-container::before,
        .particle-container::after {
            content: '';
            position: absolute;
            top: 100%; 
            left: 0;
            width: 100%; 
            height: 100%;
            pointer-events: none;
        }
        .particle-container::before {
            animation: rise-particles-small 10s linear infinite; 
            box-shadow: 
                10vw 80vh 0 0px rgba(0,255,255,0.8), 25vw 40vh 0 1px rgba(100,200,255,0.7),
                40vw 90vh 0 0px rgba(200,220,255,0.85), 55vw 10vh 0 1px rgba(0,200,255,0.7),
                70vw 70vh 0 0px rgba(150,230,255,0.9), 85vw 30vh 0 1px rgba(0,150,255,0.65),
                5vw 20vh 0 1px rgba(220,240,255,0.75), 20vw 60vh 0 0px rgba(50,180,255,0.8),
                15vw 50vh 0 1px rgba(0,255,255,0.7), 30vw 25vh 0 0px rgba(180,200,255,0.8);
            width: 1.5px; height: 1.5px; 
        }
        .particle-container::after {
            animation: rise-particles-large 8s linear infinite 0.5s; 
            box-shadow:
                10vw 90vh 1px 1px rgba(0,255,255,0.85), 25vw 20vh 0px 1px rgba(120,220,255,0.75), 
                40vw 70vh 1px 1px rgba(200,230,255,0.9), 55vw 40vh 0px 1px rgba(0,200,255,0.7),
                5vw 60vh 1px 1px rgba(100,200,255,0.8), 20vw 85vh 0px 1px rgba(220,240,255,0.95);
            width: 2.5px; height: 2.5px; 
        }
        @keyframes rise-particles-small {
          0% {
            transform: translateY(0) scale(0.7);
            opacity: 0;
          }
          10%, 90% { 
            opacity: 0.9;
            filter: blur(0.2px) brightness(1.2); 
          }
          100% {
            transform: translateY(-150vh) scale(1);
            opacity: 0;
            filter: blur(0.5px);
          }
        }
        @keyframes rise-particles-large {
          0% {
            transform: translateY(0) scale(0.8); 
            opacity: 0;
          }
          10%, 80% { 
            opacity: 1;
            filter: blur(0.5px) brightness(1.3); 
          }
          100% {
            transform: translateY(-120vh) scale(1.3); 
            opacity: 0;
            filter: blur(1px);
          }
        }
        .text-glow-gold {
            color: #33ccff !important;
            text-shadow: 0 0 4px #00ffff, 0 0 8px #00aaff, 0 0 12px #0077cc;
        }
        .warning-text-enhanced {
            background-color: rgba(30, 20, 0, 0.75);
            padding: 0.3rem 0.6rem;
            border-radius: 0.375rem;
            color: #fef3c7;
            font-weight: bold;
            font-size: 1.15rem;
            text-shadow: 0 0 2px rgba(0,0,0,0.7), 0 0 5px #ff8c00;
            display: inline-block;
            white-space: nowrap;
        }

        /* 既存の .text-shadow-lg があれば、こちらの定義は不要かもしれません。 */
        /* jackpot-demo.html にはありましたが、index3.html にも同名クラスがあるか確認してください。*/
        /*
        .text-shadow-lg {
            text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
        }
        */
        /* 既存の .animate-shimmer, @keyframes shimmer があれば、こちらの定義は不要です。 */
        /* jackpot-demo.html からのもので、index3.html にも同名のものがあるか確認してください。 */

        

        /* Inventory Section CSS */
        .inv-section-medal-item {
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        .inv-section-medal-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        }
        .inv-section-medal-item img {
            filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.2));
        }
        .inv-section-medal-item p {
            color: #e5e7eb;
        }
        .inv-section-medal-item .inv-section-medal-count {
            color: #f3f4f6;
        }
        .inv-section-medal-item.inv-section-crystal::before {
            content: '';
            position: absolute;
            inset: 0;
            background: radial-gradient(circle at center, rgba(255,255,255,0.15), transparent 70%);
            animation: inv-section-pulse-anim 2s infinite;
            border-radius: inherit;
            z-index: 0;
        }
        .inv-section-medal-item.inv-section-crystal > * {
            position: relative;
            z-index: 1;
        }
        @keyframes inv-section-pulse-anim {
            0%, 100% {
                transform: scale(1);
                opacity: 0.6;
            }
            50% {
                transform: scale(1.05);
                opacity: 1;
            }
        }
        .inv-section-inventory-gacha-button {
            display: none;
            margin-top: 0.5rem;
            padding: 0.1rem 0.3rem;
            background-color: #f59e0b;
            color: white;
            font-size: 0.6rem;
            border-radius: 0.25rem;
            text-align: center;
            cursor: pointer;
            transition: background-color 0.3s ease, transform 0.3s ease;
            animation: inv-section-inventory-pulse 1.5s infinite;
        }
        .inv-section-inventory-gacha-button:hover {
            background-color: #d97706;
            transform: scale(1.1);
        }
        @keyframes inv-section-inventory-pulse {
            0%, 100% {
                transform: scale(1);
            }
            50% {
                transform: scale(1.05);
            }
        }
        
  
      
        /* brand-section-frame と brand-section-header のカスタムスタイルは、新しい構造に合わせて見直し */  /* 主にTailwindクラスでスタイリングするため、不要なものは削除 */

        .top-brand-swiper-container {
            padding: 1rem 0.75rem;
            position: relative;
        }
        .top-brand-swiper {
            overflow: visible;
            margin-left: 0.25rem;
            margin-right: 0.25rem;
        }
        .top-brand-swiper .swiper-slide {
            width: 170px;
            height: auto;
            flex-shrink: 0;
            display: flex;
            flex-direction: column;
            align-items: center;
            box-sizing: border-box;
            background-color: #374151; /* bg-gray-700 カード背景 */
            border-radius: 0.5rem; /* rounded-lg */
            box-shadow: 0 4px 6px -1px rgba(0,0,0,0.3), 0 2px 4px -1px rgba(0,0,0,0.2);
            padding: 0.625rem;
            color: white;
        }
        .top-brand-swiper .swiper-slide img.top-brand-image {
            width: 100%;
            height: 90px;
            object-fit: cover;
            border-radius: 0.375rem;
            margin-bottom: 0.375rem;
        }
        .top-brand-swiper .swiper-slide h3 {
            font-size: 0.875rem;
            font-weight: 600;
            color: #ffc107; /* text-accent */
            margin-bottom: 0.125rem;
            text-align: center;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            width: 100%;
        }
        .top-brand-swiper .swiper-slide .top-product-name {
            font-size: 0.75rem;
            color: #d1d5db;
            margin-bottom: 0.25rem;
            text-align: center;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            width: 100%;
            min-height: 1rem;
        }
        .top-brand-swiper .swiper-slide .top-price-info {
            font-size: 0.75rem;
            margin-bottom: 0.5rem;
            text-align: center;
            width: 100%;
            min-height: 2.8em; 
        }
        .top-brand-swiper .swiper-slide .top-price-info .top-original-price {
            color: #9ca3af;
            text-decoration: line-through;
            font-size: 0.6875rem;
            display: block;
        }
        .top-brand-swiper .swiper-slide .top-price-info .top-rion-price-label {
            color: #ffc107; /* text-accent */
            font-weight: 700;
            font-size: 0.75rem;
            display: block;
        }
        .top-brand-swiper .swiper-slide .top-favorite-btn {
            font-size: 0.75rem;
            padding: 0.375rem 0.625rem;
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: #dc2626; /* red-600 */
        }
        .top-brand-swiper .swiper-slide .top-favorite-btn svg {
            width: 0.875rem;
            height: 0.875rem;
            margin-right: 0.25rem;
        }
        .top-brand-swiper .swiper-slide .top-favorite-btn.favorited { background-color: #eab308; /* yellow-500 */ }

        .top-brand-swiper .swiper-button-next,
        .top-brand-swiper .swiper-button-prev {
            color: #ffc107; /* text-accent */
            width: 32px !important;
            height: 32px !important;
            background-color: rgba(17, 24, 39, 0.6); 
            border: 1px solid #4b5563; /* border-gray-600 */
            border-radius: 50%;
            top: 50%;
            transform: translateY(-50%) scale(0.6);
            opacity: 0.7;
            transition: opacity 0.2s, background-color 0.2s, transform 0.2s;
        }
        .top-brand-swiper-container:hover .swiper-button-next,
        .top-brand-swiper-container:hover .swiper-button-prev {
            opacity: 1;
            transform: translateY(-50%) scale(0.65);
        }
        .top-brand-swiper .swiper-button-next { right: 0px; }
        .top-brand-swiper .swiper-button-prev { left: 0px; }
        .top-brand-swiper .swiper-button-next::after,
        .top-brand-swiper .swiper-button-prev::after {
            font-size: 14px !important;
            font-weight: bold;
        }

        .top-view-more-brands-button-container {
            text-align: center;
            padding-top: 1.5rem; /* スライダーとの間隔を広げる (0.5rem -> 1.5rem) */
            padding-bottom: 0.75rem;
        }
        .top-view-more-brands-button {
            /* 新しいボタンスタイル - theme() を直接的な値に修正 */
            background-image: linear-gradient(to right, #eab308, #ca8a04); /* yellow-500, yellow-600 */
            color: #111827; /* gray-900 */
            font-weight: 700; /* font-bold */
            padding: 0.75rem 1.5rem; /* py-3 px-6 */
            border-radius: 0.5rem; /* rounded-lg */
            border: 2px solid #facc15; /* yellow-400 */
            box-shadow: 0 10px 15px -3px rgba(0,0,0,0.2), 0 4px 6px -2px rgba(0,0,0,0.1); /* shadow-lg */
            display: inline-flex; /* アイコンとの配置のため */
            align-items: center;
            text-decoration: none; /* aタグのデフォルト下線消去 */
            transition-property: all;
            transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
            transition-duration: 200ms;
        }
        .top-view-more-brands-button:hover {
            transform: scale(1.05);
            box-shadow: 0 20px 25px -5px rgba(0,0,0,0.2), 0 10px 10px -5px rgba(0,0,0,0.1); /* shadow-xl */
        }
        .top-view-more-brands-button svg {
            width: 1.25rem; /* w-5 */
            height: 1.25rem; /* h-5 */
            margin-left: 0.5rem; /* ml-2 */
        }

        #brandImageModal { background-color: rgba(0,0,0,0.9); display: flex; align-items: center; justify-content: center; padding: 0.5rem; z-index: 5000; }
        #brandImageModal.hidden { display: none; }
        #brandModalImage { max-width: calc(100vw - 1rem); max-height: calc(100vh - 5rem); object-fit: contain; border-radius: 0.25rem; }
        #closeBrandModalBtn { position: absolute;top: 1rem;right: 1rem;font-size: 2rem;line-height: 1;color: #cccccc;background-color: rgba(40,40,40,0.7);border-radius: 50%;width: 36px;height: 36px;display: flex;align-items: center;justify-content: center;cursor: pointer;transition: background-color 0.2s, color 0.2s;z-index: 5010; }
        #closeBrandModalBtn:hover { background-color: rgba(0,0,0,0.8); color: white; }

        .btn { transition: all 0.2s ease-in-out; border-radius: 9999px; }
        .btn:active { transform: scale(0.96); }
        


        .inv-section-game-status-bar {
            max-width: 800px;
            margin: 0 auto;
        }
        .inv-section-game-status-bar .bg-gradient-to-r {
            background: linear-gradient(to right, #3b82f6, #6366f1);
        }
        .top-inv-section-medal-item {
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        .top-inv-section-medal-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        }
        .top-inv-section-medal-item img {
            filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.2));
        }
        .top-inv-section-medal-item p {
            color: #e5e7eb;
        }
        .top-inv-section-medal-item .top-inv-section-medal-count {
            color: #f3f4f6;
        }
        .top-inv-section-medal-item.inv-section-crystal::before {
            content: '';
            position: absolute;
            inset: 0;
            background: radial-gradient(circle at center, rgba(255,255,255,0.15), transparent 70%);
            animation: inv-section-pulse-anim 2s infinite;
            border-radius: inherit;
            z-index: 0;
        }
        .top-inv-section-medal-item.inv-section-crystal > * {
            position: relative;
            z-index: 1;
        }
        @keyframes inv-section-pulse-anim {
            0%, 100% {
                transform: scale(1);
                opacity: 0.6;
            }
            50% {
                transform: scale(1.05);
                opacity: 1;
            }
        }
        .inv-section-inventory-gacha-button {
            display: none;
            margin-top: 0.5rem;
            padding: 0.1rem 0.3rem;
            background-color: #f59e0b;
            color: white;
            font-size: 0.6rem;
            border-radius: 0.25rem;
            text-align: center;
            cursor: pointer;
            transition: background-color 0.3s ease, transform 0.3s ease;
            animation: inv-section-inventory-pulse 1.5s infinite;
        }
        .inv-section-inventory-gacha-button:hover {
            background-color: #d97706;
            transform: scale(1.1);
        }
        @keyframes inv-section-inventory-pulse {
            0%, 100% {
                transform: scale(1);
            }
            50% {
                transform: scale(1.05);
            }
        }
        
        /* アイテム一覧セクション用スタイル */
        .inv-section-game-status-bar {
            max-width: 576px; /* max-w-xl */
            margin: 0 auto;
        }
        .inv-section-game-status-bar .bg-gradient-to-r {
            background: linear-gradient(to right, #1f2937, #111827);
        }
        .inv-section-medal-item {
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        .inv-section-medal-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        }
        .inv-section-medal-item img {
            filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.2));
        }
        .inv-section-medal-item p {
            color: #e5e7eb;
        }
        .inv-section-medal-item .inv-section-medal-count {
            color: #f3f4f6;
        }
        .inv-section-medal-item.inv-section-crystal::before {
            content: '';
            position: absolute;
            inset: 0;
            background: radial-gradient(circle at center, rgba(255,255,255,0.15), transparent 70%);
            animation: inv-section-pulse-anim 2s infinite;
            border-radius: inherit;
            z-index: 0;
        }
        .inv-section-medal-item.inv-section-crystal > * {
            position: relative;
            z-index: 1;
        }
        @keyframes inv-section-pulse-anim {
            0%, 100% {
                transform: scale(1);
                opacity: 0.6;
            }
            50% {
                transform: scale(1.05);
                opacity: 1;
            }
        }
        .inv-section-inventory-gacha-button {
            display: none;
            margin-top: 0.5rem;
            padding: 0.1rem 0.3rem;
            background-color: #f59e0b;
            color: white;
            font-size: 0.6rem;
            border-radius: 0.25rem;
            text-align: center;
            cursor: pointer;
            transition: background-color 0.3s ease, transform 0.3s ease;
            animation: inv-section-inventory-pulse 1.5s infinite;
        }
        .inv-section-inventory-gacha-button:hover {
            background-color: #d97706;
            transform: scale(1.1);
        }
        @keyframes inv-section-inventory-pulse {
            0%, 100% {
                transform: scale(1);
            }
            50% {
                transform: scale(1.05);
            }
        }

        /* SwitchLP セクション用スタイル */
        .electric-board {
            background: linear-gradient(90deg, #111 60%, #222 100%);
            color: #00ffe7;
            padding: 12px 0;
            overflow: hidden;
            position: relative;
            border-bottom: 3px solid #00ffe7;
            box-shadow: 0 2px 16px 0 rgba(0,255,200,0.15);
            z-index: 20;
        }
        .electric-text {
            display: inline-block;
            font-family: 'Courier New', Courier, monospace;
            font-size: 1.2rem;
            font-weight: bold;
            white-space: nowrap;
            color: #00ffe7;
            text-shadow: 0 0 8px #00ffe7, 0 0 2px #fff;
            animation: electric-marquee 10s linear infinite;
            letter-spacing: 0.1em;
        }
        @keyframes electric-marquee {
            0% { transform: translateX(100%); }
            100% { transform: translateX(-100%); }
        }

        /* ヒーローエリア */
        .hero-section {
            position: relative;
            top: 0px;
            overflow: hidden;
            background: linear-gradient(135deg, #fef3c7, #fde68a);
        }

        /* 背景画像 */
        .hero-bg {
            width: 100%;
            height: auto;
            display: block;
        }

        /* メインテキスト */
        .main-text {
            position: absolute;
            top: 31.5%;
            left: 0%;
            right: 0%;
            margin: auto;
            width: 85%;
            z-index: 3;
            opacity: 0;
            animation: zoomInBounce 1.2s ease-out 0.8s forwards;
        }

        /* ボタンコンテナ */
        .button-container {
            position: absolute;
            top: 75%;
            left: 0%;
            right: 0%;
            margin: auto;
            display: flex;
            flex-direction: column;
            gap: 12px;
            align-items: center;
            width: 70%;
            z-index: 3;
            opacity: 0;
            animation: slideInUp 1s ease-out 1.5s forwards;
        }

        /* ボタンスタイル */
        .social-btn {
            display: block;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            filter: drop-shadow(0 8px 16px rgba(0,0,0,0.3));
            transform: scale(1);
            cursor: pointer;
        }

        .social-btn:hover {
            transform: scale(1.08) translateY(-5px);
            filter: drop-shadow(0 12px 24px rgba(0,0,0,0.4));
        }

        .social-btn:active {
            transform: scale(0.95) translateY(-2px);
        }

        .social-btn img {
            width: 85%;
            height: auto;
            left: 0;
            right: 0;
            margin: 0 auto;
            border-radius: 12px;
        }

        /* 改良されたアニメーション */
        @keyframes zoomInBounce {
            0% {
                opacity: 0;
                transform: scale(0.3);
            }
            60% {
                opacity: 1;
                transform: scale(1.1);
            }
            80% {
                transform: scale(0.95);
            }
            100% {
                opacity: 1;
                transform: scale(1);
            }
        }

        @keyframes slideInUp {
            0% {
                opacity: 0;
                transform: translateY(80px) scale(0.8);
            }
            60% {
                opacity: 1;
                transform: translateY(-10px) scale(1.05);
            }
            100% {
                opacity: 1;
                transform: translateY(0) scale(1);
            }
        }

        /* モーダルスタイル */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.75);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }

        .modal-overlay.show {
            opacity: 1;
            visibility: visible;
        }

        .modal-content {
            background: white;
            padding: 2rem;
            border-radius: 16px;
            max-width: 400px;
            width: 90%;
            max-height: 80vh;
            overflow-y: auto;
            position: relative;
            transform: scale(0.8);
            transition: transform 0.3s ease;
        }

        .modal-overlay.show .modal-content {
            transform: scale(1);
        }

        .close-btn {
            position: absolute;
            top: 1rem;
            right: 1rem;
            background: none;
            border: none;
            font-size: 1.5rem;
            cursor: pointer;
            color: #666;
        }

        .close-btn:hover {
            color: #333;
        }

        .sns-login-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 12px 20px;
            margin: 8px 0;
            border-radius: 8px;
            text-decoration: none;
            font-weight: bold;
            color: white;
            transition: all 0.3s ease;
            gap: 10px;
        }

        .sns-login-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0,0,0,0.2);
        }

        .line-btn {
            background: linear-gradient(135deg, #00B900, #00C300);
        }

        .facebook-btn {
            background: linear-gradient(135deg, #1877F2, #42A5F5);
        }

        .sns-icon {
            width: 24px;
            height: 24px;
            fill: currentColor;
        }

        /* レスポンシブ対応 */
        @media (max-width: 768px) {
            .main-text {
                top: 31.5%;
                width: 88%;
            }

            .button-container {
                top: 75%;
                width: 80%;
                gap: 10px;
            }

            .social-btn img {
                width: 80%;
                height: auto;
            }
        }

        @media (max-width: 480px) {
            .main-text {
                top: 31.5%;
                width: 88%;
            }

            .button-container {
                top: 75%;
                width: 90%;
                gap: 8px;
            }

            .social-btn img {
                width: 97%;
                height: auto;
            }
        }
        
        /* Rainbow Effect Animation */
        @keyframes rainbow-effect {
            0% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }

    /* シンプルなガチャボタンスタイル */
    .gacha-button {
        transition: transform 0.3s ease;
        transform: scale(var(--scale, 1)) translate(calc(var(--x, 0) * 1px), calc(var(--y, 0) * 1px));
        /* ボタンがクリック可能であることを示す */
        cursor: pointer;
    }
    
    /* モバイル用の基本調整 */
    @media (max-width: 640px) {
        .gacha-button {
            --scale: 0.9;
        }
    }
    
    /* 高級感のある抽選ボタン */
    .lottery-btn {
        background: linear-gradient(135deg, #a90329 0%, #8f0222 48%, #6d0019 100%);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 6px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3),
                    inset 0 1px 0 rgba(255, 255, 255, 0.3),
                    inset 0 -1px 0 rgba(0, 0, 0, 0.3);
        text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
        transform-style: preserve-3d;
        transition: all 0.2s ease;
    }
    
    .lottery-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 50%;
        background: linear-gradient(to bottom, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
        border-radius: 6px 6px 0 0;
        pointer-events: none;
        z-index: 10;
    }
    
    .lottery-btn::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: repeating-linear-gradient(
            -45deg,
            rgba(255, 215, 0, 0.1),
            rgba(255, 215, 0, 0.1) 5px,
            rgba(255, 215, 0, 0.2) 5px,
            rgba(255, 215, 0, 0.2) 10px
        );
        border-radius: 6px;
        opacity: 0;
        transition: opacity 0.3s ease;
        z-index: 5;
    }
    
    .lottery-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 10px rgba(0, 0, 0, 0.4),
                    inset 0 1px 0 rgba(255, 255, 255, 0.3),
                    inset 0 -1px 0 rgba(0, 0, 0, 0.3);
    }
    
    .lottery-btn:hover::after {
        opacity: 1;
    }
    
    .lottery-btn:active {
        transform: translateY(1px);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3),
                    inset 0 1px 2px rgba(0, 0, 0, 0.4);
    }
    
    /* 追加のアニメーション */
    @keyframes pulse-gold {
        0% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.4); }
        70% { box-shadow: 0 0 0 10px rgba(255, 215, 0, 0); }
        100% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0); }
    }
    
    .lottery-btn {
        animation: pulse-gold 2s infinite;
    }
    
    /* HDボタン専用スタイル - このページにのみ適用 */
    .hd-button-container {
        position: relative;
        cursor: pointer;
        transition: all 0.3s ease;
        min-width: 100px;
        background: transparent;
        padding: 3px;
    }
    
    .hd-button-img {
        filter: none;
        transition: all 0.3s ease;
        animation: float-animation 3s ease-in-out infinite;
        display: block;
    }
    
    .hd-button-container:hover .hd-button-img {
        transform: scale(1.1);
    }
    
    .hd-button-container:active .hd-button-img {
        transform: scale(0.95);
        transition: all 0.1s ease;
    }
    
    @keyframes float-animation {
        0% { transform: translateY(0); }
        50% { transform: translateY(-6px); }
        100% { transform: translateY(0); }
    }
    
    /* ファンタジーRPG風のスクロール情報ボックス */
    .fantasy-scroll-box {
        background: linear-gradient(to bottom, #4b1d1d, #2c0b0b);
        border: 2px solid #7e5516;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4), 
                    inset 0 0 10px rgba(255, 215, 0, 0.1);
        position: relative;
    }
    
    .fantasy-scroll-box:before {
        content: '';
        position: absolute;
        top: 4px;
        left: 4px;
        right: 4px;
        bottom: 4px;
        border: 1px solid rgba(255, 215, 0, 0.3);
        border-radius: 4px;
        pointer-events: none;
    }
    
    .scroll-edges:before, .scroll-edges:after {
        content: '';
        position: absolute;
        width: 20px;
        height: 100%;
        top: 0;
        background-repeat: repeat-y;
        z-index: 2;
    }
    
    .scroll-edges:before {
        left: 0;
        background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0 L 20 0 L 15 10 L 20 20 L 0 20 Z' fill='%23511d1d' opacity='0.5'/%3E%3C/svg%3E");
    }
    
    .scroll-edges:after {
        right: 0;
        background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 0 L 0 0 L 5 10 L 0 20 L 20 20 Z' fill='%23511d1d' opacity='0.5'/%3E%3C/svg%3E");
    }
    
    .scroll-content {
        position: relative;
        z-index: 1;
    }
    
    .scroll-content:after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 10 L 90 10 L 90 90 L 10 90 Z' stroke='%23ffd70040' stroke-width='1' fill='none'/%3E%3C/svg%3E");
        opacity: 0.1;
        pointer-events: none;
    }
    
    /* ファンタジーRPG風の羊皮紙情報ボックス */
    .fantasy-parchment-box {
        background: #f5e8c9;
        background-image: 
            radial-gradient(ellipse at center, rgba(214, 185, 139, 0.1) 0%, rgba(214, 185, 139, 0.3) 100%),
            url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.5' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100' height='100' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
        border: 2px solid #b08d57;
        border-radius: 8px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        overflow: hidden;
    }
    
    .fantasy-parchment-box:before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 10px;
        background: linear-gradient(to bottom, rgba(169, 125, 62, 0.3), transparent);
    }
    
    .fantasy-parchment-box:after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 10px;
        background: linear-gradient(to top, rgba(169, 125, 62, 0.3), transparent);
    }
    
    .parchment-content {
        position: relative;
    }
    
    .parchment-content p {
        text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
    }
    
    /* ファンタジーRPG風のクリスタル情報ボックス */
    .fantasy-crystal-box {
        background: linear-gradient(to bottom, #041832, #0a2955);
        border: 2px solid #5389c2;
        border-radius: 8px;
        box-shadow: 0 4px 15px rgba(83, 137, 194, 0.5), 
                    inset 0 0 20px rgba(126, 212, 255, 0.1);
        overflow: hidden;
    }
    
    .crystal-glow {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(45deg, rgba(83, 137, 194, 0.1), rgba(83, 137, 194, 0), rgba(126, 212, 255, 0.2), rgba(83, 137, 194, 0));
        background-size: 400% 400%;
        animation: crystal-glow 8s ease infinite;
        pointer-events: none;
    }
    
    @keyframes crystal-glow {
        0% { background-position: 0% 50%; }
        50% { background-position: 100% 50%; }
        100% { background-position: 0% 50%; }
    }
    
    .crystal-content {
        position: relative;
    }
    
    .crystal-content p {
        text-shadow: 0 0 5px rgba(126, 212, 255, 0.5);
    }
    
    /* ファンタジーRPG風の魔法情報ボックス */
    .fantasy-magic-box {
        background: linear-gradient(to bottom, #2d1b42, #1a0d29);
        border: 2px solid #9153c2;
        border-radius: 8px;
        box-shadow: 0 4px 15px rgba(145, 83, 194, 0.5), 
                    inset 0 0 20px rgba(212, 126, 255, 0.1);
        overflow: hidden;
    }
    
    .magic-sparkles {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: 
            radial-gradient(circle at 20% 30%, rgba(212, 126, 255, 0.3) 0%, rgba(212, 126, 255, 0) 5%),
            radial-gradient(circle at 80% 60%, rgba(212, 126, 255, 0.3) 0%, rgba(212, 126, 255, 0) 5%),
            radial-gradient(circle at 50% 50%, rgba(212, 126, 255, 0.2) 0%, rgba(212, 126, 255, 0) 7%);
        animation: magic-twinkle 4s ease-in-out infinite alternate;
        pointer-events: none;
    }
    
    @keyframes magic-twinkle {
        0% { opacity: 0.5; }
        100% { opacity: 1; }
    }
    
    .magic-content {
        position: relative;
    }
    
    .magic-content p {
        text-shadow: 0 0 5px rgba(212, 126, 255, 0.5);
    }

    /* 最新のCSS効果 */
    .modern-glow {
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.4),
                    0 0 20px rgba(255, 215, 0, 0.3);
    }

    @keyframes modern-shine {
        0% { background-position: -100% 0; }
        100% { background-position: 200% 0; }
    }
    
    .modern-button {
        position: relative;
        overflow: hidden;
        z-index: 1;
    }
    
    .modern-button::after {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
        transition: 0.6s;
        z-index: -1;
    }
    
    .modern-button:hover::after {
        left: 100%;
        animation: modern-shine 3s infinite;
    }

    /* ジャックポットUIのアニメーション */
    .text-shadow-lg {
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
    }
    
    .text-glow-gold {
        text-shadow: 0 0 10px rgba(255, 215, 0, 0.7), 
                    0 0 20px rgba(255, 215, 0, 0.5);
    }
    
    .shadow-glow-lg {
        box-shadow: 0 0 15px 5px rgba(255, 165, 0, 0.5);
    }
    
    @keyframes shimmer {
        0% { transform: translateX(-100%); }
        100% { transform: translateX(300%); }
    }
    
    .animate-shimmer {
        animation: shimmer 3s infinite linear;
    }
    
    /* 新しいアニメーションの追加 */
    @keyframes fillAnimation {
        0% { opacity: 0.7; transform: scaleY(0.85); }
        50% { opacity: 1; transform: scaleY(1.1); }
        100% { opacity: 1; transform: scaleY(1); }
    }
    
    @keyframes rainbow {
        0% { background-position: 0% 50%; }
        50% { background-position: 100% 50%; }
        100% { background-position: 0% 50%; }
    }
    
    @keyframes top-wave {
        0% { transform: translateX(-100%) scaleY(1); }
        50% { transform: translateX(0%) scaleY(0.5); }
        100% { transform: translateX(100%) scaleY(1); }
    }
    
    @keyframes top-wave-reverse {
        0% { transform: translateX(100%) scaleY(1); }
        50% { transform: translateX(0%) scaleY(0.5); }
        100% { transform: translateX(-100%) scaleY(1); }
    }
    
    .animate-filling {
        animation: fillAnimation 0.7s ease;
    }
    
    .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;
    }
    
    .top-wave-effect {
        position: absolute;
        width: 200%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
        animation: top-wave 3s ease-in-out infinite;
        border-radius: 30%;
    }
    
    .top-wave-effect-reverse {
        position: absolute;
        width: 200%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
        animation: top-wave-reverse 2.5s ease-in-out infinite;
        border-radius: 30%;
    }
    
    .animate-bounce-slow {
        animation: bounce-slow 2s infinite;
    }
    
    .text-shadow-lg {
        text-shadow: 0 0 5px rgba(0,0,0,0.5), 0 0 10px rgba(255,255,255,0.5);
    }

    /* 最新のCSS効果 */
    .modern-glow {
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.4),
                    0 0 20px rgba(255, 215, 0, 0.3);
    }

    @keyframes modern-shine {
        0% { background-position: -100% 0; }
        100% { background-position: 200% 0; }
    }
    
    .modern-button {
        position: relative;
        overflow: hidden;
        z-index: 1;
    }
    
    .modern-button::after {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
        transition: 0.6s;
        z-index: -1;
    }
    
    .modern-button:hover::after {
        left: 100%;
        animation: modern-shine 3s infinite;
    }

    /* アニメーション修正・追加 */
    @keyframes shine {
        0% { background-position: -100% 0; }
        100% { background-position: 200% 0; }
    }
    
    .animate-shine {
        background: linear-gradient(to right, 
            rgba(255,255,255,0) 0%, 
            rgba(255,255,255,0.3) 25%, 
            rgba(255,255,255,0.5) 50%, 
            rgba(255,255,255,0.3) 75%, 
            rgba(255,255,255,0) 100%);
        background-size: 200% 100%;
        animation: shine 2s infinite linear;
    }

    .animate-bounce-slow {
        animation: bounce-slow 2s infinite;
    }
    
    /* 新しいボタンアニメーション */
    .pattern-grid-lg {
        background-image: 
            linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
            linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
        background-size: 10px 10px;
    }
    
    .flash-effect {
        background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
        animation: flash 2.5s infinite;
        transform: skewX(-20deg);
    }
    
    @keyframes flash {
        0% { transform: translateX(-100%) skewX(-20deg); }
        20%, 100% { transform: translateX(200%) skewX(-20deg); }
    }
    
    .particle {
        position: absolute;
        width: 4px;
        height: 4px;
        border-radius: 50%;
        background-color: rgba(255, 165, 0, 0.7);
        box-shadow: 0 0 6px 2px rgba(255, 215, 0, 0.5);
        opacity: 0;
    }
    
    .particle-1 {
        top: 20%;
        left: 0;
        animation: particle-move-1 3s infinite;
    }
    
    .particle-2 {
        top: 50%;
        left: 0;
        animation: particle-move-2 2.7s infinite 0.3s;
    }
    
    .particle-3 {
        top: 80%;
        left: 0;
        animation: particle-move-3 3.4s infinite 0.7s;
    }
    
    @keyframes particle-move-1 {
        0% { opacity: 0; left: 0; transform: translateY(0); }
        10% { opacity: 1; }
        70% { opacity: 1; }
        100% { opacity: 0; left: 100%; transform: translateY(-20px); }
    }
    
    @keyframes particle-move-2 {
        0% { opacity: 0; left: 0; transform: translateY(0); }
        10% { opacity: 1; }
        70% { opacity: 1; }
        100% { opacity: 0; left: 100%; transform: translateY(15px); }
    }
    
    @keyframes particle-move-3 {
        0% { opacity: 0; left: 0; transform: translateY(0); }
        10% { opacity: 1; }
        70% { opacity: 1; }
        100% { opacity: 0; left: 100%; transform: translateY(-10px); }
    }
    
    .arrow-jump {
        animation: arrow-jump 1.5s ease-in-out infinite;
    }
    
    @keyframes arrow-jump {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-4px); }
    }
    
    /* 矢印アニメーション */
    .animate-pulse-slow {
        animation: pulse-slow 2s infinite ease-in-out;
    }
    
    @keyframes pulse-slow {
        0%, 100% { opacity: 0.7; transform: scale(1); }
        50% { opacity: 1; transform: scale(1.1); }
    }
