:root {
    --blue-500: #8BACDA; 
    --cyan-400: #00FFF7; 
    --blue-950: #0D192B; 
    --blue-900: #14253D; 
    --blue-800: #2F415B; 
    --white: #FFFFFF; 
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Outfit", sans-serif;
}

body {
    background-color: var(--blue-950);
}

.nft-card-container {
    margin: 5rem auto;
    max-width: 375px;
    width: 90%;
    background-color: var(--blue-900);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px,
        rgba(0, 0, 0, 0.3) 0px 30px 60px -30px,
        rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
}

/* 1. NFT Image Link and Hover */
.nft-card-container .nft-image-link {
    position: relative;
    width: 85%;
    margin-top: 1.5rem;
    display: block;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

.nft-card-container .nft-image-link img {
    display: block;
    width: 100%;
    margin: 0;
    transition: opacity 0.3s ease;
}
 
.nft-card-container .nft-image-link .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--cyan-400); 
    opacity: 0; 
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease;
}
 
.nft-card-container .nft-image-link:hover .overlay {
    opacity: 0.5; 
}

/* Targetting the main image if it was not wrapped (kept for robustness) */
.nft-card-container > img:not(.author-info img):not(.balance-container img) {
    width: 85%;
    margin-top: 1.5rem;
    border-radius: 8px;
}

/* 2. Heading Link and Hover */
.nft-card-container .heading-link {
    width: 85%;
    cursor: pointer;
}

.nft-card-container .heading-link .heading {
    margin-top: 2rem;
    width: 100%;
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 600;
    transition: color 0.2s ease-in;
}

.nft-card-container .heading-link:hover .heading {
    color: var(--cyan-400);
}

/* 3. Bio Text */
.nft-card-container .bio {
    width: 85%;
    color: var(--blue-500);
    font-weight: 300;
    font-size: 1.2rem;
    margin-top: 1rem;
}

/* 4. Balance Container */
.nft-card-container .balance-container {
    width: 85%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    font-size: 0.9rem;
}

.nft-card-container .balance-container .group1,
.nft-card-container .balance-container .group2 {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.nft-card-container .balance-container .group1 p {
    color: var(--cyan-400);
    font-weight: 600;
}

.nft-card-container .balance-container .group1 img {
    margin: 0;
    width: 0.9em;
    height: 0.9em;
    transform: translateY(1px);
}

.nft-card-container .balance-container .group2 p {
    color: var(--blue-500);
}

.nft-card-container .balance-container .group2 img {
    margin: 0;
    width: 0.9em;
    height: 0.9em;
    transform: translateY(1px);
}

/* 5. Divider (HR) */
.nft-card-container hr {
    width: 85%;
    margin-top: 1rem;
    border: none;
    height: 1px;
    background-color: var(--blue-800); 
}

/* 6. Author Info and Hover */
.nft-card-container .author-info {
    margin-bottom: 1.5rem;
    margin-top: 1rem;
    width: 85%;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nft-card-container .author-info img {
    margin: 0;
    border: 1px solid var(--white);
    border-radius: 50%;
    width: 2rem;
}

.nft-card-container .author-info p {
    color: var(--blue-500);
    margin: 0;
}

.nft-card-container .author-info p .creator-link {
    text-decoration: none;
}

.nft-card-container .author-info p span {
    color: var(--white);
    transition: color 0.2s ease-in;
}

.nft-card-container .author-info p span:hover {
    color: var(--cyan-400);
}