:root {
    --bg-color: #050505;
    --text-primary: #ffffff;
    --text-secondary: #888888;
    --gold-primary: #d4af37;
    --gold-light: #f3e5ab;
    --gold-dark: #8a6e2f;
    --card-bg: rgba(20, 20, 20, 0.8);
    --border-color: rgba(212, 175, 55, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    min-height: 100vh;
}

/* 背景特效 - 星光 */
.bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* 将背景图位置调整为 center 20% 以实现下移效果 (垂直方向偏移) */
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8)), url('Materials/Background.webp') no-repeat center 20%;
    background-size: cover;
    z-index: -2;
}

.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(1px 1px at 20px 30px, #fff, rgba(0,0,0,0)),
        radial-gradient(1px 1px at 40px 70px, #fff, rgba(0,0,0,0)),
        radial-gradient(1px 1px at 50px 160px, #fff, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 90px 40px, #fff, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 130px 80px, #fff, rgba(0,0,0,0));
    background-repeat: repeat;
    background-size: 200px 200px;
    opacity: 0.3;
    animation: twinkle 5s infinite linear;
    z-index: -1;
}

@keyframes twinkle {
    0% { transform: translateY(0); }
    100% { transform: translateY(-200px); }
}

/* 导航栏 */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.hamburger-btn {
    display: none; /* 默认隐藏 */
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 101;
}

.hamburger-btn span {
    width: 100%;
    height: 2px;
    background-color: var(--gold-primary);
    border-radius: 2px;
    transition: all 0.3s;
}

.logo {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--gold-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 40px; /* Adjust height as needed */
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: color 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-menu a.active, .nav-menu a:hover {
    color: var(--gold-primary);
}

.mobile-only {
    display: none;
}

.nav-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.btn-text {
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    font-size: 0.9rem;
}

.btn-primary {
    background: linear-gradient(45deg, var(--gold-dark), var(--gold-primary));
    border: none;
    padding: 10px 25px;
    color: #000;
    font-weight: 600;
    cursor: pointer;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    transition: transform 0.2s;
}

.btn-primary:hover {
    transform: scale(1.05);
}

/* Hero Section */
.hero {
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden; /* 防止图片溢出 */
}

.hero-content {
    max-width: 800px;
    z-index: 2; /* 确保文字在图片之上（如果重叠） */
    position: relative;
}

/* 人物素材样式 */
.hero-character {
    position: absolute;
    right: 5%;
    bottom: 0;
    height: 60%; /* 再次调小高度比例 */
    z-index: 1;
    pointer-events: auto; /* 允许鼠标交互，以便触发 hover */
    animation: fadeInRight 1s ease-out;
    transition: transform 0.3s ease; /* 添加平滑过渡 */
}

.hero-character:hover {
    animation: wiggle 0.8s ease-in-out 1; /* 悬停时播放一次摇动动画 */
    transform-origin: bottom center; /* 设置旋转中心在底部 */
}

@keyframes wiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-3deg); }
    50% { transform: rotate(3deg); }
    75% { transform: rotate(-1deg); }
}

.hero-character img {
    height: 100%;
    width: auto;
    object-fit: contain;
    /* filter: drop-shadow(0 0 30px rgba(212, 175, 55, 0.15)); 移除发光效果 */
    transition: filter 0.3s ease;
}

.hero-character:hover img {
    /* filter: drop-shadow(0 0 50px rgba(212, 175, 55, 0.4)); 移除悬停增强效果 */
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

@media (max-width: 1024px) {
    .hero-character {
        right: -10%;
        opacity: 0.6; /* 平板模式下稍微淡化 */
    }
}

@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        justify-content: center; /* 改为居中，整体上移 */
        padding-bottom: 0;
    }

    .hero-content {
        margin-bottom: 20px;
    }

    .hero-character {
        position: relative;
        right: auto;
        bottom: auto;
        height: 150px; /* 移动端限制高度，进一步调小 */
        width: 100%;
        opacity: 0.8;
        order: -1; /* 图片在文字上方 */
        margin-bottom: 20px; /* 增加与主标题的间距 */
        display: flex;
        justify-content: center;
    }

    .chain-status-badge {
        font-size: 0.5rem; /* 移动端字体更小 */
        padding: 3px 10px;
    }
}



.chain-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.05); /* 更低调的背景 */
    border: 1px solid rgba(255, 255, 255, 0.05); /* 更淡的边框 */
    padding: 4px 12px; /* 减小内边距 */
    border-radius: 15px;
    font-size: 0.7rem; /* 进一步减小字体 */
    color: rgba(255, 255, 255, 0.6); /* 降低文字亮度 */
    margin-bottom: 15px;
    backdrop-filter: blur(5px);
}

