* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.ads-top {
    text-align: center;
    padding: 15px 20px;
    background: #fff;
    margin-bottom: 30px;
    margin-top: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.ads-bottom {
    text-align: center;
    padding: 10px;
    background: #fff;
}

.ads-left, .ads-right {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 160px;
    z-index: 100;
}

.ads-left {
    left: 10px;
}

.ads-right {
    right: 10px;
}

@media (max-width: 768px) {
    .ads-left, .ads-right {
        display: none;
    }
}

header {
    background-color: #fff;
    padding: 20px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 32px;
    font-weight: bold;
}

.logo a {
    text-decoration: none;
    color: #ff6b35;
}

.logo span {
    color: #333;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-nav a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.header-nav a:hover {
    color: #ff6b35;
}

.language-selector {
    position: relative;
}

.language-dropdown {
    padding: 10px 40px 10px 35px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    background-color: #fff;
    cursor: pointer;
    font-size: 14px;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=UTF-8,%3Csvg width="12" height="8" viewBox="0 0 12 8" fill="none" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M1 1L6 6L11 1" stroke="%23333" stroke-width="2" stroke-linecap="round"/%3E%3C/svg%3E');
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.breadcrumb {
    padding: 15px 0;
    font-size: 13px;
    color: #666;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
    margin-right: 5px;
}

.breadcrumb a:hover {
    color: #ff6b35;
}

.breadcrumb span {
    margin: 0 5px;
}

.main-section {
    padding: 60px 0;
}

.main-title {
    text-align: center;
    font-size: 42px;
    font-weight: 700;
    color: #2d2d2d;
    margin-bottom: 50px;
    line-height: 1.3;
}

.upload-area {
    background-color: #fff;
    border: 3px dashed #d0d0d0;
    border-radius: 12px;
    padding: 80px 40px;
    text-align: center;
    margin-bottom: 60px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.upload-area:hover {
    border-color: #ff6b35;
    background-color: #fff8f6;
}

.upload-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background-color: #e8f4f8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
}

.upload-icon svg {
    width: 50px;
    height: 50px;
}

.upload-text {
    font-size: 20px;
    color: #555;
    margin-bottom: 25px;
}

.upload-btn {
    background-color: #ff8c42;
    color: #fff;
    border: none;
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 140, 66, 0.3);
    text-decoration: none;
    display: inline-block;
}

.upload-btn:hover {
    background-color: #ff6b35;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 107, 53, 0.4);
}

.file-limits {
    margin-top: 20px;
    font-size: 13px;
    color: #999;
}

.processing-area {
    text-align: center;
    padding: 40px;
    background: #fff;
    border-radius: 12px;
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.file-info {
    margin-bottom: 30px;
}

.file-name {
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 10px;
}

.file-details {
    color: #666;
    font-size: 14px;
}

.format-selector {
    margin-bottom: 30px;
}

.format-selector label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
}

.format-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.format-btn {
    padding: 12px 30px;
    border: 2px solid #e0e0e0;
    background: #fff;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
}

.format-btn.active {
    background: #ff6b35;
    color: #fff;
    border-color: #ff6b35;
}

.progress {
    margin-top: 30px;
}

.progress-bar-container {
    width: 100%;
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-bar-fill {
    height: 100%;
    background: #ff6b35;
    transition: width 0.3s ease;
    border-radius: 4px;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: #e0e0e0;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-bar::after {
    content: '';
    display: block;
    width: 40%;
    height: 100%;
    background: #ff6b35;
    animation: progress 1s ease-in-out infinite;
}

@keyframes progress {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(350%); }
}

.progress-text {
    color: #666;
}

.download-area {
    margin-top: 30px;
}

.success-icon {
    width: 60px;
    height: 60px;
    color: #43a047;
    margin: 0 auto 20px;
}

.success-text {
    font-size: 18px;
    font-weight: 500;
    color: #43a047;
    margin-bottom: 20px;
}

.new-file-btn {
    padding: 12px 30px;
    background: none;
    border: 2px solid #ff6b35;
    color: #ff6b35;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    margin-top: 15px;
}

.error-area {
    margin-top: 30px;
}

.error-text {
    color: #ef4444;
    margin-bottom: 20px;
}

.retry-btn {
    padding: 12px 30px;
    background: #ef4444;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
}

.stats-section {
    text-align: center;
    padding: 40px 0;
}

.stats-date {
    font-size: 14px;
    color: #666;
    margin-bottom: 30px;
}

.stats-container {
    display: flex;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.stat-icon.blue {
    background-color: #e3f2fd;
    color: #1e88e5;
}

.stat-icon.green {
    background-color: #e8f5e9;
    color: #43a047;
}

.stat-icon.purple {
    background-color: #f3e5f5;
    color: #8e24aa;
}

.stat-content {
    text-align: left;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: #2d2d2d;
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

input[type="file"] {
    display: none;
}

.blog-hero {
    text-align: center;
    padding: 60px 0 40px;
}

.page-title {
    font-size: 42px;
    margin-bottom: 10px;
}

.page-subtitle {
    font-size: 18px;
    color: #666;
}

.blog-list {
    padding: 40px 0 80px;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.post-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.post-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.post-content {
    padding: 20px;
}

.post-title {
    font-size: 20px;
    margin-bottom: 10px;
}

.post-title a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s;
}

.post-title a:hover {
    color: #ff6b35;
}

.post-description {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
}

.post-meta {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: #666;
}

.post-category {
    color: #ff6b35;
    font-weight: 500;
}

.blog-post {
    padding: 40px 0 80px;
}

.post-header {
    text-align: center;
    margin-bottom: 50px;
}

.post-featured-image {
    max-width: 800px;
    margin: 30px auto;
    border-radius: 12px;
    overflow: hidden;
}

.post-featured-image img {
    width: 100%;
    height: auto;
}

.blog-post .post-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.8;
}

.post-footer {
    max-width: 800px;
    margin: 50px auto 0;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
}

.back-to-blog {
    color: #ff6b35;
    text-decoration: none;
    font-weight: 500;
}

.no-posts {
    text-align: center;
    padding: 60px 0;
    color: #666;
}

@media (max-width: 768px) {
    .main-title {
        font-size: 28px;
    }
    
    .upload-area {
        padding: 60px 20px;
    }
    
    .stats-container {
        gap: 40px;
    }
    
    .stat-item {
        flex-direction: column;
        text-align: center;
    }
    
    .stat-content {
        text-align: center;
    }
    
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
    }
}

