:root {
            --primary-color: #6e8efb;
            --secondary-color: #a777e3;
            --danger-color: #ff4757;
            --success-color: #2ed573;
            --warning-color: #ffa502;
            --info-color: #1e90ff;
            --dark-color: #0a0a1a;
            --light-color: #f1f2f6;
            --text-color: #fff;
            --text-secondary: #ccc;
            --element-wood: #4CAF50;
            --element-fire: #F44336;
            --element-earth: #FFC107;
            --element-metal: #607D8B;
            --element-water: #2196F3;
        }
        
        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }
        
        body {
            font-family: 'Noto Serif SC', serif;
            margin: 0;
            padding: 0;
            color: var(--text-color);
            background-color: var(--dark-color);
            overflow-x: hidden;
            scroll-behavior: smooth;
        }
        
        /* 背景图片 */
        body::before {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: url('../images/cbg.jpg');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            opacity: 0.3;
            z-index: -2;
        }
        
        /* 星空背景 */
        .stars {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            overflow: hidden;
        }
        
        .star {
            position: absolute;
            background-color: #fff;
            border-radius: 50%;
            animation: twinkle var(--duration) infinite alternate;
        }
        
        @keyframes twinkle {
            0% { opacity: 0.2; }
            100% { opacity: 1; }
        }
        
        /* 生肖选择器 */
        .zodiac-selector {
            background: rgba(20, 20, 40, 0.9);
            padding: 15px 0;
            position: sticky;
            top: 0;
            z-index: 100;
            backdrop-filter: blur(5px);
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }
        
        .zodiac-selector-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        .zodiac-selector-title {
            font-size: 1.2rem;
            margin-bottom: 15px;
            text-align: center;
            color: var(--secondary-color);
        }
        
        .zodiac-options {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 10px;
        }
        
        .zodiac-option {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background-size: contain;
            background-repeat: no-repeat;
            background-position: center;
            cursor: pointer;
            transition: all 0.3s ease;
            border: 2px solid transparent;
            position: relative;
        }
        
        .zodiac-option:hover {
            transform: scale(1.1);
            border-color: var(--primary-color);
        }
        
        .zodiac-option.selected {
            border-color: var(--secondary-color);
            box-shadow: 0 0 15px var(--secondary-color);
        }
        
        .zodiac-option .zodiac-tooltip {
            position: absolute;
            bottom: 100%;
            left: 50%;
            transform: translateX(-50%);
            background: rgba(0, 0, 0, 0.8);
            padding: 5px 10px;
            border-radius: 5px;
            font-size: 0.8rem;
            white-space: nowrap;
            opacity: 0;
            transition: opacity 0.3s ease;
            pointer-events: none;
        }
        
        .zodiac-option:hover .zodiac-tooltip {
            opacity: 1;
        }
        
        /* 英雄区域 */
        .hero-section {
            min-height: 50vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            padding: 20px;
            position: relative;
        }
        
        .hero-content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }
        
        .hero-title {
            font-size: 3.5rem;
            font-weight: 700;
            margin-bottom: 20px;
            text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
            animation: fadeInDown 1s ease-out;
        }
        
        .hero-subtitle {
            font-size: 1.5rem;
            margin-bottom: 30px;
            line-height: 1.6;
            animation: fadeInUp 1s ease-out 0.3s both;
        }
        
        .destiny-quote {
            font-size: 1.8rem;
            font-style: italic;
            margin-top: 40px;
            color: var(--secondary-color);
            text-shadow: 0 0 10px rgba(167, 119, 227, 0.5);
            animation: fadeIn 2s ease-out 1s both;
            font-weight: 700;
            padding: 15px 30px;
            border-radius: 50px;
            background: rgba(10, 10, 26, 0.5);
            display: inline-block;
        }
        
        /* 滚动指示 */
        .scroll-down {
            position: absolute;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            font-size: 2rem;
            color: white;
            cursor: pointer;
            animation: bounce 2s infinite;
        }
        
        @keyframes bounce {
            0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
            40% { transform: translateY(-20px) translateX(-50%); }
            60% { transform: translateY(-10px) translateX(-50%); }
        }
        
        /* 动画效果 */
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }
        
        @keyframes fadeInDown {
            from { 
                opacity: 0;
                transform: translateY(-50px);
            }
            to { 
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        @keyframes fadeInUp {
            from { 
                opacity: 0;
                transform: translateY(50px);
            }
            to { 
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        /* 添加按钮特效样式 */
        .cta-button {
            display: inline-block;
            padding: 15px 30px;
            margin: 20px 0;
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            color: white;
            font-size: 1.2rem;
            font-weight: 500;
            border: none;
            border-radius: 50px;
            cursor: pointer;
            text-decoration: none;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            z-index: 1;
            animation: pulse 2s infinite;
        }
        
        .cta-button:before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
            z-index: -1;
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        
        .cta-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
            animation: none;
        }
        
        .cta-button:hover:before {
            opacity: 1;
        }
        
        .cta-button:active {
            transform: translateY(1px);
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
        }
        
        .cta-button:after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 5px;
            height: 5px;
            background: rgba(255, 255, 255, 0.5);
            opacity: 0;
            border-radius: 100%;
            transform: scale(1, 1) translate(-50%);
            transform-origin: 50% 50%;
        }
        
        .cta-button:focus:not(:active)::after {
            animation: ripple 1s ease-out;
        }
        
        @keyframes ripple {
            0% {
                transform: scale(0, 0);
                opacity: 0.5;
            }
            100% {
                transform: scale(20, 20);
                opacity: 0;
            }
        }
        
        @keyframes pulse {
            0% {
                box-shadow: 0 0 0 0 rgba(110, 142, 251, 0.7);
            }
            70% {
                box-shadow: 0 0 0 15px rgba(110, 142, 251, 0);
            }
            100% {
                box-shadow: 0 0 0 0 rgba(110, 142, 251, 0);
            }
        }
        
        /* 五行元素样式 - 放大50% */
        .bazi-elements {
            display: flex;
            justify-content: center;
            gap: 30px;
            margin: 40px 0;
            position: relative;
            height: 120px;
        }
        
        .element {
            width: 90px;
            height: 90px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 36px;
            font-weight: bold;
            color: white;
            user-select: none;
            transition: all 0.3s ease;
            box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
            position: relative;
            animation: float 6s ease-in-out infinite;
            cursor: pointer;
        }
        
        .element:nth-child(1) { 
            background-color: var(--element-wood);
            animation-delay: 0s;
        }
        .element:nth-child(2) { 
            background-color: var(--element-fire);
            animation-delay: 0.5s;
        }
        .element:nth-child(3) { 
            background-color: var(--element-earth);
            animation-delay: 1s;
        }
        .element:nth-child(4) { 
            background-color: var(--element-metal);
            animation-delay: 1.5s;
        }
        .element:nth-child(5) { 
            background-color: var(--element-water);
            animation-delay: 2s;
        }
        
        @keyframes float {
            0%, 100% {
                transform: translateY(0) rotate(0deg);
            }
            50% {
                transform: translateY(-20px) rotate(5deg);
            }
        }
        
        /* 元素悬停效果 */
        .element:hover {
            transform: scale(1.2) rotate(15deg);
            box-shadow: 0 0 40px rgba(255, 255, 255, 0.8);
            z-index: 10;
        }
        
        /* 元素点击效果 */
        .element:active {
            animation: elementClick 0.5s ease-out;
        }
        
        @keyframes elementClick {
            0% {
                transform: scale(1);
            }
            50% {
                transform: scale(0.9);
            }
            100% {
                transform: scale(1);
            }
        }
        
        /* 元素连接线 */
        .element::after {
            content: '';
            position: absolute;
            width: 30px;
            height: 3px;
            background: rgba(255, 255, 255, 0.4);
            top: 50%;
            right: -30px;
            transform: translateY(-50%);
        }
        
        .element:last-child::after {
            display: none;
        }
        
        /* 元素发光效果 */
        .element::before {
            content: '';
            position: absolute;
            width: 100%;
            height: 100%;
            border-radius: 50%;
            box-shadow: 0 0 20px currentColor;
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        
        .element:hover::before {
            opacity: 0.7;
        }
        
        /* 波纹效果 */
        .ripple {
            position: absolute;
            border-radius: 50%;
            background-color: rgba(255, 255, 255, 0.7);
            transform: scale(0);
            animation: rippleEffect 0.6s linear;
            pointer-events: none;
        }
        
        @keyframes rippleEffect {
            to {
                transform: scale(4);
                opacity: 0;
            }
        }
        
        /* 主要内容区域 */
        .content-section {
            max-width: 1200px;
            margin: 0 auto;
            margin-top: 100px; /* 根据需要调整这个值 */
            padding: 40px 20px;
            position: relative;
        }
        
        .section-title {
            font-size: 2.5rem;
            margin-bottom: 30px;
            text-align: center;
            position: relative;
            display: inline-block;
            left: 50%;
            transform: translateX(-50%);
            padding: 0 30px;
        }
        
        .section-title:after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 0;
            width: 100%;
            height: 3px;
            background: linear-gradient(90deg, transparent, var(--primary-color), var(--secondary-color), transparent);
            border-radius: 3px;
        }
        
        /* 卡片样式 */
        .card {
            background: rgba(20, 20, 40, 0.7);
            border-radius: 15px;
            padding: 25px;
            margin-bottom: 30px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }
        
        .card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
        }
        
        .card-title {
            font-size: 1.5rem;
            margin-bottom: 20px;
            color: var(--secondary-color);
            display: flex;
            align-items: center;
        }
        
        .card-title i {
            margin-right: 10px;
        }
        
        /* 生肖排行榜 */
        .zodiac-rankings {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 20px;
            margin-top: 20px;
        }
        
        .zodiac-ranking {
            background: rgba(30, 30, 60, 0.7);
            border-radius: 10px;
            padding: 15px;
            display: flex;
            align-items: center;
            transition: all 0.3s ease;
        }
        
        .zodiac-ranking:hover {
            background: rgba(40, 40, 80, 0.9);
            transform: translateY(-3px);
        }
        
        .zodiac-rank {
            font-size: 1.8rem;
            font-weight: bold;
            width: 50px;
            text-align: center;
            color: var(--secondary-color);
        }
        
        .zodiac-icon {
            width: 50px;
            height: 50px;
            margin: 0 15px;
            background-size: contain;
            background-repeat: no-repeat;
            background-position: center;
            filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
        }
        
        .zodiac-info {
            flex: 1;
        }
        
        .zodiac-name {
    font-weight: bold;
    margin-bottom: 5px;
}

.zodiac-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* 进度条样式 */
.luck-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin-top: 8px;
    overflow: hidden;
}

