/* 马年主题Meme币项目样式 */

/* 全局样式调整 */
body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    background-color: #8F0405;
    color: #977272;
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
}

/* 标题字体 */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Arial', 'Helvetica', sans-serif;
    font-weight: 900;
    color: #FDCE4A;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* 内容字体 */
p, span, div {
    font-family: 'Arial', 'Helvetica', sans-serif;
    color: #977272;
    font-weight: normal;
    font-size: 14px;
}

/* 容器样式 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 通用部分样式 */
.section {
    padding: 60px 0;
    position: relative;
    background: #561D1A;
    border-top: 3px solid #FDCE4A;
    border-bottom: 3px solid #FDCE4A;
    margin: 20px auto;
}

.section-title {
    font-size: 28px;
    font-weight: 900;
    text-align: center;
    margin-bottom: 40px;
    color: #FDCE4A;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 10px 0;
    border-bottom: 2px solid rgba(253, 206, 74, 0.3);
    margin-bottom: 30px;
}

/* 掉落表情动画 */
.falling-emoji {
    position: fixed;
    font-size: 24px;
    pointer-events: none;
    z-index: 1;
    animation: fall linear infinite;
}

@keyframes fall {
    0% {
        transform: translateY(-100px) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

/* 头部样式 */
.header {
    background: #8F0405;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid #FDCE4A;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.navbar .logo {
    font-size: 1.8rem;
    font-weight: 900;
    color: #FDCE4A;
    text-decoration: none;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.navbar .logo span {
    color: #FDCE4A;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Logo圆形样式 */
.navbar .logo .logo-circle {
    display: inline-block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #FDCE4A;
    padding: 5px;
    margin-right: 10px;
    vertical-align: middle;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.navbar .logo .logo-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.2rem;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    color: #FDCE4A;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links li a:hover {
    color: #fff;
    transform: translateY(-1px);
}

.wallet-btn {
    background: #FDCE4A;
    color: #8F0405;
    border: 2px solid #FDCE4A;
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: 900;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.wallet-btn:hover {
    background: transparent;
    color: #FDCE4A;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

#result {
    background: rgba(255, 255, 255, 0.95);
    padding: 8px 16px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid #ff4d4f;
}

#result #address {
    font-weight: bold;
    color: #ff4d4f;
    font-size: 0.9rem;
}

#result #balance {
    color: #52c41a;
    font-weight: bold;
    font-size: 0.9rem;
}

/* Hero区域样式 */
.hero {
    background: #561D1A;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    text-align: center;
    border-bottom: 3px solid #FDCE4A;
    animation: heroPulse 3s ease-in-out infinite;
}

@keyframes heroPulse {
    0% {
        box-shadow: 0 0 20px rgba(193, 24, 24, 0.2);
    }
    50% {
        box-shadow: 0 0 40px rgba(193, 24, 24, 0.4);
    }
    100% {
        box-shadow: 0 0 20px rgba(193, 24, 24, 0.2);
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(253,206,74,0.4)"/></svg>');
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.hero .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #977272;
    max-width: 900px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #FDCE4A;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: titleGlow 2s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    from {
        text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    }
    to {
        text-shadow: 0 4px 16px rgba(253, 206, 74, 0.6);
    }
}

.hero-content h1::before {
    content: '🧧 ';
    font-size: 3rem;
}

.hero-content h1::after {
    content: ' 🧧';
    font-size: 3rem;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 500;
    color: #977272;
}

.contract-address-box {
    background: #561D1A;
    padding: 15px;
    border-radius: 4px;
    margin: 25px auto;
    max-width: 400px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    border: 1px solid #FDCE4A;
    animation: boxGlow 2s ease-in-out infinite alternate;
}

@keyframes boxGlow {
    from {
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    }
    to {
        box-shadow: 0 4px 12px rgba(253, 206, 74, 0.3);
    }
}

.contract-address-box p {
    color: #FDCE4A;
    margin: 5px 0;
    font-size: 0.9rem;
}

.contract-address {
    font-weight: bold;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    word-break: break-all;
    color: #977272;
}

.burn-btn {
    background: #C11818;
    color: #FDCE4A;
    border: 2px solid #FDCE4A;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(193, 24, 24, 0.3);
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.burn-btn::before {
    content: '🔥';
    position: absolute;
    left: -30px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.burn-btn:hover {
    background: #FDCE4A;
    color: #C11818;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(193, 24, 24, 0.4);
}

.burn-btn:hover::before {
    left: 10px;
}

.burn-btn span {
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.burn-btn:hover span {
    margin-left: 20px;
}

.balance-display {
    background: #561D1A;
    padding: 12px;
    border-radius: 4px;
    display: inline-block;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    border: 1px solid #FDCE4A;
    margin-top: 15px;
    animation: balanceGlow 2s ease-in-out infinite alternate;
}

@keyframes balanceGlow {
    from {
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    }
    to {
        box-shadow: 0 4px 12px rgba(253, 206, 74, 0.3);
    }
}

.balance-label {
    color: #FDCE4A;
    font-weight: bold;
    margin: 0;
    font-size: 0.9rem;
}

.balance-value {
    color: #977272;
    font-weight: bold;
    font-size: 1rem;
    margin: 0;
}

/* 卡片区域样式 */
#cards {
    padding: 80px 0;
    background: #561D1A;
    border-top: 3px solid #FDCE4A;
    border-bottom: 3px solid #FDCE4A;
    position: relative;
    overflow: hidden;
}

#cards::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(253,206,74,0.2)"/></svg>');
    animation: float 8s ease-in-out infinite;
    z-index: 0;
}

#cards .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: #FDCE4A;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    padding-bottom: 10px;
    display: block;
    position: relative;
    z-index: 1;
    animation: titleGlow 2s ease-in-out infinite alternate;
}

.section-title::before {
    content: '🎊 ';
    font-size: 2rem;
}

.section-title::after {
    content: ' 🎊';
    font-size: 2rem;
}

.cards-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: nowrap;
    position: relative;
    z-index: 1;
}

.card-item {
    text-align: center;
    flex: 1;
    min-width: 160px;
    max-width: 200px;
    animation: cardItemFloat 3s ease-in-out infinite;
    border: 2px solid #FDCE4A;
    border-radius: 12px;
    overflow: hidden;
    background: #561D1A;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    animation: cardGlow 2s ease-in-out infinite alternate;
}

.card-item:nth-child(1) {
    animation-delay: 0s;
}

.card-item:nth-child(2) {
    animation-delay: 0.5s;
}

.card-item:nth-child(3) {
    animation-delay: 1s;
}

.card-item:nth-child(4) {
    animation-delay: 1.5s;
}

.card-item:nth-child(5) {
    animation-delay: 2s;
}

@keyframes cardItemFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes cardGlow {
    from {
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    }
    to {
        box-shadow: 0 8px 24px rgba(253, 206, 74, 0.4);
    }
}

.card-item .card-image {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    position: relative;
}

.card-item .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card-item:hover .card-image img {
    transform: scale(1.05);
}

.card-item .card-content {
    padding: 10px;
    width: 100%;
    text-align: center;
}

.card-item .card-content h3 {
    font-size: 1rem;
    font-weight: bold;
    color: #FDCE4A;
    margin-bottom: 5px;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.card-item .card-content .card-type {
    font-size: 0.7rem;
    color: #977272;
    margin-bottom: 8px;
    text-align: center;
}

.card-item .card-content .rarity {
    display: inline-flex;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: bold;
    font-size: 0.7rem;
    margin-bottom: 8px;
    border: 1px solid rgba(253, 206, 74, 0.4);
    background: rgba(253, 206, 74, 0.1);
    color: #FDCE4A;
    animation: rarityGlow 2s ease-in-out infinite alternate;
}

@keyframes rarityGlow {
    from {
        box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
    }
    to {
        box-shadow: 0 0 8px rgba(253, 206, 74, 0.4);
    }
}

.card-item .card-content p {
    color: #977272;
    font-size: 0.75rem;
    line-height: 1.4;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 稀有度边框颜色 */
.card-item.rarity-common {
    border-color: rgba(149, 165, 166, 0.6);
}

.card-item.rarity-rare {
    border-color: rgba(52, 152, 219, 0.6);
}

.card-item.rarity-epic {
    border-color: rgba(155, 89, 182, 0.6);
}

.card-item.rarity-legendary {
    border-color: rgba(243, 156, 18, 0.8);
    box-shadow: 0 0 12px rgba(243, 156, 18, 0.5);
}

/* 核心机制区域样式 */
#mechanism {
    padding: 80px 0;
    background: #561D1A;
    border-top: 3px solid #FDCE4A;
    border-bottom: 3px solid #FDCE4A;
    position: relative;
    overflow: hidden;
}

#mechanism::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(253,206,74,0.2)"/></svg>');
    animation: float 8s ease-in-out infinite;
    z-index: 0;
}

#mechanism .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.mechanism-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
    position: relative;
    z-index: 1;
}

.mechanism-card {
    background: #561D1A;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border-top: 4px solid #C11818;
    border: 2px solid #FDCE4A;
    animation: mechanismGlow 2s ease-in-out infinite alternate;
    position: relative;
    overflow: hidden;
}

@keyframes mechanismGlow {
    from {
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    }
    to {
        box-shadow: 0 6px 20px rgba(253, 206, 74, 0.3);
    }
}

.mechanism-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(193, 24, 24, 0.4);
}

