body {
    background: linear-gradient(135deg, #0f1729 0%, #1a2236 100%);
    color: #ffffff;
    font-family: 'Segoe UI', Arial, sans-serif;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 合作伙伴样式 */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.partner-card {
    background: rgba(14, 22, 39, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
}

.partner-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
}

.partner-card h3 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.partner-card p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* 项目优势样式 */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.advantage-card {
    background: rgba(14, 22, 39, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 2rem;
}

.advantage-card h3 {
    color: #fff;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.2rem;
}

.advantage-card h3 i {
    color: #f6c343;
}

.advantage-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.advantage-card ul li {
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.5;
}

.advantage-card ul li:before {
    content: "•";
    color: #f6c343;
    position: absolute;
    left: 0;
}

/* 统计卡片样式 */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.stat-card {
    background: rgba(14, 22, 39, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
}

.stat-title {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.stat-value {
    color: #fff;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

/* 兑换表单样式 */
.exchange-wrapper {
    background: rgba(14, 22, 39, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 2rem;
    max-width: 500px;
    margin: 0 auto;
}

.exchange-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.input-group {
    background: rgba(20, 30, 50, 0.5);
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    align-items: center;
}

.token-label {
    color: #3498db;
    font-size: 1rem;
    font-weight: bold;
    margin-right: 1rem;
    min-width: 40px;
}

.input-group .form-control {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.input-group .form-control:focus {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: none;
    color: white;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.input-group input[type="number"]::-webkit-inner-spin-button,
.input-group input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0;
}

.input-group input[type="number"] {
    -webkit-appearance: textfield;
    -moz-appearance: textfield;
    appearance: textfield;
}

.form-control:disabled,
.form-control[readonly] {
    background: rgba(20, 30, 50, 0.5);
    color: rgba(255, 255, 255, 0.8);
    cursor: default;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.exchange-arrow {
    text-align: center;
    color: #3498db;
    margin: 1rem 0;
}

.btn-exchange {
    background: #3498db;
    border: none;
    color: #fff;
    border-radius: 8px;
    padding: 1rem;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-exchange:hover {
    background: #2980b9;
}

/* 代币经济样式 */
#tokenomics {
    text-align: center;
    padding: 4rem 0;
}

#tokenomics h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #fff;
}

.token-economics {
    padding: 40px 20px;
    text-align: center;
}

.token-economics h2 {
    font-size: 32px;
    margin-bottom: 40px;
    color: #fff;
}

.token-stats {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

.token-stat-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.token-stat-label {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
}

.token-stat-value {
    font-size: 36px;
    font-weight: 600;
    color: #3498db;
}

.token-benefits {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.benefit-item {
    background: rgba(52, 152, 219, 0.1);
    border-radius: 12px;
    padding: 15px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.benefit-item i {
    color: #3498db;
    font-size: 18px;
}

@media screen and (max-width: 768px) {
    .token-economics h2 {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .token-stat-value {
        font-size: 32px;
    }

    .token-stat-label {
        font-size: 16px;
    }

    .benefit-item {
        font-size: 14px;
        padding: 12px;
    }
}

/* 首页介绍部分样式 */
#intro {
    padding: 4rem 0;
    text-align: center;
    color: #fff;
}

#intro h1 {
    font-size: 2.8rem;
    margin-bottom: 2rem;
    font-weight: bold;
}

.intro-text {
    font-size: 1.1rem;
    max-width: 900px;
    margin: 0 auto 4rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: rgba(14, 22, 39, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 2rem;
    text-align: left;
}

.feature-icon {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #3498db;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #fff;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* 导航栏样式 */
.navbar {
    background: rgba(13, 17, 28, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 12px 20px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-box {
    width: 24px;
    height: 24px;
    background: #3498db;
    border-radius: 6px;
}

.wallet-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-connect {
    background: #3498db;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-connect:hover {
    background: #2980b9;
}

.wallet-info {
    display: flex;
    align-items: center;
}

.wallet-address {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

/* 移动端样式 */
@media screen and (max-width: 768px) {
    .navbar {
        padding: 10px 15px;
        background: rgba(13, 17, 28, 0.98);
    }

    .navbar-brand {
        font-size: 15px;
    }

    .logo-box {
        width: 20px;
        height: 20px;
    }

    .btn-connect {
        padding: 6px 12px;
        font-size: 13px;
        border-radius: 6px;
    }

    .wallet-address {
        font-size: 13px;
        max-width: 120px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

/* 提示样式 */
.alert {
    background: rgba(52, 152, 219, 0.1);
    border: 1px solid rgba(52, 152, 219, 0.3);
    color: #3498db;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 1.5rem;
}

/* 错误提示样式 */
.error-toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(231, 76, 60, 0.9);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s;
}

.error-toast.show {
    opacity: 1;
}

/* 成功提示样式 */
.success-toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(46, 204, 113, 0.9);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s;
}

.success-toast.show {
    opacity: 1;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .partners-grid,
    .advantages-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* 移动端适配 */
@media screen and (max-width: 768px) {
    .container {
        padding: 15px;
        width: 100%;
        max-width: 100%;
    }

    .card {
        margin: 10px 0;
        padding: 15px;
    }

    .stats-container {
        padding: 15px;
    }

    .stats-item {
        padding: 15px;
        margin: 10px 0;
    }

    .exchange-form {
        padding: 15px;
    }

    .input-group {
        margin-bottom: 15px;
    }

    .token-label {
        min-width: 60px;
        font-size: 14px;
    }

    .btn-exchange {
        width: 100%;
        padding: 12px;
        font-size: 16px;
    }

    .form-control {
        font-size: 16px;
        padding: 12px;
    }

    /* 调整数值显示 */
    .stats-value {
        font-size: 24px;
    }

    .stats-label {
        font-size: 14px;
    }

    /* 调整弹窗样式 */
    .swal2-popup {
        font-size: 14px !important;
        padding: 15px !important;
    }

    .swal2-title {
        font-size: 18px !important;
    }

    .swal2-confirm {
        font-size: 14px !important;
        padding: 8px 20px !important;
    }
}

/* 针对超小屏幕的额外适配 */
@media screen and (max-width: 375px) {
    .stats-value {
        font-size: 20px;
    }

    .btn-exchange {
        padding: 10px;
        font-size: 14px;
    }

    .form-control {
        font-size: 14px;
        padding: 10px;
    }
}

/* 移动端适配 */
@media screen and (max-width: 768px) {
    .benefits-list {
        gap: 8px;
    }

    .benefit-item {
        flex: 0 1 calc(50% - 8px);
        padding: 8px 12px;
    }

    .benefit-text {
        font-size: 13px;
    }
}

@media screen and (max-width: 375px) {
    .benefit-item {
        flex: 0 1 100%;
    }
}

/* 移动端导航栏样式 */
@media screen and (max-width: 768px) {
    .navbar {
        position: fixed;
        padding: 0.8rem 1rem;
        transform: translateY(0);
    }

    /* 调整内容区域的上边距，为固定导航栏留出空间 */
    body {
        padding-top: 60px;
    }

    /* 优化移动端导航栏样式 */
    .navbar-brand {
        font-size: 1.2rem;
    }

    .nav-link {
        padding: 0.5rem 0.8rem;
    }

    .navbar-nav {
        margin-top: 0.5rem;
    }
}