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

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #f5576c 75%, #4facfe 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* 背景动画 - 优化性能 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    z-index: -1;
    will-change: transform;
}

/* 尊重用户的动画偏好 */
@media (prefers-reduced-motion: reduce) {
    body {
        animation: none;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    }
    
    .emoji-item, .category-btn, .expand-btn, .toast-notification {
        transition: none !important;
        animation: none !important;
    }
    
    .spinner {
        animation: none !important;
        border: 4px solid #667eea;
        border-radius: 50%;
    }
    
    .hero::before, .logo h1::after {
        animation: none !important;
    }
}

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

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

a {
    text-decoration: none;
    color: #333;
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
}

/* Header Styles */
header {
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}



header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
}

.logo a {
    text-decoration: none;
    color: inherit;
    display: inline-block;
    transition: transform 0.2s ease;
}

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

.logo h1 {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f5576c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
    position: relative;
    display: inline-block;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin: 0;
}

.logo h1::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #f5576c, transparent);
    border-radius: 3px;
    animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.7; transform: scaleX(1); }
    50% { opacity: 1; transform: scaleX(1.1); }
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 25px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: #2c3e50;
    text-decoration: none;
    display: inline-block;
    font-size: 15px;
    letter-spacing: 0.5px;
}

nav ul li a:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.2);
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(102, 126, 234, 0.3);
}

nav ul li a.active {
    background: rgba(255, 255, 255, 0.9);
    color: #2c3e50;
    border-color: rgba(102, 126, 234, 0.6);
    box-shadow: 0 6px 15px rgba(102, 126, 234, 0.3);
    transform: translateY(-1px);
    font-weight: 700;
}

/* Hero Section Styles */
.hero {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 25%, rgba(240, 147, 251, 0.9) 50%, rgba(245, 87, 108, 0.9) 75%, rgba(79, 172, 254, 0.9) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: #fff;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-radius: 0 0 30px 30px;
    margin-bottom: 20px;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.05) 40%, rgba(255,255,255,0) 70%);
    animation: rotate 12s linear infinite;
    will-change: transform;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.1), transparent);
    pointer-events: none;
}

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

.hero h2 {
    font-size: 42px;
    margin-bottom: 15px;
    font-weight: 800;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.search-box {
    display: flex;
    max-width: 650px;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border-radius: 35px;
    position: relative;
    z-index: 5;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    overflow: hidden;
}

.search-box::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.8s ease;
}

.search-box:hover::before {
    left: 100%;
}

.search-box input {
    flex: 1;
    padding: 18px 30px;
    border: none;
    border-radius: 35px 0 0 35px;
    font-size: 16px;
    outline: none;
    transition: all 0.4s ease;
    background: transparent;
    color: #2c3e50;
}

.search-box input::placeholder {
    color: rgba(44, 62, 80, 0.6);
}

.search-box input:focus {
    box-shadow: inset 0 0 0 2px rgba(102, 126, 234, 0.3);
    background: rgba(255, 255, 255, 0.8);
}

