:root {
    --sl-bg-overlay: rgba(0, 0, 0, 0.55);
    --sl-bg-overlay-strong: rgba(0, 0, 0, 0.78);
    --sl-glass-bg: rgba(15, 15, 18, 0.72);
    --sl-glass-bg-strong: rgba(15, 15, 18, 0.88);
    --sl-glass-border: rgba(255, 255, 255, 0.08);
    --sl-glass-border-hover: rgba(255, 255, 255, 0.16);
    --sl-text-primary: #f5f5f7;
    --sl-text-secondary: #c9c9cf;
    --sl-text-muted: #8f8f96;
    --sl-accent: #2ebd59;
    --sl-accent-hover: #3dd068;
    --sl-radius: 18px;
    --sl-radius-sm: 12px;
    --sl-radius-pill: 999px;
    --sl-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
    --sl-shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
    --sl-shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.45);
    --sl-shadow-xl: 0 24px 64px rgba(0, 0, 0, 0.55);
    --sl-transition: 220ms cubic-bezier(0.22, 0.61, 0.36, 1);
    --sl-font: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html, body.smartlink-body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: var(--sl-font);
    color: var(--sl-text-primary);
    background-color: #0a0a0b;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.smartlink-body * {
    box-sizing: border-box;
}

.sl-root {
    position: relative;
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
}

.sl-bg {
    position: fixed;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(32px) saturate(140%);
    transform: scale(1.15);
    z-index: 0;
}

.sl-bg-overlay {
    position: fixed;
    inset: 0;
    background: radial-gradient(ellipse at center, var(--sl-bg-overlay) 0%, var(--sl-bg-overlay-strong) 100%);
    z-index: 1;
}

.sl-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    gap: 20px;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 32px 24px;
    min-height: 100vh;
    align-items: flex-start;
}

.sl-col-right {
    width: 380px;
    flex-shrink: 0;
    position: sticky;
    top: 32px;
}

.sl-col-left {
    width: 520px;
    flex-shrink: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sl-panel {
    background: var(--sl-glass-bg);
    backdrop-filter: blur(28px) saturate(130%);
    -webkit-backdrop-filter: blur(28px) saturate(130%);
    border: 1px solid var(--sl-glass-border);
    border-radius: var(--sl-radius);
    box-shadow: var(--sl-shadow-lg);
    overflow: hidden;
}

.sl-panel-strong {
    background: var(--sl-glass-bg-strong);
}

.sl-spotify-follow {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    border-bottom: 1px solid var(--sl-glass-border);
}

.sl-spotify-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    background-color: rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
    display: block;
}

.sl-spotify-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sl-spotify-name {
    color: var(--sl-text-primary);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.2;
}

    .sl-spotify-name:hover {
        color: var(--sl-accent-hover);
        text-decoration: none;
    }

.sl-spotify-follow-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: var(--sl-radius-pill);
    background: var(--sl-accent);
    color: #0a1a0f;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 0;
    cursor: pointer;
    align-self: flex-start;
    transition: var(--sl-transition);
    font-family: var(--sl-font);
}

    .sl-spotify-follow-btn:hover {
        background: var(--sl-accent-hover);
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(46, 189, 89, 0.35);
    }

    .sl-spotify-follow-btn svg {
        width: 12px;
        height: 12px;
        fill: currentColor;
    }

.sl-media {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    overflow: hidden;
    position: relative;
}

    .sl-media iframe {
        width: 100%;
        height: 100%;
        border: 0;
        display: block;
    }

    .sl-media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.sl-release-header {
    padding: 18px 20px 14px;
    text-align: center;
    border-bottom: 1px solid var(--sl-glass-border);
}

