/* 全局样式 */
:root {
    --primary-color: #4CAF50;
    --secondary-color: #2196F3;
    --translator-primary: #FF6B35;
    --translator-secondary: #F7931E;
    --text-color: #333;
    --light-gray: #f5f5f5;
    --dark-gray: #666;
    --white: #fff;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --drama-primary: #E91E63;
    --drama-secondary: #FF4081;
    --drama-accent: #C2185B;
    --drama-gradient: linear-gradient(135deg, #E91E63 0%, #FF4081 100%);
    --drama-dark: #1A1A2E;
    --drama-light: #16213E;
    --money-primary: #2E8B57;
    --money-secondary: #32CD32;
    --money-accent: #228B22;
    --money-gradient: linear-gradient(135deg, #2E8B57 0%, #32CD32 100%);
    --money-dark: #1B4332;
    --money-light: #2D5A3D;
    --money-danger: #dc3545;
    --money-warning: #ffc107;
    --money-success: #28a745;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 应用切换器样式 */
.app-switcher {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1001;
}

.switcher-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 25px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.tab-btn.active {
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.tab-btn i {
    font-size: 1.2em;
}

/* 应用内容切换 */
.app-content {
    transition: opacity 0.3s ease;
}

.app-content.hidden {
    display: none;
}

/* 按钮样式 */
.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #45a049;
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: #1976D2;
}

.btn-large {
    padding: 12px 30px;
    font-size: 1.1em;
}

.btn.disabled {
    background-color: #ccc;
    color: #666;
    cursor: not-allowed;
    opacity: 0.6;
}

/* 导航栏样式 */
.navbar {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 40px;
}

.logo span {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-buttons {
    display: flex;
    gap: 15px;
}

/* 主页横幅样式 */
.wafa {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.wafa .container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.wafa-content {
    flex: 1;
}

.wafa-content h1 {
    font-size: 3em;
    margin-bottom: 20px;
    color: var(--text-color);
}

.wafa-content p {
    font-size: 1.2em;
    color: var(--dark-gray);
    margin-bottom: 30px;
}

.wafa-buttons {
    display: flex;
    gap: 20px;
}

.wafa-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* wafa图片美化样式 */
.wafa-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.15),
        0 10px 20px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 3px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    backdrop-filter: blur(10px);
}

.wafa-image img:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.25),
        0 15px 30px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: 3px solid rgba(255, 255, 255, 0.5);
}

.wafa-image img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 17px;
    pointer-events: none;
}