.search-box button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 18px 35px;
    border-radius: 0 35px 35px 0;
    font-size: 16px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.search-box button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.search-box button:hover {
    transform: translateX(3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.search-box button:hover::before {
    opacity: 1;
}

.search-box button span {
    position: relative;
    z-index: 1;
}

/* Emoji Categories Styles */
.emoji-categories {
    padding: 50px 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    margin: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.emoji-categories h3 {
    font-size: 28px;
    margin-bottom: 30px;
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.category-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.category-btn {
    padding: 12px 28px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 2px solid rgba(102, 126, 234, 0.2);
    position: relative;
    overflow: hidden;
    z-index: 1;
    color: #2c3e50;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.category-btn:focus,
.category-btn:focus-visible {
    outline: 2px solid #ff6b6b;
    outline-offset: 2px;
}

.category-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 1.2s ease, height 1.2s ease;
    z-index: -1;
}

.category-btn::after {
    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 1.0s ease;
}

.category-btn:hover::after {
    left: 100%;
}

.category-btn:hover::before {
    width: 300px;
    height: 300px;
}

.category-btn:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.3);
    transform: translateY(-3px) scale(1.05);
}

.category-btn.active {
    color: #fff;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.3);
    transform: translateY(-3px) scale(1.05);
}

.category-btn.active::before {
    width: 300px;
    height: 300px;
}

/* Emoji Grid Styles */
.emoji-grid {
    padding: 40px 0;
}

.emoji-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.emoji-item {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    position: relative;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(20px);
}

/* 焦点样式 */
.emoji-item:focus {
    outline: 3px solid #ff6b6b;
    outline-offset: 2px;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
}

.emoji-item:focus-visible {
    outline: 3px solid #ff6b6b;
    outline-offset: 2px;
}

/* 按钮样式 */
.btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn:focus,
.btn:focus-visible {
    outline: 3px solid #ff6b6b;
    outline-offset: 2px;
}

.emoji-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(245, 87, 108, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.8s ease;
    pointer-events: none;
    border-radius: 18px;
}

.emoji-item:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 25px 50px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.3);
}

.emoji-item:hover::before {
    opacity: 1;
}

.emoji-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(255,255,255,0) 70%, rgba(102, 126, 234, 0.08) 100%);
    opacity: 0;
    transition: opacity 0.8s ease;
    pointer-events: none;
    border-radius: 18px;
}

.emoji-item:hover::after {
    opacity: 1;
}

.emoji-img {
    width: 100%;
    height: 150px;
    object-fit: contain;
    background-color: #f9f9f9;
    padding: 20px;
    transition: all 0.3s ease;
}

.emoji-item:hover .emoji-img {
    transform: scale(1.05);
    background-color: #f5f5f5;
}

.emoji-info {
    padding: 18px;
    position: relative;
    z-index: 2;
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 15%);
}

.emoji-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #333;
    transition: all 0.3s ease;
}

.emoji-item:hover .emoji-name {
    color: #fe2c55;
}

.emoji-category {
    font-size: 12px;
    color: #777;
    display: inline-block;
    padding: 3px 10px;
    background-color: rgba(0,0,0,0.03);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.emoji-item:hover .emoji-category {
    background-color: rgba(254, 44, 85, 0.08);
    color: #fe2c55;
}

.load-more, .download-all {
    text-align: center;
    margin-bottom: 20px;
}

#load-more-btn {
    padding: 14px 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
    border: none;
}

#load-more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

#load-more-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

#load-more-btn:hover::before {
    opacity: 1;
}

.download-all {
    margin-top: 40px;
}

.download-all-btn {
    display: inline-block;
    padding: 18px 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f5576c 100%);
    color: #fff;
    border-radius: 30px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-decoration: none;
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.download-all-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f5576c 0%, #764ba2 50%, #667eea 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}

.download-all-btn::after {
    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.8s ease;
}

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

.download-all-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 25px 60px rgba(102, 126, 234, 0.4);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
}

.download-all-btn:hover::before {
    opacity: 1;
}

