/* Base Variables */
:root {
    --max-width: 800px;
    --header-ratio: 56.25%; /* 16:9 aspect ratio */
    --name-size-large: 7rem;
    --name-size-medium: 5rem;
    --name-size-small: 4rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 2rem;
    --border-radius: 8px;
    --transition-speed: 0.3s;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html{
    overflow-x:hidden;
    width:100%;
}

body {
    background-color: var(--secondary-bg);
    color: var(--primary-text);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x:hidden;
    width:100%;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;

}


 body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        rgba(18, 16, 16, 0) 50%, 
        rgba(0, 0, 0, 0.25) 50%
    ), 
    linear-gradient(
        90deg, 
        rgba(255, 0, 0, 0.06), 
        rgba(0, 255, 0, 0.02), 
        rgba(0, 0, 255, 0.06)
    );
    background-size: 100% 2px, 3px 100%;
    pointer-events: none;
    z-index: 10001;
    opacity: 1; /* Adjust this for more or less visible scanlines */
/*    filter: brightness(2.4);*/
/*    filter: brightness(1.1) contrast(1.1);*/
}   


@font-face {
    font-family: 'Terminal';
    src: url('../fonts/Terminal.ttf') format('truetype');
}


a {
    text-decoration: none;
    color: inherit;
    transition: opacity var(--transition-speed);
}

a:hover {
    opacity: 0.8;
}

img {
    max-width: 100%;
    height: auto;
}



/* Container */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    background-color: var(--primary-bg);
    box-shadow: 0 0 20px var(--primary-bg);
    filter:blur(4px) brightness(1.4);
    animation: bloom 2s forwards;
}
@keyframes bloom {
  from {
    filter: blur(14px) brightness(2);
  }
  to {
    filter: blur(0) brightness(1.4);
  }
}
/* Header Section */
.artist-header {
    position: relative;
    overflow: hidden;
}

.header-image,
.header-empty {
    position: relative;
    width: 100%;
    padding-top: var(--header-ratio);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.header-empty {
    background-color: var(--secondary-bg);
}

/* Header Gradient Overlay */
.header-image::after,
.header-empty::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(
        to bottom,
        transparent,
        var(--primary-bg)
    );
    pointer-events: none;
}

/* Artist Name */
.artist-name-container {
    position: absolute;
    bottom: var(--spacing-lg);
    left: 0;
    right: 0;
    z-index: 2;
    text-align: center;
}

