/* 全局样式 */
:root {
    /* PancakeSwap黑夜模式配色 */
    --primary-color: #1FC7D4; /* PancakeSwap主青色 */
    --primary-dark: #0098A1; /* 深青色 */
    --primary-light: #B8F2FF; /* 浅青色 */
    --secondary-color: #FFD800; /* PancakeSwap黄色 */
    --secondary-dark: #FFB237; /* 深黄色 */
    --accent-color: #ED4B9E; /* PancakeSwap粉红色 */
    --text-color: #F4EEFF; /* PancakeSwap主文字色 */
    --light-text: #B8ADD2; /* PancakeSwap次要文字色 */
    --lightest-text: #8F80BA; /* 更浅的文字色 */
    --background: linear-gradient(135deg, #0B0E11 0%, #1A1D29 100%); /* PancakeSwap深色背景 */
    --card-bg: #27262C; /* PancakeSwap卡片背景 */
    --border-color: #524B63; /* PancakeSwap边框色 */
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.6); /* 增强阴影效果 */
    --border-radius: 12px; /* 保持原有圆角 */
    --gradient-text: linear-gradient(135deg, #1FC7D4 0%, #0098A1 100%); /* 青色渐变文本 */
    --number-gradient: linear-gradient(135deg, #1FC7D4 0%, #0098A1 100%); /* 青色渐变数字 */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: var(--background);
    color: var(--text-color);
    line-height: 1.6;
    font-size: 16px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

button {
    cursor: pointer;
    transition: all 0.3s ease;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

input, textarea {
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 14px;
    width: 100%;
    transition: all 0.3s ease;
    background-color: #383241;
    color: var(--text-color);
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(31, 199, 212, 0.2);
}

/* 导航栏样式 */
nav {
    background: rgba(39, 38, 44, 0.95); /* PancakeSwap导航背景 */
    padding: 10px 20px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4); /* 加强阴影 */
    backdrop-filter: blur(8px);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo img {
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.nav-logo span {
    font-weight: bold;
    color: white;
    font-size: 1.2rem;
}

.wallet-container {
    position: relative;
}

#connectWalletBtn {
    background: linear-gradient(135deg, rgba(31, 199, 212, 0.3) 0%, rgba(0, 152, 161, 0.2) 100%); /* PancakeSwap青色渐变 */
    border: 1px solid rgba(31, 199, 212, 0.5);
    color: var(--text-color);
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#connectWalletBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(31, 199, 212, 0.2);
    background: linear-gradient(135deg, rgba(31, 199, 212, 0.5) 0%, rgba(0, 152, 161, 0.4) 100%);
}

.wallet-dropdown {
    position: absolute;
    top: 120%;
    right: 0;
    background: #27262C; /* PancakeSwap下拉菜单背景 */
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
    margin-top: 5px;
    min-width: 200px;
    z-index: 1001;
    overflow: hidden;
}

.wallet-dropdown-item {
    padding: 12px 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #524B63;
}

.wallet-dropdown-item:last-child {
    border-bottom: none;
}

.wallet-dropdown-item:hover {
    background-color: #383241; /* PancakeSwap悬停效果 */
}

.wallet-dropdown-item.disconnect {
    color: #ED4B9E;
}

.wallet-dropdown-item.disconnect:hover {
    background-color: #433B52; /* PancakeSwap深色悬停 */
}

/* 头部样式 */
header {
    background: linear-gradient(135deg, #27262C 0%, #1A1D29 100%); /* PancakeSwap深色渐变背景 */
    color: white;
    text-align: center;
    padding: 100px 20px 60px;
    margin-top: 0;
    border-bottom: 1px solid var(--primary-color);
}

header h1 {
    font-size: 3em;
    margin-bottom: 20px;
    color: #FFB366;
    text-shadow: 0 0 10px rgba(255, 179, 102, 0.6), 0 0 20px rgba(255, 179, 102, 0.4);
    letter-spacing: 2px;
    font-weight: 800;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 0 10px rgba(255, 179, 102, 0.6), 0 0 20px rgba(255, 179, 102, 0.4);
    }
    to {
        text-shadow: 0 0 15px rgba(255, 179, 102, 0.8), 0 0 30px rgba(255, 179, 102, 0.6);
    }
}

.header-text-row {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 15px;
}

.header-text-row p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.2em;
    letter-spacing: 0.5px;
}

.header-countdown {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 30px auto 0;
    max-width: 500px;
    padding: 0 20px;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px 10px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    backdrop-filter: blur(5px);
    border: 1px solid #FFB366;
    flex: 1;
    min-width: 60px;
}

.countdown-number {
    font-size: 2.2em;
    font-weight: bold;
    color: #FFB366 !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    margin-bottom: 5px;
}

.countdown-label {
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 主内容 */
main {
    flex: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
    width: 100%;
    box-sizing: border-box;
}

section {
    background: var(--card-bg); /* 使用变量确保一致性 */
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    margin: 25px 0;
    padding: 30px;
    transition: transform 0.3s ease;
    width: 100%;
    border: 1px solid rgba(255, 179, 102, 0.1); /* 添加细微橙金色边框 */
}

/* section:hover {
    transform: translateY(-5px);
} */

section h2 {
    color: #FFB366;
    font-size: 1.8em;
    margin-bottom: 20px;
    border-bottom: 2px solid #FFB366;
    padding-bottom: 10px;
    text-align: left;
}

/* 参与募资部分 */
#participate {
    margin-bottom: 25px;
}

.token-info {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.token-logo {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: #f0f0f0;
    margin-right: 16px;
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: 2px solid #fff;
}

.token-basic-info {
    flex: 1;
}

.token-name {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 8px;
    color: #FFB366;
}

.token-status {
    display: flex;
    align-items: center;
    color: var(--light-text);
    font-size: 14px;
}

.dot-separator {
    margin: 0 8px;
    opacity: 0.6;
}

.mint-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 24px;
    margin-bottom: 24px;
    width: 100%;
    box-sizing: border-box;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    color: #666;
    margin-bottom: 8px;
    font-size: 15px;
    font-weight: 500;
}

.progress-container {
    height: 10px;
    background-color: var(--border-color);
    border-radius: 10px;
    margin-bottom: 24px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    width: 0%;
    transition: width 0.5s ease;
}

.user-stats-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 24px;
    overflow-x: auto;
    gap: 16px;
    padding-bottom: 8px;
}

.personal-stats {
    flex: 1;
    min-width: 100px;
    padding: 16px;
    border-radius: var(--border-radius);
    background-color: rgba(39, 38, 44, 0.8); /* PancakeSwap深色背景 */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(31, 199, 212, 0.1);
}

.personal-stats:hover {
    box-shadow: 0 4px 10px rgba(31, 199, 212, 0.2);
    background-color: rgba(56, 50, 65, 0.8);
    transform: translateY(-2px);
    border: 1px solid rgba(31, 199, 212, 0.3);
}

.stats-label {
    color: var(--light-text);
    font-size: 14px;
    margin-bottom: 10px;
}

.stats-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: 34px;
    gap: 2px;
}

#myShares, #myTokens, #myRewards, .stats-number {
    font-size: 28px;
    color: #FFB366;
    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: initial;
    background-clip: initial;
    text-align: right;
    min-width: 30px;
    font-weight: 700;
    line-height: 1.2;
}

