:root {
    --primary-color: #6c5ce7;
    --secondary-color: #a29bfe;
    --accent-color: #fd79a8;
    --dark-color: #2d3436;
    --light-color: #f5f6fa;
    --success-color: #00b894;
    --error-color: #d63031;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--light-color);
    color: var(--dark-color);
    line-height: 1.6;
}

.app-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.app-header {
    text-align: center;
    margin-bottom: 2rem;
}

.app-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.app-subtitle {
    color: var(--dark-color);
    opacity: 0.7;
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.file-upload-container {
    background-color: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
}

.upload-area {
    border: 2px dashed var(--secondary-color);
    border-radius: 8px;
    padding: 3rem 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.upload-area:hover {
    border-color: var(--primary-color);
    background-color: rgba(108, 92, 231, 0.05);
}

.upload-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1rem;
    fill: var(--primary-color);
}

.upload-instruction {
    font-size: 1.1rem;
    color: var(--dark-color);
    opacity: 0.8;
}

.progress-container {
    margin-top: 1.5rem;
    background-color: #f1f1f1;
    border-radius: 8px;
    height: 24px;
    position: relative;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background-color: var(--primary-color);
    width: 0%;
    transition: width 0.3s ease;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: 600;
    font-size: 0.8rem;
}

.btn-share, .btn-download, .btn-copy {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 1.5rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-share:hover, .btn-download:hover, .btn-copy:hover {
    background-color: #5649c0;
    transform: translateY(-2px);
}

.btn-copy {
    padding: 0.8rem 1rem;
    margin-left: 0.5rem;
}

.result-container, .download-container {
    background-color: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.result-container h3, .download-container h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.link-container {
    display: flex;
    margin-bottom: 1.5rem;
}

.link-container input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    background-color: #f9f9f9;
}

.file-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: #666;
}

.qr-code-container {
    margin-top: 1.5rem;
}

.qr-code-container p {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #666;
}

.error-message {
    background-color: var(--error-color);
    color: white;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    text-align: center;
}

.app-footer {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.9rem;
    color: #666;
}

.hidden {
    display: none !important;
}

.drag-over {
    border-color: var(--accent-color) !important;
    background-color: rgba(253, 121, 168, 0.1) !important;
}

@media (max-width: 768px) {
    .app-container {
        padding: 1rem;
    }
    
    .upload-area {
        padding: 2rem 1rem;
    }
    
    .link-container {
        flex-direction: column;
    }
    
    .btn-copy {
        margin-left: 0;
        margin-top: 0.5rem;
    }
}