/* About Us Styles */
.about {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    text-align: center;
    position: relative;
    overflow: hidden;
    margin: 20px;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 20%, rgba(102, 126, 234, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.about::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 80%, rgba(245, 87, 108, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.about h2 {
    font-size: 36px;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.about h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f5576c);
    border-radius: 4px;
    animation: shimmer 2s ease-in-out infinite;
}

.about h3 {
    font-size: 24px;
    margin: 30px 0 20px;
    background: linear-gradient(135deg, #764ba2 0%, #f5576c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

.about h4 {
    font-size: 20px;
    margin: 25px 0 15px;
    color: #667eea;
    font-weight: 600;
}

.about h5 {
    font-size: 18px;
    margin: 20px 0 15px;
    color: #764ba2;
    font-weight: 600;
}

.about p {
    max-width: 900px;
    margin: 0 auto 25px;
    font-size: 16px;
    color: #2c3e50;
    line-height: 1.8;
    text-align: left;
}

.about strong {
    background: linear-gradient(135deg, #667eea 0%, #f5576c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* Features Section Styles */
.features {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
    margin: 20px;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.features::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -30%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.features::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -30%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(245, 87, 108, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.features h2 {
    font-size: 36px;
    margin-bottom: 50px;
    text-align: center;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.features h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f5576c);
    border-radius: 4px;
    animation: shimmer 2s ease-in-out infinite;
}

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

.feature-item {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 35px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(245, 87, 108, 0.08) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
    border-radius: 18px;
}

.feature-item::after {
    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.8s ease;
}

.feature-item:hover::after {
    left: 100%;
}

.feature-item:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 60px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.3);
}

.feature-item:hover::before {
    opacity: 1;
}

.feature-item i {
    font-size: 42px;
    background: linear-gradient(135deg, #667eea 0%, #f5576c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 25px;
    display: inline-block;
    transition: all 0.4s ease;
}

.feature-item:hover i {
    transform: scale(1.15) rotate(8deg);
}

.feature-item h3 {
    font-size: 22px;
    margin-bottom: 18px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

.feature-item p {
    color: #2c3e50;
    line-height: 1.8;
    font-size: 15px;
}

/* How to Use Section Styles */
.how-to-use {
    padding: 80px 0;
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

.how-to-use::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.05), transparent);
}

.how-to-use h2 {
    font-size: 32px;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    color: #333;
}

.how-to-use h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #fe2c55, #7928ca);
    border-radius: 3px;
}

.steps {
    display: flex;
    justify-content: space-between;
    margin: 50px 0;
    flex-wrap: wrap;
}

.step {
    flex: 1;
    min-width: 250px;
    text-align: center;
    padding: 0 20px;
    position: relative;
    margin-bottom: 30px;
}

.step::after {
    content: '';
    position: absolute;
    top: 30px;
    right: -50px;
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, #fe2c55, transparent);
    display: none;
}

.step:last-child::after {
    display: none;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #fe2c55 0%, #7928ca 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 20px;
    box-shadow: 0 10px 20px rgba(254, 44, 85, 0.2);
    position: relative;
    z-index: 1;
}

.step-number::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(135deg, #fe2c55 0%, #7928ca 100%);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.3;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.2); opacity: 0.1; }
    100% { transform: scale(1); opacity: 0.3; }
}

.step h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

.step p {
    color: #666;
    line-height: 1.7;
}

.download-pack-cta {
    background-color: #f9f9f9;
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    margin-top: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.download-pack-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(254, 44, 85, 0.03) 0%, rgba(121, 40, 202, 0.03) 100%);
    pointer-events: none;
}

.download-pack-cta h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #333;
}

.download-pack-cta p {
    color: #666;
    margin-bottom: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* FAQ Section Styles */
.faq {
    padding: 80px 0;
    background-color: #f9f9f9;
    position: relative;
    overflow: hidden;
}

.faq::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.05), transparent);
}

.faq h2 {
    font-size: 32px;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    color: #333;
}

.faq h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #fe2c55, #7928ca);
    border-radius: 3px;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: #fff;
    border-radius: 12px;
    padding: 25px 30px;
    margin-bottom: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.faq-item h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
    position: relative;
    padding-left: 25px;
}

.faq-item h3::before {
    content: 'Q:';
    position: absolute;
    left: 0;
    top: 0;
    color: #fe2c55;
    font-weight: 700;
}

.faq-item p {
    color: #666;
    line-height: 1.7;
    position: relative;
    padding-left: 25px;
}

.faq-item p::before {
    content: 'A:';
    position: absolute;
    left: 0;
    top: 0;
    color: #7928ca;
    font-weight: 700;
}