.sl-release-artist {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--sl-text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.sl-release-title {
    display: block;
    font-size: 19px;
    font-weight: 700;
    color: var(--sl-text-primary);
    line-height: 1.25;
    margin-bottom: 10px;
}

.sl-release-tagline {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: var(--sl-text-secondary);
    opacity: 0.75;
}

.sl-dsp-list {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sl-dsp-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--sl-glass-border);
    border-radius: var(--sl-radius-sm);
    text-decoration: none;
    color: var(--sl-text-primary);
    transition: var(--sl-transition);
    cursor: pointer;
}

    .sl-dsp-item:hover {
        background: rgba(255, 255, 255, 0.09);
        border-color: var(--sl-glass-border-hover);
        transform: scale(1.015);
        box-shadow: var(--sl-shadow-md);
        text-decoration: none;
        color: var(--sl-text-primary);
    }

    .sl-dsp-item:active {
        transform: scale(0.99);
    }

.sl-dsp-logo {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    object-fit: contain;
    border-radius: 6px;
}

.sl-dsp-label {
    flex: 1;
    font-size: 14px;
    font-weight: 600;
    color: var(--sl-text-primary);
}

.sl-dsp-arrow {
    width: 18px;
    height: 18px;
    color: var(--sl-text-muted);
    flex-shrink: 0;
    transition: var(--sl-transition);
}

.sl-dsp-item:hover .sl-dsp-arrow {
    color: var(--sl-text-primary);
    transform: translateX(3px);
}

.sl-social-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    border-top: 1px solid var(--sl-glass-border);
    background: rgba(0, 0, 0, 0.25);
}

.sl-social-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--sl-text-secondary);
    letter-spacing: 0.5px;
    margin-right: 4px;
}

.sl-social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid var(--sl-glass-border);
    text-decoration: none;
    transition: var(--sl-transition);
}

    .sl-social-icon:hover {
        background: rgba(255, 255, 255, 0.14);
        transform: translateY(-3px);
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
        border-color: var(--sl-glass-border-hover);
    }

    .sl-social-icon img {
        width: 20px;
        height: 20px;
        display: block;
    }

    .sl-social-icon.sl-disabled {
        opacity: 0.25;
        pointer-events: none;
    }

.sl-hero {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sl-hero-image {
    width: 100%;
    max-width: 520px;
    aspect-ratio: 1 / 1;
    border-radius: var(--sl-radius);
    overflow: hidden;
    box-shadow: var(--sl-shadow-xl);
    background: #1a1a1d;
}

    .sl-hero-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.sl-hero-card {
    padding: 20px 24px;
    max-width: 520px;
}

.sl-hero-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--sl-text-primary);
    margin: 0 0 10px;
    line-height: 1.2;
    letter-spacing: -0.3px;
}

.sl-hero-description {
    font-size: 15px;
    line-height: 1.5;
    color: var(--sl-text-secondary);
    margin: 0;
    white-space: pre-line;
}

.sl-section {
    padding: 20px 24px;
    max-width: 520px;
}

.sl-section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.sl-section-icon {
    width: 20px;
    height: 20px;
    color: var(--sl-text-primary);
    flex-shrink: 0;
}

.sl-section-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--sl-text-primary);
    margin: 0;
    letter-spacing: 0.3px;
}

.sl-share-body {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.sl-qr-box {
    flex-shrink: 0;
    width: 148px;
    height: 148px;
    padding: 10px;
    background: #fff;
    border-radius: var(--sl-radius-sm);
    box-shadow: var(--sl-shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .sl-qr-box canvas,
    .sl-qr-box img {
        width: 100% !important;
        height: 100% !important;
        display: block;
    }

.sl-share-buttons {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    min-width: 0;
}

.sl-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--sl-glass-border);
    border-radius: var(--sl-radius-sm);
    color: var(--sl-text-primary);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--sl-transition);
    font-family: var(--sl-font);
}

    .sl-share-btn:hover {
        background: rgba(255, 255, 255, 0.11);
        border-color: var(--sl-glass-border-hover);
        transform: translateY(-1px);
        color: var(--sl-text-primary);
        text-decoration: none;
    }

    .sl-share-btn svg {
        width: 16px;
        height: 16px;
        flex-shrink: 0;
    }

