/*TRANSITION BETWEEN PAGES*/
@view-transition {
    navigation: auto;
}
::view-transition-group(page-content) {
animation-duration: 0.5s;
animation-timing-function: ease;
}
::view-transition-old(page-content) {
    animation-name: slide-out;
}
::view-transition-new(page-content) {
    animation-name: slide-in;
}
body {
    view-transition-name: page-content;
}

@keyframes slide-out {
    to{
        translate: -100vw;
    }
}
@keyframes slide-in {
    from{
        translate: 100vw;
    }
}

.hero-banner {
    font-family: var(--font-chewy);
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    background: var(--surface-primary);
}

.hero-banner-left {
    line-height: 0.5;
    display: flex;
    justify-content: center;
    gap: var(--space-xs);
    padding: var(--space-xs);
}
img.logo-img {
    width: 80px;
    height: 70px;
    border-radius: var(--radius-sm);
}
.banner-header {
    display: block;
    font-size: var(--text-xl);
    margin: var(--space-xs) 0 0;
}
.banner-text {
    margin: 0;
}
.hero-banner-right {
    margin-right: var(--space-sm);
}

.hero-content {
    font-family: var(--font-chewy);
    background: url("../assets/images/hero-img.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: var(--radius-lg);
    margin: var(--space-lg) var(--space-md);
    min-height: 300px;
    display: grid;
    grid-template-columns: minmax(200px, 500px);
}
.collections-hero {
    background: url("../assets/images/collection-hero-img.jpg");
 
}
.hero-title {
    font-size: calc(var(--text-4xl) * 2);
    line-height: 0.8;
}
.hero-title span {
    color: var(--accent-dark);
}
.hero-actions {
    margin-top: auto;
}
.hero-content-inner {
    display: flex;
    flex-direction: column;
    padding: var(--space-xl);
    backdrop-filter: var(--filter) brightness(50%);
    -webkit-mask-image: linear-gradient(to right, black 60%, transparent 100%);
    mask-image: linear-gradient(to right, black 60%, transparent 100%);
}

hr {
  border: 1px solid #2d2d2d;

    min-height: 200px;
}
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: first baseline;
    width: 100%;
}
.section-title {
    font-size: clamp(var(--text-lg), 5vw, var(--text-3xl));
}
.link {
    background: none;
    display: inline;
    border: none;
    color: var(--link);
    font-family: inherit;
    font-size: inherit;
    cursor: pointer;
}
.link:hover {
    color: var(--accent);
    text-decoration: none;
}

.section {
    min-height: 200px;
}


.modal-container, .magnified-img-container {
    background: rgba(0, 0, 0, 0.737);
    backdrop-filter: var(--filter) brightness(60%);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: var(--z-modal);
overflow-y: auto;
padding: var(--space-lg) 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* initial state is inline (JS sets position/size) */
.magnified-image {
  transition: all 300ms ease;
  cursor: zoom-out;
  object-fit: contain;
}

/* FINAL STATE */
.magnified-image.open {
  left: 50% !important;
  top: 50% !important;
  width: auto !important;
  height: auto !important;
  max-width: 90vw;
  max-height: 90vh;
  transform: translate(-50%, -50%);
}

.card {
    background: var(--surface-primary);
    padding: var(--space-md);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}
.artists-list {
    width: 90%;
    max-width: 800px;
    height: 100%;
    max-height: 700px;
    overflow-y: auto;
}

#imagePreview {
    width: 300px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: var(--radius-md);
    display: block;
    margin: 0 auto;
}

.sidebarBottom {
    overflow: hidden;
position: relative;

    margin: auto var(--space-md) var(--space-lg);
    padding: var(--space-sm) var(--space-sm) 0;
    border-radius: var(--radius-md);
    background: var(--surface-secondary);

    display: flex;
    justify-content: space-between;
}
.userInfo {
height: 100%;
display: flex;
align-items: center;
gap: var(--space-sm);
}
.userAvatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: transform var(--transition-fast);
    border: 2px solid var(--primary);
}
.userAvatar:hover {
    transform: rotate(360deg);
}

span#sidebarName.sidebarName,
.sidebarUsername {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

span#sidebarName.sidebarName {
    font-size: clamp(0.8rem, 1.4vw, 0.9rem);
    margin-bottom: 0;
margin-right: var(--space-md);

}
.sidebarUsername {
        font-size: clamp(0.8rem, 1vw, 0.9rem);
        margin-top: 0;
        cursor: pointer;
}
.logoutBtn {
    position: sticky;
    right: 0;
    background: none;
    border: none;
        background: var(--surface-secondary);
    color: var(--text-primary);
    cursor: pointer;
}
.logoutBtn:hover {
    color: var(--danger);
    width: fit-content;
}
img {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
corner-shape: round;
}

.sidebarLegalLinks {
    position: absolute;
    bottom: 2px;
width: 100%;
padding: 0 var(--space-sm);
    font-size: var(--text-xs);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.sidebarLegalLinks a {
    color: var(--muted);


}