/* ==================== 2026 春節福箱落地頁 - 完整樣式 ==================== */

/* ==================== 基礎設定 ==================== */

:root {
    --color-cny-red: #D32F2F;
    --color-cny-dark: #1a0b0b;
    --color-cny-gold: #FFD700;
    --color-cny-accent: #FFEB3B;
}

/* 全局字體設定 - 使用 Noto Sans TC */
* {
    font-family: 'Noto Sans TC', sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 119px; /* navbar (55px) + 快速導航條 (64px) */
    font-family: 'Noto Sans TC', sans-serif;
}

body {
    font-family: 'Noto Sans TC', sans-serif;
}

@media (max-width: 767.98px) {
    html {
        scroll-padding-top: 130px; /* navbar (約66px) + 快速導航條 (64px) */
    }
}

/* ==================== 通用容器 ==================== */

.container-main {
    max-width: 1280px;
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 640px) {
    .container-main {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container-main {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

/* ==================== 全局視覺增強 - 神翼主題 ==================== */

/* 區塊標題統一光效 */
.section-title,
.wings-header-title,
.features-title,
.bundles-title,
.lottery-title,
.rules-title,
.faq-title,
.free-wing-title {
    position: relative;
    animation: titleShimmer 4s ease-in-out infinite;
}

@keyframes titleShimmer {
    0%, 100% {
        text-shadow: 0 0 10px rgba(255, 215, 0, 0.1);
    }
    50% {
        text-shadow: 0 0 25px rgba(255, 215, 0, 0.3), 0 0 50px rgba(255, 107, 53, 0.15);
    }
}

/* 區塊標籤統一發光 */
.section-subtitle .text-highlight,
.wings-header-badge,
.features-label,
.bundles-label,
.faq-label,
.free-wing-badge {
    animation: labelGlow 3s ease-in-out infinite;
}

@keyframes labelGlow {
    0%, 100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.2) drop-shadow(0 0 8px rgba(255, 215, 0, 0.5));
    }
}

/* 卡片懸浮光效增強 */
.wing-card,
.feature-card,
.bundle-card,
.faq-item,
.contents-item,
.lottery-bonus-item {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.wing-card:hover,
.feature-card:hover,
.bundle-card:hover,
.faq-item:hover,
.lottery-bonus-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(255, 215, 0, 0.1);
}

/* 按鈕統一脈動效果 */
.box-buy-btn,
.bundle-buy-btn,
.single-box-buy-btn,
.free-wing-claim-btn {
    position: relative;
    overflow: hidden;
}

.box-buy-btn::before,
.bundle-buy-btn::before,
.single-box-buy-btn::before,
.free-wing-claim-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: buttonShine 3s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

.bundle-buy-btn-best::before {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: buttonShine 2.5s ease-in-out infinite;
}

.bundle-buy-btn:hover::before,
.bundle-buy-btn-best:hover::before {
    animation-duration: 1.5s;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
}

@keyframes buttonShine {
    0% {
        left: -100%;
    }
    50%, 100% {
        left: 100%;
    }
}

/* 分隔線發光效果 */
.wings-header-divider,
.lottery-bonus-section::before {
    position: relative;
    animation: dividerPulse 4s ease-in-out infinite;
}

@keyframes dividerPulse {
    0%, 100% {
        opacity: 0.6;
        box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
    }
    50% {
        opacity: 1;
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
    }
}

/* 滾動淡入動畫 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 重要數字金色脈動 */
.contents-item-value,
.bundle-price,
.stat-value,
.hero-price {
    animation: numberPulse 3s ease-in-out infinite;
}

@keyframes numberPulse {
    0%, 100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.15);
    }
}

/* 圖示旋轉發光 */
.contents-item-icon i,
.faq-icon i {
    transition: all 0.4s ease;
}

.contents-item:hover .contents-item-icon i,
.faq-item:hover .faq-icon i {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 0 8px currentColor);
}

/* 影片卡片光暈 */
.feature-video,
.wing-video {
    position: relative;
}

.feature-video::after,
.wing-video::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
    box-shadow: inset 0 0 30px rgba(255, 215, 0, 0.2);
}

.feature-card:hover .feature-video::after,
.wing-card:hover .wing-video::after {
    opacity: 1;
}

/* 背景微粒效果 (各區塊) */
.contents-section,
.wings-section,
.features-section,
.bundles-section,
.faq-section {
    position: relative;
}

.contents-section::before,
.features-section::before,
.faq-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(255, 215, 0, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(220, 38, 38, 0.03) 0%, transparent 50%);
    pointer-events: none;
    animation: bgGlowShift 20s ease-in-out infinite;
}

@keyframes bgGlowShift {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

/* 連結懸浮光效 */
a[href^="#"]:not(.hero-btn-primary):not(.hero-btn-cta):not(.bundle-buy-btn):not(.box-buy-btn) {
    transition: all 0.3s ease;
}

a[href^="#"]:not(.hero-btn-primary):not(.hero-btn-cta):not(.bundle-buy-btn):not(.box-buy-btn):hover {
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* 金色高亮文字增強 */
.text-highlight,
.bundles-highlight,
.faq-highlight {
    position: relative;
    color: var(--color-cny-gold);
}

.text-highlight::after,
.bundles-highlight::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-cny-gold), transparent);
    animation: underlineShimmer 2s ease-in-out infinite;
}

@keyframes underlineShimmer {
    0%, 100% {
        opacity: 0.3;
        transform: scaleX(0.8);
    }
    50% {
        opacity: 1;
        transform: scaleX(1);
    }
}

/* 搖獎區塊特殊背景動態 */
.lottery-section {
    position: relative;
    overflow: hidden;
}

.lottery-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg at 50% 50%,
        transparent 0deg,
        rgba(255, 215, 0, 0.03) 60deg,
        transparent 120deg,
        rgba(220, 38, 38, 0.03) 180deg,
        transparent 240deg,
        rgba(255, 215, 0, 0.03) 300deg,
        transparent 360deg
    );
    animation: lotteryBgRotate 60s linear infinite;
    pointer-events: none;
}

@keyframes lotteryBgRotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* 神翼展示區漸層背景增強 */
.wings-section {
    background: linear-gradient(180deg,
        var(--color-cny-dark) 0%,
        #1f0f0f 30%,
        #251212 70%,
        var(--color-cny-dark) 100%
    );
}

/* 免費翅膀區塊光效 */
.free-wing-card {
    position: relative;
    overflow: hidden;
}

.free-wing-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg,
        var(--color-cny-gold),
        var(--color-cny-red),
        var(--color-cny-gold),
        var(--color-cny-red)
    );
    background-size: 300% 300%;
    border-radius: inherit;
    z-index: -1;
    animation: borderGlow 4s ease-in-out infinite;
    opacity: 0.5;
}

@keyframes borderGlow {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* 球色發光增強 */
.ball-3d {
    animation: ballFloat 3s ease-in-out infinite;
}

@keyframes ballFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* 快速導航條光效 */
.luckybox-quick-nav {
    backdrop-filter: blur(10px);
}

.luckybox-quick-nav-link-highlight {
    animation: navHighlight 2s ease-in-out infinite;
}

@keyframes navHighlight {
    0%, 100% {
        box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.6), 0 0 30px rgba(255, 215, 0, 0.3);
    }
}

/* 預設減少動態效果 (尊重使用者設定) */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ==================== 快速導航條 ==================== */

.luckybox-quick-nav {
    position: fixed;
    top: 55px;
    left: 0;
    right: 0;
    z-index: 999; /* 高於 ball-3d (100)，但低於 navbar (1000) */
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgb(226, 232, 240);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-top: 0;
    margin-bottom: 0;
}

@media (max-width: 767.98px) {
    .luckybox-quick-nav {
        top: 66px; /* 手機版 navbar 高度較高，避免被遮擋 */
    }
}

.luckybox-quick-nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .luckybox-quick-nav-container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .luckybox-quick-nav-container {
        padding: 0 2rem;
    }
}

.luckybox-quick-nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

.luckybox-quick-nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: opacity 0.2s;
}

.luckybox-quick-nav-brand:hover {
    opacity: 0.8;
}

.luckybox-quick-nav-badge {
    background: var(--color-cny-red);
    color: white;
    padding: 0.375rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 700;
}

.luckybox-quick-nav-title {
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: -0.025em;
    color: rgb(15, 23, 42);
}

.luckybox-quick-nav-links {
    display: none;
    gap: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    align-items: center;
}

@media (min-width: 768px) {
    .luckybox-quick-nav-links {
        display: flex;
    }
}

.luckybox-quick-nav-link {
    display: inline-flex;
    align-items: center;
    min-height: 2.25rem;
    padding: 0.375rem 0.5rem;
    line-height: 1.25;
    color: rgb(71, 85, 105);
    text-decoration: none;
    transition: color 0.2s;
    box-sizing: border-box;
}

.luckybox-quick-nav-link:hover {
    color: var(--color-cny-red);
}

.luckybox-quick-nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.luckybox-quick-nav-spins {
    display: none;
    text-align: right;
}

@media (min-width: 768px) {
    .luckybox-quick-nav-spins {
        display: block;
    }
}

.luckybox-quick-nav-spins-label {
    font-size: 0.75rem;
    color: rgb(100, 116, 139);
}

.luckybox-quick-nav-spins-value {
    font-weight: 700;
    color: var(--color-cny-red);
    font-size: 1.125rem;
    line-height: 1;
}

.luckybox-quick-nav-btn {
    background: var(--color-cny-red);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    font-weight: 700;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
}

.luckybox-quick-nav-btn:hover {
    background: rgb(185, 28, 28);
    transform: scale(1.05);
    color: white;
}

/* ==================== Hero Section ==================== */

.hero-section {
    position: relative;
    padding-bottom: 0;
    overflow: hidden;
    background-color: var(--color-cny-dark);
    color: white;
    min-height: calc(100vh - 110px);
    display: flex;
    align-items: center;
}

@media (max-width: 767.98px) {
    .hero-section {
        padding-top: 130px; /* navbar (約66px) + quick-nav (64px) */
        min-height: calc(100vh - 130px);
    }
}

@media (min-width: 1024px) {
    .hero-section {
        padding-bottom: 0;
    }
}

.hero-bg-effects {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.2;
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://www.transparenttextures.com/patterns/cubes.png');
}

.hero-bg-glow-red {
    position: absolute;
    top: -5rem;
    right: -5rem;
    width: 24rem;
    height: 24rem;
    background-color: var(--color-cny-red);
    border-radius: 9999px;
    filter: blur(80px);
    opacity: 0.5;
}

.hero-bg-glow-gold {
    position: absolute;
    bottom: 0;
    left: 5rem;
    width: 18rem;
    height: 18rem;
    background-color: var(--color-cny-gold);
    border-radius: 9999px;
    filter: blur(80px);
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem 1rem;
    text-align: center;
    width: 100%;
}

@media (min-width: 640px) {
    .hero-content {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .hero-content {
        padding: 0 2rem;
    }
}

.hero-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--color-cny-gold);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.hero-title {
    font-family: 'Noto Sans TC', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 5rem;
    }
}