.sl-share-btn-wa:hover {
    background: rgba(37, 211, 102, 0.18);
    border-color: rgba(37, 211, 102, 0.4);
}

.sl-share-btn-tw:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.sl-share-btn-copy:hover {
    background: rgba(46, 189, 89, 0.15);
    border-color: rgba(46, 189, 89, 0.35);
}

.sl-share-btn-mail:hover {
    background: rgba(66, 133, 244, 0.18);
    border-color: rgba(66, 133, 244, 0.4);
}

.sl-copied-toast {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: rgba(46, 189, 89, 0.95);
    color: #0a1a0f;
    padding: 12px 22px;
    border-radius: var(--sl-radius-pill);
    font-size: 14px;
    font-weight: 700;
    box-shadow: var(--sl-shadow-lg);
    opacity: 0;
    pointer-events: none;
    transition: var(--sl-transition);
    z-index: 9999;
    letter-spacing: 0.3px;
}

    .sl-copied-toast.sl-visible {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

.sl-more-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(108px, 1fr));
    gap: 14px;
}

.sl-more-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-decoration: none;
    color: var(--sl-text-primary);
    transition: var(--sl-transition);
    cursor: pointer;
}

    .sl-more-item:hover {
        transform: translateY(-3px);
        color: var(--sl-text-primary);
        text-decoration: none;
    }

.sl-more-thumb {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: var(--sl-radius-sm);
    overflow: hidden;
    background: #1a1a1d;
    box-shadow: var(--sl-shadow-sm);
    transition: var(--sl-transition);
}

    .sl-more-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.sl-more-item:hover .sl-more-thumb {
    box-shadow: var(--sl-shadow-md);
}

.sl-more-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--sl-text-primary);
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-align: center;
    padding: 0 2px;
}

.sl-footer-brand {
    padding: 24px 0 16px;
    text-align: center;
    font-size: 11px;
    color: var(--sl-text-muted);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    opacity: 0.6;
}

    .sl-footer-brand a {
        color: inherit;
        text-decoration: none;
        transition: var(--sl-transition);
    }

        .sl-footer-brand a:hover {
            color: var(--sl-text-primary);
        }

@keyframes slFadeInUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sl-panel, .sl-hero-image, .sl-hero-card {
    animation: slFadeInUp 460ms cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.sl-col-left .sl-panel:nth-child(2) {
    animation-delay: 80ms;
}

.sl-col-left .sl-panel:nth-child(3) {
    animation-delay: 160ms;
}

.sl-col-left .sl-panel:nth-child(4) {
    animation-delay: 240ms;
}

@media (max-width: 991.98px) {
    .sl-container {
        flex-direction: column;
        padding: 20px 16px;
        gap: 20px;
        max-width: 640px;
    }

    .sl-col-right {
        width: 100%;
        position: static;
        order: 1;
    }

    .sl-hero-image {
        display: none !important;
    }

    .sl-col-left {
        width: 100%;
        order: 2;
        align-items: center;
    }

    .sl-hero {
        padding-top: 0;
        align-items: center;
        text-align: center;
    }

    .sl-hero-image {
        max-width: 280px;
    }

    .sl-hero-card,
    .sl-section {
        width: 100%;
        max-width: none;
    }

    .sl-hero-title {
        font-size: 22px;
    }

    .sl-media {
        aspect-ratio: 16 / 9;
    }
}

@media (max-width: 575.98px) {
    .sl-container {
        padding: 16px 12px;
    }

    .sl-share-body {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .sl-share-buttons {
        width: 100%;
    }

    .sl-qr-box {
        width: 180px;
        height: 180px;
    }

    .sl-more-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .sl-hero-image {
        max-width: 240px;
    }

    .sl-social-row {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    .sl-social-row .sl-social-label {
        flex-basis: 100%;
        text-align: center;
        margin-right: 0;
    }
}

@media (max-width: 374.98px) {
    .sl-more-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