.status-dot {
    width: 6px; /* 减小圆点 */
    height: 6px;
    background-color: #4caf50; /* Green dot */
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(76, 175, 80, 0.5); /* 减弱光晕 */
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0% { opacity: 0.6; transform: scale(0.9); }
    50% { opacity: 1; transform: scale(1.1); }
    100% { opacity: 0.6; transform: scale(0.9); }
}

.slogan {
    font-family: 'Cinzel', 'Noto Serif SC', serif;
    font-size: 5rem; /* 增大字体，从 4rem -> 5rem */
    font-weight: 700;
    background: linear-gradient(to right, #fff, var(--gold-light), #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    text-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
    white-space: nowrap; /* 强制不换行 */
}

@media (max-width: 1024px) {
    .slogan {
        font-size: 12vw; /* 大幅增大：8vw -> 12vw，确保移动端足够大 */
    }
}

@media (min-width: 1025px) and (max-width: 1200px) {
    .slogan {
        font-size: 3.5rem;
    }
}

.sub-slogan {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 50px;
}

.balance-display {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: transparent;
    padding: 0;
    border-radius: 0;
    border: none;
    font-size: 0.8rem !important; /* 强制覆盖内联样式 */
    color: #666 !important;
}

.icon-verified {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    background-color: #4caf50;
    border-radius: 50%;
    color: #fff;
    font-size: 10px;
    margin-left: 5px;
}

.gold-text {
    color: var(--gold-primary);
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.btn-hero {
    background: transparent;
    border: 1px solid var(--gold-primary);
    color: var(--gold-primary);
    padding: 15px 40px;
    font-size: 1.1rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 12px; /* 圆矩形边框 */
}

.btn-hero.filled {
    background: var(--gold-primary);
    color: #000;
    font-weight: 700;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.btn-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
}

.btn-hero.filled:hover {
    background: var(--gold-light);
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.6);
}

.btn-hero.qualified {
    background: #065f46; /* 深绿色 */
    border-color: #065f46;
    color: #fff;
    cursor: default;
    box-shadow: 0 0 15px rgba(6, 95, 70, 0.5);
    animation: glow-green 2s infinite alternate; /* 添加呼吸发光动画 */
}

@keyframes glow-green {
    from {
        box-shadow: 0 0 10px rgba(6, 95, 70, 0.5);
    }
    to {
        box-shadow: 0 0 25px rgba(16, 185, 129, 0.6), 0 0 10px rgba(16, 185, 129, 0.4) inset;
    }
}

.btn-hero.qualified:hover {
    transform: none;
    /* 保持动画效果，不被 hover 覆盖 */
}

.btn-hero.disabled {
    border-color: #555;
    color: #888;
    cursor: not-allowed;
    opacity: 0.7;
}

.btn-hero.disabled:hover {
    transform: none;
    box-shadow: none;
}

/* 钱包弹窗样式 */
.wallet-modal-content {
    background: #1a1a1a;
    width: 340px;
    padding: 0; /* 移除内边距，让 header 和 footer 贴边 */
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden; /* 确保子元素不溢出圆角 */
}

.modal-title {
    font-family: 'Inter', sans-serif; /* 改回常规字体 */
    font-size: 1.1rem;
    color: #fff;
    font-weight: 600;
    padding: 20px;
    margin: 0;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.close-btn {
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    color: #666;
}

/* 隐藏之前的 subtitle */
.modal-subtitle {
    display: none;
}

.wallet-section {
    padding: 10px 20px;
}

.wallet-section-title {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 10px;
    font-weight: 500;
}

.wallet-list {
    display: flex;
    flex-direction: column;
    gap: 0; /* 移除间距 */
}

.wallet-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0; /* 减少上下间距 */
    border-radius: 0;
    cursor: pointer;
    transition: background 0.2s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03); /* 增加分割线 */
}

.wallet-item:last-child {
    border-bottom: none;
}

.wallet-item:hover {
    background: transparent; /* 移除背景色变化 */
}

.wallet-item:hover .wallet-name {
    color: var(--gold-primary); /* 悬停时名字变色 */
}

.wallet-icon {
    width: 32px; /* 稍微缩小图标 */
    height: 32px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background: transparent;
}

.wallet-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wallet-info {
    flex: 1;
    display: flex;
    flex-direction: column; /* 垂直排列名字和标签 */
    justify-content: center;
    align-items: flex-start;
}