/* Contact Section Styles */
.contact {
    padding: 80px 0;
    background-color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.05), transparent);
}

.contact h2 {
    font-size: 32px;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
    color: #333;
}

.contact h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #fe2c55, #7928ca);
    border-radius: 3px;
}

.contact p {
    max-width: 600px;
    margin: 0 auto 20px;
    font-size: 16px;
    color: #555;
    line-height: 1.8;
}

.contact a {
    color: #fe2c55;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact a:hover {
    color: #7928ca;
    text-decoration: underline;
}

.social-contact {
    margin-top: 40px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
}

.social-icons a {
    width: 50px;
    height: 50px;
    background-color: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 20px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.social-icons a:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    color: #fff;
    background: linear-gradient(135deg, #fe2c55 0%, #7928ca 100%);
}

/* Footer Styles */
footer {
    background-color: #222;
    color: #fff;
    padding: 60px 0 30px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #fe2c55, #7928ca);
}

footer::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(254, 44, 85, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

footer .container {
    position: relative;
    z-index: 2;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 40px;
}

.footer-logo {
    flex: 0 0 300px;
    margin-bottom: 30px;
}

.footer-logo h2 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #fff;
    position: relative;
    display: inline-block;
}

.footer-logo h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #fe2c55, transparent);
    border-radius: 3px;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    flex: 1;
    justify-content: flex-end;
}

.footer-column {
    flex: 0 0 auto;
    margin-left: 60px;
    margin-bottom: 30px;
}

.footer-column:first-child {
    margin-left: 0;
}

.footer-column h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #fff;
    position: relative;
    display: inline-block;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #fe2c55, transparent);
    border-radius: 2px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 15px;
}

.footer-column ul li a::before {
    content: '→';
    position: absolute;
    left: 0;
    top: 0;
    color: #fe2c55;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.footer-column ul li a:hover {
    color: #fff;
    padding-left: 20px;
}

.footer-column ul li a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* Coming Soon Styles */
.coming-soon {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    font-style: italic;
    position: relative;
    padding-left: 15px;
    cursor: default;
}

.coming-soon::before {
    content: '⏳';
    position: absolute;
    left: 0;
    top: 0;
    color: rgba(255, 255, 255, 0.6);
    font-style: normal;
}

.coming-soon:hover {
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-bottom p {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    align-items: center;
}

.social-links a {
    color: #fff;
    margin-left: 20px;
    font-size: 18px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    opacity: 0.8;
    display: inline-block;
}

.social-links a:hover {
    color: #fe2c55;
    opacity: 1;
    transform: translateY(-3px);
}

/* Modal Styles */
.emoji-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    overflow: auto;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.emoji-modal.show {
    animation: modalBackdropFadeIn 0.3s ease;
}

@keyframes modalBackdropFadeIn {
    from { 
        background-color: rgba(0, 0, 0, 0);
        backdrop-filter: blur(0px);
        -webkit-backdrop-filter: blur(0px);
    }
    to { 
        background-color: rgba(0, 0, 0, 0.7);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
    }
}

.modal-content {
    background-color: #fff;
    margin: 50px auto;
    max-width: 800px;
    width: 90%;
    border-radius: 20px;
    overflow: hidden;
    animation: modalFadeIn 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-50px); }
    to { opacity: 1; transform: translateY(0); }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    color: #777;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: #fe2c55;
}

.emoji-details {
    display: flex;
    flex-direction: column;
    padding: 30px;
    position: relative; /* 添加相对定位 */
    z-index: 1; /* 确保z-index正确 */
}

.emoji-preview {
    text-align: center;
    margin-bottom: 20px;
}

.emoji-preview img {
    max-width: 220px;
    max-height: 220px;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
    transition: all 0.3s ease;
    animation: float 3s ease-in-out infinite;
}

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

.emoji-info h3 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #333;
    position: relative;
    display: inline-block;
}

