* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    z-index: 2;
    padding: 15px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #D8CE91;
    margin: 3px 0;
    transition: 0.3s;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-img {
    height: 45px;
    width: auto;
    max-width: 180px;
    transition: all 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.language-selector {
    cursor: pointer;
}

.globe-icon {
    font-size: 20px;
    color: #D8CE91;
}

/* 主内容 */
.main-content {
    padding-top: 80px;
    min-height: 100vh;
}

.hero-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 300;
    margin-bottom: 10px;
    color: #D8CE91;
}

.hero-text h2 {
    font-size: 3.5rem;
    font-weight: 600;
    line-height: 1.2;
    color: #ffffff;
}

/* 手机展示 */
.phone-showcase {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-frame {
    width: 320px;
    height: 640px;
    background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
    border-radius: 40px;
    padding: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    position: relative;
}

.phone-frame::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 6px;
    background: #333;
    border-radius: 3px;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 25px;
    overflow: hidden;
    position: relative;
}

/* Banner轮播样式 */
.banner-carousel {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    background: #000;
}

.carousel-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

/* 轮播指示器 */
.carousel-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #D8CE91;
    transform: scale(1.2);
}

/* 轮播控制按钮 */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(216, 206, 145, 0.8);
    color: #000;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: #D8CE91;
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

/* 轮播动画效果 */
.carousel-slide {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(1.05);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* 关于CoinBig区域 */
.about-section {
    padding: 80px 20px;
    margin: 60px 0;
    background: linear-gradient(135deg, rgba(216, 206, 145, 0.05), rgba(216, 206, 145, 0.1));
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(216,206,145,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.about-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(216, 206, 145, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.about-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(216, 206, 145, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.about-item:hover::before {
    opacity: 1;
    transform: rotate(45deg) translate(50%, 50%);
}

.about-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(216, 206, 145, 0.2);
    border-color: rgba(216, 206, 145, 0.4);
}

.about-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
    filter: drop-shadow(0 0 10px rgba(216, 206, 145, 0.3));
}

.about-item h3 {
    color: #D8CE91;
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 600;
    position: relative;
    z-index: 2;
}

.about-item p {
    color: #ccc;
    font-size: 1.1rem;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

/* 底部浮动下载按钮 */
.floating-download {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95), rgba(45, 45, 45, 0.95));
    backdrop-filter: blur(15px);
    border-top: 1px solid rgba(216, 206, 145, 0.2);
    padding: 15px 20px;
    z-index: 1000;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.5s ease-out;
}

.floating-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.download-text h4 {
    color: #D8CE91;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.download-text p {
    color: #ccc;
    font-size: 0.9rem;
    margin: 0;
}

.floating-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: nowrap;
}

.floating-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #D8CE91;
    color: #000;
    padding: 15px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    min-width: 140px;
    justify-content: center;
    white-space: nowrap;
}

.floating-btn:hover {
    background: #c4ba7d;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(216, 206, 145, 0.4);
}

.btn-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.close-floating {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    color: #888;
    font-size: 20px;
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s ease;
}

.close-floating:hover {
    color: #D8CE91;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.floating-download.hidden {
    transform: translateY(100%);
    opacity: 0;
    transition: all 0.3s ease;
}

.floating-download.hide-on-bottom {
    transform: translateY(100%);
    transition: all 0.3s ease;
}

/* 为页面底部添加padding，避免内容被浮动栏遮挡 */
body {
    padding-bottom: 100px;
}

/* 统计数据 */
.stats-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item {
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(216, 206, 145, 0.1);
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: #D8CE91;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    color: #ccc;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 15px;
    }

    .logo-img {
        height: 35px;
        max-width: 140px;
    }

    .nav-right {
        gap: 15px;
    }

    .hero-section {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-text h1,
    .hero-text h2 {
        font-size: 2.5rem;
    }

    .phone-frame {
        width: 280px;
        height: 560px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-item {
        padding: 30px 20px;
    }

    .floating-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .floating-buttons {
        justify-content: center;
        width: 100%;
    }

    .floating-btn {
        flex: 1;
        max-width: 160px;
    }

    .stats-section {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .floating-download {
        padding: 20px 15px;
    }
}

/* 确保按钮始终横排显示 */
.floating-buttons {
    flex-direction: row !important;
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 10px;
    }

    .logo-img {
        height: 30px;
        max-width: 120px;
    }

    .nav-right {
        gap: 10px;
    }

    .hamburger span {
        width: 20px;
        height: 2px;
    }

    .globe-icon {
        font-size: 18px;
    }

    .hero-text h1,
    .hero-text h2 {
        font-size: 2rem;
    }

    .phone-frame {
        width: 250px;
        height: 500px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .floating-buttons {
        gap: 15px;
        width: 100%;
    }

    .floating-btn {
        flex: 1;
        min-width: 120px;
        max-width: 150px;
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .btn-icon {
        width: 20px;
        height: 20px;
    }

    .download-text h4 {
        font-size: 1rem;
    }

    .download-text p {
        font-size: 0.8rem;
    }
}