/* Drama主题wafa图片美化 */
.drama-wafa .wafa-image img {
    border: 3px solid rgba(233, 30, 99, 0.3);
    box-shadow: 
        0 20px 40px rgba(233, 30, 99, 0.2),
        0 10px 20px rgba(255, 64, 129, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.drama-wafa .wafa-image img:hover {
    border: 3px solid rgba(233, 30, 99, 0.5);
    box-shadow: 
        0 30px 60px rgba(233, 30, 99, 0.3),
        0 15px 30px rgba(255, 64, 129, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Money主题wafa图片美化 */
.money-wafa .wafa-image img {
    border: 3px solid rgba(46, 139, 87, 0.3);
    box-shadow: 
        0 20px 40px rgba(46, 139, 87, 0.2),
        0 10px 20px rgba(50, 205, 50, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.money-wafa .wafa-image img:hover {
    border: 3px solid rgba(46, 139, 87, 0.5);
    box-shadow: 
        0 30px 60px rgba(46, 139, 87, 0.3),
        0 15px 30px rgba(50, 205, 50, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* 为所有应用预览图片添加美化效果 */
.clean-card img {
    width: 100%;
    max-width: 200px;
    height: auto;
    border-radius: 15px;
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.12),
        0 8px 15px rgba(0, 0, 0, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}

.clean-card img:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.18),
        0 12px 25px rgba(0, 0, 0, 0.12);
    border: 2px solid rgba(255, 255, 255, 0.4);
}

/* 轮播图片美化 */
.app-preview-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    border-radius: 12px;
    box-shadow: 
        0 12px 28px rgba(0, 0, 0, 0.15),
        0 6px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.app-preview-image img:hover {
    transform: scale(1.02);
    box-shadow: 
        0 18px 35px rgba(0, 0, 0, 0.2),
        0 8px 18px rgba(0, 0, 0, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

/* 主页应用轮播展示 */
.app-carousel {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
}

.carousel-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 450px;
    overflow: hidden;
    border-radius: 20px;
    margin: 0 auto;
}

.carousel-slides {
    display: flex;
    width: 300%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    width: 33.333%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.app-preview-card {
    width: 400px;
    height: 300px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 15px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.app-preview-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.app-preview-card.translator {
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
    color: white;
}

.app-preview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
}

.app-preview-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.app-icon-small {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
    color: white;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.app-icon-small.translator {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.app-preview-header h3 {
    font-size: 1.4em;
    margin: 0;
    font-weight: 700;
}

.app-preview-card.translator h3 {
    color: white;
}

.app-preview-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.app-preview-info {
    text-align: center;
    position: relative;
    z-index: 2;
}

.app-preview-info p {
    font-size: 1em;
    margin-bottom: 10px;
    opacity: 0.9;
}

.app-preview-card.translator p {
    color: rgba(255, 255, 255, 0.9);
}

.btn-small {
    padding: 8px 20px;
    font-size: 0.9em;
}

/* 轮播控制按钮 */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2em;
    color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-btn:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
    left: 20px;
}

.carousel-btn.next {
    right: 20px;
}

/* 轮播指示器 */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: white;
    transform: scale(1.2);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* 应用介绍区域 */
.apps-section {
    padding: 80px 0;
    background-color: var(--white);
}

.apps-section h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5em;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.app-card {
    background: var(--white);
    border-radius: 15px;
    padding: 40px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease;
}

.app-card:hover {
    transform: translateY(-5px);
}

.app-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2em;
    color: white;
}

.app-icon.translator {
    background: var(--translator-primary);
}

.app-card h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: var(--text-color);
}

.app-card p {
    color: var(--dark-gray);
    margin-bottom: 25px;
    line-height: 1.6;
}

.app-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 30px;
    text-align: left;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--dark-gray);
}

.feature-item i {
    color: var(--primary-color);
    font-size: 0.9em;
}

.app-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* 关于我们区域 */
.about-section {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.about-text p {
    color: var(--dark-gray);
    margin-bottom: 20px;
    font-size: 1.1em;
    line-height: 1.7;
}

.stats {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-size: 2em;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-item p {
    color: var(--dark-gray);
    margin: 0;
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.team-illustration {
    width: 200px;
    height: 200px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4em;
    color: white;
}

/* 手机模拟器样式 */
.phone-mockup {
    perspective: 1000px;
}

.phone-frame {
    width: 280px;
    height: 560px;
    background: linear-gradient(145deg, #2c3e50, #34495e);
    border-radius: 35px;
    padding: 15px;
    box-shadow: 
        0 20px 40px rgba(0,0,0,0.3),
        inset 0 2px 4px rgba(255,255,255,0.1);
    transform: rotateY(-5deg) rotateX(5deg);
    transition: transform 0.3s ease;
}

.phone-frame:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 25px;
    overflow: hidden;
    position: relative;
}

.phone-screen.translator-theme {
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
}

.phone-screen::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: rgba(255,255,255,0.3);
    border-radius: 2px;
}

.app-interface {
    padding: 40px 20px 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
}

.app-header {
    margin-bottom: 40px;
    text-align: center;
}

.app-header h4 {
    font-size: 1.2em;
    font-weight: 600;
    margin: 0;
    opacity: 0.9;
}

/* 翻译界面特有样式 */
.translate-box {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
    background: rgba(255,255,255,0.2);
    padding: 20px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.input-lang, .output-lang {
    background: rgba(255,255,255,0.3);
    padding: 10px 15px;
    border-radius: 10px;
    font-weight: 500;
}

.translate-arrow {
    font-size: 1.5em;
    font-weight: bold;
}

.storage-circle {
    width: 120px;
    height: 120px;
    border: 8px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    position: relative;
    background: rgba(255,255,255,0.1);
}

.storage-circle::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    width: 120px;
    height: 120px;
    border: 8px solid transparent;
    border-top: 8px solid #4CAF50;
    border-right: 8px solid #4CAF50;
    border-radius: 50%;
    transform: rotate(-45deg);
}

.storage-circle span {
    font-size: 1.5em;
    font-weight: bold;
}

.quick-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

.action-btn {
    background: rgba(255,255,255,0.2);
    padding: 15px 20px;
    border-radius: 15px;
    text-align: center;
    font-weight: 500;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.action-btn:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

/* 功能特点样式 */
.features {
    padding: 80px 0;
    background-color: var(--white);
}

.features h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5em;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    padding: 30px;
    text-align: center;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card i {
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
}

/* 下载区域样式 */
.download {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.download h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5em;
}

.download-options {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.download-card {
    padding: 30px;
    text-align: center;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    min-width: 250px;
    transition: transform 0.3s ease;
}

.download-card:hover:not(.coming-soon) {
    transform: translateY(-5px);
}

.download-card.coming-soon {
    opacity: 0.7;
    position: relative;
}

.download-card.coming-soon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    pointer-events: none;
}

.download-card i {
    font-size: 3em;
    margin-bottom: 20px;
}

.download-card.coming-soon i {
    color: var(--dark-gray);
}

.download-card:not(.coming-soon) i {
    color: var(--primary-color);
}

.download-card p {
    margin-bottom: 20px;
    color: var(--dark-gray);
}

.btn:disabled {
    background-color: #ccc;
    color: #666;
    cursor: not-allowed;
    opacity: 0.6;
}

.btn:disabled:hover {
    background-color: #ccc;
}

/* 应用预览样式 */
.clean {
    padding: 80px 0;
    background-color: var(--white);
}

.clean h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5em;
}

.clean-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    justify-items: center;
}

.clean-card {
    padding: 20px;
    background-color: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow);
    max-width: 300px;
    text-align: center;
    transition: transform 0.3s ease;
}

.clean-card:hover {
    transform: translateY(-5px);
}

.clean-card.featured {
    border: 2px solid var(--primary-color);
}

.clean-card h3 {
    font-size: 1.2em;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.clean-card img {
    width: 100%;
    max-width: 200px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* 联系我们样式 */
.contact {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.contact h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5em;
}

.contact-content {
    display: flex;
    gap: 50px;
}

.contact-info {
    flex: 1;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-item i {
    font-size: 1.5em;
    color: var(--primary-color);
}

.contact-form {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

/* 页脚样式 */
.footer {
    background-color: #333;
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    margin-bottom: 20px;
    font-size: 1.2em;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    font-size: 1.5em;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* 翻译主题样式 */
body.translator-theme {
    --primary-color: var(--translator-primary);
    --secondary-color: var(--translator-secondary);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        gap: 20px;
    }

    .nav-links {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .wafa .container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .wafa-buttons {
        justify-content: center;
    }

    /* 轮播响应式 */
    .carousel-container {
        height: 500px;
        max-width: 90vw;
    }

    .app-preview-card {
        width: 85vw;
        max-width: 400px;
        height: 450px;
        padding: 20px;
    }

    .app-preview-header h3 {
        font-size: 1.3em;
    }

    .app-icon-small {
        width: 45px;
        height: 45px;
        font-size: 1.1em;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1em;
    }

    .carousel-btn.prev {
        left: 10px;
    }

    .carousel-btn.next {
        right: 10px;
    }

    .apps-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .app-features {
        grid-template-columns: 1fr;
    }

    .app-actions {
        flex-direction: column;
    }

    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .stats {
        justify-content: center;
    }

    .clean-grid {
        grid-template-columns: 1fr;
    }

    .download-options {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .carousel-container {
        height: 450px;
        max-width: 95vw;
    }
    
    .app-preview-card {
        width: 90vw;
        max-width: 350px;
        height: 400px;
        padding: 15px;
    }
    
    .carousel-indicators {
        bottom: 15px;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
    }
}

/* Drama 主题样式 */
.drama-wafa {
    background: linear-gradient(135deg, #1A1A2E 0%, #16213E 50%, #0F3460 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.drama-wafa::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(233, 30, 99, 0.2) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 64, 129, 0.2) 0%, transparent 50%);
    z-index: 1;
}

.drama-wafa .container {
    position: relative;
    z-index: 2;
}

.wafa-stats {
    display: flex;
    gap: 40px;
    margin-top: 30px;
}

.wafa-stats .stat-item {
    text-align: center;
}

.wafa-stats .stat-item h3 {
    color: var(--drama-secondary);
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 5px;
}

.wafa-stats .stat-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9em;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--drama-secondary);
    color: var(--drama-secondary);
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--drama-secondary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 64, 129, 0.3);
}

/* Drama 手机mockup样式 */
.drama-phone .phone-screen {
    background: linear-gradient(135deg, #1A1A2E 0%, #16213E 100%);
}

.drama-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: rgba(26, 26, 46, 0.9);
    backdrop-filter: blur(10px);
}

.drama-header h4 {
    color: var(--drama-secondary);
    font-size: 1.2em;
    font-weight: bold;
}

.search-icon {
    font-size: 1.2em;
    color: white;
    cursor: pointer;
}

.video-player {
    position: relative;
    background: linear-gradient(45deg, #2C2C54 0%, #40407A 100%);
    margin: 10px;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
}

.play-button {
    width: 50px;
    height: 50px;
    background: var(--drama-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5em;
    margin: 0 auto 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-button:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(233, 30, 99, 0.4);
}

.video-info h5 {
    color: white;
    font-size: 1em;
    margin-bottom: 5px;
}

.video-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8em;
}

.drama-categories {
    display: flex;
    gap: 8px;
    padding: 15px;
    overflow-x: auto;
}

.category-btn {
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    color: white;
    font-size: 0.8em;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-btn.active,
.category-btn:hover {
    background: var(--drama-gradient);
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
}

/* Drama 功能卡片样式 */
.drama-card {
    border: 2px solid transparent;
    background: linear-gradient(white, white) padding-box,
                var(--drama-gradient) border-box;
    transition: all 0.3s ease;
}

.drama-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(233, 30, 99, 0.2);
}

.drama-card i {
    background: var(--drama-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 热门短剧推荐样式 */
.popular-dramas {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f4fd 100%);
}

.popular-dramas h2 {
    text-align: center;
    margin-bottom: 50px;
    color: var(--drama-dark);
    font-size: 2.5em;
}

.drama-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.drama-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.drama-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.drama-poster {
    position: relative;
    height: 200px;
    background: var(--drama-gradient);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    color: var(--drama-primary);
    opacity: 0;
    transition: all 0.3s ease;
}

.drama-card:hover .play-overlay {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.episode-count {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 10px;
    font-size: 0.8em;
}

.drama-info {
    padding: 20px;
}

.drama-info h3 {
    color: var(--drama-dark);
    font-size: 1.2em;
    margin-bottom: 8px;
    font-weight: 600;
}

.drama-info p {
    color: var(--dark-gray);
    font-size: 0.9em;
    margin-bottom: 15px;
}

.tags {
    display: flex;
    gap: 8px;
}

.tag {
    padding: 4px 12px;
    background: var(--drama-gradient);
    color: white;
    border-radius: 15px;
    font-size: 0.8em;
    font-weight: 500;
}

/* Drama 下载区域样式 */
.drama-download {
    background: var(--drama-dark);
    color: white;
    position: relative;
    overflow: hidden;
}

.drama-download::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(233, 30, 99, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 30%, rgba(255, 64, 129, 0.1) 0%, transparent 50%);
}

.drama-download .container {
    position: relative;
    z-index: 2;
}

.drama-download h2 {
    color: white;
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 15px;
}

.drama-download > .container > p {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2em;
    margin-bottom: 40px;
}

.download-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.download-stats .stat {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1em;
}

.download-stats .stat i {
    color: var(--drama-secondary);
    font-size: 1.2em;
}

/* Preview placeholder样式 */
.preview-placeholder {
    height: 200px;
    background: linear-gradient(135deg, #f0f2f5 0%, #e1e8ed 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.preview-placeholder i {
    font-size: 3em;
    color: var(--drama-primary);
    margin-bottom: 15px;
}

.preview-placeholder p {
    color: var(--dark-gray);
    font-size: 0.9em;
    text-align: center;
}

.clean-card:hover .preview-placeholder {
    background: linear-gradient(135deg, var(--drama-primary) 0%, var(--drama-secondary) 100%);
}

.clean-card:hover .preview-placeholder i,
.clean-card:hover .preview-placeholder p {
    color: white;
}

/* 响应式设计 - Drama样式 */
@media (max-width: 768px) {
    .wafa-stats {
        gap: 20px;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .wafa-stats .stat-item h3 {
        font-size: 2em;
    }
    
    .drama-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .download-stats {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    
    .drama-categories {
        justify-content: flex-start;
    }
    
    .popular-dramas h2 {
        font-size: 2em;
    }
}

/* Body theme for drama */
body.drama-theme {
    --primary-color: var(--drama-primary);
    --secondary-color: var(--drama-secondary);
}

body.drama-theme .navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

body.drama-theme .logo span {
    background: var(--drama-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.drama-theme .btn-primary {
    background: var(--drama-gradient);
    border: none;
}

body.drama-theme .btn-primary:hover {
    background: linear-gradient(135deg, #C2185B 0%, #E91E63 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(233, 30, 99, 0.3);
}

/* Money Saver 主题样式 */
.money-wafa {
    background: linear-gradient(135deg, #1B4332 0%, #2D5A3D 50%, #2E8B57 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.money-wafa::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(46, 139, 87, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(50, 205, 50, 0.2) 0%, transparent 50%);
    z-index: 1;
}

.money-wafa .container {
    position: relative;
    z-index: 2;
}

/* Money 手机mockup样式 */
.money-phone .phone-screen {
    background: linear-gradient(135deg, #1B4332 0%, #2D5A3D 100%);
}

.money-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: rgba(27, 67, 50, 0.9);
    backdrop-filter: blur(10px);
}

.money-header h4 {
    color: var(--money-secondary);
    font-size: 1.2em;
    font-weight: bold;
}

.balance-info {
    text-align: right;
}

.balance-info span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8em;
    display: block;
}

.balance-info h5 {
    color: var(--money-secondary);
    font-size: 1.5em;
    font-weight: bold;
    margin: 0;
}

.expense-chart {
    display: flex;
    justify-content: center;
    padding: 20px;
}

.chart-circle {
    width: 120px;
    height: 120px;
    border: 8px solid rgba(50, 205, 50, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: rgba(255, 255, 255, 0.1);
}

.chart-circle::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    width: 120px;
    height: 120px;
    border: 8px solid transparent;
    border-top: 8px solid var(--money-secondary);
    border-right: 8px solid var(--money-secondary);
    border-radius: 50%;
    transform: rotate(-45deg);
}

.chart-center {
    text-align: center;
}

.chart-center h6 {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8em;
    margin: 0 0 5px 0;
}

.chart-center p {
    color: white;
    font-size: 1.2em;
    font-weight: bold;
    margin: 0;
}

.quick-categories {
    display: flex;
    justify-content: space-around;
    padding: 15px;
    gap: 10px;
}

.category-item {
    text-align: center;
    color: white;
    flex: 1;
}

.category-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 5px;
    font-size: 1.2em;
    background: rgba(255, 255, 255, 0.2);
}

.category-item span {
    display: block;
    font-size: 0.8em;
    margin-bottom: 2px;
}

.category-item small {
    font-size: 0.7em;
    color: rgba(255, 255, 255, 0.8);
}

/* Money 功能卡片样式 */
.money-card {
    border: 2px solid transparent;
    background: linear-gradient(white, white) padding-box,
                var(--money-gradient) border-box;
    transition: all 0.3s ease;
}

.money-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(46, 139, 87, 0.2);
}

.money-card i {
    background: var(--money-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 预算分类展示样式 */
.budget-categories {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fff8 0%, #e8f5e8 100%);
}

.budget-categories h2 {
    text-align: center;
    margin-bottom: 50px;
    color: var(--money-dark);
    font-size: 2.5em;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.budget-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-left: 4px solid var(--money-primary);
}

.budget-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.budget-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--money-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    margin-bottom: 15px;
}

.budget-card h3 {
    color: var(--money-dark);
    font-size: 1.2em;
    margin-bottom: 20px;
    font-weight: 600;
}

.budget-progress {
    margin-top: 15px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: var(--money-gradient);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.progress-fill.danger {
    background: linear-gradient(135deg, #dc3545 0%, #ff6b6b 100%);
}

.budget-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.budget-info span:first-child {
    color: var(--dark-gray);
    font-size: 0.9em;
}

.budget-status {
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8em;
    font-weight: 600;
}

.budget-status.safe {
    background: #d4edda;
    color: #155724;
}

.budget-status.warning {
    background: #fff3cd;
    color: #856404;
}

.budget-status.danger {
    background: #f8d7da;
    color: #721c24;
}

/* Money 下载区域样式 */
.money-download {
    background: var(--money-dark);
    color: white;
    position: relative;
    overflow: hidden;
}

.money-download::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(46, 139, 87, 0.2) 0%, transparent 50%),
                radial-gradient(circle at 70% 30%, rgba(50, 205, 50, 0.1) 0%, transparent 50%);
}

.money-download .container {
    position: relative;
    z-index: 2;
}

.money-download h2 {
    color: white;
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 15px;
}

.money-download > .container > p {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2em;
    margin-bottom: 40px;
}

/* 响应式设计 - Money样式 */
@media (max-width: 768px) {
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .quick-categories {
        flex-direction: column;
        gap: 15px;
    }
    
    .category-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        text-align: left;
        padding: 10px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 10px;
    }
    
    .category-icon {
        margin: 0;
    }
    
    .budget-categories h2 {
        font-size: 2em;
    }
}

/* Body theme for money */
body.money-theme {
    --primary-color: var(--money-primary);
    --secondary-color: var(--money-secondary);
}

body.money-theme .navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

body.money-theme .logo span {
    background: var(--money-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.money-theme .btn-primary {
    background: var(--money-gradient);
    border: none;
}

body.money-theme .btn-primary:hover {
    background: linear-gradient(135deg, #228B22 0%, #2E8B57 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(46, 139, 87, 0.3);
}

/* Drama预览卡片样式 */
.app-preview-card.drama {
    background: linear-gradient(135deg, #E91E63 0%, #FF4081 100%);
    color: white;
}

.app-preview-card.drama::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
}

.app-icon-small.drama {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.app-preview-card.drama h3 {
    color: white;
}

.app-preview-card.drama p {
    color: rgba(255, 255, 255, 0.9);
}

/* Money预览卡片样式 */
.app-preview-card.money {
    background: linear-gradient(135deg, #2E8B57 0%, #32CD32 100%);
    color: white;
}

.app-preview-card.money::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
}

.app-icon-small.money {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.app-preview-card.money h3 {
    color: white;
}

.app-preview-card.money p {
    color: rgba(255, 255, 255, 0.9);
}

/* App图标主题样式 */
.app-icon.drama {
    background: var(--drama-primary);
}

.app-icon.money {
    background: var(--money-primary);
}

/* 防止按钮点击时触发卡片点击 */
.app-preview-card .btn {
    position: relative;
    z-index: 10;
}

/* 轮播图片容器样式 */
.carousel-image-container {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.carousel-image-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.carousel-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.carousel-image-container:hover .carousel-main-image {
    transform: scale(1.05);
}

.carousel-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 30px 20px 20px;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.carousel-overlay .app-info {
    display: flex;
    align-items: center;
    gap: 15px;
    color: white;
}

.carousel-overlay .app-icon-small {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}

.carousel-overlay .app-icon-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-overlay .app-info h3 {
    font-size: 1.4em;
    margin: 0 0 5px 0;
    font-weight: 600;
}

.carousel-overlay .app-info p {
    font-size: 0.9em;
    margin: 0;
    opacity: 0.9;
}

/* Drama主题轮播样式 */
.carousel-image-container.drama .carousel-overlay {
    background: linear-gradient(transparent, rgba(233, 30, 99, 0.9));
}

.carousel-image-container.drama:hover {
    box-shadow: 0 15px 40px rgba(233, 30, 99, 0.2);
}

/* Money主题轮播样式 */
.carousel-image-container.money .carousel-overlay {
    background: linear-gradient(transparent, rgba(46, 139, 87, 0.9));
}

.carousel-image-container.money:hover {
    box-shadow: 0 15px 40px rgba(46, 139, 87, 0.2);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .carousel-image-container {
        height: 300px;
    }
    
    .carousel-overlay .app-info {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .carousel-overlay .app-icon-small {
        width: 40px;
        height: 40px;
    }
    
    .carousel-overlay .app-info h3 {
        font-size: 1.2em;
    }
    
    .carousel-overlay .app-info p {
        font-size: 0.8em;
    }
}

@media (max-width: 480px) {
    .carousel-image-container {
        height: 250px;
    }
    
    .carousel-overlay {
        padding: 20px 15px 15px;
    }
} 