.wallet-name {
    font-size: 1rem;
    color: #fff;
    font-weight: 600;
    margin-bottom: 2px;
}

.wallet-tag {
    font-size: 0.75rem;
    color: #3498db; /* 蓝色文字 */
    background: transparent;
    padding: 0;
    margin: 0;
    font-weight: 500;
}

.wallet-footer {
    background: rgba(255, 255, 255, 0.02);
    padding: 15px 20px;
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #888;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.wallet-footer a {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
}

/* 针对移动端的微调 */
@media screen and (max-width: 768px) {
    .wallet-modal-content {
        width: 90%;
        max-width: 360px;
    }
}

.wallet-footer a {
    color: #3498db;
    text-decoration: none;
}

.wallet-footer a {
    color: #3498db;
    text-decoration: none;
}

/* 账户详情弹窗样式 */
.account-modal-content {
    background: #1a1a1a;
    width: 320px;
    padding: 25px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.account-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.account-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold-primary));
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: #000;
}

.account-address {
    font-family: monospace;
    font-size: 1.1rem;
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
    padding: 5px 15px;
    border-radius: 20px;
}

.account-menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.menu-item {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 12px 15px;
    text-align: left;
    font-size: 0.95rem;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 12px;
}

.menu-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.menu-item.disconnect {
    color: #e74c3c;
}

.menu-item.disconnect:hover {
    background: rgba(231, 76, 60, 0.1);
}

.menu-item .icon {
    font-size: 1.1rem;
    width: 24px;
    text-align: center;
}

/* 钱包连接容器及下拉菜单 */
.wallet-connect-container {
    position: relative;
    display: inline-block;
}

.account-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 10px;
    width: 240px;
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    overflow: hidden;
    animation: fadeIn 0.2s ease;
}

.account-dropdown.active {
    display: block;
}

.dropdown-header {
    padding: 15px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 10px;
}

.dropdown-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gold-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
}

.dropdown-info {
    display: flex;
    flex-direction: column;
}

.dropdown-address {
    font-family: monospace;
    font-size: 0.9rem;
    color: #fff;
    line-height: 1.2;
}

.dropdown-balance {
    font-size: 0.8rem;
    color: var(--gold-primary);
    font-family: 'Cinzel', serif;
    margin-top: 2px;
}

.dropdown-menu {
    padding: 5px;
}

.dropdown-item {
    width: 100%;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 10px 15px;
    text-align: left;
    font-size: 0.9rem;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.dropdown-item.disconnect {
    color: #e74c3c;
}

.dropdown-item.disconnect:hover {
    background: rgba(231, 76, 60, 0.1);
}

.dropdown-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.05);
    margin: 5px 0;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 弹窗样式 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    opacity: 1;
}

.modal-content {
    background: #0f0f0f;
    width: 90%;
    max-width: 600px;
    padding: 40px;
    border: 1px solid var(--gold-dark);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal.active .modal-content {
    transform: scale(1);
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s;
}

.close-btn:hover {
    color: #fff;
}

.modal-title {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    color: var(--gold-primary);
    text-align: center;
    margin-bottom: 10px;
}

.modal-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-size: 0.9rem;
}