.mechanism-card h3 {
    color: #FDCE4A;
    margin-bottom: 15px;
    font-size: 1.3rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 10px;
}

.mechanism-card h3::before {
    content: '🎯';
    font-size: 1.2rem;
}

.mechanism-card p {
    color: #977272;
    line-height: 1.6;
    font-size: 1rem;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

/* 钱包区域样式 */
#wallet {
    padding: 80px 0;
    background: #561D1A;
    border-top: 3px solid #FDCE4A;
    border-bottom: 3px solid #FDCE4A;
    position: relative;
    overflow: hidden;
}

#wallet::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(253,206,74,0.2)"/></svg>');
    animation: float 8s ease-in-out infinite;
    z-index: 0;
}

#wallet .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.wallet-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
    position: relative;
    z-index: 1;
}

.wallet-info, .burn-section {
    background: #561D1A;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    border-top: 4px solid #C11818;
    border: 2px solid #FDCE4A;
    animation: walletGlow 2s ease-in-out infinite alternate;
}

@keyframes walletGlow {
    from {
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    }
    to {
        box-shadow: 0 6px 20px rgba(253, 206, 74, 0.3);
    }
}

.wallet-info h3, .burn-section h3 {
    color: #FDCE4A;
    margin-bottom: 15px;
    font-size: 1.3rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 10px;
}