.hero-title-gradient {
    background: linear-gradient(to right, var(--color-cny-gold), var(--color-cny-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    line-height: 1.75;
}

@media (min-width: 1024px) {
    .hero-description {
        font-size: 1.25rem;
    }
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

@media (min-width: 640px) {
    .hero-actions {
        flex-direction: row;
    }
}

.hero-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0.5rem;
    color: white;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.hero-btn-primary:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.2));
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    color: white;
}

.hero-btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--color-cny-red), #b91c1c);
    border-radius: 0.5rem;
    color: white;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 14px rgba(211, 47, 47, 0.4);
}

.hero-btn-cta:hover {
    background: linear-gradient(135deg, #b91c1c, #991b1b);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(211, 47, 47, 0.6);
    color: white;
}

.hero-btn-primary .ml-2,
.hero-btn-cta .ml-2 {
    margin-left: 0.5rem;
}

.hero-price {
    font-size: 3rem;
    font-weight: 900;
    font-family: 'Noto Sans TC', sans-serif;
    color: var(--color-cny-gold);
}

.hero-price-unit {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ==================== Hero Epic Effects ==================== */

.hero-epic-effects {
    position: absolute;
    inset: 0;
    z-index: 5;
    pointer-events: none;
    overflow: hidden;
}

/* 中央光芒爆發 */
.hero-light-burst {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.8) 0%, rgba(255, 107, 53, 0.4) 40%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: lightBurst 2s ease-out forwards;
    animation-delay: 0.3s;
}

@keyframes lightBurst {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
    100% {
        width: 200vmax;
        height: 200vmax;
        opacity: 0;
    }
}

/* 翅膀展開動畫 */
.hero-wings-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 900px;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-wing {
    position: absolute;
    width: 250px;
    height: 350px;
    opacity: 0;
    filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.5));
}

.hero-wing-left {
    right: 50%;
    transform-origin: right center;
    animation: wingOpenLeft 1.5s ease-out forwards;
    animation-delay: 0.5s;
}

.hero-wing-right {
    left: 50%;
    transform-origin: left center;
    animation: wingOpenRight 1.5s ease-out forwards;
    animation-delay: 0.5s;
}

@keyframes wingOpenLeft {
    0% {
        opacity: 0;
        transform: rotateY(90deg) scale(0.3);
    }
    30% {
        opacity: 0.8;
    }
    60% {
        transform: rotateY(-10deg) scale(1.1);
    }
    100% {
        opacity: 0.15;
        transform: rotateY(0deg) scale(1) translateX(-50px);
    }
}

@keyframes wingOpenRight {
    0% {
        opacity: 0;
        transform: rotateY(-90deg) scale(0.3);
    }
    30% {
        opacity: 0.8;
    }
    60% {
        transform: rotateY(10deg) scale(1.1);
    }
    100% {
        opacity: 0.15;
        transform: rotateY(0deg) scale(1) translateX(50px);
    }
}

.wing-svg {
    width: 100%;
    height: 100%;
}

.wing-path {
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.8));
}

/* 翅膀持續呼吸動畫 */
.hero-wing-left,
.hero-wing-right {
    animation: wingOpenLeft 1.5s ease-out forwards, wingBreath 4s ease-in-out infinite;
    animation-delay: 0.5s, 2s;
}

.hero-wing-right {
    animation: wingOpenRight 1.5s ease-out forwards, wingBreath 4s ease-in-out infinite;
    animation-delay: 0.5s, 2s;
}

@keyframes wingBreath {
    0%, 100% {
        filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.3));
    }
    50% {
        filter: drop-shadow(0 0 50px rgba(255, 215, 0, 0.6));
    }
}

/* 浮動粒子 */
.hero-particles {
    position: absolute;
    inset: 0;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: radial-gradient(circle, #ffd700 0%, #ff6b35 100%);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 8s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.8), 0 0 20px rgba(255, 215, 0, 0.4);
}

.particle-1 { left: 10%; top: 20%; animation-delay: 0s; width: 4px; height: 4px; }
.particle-2 { left: 20%; top: 60%; animation-delay: 1s; width: 8px; height: 8px; }
.particle-3 { left: 30%; top: 30%; animation-delay: 2s; }
.particle-4 { left: 40%; top: 70%; animation-delay: 0.5s; width: 5px; height: 5px; }
.particle-5 { left: 60%; top: 25%; animation-delay: 1.5s; width: 7px; height: 7px; }
.particle-6 { left: 70%; top: 55%; animation-delay: 2.5s; }
.particle-7 { left: 80%; top: 35%; animation-delay: 0.8s; width: 4px; height: 4px; }
.particle-8 { left: 85%; top: 65%; animation-delay: 1.8s; width: 6px; height: 6px; }
.particle-9 { left: 15%; top: 80%; animation-delay: 3s; width: 5px; height: 5px; }
.particle-10 { left: 50%; top: 15%; animation-delay: 2.2s; width: 8px; height: 8px; }
.particle-11 { left: 75%; top: 80%; animation-delay: 1.2s; }
.particle-12 { left: 25%; top: 45%; animation-delay: 2.8s; width: 7px; height: 7px; }

@keyframes particleFloat {
    0% {
        opacity: 0;
        transform: translateY(100px) scale(0);
    }
    10% {
        opacity: 1;
        transform: translateY(80px) scale(1);
    }
    90% {
        opacity: 0.8;
        transform: translateY(-100px) scale(0.8);
    }
    100% {
        opacity: 0;
        transform: translateY(-120px) scale(0);
    }
}

/* 飄落羽毛 */
.hero-feathers {
    position: absolute;
    inset: 0;
}

.feather {
    position: absolute;
    top: -50px;
    font-size: 1.5rem;
    color: rgba(255, 215, 0, 0.6);
    opacity: 0;
    animation: featherFall 12s ease-in-out infinite;
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.5));
}

.feather-1 { left: 5%; animation-delay: 0s; font-size: 1.2rem; color: rgba(255, 215, 0, 0.5); }
.feather-2 { left: 15%; animation-delay: 2s; font-size: 1.8rem; color: rgba(255, 107, 53, 0.6); }
.feather-3 { left: 25%; animation-delay: 4s; font-size: 1.4rem; }
.feather-4 { left: 40%; animation-delay: 1s; font-size: 2rem; color: rgba(220, 38, 38, 0.5); }
.feather-5 { left: 55%; animation-delay: 3s; font-size: 1.3rem; color: rgba(255, 215, 0, 0.7); }
.feather-6 { left: 70%; animation-delay: 5s; font-size: 1.6rem; color: rgba(255, 107, 53, 0.5); }
.feather-7 { left: 85%; animation-delay: 2.5s; font-size: 1.5rem; }
.feather-8 { left: 95%; animation-delay: 4.5s; font-size: 1.1rem; color: rgba(220, 38, 38, 0.6); }

@keyframes featherFall {
    0% {
        opacity: 0;
        transform: translateY(0) rotate(0deg) translateX(0);
    }
    10% {
        opacity: 0.8;
    }
    50% {
        transform: translateY(50vh) rotate(180deg) translateX(30px);
    }
    90% {
        opacity: 0.6;
    }
    100% {
        opacity: 0;
        transform: translateY(110vh) rotate(360deg) translateX(-20px);
    }
}

/* 能量環 */
.hero-energy-rings {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.energy-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 2px solid rgba(255, 215, 0, 0.3);
    opacity: 0;
    animation: energyPulse 3s ease-out infinite;
}

.energy-ring-1 {
    width: 100px;
    height: 100px;
    animation-delay: 0.8s;
}

.energy-ring-2 {
    width: 150px;
    height: 150px;
    animation-delay: 1.1s;
    border-color: rgba(255, 107, 53, 0.3);
}

.energy-ring-3 {
    width: 200px;
    height: 200px;
    animation-delay: 1.4s;
    border-color: rgba(220, 38, 38, 0.3);
}

@keyframes energyPulse {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.5);
    }
    20% {
        opacity: 0.8;
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(3);
    }
}

/* Hero 內容順序動畫 */
.hero-anim-item {
    opacity: 0;
    transform: translateY(30px);
    animation: heroContentReveal 0.8s ease-out forwards;
    animation-delay: calc(0.8s + (var(--anim-order) * 0.15s));
}

@keyframes heroContentReveal {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 標題特殊光效 */
.hero-title.hero-anim-item {
    animation: heroContentReveal 0.8s ease-out forwards, titleGlow 3s ease-in-out infinite;
    animation-delay: calc(0.8s + (var(--anim-order) * 0.15s)), 2.5s;
}

@keyframes titleGlow {
    0%, 100% {
        text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
    }
    50% {
        text-shadow: 0 0 40px rgba(255, 215, 0, 0.6), 0 0 60px rgba(255, 107, 53, 0.3);
    }
}

/* Badge 脈動效果增強 */
.hero-badge.hero-anim-item {
    animation: heroContentReveal 0.8s ease-out forwards, badgePulse 2s ease-in-out infinite;
    animation-delay: calc(0.8s + (var(--anim-order) * 0.15s)), 2s;
}

@keyframes badgePulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.4);
    }
    50% {
        box-shadow: 0 0 20px 5px rgba(255, 215, 0, 0.2);
    }
}

/* 按鈕懸浮發光 */
.hero-btn-cta {
    animation: ctaGlow 2s ease-in-out infinite;
    animation-delay: 2.5s;
}

@keyframes ctaGlow {
    0%, 100% {
        box-shadow: 0 4px 14px rgba(211, 47, 47, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(211, 47, 47, 0.8), 0 0 60px rgba(255, 107, 53, 0.3);
    }
}

/* 價格金光閃爍 */
.hero-price.hero-anim-item {
    animation: heroContentReveal 0.8s ease-out forwards, priceShine 3s ease-in-out infinite;
    animation-delay: calc(0.8s + (var(--anim-order) * 0.15s)), 2.5s;
}

@keyframes priceShine {
    0%, 100% {
        text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    }
    50% {
        text-shadow: 0 0 30px rgba(255, 215, 0, 0.8), 0 0 50px rgba(255, 215, 0, 0.4);
    }
}

/* 背景動態漸變 */
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(26, 11, 11, 1) 0%,
        rgba(50, 20, 20, 1) 25%,
        rgba(26, 11, 11, 1) 50%,
        rgba(40, 15, 15, 1) 75%,
        rgba(26, 11, 11, 1) 100%
    );
    background-size: 400% 400%;
    animation: gradientFlow 15s ease infinite;
    z-index: 0;
}

@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* 手機版調整 */
@media (max-width: 767.98px) {
    .hero-wing {
        width: 150px;
        height: 200px;
    }

    .hero-wings-container {
        height: 250px;
    }

    .particle {
        width: 4px;
        height: 4px;
    }

    .feather {
        font-size: 1rem;
    }

    .energy-ring-1 { width: 60px; height: 60px; }
    .energy-ring-2 { width: 90px; height: 90px; }
    .energy-ring-3 { width: 120px; height: 120px; }
}

/* ==================== Contents Section ==================== */

.contents-section {
    padding: 4rem 0;
    background-color: #f8fafc;
    margin-top: 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
    font-family: 'Noto Sans TC', sans-serif;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #64748b;
}

.text-highlight {
    color: var(--color-cny-red);
    font-weight: 600;
}

/* ==================== Contents Showcase Layout ==================== */

.contents-showcase {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 1024px) {
    .contents-showcase {
        flex-direction: row;
        gap: 3rem;
        align-items: flex-start;
    }
}