/* 表单遮罩层 */
.wish-form-overlay {
    position: absolute;
    top: 180px; /* 调整位置，向下移动避开档位选择 (原140px) */
    left: 0;
    width: 100%;
    height: calc(100% - 240px); /* 调整高度以适配新位置 (原-200px) */
    background: rgba(10, 10, 10, 0.95); /* 加深背景不透明度，确保看不清下面内容 */
    backdrop-filter: blur(5px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10;
    border-radius: 8px;
}

.overlay-content {
    text-align: center;
    padding: 20px;
}

.overlay-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.overlay-content h3 {
    color: var(--gold-primary);
    margin-bottom: 10px;
    font-family: 'Cinzel', serif;
}

.overlay-content p {
    color: #ccc;
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.overlay-countdown {
    font-size: 2rem;
    font-family: 'Cinzel', serif;
    color: var(--gold-primary);
    margin: 15px 0 25px;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.wish-form.blurred {
    filter: blur(3px);
    opacity: 0.3;
    pointer-events: none;
}

.btn-secondary {
    background: transparent;
    border: 1px solid #666;
    color: #888;
    padding: 10px 25px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.btn-secondary:hover {
    border-color: var(--gold-primary);
    color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.1);
}

/* 档位选择 */
.tier-selection {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.tier-option {
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 0;
    width: 80px;
    text-align: center;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Cinzel', serif;
}

.tier-option:hover {
    border-color: var(--gold-primary);
    color: #fff;
}

.tier-option.active {
    background: var(--gold-primary);
    color: #000;
    border-color: var(--gold-primary);
    font-weight: bold;
}

/* 表单样式 */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.label-with-action {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.label-with-action label {
    margin-bottom: 0;
}

.btn-text-small {
    background: none;
    border: none;
    color: var(--gold-primary);
    font-size: 0.8rem;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.btn-text-small:hover {
    opacity: 1;
}

.input-field, .textarea-field {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.input-field:focus, .textarea-field:focus {
    outline: none;
    border-color: var(--gold-primary);
    background: rgba(255, 255, 255, 0.08);
}

.textarea-field {
    height: 120px;
    resize: none;
}

.char-count {
    text-align: right;
    font-size: 0.8rem;
    color: #666;
    margin-top: 5px;
    font-family: monospace;
}

/* 规则提示 */
.rules-hint {
    font-size: 0.75rem;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.5;
}

/* 规则弹窗样式 */
.rules-container {
    max-height: 500px;
    overflow-y: auto;
    padding-right: 20px; /* 增加右侧内边距，防止滚动条遮挡文字 */
}

.rules-container::-webkit-scrollbar {
    width: 6px;
}
.rules-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}
.rules-container::-webkit-scrollbar-thumb {
    background: var(--gold-dark);
    border-radius: 3px;
}

.rules-section {
    margin-bottom: 35px; /* 增加间距 */
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.rules-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.rules-heading {
    font-size: 1.3rem; /* 稍微加大标题 */
    color: var(--gold-primary);
    margin-bottom: 20px;
    font-family: 'Cinzel', serif;
    display: flex;
    align-items: center;
    gap: 10px; /* 增加图标和标题的间距 */
}

/* 增加标题前的装饰线 */
.rules-heading::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 1.2rem;
    background: var(--gold-primary);
    border-radius: 2px;
}

.rules-desc, .rules-text {
    font-size: 0.95rem; /* 稍微加大字号 */
    color: #ccc; /* 颜色稍微亮一点 */
    line-height: 1.8; /* 增加行高 */
    margin-bottom: 20px;
    text-align: justify; /* 两端对齐 */
}

.rules-list {
    list-style: none;
    padding-left: 0;
}

.rules-list li {
    font-size: 0.95rem;
    color: #ccc;
    margin-bottom: 12px;
    padding-left: 25px; /* 增加缩进 */
    position: relative;
    line-height: 1.6;
}

/* 使用自定义SVG或更精致的符号作为列表项标记 */
.rules-list li::before {
    content: "✦"; /* 使用星星符号 */
    color: var(--gold-dark);
    position: absolute;
    left: 0;
    top: 2px; /* 微调位置 */
    font-size: 0.8rem;
}

.rules-list.compact li {
    margin-bottom: 8px;
}

.rules-list li.note {
    font-size: 0.85rem;
    color: #888;
    font-style: italic;
    margin-top: 8px;
    padding-left: 25px;
}

.rules-subheading {
    font-size: 1.05rem;
    color: #fff;
    margin-top: 25px;
    margin-bottom: 15px;
    font-weight: 600;
    padding-left: 10px;
    border-left: 2px solid rgba(255, 255, 255, 0.2); /* 次级标题装饰 */
}

.highlight {
    color: var(--gold-primary);
    font-weight: bold;
    padding: 0 4px;
    border-radius: 2px;
}

/* 概率图表样式 */
.probability-chart {
    margin-top: 20px;
    background: rgba(0, 0, 0, 0.3);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.chart-title {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
    font-weight: normal;
}

.chart-row {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    gap: 10px;
}

.chart-row:last-child {
    margin-bottom: 0;
}

.chart-label {
    width: 60px;
    font-size: 0.85rem;
    color: #ccc;
    text-align: right;
    font-family: 'Cinzel', serif;
}

.chart-bar-container {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.chart-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold-primary));
    border-radius: 4px;
    position: relative;
    /* 简单的进场动画 */
    animation: growBar 1s ease-out forwards;
    transform-origin: left;
}

.chart-value {
    width: 40px;
    font-size: 0.8rem;
    color: var(--gold-primary);
    font-family: monospace;
}

@keyframes growBar {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

/* 档位表格优化 */
.tier-table {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 25px;
    background: rgba(0, 0, 0, 0.3); /* 背景更深一点 */
    padding: 20px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05); /* 增加边框 */
}

.tier-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 10px; /* 增加内边距 */
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.95rem;
    color: #ddd;
    transition: background 0.3s;
}

.tier-row:hover {
    background: rgba(255, 255, 255, 0.03); /* 悬停效果 */
}

.tier-row.header {
    color: var(--gold-primary);
    font-weight: bold;
    border-bottom: 1px solid var(--gold-dark);
    margin-bottom: 8px;
    background: transparent; /* 标题行无背景 */
}

.tier-row:last-child {
    border-bottom: none;
}

/* 教程弹窗样式优化 */
.guide-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-height: 65vh;
    overflow-y: auto;
    padding: 10px 15px;
}

.guide-step {
    background: linear-gradient(180deg, rgba(30, 30, 30, 0.6) 0%, rgba(10, 10, 10, 0.8) 100%);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 12px;
    padding: 25px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.guide-step:hover {
    border-color: var(--gold-primary);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
}

/* 调整结构让数字成为背景水印 */
.step-text {
    position: relative;
    z-index: 2;
    margin-bottom: 20px;
}

.step-num {
    position: absolute;
    top: -20px;
    right: -10px;
    font-family: 'Cinzel', serif;
    font-size: 5rem;
    color: var(--gold-primary);
    opacity: 0.1;
    font-weight: 700;
    pointer-events: none;
    line-height: 1;
}

.step-text p {
    font-size: 1.05rem;
    color: #fff;
    line-height: 1.6;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    padding-right: 20px;
}

.step-text .note {
    display: block;
    margin-top: 8px;
    font-size: 0.9rem;
    color: var(--gold-light);
    font-style: normal;
    background: rgba(212, 175, 55, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
}

.step-img-box {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    flex-grow: 1;
}

.step-img-box img {
    width: 100%;
    height: auto;
    display: block;
}

/* 滚动条样式优化 */
.guide-container::-webkit-scrollbar {
    width: 6px;
}
.guide-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}
.guide-container::-webkit-scrollbar-thumb {
    background: var(--gold-dark);
    border-radius: 3px;
}
.modal-actions {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.btn-cancel {
    background: transparent;
    border: 1px solid #444;
    color: var(--text-secondary);
    padding: 12px 30px;
    cursor: pointer;
    transition: all 0.3s;
    flex: 1;
}

.btn-cancel:hover {
    border-color: #fff;
    color: #fff;
}

.btn-submit {
    background: var(--gold-primary);
    border: none;
    color: #000;
    padding: 12px 30px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    flex: 2;
}

.btn-submit:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.modal-content.small-modal {
    max-width: 400px;
    text-align: center;
    padding: 30px;
}

.modal-content.small-modal .modal-title {
    margin-bottom: 10px;
}

/* 中奖榜样式 */
.filter-bar {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    padding: 5px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.3s;
}

.filter-btn:hover, .filter-btn.active {
    border-color: var(--gold-primary);
    color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.05);
}

.winners-list-container {
    max-height: 400px;
    overflow-y: auto;
}

/* 列表滚动条复用之前的 .wishes-list 样式，这里不用重复写，或者可以通用化 */
.winners-list-container::-webkit-scrollbar {
    width: 6px;
}
.winners-list-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}
.winners-list-container::-webkit-scrollbar-thumb {
    background: var(--gold-dark);
    border-radius: 3px;
}

.winners-header {
    display: grid;
    grid-template-columns: 1.5fr 1.5fr 1fr 1fr 1fr;
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: bold;
}

.winner-item {
    display: grid;
    grid-template-columns: 1.5fr 1.5fr 1fr 1fr 1fr;
    padding: 15px;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #ddd;
    font-size: 0.9rem;
    transition: background 0.3s;
}

.winner-item:hover {
    background: rgba(255, 255, 255, 0.03);
}

.winner-item.highlight {
    background: linear-gradient(to right, rgba(212, 175, 55, 0.05), transparent);
    border-left: 2px solid var(--gold-primary);
}

.win-time { color: #888; }
.win-addr { font-family: monospace; color: #aaa; }
.win-status { color: #4caf50; } /* 绿色表示成功 */

.btn-sm {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-secondary);
    padding: 4px 10px;
    font-size: 0.75rem;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s;
}

.btn-sm:hover {
    border-color: var(--gold-primary);
    color: var(--gold-primary);
}

/* 中奖详情弹窗样式 */
.winner-detail-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.detail-avatar {
    font-size: 3rem;
    margin-bottom: 10px;
    background: var(--gold-primary);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #000;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.detail-address {
    font-family: monospace;
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 5px;
    background: rgba(255, 255, 255, 0.05);
    padding: 5px 15px;
    border-radius: 20px;
}

.detail-tier-badge {
    color: var(--gold-primary);
    border: 1px solid var(--gold-dark);
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.detail-time {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 20px;
}

.detail-wish-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 20px;
    width: 100%;
    text-align: left;
}

.detail-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.detail-text {
    font-size: 1rem;
    color: #fff;
    line-height: 1.6;
    font-style: italic;
    font-family: 'Cinzel', serif;
}

/* 花名册样式 */
.roster-container {
    max-height: 400px;
    overflow-y: auto;
}

.roster-container::-webkit-scrollbar {
    width: 6px;
}
.roster-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}
.roster-container::-webkit-scrollbar-thumb {
    background: var(--gold-dark);
    border-radius: 3px;
}

.roster-header {
    display: grid;
    grid-template-columns: 1.3fr 2.2fr 0.8fr 0.7fr;
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: bold;
    position: sticky;
    top: 0;
    background: #0f0f0f; /* 固定表头背景 */
    z-index: 10;
}

.roster-footer-note {
    text-align: center;
    color: #666;
    font-size: 0.8rem;
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-style: italic;
}

.roster-item {
    display: grid;
    grid-template-columns: 1.3fr 2.2fr 0.8fr 0.7fr;
    padding: 15px;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #ddd;
    font-size: 0.9rem;
    transition: background 0.3s;
}

.roster-item:hover {
    background: rgba(255, 255, 255, 0.03);
}

.roster-item.warning {
    /* 移除背景和边框，保持简洁 */
}

.roster-addr {
    font-family: monospace;
    color: #aaa;
}

.roster-balance {
    font-family: 'Cinzel', serif;
}

.roster-balance.highlight {
    color: var(--gold-primary);
    font-weight: bold; /* 确保高亮时加粗 */
}

.roster-balance.low {
    color: #e74c3c;
}

.roster-status.valid {
    color: #4caf50;
}

.roster-status.invalid {
    color: #e74c3c;
    opacity: 0.8;
}

.btn-clear {
    background: transparent;
    border: 1px solid rgba(231, 76, 60, 0.5);
    color: #e74c3c;
    padding: 2px 8px;
    font-size: 0.75rem;
    cursor: pointer;
    border-radius: 2px;
    transition: all 0.2s;
    opacity: 0.8;
}

.btn-clear:hover {
    background: #e74c3c;
    color: #fff;
    opacity: 1;
}

/* 分页控制样式 */
.pagination-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
    padding: 10px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.btn-pagination {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-secondary);
    padding: 5px 15px;
    cursor: pointer;
    font-size: 1rem;
    border-radius: 4px;
    transition: all 0.3s;
    font-family: 'Cinzel', serif;
    min-width: 40px;
}

.btn-pagination:hover:not(:disabled) {
    border-color: var(--gold-primary);
    color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.1);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

.btn-pagination:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    border-color: rgba(255, 255, 255, 0.1);
}

#pageInfo {
    font-family: 'Cinzel', serif;
    color: var(--gold-primary);
    font-size: 1.1rem;
    font-weight: bold;
    min-width: 60px;
    text-align: center;
    letter-spacing: 2px;
}

/* 我的心愿列表样式 */
.wishes-list {
    max-height: 400px;
    overflow-y: auto;
    padding-right: 10px;
}

/* 自定义滚动条 */
.wishes-list::-webkit-scrollbar {
    width: 6px;
}
.wishes-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}
.wishes-list::-webkit-scrollbar-thumb {
    background: var(--gold-dark);
    border-radius: 3px;
}