.stats-unit {
    font-size: 13px;
    color: #ffffff;
    font-weight: 500;
    padding-bottom: 3px;
    padding-left: 2px;
    line-height: 1;
    align-self: flex-end;
    opacity: 1;
}

.mint-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.referral-input {
    margin-bottom: 8px;
}

.referrer-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--border-color);
    padding: 12px 16px;
    border-radius: var(--border-radius);
    color: #ffffff;
}

#referrerDisplay {
    font-weight: 500;
    color: #4caf50;
}

.mint-input-wrapper {
    position: relative;
}

.mint-input {
    width: 100%;
    padding: 14px 60px 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.mint-input:focus {
    border-color: var(--primary-color);
    outline: none;
}

.mint-input-unit {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #ffffff;
}

.cost-estimate {
    display: flex;
    justify-content: space-between;
    padding: 10px 16px;
    background-color: rgba(212, 175, 55, 0.1); /* 金色背景 */
    border-radius: var(--border-radius);
    color: var(--light-text);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.cost-value {
    color: var(--primary-color); /* 金色 */
    font-weight: 600;
}

.mint-button {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: #000000;
    border: none;
    border-radius: var(--border-radius);
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    display: block;
    width: 100%;
    margin-top: 8px;
    box-shadow: 0 4px 12px rgba(63, 135, 245, 0.3);
}

.mint-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(63, 135, 245, 0.4);
}

.mint-button:active {
    transform: translateY(0);
}

/* 代币详情 */
#token-details {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    width: 100%;
    margin: 30px 0;
    transition: all 0.3s ease;
}

#token-details:hover {
    box-shadow: 0 8px 25px rgba(63, 135, 245, 0.15);
}

#token-details h2 {
    color: #FFB366;
    font-size: 1.8em;
    margin-bottom: 25px;
    border-bottom: 2px solid #FFB366;
    padding-bottom: 15px;
    text-align: left;
}

.token-details-list {
    list-style: none;
    margin-bottom: 25px;
    padding: 0 5px;
}

.token-details-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.token-details-list li:hover {
    background-color: rgba(63, 135, 245, 0.05);
    border-radius: 8px;
}

.token-details-list li:last-child {
    border-bottom: none;
}

.token-details-list li span:first-child {
    color: #ffffff;
    font-weight: 500;
}

.token-value {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    color: #ffffff; /* 默认白色 */
}

.token-value span {
    color: #ffffff; /* 所有span默认白色 */
    font-weight: 700;
    font-size: 24px;
    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: initial;
    background-clip: initial;
    line-height: 1.2;
}

.token-value span:nth-child(2) {
    color: #ffffff;
    font-size: 12px;
    font-weight: 500;
    padding-bottom: 3px;
    align-self: flex-end;
    margin-left: 2px;
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    justify-content: center;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    background-color: var(--border-color);
    border-radius: 50%;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(63, 135, 245, 0.3);
}

.social-link svg {
    margin-right: 0;
}

/* 特殊处理Telegram图标 */
#telegramLink svg {
    stroke-linejoin: round;
    stroke-linecap: round;
    fill: none;
    transition: all 0.3s ease;
}

#telegramLink:hover svg {
    fill: rgba(255, 255, 255, 0.2);
}

/* 邀请链接部分 */
#invitation-section {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    width: 100%;
    margin: 30px 0;
    transition: all 0.3s ease;
    overflow: hidden;
}

#invitation-section:hover {
    box-shadow: 0 8px 25px rgba(63, 135, 245, 0.15);
}

#invitation-section h2 {
    color: #FFB366;
    font-size: 1.8em;
    margin-bottom: 25px;
    border-bottom: 2px solid #FFB366;
    padding-bottom: 15px;
    text-align: left;
}

.invitation-card {
    background-color: transparent;
    box-shadow: none;
    padding: 0;
    margin-top: 10px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.invitation-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%); /* 改为金色渐变 */
    color: #1a1a1a; /* 深色文字,在金色背景上更醒目 */
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 18px;
    border-radius: 12px 12px 0 0;
    margin-bottom: 20px;
}

.invitation-header svg {
    stroke: white;
    width: 26px;
    height: 26px;
}

.invitation-header span {
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.5px;
}

.invitation-content {
    padding: 0;
}

.invitation-link-container {
    display: flex;
    gap: 15px;
    align-items: center;
}

