/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #000;
    overflow: hidden;
    height: 100vh;
    width: 100vw;
}

/* TikTok Header */
.tiktok-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1rem;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
}

.tiktok-logo {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.5px;
}

/* Video Container */
.video-container {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}

.main-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* CTA Overlay */
.cta-overlay {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 1.5rem;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 50;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #ff0050 0%, #ff4d8f 100%);
    color: #fff;
    padding: 1rem 3rem;
    border-radius: 50px;
    font-size: 1.125rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(255, 0, 80, 0.4);
    transition: all 0.3s ease;
    animation: pulse 2s ease-in-out infinite;
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 32px rgba(255, 0, 80, 0.6);
}

.cta-button:active {
    transform: scale(0.98);
}

.cta-text-en,
.cta-text-cn {
    display: inline;
}

/* Pulse Animation */
@keyframes pulse {
    0%, 100% {
        box-shadow: 0 8px 24px rgba(255, 0, 80, 0.4);
    }
    50% {
        box-shadow: 0 8px 32px rgba(255, 0, 80, 0.7);
    }
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .tiktok-logo {
        font-size: 1.25rem;
    }

    .cta-overlay {
        padding: 1.5rem 1rem;
    }

    .cta-button {
        padding: 0.875rem 2.5rem;
        font-size: 1rem;
    }
}

/* Ensure video plays nicely on mobile */
@media (max-aspect-ratio: 9/16) {
    .main-video {
        width: 100%;
        height: auto;
    }
}

@media (min-aspect-ratio: 9/16) {
    .main-video {
        width: auto;
        height: 100%;
    }
}