/* 左側福箱展示區 */
.contents-box-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, #1a0b0b 0%, #2d1515 50%, #1a0b0b 100%);
    border-radius: 1.5rem;
    position: relative;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .contents-box-display {
        flex: 0 0 320px;
        position: sticky;
        top: 140px;
    }
}

.contents-box-display::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 30%, rgba(255, 215, 0, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.box-image-container {
    position: relative;
    width: 100%;
    max-width: 280px;
}

.box-image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.3) 0%, transparent 70%);
    filter: blur(30px);
    animation: box-glow-pulse 3s ease-in-out infinite;
}

@keyframes box-glow-pulse {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.1); }
}

.box-main-image {
    position: relative;
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
    transition: transform 0.3s ease;
    z-index: 2;
}

.contents-box-display:hover .box-main-image {
    transform: scale(1.05) rotate(-2deg);
}

.box-year-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: linear-gradient(135deg, var(--color-cny-red), #b91c1c);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.4);
    z-index: 3;
}

.box-info {
    text-align: center;
    position: relative;
    z-index: 2;
}

.box-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin: 0 0 0.75rem 0;
    font-family: 'Noto Sans TC', sans-serif;
}

.box-price-tag {
    margin-bottom: 1rem;
}

.box-price {
    font-size: 2rem;
    font-weight: 900;
    color: var(--color-cny-gold);
    font-family: 'Noto Sans TC', sans-serif;
}

.box-price-unit {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    margin-left: 0.25rem;
}

.box-buy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    background: linear-gradient(135deg, var(--color-cny-red), #b91c1c);
    color: white;
    border-radius: 9999px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 14px rgba(211, 47, 47, 0.4);
}

.box-buy-btn:hover {
    background: linear-gradient(135deg, #b91c1c, #991b1b);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(211, 47, 47, 0.6);
    color: white;
}

.box-bundle-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.625rem 1rem;
    background: rgba(255, 215, 0, 0.15);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 0.5rem;
    color: var(--color-cny-gold);
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.box-bundle-hint:hover {
    background: rgba(255, 215, 0, 0.25);
    border-color: rgba(255, 215, 0, 0.5);
    color: var(--color-cny-gold);
    transform: translateY(-2px);
}

.box-bundle-hint i:last-child {
    font-size: 0.625rem;
    animation: bounce-down 1.5s ease-in-out infinite;
}

@keyframes bounce-down {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(3px); }
}

/* 右側內容物清單區 */
.contents-list-area {
    flex: 1;
}

.contents-list-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    background: linear-gradient(135deg, rgba(211, 47, 47, 0.1), rgba(234, 179, 8, 0.1));
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(211, 47, 47, 0.2);
}

.contents-list-header i {
    font-size: 1.25rem;
    color: var(--color-cny-red);
}

.contents-list-header span {
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
}

.contents-grid-main {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .contents-grid-main {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
        margin-bottom: 1.25rem;
    }
}

.contents-grid-special {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width: 768px) {
    .contents-grid-special {
        gap: 1.25rem;
    }
}

.contents-item {
    background: rgb(248, 250, 252);
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid rgb(241, 245, 249);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s;
}

.contents-item:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contents-item-clickable {
    cursor: pointer;
    transition: all 0.3s;
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.1), rgba(251, 191, 36, 0.15));
    border: 2px solid rgba(234, 179, 8, 0.3);
}

.contents-item-clickable:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(234, 179, 8, 0.3);
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.15), rgba(251, 191, 36, 0.2));
    border-color: rgba(234, 179, 8, 0.5);
}

.contents-item-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.contents-item-icon i {
    font-size: 1.875rem;
}

.icon-green {
    background: rgb(220, 252, 231);
    color: rgb(22, 163, 74);
}

.icon-blue {
    background: rgb(219, 234, 254);
    color: rgb(37, 99, 235);
}

.icon-purple {
    background: rgb(243, 232, 255);
    color: rgb(168, 85, 247);
}

.icon-gray {
    background: rgb(226, 232, 240);
    color: rgb(71, 85, 105);
}

.icon-red {
    background: rgb(254, 226, 226);
    color: rgb(239, 68, 68);
}

.icon-orange {
    background: rgb(255, 237, 213);
    color: rgb(249, 115, 22);
}

.icon-yellow {
    background: rgb(254, 249, 195);
    color: rgb(234, 179, 8);
}

.contents-item-value {
    font-size: 1.5rem;
    font-weight: 900;
    color: rgb(30, 41, 59);
}

.contents-item-label {
    font-size: 0.875rem;
    color: rgb(100, 116, 139);
    font-weight: 500;
}

.contents-item-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: rgb(30, 41, 59);
    margin-bottom: 0.25rem;
}

.contents-item-sublabel {
    font-size: 0.75rem;
    color: rgb(148, 163, 184);
    margin-top: 0.25rem;
}

.contents-item-special {
    background: linear-gradient(to bottom right, var(--color-cny-dark), rgb(30, 41, 59));
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    color: white;
    transition: transform 0.3s;
    display: block;
    cursor: pointer;
}

.contents-item-special:hover {
    transform: scale(1.05);
    color: white;
}

.contents-item-icon-special {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: var(--color-cny-red);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    animation: bounce-slow 3s infinite;
}

.contents-item-icon-special i {
    font-size: 1.875rem;
}

@keyframes bounce-slow {
    0%, 100% {
        transform: translateY(-5%);
        animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
    }
    50% {
        transform: translateY(0);
        animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
    }
}

.contents-item-value-special {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--color-cny-gold);
}

.contents-item-label-special {
    font-size: 0.875rem;
    color: rgb(203, 213, 225);
    font-weight: 500;
}

/* ==================== Lottery Bonus Section ==================== */

.lottery-bonus-section {
    margin-top: 2.5rem;
    padding: 1.5rem 1.25rem;
    background: linear-gradient(135deg, rgba(211, 47, 47, 0.05), rgba(234, 179, 8, 0.05));
    border-radius: 1.5rem;
    border: 2px solid rgba(234, 179, 8, 0.2);
    box-shadow: 0 10px 40px rgba(234, 179, 8, 0.15);
}

.lottery-bonus-header {
    text-align: center;
    margin-bottom: 1.25rem;
}

.lottery-bonus-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.3125rem 0.75rem;
    background: linear-gradient(135deg, var(--color-cny-red), #dc2626);
    color: white;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 0.625rem;
    box-shadow: 0 2px 8px rgba(211, 47, 47, 0.25);
}

.lottery-bonus-title {
    font-size: 1.375rem;
    font-weight: 900;
    color: #1e293b;
    margin-bottom: 0.375rem;
    font-family: 'Noto Sans TC', sans-serif;
}

@media (min-width: 768px) {
    .lottery-bonus-title {
        font-size: 1.625rem;
    }
}

@media (min-width: 1024px) {
    .lottery-bonus-title {
        font-size: 1.875rem;
    }
}

.lottery-bonus-subtitle {
    font-size: 0.8125rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .lottery-bonus-subtitle {
        font-size: 0.875rem;
    }
}

.lottery-bonus-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

@media (min-width: 640px) {
    .lottery-bonus-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    /* 滑鼠墊卡片跨2欄 */
    .lottery-bonus-item-mousepad {
        grid-column: 1 / -1;
    }
}

@media (min-width: 1024px) {
    .lottery-bonus-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }

    /* 滑鼠墊卡片跨2欄 */
    .lottery-bonus-item-mousepad {
        grid-column: span 2;
    }
}

@media (min-width: 1280px) {
    .lottery-bonus-grid {
        gap: 1.5rem;
    }
}

.lottery-bonus-item {
    position: relative;
    background: white;
    border-radius: 0.75rem;
    padding: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    overflow: hidden;
}

.lottery-bonus-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

@media (min-width: 768px) {
    .lottery-bonus-item {
        padding: 1.25rem;
    }
}

.lottery-bonus-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 2;
    border-radius: 0.5rem;
    overflow: hidden;
    margin-bottom: 0.75rem;
    background: transparent;
}

.lottery-bonus-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.3s, opacity 0.3s;
}

.lottery-bonus-item:hover .lottery-bonus-image {
    transform: scale(1.03);
}

/* 滑鼠墊特殊圖片比例 */
.lottery-bonus-item-mousepad .lottery-bonus-image-wrapper {
    aspect-ratio: 3 / 2;
}

@media (min-width: 640px) {
    .lottery-bonus-item-mousepad .lottery-bonus-image-wrapper {
        aspect-ratio: 5 / 2;
    }
}

/* 滑鼠墊圖片切換效果 */
.lottery-bonus-image-hover {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.lottery-bonus-item-mousepad:hover .lottery-bonus-image-default {
    opacity: 0;
}

.lottery-bonus-item-mousepad:hover .lottery-bonus-image-hover {
    opacity: 1;
}

/* 獎項卡片特殊邊框發光效果 */
.lottery-bonus-item {
    border: 1.5px solid rgba(226, 232, 240, 0.6);
}

.lottery-bonus-item-grand {
    border: 1.5px solid rgba(251, 191, 36, 0.4);
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.15), 0 0 12px rgba(251, 191, 36, 0.08);
    animation: grandPrizeGlow 3s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.lottery-bonus-item-grand::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(251, 191, 36, 0.1), transparent, rgba(251, 191, 36, 0.1), transparent);
    animation: grandPrizeRotate 8s linear infinite;
    pointer-events: none;
}

@keyframes grandPrizeGlow {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(251, 191, 36, 0.15), 0 0 20px rgba(251, 191, 36, 0.1);
    }
    50% {
        box-shadow: 0 8px 24px rgba(251, 191, 36, 0.25), 0 0 40px rgba(251, 191, 36, 0.2);
    }
}

@keyframes grandPrizeRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.lottery-bonus-item-grand:hover {
    border-color: rgba(251, 191, 36, 0.6);
    box-shadow: 0 8px 24px rgba(251, 191, 36, 0.2), 0 0 16px rgba(251, 191, 36, 0.12);
}

.lottery-bonus-item-mousepad {
    border: 1.5px solid rgba(59, 130, 246, 0.4);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.12), 0 0 12px rgba(59, 130, 246, 0.08);
}

.lottery-bonus-item-mousepad:hover {
    border-color: rgba(59, 130, 246, 0.6);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.18), 0 0 16px rgba(59, 130, 246, 0.12);
}

.lottery-bonus-item-bonus {
    border: 1.5px solid rgba(34, 197, 94, 0.4);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.12), 0 0 12px rgba(34, 197, 94, 0.08);
}

.lottery-bonus-item-bonus:hover {
    border-color: rgba(34, 197, 94, 0.6);
    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.18), 0 0 16px rgba(34, 197, 94, 0.12);
}

.lottery-bonus-item-second {
    border: 1.5px solid rgba(168, 85, 247, 0.4);
    box-shadow: 0 4px 12px rgba(168, 85, 247, 0.12), 0 0 12px rgba(168, 85, 247, 0.08);
}

.lottery-bonus-item-second:hover {
    border-color: rgba(168, 85, 247, 0.6);
    box-shadow: 0 8px 24px rgba(168, 85, 247, 0.18), 0 0 16px rgba(168, 85, 247, 0.12);
}