.invitation-link {
    flex: 1;
    background-color: #383241; /* PancakeSwap深色 */
    border: 2px solid var(--border-color);
    color: var(--text-color);
    font-size: 14px;
    padding: 15px;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.invitation-link:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(31, 199, 212, 0.15);
    outline: none;
}

.invitation-copy-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%); /* PancakeSwap青色渐变 */
    color: #0B0E11; /* PancakeSwap深色文字 */
    border: none;
    padding: 0 25px;
    height: 50px;
    border-radius: var(--border-radius);
    white-space: nowrap;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(31, 199, 212, 0.3);
    transition: all 0.3s ease;
}

.invitation-copy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(31, 199, 212, 0.4);
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
}

/* 移动端邀请链接样式 */
@media (max-width: 768px) {
    #invitation-section {
        padding: 25px 20px;
        margin: 20px 0;
    }
    
    .invitation-link-container {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    
    .invitation-copy-btn {
        width: 100%;
        height: 45px;
        font-size: 15px;
    }
    
    .invitation-header {
        padding: 15px 18px;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    #invitation-section {
        padding: 20px 15px;
        margin: 15px 0;
    }
    
    .invitation-header {
        padding: 12px 15px;
        gap: 12px;
    }
    
    .invitation-header svg {
        width: 22px;
        height: 22px;
    }
    
    .invitation-header span {
        font-size: 14px;
    }
    
    .invitation-link {
        padding: 12px;
    }
    
    .invitation-copy-btn {
        height: 40px;
        font-size: 14px;
    }
}

/* 管理员部分 */
.admin-section {
    background: var(--card-bg); /* 从white改为深色 */
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    margin-top: 40px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.admin-card {
    padding: 0;
    overflow: hidden;
}

.admin-content {
    padding: 30px;
}

.admin-section-title {
    color: #FFB366;
    font-size: 1.4em;
    margin: 25px 0 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #FFB366;
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-section-title:first-child {
    margin-top: 0;
}

.admin-section-title:before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 16px;
    background: #FFB366;
    border-radius: 2px;
}

.admin-panel {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

/* IDO控制面板特殊处理 */
.control-buttons-container {
    grid-column: 1 / -1;
    margin-bottom: 25px;
    width: 100%;
}

.control-buttons {
    display: flex;
    flex-direction: column; /* 改为垂直排列 */
    align-items: center;
    gap: 15px; /* 调整垂直间距 */
    margin: 0 auto;
    max-width: 300px; /* 调整为合适的宽度 */
    width: 100%;
}

.control-buttons .admin-btn {
    width: 100%; /* 按钮宽度占满容器 */
    min-width: 0;
    max-width: none;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    padding: 0 24px;
    border: none;
    position: relative;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
    z-index: 1;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1), inset 0 -3px 0 rgba(0, 0, 0, 0.1);
}

.control-buttons .admin-btn:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(120deg, rgba(212, 175, 55, 0.3) 0%, rgba(212, 175, 55, 0) 60%); /* 金色高亮 */
    opacity: 0;
    z-index: -1;
    transition: opacity 0.35s ease;
}

.control-buttons .admin-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15), inset 0 -3px 0 rgba(0, 0, 0, 0.1);
}

.control-buttons .admin-btn:hover:before {
    opacity: 1;
}

