/**
 * 3段階プラン用追加CSS
 * 無料・プレミアム・VIPの3プラン表示
 */

/* 3カラムグリッド */
.plans-grid-three {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

/* VIPプランカード */
.plan-vip {
    border: 3px solid #FFD700;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    position: relative;
    overflow: hidden;
    transform: scale(1.05);
    z-index: 2;
}

.plan-vip::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 215, 0, 0.1) 50%, transparent 70%);
    animation: vip-shine 3s infinite;
}

@keyframes vip-shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.plan-vip .plan-name {
    color: #FFD700;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.plan-vip .plan-features {
    color: #E5E4E2;
}

.plan-vip .plan-features li {
    color: #E5E4E2;
}

.plan-vip .plan-features li strong {
    color: #FFD700;
}

/* VIPバッジ */
.plan-badge-vip {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #1a1a2e;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 15px;
    display: inline-block;
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.5);
    animation: vip-glow 2s ease-in-out infinite;
}

@keyframes vip-glow {
    0%, 100% {
        box-shadow: 0 5px 20px rgba(255, 215, 0, 0.5);
    }
    50% {
        box-shadow: 0 10px 40px rgba(255, 215, 0, 0.8);
    }
}

/* 定員限定バッジ */
.plan-limited {
    background: #FF4757;
    color: #FFFFFF;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 10px;
    display: inline-block;
    animation: pulse-limited 2s infinite;
}

@keyframes pulse-limited {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.9; }
}

/* VIPキャンペーンバッジ */
.plan-campaign-vip {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 165, 0, 0.2));
    border: 2px solid #FFD700;
    color: #FFD700;
    padding: 8px 15px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 15px;
}

/* VIPボタン */
.btn-plan-vip {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #1a1a2e;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-plan-vip::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-plan-vip:hover::before {
    width: 300px;
    height: 300px;
}

.btn-plan-vip:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.6);
}

/* レスポンシブ調整 */
@media (max-width: 1200px) {
    .plans-grid-three {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .plan-vip {
        transform: scale(1);
        grid-column: 1 / -1;
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .plans-grid-three {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .plan-vip {
        transform: scale(1);
        grid-column: 1;
    }
}