.lottery-bonus-item-special {
    border: 1.5px solid rgba(6, 182, 212, 0.4);
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.12), 0 0 12px rgba(6, 182, 212, 0.08);
}

.lottery-bonus-item-special:hover {
    border-color: rgba(6, 182, 212, 0.6);
    box-shadow: 0 8px 24px rgba(6, 182, 212, 0.18), 0 0 16px rgba(6, 182, 212, 0.12);
}

.lottery-bonus-content {
    text-align: center;
}

.lottery-bonus-quantity {
    display: inline-block;
    padding: 0.1875rem 0.625rem;
    background: linear-gradient(135deg, var(--color-cny-red), #dc2626);
    color: white;
    border-radius: 9999px;
    font-size: 0.6875rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    box-shadow: 0 2px 6px rgba(211, 47, 47, 0.25);
}

.lottery-bonus-quantity-blue {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.lottery-bonus-quantity-grand {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.3);
}

.lottery-bonus-quantity-purple {
    background: linear-gradient(135deg, #a855f7, #9333ea);
    box-shadow: 0 2px 8px rgba(168, 85, 247, 0.3);
}

.lottery-bonus-quantity-cyan {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
    box-shadow: 0 2px 8px rgba(6, 182, 212, 0.3);
}

.lottery-bonus-quantity-green {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3);
}

.lottery-bonus-name {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.25rem;
    font-family: 'Noto Sans TC', sans-serif;
    line-height: 1.3;
}

@media (min-width: 768px) {
    .lottery-bonus-name {
        font-size: 1rem;
    }
}

@media (min-width: 1024px) {
    .lottery-bonus-name {
        font-size: 1.125rem;
    }
}

.lottery-bonus-desc {
    font-size: 0.75rem;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
}

.lottery-bonus-note {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.75rem 0.875rem;
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.1), rgba(251, 191, 36, 0.1));
    border-radius: 0.5rem;
    border: 1px solid rgba(234, 179, 8, 0.3);
    font-size: 0.75rem;
    color: #92400e;
    font-weight: 600;
    text-align: center;
}

@media (min-width: 768px) {
    .lottery-bonus-note {
        font-size: 0.8125rem;
        padding: 0.875rem 1rem;
    }
}

.lottery-bonus-note i {
    color: var(--color-cny-gold);
    font-size: 1rem;
    flex-shrink: 0;
}

.lottery-bonus-link {
    color: #92400e;
    font-weight: 700;
    text-decoration: underline;
    transition: color 0.2s;
}

.lottery-bonus-link:hover {
    color: var(--color-cny-red);
}

/* 獎項徽章 */
.lottery-bonus-prize-badge {
    position: absolute;
    top: 0.625rem;
    right: 0.625rem;
    padding: 0.1875rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.6875rem;
    font-weight: 700;
    color: white;
    z-index: 10;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    letter-spacing: 0.05em;
}

.lottery-bonus-prize-badge-grand {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
}

.lottery-bonus-prize-badge-second {
    background: linear-gradient(135deg, #a855f7, #9333ea);
}

.lottery-bonus-prize-badge-special {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
}

.lottery-bonus-prize-badge-lucky {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.lottery-bonus-prize-badge-bonus {
    background: linear-gradient(135deg, #22c55e, #16a34a);
}

/* ==================== Wings Section ==================== */

.wings-section {
    padding: 6rem 0;
    background: #1e293b;
    color: white;
}

.wings-header {
    text-align: center;
    margin-bottom: 4rem;
    color: white;
}

.wings-header-badge {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--color-cny-gold);
    margin-bottom: 0.5rem;
}

.wings-header-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    margin-top: 0.5rem;
    font-family: 'Noto Sans TC', sans-serif;
}

@media (min-width: 768px) {
    .wings-header-title {
        font-size: 3rem;
    }
}

.wings-header-divider {
    width: 6rem;
    height: 0.25rem;
    background: linear-gradient(to right, transparent, var(--color-cny-red), transparent);
    margin: 0 auto;
    margin-top: 1.5rem;
    position: relative;
    opacity: 0.9;
}

.wings-header-divider::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(to right, transparent, rgba(211, 47, 47, 0.3), transparent);
    filter: blur(4px);
    z-index: -1;
    opacity: 0.6;
}

.wings-header-divider::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: var(--color-cny-red);
    filter: blur(2px);
    opacity: 0.5;
    z-index: -1;
}

.wings-list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* ==================== Wing Card Base ==================== */

.wing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s;
}

@media (min-width: 768px) {
    .wing-card {
        flex-direction: row;
        min-height: 400px;
    }
}

.wing-card:hover {
    transform: translateY(-4px);
}

/* ==================== Trial Wing ==================== */

.wing-card-trial {
    background: #fafafa;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
}

@media (min-width: 768px) {
    .wing-card-trial {
        flex-direction: row;
    }
}