.wish-card-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    transition: all 0.3s;
}

.wish-card-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

.wish-card-item.won {
    border-color: var(--gold-primary);
    background: linear-gradient(to right, rgba(212, 175, 55, 0.1), transparent);
}

.wish-card-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.wish-tier {
    font-size: 0.8rem;
    color: var(--gold-primary);
    border: 1px solid var(--gold-dark);
    padding: 2px 8px;
    border-radius: 4px;
}

.wish-status {
    font-size: 0.8rem;
    font-weight: 600;
}

.status-pending { color: var(--text-secondary); }
.status-won { color: var(--gold-primary); }
.status-lost { color: #666; }

.wish-card-body {
    margin-bottom: 20px;
}

.wish-title {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 5px;
    font-family: 'Cinzel', serif;
}

.wish-time {
    font-size: 0.8rem;
    color: #666;
}

.wish-time-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 5px;
}

.wish-countdown {
    font-size: 0.8rem;
    font-family: 'Inter', monospace;
    font-weight: 600;
}

.btn-action.update-btn {
    border-color: var(--gold-primary);
    color: var(--gold-primary);
}

.btn-action.update-btn:hover {
    background: var(--gold-primary);
    color: #000;
}

.wish-card-actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 15px;
}

.btn-action {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
    cursor: pointer;
    transition: color 0.3s;
}

