* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.header {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(10px);
}

.header h1 {
    color: #2c3e50;
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.btn-download {
    background: linear-gradient(45deg, #56ab2f, #a8e6cf);
    color: white;
    padding: 8px 16px;
    font-size: 14px;
}

.btn-download:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(86, 171, 47, 0.4);
}

.content {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.loading {
    text-align: center;
    padding: 50px;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    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); }
}

.error-message {
    background: #fee;
    color: #c33;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #c33;
    margin-bottom: 20px;
}

.file-list {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
}

.file-item {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e1e8ed;
    min-width: 0;
    overflow: hidden;
}

.file-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.file-info h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.file-info h3::before {
    content: "📱";
    font-size: 1.2em;
}

.file-detail {
    margin-bottom: 15px;
}

.file-detail label {
    font-weight: 600;
    color: #555;
    display: block;
    margin-bottom: 5px;
}

.file-detail span {
    color: #333;
    background: #f8f9fa;
    padding: 8px 12px;
    border-radius: 6px;
    display: block;
    word-break: break-all;
    overflow-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
}

.file-path {
    font-family: 'Courier New', monospace;
    font-size: 0.85em;
    color: #666;
    background: #f1f3f4;
    border-left: 3px solid #ddd;
    line-height: 1.4;
}

.file-info h3 {
    color: #2c3e50;
    font-size: 1.2rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    word-break: break-word;
    overflow-wrap: break-word;
    line-height: 1.3;
}

.version-info {
    background: #e3f2fd;
    padding: 12px;
    border-radius: 8px;
    border-left: 4px solid #2196f3;
    margin: 15px 0;
}

.version-info span {
    background: transparent;
    padding: 0;
    font-style: italic;
    color: #1976d2;
}

.file-actions {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.empty-state h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #888;
}

.empty-state p {
    font-size: 1.1rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .header h1 {
        font-size: 2rem;
    }
    
    .file-list {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .file-item {
        padding: 20px;
    }
    
    .container {
        padding: 15px;
    }
    
    .file-info h3 {
        font-size: 1.1rem;
    }
    
    .file-detail span {
        font-size: 0.9em;
        padding: 6px 10px;
    }
} 