.artist-name {
    background: linear-gradient(var(--name-top-color), var(--name-bottom-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
/*    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);*/
    font-size: 3.5rem;
    font-weight: bold;
    line-height:1em;
    margin-bottom:0.1em;
    display:none;
}


/* Social Icons */
.social-icons {
    z-index: 3;
    margin-top: 1rem;
    align-items: center;
    justify-content: center;
    display:none;
}


.social-icons-bottom {
    z-index: 3;
    margin-top: 0rem;
}


.social-icons-editor{
    z-index: 3;
}

.social-icons a {
    color: var(--name-bottom-color);
    margin-left:0.4em;
    margin-right:0.4em;    
    font-size: 1.5rem;
    transition: transform var(--transition-speed);
}

.social-icons a:hover {
    transform: scale(1.1);
    opacity: 1;
}
.social-icons-bottom a {
    color: var(--primary-text);
    margin-left:0.4em;
    margin-right:0.4em;    
    font-size: 2rem;
    transition: transform var(--transition-speed);
}

.social-icons img {
    width: 40px;
    height: 40px;
    opacity: 0.9;
    border-radius:10px;
}

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



/* Genres */
.genres {
    text-align: center;
    font-style: italic;
    opacity: 0.7;
    margin: 1rem 0;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    margin-top:1rem;
}

.stream-link {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--secondary-bg);
    color: var(--secondary-text);
    aspect-ratio: 1;
    font-size: 3rem;
    transition: transform var(--transition-speed);
}

.stream-link:hover {
    transform: scale(1.05);
    opacity: 1;
}

/* Streaming Services */
.streaming-services {
    margin:auto;
    margin-bottom: 3rem;
    max-width:550px;
}

.main-services,
.other-services {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin: 0 auto;
    width: calc(100% - 2em);
    margin-bottom: 1rem;
}

.stream-link {
    width: calc((100% - 3rem) / 4); /* 4 items per row with 3 gaps */
    min-width: 70px;
}

.streamimg{
    text-align:center;
}

.streaming-services img {
    width: 80%;
    aspect-ratio: 1;
    border-radius: 12px;
    object-fit: contain;
    padding: 0rem;
}

.show-more-services {
    display: block;
    width: 100%;
    background: none;
    border: none;
    color: var(--primary-text);
    opacity: 0.4;
    cursor: pointer;
    transition: opacity var(--transition-speed);
    font-size:0.8em;
    margin-top:2em;
}

.show-more-services:hover {
    opacity: 1;
}

/* Email Capture */
.email-capture {

    background-color: var(--secondary-bg);
    padding: var(--spacing-lg);

  
    display: flex;
    gap: 1em;
    align-items: center;
     box-shadow: 0 0 30px inset var(--primary-bg);
}

.email-capture .profile-pic {
    width: 120px;
    height: 120px;
    object-fit: cover;


}

.email-form {
    flex: 1;
}

.email-form h2 {
    color: var(--secondary-text);
    margin-bottom: var(--spacing-md);
    font-size:1.5em;
}

.email-form form {
    display: flex;
    gap: var(--spacing-md);
}

.email-form input {
    flex: 1;
    padding: var(--spacing-md);
    border: none;

    background-color: var(--input-bg);
    color: var(--input-text);
}

.email-form input.error {
    border: 1px solid #ff4444;
}

.let-me-know {
    padding: var(--spacing-md) var(--spacing-lg);
    border: none;
    font-size:1.3em;
    font-family:"Terminal";
    background-color: var(--button-bg);
    color: var(--button-text);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform var(--transition-speed);
}

.hidden{
    display:none;
}
.let-me-know:hover {
    transform: translateY(-2px);
}

/* Shine Effect */
.let-me-know::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transform: translateX(-100%) skewX(-15deg);
    animation: smooth-shine 3s infinite;
}

@keyframes shine {
    from {
        left: -50%;
    }
    to {
        left: 150%;
    }
}

@keyframes smooth-shine {
    0% {
        transform: translateX(-100%) skewX(-15deg);
        opacity: 0;
    }
    20% {
        transform: translateX(-50%) skewX(-15deg);
        opacity: 0.3;
    }
    100% {
        transform: translateX(150%) skewX(-15deg);
        opacity: 0;
    }
}

/* Bio Sections */
.bio-section {
    
    color: var(--primary-text);
    padding:2em;
    line-height:1.7em;
}



/* Featured Release */
.featured-release {

    padding-left:2em;
    padding-right:2em;

}

.featured-release h3 {
    color: var(--secondary-text);
    margin-bottom: var(--spacing-md);
}


.youtube-feature{
    margin:auto;
    width:calc(100% - 4em);
}

/* YouTube Feature */
.youtube-thumbnail {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
 
    cursor: pointer;
    overflow: hidden;
 
}

.youtube-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-speed);
}

.youtube-thumbnail:hover img {
    transform: scale(1.05);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
}

.play-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%);
    border-left: 30px solid white;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
}

/* Connect Section */
.connect-section {
    background-color: var(--secondary-bg);
    padding: var(--spacing-lg);

    margin-bottom: 4em;
    display: flex;
    gap: var(--spacing-lg);
    align-items: center;

    box-shadow: 0 0 30px inset var(--primary-bg);
}

.connect-section .profile-pic {
    width: 100px;
    height: 100px;
    object-fit: cover;

}


.connect-section-bottom {
    background-color: var(--secondary-bg);
    padding: var(--spacing-lg);

    margin-bottom: 4em;

    width:100%;
    gap: var(--spacing-lg);
    align-items: center;
    text-align:center;
    box-shadow: 0 0 30px inset var(--primary-bg);
}