.btn-action:hover {
    color: #fff;
}

.btn-action.highlight {
    color: var(--gold-primary);
    font-weight: bold;
}

.btn-action.disabled {
    color: #444;
    cursor: not-allowed;
}

/* 倒计时 */
.countdown-section {
    padding: 50px 0;
    text-align: center;
    background: linear-gradient(to bottom, transparent, rgba(212, 175, 55, 0.05), transparent);
}

.section-title {
    color: var(--text-secondary);
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.countdown-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    font-family: 'Cinzel', serif;
    align-items: flex-start;
}

.digit-group {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.digits-row {
    display: flex;
    gap: 10px;
}

.digit-group .digit {
    font-size: 4rem;
    font-weight: 700;
    color: #fff;
    background: rgba(10, 10, 10, 0.8);
    padding: 15px 20px;
    border-radius: 6px;
    border: 1px solid var(--gold-primary);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
    display: inline-block;
    min-width: 70px;
    text-align: center;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.digit-group .label {
    font-size: 0.8rem;
    color: var(--gold-primary);
    margin-top: 15px;
    letter-spacing: 2px;
    font-family: 'Inter', sans-serif;
}

.separator {
    font-size: 4rem;
    color: var(--gold-primary);
    padding-top: 5px;
    opacity: 0.8;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

/* 滚动播报 */
.latest-news {
    background: rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    height: 50px;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.news-label {
    background: var(--gold-dark);
    color: #000;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 0.9rem;
    z-index: 10;
}

.marquee-container {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
}

.marquee-content {
    display: inline-block;
    padding-left: 100%; /* 初始位置在容器右侧外 */
    animation: marquee 30s linear infinite; /* 增加时长，因为路程变长了 */
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.news-item {
    display: inline-block;
    margin-right: 50px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.news-item .badge {
    color: var(--gold-primary);
    border: 1px solid var(--gold-dark);
    padding: 2px 6px;
    font-size: 0.7rem;
    margin: 0 10px;
}

.news-item .wish {
    color: #fff;
    margin-left: 10px;
}

/* 档位卡片 */
.tiers-section {
    padding: 100px 50px;
}

.tiers-section .container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.tier-card {
    width: 200px;
    min-height: 340px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 25px 15px;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}

.tier-image {
    width: 85%;
    height: auto;
    max-height: 150px;
    object-fit: contain;
    margin: 15px 0;
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.2));
    transition: transform 0.3s ease;
}

.tier-card:hover .tier-image {
    transform: scale(1.05);
    filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.5));
}

.tier-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: var(--gold-primary);
}

.tier-card.featured {
    transform: scale(1.1);
    border-color: var(--gold-primary);
    background: linear-gradient(to bottom, rgba(212, 175, 55, 0.1), rgba(20, 20, 20, 0.9));
    z-index: 1;
}

.tier-amount {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    color: var(--gold-primary);
}

.tier-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.btn-card {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-secondary);
    padding: 8px 15px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.3s;
    width: 100%;
}