.control-buttons .admin-btn:active {
    transform: translateY(1px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.control-buttons .admin-btn.danger {
    background: linear-gradient(135deg, #ff5252 0%, #c62828 100%);
    color: white;
    box-shadow: 0 8px 20px rgba(229, 57, 53, 0.35), inset 0 -4px 0 rgba(0, 0, 0, 0.15);
}

.control-buttons .admin-btn.success {
    background: linear-gradient(135deg, #66bb6a 0%, #1b5e20 100%);
    color: white;
    box-shadow: 0 8px 20px rgba(67, 160, 71, 0.35), inset 0 -4px 0 rgba(0, 0, 0, 0.15);
}

@media (max-width: 992px) {
    .admin-panel {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .control-buttons {
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .admin-content {
        padding: 20px;
    }
    
    .admin-panel {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .form-group {
        padding: 12px;
    }
    
    .admin-section-title {
        font-size: 1.3em;
        margin: 20px 0 12px;
    }
    
    .control-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 280px;
        gap: 15px;
        margin: 0 auto 20px;
    }
    
    .control-buttons .admin-btn {
        max-width: none;
        width: 100%;
        height: 50px;
        font-size: 15px;
        font-weight: 700;
        border-radius: 10px;
        padding: 0;
        box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15), inset 0 -4px 0 rgba(0, 0, 0, 0.15);
    }
    
    .control-buttons .admin-btn.danger,
    .control-buttons .admin-btn.success {
        box-shadow: 0 8px 15px rgba(0, 0, 0, 0.25), inset 0 -4px 0 rgba(0, 0, 0, 0.15);
    }
    
    /* 提取代币部分的输入框垂直排列 */
    .claim-inputs {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    
    /* 为输入框添加更好的样式和间距 */
    .claim-group {
        margin-top: 15px;
    }
    
    .claim-group label {
        margin-bottom: 15px;
        font-size: 14px;
        font-weight: 700;
        color: var(--primary-color);
    }
    
    .claim-inputs input {
        padding: 12px 10px;
        font-size: 14px;
        margin-bottom: 8px;
    }
}

@media (max-width: 480px) {
    .admin-content {
        padding: 15px;
    }
    
    .form-group label {
        font-size: 13px;
    }
    
    .admin-btn {
        padding: 8px 15px;
        font-size: 14px;
    }
    
    .admin-section-title {
        font-size: 1.2em;
    }
    
    /* 提取代币部分的超小屏幕优化 */
    .reward-inputs, .claim-inputs {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .claim-inputs input {
        margin-bottom: 8px;
        padding: 12px 10px;
    }
    
    /* 为每个输入框添加特定的样式 */
.claim-inputs input:nth-child(1) {
    border-left: 3px solid #B8ADD2;
    border-radius: 0 8px 8px 0;
}

.claim-inputs input:nth-child(2) {
    border-left: 3px solid var(--secondary-color);
    border-radius: 0 8px 8px 0;
}

.claim-inputs input:nth-child(3) {
    border-left: 3px solid var(--accent-color);
    border-radius: 0 8px 8px 0;
}
    
    /* 增大字体确保可读性 */
.claim-group label {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
    display: block;
    color: #B8ADD2;
}
    
    .control-buttons {
        gap: 12px;
        max-width: 240px;
    }
    
    .control-buttons .admin-btn {
        height: 45px;
        font-size: 14px;
    }
}

.form-group {
    background-color: #383241; /* PancakeSwap深色 */
    padding: 15px;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

/* .form-group:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
    border-color: rgba(212, 175, 55, 0.3);
} */

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #B8ADD2;
    font-size: 14px;
}

.admin-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%); /* PancakeSwap黄色渐变 */
    color: #0B0E11; /* PancakeSwap深色文字 */
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    margin-top: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.admin-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(63, 135, 245, 0.3);
}

.admin-btn.danger {
    background: linear-gradient(135deg, #f44336 0%, #e53935 100%);
}

.admin-btn.danger:hover {
    box-shadow: 0 6px 18px rgba(229, 57, 53, 0.3);
}

.admin-btn.success {
    background: linear-gradient(135deg, #4caf50 0%, #388e3c 100%);
}

.admin-btn.success:hover {
    box-shadow: 0 6px 18px rgba(56, 142, 60, 0.3);
}

.reward-inputs, .claim-inputs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
    margin-bottom: 10px;
}

/* 通知 */
#notificationContainer {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: 100%;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none; /* 允许点击穿透 */
}

.notification {
    padding: 12px 20px;
    margin-bottom: 10px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    animation: slideIn 0.3s ease;
    background-color: #27262C; /* PancakeSwap深色 */
    color: var(--text-color);
    width: 100%;
    text-align: center;
    pointer-events: auto;
}

.notification.success {
    background-color: #1B2A2A; /* PancakeSwap成功色背景 */
    border-left: 4px solid #31D0AA;
    color: #31D0AA;
}

.notification.error {
    background-color: #2A1B29; /* PancakeSwap错误色背景 */
    border-left: 4px solid var(--accent-color);
    color: #ED4B9E;
}

.notification.info {
    background-color: #1B252A; /* PancakeSwap信息色背景 */
    border-left: 4px solid var(--secondary-color);
    color: var(--secondary-color);
}

@keyframes slideIn {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.fade-out {
    animation: fadeOut 0.3s ease forwards;
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

footer {
    text-align: center;
    padding: 20px 0;
    background: linear-gradient(135deg, #27262C 0%, #1A1D29 100%); /* PancakeSwap黑色渐变 */
    color: white;
    position: relative;
    bottom: 0;
    width: 100%;
    margin-top: 40px;
    border-top: 1px solid var(--primary-color); /* PancakeSwap黄色边框 */
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 移动端视图优化 */
@media (max-width: 768px) {
    main {
        padding: 20px 10px;
    }
    
    section {
        padding: 20px 15px;
        margin: 15px 0;
    }

    .user-stats-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .personal-stats {
        min-width: auto;
        padding: 12px 10px;
    }
    
    .stats-label {
        font-size: 12px;
        margin-bottom: 8px;
    }
    
    .stats-value {
        font-size: 18px;
        height: 30px;
    }
    
    .mint-input {
        padding: 12px 50px 12px 12px;
        font-size: 14px;
    }
    
    .mint-button {
        padding: 14px;
        font-size: 15px;
    }

    #token-details, #invitation-section, #referrals-section, #users-section {
        padding: 20px 15px;
        margin: 15px 0;
    }

    /* 调整邀请板块的圆角和边框 */
    .invitation-card, .referral-stats, .users-table-container {
        border-radius: 10px;
        overflow: hidden;
    }
}

@media (max-width: 480px) {
    main {
        padding: 15px 8px;
    }
    
    section {
        padding: 15px 12px;
        margin: 12px 0;
        border-radius: 10px;
    }

    .user-stats-container {
        grid-template-columns: 1fr;
    }
    
    .personal-stats {
        padding: 10px 8px;
    }
    
    /* 进一步优化邀请链接和代币详情版块 */
    #token-details, #invitation-section, #referrals-section, #users-section {
        padding: 15px 12px;
        margin: 12px 0;
    }
    
    .token-details-list li {
        padding: 12px 8px;
    }
    
    .invitation-header {
        padding: 12px;
    }
    
    .users-table th, .users-table td {
        padding: 10px 8px;
        font-size: 12px;
    }
}

/* 状态标签样式 */
#idoStatus {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 16px;
    background-image: none;
    -webkit-text-fill-color: initial;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
}

.status-upcoming {
    background-color: #27262C; /* PancakeSwap深色 */
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.status-active {
    background-color: #1B2A2A; /* PancakeSwap成功色背景 */
    color: #31D0AA;
    border: 1px solid #31D0AA;
}

.status-ended {
    background-color: #27262C; /* PancakeSwap深色 */
    color: #B8ADD2;
    border: 1px solid #524B63;
}

.status-paused {
    background-color: #2A291A; /* PancakeSwap黄色背景 */
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

/* 时间显示特殊样式 */
#idoBeginTime, #idoEndTime {
    font-size: 16px;
    background-image: none;
    -webkit-text-fill-color: initial;
    color: #ffffff;
    padding: 3px 8px;
    background-color: #383241; /* PancakeSwap深色 */
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* 我的下级和参与用户板块样式 */
#referrals-section, #users-section {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    width: 100%;
    margin: 30px 0;
    transition: all 0.3s ease;
}

#referrals-section:hover, #users-section:hover {
    box-shadow: 0 8px 25px rgba(63, 135, 245, 0.15);
}

#referrals-section h2, #users-section h2 {
    color: #FFB366;
    font-size: 1.8em;
    margin-bottom: 25px;
    border-bottom: 2px solid #FFB366;
    padding-bottom: 15px;
    text-align: left;
}

/* 数据统计卡片 */
.referral-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-item {
    background-color: #383241; /* PancakeSwap深色 */
    padding: 20px;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    border: 1px solid rgba(31, 199, 212, 0.1);
}

.stat-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(31, 199, 212, 0.2);
    background-color: #433B52;
    border: 1px solid rgba(31, 199, 212, 0.3);
}

.stat-label {
    color: var(--light-text);
    font-size: 14px;
    margin-bottom: 10px;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: #FFB366;
    display: flex;
    align-items: flex-end;
    gap: 3px;
}

.stat-unit {
    font-size: 13px;
    color: #ffffff;
    align-self: flex-end;
    margin-bottom: 3px;
}

/* 用户表格样式 */
.users-container {
    width: 100%;
}

.users-table-container {
    width: 100%;
    overflow-x: auto;
    background-color: #27262C; /* PancakeSwap深色 */
    border-radius: var(--border-radius);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
}

.users-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.users-table th, .users-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #524B63; /* PancakeSwap边框色 */
    transition: all 0.3s ease; /* 添加过渡效果 */
}

/* 设置表格行间隔色，增强可读性 */
.users-table tr:nth-child(odd) td {
    background-color: rgba(39, 38, 44, 0.3); /* PancakeSwap深色背景 */
}

.users-table tr:nth-child(even) td {
    background-color: rgba(39, 38, 44, 0.1); /* 更轻微的PancakeSwap背景 */
}

/* 悬停时整行的效果 */
.users-table tr:hover td {
    background-color: rgba(31, 199, 212, 0.05); /* 轻微的青色背景 */
}

/* 确保表格边框样式统一 */
.users-table {
    border: 1px solid #524B63;
}

/* 确保表头样式统一并突出显示 */
.users-table th {
    background-color: #27262C;
    color: var(--primary-color);
    font-weight: 600;
    border-bottom: 2px solid var(--primary-color);
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
}

/* 添加表格圆角 */
.users-table-container {
    border-radius: 8px;
    overflow: hidden;
}

/* 特别优化ID列样式 */
.users-table td:first-child {
    font-weight: 600;
    color: var(--light-text);
}

/* 添加列宽度控制和对齐方式 */
.users-table th:nth-child(1), 
.users-table td:nth-child(1) {
    width: 15%; /* ID列宽度 */
    text-align: left;
}

.users-table th:nth-child(2), 
.users-table td:nth-child(2) {
    width: 45%; /* 地址列宽度 */
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.users-table th:nth-child(3), 
.users-table td:nth-child(3) {
    width: 40%; /* 投入金额列宽度 */
    text-align: center;
}

/* 增大表格中金额列的字体大小 */
.users-table td:last-child {
    font-size: 15px;
    font-weight: 600;
    color: #FFB366;
    position: relative;
    background: transparent; /* 移除背景色 */
    border-left: none; /* 移除左边框 */
}

/* 金额列悬停效果 */
.users-table tr:hover td:last-child {
    background: rgba(31, 199, 212, 0.03); /* 更轻微的青色背景效果 */
    color: var(--primary-light);
}

/* 分页控件 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 20px 0;
}

.pagination-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%); /* PancakeSwap黄色渐变 */
    color: #0B0E11; /* PancakeSwap深色文字 */
    border: none;
    padding: 10px 18px;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(31, 199, 212, 0.3);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 80%);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

#pageIndicator, #referralPageIndicator {
    color: var(--light-text);
    font-size: 14px;
    font-weight: 600;
}

#currentPage, #totalPages, #referralCurrentPage, #referralTotalPages {
    color: #FFB366;
    font-weight: 700;
}

/* 移动端适配 */
@media (max-width: 768px) {
    #referrals-section, #users-section {
        padding: 25px 20px;
        margin: 20px 0;
    }
    
    #referrals-section h2, #users-section h2 {
        font-size: 1.6em;
        margin-bottom: 20px;
    }
    
    .referral-stats {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
        margin-bottom: 20px;
    }
    
    .stat-item {
        padding: 15px;
    }
    
    .users-table th, .users-table td {
        padding: 12px 10px;
        font-size: 14px;
    }
    
    .pagination {
        gap: 10px;
        flex-wrap: wrap;
    }
    
    .pagination-btn {
        padding: 8px 16px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    #referrals-section, #users-section {
        padding: 20px 15px;
        margin: 15px 0;
    }
    
    #referrals-section h2, #users-section h2 {
        font-size: 1.4em;
        margin-bottom: 15px;
    }
    
    .referral-stats {
        grid-template-columns: 1fr;
    }
    
    .stat-item {
        padding: 12px;
    }
    
    .users-table th, .users-table td {
        padding: 8px 6px;
        font-size: 12px;
    }
    
    .pagination-btn {
        padding: 6px 12px;
        font-size: 13px;
        min-width: 80px;
    }
    
    #pageIndicator, #referralPageIndicator {
        font-size: 12px;
    }
}