.emoji-info h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #fe2c55, transparent);
    border-radius: 3px;
}

.emoji-info p {
    color: #555;
    margin-bottom: 25px;
    line-height: 1.7;
    font-size: 16px;
}

.emoji-actions {
    display: flex;
    gap: 10px;
}

.emoji-actions button {
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.emoji-actions button::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: rgba(255, 255, 255, 0.1);
    transition: height 0.3s ease;
    z-index: -1;
}

.emoji-actions button:hover::after {
    height: 50%;
}

#copy-emoji-btn {
    background: linear-gradient(135deg, #fe2c55 0%, #e6264e 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(254, 44, 85, 0.3);
}

#copy-emoji-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(254, 44, 85, 0.4);
}

#download-emoji-btn {
    background: linear-gradient(135deg, #f8f8f8 0%, #f0f0f0 100%);
    color: #333;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

#download-emoji-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    color: #fe2c55;
    border-color: rgba(254, 44, 85, 0.2);
}

/* 响应式设计 */
@media (min-width: 768px) {
    .emoji-details {
        flex-direction: row;
    }
    
    .emoji-preview {
        flex: 1;
        margin-right: 30px;
        margin-bottom: 0;
    }
    
    .emoji-info {
        flex: 1;
    }
    
    .step::after {
        display: block;
    }
    
    /* 确保桌面版导航栏正常显示 */
    .mobile-menu-toggle {
        display: none !important;
    }
    
    .nav-menu {
        position: static !important;
        width: auto !important;
        height: auto !important;
        background: transparent !important;
        backdrop-filter: none !important;
        border: none !important;
        transition: none !important;
        z-index: auto !important;
        padding-top: 0 !important;
        box-shadow: none !important;
        right: auto !important;
    }
    
    .nav-menu ul {
        flex-direction: row !important;
        justify-content: flex-end !important;
        align-items: center !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .nav-menu ul li {
        margin: 0 !important;
        margin-left: 20px !important;
        width: auto !important;
    }
    
    .nav-menu ul li a {
        display: inline-block !important;
        padding: 10px 20px !important;
        text-align: left !important;
        border-radius: 25px !important;
        background: rgba(255, 255, 255, 0.1) !important;
        margin-bottom: 0 !important;
        transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
    }
}

@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-logo {
        flex: 0 0 100%;
        text-align: center;
        margin-bottom: 40px;
    }
    
    .footer-logo h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links {
        justify-content: center;
        width: 100%;
    }
    
    .footer-column {
        flex: 0 0 auto;
        margin: 0 30px 30px;
        text-align: center;
    }
    
    .footer-column h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-column ul li a {
        padding-left: 0;
    }
    
    .footer-column ul li a::before {
        display: none;
    }
    
    .footer-column ul li a:hover {
        padding-left: 0;
    }
}

/* 汉堡菜单样式 - 改进移动端体验 */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    padding: 15px;
    z-index: 1001;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    border: 2px solid rgba(102, 126, 234, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    min-width: 50px;
    min-height: 50px;
}

.mobile-menu-toggle:hover {
    background: rgba(102, 126, 234, 0.1);
    border-color: rgba(102, 126, 234, 0.4);
    transform: scale(1.05);
}