.tier-card:hover .btn-card {
    background: var(--gold-primary);
    color: #000;
    border-color: var(--gold-primary);
}

/* 占位卡片默认隐藏 */
.tier-card.coming-soon {
    display: none;
}

/* 移动端适配 */
@media screen and (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
    }

    .hamburger-btn {
        display: flex; /* 移动端显示汉堡按钮 */
    }

    .nav-menu {
        display: none; /* 移动端默认隐藏菜单 */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #1a1a1a;
        flex-direction: column;
        padding: 20px;
        gap: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    }

    .nav-menu.active {
        display: flex; /* 激活时显示 */
        animation: slideDown 0.3s ease;
    }

    @keyframes slideDown {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu li.mobile-only {
        display: block;
    }

    .nav-menu a {
        display: block;
        padding: 15px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        font-size: 1rem;
    }

    .nav-menu li:last-child a {
        border-bottom: none;
    }

    .logo {
        font-size: 1.2rem;
    }
    
    /* 之前的样式调整 */
    .nav-actions {
        gap: 10px;
    }

    .btn-text {
        display: none; /* 移动端空间不足时隐藏文本按钮 */
    }

    .hero-content {
        padding: 0 20px;
    }

    .slogan {
        font-size: 12vw;
    }

    .sub-slogan {
        font-size: 0.9rem;
    }

    /* 许愿池移动端双列布局 */
    .tiers-section .container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 0 10px;
    }

    .tier-card {
        width: auto;
        height: auto;
        min-height: 220px;
        padding: 15px 5px;
    }

    .tier-amount {
        font-size: 1.5rem;
    }

    .tier-card.featured {
        transform: none;
    }

    .modal-content {
        width: 95%;
        padding: 20px;
    }

    .wallet-modal-content {
        width: 90%; /* 移动端更宽一点，方便点击 */
        max-width: 340px;
    }
    
    .wallet-item {
        padding: 10px; /* 移动端点击区域稍微大一点点 */
    }
    
    .wallet-icon {
        width: 36px;
        height: 36px;
    }
    
    .wallet-name {
        font-size: 1rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-section {
        width: 100%;
    }
    
    .site-footer {
        padding: 40px 20px 20px;
    }

    /* 倒计时移动端适配 */
    .countdown-container {
        gap: 10px;
    }

    .digit-group .digit {
        font-size: 2.5rem; /* 缩小数字 */
        padding: 10px 12px;
        min-width: 45px;
    }

    .separator {
        font-size: 2.5rem;
        padding-top: 2px;
    }

    .digit-group .label {
        font-size: 0.6rem;
        margin-top: 10px;
    }

    /* 许愿池移动端双列布局 */
    .tiers-section .container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        justify-items: stretch;
    }

    .tier-card {
        width: auto;
        height: auto;
        min-height: 220px;
        padding: 15px 5px;
    }

    .tier-amount {
        font-size: 1.5rem;
    }

    .tier-card.featured {
        transform: none;
        background: var(--card-bg); /* Reset background or keep it distinct but simple */
        border-color: var(--gold-primary);
    }

    /* 移动端占位卡片样式 */
    .tier-card.coming-soon {
        display: flex;
        justify-content: center;
        align-items: center;
        background: rgba(255, 255, 255, 0.02);
        border-style: dashed;
        opacity: 0.7;
    }
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 60px; /* 增加间距 */
    max-width: 1200px;
    margin: 0 auto;
    align-items: flex-start; /* 顶部对齐 */
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