/* 邀请链接和代币详情板块样式优化 */
#invitation-section, #token-details, #referrals-section, #users-section {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

#invitation-section:hover, #token-details:hover, #referrals-section:hover, #users-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(63, 135, 245, 0.15);
}

.invitation-card {
    border-radius: 8px;
    overflow: hidden;
}

.invitation-header {
    border-radius: 8px 8px 0 0;
}

.invitation-link-container {
    margin-top: 5px;
}

.invitation-link {
    border-radius: 8px;
}

.invitation-copy-btn {
    border-radius: 8px;
    transition: all 0.3s ease;
}

.invitation-copy-btn:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    transform: translateY(-2px);
}

/* 代码定位选择器，确保在管理员控制面板不显示时内容能占据整个区域 */
body:not(.has-admin) main > section:not(.admin-section) {
    width: 100%;
}

/* 元数据输入框样式 */
.metadata-inputs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
    margin-bottom: 15px;
    width: 100%;
    background-color: rgba(39, 38, 44, 0.5); /* PancakeSwap深色背景 */
    padding: 10px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(31, 199, 212, 0.1); /* PancakeSwap青色边框 */
}

.metadata-input-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.metadata-input-group label {
    font-size: 13px;
    color: #B8ADD2; /* 淡紫色 */
    font-weight: 600;
    margin-bottom: 5px;
}

