/* ==================== RESET & BASE ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette */
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --accent-blue: #00d4ff;
    --accent-purple: #a855f7;
    --accent-pink: #ec4899;
    --dark-bg: #0a0e27;
    --dark-overlay: rgba(10, 14, 39, 0.85);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);

    /* Typography */
    --font-display: 'Orbitron', sans-serif;
    --font-body: 'Rajdhani', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 5rem;
}

body {
    font-family: var(--font-body);
    color: #ffffff;
    overflow-x: hidden;
    background: var(--dark-bg);
    line-height: 1.6;
}

/* ==================== VIDEO BACKGROUND ==================== */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

#bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-overlay);
    background: linear-gradient(180deg,
            rgba(10, 14, 39, 0.7) 0%,
            rgba(10, 14, 39, 0.85) 50%,
            rgba(10, 14, 39, 0.95) 100%);
}

/* ==================== CONTENT WRAPPER ==================== */
.content-wrapper {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md);
    z-index: 1;
}

.hero-section {
    text-align: center;
    max-width: 1200px;
    width: 100%;
    animation: fadeInUp 1s ease-out;
}

/* ==================== BRAND SECTION ==================== */
.brand-container {
    margin-bottom: var(--spacing-lg);
}

.brand-title {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(2.5rem, 8vw, 6rem);
    line-height: 1.1;
    margin-bottom: var(--spacing-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.chinese-text {
    display: block;
    background: linear-gradient(135deg, #00d4ff 0%, #a855f7 50%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
    background-size: 200% 200%;
    filter: drop-shadow(0 0 30px rgba(0, 212, 255, 0.5));
}

.english-text {
    display: block;
    color: #ffffff;
    font-size: clamp(1.5rem, 4vw, 3rem);
    letter-spacing: 0.15em;
    text-shadow:
        0 0 10px rgba(255, 255, 255, 0.5),
        0 0 20px rgba(0, 212, 255, 0.3),
        0 0 30px rgba(168, 85, 247, 0.2);
}

.tagline {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2vw, 1.5rem);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.1em;
    margin-top: var(--spacing-sm);
}

.tagline-sub {
    font-family: var(--font-body);
    font-size: clamp(0.875rem, 1.5vw, 1.25rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-top: var(--spacing-xs);
}

.description {
    font-family: var(--font-body);
    font-size: clamp(0.875rem, 1.5vw, 1.125rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    max-width: 800px;
    margin: var(--spacing-md) auto 0;
}

.description-sub {
    font-family: var(--font-body);
    font-size: clamp(0.75rem, 1.25vw, 1rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
    max-width: 800px;
    margin: var(--spacing-xs) auto 0;
    font-style: italic;
}


/* ==================== DISCORD BUTTON ==================== */
.cta-container {
    margin-bottom: var(--spacing-lg);
}

.discord-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 3rem;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    text-decoration: none;
    color: #ffffff;
    background: linear-gradient(135deg, #5865F2 0%, #7289DA 100%);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    box-shadow:
        0 10px 40px rgba(88, 101, 242, 0.4),
        0 0 0 0 rgba(88, 101, 242, 0.5);
    animation: pulse 2s ease-in-out infinite;
}

.discord-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.discord-button:hover::before {
    left: 100%;
}

.discord-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow:
        0 15px 50px rgba(88, 101, 242, 0.6),
        0 0 0 8px rgba(88, 101, 242, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.discord-button:active {
    transform: translateY(-2px) scale(1.02);
}

.discord-icon {
    width: 28px;
    height: 28px;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
}

.button-text {
    position: relative;
    z-index: 1;
}

.button-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    transition: all 0.3s ease;
    border-radius: 50px;
    pointer-events: none;
}

.discord-button:hover .button-glow {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 1;
}

/* ==================== FEATURES SECTION ==================== */
.features-container {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    margin-top: var(--spacing-xl);
}

.feature-item {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: var(--spacing-md);
    min-width: 200px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.feature-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(0, 212, 255, 0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.5));
}

.feature-text {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ==================== PARTICLES ==================== */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes pulse {

    0%,
    100% {
        box-shadow:
            0 10px 40px rgba(88, 101, 242, 0.4),
            0 0 0 0 rgba(88, 101, 242, 0.5);
    }

    50% {
        box-shadow:
            0 10px 40px rgba(88, 101, 242, 0.4),
            0 0 0 15px rgba(88, 101, 242, 0);
    }
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 768px) {
    .content-wrapper {
        padding: var(--spacing-sm);
    }

    .brand-title {
        font-size: clamp(2rem, 10vw, 4rem);
    }

    .discord-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .features-container {
        gap: var(--spacing-sm);
    }

    .feature-item {
        min-width: 150px;
        padding: var(--spacing-sm);
    }

    .feature-icon {
        font-size: 2rem;
    }

    .feature-text {
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .discord-button {
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem 1.5rem;
    }

    .features-container {
        flex-direction: column;
        align-items: center;
    }

    .feature-item {
        width: 100%;
        max-width: 300px;
    }
}

/* ==================== ACCESSIBILITY ==================== */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for keyboard navigation */
.discord-button:focus-visible {
    outline: 3px solid var(--accent-blue);
    outline-offset: 5px;
}