.mobile-menu-toggle span {
    width: 28px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    margin: 4px 0;
    transition: all 0.3s ease;
    border-radius: 3px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

@media (max-width: 768px) {
    header .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .logo {
        margin-bottom: 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: 320px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        border-left: 2px solid rgba(102, 126, 234, 0.3);
        transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        z-index: 1000;
        padding-top: 100px;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    /* 移动端菜单遮罩 */
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.3);
        z-index: 998;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        pointer-events: none;
    }
    
    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    
    .nav-menu ul {
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: 30px 25px;
        margin: 0;
        gap: 20px;
    }
    
    .nav-menu ul li {
        margin: 0;
        width: 100%;
    }
    
    .nav-menu ul li a {
        display: block;
        padding: 20px 25px;
        text-align: center;
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.95);
        transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        border: 2px solid rgba(102, 126, 234, 0.2);
        color: #2c3e50;
        font-weight: 600;
        font-size: 18px;
        letter-spacing: 0.5px;
        min-height: 60px;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
        position: relative;
        overflow: hidden;
    }
    
    .nav-menu ul li a::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
        transition: left 0.3s ease;
        z-index: -1;
    }
    
    .nav-menu ul li a:hover::before {
        left: 0;
    }
    
    .nav-menu ul li a:hover {
        transform: translateY(-2px);
        border-color: rgba(102, 126, 234, 0.5);
        box-shadow: 0 8px 25px rgba(102, 126, 234, 0.2);
    }
    
    .nav-menu ul li a.active {
        background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
        color: #2c3e50;
        border-color: rgba(102, 126, 234, 0.6);
        font-weight: 700;
        box-shadow: 0 6px 20px rgba(102, 126, 234, 0.25);
        transform: translateY(-1px);
    }
    
    .hero h2 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .emoji-list {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .steps {
        flex-direction: column;
    }
    
    .step {
        margin-bottom: 40px;
    }
    
    .step::after {
        display: none;
    }
    
    .faq-item h3, .faq-item p {
        padding-left: 35px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom p {
        margin-bottom: 15px;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .social-links a {
        margin: 0 10px;
    }
    
    .social-icons {
        flex-wrap: wrap;
    }
    
    /* 移动端触摸反馈 */
    .nav-menu ul li a:active {
        transform: scale(0.98) translateY(-1px);
        transition: transform 0.1s ease;
    }
    
    .mobile-menu-toggle:active {
        transform: scale(0.95);
    }
    
    /* 改善移动端可访问性 */
    .mobile-menu-toggle:focus {
        outline: 3px solid rgba(102, 126, 234, 0.5);
        outline-offset: 2px;
    }
    
    .nav-menu ul li a:focus {
        outline: 3px solid rgba(102, 126, 234, 0.5);
        outline-offset: 2px;
    }
    
    /* 移动端菜单项间距优化 */
    .nav-menu ul li:last-child a {
        margin-bottom: 20px;
    }
}

/* 折叠功能样式 */
.about-expandable, .features-expandable {
    margin-top: 20px;
}

.expand-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    margin: 0 auto;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.expand-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.expand-btn i {
    transition: transform 0.3s ease;
}

.expand-btn.active i {
    transform: rotate(180deg);
}

.expandable-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin-top: 0;
}

.expandable-content.active {
    max-height: 1000px;
    margin-top: 30px;
}

/* 懒加载和错误处理样式 */
.lazy-load {
    opacity: 0.6;
    filter: blur(2px);
    transition: all 0.3s ease;
}

.lazy-load.loading {
    opacity: 0.3;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmerLoading 1.5s infinite;
}

.lazy-load.loaded {
    opacity: 1;
    filter: blur(0);
}

.error-img {
    opacity: 0.5;
    filter: grayscale(100%);
    border: 2px dashed #ccc;
}

.retry-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(102, 126, 234, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s ease;
    z-index: 10;
}

.retry-btn:hover {
    background: rgba(102, 126, 234, 1);
    transform: translate(-50%, -50%) scale(1.1);
}

/* 加载指示器 */
#loading-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(5px);
}