.wallet-info h3::before {
    content: '👛';
    font-size: 1.2rem;
}

.burn-section h3::before {
    content: '🔥';
    font-size: 1.2rem;
}

.burn-info p {
    color: #977272;
    margin: 8px 0;
    font-size: 1rem;
    font-weight: 500;
}

/* 奖池区域样式 */
#rewards {
    padding: 80px 0;
    background: #561D1A;
    border-top: 3px solid #FDCE4A;
    border-bottom: 3px solid #FDCE4A;
    position: relative;
    overflow: hidden;
}

#rewards::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(253,206,74,0.2)"/></svg>');
    animation: float 8s ease-in-out infinite;
    z-index: 0;
}

#rewards .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.rewards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 0 0 50px;
    position: relative;
    z-index: 1;
}

.reward-item {
    background: #AC1414;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border: 2px solid #FDCE4A;
    animation: rewardGlow 2s ease-in-out infinite alternate;
    position: relative;
    overflow: hidden;
}

@keyframes rewardGlow {
    from {
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    }
    to {
        box-shadow: 0 6px 20px rgba(253, 206, 74, 0.4);
    }
}

.reward-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(193, 24, 24, 0.4);
}

.reward-item h3 {
    color: #FDCE4A;
    margin-bottom: 15px;
    font-size: 1.2rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.reward-item:nth-child(1) h3::before {
    content: '💰';
    font-size: 1.2rem;
}

.reward-item:nth-child(2) h3::before {
    content: '📅';
    font-size: 1.2rem;
}

.reward-item:nth-child(3) h3::before {
    content: '👥';
    font-size: 1.2rem;
}

.pool-balance, .today-sign, .total-holders {
    font-size: 2rem;
    font-weight: bold;
    color: #FDCE4A;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    animation: valueGlow 2s ease-in-out infinite alternate;
}

@keyframes valueGlow {
    from {
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    }
    to {
        text-shadow: 0 2px 12px rgba(253, 206, 74, 0.6);
    }
}

.completed-users {
    background: #561D1A;
    padding: 30px;
    border-radius: 12px;
    max-width: 1200px;
    margin: 0 auto;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    border: 2px solid #FDCE4A;
    animation: usersGlow 2s ease-in-out infinite alternate;
    position: relative;
    z-index: 1;
}

@keyframes usersGlow {
    from {
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    }
    to {
        box-shadow: 0 6px 20px rgba(253, 206, 74, 0.3);
    }
}

.completed-users h3 {
    color: #FDCE4A;
    margin-bottom: 15px;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.completed-users h3::before {
    content: '🏆';
    font-size: 1.4rem;
}

.users-list {
    background: #561D1A;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    border: 1px solid #FDCE4A;
}

.users-list p {
    color: #977272;
    margin: 8px 0;
    font-size: 1rem;
}

/* 玩法说明区域 */
#rules {
    padding: 80px 0;
    background: #561D1A;
    border-top: 3px solid #FDCE4A;
    border-bottom: 3px solid #FDCE4A;
    position: relative;
    overflow: hidden;
}

#rules::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(253,206,74,0.2)"/></svg>');
    animation: float 8s ease-in-out infinite;
    z-index: 0;
}