.metadata-input-group input {
    padding: 10px 12px;
    border: 1px solid #524B63; /* PancakeSwap边框色 */
    border-radius: 8px;
    background-color: #383241; /* PancakeSwap深色背景 */
    color: var(--text-color); /* 浅色文本 */
    transition: all 0.3s ease;
}

.metadata-input-group input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(31, 199, 212, 0.2); /* PancakeSwap青色阴影 */
    outline: none;
}

.metadata-input-group input::placeholder {
    color: #8F80BA; /* PancakeSwap占位符颜色 */
}

@media (max-width: 768px) {
    .metadata-inputs {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .metadata-input-group label {
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .users-table th, .users-table td {
        padding: 12px 10px;
        font-size: 14px;
    }
    
    /* 调整移动端表格列宽，保持与桌面端一致比例 */
    .users-table th:nth-child(1), 
    .users-table td:nth-child(1) {
        width: 15%; /* 移动端ID列宽度 */
    }
    
    .users-table th:nth-child(2), 
    .users-table td:nth-child(2) {
        width: 45%; /* 移动端地址列宽度 */
    }
    
    .users-table th:nth-child(3), 
    .users-table td:nth-child(3) {
        width: 40%; /* 移动端投入金额列宽度 */
    }
    
    .users-table td:nth-child(2)::before {
        display: none;
    }
    
    .users-table tr:hover td:nth-child(2)::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .token-value span:nth-child(2) {
        font-size: 11px;
        color: #ffffff;
    }
}

@media (max-width: 480px) {
    .token-value span:nth-child(2) {
        font-size: 10px;
        font-weight: 600; /* 超小屏幕使用更粗的字体确保可见性 */
        color: #ffffff;
    }
}

/* 在移动端视图中适当调整进度条文本和单位字体 */
@media (max-width: 768px) {
    .progress-info {
        font-size: 14px;
    }
    
    .stats-unit {
        font-size: 12px;
        padding-left: 1px;
        color: #ffffff;
    }
}

@media (max-width: 480px) {
    .progress-info {
        font-size: 13px;
        font-weight: 600; /* 超小屏幕使用更粗的字体 */
    }
    
    .stats-unit {
        font-size: 11px;
        font-weight: 600; /* 超小屏幕使用更粗的字体 */
        color: #ffffff;
    }
}

/* 表格中地址的美化样式 */
.users-table td:nth-child(2) {
    font-family: monospace; /* 使用等宽字体使地址更整齐 */
    font-size: 14px;
    letter-spacing: 0.5px;
    position: relative;
    padding: 12px 10px;
    color: #FFB366; /* 使用温暖橙金色 */
}

/* 创建地址的样式化装饰效果 - 完全移除装饰线条 */
.users-table td:nth-child(2)::before {
    display: none; /* 完全隐藏 */
}

/* 悬停时的线条效果 - 完全移除 */
.users-table tr:hover td:nth-child(2)::before {
    display: none; /* 完全隐藏 */
}

/* 地址悬停效果 */
.users-table tr:hover td:nth-child(2) {
    background: rgba(31, 199, 212, 0.03); /* 更轻微的青色背景效果 */
    color: var(--primary-light);
}

/* 提取代币输入框的标签样式 */
.claim-group {
    width: 100% !important;
    grid-column: 1 / -1 !important;
    position: relative;
}

/* 为输入框添加占位符样式 */
.claim-inputs input::placeholder {
    color: var(--light-text);
    font-size: 13px;
    opacity: 0.7;
}

/* 手机视图下增强提取代币部分的标签说明 */
@media (max-width: 768px) {
    .claim-inputs {
        position: relative;
    }
    
    .claim-inputs::before {
        /* content: "每行输入一项内容"; */
        position: absolute;
        top: -25px;
        right: 0;
        font-size: 12px;
        color: var(--light-text);
        font-style: italic;
    }
    
    /* 定义每个输入框的标签容器 */
    .claim-inputs {
        display: grid;
        grid-template-columns: 1fr;
        gap: 28px; /* 增加间距以容纳标签 */
    }
    
    /* 输入框上方标签样式 */
    .claim-inputs::after {
        content: "";
        display: block;
        height: 0;
        clear: both;
    }
}

/* IDO合约地址显示区域 */
.contract-address-container {
    background-color: rgba(39, 38, 44, 0.8);
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    padding: 15px;
    margin: 0 0 25px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.contract-address-label {
    color: #B8ADD2;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contract-address-label i {
    color: #B8ADD2;
    font-size: 16px;
}

.contract-address-value {
    background-color: #383241;
    border-radius: 6px;
    padding: 10px 15px;
    font-family: monospace;
    font-size: 14px;
    color: var(--text-color);
    flex: 1;
    min-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border: 1px solid var(--border-color);
}

.contract-address-copy {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: #0B0E11;
    border: none;
    border-radius: 6px;
    padding: 10px 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.contract-address-copy:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(31, 199, 212, 0.2);
}

.contract-address-copy i {
    font-size: 14px;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .contract-address-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 12px;
    }
    
    .contract-address-value {
        width: 100%;
        font-size: 13px;
        padding: 8px 12px;
    }
    
    .contract-address-copy {
        width: 100%;
        justify-content: center;
        padding: 8px 12px;
    }
}

/* 修改提取代币区域，使其占满整个容器宽度 */
.admin-panel .claim-token-container {
    width: 100%;
    margin: 25px 0 15px;
    display: block;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    padding-top: 25px;
}

.admin-panel .claim-token-container .form-group.claim-group {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background-color: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: var(--border-radius);
    padding: 20px;
    transition: all 0.3s ease;
    margin: 0 !important;
    grid-column: 1 / -1 !important;
}

.admin-panel .claim-token-container .form-group.claim-group:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.1);
}

