@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700;800&display=swap');

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

:root {
    --dark1: #0b0f1a;
    --mid-sky: #264b7d;
    --bg: linear-gradient(120deg, var(--dark1), var(--mid-sky), var(--dark1));
    --btn-dark1: #000000;
    --btn-dark2: #0b0f1a;
    --sun: #ffc857;
    --text: #f0f0f0;
    --text-muted: #aaaaaa;
    --white: #ffffff;
    --black: #000000;
    --success: #32cd32;
    --error: #ff4444;
    --border-light: rgba(255, 255, 255, 0.5);
    --border-subtle: rgba(255, 255, 255, 0.2);
    --border-dark: rgba(0, 0, 0, 0.1);
    --hover-bg: rgba(255, 200, 87, 0.1);
    --success-bg: rgba(50, 205, 50, 0.1);
    --error-bg: rgba(255, 0, 0, 0.1);
}

html {
    background: var(--dark1);
}

body {
    padding: 1rem 1rem 0;
    text-align: center;
    font-family: 'Poppins', 'Segoe UI', Tahoma, Verdana, sans-serif;
    color: var(--text);
    background: var(--bg);
    background-size: 200% 200%;
    animation: bgShift 25s ease infinite;
    min-height: 95vh;
    display: flex;
    flex-direction: column;
}

@keyframes bgShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.profile-img {
    width: 100%;
    max-width: 150px;
    border-radius: 50%;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    border: 2px solid var(--border-light);
}

.username {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--text);
}

.tagline {
    max-width: 575px;
    margin: 0 auto 1rem;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text-muted);
}

.social-icons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 0.5rem 0;
    flex-wrap: wrap;
}

.social-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: var(--btn-dark2);
    border-radius: 12px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
}

.social-item .copy-btn {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 24px;
    height: 24px;
    background-color: var(--btn-dark2);
    border: 2px solid var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    z-index: 10;
}

.social-item .copy-btn svg {
    width: 12px;
    height: 12px;
    fill: var(--white);
}

.social-item a:hover {
    background-color: var(--mid-sky);
    transform: scale(1.05);
}

.social-item img {
    width: 24px;
    height: 24px;
    transition: transform 0.2s ease, filter 0.3s ease;
}

.social-item a:hover img {
    transform: scale(1.1);
}

.social-item img[src*="success.svg"],
.social-item img[src*="error.svg"] {
    width: 24px;
    height: 24px;
    display: block;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.social-item[data-platform="instagram"] a {
    background-color: #000000;
}


.social-item[data-platform="tiktok"] a {
    background-color: #000000;
}

.social-item[data-platform="spotify"] a {
    background-color: #000000;
}

.social-item[data-platform="apple"] a {
    background-color: #000000;
}


.social-item[data-platform="youtube"] a {
    background-color: #000000;
}

.social-item[data-platform="soundcloud"] a {
    background-color: #000000;
}


.vinyl-wall {
    margin: 2rem 0;
    text-align: center;
}

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

.vinyl-covers {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 1rem;
    flex-wrap: wrap;
}

.vinyl-cover {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.vinyl-cover:hover {
    transform: translateY(-8px);
}

.vinyl-disc {
    position: relative;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vinyl-cover:hover .vinyl-disc {
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.vinyl-artwork {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.vinyl-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background: var(--black);
    border-radius: 50%;
    border: 2px solid var(--white);
    box-shadow: inset 0 0 0 1px var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
}

.vinyl-play-icon {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

.vinyl-cover:hover .vinyl-play-icon {
    transform: scale(1.1);
}

.vinyl-title {
    margin-top: 0.75rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text);
    text-align: center;
    line-height: 1.2;
    max-width: 140px;
}

@media (max-width: 768px) {
    .vinyl-covers {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        max-width: 400px;
    }

    .vinyl-disc {
        width: 160px;
        height: 160px;
    }

    .vinyl-center {
        width: 25px;
        height: 25px;
    }

    .vinyl-play-icon {
        width: 16px;
        height: 16px;
    }

    .vinyl-title {
        font-size: 0.75rem;
        max-width: 120px;
    }

    .social-icons {
        gap: .5rem;
    }
}

@media (max-width: 480px) {
    .vinyl-covers {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        max-width: 325px;
    }

    .vinyl-disc {
        width: 130px;
        height: 130px;
    }

    .vinyl-center {
        width: 20px;
        height: 20px;
    }

    .vinyl-play-icon {
        width: 14px;
        height: 14px;
    }

    .vinyl-title {
        font-size: 0.8rem;
        max-width: 150px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

.link-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--btn-dark2);
    border-radius: 12px;
    color: var(--white);
    font-size: 1rem;
    padding: 1rem;
    margin: 0.25rem auto;
    max-width: 400px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.link-button:hover {
    background-color: var(--mid-sky);
}

.link-icon {
    width: 30px;
    height: 30px;
}

.link-text {
    flex: 1;
    text-align: center;
}

.play-icon {
    width: 24px;
    height: 24px;
    fill: var(--white);
    flex-shrink: 0;
    margin-left: 0.75rem;
    transition: transform 0.2s ease;
}

.link-button:hover .play-icon {
    transform: translateX(3px);
}

.copy-btn {
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    margin-left: 15px;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.copy-btn-email {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 24px;
    height: 24px;
    background-color: var(--btn-dark2);
    border: 2px solid var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    z-index: 10;
    cursor: pointer;
    color: var(--text);
    font-size: 12px;
    transition: all 0.3s ease;
}

.copy-btn:hover,
.copy-btn-email:hover {
    background-color: var(--hover-bg);
    color: var(--sun);
}

.copy-btn.copied,
.copy-btn-email.copied {
    background-color: var(--success-bg);
    color: var(--success);
}


.copy-btn.error,
.copy-btn-email.error {
    background-color: var(--error-bg);
    color: var(--error);
}

.copy-btn .copy-icon,
.copy-btn-email .copy-icon {
    width: 12px;
    height: 12px;
    filter: brightness(0) invert(1);
}

.copy-btn.copied .copy-icon,
.copy-btn-email.copied .copy-icon {
    filter: none;
}


.email-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 150px;
    margin: 2rem auto 2rem;
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    background-color: var(--btn-dark2);
    color: var(--text);
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.email-contact:hover {
    transform: scale(1.05);
}

.email-contact:hover .email-icon {
    transform: none;
}

.email-icon {
    font-size: 18px;
    color: var(--text);
    flex-shrink: 0;
    margin-right: .5rem;
    transition: transform 0.8s ease;
}

.email-text {
    text-align: center;
    text-decoration: none;
    font-size: 0.95rem;
    flex: 1;
    margin: 0;
    padding: 0 1rem 0 1rem;
}

.copy-btn-email {
    margin-left: 0rem;
}

.copy-btn-email svg {
    width: 12px;
    height: 12px;
    fill: var(--white);
}

footer {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
    padding: 1.5rem 1rem;
    background: var(--dark1);
    margin-left: -1rem;
    margin-right: -1rem;
    margin-top: auto;
}

footer a {
    color: var(--text-muted);
    text-decoration: none;
}

footer a:hover {
    opacity: 0.8;
}