.wing-video-trial {
    width: 100%;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

@media (min-width: 768px) {
    .wing-video-trial {
        width: 60%;
    }
}

.wing-info-trial {
    width: 100%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fafafa;
}

@media (min-width: 768px) {
    .wing-info-trial {
        width: 40%;
    }
}

.tier-trial {
    color: #ef4444;
    font-weight: 700;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.wing-name-trial {
    font-size: 1.875rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
    font-family: 'Noto Sans TC', sans-serif;
}

.wing-description-trial {
    font-size: 1.125rem;
    color: #475569;
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.wing-stats-trial {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.wing-stat-row-trial {
    display: flex;
    justify-content: space-between;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #f1f5f9;
}

.wing-stat-label-trial {
    font-size: 0.875rem;
    color: #64748b;
}

.wing-stat-value-trial {
    font-weight: 700;
    color: #1e293b;
}

.feature-trial {
    display: inline-flex;
    align-items: center;
    color: #dc2626;
    font-weight: 700;
    font-size: 0.875rem;
}

/* ==================== Agile Wing ==================== */

.wing-card-agile {
    background: #1e293b;
    border: 1px solid #334155;
}

@media (min-width: 768px) {
    .wing-card-agile {
        flex-direction: row-reverse;
    }
}

.wing-video-agile {
    width: 100%;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

@media (min-width: 768px) {
    .wing-video-agile {
        width: 60%;
    }
}

.wing-video-overlay-agile {
    position: absolute;
    inset: 0;
    background: linear-gradient(to left, #1e293b, transparent);
}

.wing-info-agile {
    width: 100%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
}

@media (min-width: 768px) {
    .wing-info-agile {
        width: 40%;
    }
}

.tier-agile {
    color: #facc15;
    font-weight: 700;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.wing-name-agile {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: 'Noto Sans TC', sans-serif;
}

.wing-name-highlight-agile {
    color: #facc15;
}

.wing-description-agile {
    font-size: 1.125rem;
    color: #cbd5e1;
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.wing-stats-agile {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

.wing-stat-row-agile {
    display: flex;
    justify-content: space-between;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #475569;
}

.wing-stat-label-agile {
    font-size: 0.875rem;
    color: #94a3b8;
}

.wing-stat-value-agile {
    font-weight: 700;
    color: white;
}

.wing-stat-value-agile-yellow {
    font-weight: 700;
    color: #facc15;
}

.feature-agile {
    display: inline-flex;
    align-items: center;
    color: #fbbf24;
    font-weight: 700;
    font-size: 0.875rem;
}

/* ==================== Endurance Wing ==================== */

.wing-card-endurance {
    background: #1e293b;
    border: 1px solid #334155;
}

@media (min-width: 768px) {
    .wing-card-endurance {
        flex-direction: row;
    }
}

.wing-video-endurance {
    width: 100%;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

@media (min-width: 768px) {
    .wing-video-endurance {
        width: 60%;
    }
}

.wing-video-overlay-endurance {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, #1e293b, transparent);
}

.wing-info-endurance {
    width: 100%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
}

@media (min-width: 768px) {
    .wing-info-endurance {
        width: 40%;
    }
}

.tier-endurance {
    color: #60a5fa;
    font-weight: 700;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.wing-name-endurance {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: 'Noto Sans TC', sans-serif;
}

.wing-name-highlight-endurance {
    color: #60a5fa;
}

.wing-description-endurance {
    font-size: 1.125rem;
    color: #cbd5e1;
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.wing-stats-endurance {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

.wing-stat-row-endurance {
    display: flex;
    justify-content: space-between;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #475569;
}

.wing-stat-label-endurance {
    font-size: 0.875rem;
    color: #94a3b8;
}

.wing-stat-value-endurance {
    font-weight: 700;
    color: #cbd5e1;
}

.feature-endurance {
    display: inline-flex;
    align-items: center;
    color: #3b82f6;
    font-weight: 700;
    font-size: 0.875rem;
}

/* ==================== Unlimited Wing ==================== */

.wing-card-unlimited {
    background: #000;
    border: 1px solid rgba(168, 85, 247, 0.3);
    box-shadow: 0 25px 50px -12px rgba(88, 28, 135, 0.5);
    position: relative;
    overflow: hidden;
    animation: unlimitedCardPulse 4s ease-in-out infinite;
}

.wing-card-unlimited::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.1), rgba(255, 215, 0, 0.1), transparent);
    animation: unlimitedShine 5s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes unlimitedCardPulse {
    0%, 100% {
        box-shadow: 0 25px 50px -12px rgba(88, 28, 135, 0.5), 0 0 30px rgba(168, 85, 247, 0.1);
    }
    50% {
        box-shadow: 0 25px 60px -12px rgba(88, 28, 135, 0.6), 0 0 50px rgba(168, 85, 247, 0.2), 0 0 80px rgba(255, 215, 0, 0.1);
    }
}

@keyframes unlimitedShine {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

@media (min-width: 768px) {
    .wing-card-unlimited {
        flex-direction: row-reverse;
        min-height: 450px;
    }
}

.wing-video-unlimited {
    width: 100%;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

@media (min-width: 768px) {
    .wing-video-unlimited {
        width: 60%;
    }
}

.wing-video-overlay-unlimited {
    position: absolute;
    inset: 0;
    background: linear-gradient(to left, #000, transparent);
}

.wing-info-unlimited {
    width: 100%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .wing-info-unlimited {
        width: 40%;
        padding: 3rem;
    }
}

.wing-glow-effect-unlimited {
    position: absolute;
    top: 0;
    right: 0;
    width: 16rem;
    height: 16rem;
    background: #9333ea;
    border-radius: 9999px;
    filter: blur(100px);
    opacity: 0.2;
    pointer-events: none;
}

.tier-unlimited {
    display: inline-block;
    align-self: flex-start;
    padding: 0.25rem 0.75rem;
    background: linear-gradient(to right, #9333ea, #ec4899);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 0.25rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.wing-name-unlimited {
    font-size: 2.25rem;
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(to right, white, #e9d5ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Noto Sans TC', sans-serif;
}

.wing-description-unlimited {
    font-size: 1.125rem;
    color: #e9d5ff;
    line-height: 1.75;
    margin-bottom: 2rem;
}

.wing-description-highlight-unlimited {
    color: white;
    font-weight: 700;
}

.wing-stats-unlimited {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.wing-stat-box-unlimited {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    padding: 0.75rem;
    text-align: center;
}

.wing-stat-box-label-unlimited {
    font-size: 0.75rem;
    color: #d8b4fe;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.wing-stat-box-value-unlimited {
    font-size: 1.25rem;
    font-weight: 900;
    color: white;
}

.feature-unlimited {
    display: inline-flex;
    align-items: center;
    color: #c084fc;
    font-weight: 700;
    font-size: 0.875rem;
}

.wing-feature-icon-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* ==================== Common Wing Styles ==================== */

.wing-video {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    min-height: 0;
    aspect-ratio: 16 / 9;
}

.wing-video-player {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 聲音切換按鈕 */
.wing-sound-toggle {
    position: absolute;
    bottom: 0.75rem;
    right: 0.75rem;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    z-index: 10;
}

/* 觸碰卡片時顯示按鈕並加入脈動動畫 */
.wing-card:hover .wing-sound-toggle {
    opacity: 1;
    animation: sound-btn-pulse 1.5s ease-in-out infinite;
}

@keyframes sound-btn-pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.5);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(255, 255, 255, 0);
    }
}

.wing-sound-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.15);
    animation: none;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.5);
}

.wing-sound-toggle.sound-on {
    background: rgba(220, 38, 38, 0.9);
    border-color: #fff;
    animation: none;
    box-shadow: 0 0 12px rgba(220, 38, 38, 0.6);
}

.wing-sound-toggle.sound-on:hover {
    background: rgba(220, 38, 38, 1);
    box-shadow: 0 0 16px rgba(220, 38, 38, 0.8);
}

.wing-video-placeholder {
    color: #94a3b8;
    font-size: 0.875rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.wing-video-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.wing-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.wing-tier {
    display: inline-block;
    font-weight: 700;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.wing-name {
    margin-bottom: 1rem;
    font-family: 'Noto Sans TC', sans-serif;
}

.wing-description {
    font-size: 1.125rem;
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.wing-stats {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.wing-stat-row {
    display: flex;
    justify-content: space-between;
    padding-bottom: 0.5rem;
}

.wing-stat-label {
    font-size: 0.875rem;
}

.wing-stat-value {
    font-weight: 700;
}

.wing-feature {
    display: inline-flex;
    align-items: center;
    font-weight: 700;
    font-size: 0.875rem;
}

/* ==================== Features Section ==================== */

.features-section {
    padding: 5rem 0;
    background: white;
}

.features-header {
    text-align: center;
    margin-bottom: 4rem;
}

.features-label {
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--color-cny-red);
    margin-bottom: 1rem;
}

.features-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: #1e293b;
    margin-bottom: 1rem;
    font-family: 'Noto Sans TC', sans-serif;
}

.features-description {
    font-size: 1.125rem;
    color: #64748b;
    max-width: 42rem;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.feature-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-video {
    position: relative;
    aspect-ratio: 21 / 9;
    background: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.feature-video-player {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-video-placeholder {
    color: #94a3b8;
    font-size: 0.875rem;
}

.feature-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.badge-passive {
    background: #3b82f6;
    color: white;
}

.badge-active {
    background: #f59e0b;
    color: white;
}

.feature-content {
    padding: 2rem;
}

.feature-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.25rem 0.5rem;
    line-height: 1.4;
}

@media (min-width: 768px) {
    .feature-title {
        font-size: 1.15rem;
        flex-wrap: nowrap;
        white-space: nowrap;
    }
}

@media (min-width: 1024px) {
    .feature-title {
        font-size: 1.25rem;
    }
}

@media (min-width: 1280px) {
    .feature-title {
        font-size: 1.35rem;
    }
}

.feature-subtitle {
    font-size: 0.8rem;
    white-space: nowrap;
}

@media (min-width: 768px) {
    .feature-subtitle {
        font-size: 0.85rem;
    }
}

@media (min-width: 1024px) {
    .feature-subtitle {
        font-size: 0.9rem;
    }
}

@media (min-width: 1280px) {
    .feature-subtitle {
        font-size: 1rem;
    }
}

.subtitle-blue {
    color: #3b82f6;
}

.subtitle-yellow {
    color: #f59e0b;
}

.feature-description {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.75;
    margin-bottom: 1rem;
}

.feature-highlight {
    color: var(--color-cny-red);
    font-weight: 600;
}

.feature-key {
    display: inline-block;
    padding: 0.125rem 0.5rem;
    background: #e2e8f0;
    border-radius: 0.25rem;
    font-family: monospace;
    font-size: 0.875rem;
    font-weight: 600;
    color: #1e293b;
}

.feature-note {
    padding: 1rem;
    border-radius: 0.5rem;
    border-left: 4px solid;
}

.note-blue {
    background: rgba(59, 130, 246, 0.1);
    border-color: #3b82f6;
}

.note-yellow {
    background: rgba(245, 158, 11, 0.1);
    border-color: #f59e0b;
}

.subtitle-cyan {
    color: #06b6d4;
}

.note-cyan {
    background: rgba(6, 182, 212, 0.1);
    border-color: #06b6d4;
}

.feature-note-text {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0;
}

.feature-note-strong {
    color: #1e293b;
}

/* ==================== Bundles Section ==================== */

.bundles-section {
    padding: 5rem 0;
    background: #f8fafc;
    position: relative;
}

.bundles-header {
    text-align: center;
    margin-bottom: 4rem;
}

.bundles-label {
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--color-cny-red);
    margin-bottom: 1rem;
}

.bundles-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: #1e293b;
    margin-bottom: 1rem;
    font-family: 'Noto Sans TC', sans-serif;
}

.bundles-description {
    font-size: 1.125rem;
    color: #64748b;
    line-height: 1.75;
}

.bundles-highlight {
    color: var(--color-cny-red);
    font-weight: 600;
}

.bundles-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .bundles-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.bundle-card {
    position: relative;
    background: white;
    border: 1px solid rgb(241, 245, 249);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.bundle-card:hover {
    transform: translateY(-0.5rem);
}

.bundle-card-best {
    border: 2px solid var(--color-cny-gold);
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15), 0 0 30px rgba(255, 215, 0, 0.2);
    z-index: 10;
    position: relative;
    animation: bestCardGlow 3s ease-in-out infinite;
}

@keyframes bestCardGlow {
    0%, 100% {
        box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15), 0 0 30px rgba(255, 215, 0, 0.2);
    }
    50% {
        box-shadow: 0 20px 35px rgba(0, 0, 0, 0.2), 0 0 50px rgba(255, 215, 0, 0.4), 0 0 80px rgba(255, 215, 0, 0.2);
    }
}

@media (min-width: 768px) {
    .bundle-card-best {
        transform: scale(1.05);
    }

    .bundle-card-best:hover {
        transform: translateY(-0.5rem) scale(1.05);
    }
}

/* 折扣標籤 - 重新設計為垂直置中 */
.bundle-discount-badge {
    position: absolute;
    top: 50%;
    left: -0.5rem;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 15;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
    writing-mode: horizontal-tb;
}

.bundle-card-best .bundle-discount-badge {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #78350f;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.5);
}

.bundle-best-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(135deg, var(--color-cny-gold), #f59e0b);
    color: #1a0b0b;
    padding: 0.25rem 0.75rem;
    border-radius: 0 0 0 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 10;
    animation: bestBadgePulse 2s ease-in-out infinite;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

@keyframes bestBadgePulse {
    0%, 100% {
        box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 25px rgba(255, 215, 0, 0.8), 0 0 40px rgba(255, 215, 0, 0.4);
        transform: scale(1.05);
    }
}

.bundle-header {
    padding: 0.75rem;
    background: rgb(30, 41, 59);
    text-align: center;
}

.bundle-header-best {
    padding: 1rem;
    background: var(--color-cny-dark);
}

.bundle-name {
    font-size: 1rem;
    font-weight: 700;
    color: white;
}

.bundle-header-best .bundle-name {
    font-size: 1.125rem;
    color: var(--color-cny-gold);
}

.bundle-content {
    padding: 2rem;
    text-align: center;
}

.bundle-original-price {
    font-size: 0.875rem;
    font-family: 'Noto Sans TC', sans-serif;
    color: rgb(148, 163, 184);
    text-decoration: line-through;
    margin-bottom: 0.25rem;
}

.bundle-price {
    font-size: 2.25rem;
    font-weight: 900;
    font-family: 'Noto Sans TC', sans-serif;
    color: rgb(15, 23, 42);
    margin-bottom: 1.5rem;
}

.bundle-price-best {
    font-size: 3rem;
    font-family: 'Noto Sans TC', sans-serif;
    color: var(--color-cny-red);
}

.bundle-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    text-align: left;
    font-size: 0.875rem;
    color: rgb(71, 85, 105);
}

.bundle-features > .bundle-feature-item:not(:last-child) {
    margin-bottom: 0.75rem;
}

.bundle-feature-item {
    display: flex;
    align-items: center;
}

.bundle-feature-icon {
    color: rgb(34, 197, 94);
    margin-right: 0.5rem;
}

.bundle-guarantee {
    display: flex;
    align-items: center;
    padding: 0.5rem;
    border-radius: 0.25rem;
    border: 1px solid;
}

.bundle-guarantee-purple {
    background: rgb(250, 245, 255);
    border-color: rgb(233, 213, 255);
}

.bundle-guarantee-blue {
    background: rgb(239, 246, 255);
    border-color: rgb(191, 219, 254);
}

.bundle-guarantee-yellow {
    background: rgb(254, 249, 195);
    border-color: rgb(254, 240, 138);
}

.bundle-guarantee-icon {
    margin-right: 0.5rem;
}

.bundle-guarantee-purple .bundle-guarantee-icon {
    color: rgb(168, 85, 247);
}

.bundle-guarantee-blue .bundle-guarantee-icon {
    color: rgb(59, 130, 246);
}

.bundle-guarantee-yellow .bundle-guarantee-icon {
    color: rgb(234, 179, 8);
}

.bundle-guarantee-text {
    font-weight: 700;
    font-size: 0.875rem;
}

.bundle-guarantee-purple .bundle-guarantee-text {
    color: rgb(109, 40, 217);
}

.bundle-guarantee-blue .bundle-guarantee-text {
    color: rgb(29, 78, 216);
}

.bundle-guarantee-yellow .bundle-guarantee-text {
    color: rgb(133, 77, 14);
}

.bundle-buy-btn {
    display: block;
    width: 100%;
    padding: 0.75rem;
    background: rgb(15, 23, 42);
    color: white;
    text-align: center;
    border-radius: 0.5rem;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

.bundle-buy-btn:hover {
    background: rgb(30, 41, 59);
    color: white;
}

.bundle-buy-btn-best {
    padding: 1rem;
    background: linear-gradient(to right, var(--color-cny-red), rgb(220, 38, 38));
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

.bundle-buy-btn-best:hover {
    background: linear-gradient(to right, rgb(220, 38, 38), var(--color-cny-red));
    box-shadow: 0 10px 20px rgba(220, 38, 38, 0.4);
    transform: translateY(-2px);
}

.bundle-buy-btn-best:active {
    transform: translateY(0);
    box-shadow: 0 4px 8px rgba(220, 38, 38, 0.3);
}

.single-box-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    background: white;
    border: 1px solid rgb(226, 232, 240);
    border-radius: 0.75rem;
    padding: 1.5rem;
    max-width: 768px;
    margin: 0 auto;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

@media (min-width: 640px) {
    .single-box-card {
        flex-direction: row;
    }
}

.single-box-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

@media (max-width: 639px) {
    .single-box-info {
        flex-direction: column;
        text-align: center;
    }
}

.single-box-icon {
    width: 4rem;
    height: 4rem;
    background: rgb(254, 226, 226);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.single-box-icon i {
    font-size: 1.875rem;
}

.text-cny-red {
    color: var(--color-cny-red);
}

.single-box-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: rgb(30, 41, 59);
    margin: 0;
}

.single-box-description {
    font-size: 0.875rem;
    color: rgb(100, 116, 139);
    margin: 0;
}

.single-box-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

@media (max-width: 639px) {
    .single-box-actions {
        flex-direction: column;
        gap: 1rem;
    }
}

.single-box-price {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Noto Sans TC', sans-serif;
    color: rgb(30, 41, 59);
}

.single-box-buy-btn {
    padding: 0.75rem 2rem;
    background: white;
    border: 2px solid rgb(226, 232, 240);
    color: rgb(51, 65, 85);
    border-radius: 0.5rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    white-space: nowrap;
}

.single-box-buy-btn:hover {
    border-color: var(--color-cny-red);
    color: var(--color-cny-red);
}

/* ==================== Lottery Section ==================== */

.lottery-section {
    position: relative;
    padding: 2rem 0 1.5rem;
    background: linear-gradient(135deg, #1e293b, #0f172a);
    overflow: hidden;
}

.lottery-bg-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.1;
}

.lottery-bg-texture {
    width: 100%;
    height: 100%;
    background-image: url('https://www.transparenttextures.com/patterns/cubes.png');
}

.lottery-container {
    position: relative;
    z-index: 10;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
}

.lottery-header {
    text-align: center;
    margin-bottom: 1rem;
}

.lottery-title {
    font-size: 1.5rem;
    font-weight: 900;
    color: white;
    margin-bottom: 0.25rem;
    font-family: 'Noto Sans TC', sans-serif;
}

@media (min-width: 768px) {
    .lottery-title {
        font-size: 1.75rem;
    }
}

.text-cny-gold {
    color: var(--color-cny-gold);
}

.mr-3 {
    margin-right: 0.75rem;
}

.mr-2 {
    margin-right: 0.5rem;
}

.lottery-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ===== 新版搖獎區塊佈局 ===== */
.lottery-layout {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 1rem;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 768px) {
    .lottery-layout {
        padding: 1.5rem;
    }
}

.lottery-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

@media (min-width: 900px) {
    .lottery-main {
        flex-direction: row;
        align-items: stretch;
        gap: 2rem;
    }
}

/* 搖獎機區域 */
.machine-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

/* 控制面板 */
.lottery-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    color: white;
    min-width: 280px;
}

@media (min-width: 900px) {
    .lottery-panel {
        justify-content: center;
        padding: 1rem 0;
    }
}

/* 狀態顯示列 */
.lottery-stats-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.lottery-stat-box {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.75rem;
    padding: 0.875rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(239, 68, 68, 0.2);
    border-radius: 50%;
    color: #ef4444;
    font-size: 1rem;
}

.stat-icon-gold {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
}

.stat-content {
    flex: 1;
}

.stat-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.125rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--color-cny-gold);
    line-height: 1;
}

.stat-pity {
    font-size: 1.5rem;
    font-weight: 900;
    color: white;
    line-height: 1;
}

.stat-pity-max {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

/* 保底進度區塊 */
.pity-section {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
}

.pity-bar-container {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.pity-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-cny-gold), #f59e0b);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.pity-description {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    text-align: center;
}

/* 保底指定區塊 */
.queue-section {
    background: rgba(251, 191, 36, 0.08);
    border: 1px solid rgba(251, 191, 36, 0.2);
    border-radius: 0.5rem;
    padding: 0.625rem 1rem;
    text-align: center;
}

.queue-section .queue-label {
    font-size: 0.65rem;
    color: rgba(251, 191, 36, 0.7);
    letter-spacing: 0.1em;
    margin-bottom: 0.25rem;
}

.queue-section .queue-value {
    font-size: 0.875rem;
    font-weight: 700;
    color: #64748b;
}

.queue-section .queue-value-active {
    color: #fbbf24;
}

/* 搖獎按鈕區塊 */
.lottery-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.spin-button {
    width: 100%;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, var(--color-cny-red), #b91c1c);
    color: white;
    border: none;
    border-radius: 0.75rem;
    font-size: 1.125rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    animation: spinButtonPulse 2s ease-in-out infinite;
}

.spin-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);
    animation: spinButtonShine 3s ease-in-out infinite;
}

@keyframes spinButtonPulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(211, 47, 47, 0.4);
    }
    50% {
        box-shadow: 0 4px 25px rgba(211, 47, 47, 0.6), 0 0 40px rgba(211, 47, 47, 0.3);
    }
}

@keyframes spinButtonShine {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

.spin-button:hover:not(:disabled) {
    background: linear-gradient(135deg, #b91c1c, #991b1b);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(211, 47, 47, 0.5);
    animation: none;
}

.spin-button:hover:not(:disabled)::before {
    animation: none;
}

.spin-button:disabled {
    background: #475569;
    cursor: not-allowed;
    box-shadow: none;
    animation: none;
}

.spin-button:disabled::before {
    display: none;
}

.lottery-hint {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    margin: 0;
}

.lottery-hint i {
    color: rgba(255, 255, 255, 0.4);
}

/* ==================== 垂直式搖獎機 (Vertical Garapon) ==================== */

/* 金色漸層變數 */
:root {
    --gold-gradient: linear-gradient(135deg, #bf953f, #fcf6ba 20%, #b38728 40%, #fbf5b7 60%, #aa771c 80%, #bf953f);
}

/* 主容器 */
.machine-container {
    position: relative;
    width: 240px;
    height: 400px;
    background: var(--gold-gradient);
    border-radius: 35px;
    padding: 6px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.7), inset 0 0 12px rgba(0,0,0,0.4);
    z-index: 10;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .machine-container {
        width: 260px;
        height: 440px;
        border-radius: 40px;
        padding: 8px;
    }
}

@media (min-width: 900px) {
    .machine-container {
        width: 280px;
        height: 470px;
    }
}

/* 機身內部 */
.machine-body {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #8a0a0a 0%, #4a0404 100%);
    border-radius: 30px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 2px solid #3d0000;
    overflow: hidden;
}

@media (min-width: 768px) {
    .machine-body {
        border-radius: 34px;
    }
}

@media (min-width: 900px) {
    .machine-body {
        border-radius: 36px;
    }
}

/* ===== 玻璃圓頂 ===== */
.glass-dome {
    width: 170px;
    height: 170px;
    margin-top: 25px;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 50%, rgba(20,20,20,0.8), #000 95%);
    border: 4px solid #b38728;
    box-shadow: inset 0 0 35px #000, 0 0 20px rgba(179, 135, 40, 0.3);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    animation: domeGlow 3s ease-in-out infinite;
}

@keyframes domeGlow {
    0%, 100% {
        box-shadow: inset 0 0 35px #000, 0 0 20px rgba(179, 135, 40, 0.3);
    }
    50% {
        box-shadow: inset 0 0 35px #000, 0 0 35px rgba(179, 135, 40, 0.5), 0 0 60px rgba(255, 215, 0, 0.2);
    }
}

@media (min-width: 768px) {
    .glass-dome {
        width: 190px;
        height: 190px;
        margin-top: 30px;
        border-width: 5px;
    }
}

@media (min-width: 900px) {
    .glass-dome {
        width: 210px;
        height: 210px;
        margin-top: 35px;
    }
}

/* 玻璃反光效果 */
.glass-dome::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 40%, rgba(255,255,255,0.05) 100%);
    pointer-events: none;
    z-index: 20;
}

/* 圓頂網格紋理 */
.dome-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,215,0,0.15) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.6;
    z-index: 1;
    border-radius: 50%;
}

/* 攪動光效 */
.stirring-glow {
    position: absolute;
    width: 170px;
    height: 170px;
    background: radial-gradient(circle, rgba(255,215,0,0.0) 20%, rgba(255,215,0,0.6) 50%, transparent 70%);
    border-radius: 50%;
    z-index: 4;
    opacity: 0;
    transition: opacity 0.5s;
    mix-blend-mode: screen;
}

@media (min-width: 768px) {
    .stirring-glow {
        width: 190px;
        height: 190px;
    }
}

@media (min-width: 900px) {
    .stirring-glow {
        width: 210px;
        height: 210px;
    }
}

.stirring-active {
    animation: pulse-rotate 0.8s infinite linear;
    opacity: 1;
}

@keyframes pulse-rotate {
    0% { transform: scale(1) rotate(0deg); opacity: 0.6; }
    50% { transform: scale(1.1) rotate(180deg); opacity: 1; }
    100% { transform: scale(1) rotate(360deg); opacity: 0.6; }
}

/* 轉盤蓋子 */
.rotator-lid {
    width: 125px;
    height: 125px;
    background: radial-gradient(circle, #700000 20%, #300000 90%);
    border-radius: 50%;
    border: 3px solid #b38728;
    box-shadow: 0 0 25px rgba(0,0,0,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 5;
}

@media (min-width: 768px) {
    .rotator-lid {
        width: 140px;
        height: 140px;
        border-width: 4px;
    }
}

@media (min-width: 900px) {
    .rotator-lid {
        width: 160px;
        height: 160px;
    }
}

/* 轉盤內圈虛線 */
.rotator-lid::before {
    content: '';
    position: absolute;
    inset: 10px;
    border: 2px dashed rgba(255, 215, 0, 0.2);
    border-radius: 50%;
}

/* 龍形圖示 */
.dragon-icon {
    font-size: 48px;
    background: linear-gradient(to bottom, #FFD700, #B8860B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 3px 5px rgba(0,0,0,0.8));
}

@media (min-width: 768px) {
    .dragon-icon {
        font-size: 58px;
    }
}

@media (min-width: 900px) {
    .dragon-icon {
        font-size: 70px;
    }
}

/* ===== 面板遮罩區域 ===== */
.panel-face {
    position: absolute;
    top: 190px;
    width: 100%;
    height: 110px;
    background: linear-gradient(to bottom, #8a0a0a, #4a0404);
    z-index: 30;
    box-shadow: 0 -8px 15px rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding-bottom: 12px;
}

@media (min-width: 768px) {
    .panel-face {
        top: 215px;
        height: 120px;
    }
}

@media (min-width: 900px) {
    .panel-face {
        top: 240px;
        height: 130px;
        padding-bottom: 15px;
    }
}

/* 面板上方金色裝飾線 */
.panel-face::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 15px;
    right: 15px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #b38728, transparent);
    opacity: 0.5;
}

.panel-face-text {
    color: rgba(255, 215, 0, 0.3);
    font-size: 0.75rem;
    letter-spacing: 0.4em;
    font-weight: 700;
}

/* ===== 出球托盤區域 ===== */
.exit-cup-container {
    position: absolute;
    bottom: 22px;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 10;
}

@media (min-width: 768px) {
    .exit-cup-container {
        bottom: 26px;
    }
}

@media (min-width: 900px) {
    .exit-cup-container {
        bottom: 30px;
    }
}

/* 出球托盤 */
.exit-cup {
    width: 90px;
    height: 55px;
    background: radial-gradient(at center top, #000, #1a0505);
    border-radius: 0 0 45px 45px;
    border: 4px solid #444;
    border-top: none;
    box-shadow:
        inset 0 6px 12px rgba(0,0,0,0.9),
        0 6px 12px rgba(0,0,0,0.5),
        0 0 0 2px #b38728;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
}

@media (min-width: 768px) {
    .exit-cup {
        width: 105px;
        height: 65px;
        border-radius: 0 0 52px 52px;
        border-width: 5px;
    }
}

@media (min-width: 900px) {
    .exit-cup {
        width: 115px;
        height: 72px;
        border-radius: 0 0 58px 58px;
    }
}

/* 托盤內部光效 */
.cup-light {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,215,0,0) 0%, transparent 70%);
    transition: all 0.2s ease-out;
    mix-blend-mode: screen;
    z-index: 20;
    pointer-events: none;
    filter: blur(10px);
}

@media (min-width: 768px) {
    .cup-light {
        width: 60px;
        height: 60px;
    }
}

@media (min-width: 900px) {
    .cup-light {
        width: 65px;
        height: 65px;
        top: -14px;
    }
}

/* 球落地區域 */
.exit-stage {
    position: relative;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 5px;
}

/* ===== 搖桿 ===== */
.lever-group {
    position: absolute;
    right: -32px;
    top: 175px;
    width: 32px;
    height: 65px;
    z-index: 5;
}

@media (min-width: 768px) {
    .lever-group {
        right: -36px;
        top: 200px;
        width: 36px;
        height: 72px;
    }
}

@media (min-width: 900px) {
    .lever-group {
        right: -40px;
        top: 220px;
        width: 40px;
        height: 80px;
    }
}

.lever-base {
    width: 100%;
    height: 100%;
    background: #500;
    border-radius: 0 6px 6px 0;
    border: 2px solid #b38728;
    border-left: none;
}

.lever-arm {
    width: 7px;
    height: 50px;
    background: #ccc;
    position: absolute;
    bottom: 20px;
    right: 12px;
    transform-origin: bottom center;
    transition: transform 0.2s;
}

@media (min-width: 768px) {
    .lever-arm {
        width: 8px;
        height: 56px;
        bottom: 22px;
        right: 14px;
    }
}

@media (min-width: 900px) {
    .lever-arm {
        width: 9px;
        height: 62px;
        bottom: 24px;
        right: 16px;
    }
}

.lever-ball {
    width: 26px;
    height: 26px;
    background: radial-gradient(circle at 30% 30%, #f00, #500);
    border: 2px solid #ffd700;
    border-radius: 50%;
    position: absolute;
    top: -13px;
    left: -10px;
    cursor: pointer;
    box-shadow: 0 3px 6px rgba(0,0,0,0.5), 0 0 15px rgba(255, 0, 0, 0.3);
    transition: transform 0.1s;
    animation: leverPulse 2s ease-in-out infinite;
}

@keyframes leverPulse {
    0%, 100% {
        box-shadow: 0 3px 6px rgba(0,0,0,0.5), 0 0 15px rgba(255, 0, 0, 0.3);
    }
    50% {
        box-shadow: 0 3px 10px rgba(0,0,0,0.6), 0 0 25px rgba(255, 0, 0, 0.5), 0 0 40px rgba(255, 215, 0, 0.3);
    }
}

@media (min-width: 768px) {
    .lever-ball {
        width: 30px;
        height: 30px;
        top: -15px;
        left: -11px;
    }
}

@media (min-width: 900px) {
    .lever-ball {
        width: 34px;
        height: 34px;
        top: -17px;
        left: -12px;
    }
}

.lever-ball:hover {
    transform: scale(1.1);
}

.lever-ball:active {
    transform: scale(0.95);
}

/* ===== Confetti Canvas ===== */
.confetti-canvas {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
}

/* ==================== 3D Ball Styles ==================== */

.ball-3d {
    width: var(--size, 50px);
    height: var(--size, 50px);
    border-radius: 50%;
    position: relative;
    box-shadow:
        inset -8px -8px 12px rgba(0,0,0,0.6),
        inset 4px 4px 12px rgba(255,255,255,0.5),
        5px 8px 10px rgba(0, 0, 0, 0.5);
    z-index: 100;
}

.ball-3d::after {
    content: '';
    position: absolute;
    top: 10%;
    left: 15%;
    width: 30%;
    height: 20%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0) 70%);
    filter: blur(1px);
}

.ball-rainbow {
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.3), transparent),
                conic-gradient(from 180deg at 50% 50%, #7e22ce, #a855f7, #ec4899, #f43f5e, #eab308, #22c55e, #3b82f6, #7e22ce);
    border: 1px solid rgba(255,255,255,0.4);
}

.ball-gold {
    background: radial-gradient(circle at 30% 30%, #fffbeb, #fbbf24, #b45309);
    border: 1px solid #92400e;
}

.ball-red {
    background: radial-gradient(circle at 30% 30%, #fee2e2, #ef4444, #991b1b);
    border: 1px solid #7f1d1d;
}

.ball-blue {
    background: radial-gradient(circle at 30% 30%, #dbeafe, #3b82f6, #1e40af);
    border: 1px solid #1e3a8a;
}

.ball-green {
    background: radial-gradient(circle at 30% 30%, #dcfce7, #22c55e, #166534);
    border: 1px solid #14532d;
}

/* ==================== Animations ==================== */

/* 轉盤旋轉 - 快速 */
.spin-fast {
    animation: spin 0.2s linear infinite;
}

/* 轉盤旋轉 - 慢速 */
.spin-slow {
    animation: spin 4s cubic-bezier(0.25, 0.1, 0.25, 1) infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 機台劇烈震動 */
.shake-hard {
    animation: shake 0.1s infinite;
}

@keyframes shake {
    0% { transform: translate(1px, 1px) rotate(0deg); }
    50% { transform: translate(-1px, -1px) rotate(-1deg); }
    100% { transform: translate(0, 0) rotate(0); }
}

/* 重擊震動 */
.impact-vibration {
    animation: impact 0.2s ease-out;
}

@keyframes impact {
    0% { transform: scale(1.0) translateY(0px); }
    20% { transform: scale(1.1) translateY(5px); }
    50% { transform: scale(0.95) translateY(-2px); }
    100% { transform: scale(1); }
}

/* 球落地彈跳 */
@keyframes settleBounce {
    0% { transform: scale(1.3, 0.7) translateY(5px); }
    40% { transform: scale(0.9, 1.1) translateY(-4px); }
    100% { transform: scale(1) translateY(0); }
}

/* 一般動畫 */
@keyframes fadeOut {
    0% { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(0.8); }
}

@keyframes pulseGlow {
    0%, 100% { filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5)); }
    50% { filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.8)); }
}

.animate-fade-out {
    animation: fadeOut 0.3s ease-out forwards;
}

.animate-pulse-glow {
    animation: pulseGlow 2s infinite;
}

/* 球體渲染 (用於落入托盤的球) */
.ball-render {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    position: relative;
    box-shadow: inset -5px -5px 10px rgba(0,0,0,0.6), inset 2px 2px 10px rgba(255,255,255,0.4), 0 5px 10px rgba(0,0,0,0.3);
}

.ball-render::after {
    content: '';
    position: absolute;
    top: 15%;
    left: 20%;
    width: 30%;
    height: 20%;
    background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,255,255,0));
    border-radius: 50%;
    transform: rotate(-45deg);
    filter: blur(1px);
}

/* ==================== Lottery Controls ==================== */

.result-display {
    display: none;
    text-align: center;
}

.result-display:not(.hidden) {
    display: block;
}

.result-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    padding: 1.5rem;
}

.result-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-cny-gold);
    margin: 0 0 0.5rem 0;
}

.result-sent {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* 登入提示 */
.lottery-login-prompt {
    text-align: center;
    padding: 2rem 1.5rem;
}

.lottery-rules-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 9999px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.lottery-rules-hint:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
    transform: translateY(-2px);
}

.lottery-rules-hint i {
    font-size: 0.75rem;
    animation: bounce-down 1.5s ease-in-out infinite;
}

.login-prompt-content {
    max-width: 28rem;
    margin: 0 auto;
}

.login-prompt-icon {
    width: 5rem;
    height: 5rem;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.text-blue-600 {
    color: #2563eb;
}

.text-4xl {
    font-size: 2.25rem;
}

.login-prompt-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0 0 1rem 0;
}

.login-prompt-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 2rem 0;
}

.login-prompt-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    border-radius: 0.5rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
}

