@font-face {
    font-family: 'Chinese';
    src: url('Fronts/Chinese.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'EnglishBold';
    src: url('Fronts/English_and_Number_BOLD.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'EnglishRegular';
    src: url('Fronts/English_and_Number_REGULAR.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

.emoji {
    font-family: 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', 'Android Emoji', sans-serif !important;
}

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

:root {
    --primary-color: #6c5ce7;
    --secondary-color: #a29bfe;
    --accent-color: #00cec9;
    --dark-bg: #0d0d0d;
    --darker-bg: #080808;
    --card-bg: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #b2b2b2;
    --gradient-1: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
    --gradient-2: linear-gradient(135deg, #00cec9 0%, #6c5ce7 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'EnglishRegular', 'Chinese', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(20px);
    padding: 15px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-icon {
    font-size: 2rem;
}

.logo-text {
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-2);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover::after {
    width: 100%;
}

.join-btn {
    background: var(--gradient-1);
    padding: 10px 24px;
    border-radius: 50px;
    color: white !important;
}

.join-btn::after {
    display: none;
}

.join-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(108, 92, 231, 0.4);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a0a2e 50%, #0d0d0d 100%);
}

.stars-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.star {
    position: absolute;
    width: 3px;
    height: 3px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 10px white, 0 0 20px rgba(255, 255, 255, 0.5);
    animation: twinkle var(--duration, 3s) ease-in-out infinite;
}

.star:nth-child(1) { top: 10%; left: 15%; --duration: 2s; animation-delay: 0s; }
.star:nth-child(2) { top: 20%; left: 85%; --duration: 3.5s; animation-delay: 0.5s; }
.star:nth-child(3) { top: 35%; left: 25%; --duration: 2.5s; animation-delay: 1s; }
.star:nth-child(4) { top: 45%; left: 70%; --duration: 4s; animation-delay: 1.5s; }
.star:nth-child(5) { top: 60%; left: 10%; --duration: 3s; animation-delay: 0.3s; }
.star:nth-child(6) { top: 75%; left: 80%; --duration: 2.8s; animation-delay: 0.8s; }
.star:nth-child(7) { top: 85%; left: 35%; --duration: 3.2s; animation-delay: 1.2s; }
.star:nth-child(8) { top: 15%; left: 55%; --duration: 2.2s; animation-delay: 0.2s; }
.star:nth-child(9) { top: 40%; left: 45%; --duration: 3.8s; animation-delay: 1.8s; }
.star:nth-child(10) { top: 65%; left: 90%; --duration: 2.6s; animation-delay: 0.6s; }
.star:nth-child(11) { top: 30%; left: 5%; --duration: 3.4s; animation-delay: 1.4s; }
.star:nth-child(12) { top: 50%; left: 60%; --duration: 2.4s; animation-delay: 0.4s; }
.star:nth-child(13) { top: 80%; left: 50%; --duration: 3.6s; animation-delay: 1.6s; }
.star:nth-child(14) { top: 25%; left: 40%; --duration: 2.7s; animation-delay: 0.9s; }
.star:nth-child(15) { top: 55%; left: 20%; --duration: 3.3s; animation-delay: 1.1s; }
.star:nth-child(16) { top: 70%; left: 65%; --duration: 2.9s; animation-delay: 0.7s; }
.star:nth-child(17) { top: 5%; left: 75%; --duration: 3.7s; animation-delay: 1.7s; }
.star:nth-child(18) { top: 90%; left: 15%; --duration: 2.3s; animation-delay: 0.1s; }
.star:nth-child(19) { top: 38%; left: 95%; --duration: 3.1s; animation-delay: 1.3s; }
.star:nth-child(20) { top: 72%; left: 5%; --duration: 2.1s; animation-delay: 1.9s; }

@keyframes twinkle {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.5);
        box-shadow: 0 0 20px white, 0 0 40px rgba(255, 255, 255, 0.8);
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(108, 92, 231, 0.15) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(100, 219, 255, 0.08) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-content {
    text-align: center;
    z-index: 1;
    padding: 0 20px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(90deg, #6c5ce7, #00cec9, #a29bfe, #6c5ce7);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    animation: gradient-shift 5s ease infinite;
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: var(--gradient-1);
    color: white;
    box-shadow: 0 10px 30px rgba(108, 92, 231, 0.3);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 20px 50px rgba(108, 92, 231, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--secondary-color);
}

.btn-secondary:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.btn-large {
    padding: 20px 60px;
    font-size: 1.3rem;
}

.btn-download {
    background: linear-gradient(135deg, #00c853 0%, #00e676 50%, #69f0ae 100%);
    color: white;
    box-shadow: 0 10px 30px rgba(0, 200, 83, 0.4);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-download::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.btn-download:hover::before {
    left: 100%;
}

.btn-download:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 20px 50px rgba(0, 200, 83, 0.6);
}

.scroll-indicator {
    margin-top: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border-right: 3px solid var(--accent-color);
    border-bottom: 3px solid var(--accent-color);
    transform: rotate(45deg);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--gradient-1);
    border-radius: 50%;
    opacity: 0.4;
    animation: float 15s infinite;
    box-shadow: 0 0 10px rgba(108, 92, 231, 0.5);
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { left: 30%; animation-delay: 2s; }
.particle:nth-child(3) { left: 50%; animation-delay: 4s; }
.particle:nth-child(4) { left: 70%; animation-delay: 6s; }
.particle:nth-child(5) { left: 90%; animation-delay: 8s; }

.particle-2 {
    width: 6px;
    height: 6px;
    background: linear-gradient(135deg, #00cec9 0%, #6c5ce7 100%);
    box-shadow: 0 0 8px rgba(0, 206, 201, 0.6);
    animation: float 12s infinite;
    animation-delay: 1s;
}

.particle-2:nth-child(6) { left: 15%; animation-delay: 3s; }
.particle-2:nth-child(7) { left: 45%; animation-delay: 5s; }
.particle-2:nth-child(8) { left: 75%; animation-delay: 7s; }

.particle-3 {
    width: 4px;
    height: 4px;
    background: #fff;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
    animation: float 18s infinite;
}

.particle-3:nth-child(9) { left: 25%; animation-delay: 1.5s; }
.particle-3:nth-child(10) { left: 55%; animation-delay: 4.5s; }
.particle-3:nth-child(11) { left: 85%; animation-delay: 7.5s; }

.particle-4 {
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ffd93d 100%);
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(255, 107, 107, 0.5);
    animation: float-alt 14s infinite;
}

.particle-4:nth-child(12) { left: 20%; animation-delay: 2.5s; }
.particle-4:nth-child(13) { left: 60%; animation-delay: 5.5s; }

.particle-5 {
    width: 5px;
    height: 5px;
    background: linear-gradient(135deg, #6c5ce7 0%, #00cec9 100%);
    box-shadow: 0 0 10px rgba(108, 92, 231, 0.7);
    animation: float 16s infinite;
    animation-delay: 3.5s;
}

.particle-5:nth-child(14) { left: 35%; animation-delay: 3.5s; }
.particle-5:nth-child(15) { left: 65%; animation-delay: 6.5s; }

@keyframes float {
    0%, 100% {
        transform: translateY(100vh) rotate(0deg) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 0.5;
    }
    50% {
        transform: translateY(0) rotate(360deg) scale(1.2);
        opacity: 0.6;
    }
    90% {
        opacity: 0.4;
    }
    100% {
        transform: translateY(-100vh) rotate(720deg) scale(1);
        opacity: 0;
    }
}

@keyframes float-alt {
    0%, 100% {
        transform: translateY(-100vh) rotate(0deg) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 0.5;
    }
    50% {
        transform: translateY(0) rotate(-360deg) scale(1.3);
        opacity: 0.6;
    }
    90% {
        opacity: 0.4;
    }
    100% {
        transform: translateY(100vh) rotate(-720deg) scale(1);
        opacity: 0;
    }
}

.features {
    padding: 120px 0;
    background: var(--dark-bg);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(108, 92, 231, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    transform: rotate(0deg);
}

.feature-card:hover::before {
    opacity: 1;
    animation: card-glow 3s ease-in-out infinite;
}

.feature-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: var(--primary-color);
    box-shadow: 0 30px 60px rgba(108, 92, 231, 0.3);
}

@keyframes card-glow {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(180deg); }
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    display: inline-block;
    transition: all 0.4s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.2) rotate(10deg);
    animation: icon-bounce 0.6s ease;
}

@keyframes icon-bounce {
    0%, 100% { transform: scale(1.2) rotate(10deg); }
    50% { transform: scale(1.3) rotate(-5deg); }
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.about {
    padding: 120px 0;
    background: var(--darker-bg);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text .section-title {
    text-align: left;
    margin-bottom: 30px;
}

.about-description {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.about-image {
    position: relative;
    display: inline-block;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(135deg, #6c5ce7, #00cec9, #a29bfe, #6c5ce7);
    background-size: 400% 400%;
    border-radius: 30px;
    z-index: -1;
    animation: border-glow 3s ease infinite;
    filter: blur(15px);
    opacity: 0.5;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transition: all 0.4s ease;
    position: relative;
}

.about-image:hover img {
    transform: scale(1.05);
    box-shadow: 0 30px 80px rgba(108, 92, 231, 0.3);
}

@keyframes border-glow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.join {
    padding: 120px 0;
    background: var(--dark-bg);
}

.join-card {
    background: var(--card-bg);
    padding: 80px 40px;
    border-radius: 30px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.join-description {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 50px;
}

.join-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 20px;
    position: relative;
    transition: all 0.4s ease;
    box-shadow: 0 0 20px rgba(108, 92, 231, 0.3);
}

.step-number::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(135deg, #6c5ce7, #00cec9, #a29bfe, #6c5ce7);
    background-size: 400% 400%;
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: border-glow 3s ease infinite;
    filter: blur(10px);
}

.step:hover .step-number {
    transform: scale(1.1) rotate(360deg);
    box-shadow: 0 0 40px rgba(108, 92, 231, 0.6);
}

.step:hover .step-number::before {
    opacity: 1;
}

.step h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.step p {
    color: var(--text-secondary);
}

.footer {
    background: var(--darker-bg);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-info p {
    color: var(--text-secondary);
    margin-top: 15px;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links a,
.footer-contact p {
    color: var(--text-secondary);
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
}

@media (max-width: 968px) {
    .nav-menu {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

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

    .about-text .section-title {
        text-align: center;
    }

    .join-steps {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .stats {
        flex-direction: column;
        gap: 20px;
    }
}
