@media (max-width: 600px) {
    .header {
        padding: 1rem 0.5rem 0.5rem 0.5rem;
        border-radius: 0 0 0.5rem 0.5rem;
    }
    .header h1 {
        font-size: 1.3rem;
    }
    .header .slogan {
        font-size: 0.85rem;
    }
    .container {
        padding: 0 0.2rem 1.2rem;
    }
    .main-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 0.5rem;
    }
    .creator-panel, .cart-panel {
        padding: 0.7rem;
        border-radius: 12px;
    }
    .album-cover-large {
        width: 120px;
        height: 120px;
        min-width: 120px;
        min-height: 120px;
    }
    .svg-preview {
        padding: 0.5rem;
        border-radius: 8px;
    }
    .cart-item-image {
        width: 40px;
        height: 40px;
        border-radius: 6px;
    }
    .checkout-btn {
        padding: 1rem;
        font-size: 1rem;
        border-radius: 30px;
    }
}
/* Plaqueify Standalone Stylesheet - FULL RESTORE */

:root {
    --primary-blue: #2563eb;
    --light-blue: #3b82f6;
    --pale-blue: #dbeafe;
    --accent-blue: #1d4ed8;
    --dark-blue: #1e40af;
    --spotify-green: #1db954;
    --white: #ffffff;
    --light-gray: #f8fafc;
    --gray: #64748b;
    --dark-gray: #334155;
    --border-gray: #e2e8f0;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --gradient: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
}

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

body {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    color: var(--text-primary);
    min-height: 100vh;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.5;
}

.header {
    text-align: center;
    padding: 1rem 1.5rem 0.7rem 1.5rem;
    background: linear-gradient(120deg, #f8fafc 85%, #e0e7ff 100%);
    border-radius: 0 0 1rem 1rem;
    box-shadow: 0 2px 8px 0 rgba(37,99,235,0.04);
    border-bottom: 1px solid #e5e7eb;
}

.header h1 {
    font-size: 2.1rem;
    font-weight: 800;
    background: linear-gradient(90deg, #2563eb 30%, #6366f1 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 0.2rem;
    letter-spacing: -0.03em;
    text-shadow: 0 2px 8px rgba(99,102,241,0.08);
}

.header .slogan {
    color: #374151;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.2rem;
    letter-spacing: -0.01em;
    text-shadow: 0 1px 4px rgba(37,99,235,0.04);
}

.header .sub-slogan {
    display: none;
    margin-bottom: 0.5rem;
}

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

.main-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 2.2rem;
    margin-top: 1.2rem;
}

.creator-panel {
    background: var(--white);
    border: 2px solid var(--border-gray);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.search-container {
    margin-bottom: 1.5rem;
}

.search-input, .artist-input {
    width: 100%;
    background: var(--white);
    border: 2px solid var(--border-gray);
    border-radius: 12px;
    padding: 1.25rem 1.75rem;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.search-input:focus, .artist-input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.search-input::placeholder, .artist-input::placeholder {
    color: var(--gray);
}

.input-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.preview-container {
    text-align: center;
    margin-bottom: 3rem;
}


.album-showcase.prominent-preview {
    background: var(--light-gray);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    border: 2px solid var(--border-gray);
}

.album-flex-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 3rem;
}

.album-cover-large {
    width: 535.19px;
    height: 781.99px;
    min-width: 535.19px;
    min-height: 781.99px;
    max-width: 100%;
    max-height: 80vh;
    border-radius: 20px;
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.15);
    transition: transform 0.4s ease;
    position: relative;
    border: none;
}

.album-cover-large:hover {
    transform: scale(1.03);
}

.svg-outline-wrapper {
    width: 535.19px;
    height: 781.99px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 18px;
    box-shadow: 0 4px 32px 0 rgba(30,41,59,0.10), 0 0 0 4px #e2e8f0;
    border: 2.5px solid #cbd5e1;
    padding: 0;
}

.svg-outline-wrapper svg {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 12px;
    background: white;
}

.album-placeholder {
    font-size: 4rem;
    color: var(--gray);
    opacity: 0.5;
}

.side-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.side-details .song-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
}

.side-details .artist-name {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 0.7rem;
}

.side-details .album-name {
    font-size: 1.1rem;
    color: var(--gray);
    font-style: italic;
}

.song-details {
    text-align: center;
    margin-bottom: 2rem;
}

.song-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.artist-name {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.album-name {
    font-size: 1rem;
    color: var(--gray);
    font-style: italic;
}

.progress-section {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    border: 2px solid var(--border-gray);
}

.progress-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.progress-bar-wrapper {
    position: relative;
    margin: 1.5rem 0;
}

.progress-track {
    width: 100%;
    height: 8px;
    background: var(--border-gray);
    border-radius: 4px;
    cursor: pointer;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: var(--gradient);
    border-radius: 4px;
    width: 30%;
    transition: width 0.3s ease;
}

.progress-handle {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: var(--white);
    border: 3px solid var(--primary-blue);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
    cursor: pointer;
}

.time-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.action-row {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn {
    flex: 1;
    padding: 1.25rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
    background: var(--pale-blue);
    border-color: var(--accent-blue);
}

.cart-panel {
    background: var(--white);
    border: 2px solid var(--border-gray);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 2rem;
    height: fit-content;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.cart-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
}

.cart-badge {
    background: var(--primary-blue);
    color: white;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.cart-items {
    margin-bottom: 2rem;
    max-height: 300px;
    overflow-y: auto;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--light-gray);
    border-radius: 16px;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.cart-item-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    background: var(--gray);
    overflow: hidden;
    flex-shrink: 0;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-info {
    flex: 1;
}

.cart-item-title {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.cart-item-artist {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.cart-item-price {
    font-weight: 700;
    color: var(--spotify-green);
    font-size: 1rem;
}

.remove-item {
    background: transparent;
    border: none;
    color: var(--gray);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    font-size: 1.25rem;
}

.remove-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ff4757;
}

.cart-summary {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    color: var(--gray);
}

.summary-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.checkout-btn {
    width: 100%;
    margin-top: 2rem;
    background: var(--gradient);
    color: white;
    border: none;
    padding: 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(29, 185, 84, 0.3);
}

.checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(29, 185, 84, 0.4);
}

.empty-preview {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--gray);
}

.empty-preview .icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.3;
}

.empty-cart {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--gray);
}

.empty-cart .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.3;
}

.svg-preview {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    margin-top: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.svg-preview svg {
    width: 100%;
    height: auto;
}

.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--spotify-green);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 1024px) {
    .main-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .cart-panel {
        position: static;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 2rem 1rem;
    }
    .header h1 {
        font-size: 2.5rem;
    }
    .container {
        padding: 0 1rem 2rem;
    }
    .creator-panel,
    .cart-panel {
        padding: 1.5rem;
    }
    .album-cover {
        width: 180px;
        height: 180px;
    }
    .action-row {
        flex-direction: column;
    }
}