.login-prompt-btn:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

/* 搖獎區塊：未登入時疊加遮罩（內容仍隱約可見以促登入/購買） */
.lottery-layout-wrapper {
    position: relative;
}

.lottery-login-overlay {
    position: absolute;
    inset: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 1rem;
    padding: 1.5rem;
}

.lottery-login-overlay-content {
    text-align: center;
    max-width: 22rem;
    padding: 2rem 1.5rem;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.lottery-login-overlay-icon {
    width: 4rem;
    height: 4rem;
    background: rgba(59, 130, 246, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.lottery-login-overlay-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin: 0 0 0.75rem 0;
}

.lottery-login-overlay-text {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 1.5rem 0;
    line-height: 1.5;
}

.lottery-login-overlay-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    border-radius: 0.5rem;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s;
}

.lottery-login-overlay-btn:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.lottery-login-overlay-link {
    display: inline-block;
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--color-cny-gold);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.lottery-login-overlay-link:hover {
    color: #fcd34d;
}

.mr-1 {
    margin-right: 0.25rem;
}

.mr-2 {
    margin-right: 0.5rem;
}

/* ==================== Rules Section ==================== */

.rules-section {
    padding: 5rem 0;
    background: #f8fafc;
}

.rules-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.rules-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    text-align: center;
    margin: 0 0 3rem 0;
    font-family: 'Noto Sans TC', sans-serif;
}

