﻿/* 全局样式和变量 */
:root {
    --primary-gradient: linear-gradient(135deg, #FF6B6B 0%, #FFE66D 100%);
    --secondary-gradient: linear-gradient(135deg, #4158D0 0%, #C850C0 46%, #FFCC70 100%);
    --accent-gradient: linear-gradient(135deg, #00F260 0%, #0575E6 100%);
    --primary-color: #FF6B6B;
    --secondary-color: #4158D0;
    --accent-color: #00F260;
    --dark-color: #2d3436;
    --text-color: #333333;
    --light-color: #ffffff;
    --light-bg: #f9f9f9;
    --card-bg: rgba(255, 255, 255, 0.9);
    --border-radius-sm: 8px;
    --border-radius-md: 15px;
    --border-radius-lg: 25px;
    --border-radius-xl: 50px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--light-bg);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.8rem;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section {
    padding: 6rem 0;
    position: relative;
}

.text-center {
    text-align: center;
}

.grid {
    display: grid;
    gap: 2rem;
}

.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}

.flex-col {
    flex-direction: column;
}

.gap-2 {
    gap: 2rem;
}

.gap-3 {
    gap: 3rem;
}

.w-full {
    width: 100%;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.rounded-sm {
    border-radius: var(--border-radius-sm);
}

.rounded-md {
    border-radius: var(--border-radius-md);
}

.rounded-lg {
    border-radius: var(--border-radius-lg);
}

.rounded-xl {
    border-radius: var(--border-radius-xl);
}

.gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: var(--border-radius-xl);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    filter: brightness(1.2);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.btn:hover::before {
    opacity: 1;
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--light-color);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.btn-secondary {
    background: var(--secondary-gradient);
    color: var(--light-color);
    box-shadow: 0 4px 15px rgba(65, 88, 208, 0.4);
}

.btn-accent {
    background: var(--accent-gradient);
    color: var(--light-color);
    box-shadow: 0 4px 15px rgba(0, 242, 96, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid currentColor;
    color: #2d3436;
}

.btn-outline:hover {
    background: var(--light-color);
    color: var(--text-color);
}

.btn-sm {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
}

.btn-lg {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 0.75rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar-scrolled {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-item {
    margin: 0 0.5rem;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    padding: 0.5rem 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 0.5rem;
    display: block;
}

.nav-link:hover {
    color: var(--primary-color);
    background-color: rgba(0, 0, 0, 0.05);
}

.nav-item.active .nav-link {
    color: var(--primary-color);
    font-weight: 600;
}

.nav-buttons {
    display: flex;
    gap: 0.5rem;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1010;
}

.toggle-bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    border-radius: 3px;
    transition: all 0.3s ease;
    margin-bottom: 3px;
}

.mobile-toggle.active .toggle-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-toggle.active .toggle-bar:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active .toggle-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.mobile-only {
    display: none;
}

/* 响应式样式 */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .grid-4 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 移动端样式 */
@media (max-width: 992px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.5rem;
    }
    
    .mobile-toggle {
        display: flex;
    }

    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: flex;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        flex-direction: column;
        align-items: flex-start;
        background-color: white;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        padding: 5rem 2rem 2rem;
        transition: all 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        overflow-y: auto;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-item {
        margin: 0.5rem 0;
        width: 100%;
    }

    .nav-link {
        padding: 0.75rem 1rem;
        width: 100%;
    }

    /* 从菜单中移除移动端按钮 */
    .nav-links .mobile-only {
        display: none !important;
    }
    
    /* 移动端按钮浮动在页面底部 */
    .nav-buttons.mobile-only {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        padding: 15px;
        background-color: white;
        box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.1);
        z-index: 2000;
        justify-content: space-around;
        display: flex !important;
    }
    
    .nav-buttons.mobile-only .btn {
        flex: 1;
        margin: 0 5px;
        text-align: center;
    }
    
    /* 为页面底部添加内边距，防止内容被固定按钮遮挡 */
    body {
        padding-bottom: 80px;
    }
    
    .ranking-header, .ranking-item {
        grid-template-columns: 0.5fr 2fr 1fr 0.5fr;
    }
    
    .hero-container {
        flex-direction: column;
    }
    
    .hero-content {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section {
        padding: 4rem 0;
    }
    
    .feature-card, .promo-card {
        padding: 2rem 1.5rem;
    }
    
    .flex.gap-3 {
        flex-direction: column;
    }
    
    .invite-box, .invite-visual {
        width: 100%;
        margin-bottom: 2rem;
    }
    
    .rankings-top {
        flex-direction: column;
        margin-bottom: 2rem;
    }
    
    .top-player {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .top-player.first {
        order: -1;
        transform: none;
        margin-bottom: 1rem;
    }
    
    .ranking-header, .ranking-item {
        grid-template-columns: 0.5fr 2fr 1fr auto;
        font-size: 0.9rem;
        padding: 0.75rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .player-avatar {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .crown {
        font-size: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .ranking-header, .ranking-item {
        grid-template-columns: 0.5fr 1.5fr 1fr;
        font-size: 0.85rem;
    }
    
    .player-value {
        display: none;
    }
    
    .invite-link-box {
        flex-direction: column;
    }
    
    .invite-link-input {
        width: 100%;
        border-radius: var(--border-radius);
        border-top-right-radius: var(--border-radius);
        border-bottom-right-radius: var(--border-radius);
    }
    
    .invite-link-btn {
        width: 100%;
        margin-top: 1rem;
        border-radius: var(--border-radius);
    }
    
    .player-info {
        font-size: 0.9rem;
    }
    
    .mini-avatar {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
        margin-right: 0.5rem;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-description {
        font-size: 1rem;
    }
    
    .tab-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

.rank-value {
    font-weight: 700;
    color: var(--gray-color);
}

/* VIP计划 */
.vip-section {
    background: linear-gradient(135deg, #6441A5 0%, #2a0845 100%);
    color: var(--light-color);
    position: relative;
    overflow: hidden;
}

.vip-section::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255, 255, 255, 0.1)" fill-opacity="1" d="M0,160L48,170.7C96,181,192,203,288,213.3C384,224,480,224,576,224C672,224,768,224,864,197.3C960,171,1056,117,1152,117.3C1248,117,1344,171,1392,197.3L1440,224L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: cover;
}

.vip-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.vip-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.vip-card:hover {
    transform: translateY(-10px);
}

.vip-header {
    padding: 2rem;
    text-align: center;
    color: var(--light-color);
    position: relative;
}

.bronze .vip-header {
    background: linear-gradient(135deg, #CD7F32 0%, #E6BC97 100%);
}

.silver .vip-header {
    background: linear-gradient(135deg, #C0C0C0 0%, #E6E6E6 100%);
}

.gold .vip-header {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
}

.diamond .vip-header {
    background: linear-gradient(135deg, #B9F2FF 0%, #84FAB0 100%);
}

.vip-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.vip-name {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.vip-content {
    padding: 2rem;
    color: var(--text-color);
}

.vip-benefits {
    margin-bottom: 2rem;
}

.vip-benefit {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.benefit-icon {
    margin-right: 1rem;
    color: #00C853;
}

.vip-price {
    text-align: center;
    margin-bottom: 1.5rem;
}

.price-amount {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.price-period {
    color: #666;
}

/* 号召性动作区域 */
.cta-section {
    background: var(--primary-gradient);
    color: var(--light-color);
    text-align: center;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255, 255, 255, 0.1)" fill-opacity="1" d="M0,288L48,272C96,256,192,224,288,197.3C384,171,480,149,576,165.3C672,181,768,235,864,250.7C960,267,1056,245,1152,224C1248,203,1344,181,1392,170.7L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: cover;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.cta-description {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

/* 页脚 */
.footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 5rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255, 255, 255, 0.05)" fill-opacity="1" d="M0,320L40,288C80,256,160,192,240,181.3C320,171,400,213,480,229.3C560,245,640,235,720,197.3C800,160,880,96,960,85.3C1040,75,1120,117,1200,144C1280,171,1360,181,1400,186.7L1440,192L1440,0L1400,0C1360,0,1280,0,1200,0C1120,0,1040,0,960,0C880,0,800,0,720,0C640,0,560,0,480,0C400,0,320,0,240,0C160,0,80,0,40,0L0,0Z"></path></svg>');
    background-repeat: no-repeat;
    background-position: top;
    background-size: cover;
    opacity: 0.5;
}

.footer-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.footer-description {
    opacity: 0.7;
    margin-bottom: 1.5rem;
}

.footer-title {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-gradient);
}

.footer-links {
    list-style: none;
}

.footer-link {
    margin-bottom: 1rem;
}

.footer-link a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-link a:hover {
    color: var(--light-color);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--light-color);
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

.copyright {
    opacity: 0.7;
    font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 992px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.5rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ranking-header, .ranking-item {
        grid-template-columns: 60px 1fr 100px 80px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--light-color);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition);
        z-index: 999;
    }
    
    .nav-links.active {
        right: 0;
        box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    }
    
    .nav-links .nav-item .nav-link {
        color: var(--text-color);
    }
    
    .mobile-toggle {
        display: block;
        z-index: 1000;
    }
    
    .mobile-toggle.active .toggle-bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .mobile-toggle.active .toggle-bar:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-toggle.active .toggle-bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .hero-container {
        flex-direction: column;
        text-align: center;
        margin-top: 100px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image {
        margin-top: 3rem;
    }
    
    .invite-content {
        flex-direction: column;
    }
    
    .invite-visual {
        margin-top: 3rem;
    }
    
    .rankings-top {
        flex-direction: column;
        align-items: center;
    }
    
    .top-player {
        width: 100%;
    }
    
    .top-player.first {
        order: -1;
    }
    
    .ranking-header, .ranking-item {
        grid-template-columns: 50px 1fr 100px;
    }
    
    .trend {
        display: none;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .ranking-header, .ranking-item {
        grid-template-columns: 0.5fr 1.5fr 1fr;
        font-size: 0.85rem;
    }
    
    .player-value {
        display: none;
    }
    
    .invite-link-box {
        flex-direction: column;
    }
    
    .invite-link-input {
        width: 100%;
        border-radius: var(--border-radius);
        border-top-right-radius: var(--border-radius);
        border-bottom-right-radius: var(--border-radius);
    }
    
    .invite-link-btn {
        width: 100%;
        margin-top: 1rem;
        border-radius: var(--border-radius);
    }
    
    .player-info {
        font-size: 0.9rem;
    }
    
    .mini-avatar {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
        margin-right: 0.5rem;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-description {
        font-size: 1rem;
    }
    
    .tab-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

/* 英雄区 */
.hero {
    position: relative;
    min-height: 100vh;
    background: var(--secondary-gradient);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255, 255, 255, 0.1)" fill-opacity="1" d="M0,224L48,213.3C96,203,192,181,288,181.3C384,181,480,203,576,224C672,245,768,267,864,250.7C960,235,1056,181,1152,149.3C1248,117,1344,107,1392,101.3L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--light-color);
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
}

.hero-image {
    position: relative;
}

.floating {
    animation: floating 4s ease-in-out infinite;
}

@keyframes floating {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* 特性区块 */
.features {
    background-color: var(--light-bg);
    position: relative;
    overflow: hidden;
}

.features::before,
.features::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    opacity: 0.1;
    z-index: 0;
}

.features::before {
    background: var(--primary-gradient);
    top: -150px;
    left: -150px;
}

.features::after {
    background: var(--accent-gradient);
    bottom: -150px;
    right: -150px;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 5rem;
    position: relative;
    z-index: 1;
}

.section-title {
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
}

/* 特性卡片 */
.feature-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius-lg);
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary-gradient);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card:hover::before {
    height: 10px;
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2.5rem;
    background: var(--primary-gradient);
    color: var(--light-color);
}

.feature-title {
    margin-bottom: 1rem;
}

.feature-description {
    color: #666;
}

/* 促销卡片 */
.promo-section {
    background: linear-gradient(135deg, #F6D365 0%, #FDA085 100%);
    color: var(--light-color);
    position: relative;
    overflow: hidden;
}

.promo-section::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255, 255, 255, 0.1)" fill-opacity="1" d="M0,32L48,58.7C96,85,192,139,288,138.7C384,139,480,85,576,96C672,107,768,181,864,192C960,203,1056,149,1152,138.7C1248,128,1344,160,1392,176L1440,192L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: cover;
}

.promo-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.promo-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.promo-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.promo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.promo-card:hover .promo-image img {
    transform: scale(1.1);
}

.promo-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    background: var(--primary-gradient);
    color: var(--light-color);
    border-radius: var(--border-radius-xl);
    font-size: 0.8rem;
    font-weight: 600;
}

.promo-content {
    padding: 2rem;
}

.promo-title {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.promo-desc {
    color: #666;
    margin-bottom: 1.5rem;
}

/* 邀请好友区域 */
.invite-section {
    background: linear-gradient(135deg, #7F7FD5 0%, #91EAE4 100%);
    color: var(--light-color);
    position: relative;
    overflow: hidden;
}

.invite-section::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255, 255, 255, 0.1)" fill-opacity="1" d="M0,96L48,112C96,128,192,160,288,170.7C384,181,480,171,576,149.3C672,128,768,96,864,85.3C960,75,1056,85,1152,112C1248,139,1344,181,1392,202.7L1440,224L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: cover;
}

.invite-box {
    background-color: var(--card-bg);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    box-shadow: var(--box-shadow);
    position: relative;
    z-index: 1;
}

.invite-title {
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.invite-steps {
    margin-bottom: 2rem;
}

.invite-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-gradient);
    color: var(--light-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-title {
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.invite-visual {
    text-align: center;
}

.invite-image {
    font-size: 8rem;
    margin-bottom: 2rem;
}

.invite-bonus {
    background: var(--secondary-gradient);
    color: var(--light-color);
    padding: 1.5rem;
    border-radius: var(--border-radius-md);
    text-align: center;
}

.invite-percentage {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* 排行榜区域 */
.rankings-section {
    background-color: var(--light-bg);
}

.rankings-top {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 2rem;
    margin-bottom: 4rem;
}

.top-player {
    background-color: var(--card-bg);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
}

.top-player:hover {
    transform: translateY(-10px);
}

.top-player.first {
    padding-top: 3rem;
    transform: scale(1.1);
    position: relative;
    z-index: 2;
}

.player-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--secondary-gradient);
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-color);
    font-size: 2.5rem;
    position: relative;
}

.crown {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
}

.player-rank {
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.rank-1 {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: var(--text-color);
}

.rank-2 {
    background: linear-gradient(135deg, #C0C0C0 0%, #E6E6E6 100%);
    color: var(--text-color);
}

.rank-3 {
    background: linear-gradient(135deg, #CD7F32 0%, #E6BC97 100%);
    color: var(--light-color);
}

.player-name {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.player-level {
    color: #666;
}

.ranking-list {
    background-color: var(--card-bg);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.ranking-header {
    display: grid;
    grid-template-columns: 80px 1fr 120px 100px;
    padding: 1.5rem;
    background: var(--primary-gradient);
    color: var(--light-color);
    font-weight: 600;
}

.ranking-item {
    display: grid;
    grid-template-columns: 80px 1fr 120px 100px;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.ranking-item:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.ranking-item:last-child {
    border-bottom: none;
}

.rank-value {
    font-size: 1.2rem;
    font-weight: 700;
}

.player-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mini-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--secondary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-color);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.player-value {
    font-weight: 600;
}

.trend {
    font-weight: 700;
}

.trend.up {
    color: #00c853;
}

.trend.down {
    color: #ff3d00;
}

/* 号召性动作区域 */
.cta-section {
    background: var(--accent-gradient);
    color: var(--light-color);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.cta-section::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255, 255, 255, 0.1)" fill-opacity="1" d="M0,64L48,74.7C96,85,192,107,288,133.3C384,160,480,192,576,186.7C672,181,768,139,864,149.3C960,160,1056,224,1152,240C1248,256,1344,224,1392,208L1440,192L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: cover;
    top: 0;
    left: 0;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.cta-description {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
}

/* 页脚 */
.footer {
    background: var(--dark-color);
    color: var(--light-color);
    padding: 6rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255, 255, 255, 0.05)" fill-opacity="1" d="M0,96L48,112C96,128,192,160,288,176C384,192,480,192,576,181.3C672,171,768,149,864,149.3C960,149,1056,171,1152,165.3C1248,160,1344,128,1392,112L1440,96L1440,0L1392,0C1360,0,1280,0,1200,0C1120,0,1040,0,960,0C880,0,800,0,720,0C640,0,560,0,480,0C400,0,320,0,240,0C160,0,80,0,40,0L0,0Z"></path></svg>');
    background-repeat: no-repeat;
    background-position: top;
    background-size: cover;
    top: 0;
    left: 0;
}

.footer-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-description {
    opacity: 0.7;
    margin-bottom: 1.5rem;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: 3px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-link {
    margin-bottom: 0.75rem;
}

.footer-link a {
    opacity: 0.7;
    transition: var(--transition);
}

.footer-link a:hover {
    opacity: 1;
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-gradient);
    transform: translateY(-3px);
}

.footer-bottom {
    position: relative;
    z-index: 1;
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
    opacity: 0.7;
    font-size: 0.9rem;
}

/* 邀请页面样式 */
.reward-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
}

.reward-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.reward-header {
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.reward-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.reward-subtitle {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0;
}

.reward-content {
    padding: 1.5rem;
}

.reward-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.25rem;
    gap: 1rem;
}

.reward-item:last-child {
    margin-bottom: 0;
}

.reward-badge {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-color);
    font-weight: 700;
    flex-shrink: 0;
}

.reward-info h4 {
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
}

.reward-info p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
}

.rank-table {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    background-color: var(--card-bg);
    margin-bottom: 2rem;
}

.rank-header {
    display: flex;
    background: var(--primary-gradient);
    color: var(--light-color);
    padding: 1rem;
    font-weight: 600;
}

.rank-row {
    display: flex;
    padding: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.rank-row:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.rank-row:last-child {
    border-bottom: none;
}

.rank-column {
    flex: 1;
    display: flex;
    align-items: center;
}

.rank-column.rank-small {
    flex: 0 0 80px;
}

.rank-badge {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--text-color);
}

.invite-link-box {
    background-color: var(--card-bg);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--box-shadow);
}

.invite-link-label, .invite-share-label, .invite-code-label {
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-color);
}

.invite-link-content, .invite-code-content {
    display: flex;
    gap: 1rem;
}

.invite-link-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius-md);
    font-size: 0.9rem;
    color: var(--text-color);
}

.invite-code {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius-md);
    font-size: 1rem;
    color: var(--text-color);
    background: rgba(0, 0, 0, 0.03);
    font-weight: 600;
    letter-spacing: 2px;
}

.invite-copy-btn.copied {
    background-color: #28a745;
    border-color: #28a745;
}

.invite-share {
    background-color: var(--card-bg);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--box-shadow);
}

.invite-share-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.invite-share-btn {
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius-md);
    color: var(--light-color);
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
}

.invite-share-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.invite-code-box {
    background-color: var(--card-bg);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    box-shadow: var(--box-shadow);
}

.invite-code-note {
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: #666;
}

.faq-list {
    margin-top: 2rem;
}

.faq-item {
    background-color: var(--card-bg);
    border-radius: var(--border-radius-lg);
    margin-bottom: 1rem;
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.faq-question {
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: 500;
    color: #666;
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-answer.active {
    padding: 0 1.5rem 1.25rem 1.5rem;
    max-height: 500px;
}

.your-ranking {
    background-color: var(--card-bg);
    border-radius: var(--border-radius-lg);
    padding: 1.25rem 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
    box-shadow: var(--box-shadow);
}

.your-ranking p {
    margin: 0.5rem 0;
}

.your-ranking span {
    font-weight: 600;
    color: var(--accent-color);
}

.invite-step {
    background-color: var(--card-bg);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--box-shadow);
    position: relative;
    transition: var(--transition);
    height: 100%;
}

.invite-step:hover {
    transform: translateY(-5px);
}

.step-number {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--primary-gradient);
    color: var(--light-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.step-title {
    margin: 0.5rem 0;
    font-weight: 600;
}

.step-description {
    color: #666;
    margin-bottom: 0;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .invite-link-content, .invite-code-content {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .invite-copy-btn {
        width: 100%;
    }
    
    .invite-share-buttons {
        justify-content: center;
    }
    
    .invite-share-btn {
        flex: 1;
        min-width: 120px;
        text-align: center;
    }
    
    .rank-row {
        flex-wrap: wrap;
    }
    
    .rank-column {
        flex: 100%;
        margin-bottom: 0.5rem;
    }
    
    .rank-column.rank-small {
        flex: 0 0 50px;
    }
}

@media (max-width: 576px) {
    .faq-question h3 {
        font-size: 1rem;
    }
    
    .invite-share-btn {
        width: 100%;
        min-width: auto;
    }
}