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

body, html {
    height: 100%;
    overflow-x: hidden;
}
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #fff;
    height: 100vh;
    color: #222;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.container {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 0;
    box-sizing: border-box;
    position: relative;
    background: linear-gradient(to bottom, #fff 10%, #F8C5D8 100%);
    overflow: hidden;
}

.main-content {
    width: 100%;
    max-width: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    justify-content: flex-start;
    margin-top: 0;
    padding-top: 2vh;
    padding-bottom: 0;
    box-sizing: border-box;
    position: relative;
}

/* Language Selector */
.language-selector {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    gap: 8px;
    z-index: 1000;
}
.lang-btn {
    background: none;
    border: none;
    color: #bbb;
    padding: 0 8px;
    border-radius: 0;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: color 0.2s;
    box-shadow: none;
    outline: none;
}
.lang-btn.active {
    color: #222;
    font-weight: 700;
    background: none;
    border: none;
}
.lang-btn:hover {
    color: #888;
    background: none;
}

/* Hero Section */
.hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    text-align: center;
    position: relative;
    padding: 40px 0;
}

/* App Logo */
.logo {
    margin-top: 5vh;
    margin-bottom: 5vw;
    display: flex;
    justify-content: center;
}
.logo img {
    width: 30vw;
    /*min-width: 48px;*/
    /* max-width: 80px; */
    height: auto;
    /* border-radius: 2vw;
    box-shadow: 0 0.5vw 2vw rgba(0,0,0,0.08);
    background: #fff; */
}

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

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Content */
.content {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.4);
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.headline {
    font-size: clamp(1.5rem, 4vw, 2.4rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 1.5vh;
    line-height: 1.2;
    color: #222;
    z-index: 2;
    position: relative;
}

.subtext {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: #555;
    text-align: center;
    margin-bottom: 4vh;
    line-height: 1.5;
    font-weight: 400;
    z-index: 2;
    position: relative;
}

.character-image {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 1;
    background: none;
    align-items: flex-start;
    height: 70vh;
    overflow: hidden;
}
.character-image img {
    width: 100%;
    height: 100%;
    border-radius: 0;
    box-shadow: none;
    background: none;
    display: block;
    object-fit: cover;
    object-position: center top;
}

/* 悬浮按钮区 */
.cta-float-area {
    position: absolute;
    left: 50%;
    bottom: 3vh;
    transform: translateX(-50%);
    width: 80vw;
    max-width: 340px;
    min-width: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 3;
    pointer-events: none;
}
.cta-button {
    background: #000;
    color: #fff;
    border: none;
    width: 100%;
    height: 60px;
    font-size: 1.25rem;
    border-radius: 10px; /* from 600px */
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 0.5vw 2vw rgba(0,0,0,0.10);
    margin-bottom: 1.5vh;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 1px;
    pointer-events: auto;
}
.cta-button:hover {
    background: #333;
    transform: translateY(-0.3em);
    box-shadow: 0 1vw 2vw rgba(0,0,0,0.13);
}

.cta-button:active {
    transform: translateY(0);
}

/* Social Links */
.social-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}

.footer-social {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 32px;
    align-items: center;
    padding: 32px 0 24px 0;
    position: fixed;
    left: 0;
    bottom: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.85) 60%, rgba(0,0,0,0));
    z-index: 10;
}
.social-float {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 50px;
    margin-bottom: 0;
    pointer-events: auto;
}
.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: none;
    border-radius: 1vw;
    transition: all 0.3s;
    border: none;
    box-shadow: none;
    overflow: hidden;
}
.social-btn:hover {
    background: #f7f7f7;
    transform: scale(1.08);
}
.social-btn img {
    width: 100%;
    height: 100%;
    filter: none;
    border-radius: 0;
    object-fit: contain;
}

/* Responsive Design */
@media (max-width: 600px) {
    .headline {
        /* font-size: 6vw; */
        font-family: 'emoji';
    }
    .subtext {
        font-size: 3vw;
    }
    .character-image img {
        height: 100%;
        object-fit: cover;
        object-position: center top;
    }
    .cta-button {
        width: 100%;
        max-width: 96vw;
        font-size: 5vw;
        height: 14vw;
        min-height: 48px;
        border-radius: 10px;
    }

    .social-float {
        gap: 50px;
    }

    .social-btn img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
}

/* Animation for content appearance */
.content > * {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.content > *:nth-child(1) { animation-delay: 0.2s; }
.content > *:nth-child(2) { animation-delay: 0.4s; }
.content > *:nth-child(3) { animation-delay: 0.6s; }
.content > *:nth-child(4) { animation-delay: 0.8s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}
