* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "SF Mono", "Monaco", "Inconsolata", "Roboto Mono", "Source Code Pro", "Cascadia Code", "Fira Code", "Droid Sans Mono", "Courier New", monospace;
    background: #fafafa;
    min-height: 100vh;
    color: #0f172a;
    line-height: 1.6;
}

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

header {
    text-align: center;
    margin-bottom: 48px;
    padding: 32px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    position: relative;
}

.header-content {
    position: relative;
}

header h1 {
    font-size: 2.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1e293b;
    letter-spacing: -0.025em;
}

header p {
    font-size: 1rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

.footer-social {
    text-align: center;
    margin-top: 48px;
    padding: 24px 0;
}

.footer-social .social-links {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
}

.footer-social .social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    color: #94a3b8;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.2s ease;
    opacity: 0.6;
}

.footer-social .social-link:hover {
    opacity: 1;
    transform: translateY(-1px);
    color: white;
}

.footer-social .social-link svg {
    width: 14px;
    height: 14px;
}

.footer-social .linkedin-link {
    background: transparent;
}

.footer-social .linkedin-link:hover {
    background: #0077b5;
}

.footer-social .instagram-link {
    background: transparent;
}

.footer-social .instagram-link:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.step-container {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
}

.step {
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid #f1f5f9;
}

.step:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.step h2 {
    color: #334155;
    margin-bottom: 16px;
    font-size: 1.25rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.step h2::before {
    content: attr(data-emoji);
    font-size: 1.5rem;
}

.help-tooltip {
    position: relative;
    display: inline-block;
    margin-left: 8px;
}

.help-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: #64748b;
    color: white;
    border-radius: 50%;
    font-size: 0.75rem;
    cursor: help;
    transition: all 0.2s ease;
}

.help-icon:hover {
    background: #475569;
    transform: scale(1.1);
}

.tooltip-content {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 8px;
    padding: 16px;
    background: #1e293b;
    color: white;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.5;
    white-space: nowrap;
    min-width: 300px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 10;
}

.tooltip-content::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #1e293b;
}

.help-tooltip:hover .tooltip-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-4px);
}

.tooltip-content ol {
    margin: 8px 0 0 0;
    padding-left: 16px;
}

.tooltip-content li {
    margin-bottom: 4px;
    white-space: normal;
}

.tooltip-content a {
    color: #60a5fa;
    text-decoration: none;
}

.tooltip-content a:hover {
    text-decoration: underline;
}

.upload-area {
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    padding: 48px 24px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    background: #f8fafc;
}

.upload-area:hover {
    border-color: #94a3b8;
    background-color: #f1f5f9;
    transform: translateY(-1px);
}

.upload-area.dragover {
    border-color: #3b82f6;
    background-color: #eff6ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.upload-area input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.upload-area p {
    color: #64748b;
    font-size: 0.875rem;
    margin-top: 8px;
}

.upload-area::before {
    content: "📁";
    font-size: 3rem;
    display: block;
    margin-bottom: 16px;
}

.spotify-btn {
    background: #1db954;
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 500px;
    font-size: 0.875rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
    text-transform: uppercase;
    letter-spacing: 1px;
    min-width: 200px;
}

.spotify-btn:hover {
    background: #1ed760;
    transform: scale(1.04);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
}

.spotify-btn::before {
    content: '';
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 496 512'%3E%3Cpath fill='white' d='M248 8C111.1 8 0 119.1 0 256s111.1 248 248 248 248-111.1 248-248S384.9 8 248 8zm100.7 364.9c-4.2 0-6.8-1.3-10.7-3.6-62.4-37.6-135-39.2-206.7-24.5-3.9 1-9 2.6-11.9 2.6-9.7 0-15.8-7.7-15.8-15.8 0-10.3 6.1-15.2 13.6-16.8 81.9-18.1 165.6-16.5 237 26.2 6.1 3.9 9.7 7.4 9.7 16.5s-7.1 15.4-15.2 15.4zm26.9-65.6c-5.2 0-8.7-2.3-12.3-4.2-62.5-37-155.7-51.9-238.6-29.4-4.8 1.3-7.4 2.6-11.9 2.6-10.7 0-19.4-8.7-19.4-19.4s5.2-17.8 15.5-20.7c27.8-7.8 56.2-13.6 97.8-13.6 64.9 0 127.6 16.1 177 45.5 8.1 4.8 11.3 11 11.3 19.7-.1 10.8-8.5 19.5-19.4 19.5zm31-76.2c-5.2 0-8.4-1.3-12.9-3.9-71.2-42.5-198.5-52.7-280.9-29.7-3.6 1-8.1 2.6-12.9 2.6-13.2 0-23.3-10.3-23.3-23.6 0-13.6 8.4-21.3 17.4-23.9 35.2-10.3 74.6-15.2 117.5-15.2 73 0 149.5 15.2 205.4 47.8 7.8 4.5 12.9 10.7 12.9 22.6 0 13.6-11 23.3-23.2 23.3z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

.convert-btn {
    background: #059669;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.convert-btn:hover {
    background: #047857;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.convert-btn:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #374151;
    font-size: 0.875rem;
}

.form-group input[type="text"] {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    background: white;
}

.form-group input[type="text"]:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group input[type="checkbox"] {
    margin-right: 8px;
    width: 16px;
    height: 16px;
    accent-color: #3b82f6;
}

.form-group small {
    display: block;
    margin-top: 6px;
    color: #6b7280;
    font-size: 0.75rem;
}

.form-group small a {
    color: #3b82f6;
    text-decoration: none;
}

.form-group small a:hover {
    text-decoration: underline;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: #e5e7eb;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 16px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
    width: 0%;
    transition: width 0.3s ease;
}

.hidden {
    display: none;
}

.csv-preview {
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 15px;
    margin-top: 15px;
    max-height: 200px;
    overflow-y: auto;
}

.csv-preview table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.csv-preview th,
.csv-preview td {
    padding: 8px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.csv-preview th {
    background: #f1f1f1;
    font-weight: 600;
}

.status-message {
    padding: 12px 16px;
    border-radius: 8px;
    margin-top: 16px;
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.status-success::before {
    content: "✅";
}

.status-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.status-error::before {
    content: "❌";
}

.status-info {
    background: #eff6ff;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

.status-info::before {
    content: "ℹ️";
}

.results-summary {
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 20px;
    margin-top: 20px;
}

.results-summary h3 {
    color: #1db954;
    margin-bottom: 15px;
}

.results-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 15px;
}

.stat-item {
    text-align: center;
    padding: 10px;
    background: white;
    border-radius: 6px;
    border: 1px solid #eee;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1db954;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    margin-top: 5px;
}

@media (max-width: 600px) {
    .container {
        padding: 10px;
    }

    header h1 {
        font-size: 2rem;
    }

    .step-container {
        padding: 20px;
    }
}