.connect-section-bottom .profile-pic {
    width: 100px;
    height: 100px;
    object-fit: cover;

}

.connect-info {

    flex: 1;
}

.connect-social-links {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.connect-info-bottom {

   
}

.connect-social-links-bottom {

}

.social-link {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.connect-social-links .social-link i {
    font-size: 1.5rem;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}


.social-link img {
    width: 24px;
    height: 24px;
}

/* Footer */
.site-footer {
    background-color: var(--secondary-bg);
    padding: var(--spacing-lg);
    text-align: center;
    margin: 0 calc(-1 * var(--spacing-md));
    margin-top: var(--spacing-lg);
}

.footer-logo {
    width: 60px;

}

.copyright {
    color: var(--secondary-text);
    font-size: 0.9rem;
}

/* Header Effects */
.dvd-effect {
    position: absolute;
    width: 100px;
    height: 50px;
    background: url('../img/dvd-logo.png') no-repeat center/contain;
    transition: transform 0.016s linear;
    z-index: 1;
}

.particles-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background-color: var(--primary-text);
    animation: drip linear forwards;
    opacity: 0.6;
}

@keyframes drip {
    from {
        transform: translateY(-20px);
        opacity: 0.6;
    }
    to {
        transform: translateY(1000px);
        opacity: 0;
    }
}

/* Error Message */
.error-message {
    color: #ff4444;
    font-size: 0.9rem;
    margin-top: var(--spacing-sm);
}

/* Success Message */
.success-message {
    text-align: center;
    color: var(--secondary-text);
    font-size: 1.2rem;
}



/* Responsive Design */
@media (max-width: 768px) {




    :root {
        --name-size-large: 7rem;
        --name-size-medium: 3.5rem;
        --name-size-small: 2rem;
    }

    .email-capture,
    .connect-section {
        flex-direction: column;
        text-align: center;
    }

    .email-form form {
        flex-direction: column;
    }

    .connect-social-links {
        margin-top:1em;
    }

    .streaming-services .main-services {
        grid-template-columns: repeat(4, 1fr);
    }

    .main-services,
    .other-services {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .streaming-services img {
        border-radius:5px;

    }

    .social-icons a img{
        border-radius:5px;
         width:30px;
         height:30px;
    }



}

@media (max-width: 480px) {
    :root {
        --name-size-large: 2.5rem;
        --name-size-medium: 2rem;
        --name-size-small: 1.5rem;
    }



    .artist-name-container {
        left: var(--spacing-md);
        right: var(--spacing-md);
        bottom: var(--spacing-md);
    }

   .artist-name {
        font-size: 2.5rem;
    }

}

.streaming-services-bottom{
    margin-bottom:3em;
}

.country-flag{
    vertical-align:middle;
    height:1em;
}


.secondarysection{
    color: var(--secondary-text);
    background-color: var(--secondary-bg);
    margin-top:2em;
    margin-bottom: 2em;
    box-shadow: 0 0 30px inset var(--primary-bg);
}



/* Add these CSS styles */
.announcement {
    text-align: center;
    margin: 1rem 0;
    padding: 0 2em;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--primary-text);
    font-style:italic;
    margin-bottom:1.5em;
}

.artist-links {
    display: flex;
    flex-direction: column;
    justify-content:space-between;
    gap: 0.8rem;
    margin:auto;
    margin-bottom:2em;
    width:490px;
    max-width:calc(100% - 2em);
}

.artist-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background-color: var(--secondary-bg);
    color: var(--secondary-text);

    transition: transform var(--transition-speed);
}

.link-title{
    flex-grow:1;
}

.artist-link:hover {
    transform: translateY(-2px);
    opacity: 1;
}

.artist-link i {
    font-size: 1.2rem;
}

.announcement, 
.artist-links a, 
.streaming-services > div:first-child,
.stream-link,
.show-more-services {
    opacity: 0;
}

.social-icons a {
    opacity: 0;
}

.artist-name {
    display: none; /* Since we're using fadeIn() */
}