.loading-spinner {
    text-align: center;
    color: #667eea;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes shimmerLoading {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Contact Page Specific Styles */
.contact-main {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    margin: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h3,
.contact-form-section h3 {
    font-size: 28px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.contact-info p {
    font-size: 16px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 30px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    border: 2px solid rgba(102, 126, 234, 0.1);
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.contact-method:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.3);
}

.contact-method i {
    font-size: 24px;
    color: #667eea;
    margin-top: 5px;
    min-width: 30px;
}

.method-info h4 {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

.method-info p {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.method-info a {
    color: #667eea;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.method-info a:hover {
    color: #764ba2;
    text-decoration: underline;
}

.contact-form {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 25px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    border: 2px solid rgba(102, 126, 234, 0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid rgba(102, 126, 234, 0.2);
    border-radius: 15px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
    color: #2c3e50;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    background: rgba(255, 255, 255, 1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 18px 40px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 auto;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
}

.submit-btn i {
    font-size: 14px;
}

.social-contact-section {
    padding: 60px 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    text-align: center;
}

.social-contact-section h3 {
    font-size: 28px;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.social-contact-section p {
    font-size: 16px;
    color: #555;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.social-icons-large {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid rgba(102, 126, 234, 0.1);
    min-width: 120px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.social-link:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(102, 126, 234, 0.3);
}

.social-link i {
    font-size: 32px;
    transition: all 0.3s ease;
}

.social-link span {
    font-weight: 600;
    color: #2c3e50;
    font-size: 14px;
}

.social-link.facebook:hover i { color: #1877f2; }
.social-link.twitter:hover i { color: #1da1f2; }
.social-link.instagram:hover i { color: #e4405f; }
.social-link.tiktok:hover i { color: #000; }

.faq-contact {
    padding: 60px 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    margin: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.faq-contact h3 {
    font-size: 28px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.faq-contact p {
    font-size: 16px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.faq-contact a {
    color: #667eea;
    font-weight: 600;
    text-decoration: none;
}

.faq-contact a:hover {
    color: #764ba2;
    text-decoration: underline;
}

.quick-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.quick-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    text-decoration: none;
    color: #2c3e50;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid rgba(102, 126, 234, 0.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.quick-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.3);
    color: #667eea;
}

.quick-link i {
    font-size: 16px;
}

/* Mobile Responsive for Contact Page */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-form {
        padding: 25px;
    }
    
    .social-icons-large {
        gap: 20px;
    }
    
    .social-link {
        min-width: 100px;
        padding: 20px;
    }
    
    .quick-links {
        flex-direction: column;
        align-items: center;
    }
    
    .quick-link {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

/* 搜索改进样式 */
.search-box {
    position: relative;
}

.search-clear-btn {
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 16px;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

.search-clear-btn.visible {
    opacity: 1;
    visibility: visible;
}

.search-clear-btn:hover {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
}

/* 用户反馈提示 */
.toast-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    z-index: 10000;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    max-width: 300px;
}

.toast-notification.show {
    transform: translateX(0);
}

.toast-notification .close-toast {
    position: absolute;
    top: 5px;
    right: 10px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 16px;
}

/* 移动端特定样式 */
@media (max-width: 768px) {
    .about-expandable, .features-expandable {
        display: block;
    }
    
    .expand-btn {
        width: 100%;
        max-width: 250px;
        font-size: 14px;
        padding: 10px 20px;
    }
    
    .expandable-content.active {
        max-height: 800px;
        margin-top: 20px;
    }
    
    .toast-notification {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
        transform: translateY(-100px);
    }
    
    .toast-notification.show {
        transform: translateY(0);
    }
    
    /* 移动端模态框背景优化 */
    .emoji-modal.show {
        padding: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        -webkit-overflow-scrolling: touch;
    }
    
    /* 移动端模态框优化 */
    .modal-content {
        margin: 20px auto;
        width: 95%;
        max-width: none;
        border-radius: 15px;
        max-height: calc(100vh - 40px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        transform: translateZ(0);
        will-change: transform;
    }
    
    .emoji-details {
        padding: 20px;
        flex-direction: column;
    }
    
    .emoji-preview {
        margin-bottom: 20px;
        text-align: center;
    }
    
    .emoji-preview img {
        max-width: 150px;
        max-height: 150px;
    }
    
    .emoji-info h3 {
        font-size: 22px;
        text-align: center;
        margin-bottom: 10px;
    }
    
    .emoji-info p {
        font-size: 14px;
        text-align: center;
        margin-bottom: 20px;
    }
    
    .emoji-actions {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }
    
    .emoji-actions button {
        width: 100%;
        padding: 15px 20px;
        font-size: 16px;
        border-radius: 12px;
        font-weight: 600;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        min-height: 50px;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
        position: relative;
        overflow: hidden;
    }
    
    .emoji-actions button:active {
        transform: scale(0.98);
    }
    
    .emoji-actions button::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        background: rgba(255, 255, 255, 0.3);
        border-radius: 50%;
        transform: translate(-50%, -50%);
        transition: width 0.3s ease, height 0.3s ease;
    }
    
    .emoji-actions button:active::before {
        width: 300px;
        height: 300px;
    }
    
    .close-modal {
        top: 10px;
        right: 15px;
        font-size: 24px;
        background: rgba(0, 0, 0, 0.1);
        border-radius: 50%;
        width: 35px;
        height: 35px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .emoji-list {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }
    
    .category-list {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .category-btn {
        flex: 0 0 auto;
    }
    
    .hero h2 {
        font-size: 24px;
    }
    
    .hero p {
        font-size: 14px;
    }
    
    .search-box input, .search-box button {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .download-pack-cta {
        padding: 30px 20px;
    }
    
    .download-pack-cta h3 {
        font-size: 20px;
    }
    
    .download-all-btn {
        padding: 12px 30px;
        font-size: 14px;
    }
    
    .footer-column {
        margin: 0 15px 30px;
    }
    
    .expand-btn {
        font-size: 13px;
        padding: 8px 16px;
    }
    
    /* 小屏幕手机模态框进一步优化 */
    .modal-content {
        margin: 10px;
        width: calc(100% - 20px);
        border-radius: 12px;
        max-height: calc(100vh - 20px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        transform: translateZ(0);
        will-change: transform;
        position: relative;
        z-index: 1001;
    }
    
    .emoji-details {
        padding: 15px;
    }
    
    .emoji-preview img {
        max-width: 120px;
        max-height: 120px;
    }
    
    .emoji-info h3 {
        font-size: 20px;
        margin-bottom: 8px;
    }
    
    .emoji-info p {
        font-size: 13px;
        margin-bottom: 15px;
        line-height: 1.5;
    }
    
    .emoji-actions {
        gap: 12px;
    }
    
    .emoji-actions button {
        padding: 12px 16px;
        font-size: 15px;
        min-height: 45px;
        border-radius: 10px;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    
    .emoji-actions button i {
        font-size: 16px;
    }
    
    .emoji-actions button span {
        font-weight: 600;
    }
    
    .close-modal {
        top: 8px;
        right: 12px;
        font-size: 20px;
        width: 30px;
        height: 30px;
    }
    
    /* 模态框背景点击优化 */
    .emoji-modal.show {
        padding: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* 移动端横屏模式优化 */
@media (max-width: 768px) and (orientation: landscape) {
    .modal-content {
        margin: 5px auto;
        max-height: calc(100vh - 10px);
        width: 90%;
    }
    
    .emoji-details {
        padding: 10px;
        flex-direction: row;
    }
    
    .emoji-preview {
        margin-right: 20px;
        margin-bottom: 0;
        flex: 0 0 auto;
    }
    
    .emoji-preview img {
        max-width: 100px;
        max-height: 100px;
    }
    
    .emoji-info {
        flex: 1;
    }
    
    .emoji-info h3 {
        font-size: 18px;
        margin-bottom: 5px;
    }
    
    .emoji-info p {
        font-size: 12px;
        margin-bottom: 10px;
    }
    
    .emoji-actions {
        flex-direction: row;
        gap: 10px;
    }
    
    .emoji-actions button {
        flex: 1;
        padding: 10px 15px;
        font-size: 14px;
        min-height: 40px;
    }
}