.rules-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .rules-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .rules-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.prize-item {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.prize-ball {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
}

.prize-info {
    text-align: left;
}

.prize-header {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.prize-name {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

.prize-name-purple {
    color: #a855f7;
}

.prize-name-yellow {
    color: #92400e;
}

.prize-name-red {
    color: #ef4444;
}

.prize-name-blue {
    color: #3b82f6;
}

.prize-name-green {
    color: #22c55e;
}

.prize-rate {
    font-size: 1.5rem;
    font-weight: 900;
}

.rate-purple {
    color: #a855f7;
}

.rate-yellow {
    color: var(--color-cny-gold);
}

.rate-red {
    color: #ef4444;
}

.rate-blue {
    color: #3b82f6;
}

.rate-green {
    color: #22c55e;
}

.prize-description {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0;
}

/* ==================== Info Section ==================== */

.info-section {
    padding: 2rem 0;
    background: #f1f5f9;
    border-top: 1px solid #cbd5e1;
}

.info-content {
    text-align: center;
}

.info-date {
    font-size: 0.875rem;
    color: #475569;
    margin-bottom: 1rem;
}

.info-date-label {
    color: #0f172a;
}

.info-notes {
    font-size: 0.75rem;
    color: #64748b;
    max-width: 48rem;
    margin: 0 auto;
}

.info-notes-title {
    margin-bottom: 0.5rem;
}

.info-notes p {
    margin: 0;
}

/* ==================== Utility Classes ==================== */

.text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
}

.text-green-500 {
    color: #22c55e;
}

.font-mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.hidden {
    display: none;
}

@media (min-width: 768px) {
    .md\:block {
        display: block;
    }
}

/* ==================== Bundle Image Styles ==================== */

.bundle-image-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    display: flex;
    align-items: center;
    justify-content: center;
}

.bundle-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.bundle-card:hover .bundle-image {
    transform: scale(1.05);
}

.bundle-image-unlimited {
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0%, 100% {
        filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.3));
    }
    50% {
        filter: drop-shadow(0 0 20px rgba(251, 191, 36, 0.6));
    }
}

