/* Recovery.html 专用样式 */
:root {
    --primary-color: #2563eb;
    --secondary-color: #64748b;
    --accent-color: #f59e0b;
    --success-color: #059669;
    --background-light: #f8fafc;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --water-blue: #0ea5e9;
    --ocean-blue: #0284c7;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    scroll-behavior: smooth;
}

/* 导航栏 */
.navbar {
    background: linear-gradient(135deg, var(--water-blue), var(--ocean-blue)) !important;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.navbar-nav .nav-link {
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--accent-color) !important;
}

/* Hero 部分 */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--water-blue), var(--ocean-blue));
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1544551763-46a013bb70d5?w=1920&h=1080&fit=crop') center/cover;
    opacity: 0.15;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.9), rgba(2, 132, 199, 0.8));
    z-index: 2;
}

.hero-section .container {
    position: relative;
    z-index: 3;
}

.app-icon img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 4px solid white;
}

.app-rating {
    display: flex;
    align-items: center;
}

.app-stats .badge {
    font-size: 0.9rem;
    padding: 0.75rem 1rem;
}

.hero-buttons {
    margin-top: 2rem;
}

.hero-buttons .btn {
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.hero-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.hero-video {
    position: relative;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.video-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-placeholder:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.video-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

/* 通用样式 */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--water-blue);
    border-radius: 2px;
}

.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

/* 游戏描述 */
.game-description {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border-left: 5px solid var(--water-blue);
}

.feature-highlight {
    background: linear-gradient(135deg, #e0f2fe, #b3e5fc);
    padding: 1.5rem;
    border-radius: 15px;
    border-left: 4px solid var(--water-blue);
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 0.5rem 0;
    font-size: 1.1rem;
}

.mode-card {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
}

.mode-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* 应用信息卡片 */
.app-info-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    position: sticky;
    top: 100px;
}

.app-info-card h3 {
    color: var(--water-blue);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.info-item:last-child {
    border-bottom: none;
}

.info-item .label {
    font-weight: 600;
    color: var(--text-muted);
}

.info-item .value {
    font-weight: 500;
    color: var(--text-dark);
}

.download-card {
    background: linear-gradient(135deg, var(--water-blue), var(--ocean-blue));
    color: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.download-card h4 {
    margin-bottom: 1rem;
    font-weight: 700;
}

.download-card .btn {
    background: white;
    color: var(--water-blue);
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.download-card .btn:hover {
    background: #f1f5f9;
    transform: translateY(-2px);
}

/* 截图部分 */
.screenshot-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.screenshot-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.screenshot-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.screenshot-item:hover img {
    transform: scale(1.1);
}

/* 评价卡片 */
.review-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
    border-left: 4px solid var(--water-blue);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.review-text {
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.review-author strong {
    color: var(--text-dark);
    font-weight: 600;
}

.review-author small {
    display: block;
    margin-top: 0.25rem;
}

/* 相似游戏卡片 */
.similar-game-card {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.similar-game-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.similar-game-card h5 {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.similar-game-card .rating {
    font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
        padding: 2rem 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .app-icon img {
        width: 100px;
        height: 100px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        margin: 0.5rem 0;
    }
    
    .hero-video {
        height: 250px;
        margin-top: 2rem;
    }
    
    .video-placeholder i {
        font-size: 3rem;
    }
    
    .game-description {
        padding: 1.5rem;
    }
    
    .app-info-card {
        position: static;
        margin-top: 2rem;
    }
    
    .screenshot-item img {
        height: 200px;
    }
    
    .similar-game-card .row {
        text-align: center;
    }
    
    .similar-game-card .col-4,
    .similar-game-card .col-8 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .similar-game-card .col-4 {
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 1rem 0;
    }
    
    .hero-section h1 {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .app-stats .badge {
        font-size: 0.8rem;
        padding: 0.5rem 0.75rem;
        margin-bottom: 0.5rem;
    }
    
    .feature-list li {
        font-size: 1rem;
    }
    
    .review-card {
        padding: 1.5rem;
    }
}

/* 动画效果 */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-slide-up {
    animation: slideInUp 0.6s ease-out;
}

.animate-fade-scale {
    animation: fadeInScale 0.5s ease-out;
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--background-light);
}

::-webkit-scrollbar-thumb {
    background: var(--water-blue);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--ocean-blue);
}

/* 加载状态 */
.loading {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.loading.loaded {
    opacity: 1;
    transform: translateY(0);
} 