.admin-panel .claim-token-container .form-group.claim-group label {
    width: 100%;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 10px;
    display: block;
    text-align: left;
}

.admin-panel .claim-token-container .claim-inputs {
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    background: none !important;
    border: none !important;
}

.admin-panel .claim-token-container .claim-inputs::before,
.admin-panel .claim-token-container .claim-inputs::after {
    display: none !important;
}

.admin-panel .claim-token-container .claim-inputs input {
    width: 100% !important;
    padding: 12px !important;
    background-color: #252525 !important;
    border: 1px solid var(--border-color) !important;
    border-radius: var(--border-radius) !important;
    color: var(--text-color) !important;
    font-size: 14px !important;
    transition: all 0.3s ease !important;
    margin: 0 !important;
    display: block !important;
}

.admin-panel .claim-token-container .claim-inputs input:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2) !important;
    outline: none !important;
}

.admin-panel .claim-token-container .claim-inputs input:nth-child(1),
.admin-panel .claim-token-container .claim-inputs input:nth-child(2),
.admin-panel .claim-token-container .claim-inputs input:nth-child(3) {
    width: 100% !important;
    margin: 0 !important;
}

.admin-panel .claim-token-container .admin-btn {
    width: 100% !important;
    padding: 12px !important;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%) !important;
    border: 1px solid var(--primary-dark) !important;
    border-radius: var(--border-radius) !important;
    color: #1a1a1a !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    margin-top: 15px !important;
    display: block !important;
}

.admin-panel .claim-token-container .admin-btn:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 80%) !important;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3) !important;
    transform: translateY(-2px) !important;
}

/* 确保手机视图也保持一样的布局 */
@media (max-width: 768px) {
    .admin-panel .claim-token-container .claim-inputs {
        flex-direction: column !important;
    }
    
    .admin-panel .claim-token-container .claim-inputs input {
        width: 100% !important;
    }
    
    .admin-panel .claim-token-container .admin-btn {
        width: 100% !important;
    }
}

/* 防止删除重要的移动端样式 */
@media (max-width: 480px) {
    .control-buttons .admin-btn:hover {
        transform: perspective(500px) translateZ(5px) translateY(-2px);
    }
    
    .control-buttons .admin-btn.danger {
        background: linear-gradient(135deg, #ff5252 0%, #c62828 100%);
        box-shadow: 0 8px 20px rgba(229, 57, 53, 0.35), inset 0 -4px 0 rgba(0, 0, 0, 0.15);
    }
    
    .control-buttons .admin-btn.success {
        background: linear-gradient(135deg, #66bb6a 0%, #1b5e20 100%);
        box-shadow: 0 8px 20px rgba(67, 160, 71, 0.35), inset 0 -4px 0 rgba(0, 0, 0, 0.15);
    }
    
    /* 优化提取按钮在小屏幕的显示 */
    .claim-group .admin-btn {
        margin-top: 15px;
        font-weight: 700;
        padding: 12px 20px;
        font-size: 15px;
    }
}

/* 恢复被删除的中等屏幕尺寸样式 */
@media (max-width: 768px) {
    .control-buttons .admin-btn:hover {
        transform: perspective(500px) translateZ(5px) translateY(-3px);
    }
    
    .control-buttons .admin-btn.danger {
        background: linear-gradient(135deg, #ff5252 0%, #c62828 100%);
        box-shadow: 0 10px 20px rgba(229, 57, 53, 0.4), inset 0 -5px 0 rgba(0, 0, 0, 0.15);
    }
    
    .control-buttons .admin-btn.success {
        background: linear-gradient(135deg, #66bb6a 0%, #1b5e20 100%);
        box-shadow: 0 10px 20px rgba(67, 160, 71, 0.4), inset 0 -5px 0 rgba(0, 0, 0, 0.15);
    }
}

@media (max-width: 768px) {
    .admin-panel .claim-token-container .form-group.claim-group {
        padding: 15px;
    }
    
    .admin-panel .claim-token-container .form-group.claim-group label {
        font-size: 15px;
    }
    
    .admin-panel .claim-token-container .claim-inputs {
        gap: 12px !important;
    }
}

@media (max-width: 480px) {
    .admin-panel .claim-token-container .form-group.claim-group {
        padding: 12px;
    }
    
    .admin-panel .claim-token-container .form-group.claim-group label {
        font-size: 14px;
    }
    
    .admin-panel .claim-token-container .claim-inputs {
        gap: 10px !important;
    }
}

/* 时间设置容器 */
.time-settings-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    width: 100%;
    padding: 0;
    margin: 0;
}

/* 在平板及以上大小的屏幕上显示两列布局 */
@media (min-width: 992px) {
    .time-settings-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 时间输入组标题统一样式 */
.time-input-group label {
    text-align: left;
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #B8ADD2;
    font-size: 16px;
    letter-spacing: 0.5px;
}

/* 时间输入组 */
.time-input-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    background-color: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: var(--border-radius);
    padding: 15px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

/* 确保日历控件显示在其他元素之上 */
.flatpickr-calendar {
    z-index: 999 !important;
}

.time-input-group:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(31, 199, 212, 0.1);
}

.time-input-group label {
    color: #B8ADD2;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 5px;
    display: block;
}

.time-input-group input {
    width: 100% !important;
    padding: 12px !important;
    background-color: #252525 !important;
    border: 1px solid var(--border-color) !important;
    border-radius: var(--border-radius) !important;
    color: var(--text-color) !important;
    font-size: 14px !important;
    transition: all 0.3s ease !important;
    margin: 0 !important;
    height: 48px;
}

.time-input-group input:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 2px rgba(31, 199, 212, 0.2) !important;
    outline: none !important;
}



.time-input-group .admin-btn {
    width: 100%;
    margin-top: 5px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 15px;
}

/* 媒体查询 - 平板 */
@media (max-width: 768px) {
    .time-input-group {
        padding: 15px;
    }
    
    .time-input-group label {
        font-size: 15px;
    }
    
    .time-input-group input,
    .time-input-group .admin-btn {
        height: 44px;
    }
    
    
}

/* 媒体查询 - 手机 */
@media (max-width: 480px) {
    .time-input-group {
        padding: 12px;
    }
    
    .time-input-group label {
        font-size: 14px;
    }
    
    .time-input-group input,
    .time-input-group .admin-btn {
        height: 40px;
        font-size: 14px;
    }
    
    
}

/* 保留简单的flatpickr输入框样式 */
.flatpickr-input {
    width: 100%;
    padding: 12px;
    background-color: #383241;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    color: var(--text-color);
    font-size: 14px;
    transition: all 0.3s ease;
}

/* 项目介绍板块样式 */
#project-intro {
    background: var(--card-bg);
    border: 1px solid rgba(31, 199, 212, 0.2);
    position: relative;
    overflow: hidden;
}

#project-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.intro-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.intro-card {
    background: rgba(39, 38, 44, 0.6);
    border: 1px solid rgba(31, 199, 212, 0.15);
    border-radius: var(--border-radius);
    padding: 20px;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.intro-card:hover {
    transform: translateY(-3px);
    border-color: rgba(31, 199, 212, 0.3);
    box-shadow: 0 6px 20px rgba(31, 199, 212, 0.1);
}

.main-intro {
    text-align: center;
    background: linear-gradient(135deg, rgba(39, 38, 44, 0.8) 0%, rgba(56, 50, 65, 0.6) 100%);
    border: 1px solid rgba(31, 199, 212, 0.25);
}

.intro-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.intro-header .intro-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    overflow: hidden;
}

