* {
    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;
    line-height: 1.6;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

h1 {
    text-align: center;
    color: white;
    margin-bottom: 30px;
    font-size: 2.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.upload-area {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    margin-bottom: 30px;
    transition: all 0.3s ease;
    border: 2px dashed #ddd;
}

.upload-area.dragover {
    border-color: #667eea;
    background: rgba(255, 255, 255, 0.98);
    transform: scale(1.02);
}

.upload-area p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 20px;
}

.file-input-wrapper {
    margin: 20px 0;
}

.file-input {
    display: none;
}

.file-input-label {
    display: inline-block;
    background: #667eea;
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.file-input-label:hover {
    background: #5a6fd8;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.file-name {
    margin-top: 15px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #666;
    white-space: pre-line;
    text-align: left;
    max-height: 100px;
    overflow-y: auto;
}

.info-box {
    background: #e3f2fd;
    border-left: 4px solid #2196f3;
    padding: 15px;
    margin: 20px 0;
    border-radius: 8px;
    text-align: left;
    font-size: 0.9rem;
    line-height: 1.5;
}

.btn {
    background: #4caf50;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 10px 5px;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
}

.btn:hover:not(:disabled) {
    background: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.6);
}

.btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    box-shadow: none;
}

.btn-secondary {
    background: #ff9800;
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.4);
}

.btn-secondary:hover:not(:disabled) {
    background: #f57c00;
    box-shadow: 0 6px 20px rgba(255, 152, 0, 0.6);
}

.progress-bar {
    margin: 20px 0;
    padding: 15px;
    background: #f0f0f0;
    border-radius: 8px;
    font-weight: 500;
    color: #666;
    display: none;
}

.result {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 30px;
    margin: 20px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.result.success {
    border-left: 4px solid #4caf50;
}

.result.error {
    border-left: 4px solid #f44336;
}

.url-input {
    width: 100%;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    margin: 15px 0;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.url-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.disclaimer {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 25px;
    margin-top: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.disclaimer h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.disclaimer p {
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
}

.disclaimer a {
    color: #667eea;
    text-decoration: none;
}

.disclaimer a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    h1 {
        font-size: 2rem;
    }

    .upload-area {
        padding: 25px;
    }

    .btn {
        width: 100%;
        margin: 5px 0;
    }
}