/* ==================== FAQ Section ==================== */

.faq-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.faq-header {
    text-align: center;
    margin-bottom: 3rem;
}

.faq-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--color-cny-red);
    margin-bottom: 0.5rem;
}

.faq-title {
    font-size: 2.25rem;
    font-weight: 900;
    color: #1e293b;
    margin: 0;
    font-family: 'Noto Sans TC', sans-serif;
}

@media (min-width: 768px) {
    .faq-title {
        font-size: 2.5rem;
    }
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

.faq-item {
    display: flex;
    gap: 1rem;
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border-color: rgba(211, 47, 47, 0.2);
}

.faq-icon {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.faq-icon-purple {
    background: linear-gradient(135deg, #f3e8ff, #e9d5ff);
    color: #9333ea;
}

.faq-icon-blue {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    color: #2563eb;
}

.faq-icon-gold {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #b45309;
}

.faq-icon-red {
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    color: #dc2626;
}

.faq-content {
    flex: 1;
}

.faq-question {
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 0.5rem 0;
    font-family: 'Noto Sans TC', sans-serif;
}

.faq-answer {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.7;
    margin: 0;
}

.faq-highlight {
    color: var(--color-cny-red);
    font-weight: 600;
}

.faq-tag {
    display: inline-block;
    padding: 0.125rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 700;
    margin-right: 0.25rem;
}

.faq-tag-green {
    background: #dcfce7;
    color: #166534;
}

.faq-tag-red {
    background: #fee2e2;
    color: #991b1b;
}

/* ===========================================
   搖獎結果彈窗
   =========================================== */

.spin-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.spin-modal.hidden {
    opacity: 0;
    visibility: hidden;
}

.spin-modal.show {
    opacity: 1;
    visibility: visible;
}

.spin-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    cursor: pointer;
}

.spin-modal-content {
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 1.5rem;
    padding: 2.5rem 3rem;
    text-align: center;
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.5),
        0 0 60px rgba(255, 215, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: scale(0.8) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    max-width: 90vw;
    min-width: 280px;
}

.spin-modal.show .spin-modal-content {
    transform: scale(1) translateY(0);
}

.spin-modal-ball-container {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.spin-modal-ball-container::before {
    content: '';
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.2) 0%, transparent 70%);
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

.spin-modal-ball-container .ball-3d {
    --size: 80px;
    width: var(--size);
    height: var(--size);
    animation: ball-bounce 0.6s ease-out;
}

@keyframes ball-bounce {
    0% {
        transform: scale(0) translateY(-50px);
        opacity: 0;
    }
    50% {
        transform: scale(1.2) translateY(0);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.spin-modal-title {
    font-family: 'Noto Sans TC', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffd700;
    margin: 0 0 0.5rem 0;
    text-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
}

.spin-modal-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 1.5rem 0;
}

.spin-modal-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    background: linear-gradient(135deg, #ffd700 0%, #ffb700 100%);
    color: #1a1a2e;
    font-family: 'Noto Sans TC', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.spin-modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.spin-modal-btn:active {
    transform: translateY(0);
}

.spin-modal-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* 錯誤訊息和重試按鈕區域 */
.spin-modal-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    width: 100%;
}

.spin-modal-error {
    font-size: 0.95rem;
    color: #ff6b6b;
    margin: 0 0 0.5rem 0;
    text-align: center;
    font-weight: 500;
    padding: 0.75rem 1rem;
    background: rgba(255, 107, 107, 0.1);
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 107, 107, 0.3);
}

.spin-modal-btn-retry {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.spin-modal-btn-retry:hover:not(:disabled) {
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.spin-modal-btn-secondary {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.spin-modal-btn-secondary:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.1) 100%);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* 稍後再試說明區塊 */
.spin-modal-later-instructions {
    width: 100%;
    margin-top: 1rem;
    animation: fadeInUp 0.3s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.spin-modal-instructions-content {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: left;
}

.spin-modal-instructions-title {
    font-family: 'Noto Sans TC', sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: #ffd700;
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
}

.spin-modal-instructions-steps {
    margin: 0 0 1rem 0;
    padding-left: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    font-size: 0.95rem;
}

.spin-modal-instructions-steps li {
    margin-bottom: 0.75rem;
}

.spin-modal-instructions-steps li:last-child {
    margin-bottom: 0;
}

.spin-modal-instructions-steps strong {
    color: #ffd700;
    font-weight: 700;
}

.spin-modal-instructions-contact {
    margin-top: 0.5rem;
    margin-left: 1rem;
}

.spin-modal-instructions-link {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #5865F2 0%, #4752C4 100%);
    color: white;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(88, 101, 242, 0.3);
}

.spin-modal-instructions-link:hover {
    background: linear-gradient(135deg, #4752C4 0%, #3B45A3 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(88, 101, 242, 0.4);
    color: white;
}

.spin-modal-instructions-note {
    margin: 1rem 0 0 0;
    padding: 0.75rem 1rem;
    background: rgba(255, 215, 0, 0.1);
    border-left: 3px solid #ffd700;
    border-radius: 0.25rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.875rem;
    line-height: 1.6;
}

.spin-modal-instructions-note strong {
    color: #ffd700;
    font-weight: 700;
}

.spin-modal-instructions-content .spin-modal-btn {
    margin-top: 1rem;
    width: 100%;
}

/* 彩虹球特殊脈衝動畫 */
.animate-pulse-glow {
    animation: rainbow-pulse 1s ease-in-out infinite;
}

@keyframes rainbow-pulse {
    0%, 100% {
        filter: drop-shadow(0 0 15px rgba(255, 0, 0, 0.6));
    }
    25% {
        filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.6));
    }
    50% {
        filter: drop-shadow(0 0 15px rgba(0, 255, 0, 0.6));
    }
    75% {
        filter: drop-shadow(0 0 15px rgba(0, 0, 255, 0.6));
    }
}

/* 響應式調整 */
@media (max-width: 480px) {
    .spin-modal-content {
        padding: 2rem 1.5rem;
        margin: 1rem;
    }

    .spin-modal-ball-container {
        width: 100px;
        height: 100px;
    }

    .spin-modal-ball-container .ball-3d {
        --size: 70px;
    }

    .spin-modal-title {
        font-size: 1.25rem;
    }
}

/* ==================== Free Wing Section ==================== */

.free-wing-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, #fff 0%, #fef3c7 50%, #fef9c3 100%);
    position: relative;
    overflow: hidden;
}

.free-wing-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-cny-red), var(--color-cny-gold), var(--color-cny-red));
}

.free-wing-card {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border-radius: 1.5rem;
    padding: 3rem 2rem;
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 215, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.free-wing-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255, 215, 0, 0.1) 0%, transparent 50%);
    animation: glow-rotate 20s linear infinite;
    pointer-events: none;
}

@keyframes glow-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.free-wing-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.free-wing-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, var(--color-cny-red) 0%, #b91c1c 100%);
    color: white;
    font-size: 0.875rem;
    font-weight: 700;
    border-radius: 9999px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4);
    animation: badge-pulse 2s ease-in-out infinite;
}

@keyframes badge-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.free-wing-title {
    font-family: 'Noto Sans TC', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    color: white;
    margin: 0 0 1rem 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

@media (min-width: 768px) {
    .free-wing-title {
        font-size: 2.5rem;
    }
}

.free-wing-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 2rem 0;
    line-height: 1.8;
}

.free-wing-description strong {
    color: var(--color-cny-gold);
    font-weight: 700;
}

/* Free Wing Preview */
.free-wing-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
    .free-wing-preview {
        flex-direction: row;
        padding: 2rem;
    }
}

.free-wing-preview-image {
    width: 180px;
    border-radius: 1rem;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.free-wing-preview-image img {
    width: 100%;
    height: auto;
    display: block;
}

.free-wing-preview-info {
    text-align: left;
    flex: 1;
}

@media (max-width: 767px) {
    .free-wing-preview-info {
        text-align: center;
    }
}

.free-wing-preview-name {
    font-family: 'Noto Sans TC', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #a5b4fc;
    margin: 0 0 1rem 0;
}

.free-wing-preview-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

@media (min-width: 768px) {
    .free-wing-preview-stats {
        justify-content: flex-start;
    }
}

.free-wing-stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 0.5rem;
    min-width: 100px;
}

.free-wing-stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.free-wing-stat-value {
    font-size: 1rem;
    font-weight: 700;
    color: white;
}

.free-wing-stat-value-highlight {
    color: var(--color-cny-gold);
}

/* Free Wing Actions */
.free-wing-actions {
    min-height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.free-wing-status {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

/* Loading State */
#free-wing-loading {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

/* Login State */
.free-wing-login-hint {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    margin: 0 0 0.5rem 0;
}

.free-wing-login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    border-radius: 0.75rem;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.free-wing-login-btn:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
}

/* Claim State */
.free-wing-claim-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #ffd700 0%, #ffb700 100%);
    color: #1a1a2e;
    border: none;
    border-radius: 0.75rem;
    font-family: 'Noto Sans TC', sans-serif;
    font-weight: 700;
    font-size: 1.125rem;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    animation: freeWingBtnPulse 2s ease-in-out infinite;
}

@keyframes freeWingBtnPulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 4px 30px rgba(255, 215, 0, 0.6), 0 0 50px rgba(255, 215, 0, 0.3);
        transform: scale(1.02);
    }
}

.free-wing-claim-btn:hover:not(:disabled) {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.5);
    animation: none;
}

.free-wing-claim-btn:active:not(:disabled) {
    transform: translateY(-1px);
}

.free-wing-claim-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    animation: none;
}

.free-wing-claim-hint {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* Claimed State */
.free-wing-claimed-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    font-weight: 700;
    font-size: 1.125rem;
    border-radius: 9999px;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.4);
}

.free-wing-claimed-hint {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* Not Started State */
.free-wing-countdown-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 9999px;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.free-wing-countdown-hint {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* Ended State */
.free-wing-ended-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
    color: white;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 9999px;
    box-shadow: 0 4px 15px rgba(107, 114, 128, 0.4);
}

.free-wing-ended-hint {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* Quick Nav Highlight Link（與一般 link 同高：min-height 2.25rem + 同 vertical padding） */
.luckybox-quick-nav-link-highlight {
    background: linear-gradient(135deg, var(--color-cny-red), #b91c1c);
    color: white !important;
    padding: 0.375rem 0.75rem;
    min-height: 2.25rem;
    border-radius: 9999px;
    animation: nav-highlight-pulse 2s ease-in-out infinite;
}

.luckybox-quick-nav-link-highlight:hover {
    background: linear-gradient(135deg, #b91c1c, #991b1b);
}

@keyframes nav-highlight-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(220, 38, 38, 0); }
}
