/* .hidden 用 app.css 的 Tailwind 规则，不要 !important，否则 md:flex 顶栏出不来 */

/* 自定义动画 - 浮窗 */
@keyframes bounce-slow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}
.animate-bounce-slow {
    animation: bounce-slow 3s ease-in-out infinite;
}
.animate-bounce-slow:hover {
    animation: none;
}

/* 动画延迟 */
.animation-delay-2000 {
    animation-delay: 2s;
}
.animation-delay-4000 {
    animation-delay: 4s;
}

/* Blob 动画 */
@keyframes blob {
    0% { transform: translate(0px, 0px) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
    100% { transform: translate(0px, 0px) scale(1); }
}
.animate-blob {
    animation: blob 10s infinite;
}

.glass-panel {
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 8px 30px rgb(0 0 0 / 0.04);
}

.glow-border {
    position: relative;
}

.glow-border::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.35), rgba(16, 185, 129, 0.22), rgba(52, 211, 153, 0.25));
    z-index: -1;
    filter: blur(8px);
    opacity: 0.7;
}

.text-gradient {
    background: linear-gradient(90deg, #047857, #10B981);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hover-card {
    transition: transform .25s ease, box-shadow .25s ease;
}

.hover-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgb(15 23 42 / 0.08);
}

.bg-noise {
    display: none;
}

.stream-brand-slot {
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.stream-brand-slot svg,
.stream-brand-slot .stream-letter {
    display: block;
    width: 20px;
    height: 20px;
}
.stream-brand-slot .stream-letter {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    line-height: 20px;
}

.btn-shine {
    position: relative;
    overflow: hidden;
}

.btn-shine::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%);
    transform: translateX(-120%);
}

.btn-shine:hover::after {
    transform: translateX(120%);
    transition: transform .6s ease;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}
.animate-float {
    animation: float 5s ease-in-out infinite;
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

#period-plans {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 72rem;
    margin: 0 auto;
    align-items: stretch;
}

@media (min-width: 640px) {
    #period-plans {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    #period-plans {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 1rem;
    }
}

#period-plans .plan-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

#period-plans .plan-card .plan-cta {
    margin-top: auto;
}