/* 调整第一列的宽度占比，使其不要太宽 */
.footer-section:first-child {
    flex: 0.8;
}

/* 调整免责声明列的宽度占比，使其更宽，文字更好排版 */
.footer-section:nth-child(2) {
    flex: 2;
}

/* 调整最后一列（社交链接）的对齐方式 */
.footer-section:last-child {
    flex: 0.5;
    display: flex;
    flex-direction: column;
    /* align-items: flex-end; 如果想右对齐可以开启这个，目前左对齐也整齐 */
}

.footer-section h4 {
    color: #fff;
    margin-bottom: 20px;
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.disclaimer-text {
    font-size: 0.8rem;
    line-height: 1.6;
    color: #666;
    text-align: justify;
}

.social-links {
    display: grid;
    grid-template-columns: repeat(2, 40px);
    gap: 15px;
}

.social-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text-secondary);
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.03);
    text-decoration: none;
}

.social-icon svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.social-icon:hover {
    color: #000;
    background: var(--gold-primary);
    border-color: var(--gold-primary);
    transform: translateY(-3px);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.footer-bottom {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    font-size: 0.8rem;
    color: #444;
}

.contract-addr {
    font-family: monospace;
    color: #666;
}

/* 公开心愿卡片 */
.public-wish-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.public-wish-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(212, 175, 55, 0.3);
}

.public-wish-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.public-wish-address {
    font-family: monospace;
    color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
}

.public-wish-content {
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text-primary);
    margin-bottom: 0;
    word-break: break-all;
}

.public-wish-empty {
    text-align: center;
    padding: 40px;
    color: var(--text-secondary);
    font-style: italic;
}

/* 页脚样式 */
.site-footer {
    background: #000;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 60px 50px 20px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

.footer-section h4 {
    color: #fff;
    margin-bottom: 20px;
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.disclaimer-text {
    font-size: 0.8rem;
    line-height: 1.6;
    color: #666;
    text-align: justify;
}