.intro-header .intro-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.intro-header h3 {
    font-size: 1.8em;
    font-weight: 700;
    color: #FFB366;
    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: initial;
    background-clip: initial;
    margin: 0;
}

.intro-subtitle {
    color: var(--primary-color);
    font-size: 1.1em;
    font-weight: 500;
    opacity: 0.9;
}

.intro-description {
    font-size: 1.1em;
    line-height: 1.7;
    color: var(--text-color);
    text-align: left;
    margin: 0;
}

.intro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.intro-card .intro-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    margin-bottom: 12px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(31, 199, 212, 0.3);
    transition: all 0.3s ease;
}

.intro-card .intro-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(31, 199, 212, 0.4);
}

.intro-card .intro-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.intro-card h4 {
    font-size: 1.2em;
    font-weight: 600;
    color: #FFB366;
    margin: 0 0 12px 0;
}

.intro-stats {
    text-align: center;
}

.intro-number {
    display: block;
    font-size: 2.2em;
    font-weight: 700;
    color: #FFB366;
    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: initial;
    background-clip: initial;
    line-height: 1.2;
}

.intro-unit {
    color: var(--light-text);
    font-size: 0.9em;
    font-weight: 500;
}

.mechanism-details, .rewards-details, .history-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mechanism-item, .history-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(31, 199, 212, 0.1);
}

.mechanism-item:last-child, .history-item:last-child {
    border-bottom: none;
}

.mechanism-label, .history-label {
    color: var(--light-text);
    font-size: 0.9em;
}

.mechanism-value, .history-value {
    color: #FFB366;
    font-weight: 600;
    font-size: 0.9em;
}

.rewards-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.reward-item {
    text-align: center;
    padding: 12px;
    background: rgba(31, 199, 212, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(31, 199, 212, 0.15);
}

.reward-period {
    display: block;
    color: var(--light-text);
    font-size: 0.85em;
    margin-bottom: 4px;
}

.reward-percentage {
    display: block;
    font-size: 1.4em;
    font-weight: 700;
    color: #FFB366;
}

.highlights-card {
    grid-column: 1 / -1;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: rgba(31, 199, 212, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(31, 199, 212, 0.15);
    transition: all 0.3s ease;
}

.highlight-item:hover {
    background: rgba(31, 199, 212, 0.1);
    transform: translateY(-2px);
}

.highlight-icon {
    font-size: 1.5em;
    flex-shrink: 0;
}

.highlight-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.highlight-text strong {
    color: #FFB366;
    font-size: 0.95em;
    font-weight: 600;
}

.highlight-text span {
    color: var(--light-text);
    font-size: 0.8em;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .intro-grid {
        grid-template-columns: 1fr;
    }
    
    .intro-header h3 {
        font-size: 1.5em;
    }
    
    .intro-description {
        font-size: 1em;
    }
    
    .highlights-grid {
        grid-template-columns: 1fr;
    }
    
    .reward-item {
        padding: 8px;
    }
    
    .mechanism-item, .history-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}

@media (max-width: 480px) {
    .intro-card {
        padding: 16px;
    }
    
    .intro-header .intro-icon {
        width: 40px;
        height: 40px;
    }
    
    .intro-number {
        font-size: 1.8em;
    }
    
    .highlight-item {
        padding: 12px;
    }
    
    .rewards-details {
        grid-template-columns: 1fr;
    }
}

 