#rules .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

#rules h2 {
    color: #FDCE4A;
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
    animation: titleGlow 2s ease-in-out infinite alternate;
}

#rules h2::before {
    content: '📜';
    font-size: 2rem;
}

.rules-content {
    background: #561D1A;
    padding: 35px;
    border-radius: 12px;
    border: 2px solid #FDCE4A;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
    animation: rulesGlow 2s ease-in-out infinite alternate;
}

@keyframes rulesGlow {
    from {
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    }
    to {
        box-shadow: 0 6px 20px rgba(253, 206, 74, 0.3);
    }
}

.rule-item {
    margin-bottom: 30px;
    padding: 20px;
    background: #561D1A;
    border-radius: 8px;
    border-left: 4px solid #C11818;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    animation: ruleGlow 1.5s ease-in-out infinite alternate;
}

@keyframes ruleGlow {
    from {
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    }
    to {
        box-shadow: 0 4px 16px rgba(253, 206, 74, 0.3);
    }
}

.rule-item h3 {
    color: #FDCE4A;
    margin-bottom: 10px;
    font-size: 1.2rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 10px;
}

.rule-item:nth-child(1) h3::before {
    content: '🔥';
    font-size: 1.1rem;
}

.rule-item:nth-child(2) h3::before {
    content: '🐴';
    font-size: 1.1rem;
}

.rule-item:nth-child(3) h3::before {
    content: '🏆';
    font-size: 1.1rem;
}

.rule-item:nth-child(4) h3::before {
    content: '🔄';
    font-size: 1.1rem;
}

.rule-item p {
    color: #977272;
    line-height: 1.6;
    font-size: 1rem;
    font-weight: 500;
}

/* 卡包区域 */
#card-package {
    padding: 80px 0;
    background: #561D1A;
    border-top: 3px solid #FDCE4A;
    border-bottom: 3px solid #FDCE4A;
    position: relative;
    overflow: hidden;
}

#card-package::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(253,206,74,0.2)"/></svg>');
    animation: float 8s ease-in-out infinite;
    z-index: 0;
}

#card-package .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

#card-package h2 {
    color: #FDCE4A;
    font-size: 2.2rem;
    margin-bottom: 35px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    z-index: 1;
    animation: titleGlow 2s ease-in-out infinite alternate;
}

