
/* File Converter Styles */
.main-content {
    padding-top: 120px;
    min-height: 100vh;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    position: relative;
}

.converter-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.converter-header {
    text-align: center;
    margin-bottom: 3rem;
}

.converter-header h1 {
    color: var(--electric-blue);
    margin-bottom: 1rem;
}

.converter-header p {
    color: var(--text-gray);
    font-size: 1.1rem;
}

/* Upload Section */
.upload-dropzone {
    border: 2px dashed var(--border-color);
    border-radius: 15px;
    padding: 3rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    background: var(--card-bg);
}

.upload-dropzone:hover,
.upload-dropzone.dragover {
    border-color: var(--electric-blue);
    background: rgba(0, 255, 255, 0.05);
}

.upload-icon {
    font-size: 3rem;
    color: var(--electric-blue);
    margin-bottom: 1rem;
}

.upload-content h3 {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.upload-content p {
    color: var(--text-gray);
    margin-bottom: 1rem;
}

.file-types {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Progress Section */
.progress-section {
    text-align: center;
    padding: 2rem;
}

.progress-info h3 {
    color: var(--electric-blue);
    margin-bottom: 1rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-fill {
    height: 100%;
    background: var(--gradient);
    width: 0%;
    transition: width 0.3s ease;
}

.progress-text {
    color: var(--text-light);
    font-weight: bold;
}

/* Conversion Section */
.conversion-section {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid var(--border-color);
}

.current-file {
    margin-bottom: 2rem;
    text-align: center;
}

.current-file h3 {
    color: var(--electric-blue);
    margin-bottom: 1rem;
}

.file-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(0, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.file-icon {
    font-size: 2rem;
    color: var(--electric-blue);
}

.file-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.file-name {
    color: var(--text-light);
    font-weight: bold;
}

.file-extension {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Format Categories */
.format-categories h3 {
    color: var(--electric-blue);
    margin-bottom: 1rem;
}

.category-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 0.5rem 1rem;
    background: var(--border-color);
    color: var(--text-gray);
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn.active,
.tab-btn:hover {
    background: var(--gradient);
    color: white;
}

/* Format Options */
.format-options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.format-btn {
    padding: 0.75rem;
    background: var(--border-color);
    color: var(--text-light);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    font-size: 0.9rem;
    font-weight: bold;
}

.format-btn:hover:not(.incompatible) {
    background: var(--electric-blue);
    color: white;
}

.format-btn.selected {
    background: var(--gradient);
    color: white;
}

.format-btn.incompatible {
    background: #dc3545;
    color: #fff;
    cursor: not-allowed;
    opacity: 0.7;
}

.format-btn.incompatible i {
    font-size: 0.8rem;
}

/* Convert Actions */
.convert-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: bold;
}

.btn-primary {
    background: var(--gradient);
    color: white;
}

.btn-primary:disabled {
    background: var(--border-color);
    color: var(--text-gray);
    cursor: not-allowed;
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background: var(--border-color);
    color: var(--text-light);
}

.btn-secondary:hover {
    background: var(--text-gray);
}

/* Converting Animation */
.converting-section {
    text-align: center;
    padding: 3rem;
}

.converting-animation {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid var(--border-color);
    border-top: 4px solid var(--electric-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.converting-animation h3 {
    color: var(--electric-blue);
}

.converting-animation p {
    color: var(--text-gray);
}

/* Download Section */
.download-section {
    text-align: center;
    padding: 3rem;
}

.download-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.success-icon {
    font-size: 4rem;
    color: #28a745;
}

.download-info h3 {
    color: var(--electric-blue);
}

.download-info p {
    color: var(--text-gray);
}

.download-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

/* Footer */
.footer {
    background: var(--bg-darker);
    border-top: 1px solid var(--border-color);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Orbitron', monospace;
}

.footer-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.dragon {
    color: var(--electric-blue);
}

.dev {
    color: var(--text-light);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-nav-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-nav-links a {
    color: var(--text-gray);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.footer-nav-links a:hover {
    color: var(--electric-blue);
}

.dot {
    width: 4px;
    height: 4px;
    background: var(--electric-blue);
    border-radius: 50%;
}

.social-footer {
    display: flex;
    gap: 1rem;
}

.social-footer a {
    color: var(--text-gray);
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-footer a:hover {
    color: var(--electric-blue);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-top: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .converter-container {
        padding: 1rem;
    }
    
    .upload-dropzone {
        padding: 2rem 1rem;
    }
    
    .format-options {
        grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
    }
    
    .convert-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .category-tabs {
        justify-content: center;
    }
    
    .download-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-nav-links {
        justify-content: center;
    }
}

/* Animations */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}
