* {
    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;
    padding: 20px;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

h1 {
    color: #333;
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
    font-weight: 600;
}

h2 {
    color: #555;
    margin-bottom: 20px;
    font-size: 1.5rem;
    font-weight: 500;
}

/* Upload Section */
.upload-section {
    margin-bottom: 40px;
}

.upload-area {
    border: 3px dashed #ddd;
    border-radius: 15px;
    padding: 60px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fafafa;
}

.upload-area:hover {
    border-color: #667eea;
    background: #f0f4ff;
}

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

.upload-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.upload-icon {
    width: 48px;
    height: 48px;
    color: #667eea;
}

.upload-text {
    font-size: 1.2rem;
    color: #333;
    font-weight: 500;
}

.upload-subtext {
    color: #666;
    font-size: 0.9rem;
}

/* Preview Container */
.preview-container {
    position: relative;
    margin-top: 20px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.preview-container img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.remove-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.remove-btn:hover {
    background: #ff4757;
    color: white;
    transform: scale(1.1);
}

/* Link Section */
.link-section {
    border-top: 1px solid #eee;
    padding-top: 40px;
}

.link-display {
    background: #f0f8ff;
    padding: 30px;
    border-radius: 15px;
    border-left: 4px solid #667eea;
    text-align: center;
}

.link-display p {
    color: #666;
    margin-bottom: 20px;
    font-weight: 500;
    font-size: 1.1rem;
}

.drive-link {
    color: white;
    background: #667eea;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    cursor: pointer;
}

.drive-link:hover {
    background: #5a67d8;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.drive-link:active {
    transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        margin: 10px;
        padding: 30px 20px;
    }
    
    h1 {
        font-size: 1.5rem;
    }
    
    .upload-area {
        padding: 40px 15px;
    }
    
    .preview-container img {
        height: 250px;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.preview-container,
.link-display {
    animation: fadeIn 0.3s ease;
}