#card-package h2::before {
    content: '🎒';
    font-size: 1.8rem;
}

.card-package-content {
    background: #561D1A;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #FDCE4A;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    animation: packageGlow 2s ease-in-out infinite alternate;
    position: relative;
    z-index: 1;
}

@keyframes packageGlow {
    from {
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    }
    to {
        box-shadow: 0 6px 20px rgba(253, 206, 74, 0.3);
    }
}

.card-collection {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.collection-item {
    background: #561D1A;
    padding: 18px;
    border-radius: 4px;
    text-align: center;
    border: 1px solid #FDCE4A;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    animation: collectionGlow 1.5s ease-in-out infinite alternate;
    transition: all 0.3s ease;
}

@keyframes collectionGlow {
    from {
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    }
    to {
        box-shadow: 0 4px 16px rgba(253, 206, 74, 0.3);
    }
}

.collection-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 12px rgba(193, 24, 24, 0.4);
}

.collection-item h4 {
    color: #FDCE4A;
    margin-bottom: 8px;
    font-size: 1rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.collection-item .count {
    font-size: 1.8rem;
    font-weight: bold;
    color: #C11818;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    animation: countGlow 2s ease-in-out infinite alternate;
}

@keyframes countGlow {
    from {
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    }
    to {
        text-shadow: 0 1px 8px rgba(193, 24, 24, 0.6);
    }
}

.progress-section {
    margin-top: 30px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.progress-bar {
    width: 100%;
    height: 25px;
    background: #561D1A;
    border-radius: 12px;
    overflow: hidden;
    margin: 15px 0;
    border: 1px solid #FDCE4A;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #C11818 0%, #FDCE4A 100%);
    border-radius: 10px;
    transition: width 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #561D1A;
    font-weight: bold;
    font-size: 0.9rem;
    animation: progressGlow 2s ease-in-out infinite alternate;
}

@keyframes progressGlow {
    from {
        box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.3);
    }
    to {
        box-shadow: inset 0 0 12px rgba(253, 206, 74, 0.6);
    }
}

.progress-text {
    font-size: 1.1rem;
    font-weight: bold;
    color: #FDCE4A;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* 卡牌交易市场样式 */
#market {
    padding: 80px 0;
    background: #561D1A;
    border-top: 3px solid #FDCE4A;
    border-bottom: 3px solid #FDCE4A;
    position: relative;
    overflow: hidden;
}

#market::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(253,206,74,0.2)"/></svg>');
    animation: float 8s ease-in-out infinite;
    z-index: 0;
}

#market .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.market-content {
    background: #561D1A;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #FDCE4A;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    animation: marketGlow 2s ease-in-out infinite alternate;
    position: relative;
    z-index: 1;
}

@keyframes marketGlow {
    from {
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    }
    to {
        box-shadow: 0 6px 20px rgba(253, 206, 74, 0.3);
    }
}