.luck-progress {
    height: 100%;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    width: 0;
    transition: width 1s ease;
}

/* 能量预测样式 */
.energy-forecast {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.energy-card {
    background: rgba(30, 30, 60, 0.7);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.energy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.energy-title {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.energy-value {
    font-size: 2rem;
    font-weight: bold;
    margin: 15px 0;
    position: relative;
    display: inline-block;
}

.energy-value:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.energy-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 15px;
}

/* 生肖警告 */
.warning-zodiacs {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
    justify-content: center;
}

.warning-zodiac {
    background: rgba(255, 71, 87, 0.2);
    border: 1px solid var(--danger-color);
    border-radius: 50px;
    padding: 8px 15px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.warning-zodiac:hover {
    background: rgba(255, 71, 87, 0.4);
    transform: scale(1.05);
}

.warning-zodiac i {
    margin-right: 8px;
    color: var(--danger-color);
}

/* 每日运势卡片 */
.daily-fortune {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.fortune-card {
    background: rgba(30, 30, 60, 0.7);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.fortune-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.fortune-title {
    font-size: 1rem;
    margin-bottom: 15px;
    color: var(--text-secondary);
}

.fortune-value {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 10px 0;
}

.fortune-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

/* 生肖连连看游戏 */
.zodiac-memory-game {
    background: rgba(30, 30, 60, 0.7);
    border-radius: 15px;
    padding: 25px;
    margin-top: 30px;
    text-align: center;
}

.game-board {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin: 30px auto;
    max-width: 600px;
}

.memory-card {
    height: 100px;
    background: rgba(40, 40, 80, 0.9);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    transform-style: preserve-3d;
}

.memory-card .front-face,
.memory-card .back-face {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
}

.memory-card .front-face {
    background: var(--secondary-color);
    transform: rotateY(180deg);
}

.memory-card .back-face {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.memory-card.flipped {
    transform: rotateY(180deg);
}

.memory-card.matched {
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s 0.5s, opacity 0.5s linear;
}

.game-info {
    margin-top: 20px;
    display: flex;
    justify-content: space-around;
}

.game-stats {
    font-size: 1.2rem;
}

/* 时间选择器 */
.date-selector {
    display: flex;
    justify-content: center;
    margin: 30px 0;
    gap: 15px;
}

.date-option {
    padding: 10px 20px;
    background: rgba(40, 40, 80, 0.7);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.date-option:hover, .date-option.active {
    background: rgba(110, 142, 251, 0.3);
    border-color: var(--primary-color);
}

.date-option.active {
    color: var(--primary-color);
    font-weight: bold;
}

/* 生肖详情弹窗 */
.zodiac-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.zodiac-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: linear-gradient(135deg, #1a1a3a, #0a0a1a);
    border-radius: 15px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 30px;
    position: relative;
    box-shadow: 0 0 30px rgba(110, 142, 251, 0.3);
    border: 1px solid rgba(110, 142, 251, 0.2);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.close-modal:hover {
    color: var(--danger-color);
    transform: rotate(90deg);
}

.modal-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-zodiac-icon {
    width: 80px;
    height: 80px;
    margin-right: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.modal-zodiac-name {
    font-size: 2rem;
    font-weight: bold;
}

.modal-zodiac-year {
    color: var(--text-secondary);
    margin-top: 5px;
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.modal-section {
    margin-bottom: 20px;
}

.modal-section-title {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.modal-section-title i {
    margin-right: 10px;
}

.modal-section-content {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* 运势指示器 */
.fortune-indicator {
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    margin-top: 10px;
    overflow: hidden;
    position: relative;
}

.fortune-level {
    height: 100%;
    border-radius: 5px;
    position: absolute;
    left: 0;
    top: 0;
    transition: width 1s ease;
}

/* 生肖颜色 */
.rat { color: #4CAF50; }
.ox { color: #607D8B; }
.tiger { color: #F44336; }
.rabbit { color: #9C27B0; }
.dragon { color: #FF9800; }
.snake { color: #009688; }
.horse { color: #E91E63; }
.goat { color: #3F51B5; }
.monkey { color: #FFC107; }
.rooster { color: #795548; }
.dog { color: #2196F3; }
.pig { color: #FF5722; }

/* 五行颜色 */
.wood { color: var(--element-wood); }
.fire { color: var(--element-fire); }
.earth { color: var(--element-earth); }
.metal { color: var(--element-metal); }
.water { color: var(--element-water); }

/* 当前生肖高亮 */
.current-zodiac {
    background: rgba(110, 142, 251, 0.3);
    border: 1px solid var(--primary-color);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .destiny-quote {
        font-size: 1.4rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .modal-body {
        grid-template-columns: 1fr;
    }
    
    .bazi-elements {
        gap: 15px;
    }
    
    .element {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .element::after {
        width: 15px;
        right: -15px;
    }
    
    .zodiac-options {
        gap: 5px;
    }
    
    .zodiac-option {
        width: 40px;
        height: 40px;
    }

    .game-board {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(10, 10, 26, 0.5);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--primary-color), var(--secondary-color));
    border-radius: 4px;
}

/* 浮动云朵效果 */
.clouds {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    opacity: 0.1;
}

.cloud {
    position: absolute;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 60"><path d="M25,10 Q30,0 40,5 Q50,0 55,10 Q65,5 75,15 Q85,10 90,20 Q95,25 85,30 Q95,35 85,40 Q95,45 75,45 Q65,55 50,50 Q35,55 25,45 Q5,45 10,30 Q0,25 10,20 Q5,10 25,10" fill="white"/></svg>') no-repeat;
    background-size: contain;
    width: 200px;
    height: 120px;
    animation: floatCloud linear infinite;
}

@keyframes floatCloud {
    0% {
        transform: translateX(-100%) translateY(0);
    }
    100% {
        transform: translateX(100vw) translateY(0);
    }
}

/* 粒子效果 */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    pointer-events: none;
}

/* 运势动画 */
@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.rotating {
    animation: rotate 10s linear infinite;
}

/* 能量波动效果 */
@keyframes wave {
    0% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.05); opacity: 0.9; }
    100% { transform: scale(1); opacity: 0.7; }
}

.waving {
    animation: wave 3s ease-in-out infinite;
}

/* 闪烁效果 */
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.blinking {
    animation: blink 2s infinite;
}

/* 连连看游戏说明样式 */
.game-instruction {
    margin-top: 20px;
    padding: 15px;
    background: rgba(255, 71, 87, 0.2);
    border-radius: 8px;
    font-size: 14px;
}

.game-instruction a {
    color: #1e90ff;
    text-decoration: none;
}

.game-instruction a:hover {
    text-decoration: underline;
}


.modal-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.modal-buttons .secondary {
    background-color: #6c757d;
}


#payment-container {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    max-width: 90%;
    z-index: 1000;
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}


/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    width: 90%;
    max-width: 400px;
    animation: modalopen 0.3s;
}

@keyframes modalopen {
    from {opacity: 0; transform: translateY(-50px);}
    to {opacity: 1; transform: translateY(0);}
}

.close {
    color: #aaa;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #333;
    text-decoration: none;
    cursor: pointer;
}

/* 输入框样式 */
#userName {
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

/* 支付按钮悬停效果 */
.payment-btn:hover {
    opacity: 0.9;
}