.market-info {
    margin-bottom: 25px;
    padding: 18px;
    background: #561D1A;
    border-radius: 4px;
    border-left: 4px solid #C11818;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.market-info h3 {
    color: #FDCE4A;
    margin-bottom: 12px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.market-info h3::before {
    content: '🔄';
    font-size: 1.1rem;
}

.market-info p {
    color: #977272;
    margin: 6px 0;
    line-height: 1.5;
    font-size: 0.95rem;
}

.market-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.market-btn {
    background: #C11818;
    color: #FDCE4A;
    border: 1px solid #FDCE4A;
    padding: 10px 25px;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 8px;
}

.market-btn::before {
    content: '💸';
    font-size: 1rem;
    transition: all 0.3s ease;
}

.market-btn:hover {
    background: #FDCE4A;
    color: #C11818;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(193, 24, 24, 0.4);
}

.market-list {
    background: #561D1A;
    padding: 25px;
    border-radius: 4px;
    text-align: center;
    border: 1px solid #FDCE4A;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.market-list p {
    color: #977272;
    font-size: 1rem;
}

/* 免责声明区域样式 */
.disclaimer {
    background: #561D1A;
    padding: 25px;
    border-radius: 8px;
    max-width: 1000px;
    margin: 0 auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    border-left: 4px solid #C11818;
    animation: disclaimerGlow 2s ease-in-out infinite alternate;
}

@keyframes disclaimerGlow {
    from {
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    }
    to {
        box-shadow: 0 4px 12px rgba(253, 206, 74, 0.3);
    }
}

.disclaimer p {
    color: #977272;
    margin: 8px 0;
    line-height: 1.5;
    font-size: 0.95rem;
}

/* 页脚样式 */
.footer {
    background: #8F0405;
    color: #FDCE4A;
    padding: 50px 0;
    text-align: center;
    border-top: 2px solid #FDCE4A;
    position: relative;
    overflow: hidden;
    animation: footerGlow 2s ease-in-out infinite alternate;
}

@keyframes footerGlow {
    from {
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    }
    to {
        box-shadow: 0 0 30px rgba(253, 206, 74, 0.4);
    }
}

.footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.footer-content h3 {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    color: #FDCE4A;
    animation: titleGlow 2s ease-in-out infinite alternate;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.footer-content h3::before {
    content: '🎉';
    font-size: 1.5rem;
}

.footer-content h3::after {
    content: '🎉';
    font-size: 1.5rem;
}

.footer-content p {
    margin-bottom: 25px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    font-size: 0.95rem;
    color: #977272;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(253, 206, 74, 0.2);
    color: #FDCE4A;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.social-link:hover {
    background: rgba(253, 206, 74, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(253, 206, 74, 0.4);
}

.social-link span {
    font-size: 1.3rem;
}

/* 弹窗样式 */
.card-modal, .reward-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    display: none;
    backdrop-filter: blur(5px);
}

.card-result, .reward-result {
    background: #561D1A;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    position: relative;
    animation: modalFadeIn 0.3s ease;
    border: 1px solid #FDCE4A;
    animation: modalGlow 2s ease-in-out infinite alternate;
}

@keyframes modalGlow {
    from {
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    }
    to {
        box-shadow: 0 8px 35px rgba(253, 206, 74, 0.4);
    }
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #FDCE4A;
    transition: all 0.3s ease;
}

.close-modal:hover {
    color: #C11818;
    transform: rotate(90deg);
}

.card-result h3, .reward-result h3 {
    color: #FDCE4A;
    margin-bottom: 25px;
    font-size: 1.6rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.card-result h3::before {
    content: '🎊';
    font-size: 1.4rem;
}

.reward-result h3::before {
    content: '🏆';
    font-size: 1.4rem;
}

.card-display {
    margin: 25px 0;
}

.card-info {
    margin: 15px 0;
}

.close-btn, .claim-btn {
    background: #C11818;
    color: #FDCE4A;
    border: 1px solid #FDCE4A;
    padding: 10px 25px;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.close-btn::before {
    content: '❌';
    position: absolute;
    left: -30px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.claim-btn::before {
    content: '💰';
    position: absolute;
    left: -30px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.close-btn:hover, .claim-btn:hover {
    background: #FDCE4A;
    color: #C11818;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(193, 24, 24, 0.4);
}

.close-btn:hover::before, .claim-btn:hover::before {
    left: 10px;
}

.close-btn span, .claim-btn span {
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.close-btn:hover span, .claim-btn:hover span {
    margin-left: 20px;
}

.reward-amount {
    font-size: 1.8rem;
    font-weight: bold;
    color: #FDCE4A;
    margin: 25px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    animation: amountGlow 2s ease-in-out infinite alternate;
}

@keyframes amountGlow {
    from {
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    }
    to {
        text-shadow: 0 2px 12px rgba(253, 206, 74, 0.6);
    }
}

.reward-info p {
    color: #977272;
    margin: 8px 0;
    font-size: 0.95rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .cards-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
    
    .card {
        width: 180px;
        height: 250px;
    }
    
    .mechanism-grid {
        grid-template-columns: 1fr;
    }
    
    .wallet-section {
        grid-template-columns: 1fr;
    }
    
    .rewards-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
    
    .card-collection {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }
    
    .market-actions {
        flex-direction: column;
    }
    
    .market-btn {
        width: 100%;
        text-align: center;
    }
}

/* 动效样式 */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes floatUp {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateY(-50px);
        opacity: 0;
    }
}

.float-up {
    animation: floatUp 1s ease-out;
}

/* 粒子特效容器 */
.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* 金光闪烁效果 */
.glow {
    position: relative;
}

.glow::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: radial-gradient(circle, rgba(255,235,59,0.4) 0%, rgba(255,235,59,0) 70%);
    border-radius: 50%;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        transform: scale(0.8);
        opacity: 0.6;
    }
    to {
        transform: scale(1.2);
        opacity: 0;
    }
}

/* 卡片翻转特效 */
.flip-card {
    animation: flip 1s ease-in-out;
}

@keyframes flip {
    0% {
        transform: rotateY(0deg);
    }
    50% {
        transform: rotateY(90deg);
    }
    100% {
        transform: rotateY(0deg);
    }
}

/* 加载状态 */
.btn-loading {
    position: relative;
    pointer-events: none;
}

.btn-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #fff;
    border-top: 2px solid #ff4d4f;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 移动端菜单样式 */
.mobile-menu {
    display: none;
    cursor: pointer;
}

.mobile-menu-icon span {
    display: block;
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 5px 0;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        background: #561D1A;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        transition: all 0.3s ease;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 12px 0;
    }
    
    .nav-links li a {
        color: #FDCE4A;
    }
    
    .nav-links li a:hover {
        color: #fff;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .mobile-menu.active .mobile-menu-icon span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu.active .mobile-menu-icon span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu.active .mobile-menu-icon span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .wallet-btn {
        display: none;
    }
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f5f5f5;
}

::-webkit-scrollbar-thumb {
    background: #C11818;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #FDCE4A;
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 选择文本样式 */
::selection {
    background: #FDCE4A;
    color: #8F0405;
}

::-moz-selection {
    background: #FDCE4A;
    color: #8F0405;
}

/* 燃烧抽卡样式 */
.cny-panel {
    background: #561D1A;
    border: 2px solid #FDCE4A;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.paper-cut-corner {
    position: relative;
}

.paper-cut-corner::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-top: 40px solid #FDCE4A;
    border-left: 40px solid transparent;
    border-bottom: 40px solid transparent;
    border-right: 40px solid #FDCE4A;
    z-index: 1;
}

.gold-shimmer {
    color: #FDCE4A;
    text-shadow: 0 0 10px rgba(253, 206, 74, 0.5);
    animation: goldShimmer 2s ease-in-out infinite alternate;
}

@keyframes goldShimmer {
    from {
        text-shadow: 0 0 10px rgba(253, 206, 74, 0.5);
    }
    to {
        text-shadow: 0 0 20px rgba(253, 206, 74, 0.8);
    }
}

.btn-primary {
    background: #C11818;
    color: #FDCE4A;
    border: 2px solid #FDCE4A;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(193, 24, 24, 0.3);
}

.btn-primary:hover:not(:disabled) {
    background: #FDCE4A;
    color: #C11818;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(193, 24, 24, 0.4);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.text-muted-foreground {
    color: #977272;
}

.text-foreground {
    color: #FDCE4A;
}

.border-border {
    border-color: rgba(253, 206, 74, 0.3);
}

.bg-muted\/30 {
    background: rgba(255, 255, 255, 0.1);
}

.bg-muted\/50 {
    background: rgba(255, 255, 255, 0.2);
}

.bg-muted\/70 {
    background: rgba(255, 255, 255, 0.3);
}

.p-4 {
    padding: 1rem;
}

.sm\:p-6 {
    padding: 1.5rem;
}

.space-y-4 {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sm\:space-y-5 {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.text-xs {
    font-size: 0.75rem;
}

.text-sm {
    font-size: 0.875rem;
}

.text-base {
    font-size: 1rem;
}

.text-xl {
    font-size: 1.25rem;
}

.sm\:text-2xl {
    font-size: 1.5rem;
}

.font-display {
    font-family: 'Arial', 'Helvetica', sans-serif;
}

.tracking-wider {
    letter-spacing: 0.05em;
}

.mt-1\.5 {
    margin-top: 0.375rem;
}

.mt-1 {
    margin-top: 0.25rem;
}

.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.flex-wrap {
    flex-wrap: wrap;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-4 {
    gap: 1rem;
}

.w-11 {
    width: 2.75rem;
}

.h-11 {
    height: 2.75rem;
}

.w-20 {
    width: 5rem;
}

.min-w-\[100px\] {
    min-width: 100px;
}

.text-5xl {
    font-size: 3rem;
}

.rounded-xl {
    border-radius: 0.75rem;
}

.border {
    border: 1px solid;
}

.border-2 {
    border: 2px solid;
}

.text-lg {
    font-size: 1.125rem;
}

.font-bold {
    font-weight: bold;
}

.hover\:bg-muted:hover {
    background: rgba(255, 255, 255, 0.3);
}

.hover-border-gold-5:hover {
    border-color: rgba(253, 206, 74, 0.5);
}

.hover-border-gold-3:hover {
    border-color: rgba(253, 206, 74, 0.3);
}

.hover\:text-foreground:hover {
    color: #FDCE4A;
}

.transition-all {
    transition: all 0.3s ease;
}

.text-center {
    text-align: center;
}

/* 自定义弹窗样式 */
.custom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.custom-modal.active {
    opacity: 1;
    visibility: visible;
}

.custom-modal-content {
    background-color: #561D1A;
    border: 2px solid #FDCE4A;
    border-radius: 10px;
    padding: 20px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 0 20px rgba(253, 206, 74, 0.3);
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.custom-modal.active .custom-modal-content {
    transform: scale(1);
}

.custom-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(253, 206, 74, 0.3);
    padding-bottom: 10px;
}

.custom-modal-header h3 {
    color: #FDCE4A;
    margin: 0;
    font-size: 18px;
}

.custom-modal-close {
    background: none;
    border: none;
    color: #FDCE4A;
    font-size: 24px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.custom-modal-close:hover {
    color: #FFD700;
}

.custom-modal-body {
    margin-bottom: 20px;
}

.custom-modal-body p {
    color: #977272;
    margin: 0;
    line-height: 1.5;
}

.custom-modal-footer {
    display: flex;
    justify-content: flex-end;
}

.custom-modal-btn {
    background-color: #C11818;
    color: #FDCE4A;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.custom-modal-btn:hover {
    background-color: #A81515;
    box-shadow: 0 0 10px rgba(253, 206, 74, 0.5);
}

.bg-transparent {
    background: transparent;
}

.border-none {
    border: none;
}

.outline-none {
    outline: none;
}

.appearance-none {
    appearance: none;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.bg-\[hsl\(0\,78\%\,42\%\)\] {
    background-color: #C11818;
}

.border-\[hsl\(43\,96\%\,56\%\,0\.5\)\] {
    border-color: rgba(253, 206, 74, 0.5);
}

.border-\[hsl\(43\,96\%\,56\%\,0\.3\)\] {
    border-color: rgba(253, 206, 74, 0.3);
}

.text-\[hsl\(43\,96\%\,56\%\)\] {
    color: #FDCE4A;
}

.shadow-\[0_0_15px_hsl\(0\,78\%\,42\%\,0\.4\)\] {
    box-shadow: 0 0 15px rgba(193, 24, 24, 0.4);
}

.z-10 {
    z-index: 10;
}

.relative {
    position: relative;
}

.w-full {
    width: 100%;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .cny-panel {
        padding: 1rem;
    }
    
    .paper-cut-corner::before {
        border-top: 30px solid #FDCE4A;
        border-left: 30px solid transparent;
        border-bottom: 30px solid transparent;
        border-right: 30px solid #FDCE4A;
    }
    
    .text-xl {
        font-size: 1.125rem;
    }
    
    .text-2xl {
        font-size: 1.25rem;
    }
    
    .text-5xl {
        font-size: 2rem;
    }
    
    .w-20 {
        width: 4rem;
    }
}