/* ========================================
   SARINA â€” Carrd-Style Personal Portfolio
   Mangalya Visual Language
   ======================================== */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --green: #2D4A2D;
    --green-mid: #3B5E3B;
    --green-light: #4A7A4A;
    --gold: #C4A35A;
    --gold-light: #D4B96A;
    --gold-dark: #A8893E;
    --cream: #FDF8F0;
    --cream-dark: #F5EDDF;
    --white: #FFFFFF;
    --text: #1E1B17;
    --text-mid: #4A4540;
    --text-soft: #8A8278;
    --border: #E8DFD0;

    --font-display: 'Cinzel', serif;
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Lato', sans-serif;

    --card-max: 620px;
    --card-pad: 40px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: #3A1520;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='140' viewBox='0 0 80 140'%3E%3Cg fill='%234D2232' fill-opacity='1'%3E%3C!-- stem --%3E%3Crect x='39' y='0' width='2' height='140' rx='1'/%3E%3C!-- top leaf cluster --%3E%3Cellipse cx='40' cy='30' rx='12' ry='7' transform='rotate(-30 40 30)'/%3E%3Cellipse cx='40' cy='30' rx='12' ry='7' transform='rotate(30 40 30)'/%3E%3Cellipse cx='40' cy='22' rx='5' ry='10'/%3E%3Ccircle cx='40' cy='42' r='3'/%3E%3C!-- bottom leaf cluster --%3E%3Cellipse cx='40' cy='100' rx='12' ry='7' transform='rotate(-30 40 100)'/%3E%3Cellipse cx='40' cy='100' rx='12' ry='7' transform='rotate(30 40 100)'/%3E%3Cellipse cx='40' cy='92' rx='5' ry='10'/%3E%3Ccircle cx='40' cy='112' r='3'/%3E%3C/g%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 80px 140px;
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

/* === LEAF PATTERN STRIP === */
.leaf-strip {
    width: 100%;
    height: 36px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='36' viewBox='0 0 48 36'%3E%3Cg fill='%23C4A35A' fill-opacity='0.3'%3E%3Cpath d='M24 3 C24 3 18 10 18 16 C18 19.3 20.7 22 24 22 C27.3 22 30 19.3 30 16 C30 10 24 3 24 3Z'/%3E%3Cpath d='M24 12 C22.5 12 21 13.5 21 16 C21 17.5 22.5 19 24 19 C25.5 19 27 17.5 27 16 C27 13.5 25.5 12 24 12Z' fill='%23FDF8F0'/%3E%3Ccircle cx='24' cy='28' r='1.5' fill-opacity='0.2'/%3E%3C/g%3E%3C/svg%3E");
    background-repeat: repeat-x;
    background-position: center;
    background-size: 48px 36px;
}

/* === CARD BASE === */
.card {
    width: 100%;
    max-width: var(--card-max);
    margin: 0 auto;
    background: var(--cream);
}

.card + .card {
    margin-top: 2px;
}

.card-inner {
    padding: var(--card-pad);
}

/* === CARD TYPOGRAPHY === */
.card-label {
    font-family: var(--font-body);
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--gold-dark);
    font-weight: 700;
    text-align: center;
    margin-bottom: 6px;
}
.card-label-light {
    color: var(--gold);
}
.card-label-dark {
    color: var(--green);
}
.card-title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--green);
    text-align: center;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
}
.card-title-gold {
    color: var(--gold);
}
.card-title-dark {
    color: var(--green);
}
.card-divider {
    text-align: center;
    margin-bottom: 24px;
}
.card-divider span {
    color: var(--gold);
    font-size: 1.1rem;
}
.card-divider span.dark {
    color: var(--green);
}
.card-text {
    font-size: 0.92rem;
    color: var(--text-mid);
    line-height: 1.8;
    margin-bottom: 16px;
}
.card-text-light {
    color: rgba(253, 248, 240, 0.8);
    text-align: center;
}
.card-quote {
    border-left: 3px solid var(--gold);
    padding: 14px 20px;
    margin: 20px 0;
    background: var(--cream-dark);
    border-radius: 0 6px 6px 0;
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.05rem;
    color: var(--green);
    line-height: 1.6;
}

/* === HERO CARD === */
.card-hero {
    text-align: center;
    background: var(--green);
    padding: 0;
}
.hero-content {
    padding: 48px var(--card-pad) 40px;
}
.hero-avatar-ring {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 3px solid var(--gold);
    padding: 4px;
    margin: 0 auto 20px;
    position: relative;
}
.hero-avatar-ring::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 1px solid rgba(196, 163, 90, 0.3);
}
.hero-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
}
.hero-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-location {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: rgba(196, 163, 90, 0.7);
    margin-bottom: 8px;
}
.hero-name {
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--gold);
    letter-spacing: 0.06em;
    margin-bottom: 4px;
    line-height: 1.1;
}
.hero-tagline {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-style: italic;
    color: rgba(253, 248, 240, 0.65);
    margin-bottom: 20px;
    font-weight: 400;
}
.hero-bio {
    font-size: 0.9rem;
    color: rgba(253, 248, 240, 0.75);
    line-height: 1.75;
    margin-bottom: 24px;
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
}
.hero-pills {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}
.pill {
    font-size: 0.72rem;
    padding: 6px 14px;
    border: 1px solid rgba(196, 163, 90, 0.35);
    border-radius: 20px;
    color: var(--gold);
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}
.pill:hover {
    background: rgba(196, 163, 90, 0.15);
    border-color: var(--gold);
}
.hero-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.link-btn {
    display: block;
    padding: 14px;
    background: rgba(196, 163, 90, 0.12);
    border: 1px solid rgba(196, 163, 90, 0.3);
    border-radius: 8px;
    color: var(--cream);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    text-align: center;
}
.link-btn:hover {
    background: rgba(196, 163, 90, 0.25);
    border-color: var(--gold);
    transform: translateY(-1px);
}

/* === ABOUT GRID === */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 24px;
}
.about-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    transition: all 0.3s ease;
}
.about-item:hover {
    border-color: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(45, 74, 45, 0.06);
}
.about-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    width: 36px;
    text-align: center;
}
.about-item h3 {
    font-family: var(--font-display);
    font-size: 0.82rem;
    color: var(--green);
    letter-spacing: 0.06em;
    margin-bottom: 2px;
}
.about-item p {
    font-size: 0.82rem;
    color: var(--text-soft);
    line-height: 1.5;
}

/* === CURRENTLY LIST === */
.card-currently {
    background: var(--cream-dark);
}
.currently-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.currently-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 16px;
    background: var(--cream);
    border-radius: 10px;
    border: 1px solid var(--border);
}
.currently-emoji {
    font-size: 1.3rem;
    flex-shrink: 0;
    width: 32px;
    text-align: center;
}
.currently-item strong {
    font-family: var(--font-display);
    font-size: 0.75rem;
    color: var(--green);
    letter-spacing: 0.08em;
    display: block;
    margin-bottom: 2px;
}
.currently-item p {
    font-size: 0.85rem;
    color: var(--text-mid);
    line-height: 1.5;
}

/* === GALLERY GRID === */
.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/3;
}
.gallery-item.gallery-tall {
    grid-row: span 2;
    aspect-ratio: auto;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.gallery-item:hover img {
    transform: scale(1.06);
}
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(45, 74, 45, 0);
    display: flex;
    align-items: flex-end;
    padding: 12px;
    transition: background 0.4s ease;
}
.gallery-overlay span {
    font-family: var(--font-display);
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--cream);
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.35s ease;
}
.gallery-item:hover .gallery-overlay {
    background: rgba(45, 74, 45, 0.45);
}
.gallery-item:hover .gallery-overlay span {
    opacity: 1;
    transform: translateY(0);
}

/* === SOUND CARD === */
.card-sound {
    background: var(--green);
}
.iem-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.iem-item {
    display: flex;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(196, 163, 90, 0.15);
    align-items: flex-start;
}
.iem-item:last-child {
    border-bottom: none;
}
.iem-number {
    font-family: var(--font-display);
    font-size: 0.82rem;
    color: var(--gold);
    width: 32px;
    height: 32px;
    border: 1px solid rgba(196,163,90,0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}
.iem-info h3 {
    font-family: var(--font-display);
    font-size: 0.95rem;
    color: var(--cream);
    letter-spacing: 0.04em;
    margin-bottom: 2px;
}
.iem-sub {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 0.95rem;
    color: var(--gold);
    margin-bottom: 8px;
}
.iem-info p {
    font-size: 0.85rem;
    color: rgba(253, 248, 240, 0.7);
    line-height: 1.65;
    margin-bottom: 10px;
}
.iem-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.iem-tags span {
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 4px 10px;
    border: 1px solid rgba(196, 163, 90, 0.25);
    border-radius: 14px;
    color: rgba(196, 163, 90, 0.7);
}

/* === STORIES ACCORDION === */
.story-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 8px;
}
.story-item {
    display: block;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    border-bottom: 1px solid var(--border);
    padding: 0;
    cursor: pointer;
    font-family: inherit;
}
.story-item:first-child {
    border-top: 1px solid var(--border);
}
.story-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 0;
}
.story-name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--green);
    font-weight: 600;
    flex: 1;
}
.story-genre {
    font-size: 0.68rem;
    color: var(--text-soft);
    letter-spacing: 0.04em;
    display: none;
}
.story-arrow {
    width: 18px;
    height: 18px;
    color: var(--gold);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}
.story-item[data-open="true"] .story-arrow {
    transform: rotate(180deg);
}
.story-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}
.story-body p {
    font-size: 0.88rem;
    color: var(--text-mid);
    line-height: 1.75;
    padding-bottom: 16px;
}

/* === CONNECT CARD === */
.card-connect {
    background: var(--gold);
}
.connect-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.connect-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(45, 74, 45, 0.15);
    border-radius: 10px;
    transition: all 0.3s ease;
}
.connect-btn:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(45, 74, 45, 0.1);
}
.connect-btn svg {
    width: 20px;
    height: 20px;
    color: var(--green);
    flex-shrink: 0;
}
.connect-btn span {
    font-size: 0.88rem;
    color: var(--green);
    font-weight: 700;
    letter-spacing: 0.04em;
}

/* === FOOTER === */
.card-footer {
    width: 100%;
    max-width: var(--card-max);
    background: var(--green);
    margin: 2px auto 0;
    text-align: center;
}
.footer-inner {
    padding: 36px var(--card-pad) 28px;
}
.footer-logo {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--gold);
    letter-spacing: 0.06em;
    display: block;
    margin-bottom: 4px;
}
.footer-sub {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 0.9rem;
    color: rgba(253, 248, 240, 0.5);
    margin-bottom: 16px;
}
.footer-copy {
    font-size: 0.68rem;
    color: rgba(253, 248, 240, 0.3);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* === SARINAFY CARD === */
.card-sarinafy {
    background: var(--green);
}

/* ===== SARINAFY COMPONENTS ===== */

.spotify-auth-container {
    text-align: center;
    padding: 3rem 1rem;
    color: rgba(253, 248, 240, 0.85); /* Fixed contrast */
}

.spotify-auth-container p {
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.05rem;
}

.spotify-login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #1DB954;
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    border-radius: 30px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(29, 185, 84, 0.3);
}

.spotify-login-btn:hover {
    background: #1ed760;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(29, 185, 84, 0.4);
}


.sarinafy-control {
    margin-top: 1.5rem;
}
.mood-emoji-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding: 0 4px;
}
.mood-emoji-btn {
    background: none;
    border: 2px solid transparent;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.4;
    filter: grayscale(0.6);
}
.mood-emoji-btn.active {
    opacity: 1;
    filter: grayscale(0);
    transform: scale(1.35);
    border-color: var(--gold);
    background: rgba(196, 163, 90, 0.15);
}
.mood-emoji-btn:hover {
    opacity: 0.8;
    filter: grayscale(0.2);
    transform: scale(1.15);
}

/* Mood Slider */
.mood-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, 
        #5B7BB5 0%, #7A9EC2 25%, #C4A35A 50%, #D4A847 75%, #E8823A 100%
    );
    border-radius: 4px;
    outline: none;
    margin: 8px 0;
    cursor: pointer;
}
.mood-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--gold);
    border: 3px solid var(--cream);
    box-shadow: 0 0 12px rgba(196, 163, 90, 0.5);
    cursor: pointer;
    transition: box-shadow 0.3s ease, transform 0.2s ease;
}
.mood-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 0 20px rgba(196, 163, 90, 0.7);
}
.mood-slider::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--gold);
    border: 3px solid var(--cream);
    box-shadow: 0 0 12px rgba(196, 163, 90, 0.5);
    cursor: pointer;
}

/* Mood Labels */
.mood-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 4px;
}
.mood-labels span {
    font-size: 0.58rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(253, 248, 240, 0.35);
    transition: color 0.3s ease, font-weight 0.3s ease;
}
.mood-labels span.active {
    color: var(--gold);
    font-weight: 700;
}

/* Mood Display */
.mood-display {
    text-align: center;
    padding: 28px 0 20px;
    transition: all 0.5s ease;
}
.mood-display-emoji {
    font-size: 3.5rem;
    margin-bottom: 8px;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: inline-block;
}
.mood-display-emoji.bounce {
    animation: moodBounce 0.6s ease;
}
@keyframes moodBounce {
    0% { transform: scale(1); }
    30% { transform: scale(1.4) rotate(-5deg); }
    60% { transform: scale(0.9) rotate(3deg); }
    100% { transform: scale(1) rotate(0); }
}
.mood-display-label {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--gold);
    letter-spacing: 0.06em;
    margin-bottom: 6px;
    transition: all 0.4s ease;
}
.mood-display-desc {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 0.92rem;
    color: rgba(253, 248, 240, 0.6);
    max-width: 380px;
    margin: 0 auto;
    line-height: 1.5;
    transition: all 0.4s ease;
}

/* Playlist / Track Iterms */
.mood-playlist {
    margin-top: 16px;
}
.playlist-heading {
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(196, 163, 90, 0.5);
    text-align: center;
    margin-bottom: 16px;
}
.playlist-tracks {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.track-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 8px;
    border-bottom: 1px solid rgba(196, 163, 90, 0.1);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(-20px);
    animation: trackSlideIn 0.4s ease forwards;
    position: relative;
}
.track-item:last-child {
    border-bottom: none;
}
@keyframes trackSlideIn {
    to { opacity: 1; transform: translateX(0); }
}
.track-num {
    font-family: var(--font-display);
    font-size: 0.72rem;
    color: rgba(196, 163, 90, 0.4);
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}
.track-art {
    width: 42px;
    height: 42px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.track-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.track-art::after {
    content: '▶';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(45, 74, 45, 0.5);
    color: var(--gold);
    font-size: 0.7rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.track-info {
    flex: 1;
    min-width: 0;
}
.track-name {
    font-family: var(--font-display);
    font-size: 0.82rem;
    color: var(--cream);
    letter-spacing: 0.03em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.track-artist {
    font-size: 0.72rem;
    color: rgba(253, 248, 240, 0.5);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.track-tags {
    display: flex;
    gap: 4px;
    margin-top: 4px;
}
.track-tag {
    font-size: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(196, 163, 90, 0.1);
    color: var(--gold);
}
.track-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}
.track-duration {
    font-size: 0.68rem;
    color: rgba(253, 248, 240, 0.3);
    font-family: var(--font-body);
}
.track-add-btn, .track-remove-btn {
    background: none;
    border: none;
    color: var(--gold);
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.track-item:hover {
    background: rgba(196, 163, 90, 0.06);
    border-radius: 8px;
}
.track-item:hover .track-name {
    color: var(--gold);
}
.track-item:hover .track-art::after {
    opacity: 1;
}
.track-item:hover .track-add-btn,
.track-item:hover .track-remove-btn {
    opacity: 0.7;
    transform: scale(1);
}
.track-add-btn:hover, .track-remove-btn:hover {
    opacity: 1 !important;
    transform: scale(1.1) !important;
}
.track-remove-btn {
    color: #e98282;
}

/* Saved Playlist Section */
.saved-playlist-section {
    background: rgba(0, 0, 0, 0.15);
    border-top: 1px solid rgba(196, 163, 90, 0.15);
    padding: 24px 0 32px;
    margin-top: 32px;
}
.saved-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.saved-header-left {
    display: flex;
    align-items: baseline;
    gap: 12px;
}
.saved-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--gold);
}
.saved-count {
    font-size: 0.7rem;
    color: rgba(253, 248, 240, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.saved-clear-btn {
    background: none;
    border: 1px solid rgba(196, 163, 90, 0.3);
    color: var(--gold);
    font-size: 0.65rem;
    padding: 4px 10px;
    border-radius: 20px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}
.saved-clear-btn:hover {
    background: rgba(196, 163, 90, 0.1);
    border-color: var(--gold);
}
.saved-empty {
    text-align: center;
    padding: 32px 0;
    color: rgba(253, 248, 240, 0.4);
    font-size: 0.9rem;
    font-style: italic;
    border: 1px dashed rgba(196, 163, 90, 0.2);
    border-radius: 8px;
    transition: all 0.3s ease;
}
.saved-empty-icon {
    display: block;
    font-size: 2rem;
    margin-bottom: 8px;
    opacity: 0.5;
}
.saved-empty-sub {
    font-size: 0.75rem;
    margin-top: 4px;
    opacity: 0.7;
    font-style: normal;
}

/* Visualizer Bars */
.mood-visualizer {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 5px;
    height: 36px;
    margin-top: 24px;
    opacity: 0.5;
}
.viz-bar {
    width: 4px;
    background: var(--gold);
    border-radius: 2px;
    animation: vizPulse 1.2s ease-in-out infinite;
}
.viz-bar:nth-child(1) { height: 12px; animation-delay: 0s; }
.viz-bar:nth-child(2) { height: 20px; animation-delay: 0.15s; }
.viz-bar:nth-child(3) { height: 28px; animation-delay: 0.3s; }
.viz-bar:nth-child(4) { height: 36px; animation-delay: 0.45s; }
.viz-bar:nth-child(5) { height: 28px; animation-delay: 0.6s; }
.viz-bar:nth-child(6) { height: 20px; animation-delay: 0.75s; }
.viz-bar:nth-child(7) { height: 12px; animation-delay: 0.9s; }
@keyframes vizPulse {
    0%, 100% { transform: scaleY(0.4); opacity: 0.4; }
    50% { transform: scaleY(1); opacity: 1; }
}

/* Sarinafy animation stagger */
.card-sarinafy.visible .sarinafy-control {
    animation: blurIn 0.6s ease 0.3s both;
}
.card-sarinafy.visible .mood-display {
    animation: blurIn 0.7s ease 0.5s both;
}
.card-sarinafy.visible .mood-playlist {
    animation: riseBlur 0.7s ease 0.7s both;
}
.card-sarinafy.visible .mood-visualizer {
    animation: blurIn 0.5s ease 0.9s both;
}
/* ==========================================
   ANIMATIONS â€” Cinematic Entrance System
   ========================================== */

/* --- Keyframes --- */
@keyframes pulseRing {
    0%, 100% { box-shadow: 0 0 0 0 rgba(196, 163, 90, 0.4); }
    50% { box-shadow: 0 0 0 14px rgba(196, 163, 90, 0); }
}
@keyframes floatUp {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}
@keyframes gentleBreathe {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.015); }
}
@keyframes leafDrift {
    from { background-position-x: 0; }
    to { background-position-x: 48px; }
}
@keyframes borderGlow {
    0%, 100% { border-color: rgba(196, 163, 90, 0.3); }
    50% { border-color: rgba(196, 163, 90, 0.7); }
}
@keyframes goldWipe {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}
@keyframes clipRevealDown {
    from { clip-path: inset(0 0 100% 0); }
    to { clip-path: inset(0 0 0% 0); }
}
@keyframes clipRevealCenter {
    from { clip-path: inset(50% 25% 50% 25%); }
    to { clip-path: inset(0% 0% 0% 0%); }
}
@keyframes blurIn {
    from { opacity: 0; filter: blur(12px); transform: translateY(16px); }
    to { opacity: 1; filter: blur(0); transform: translateY(0); }
}
@keyframes tilt3dIn {
    from { opacity: 0; transform: perspective(800px) rotateX(8deg) translateY(40px); }
    to { opacity: 1; transform: perspective(800px) rotateX(0deg) translateY(0); }
}
@keyframes riseBlur {
    from { opacity: 0; filter: blur(8px); transform: translateY(30px) scale(0.97); }
    to { opacity: 1; filter: blur(0); transform: translateY(0) scale(1); }
}
@keyframes slideFromLeft {
    from { opacity: 0; transform: translateX(-30px); filter: blur(4px); }
    to { opacity: 1; transform: translateX(0); filter: blur(0); }
}
@keyframes slideFromRight {
    from { opacity: 0; transform: translateX(30px); filter: blur(4px); }
    to { opacity: 1; transform: translateX(0); filter: blur(0); }
}
@keyframes dropIn {
    from { opacity: 0; transform: translateY(-20px) scale(0.9); filter: blur(6px); }
    to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}
@keyframes flipIn {
    from { opacity: 0; transform: perspective(600px) rotateY(25deg) scale(0.9); }
    to { opacity: 1; transform: perspective(600px) rotateY(0deg) scale(1); }
}

/* ---- CARD ENTRANCE â€” 3D TILT + BLUR ---- */
.card, .card-footer {
    opacity: 0;
    transform: perspective(800px) rotateX(4deg) translateY(50px);
    filter: blur(6px);
    transition: opacity 1s cubic-bezier(0.22, 0.61, 0.36, 1),
                transform 1s cubic-bezier(0.22, 0.61, 0.36, 1),
                filter 1s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.card.visible, .card-footer.visible {
    opacity: 1;
    transform: perspective(800px) rotateX(0deg) translateY(0);
    filter: blur(0);
}

/* ---- HERO â€” Cinematic Sequence ---- */
.card-hero.visible .hero-avatar-ring {
    animation: dropIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s both,
               pulseRing 3s ease-in-out 1.8s infinite;
}
.hero-avatar-ring::before {
    animation: borderGlow 3s ease-in-out infinite;
}
.card-hero.visible .hero-location {
    animation: blurIn 0.6s ease 0.4s both;
}
.card-hero.visible .hero-name {
    background: linear-gradient(90deg,
        var(--gold) 0%, #E8D5A0 25%, var(--gold) 50%, #E8D5A0 75%, var(--gold) 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: clipRevealDown 0.9s cubic-bezier(0.77, 0, 0.18, 1) 0.5s both,
               shimmer 4s linear 2s infinite;
}
.card-hero.visible .hero-tagline {
    animation: blurIn 0.7s ease 0.75s both;
}
.card-hero.visible .hero-bio {
    animation: blurIn 0.7s ease 0.9s both;
}
.card-hero.visible .hero-pills {
    animation: blurIn 0.5s ease 1.1s both;
}
.card-hero.visible .pill {
    animation: dropIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.card-hero.visible .pill:nth-child(1) { animation-delay: 1.15s; }
.card-hero.visible .pill:nth-child(2) { animation-delay: 1.22s; }
.card-hero.visible .pill:nth-child(3) { animation-delay: 1.29s; }
.card-hero.visible .pill:nth-child(4) { animation-delay: 1.36s; }
.card-hero.visible .hero-links {
    animation: blurIn 0.6s ease 1.4s both;
}
.card-hero.visible .link-btn {
    animation: riseBlur 0.5s ease both;
}
.card-hero.visible .link-btn:nth-child(1) { animation-delay: 1.45s; }
.card-hero.visible .link-btn:nth-child(2) { animation-delay: 1.55s; }
.card-hero.visible .link-btn:nth-child(3) { animation-delay: 1.65s; }

/* ---- INNER CONTENT â€” Blur + Clip Reveals ---- */
.card.visible .card-label {
    animation: blurIn 0.6s ease 0.15s both;
}
.card.visible .card-title {
    animation: clipRevealDown 0.8s cubic-bezier(0.77, 0, 0.18, 1) 0.25s both;
}
/* Gold line wipe under titles */
.card-divider {
    position: relative;
}
.card-divider::after {
    content: '';
    display: block;
    width: 60px;
    height: 1px;
    background: var(--gold);
    margin: 8px auto 0;
    transform: scaleX(0);
    transform-origin: center;
}
.card.visible .card-divider::after {
    animation: goldWipe 0.6s ease 0.45s both;
}
.card.visible .card-divider span {
    animation: blurIn 0.5s ease 0.35s both, floatUp 3s ease-in-out 1s infinite;
    display: inline-block;
}
.card.visible .card-text {
    animation: blurIn 0.6s ease 0.4s both;
}
.card.visible .card-quote {
    animation: slideFromLeft 0.7s ease 0.5s both;
}

/* ---- ABOUT â€” Staggered 3D Flip In ---- */
.card-about.visible .about-item {
    animation: flipIn 0.6s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}
.card-about.visible .about-item:nth-child(1) { animation-delay: 0.4s; }
.card-about.visible .about-item:nth-child(2) { animation-delay: 0.55s; }
.card-about.visible .about-item:nth-child(3) { animation-delay: 0.7s; }

/* ---- CURRENTLY â€” Slide from alternating sides ---- */
.card-currently.visible .currently-item:nth-child(odd) {
    animation: slideFromLeft 0.6s ease both;
}
.card-currently.visible .currently-item:nth-child(even) {
    animation: slideFromRight 0.6s ease both;
}
.card-currently.visible .currently-item:nth-child(1) { animation-delay: 0.25s; }
.card-currently.visible .currently-item:nth-child(2) { animation-delay: 0.4s; }
.card-currently.visible .currently-item:nth-child(3) { animation-delay: 0.55s; }
.card-currently.visible .currently-item:nth-child(4) { animation-delay: 0.7s; }

/* ---- GALLERY â€” Clip Reveal Center Burst ---- */
.card-gallery.visible .gallery-item {
    animation: clipRevealCenter 0.7s cubic-bezier(0.77, 0, 0.18, 1) both;
}
.card-gallery.visible .gallery-item:nth-child(1) { animation-delay: 0.15s; }
.card-gallery.visible .gallery-item:nth-child(2) { animation-delay: 0.25s; }
.card-gallery.visible .gallery-item:nth-child(3) { animation-delay: 0.35s; }
.card-gallery.visible .gallery-item:nth-child(4) { animation-delay: 0.45s; }
.card-gallery.visible .gallery-item:nth-child(5) { animation-delay: 0.55s; }
.card-gallery.visible .gallery-item:nth-child(6) { animation-delay: 0.65s; }

/* ---- SOUND â€” Rise with blur, staggered ---- */
.card-sound.visible .iem-item {
    animation: riseBlur 0.7s ease both;
}
.card-sound.visible .iem-item:nth-child(1) { animation-delay: 0.3s; }
.card-sound.visible .iem-item:nth-child(2) { animation-delay: 0.55s; }
.card-sound.visible .iem-item:nth-child(3) { animation-delay: 0.8s; }

/* ---- STORIES â€” Tilt 3D In ---- */
.card-stories.visible .story-item {
    animation: tilt3dIn 0.6s ease both;
}
.card-stories.visible .story-item:nth-child(1) { animation-delay: 0.2s; }
.card-stories.visible .story-item:nth-child(2) { animation-delay: 0.4s; }
.card-stories.visible .story-item:nth-child(3) { animation-delay: 0.6s; }

/* ---- CONNECT â€” Drop In stagger ---- */
.card-connect.visible .connect-btn {
    animation: dropIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.card-connect.visible .connect-btn:nth-child(1) { animation-delay: 0.15s; }
.card-connect.visible .connect-btn:nth-child(2) { animation-delay: 0.25s; }
.card-connect.visible .connect-btn:nth-child(3) { animation-delay: 0.35s; }
.card-connect.visible .connect-btn:nth-child(4) { animation-delay: 0.45s; }
.card-connect.visible .connect-btn:nth-child(5) { animation-delay: 0.55s; }

/* ---- FOOTER â€” Blur entrance ---- */
.card-footer.visible .footer-logo {
    animation: clipRevealDown 0.7s ease 0.1s both;
}
.card-footer.visible .footer-sub {
    animation: blurIn 0.5s ease 0.3s both;
}
.card-footer.visible .footer-copy {
    animation: blurIn 0.4s ease 0.5s both;
}

/* ---- Leaf Strip Drift ---- */
.leaf-strip {
    animation: leafDrift 8s linear infinite;
}

/* ---- HOVER MICRO-INTERACTIONS ---- */
.about-item { transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1); }
.about-item:hover { transform: translateY(-3px) scale(1.01); border-color: var(--gold); box-shadow: 0 6px 20px rgba(45, 74, 45, 0.08); }
.about-icon { transition: transform 0.3s ease; }
.about-item:hover .about-icon { transform: scale(1.2); }

.currently-item { transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1); }
.currently-item:hover { transform: translateX(4px); border-color: var(--gold); }
.currently-emoji { transition: transform 0.3s ease; }
.currently-item:hover .currently-emoji { transform: scale(1.25) rotate(-5deg); }

.link-btn { transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1); }
.link-btn:hover { transform: translateY(-2px) scale(1.015); background: rgba(196, 163, 90, 0.25); box-shadow: 0 4px 20px rgba(196, 163, 90, 0.2); }
.link-btn:active { transform: scale(0.98); }

.pill { transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); }
.pill:hover { transform: translateY(-2px) scale(1.05); background: rgba(196, 163, 90, 0.2); }

.connect-btn { transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1); }
.connect-btn:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 8px 24px rgba(45, 74, 45, 0.12); }
.connect-btn:active { transform: scale(0.97); }
.connect-btn svg { transition: transform 0.3s ease; }
.connect-btn:hover svg { transform: scale(1.15); }

.iem-item { transition: transform 0.3s ease; }
.iem-item:hover { transform: translateX(4px); }
.iem-number { transition: all 0.3s ease; }
.iem-item:hover .iem-number { background: rgba(196, 163, 90, 0.15); border-color: var(--gold); transform: scale(1.1); }

.story-arrow { transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1); }
.story-item:hover .story-name { color: var(--gold-dark); transition: color 0.3s ease; }

/* ---- Gallery breathe + hover ---- */
.gallery-item img { animation: gentleBreathe 6s ease-in-out infinite; animation-play-state: paused; }
.card-gallery.visible .gallery-item img { animation-play-state: running; }
.gallery-item:hover img { animation-play-state: paused; transform: scale(1.06); }

/* ---- Reduced Motion ---- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .card, .card-footer { opacity: 1; transform: none; filter: none; }
}
/* === RESPONSIVE â€” TABLET+ === */
@media (min-width: 768px) {
    :root {
        --card-max: 720px;
        --card-pad: 60px;
    }
    body {
        padding: 48px 24px;
    }
    .card:first-child {
        border-radius: 20px 20px 0 0;
    }
    .card-footer {
        border-radius: 0 0 20px 20px;
        margin-bottom: 48px;
    }
    .card + .card {
        margin-top: 3px;
    }
    .hero-content {
        padding: 64px var(--card-pad) 56px;
    }
    .hero-avatar-ring {
        width: 150px;
        height: 150px;
        margin-bottom: 28px;
    }
    .hero-name {
        font-size: 3.8rem;
        letter-spacing: 0.08em;
        margin-bottom: 8px;
    }
    .hero-tagline {
        font-size: 1.3rem;
        margin-bottom: 28px;
    }
    .hero-bio {
        font-size: 0.95rem;
        margin-bottom: 32px;
        max-width: 520px;
    }
    .hero-pills {
        gap: 10px;
        margin-bottom: 36px;
    }
    .pill {
        font-size: 0.78rem;
        padding: 8px 18px;
    }
    .hero-links {
        gap: 12px;
    }
    .link-btn {
        padding: 16px;
        font-size: 0.88rem;
        border-radius: 10px;
    }
    .card-title {
        font-size: 2.2rem;
        margin-bottom: 10px;
    }
    .card-label {
        font-size: 0.72rem;
        letter-spacing: 0.26em;
        margin-bottom: 8px;
    }
    .card-divider {
        margin-bottom: 32px;
    }
    .card-text {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }
    .card-quote {
        padding: 20px 28px;
        margin: 28px 0;
        font-size: 1.12rem;
    }
    .about-grid {
        gap: 14px;
        margin-top: 32px;
    }
    .about-item {
        padding: 20px;
        gap: 16px;
    }
    .about-item h3 {
        font-size: 0.88rem;
    }
    .about-item p {
        font-size: 0.88rem;
    }
    .currently-list {
        gap: 16px;
    }
    .currently-item {
        padding: 18px 20px;
    }
    .gallery-grid {
        gap: 10px;
    }
    .iem-item {
        padding: 24px 0;
        gap: 20px;
    }
    .iem-info h3 {
        font-size: 1.05rem;
    }
    .iem-sub {
        font-size: 1.05rem;
    }
    .iem-info p {
        font-size: 0.9rem;
    }
    .story-header {
        padding: 20px 0;
    }
    .story-name {
        font-size: 1.2rem;
    }
    .story-genre {
        display: inline;
    }
    .story-body p {
        font-size: 0.92rem;
        padding-bottom: 20px;
    }
    .connect-btn {
        padding: 16px 22px;
        border-radius: 12px;
    }
    .connect-btn span {
        font-size: 0.92rem;
    }
    .footer-inner {
        padding: 48px var(--card-pad) 36px;
    }
    .footer-logo {
        font-size: 1.9rem;
    }
    .leaf-strip {
        height: 42px;
    }
}

/* === LARGE DESKTOP â€” CINEMATIC === */
@media (min-width: 1200px) {
    :root {
        --card-max: 860px;
        --card-pad: 80px;
    }
    body {
        padding: 64px 32px;
    }
    .hero-content {
        padding: 80px var(--card-pad) 72px;
    }
    .hero-avatar-ring {
        width: 170px;
        height: 170px;
        margin-bottom: 32px;
    }
    .hero-name {
        font-size: 4.4rem;
    }
    .hero-tagline {
        font-size: 1.4rem;
    }
    .hero-bio {
        font-size: 1rem;
        max-width: 560px;
        line-height: 1.85;
    }
    .card-title {
        font-size: 2.6rem;
    }
    .card-text {
        font-size: 1rem;
        line-height: 1.9;
    }
    .card-quote {
        font-size: 1.2rem;
        padding: 24px 32px;
        margin: 32px 0;
    }
    .about-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 16px;
    }
    .about-item {
        flex-direction: column;
        text-align: center;
        padding: 28px 20px;
    }
    .about-icon {
        width: auto;
        font-size: 1.6rem;
        margin-bottom: 4px;
    }
    .gallery-grid {
        gap: 12px;
    }
    .gallery-item {
        border-radius: 12px;
    }
    .iem-item {
        padding: 28px 0;
    }
    .connect-links {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .connect-btn:last-child {
        grid-column: span 2;
        max-width: 50%;
        justify-self: center;
    }
    .footer-inner {
        padding: 56px var(--card-pad) 40px;
    }
    .leaf-strip {
        height: 48px;
        background-size: 56px 42px;
    }
}

/* === MOBILE TWEAKS === */
@media (max-width: 480px) {
    :root {
        --card-pad: 28px;
    }
    .hero-name {
        font-size: 2.4rem;
    }
    .hero-avatar-ring {
        width: 110px;
        height: 110px;
    }
    .card-title {
        font-size: 1.5rem;
        font-size: 0.78rem;
        padding: 8px 18px;
    }
    .hero-links {
        gap: 12px;
    }
    .link-btn {
        padding: 16px;
        font-size: 0.88rem;
        border-radius: 10px;
    }
    .card-title {
        font-size: 2.2rem;
        margin-bottom: 10px;
    }
    .card-label {
        font-size: 0.72rem;
        letter-spacing: 0.26em;
        margin-bottom: 8px;
    }
    .card-divider {
        margin-bottom: 32px;
    }
    .card-text {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }
    .card-quote {
        padding: 20px 28px;
        margin: 28px 0;
        font-size: 1.12rem;
    }
    .about-grid {
        gap: 14px;
        margin-top: 32px;
    }
    .about-item {
        padding: 20px;
        gap: 16px;
    }
    .about-item h3 {
        font-size: 0.88rem;
    }
    .about-item p {
        font-size: 0.88rem;
    }
    .currently-list {
        gap: 16px;
    }
    .currently-item {
        padding: 18px 20px;
    }
    .gallery-grid {
        gap: 10px;
    }
    .iem-item {
        padding: 24px 0;
        gap: 20px;
    }
    .iem-info h3 {
        font-size: 1.05rem;
    }
    .iem-sub {
        font-size: 1.05rem;
    }
    .iem-info p {
        font-size: 0.9rem;
    }
    .story-header {
        padding: 20px 0;
    }
    .story-name {
        font-size: 1.2rem;
    }
    .story-genre {
        display: inline;
    }
    .story-body p {
        font-size: 0.92rem;
        padding-bottom: 20px;
    }
    .connect-btn {
        padding: 16px 22px;
        border-radius: 12px;
    }
    .connect-btn span {
        font-size: 0.92rem;
    }
    .footer-inner {
        padding: 48px var(--card-pad) 36px;
    }
    .footer-logo {
        font-size: 1.9rem;
    }
    .leaf-strip {
        height: 42px;
    }
}

/* === LARGE DESKTOP â€” CINEMATIC === */
@media (min-width: 1200px) {
    :root {
        --card-max: 860px;
        --card-pad: 80px;
    }
    body {
        padding: 64px 32px;
    }
    .hero-content {
        padding: 80px var(--card-pad) 72px;
    }
    .hero-avatar-ring {
        width: 170px;
        height: 170px;
        margin-bottom: 32px;
    }
    .hero-name {
        font-size: 4.4rem;
    }
    .hero-tagline {
        font-size: 1.4rem;
    }
    .hero-bio {
        font-size: 1rem;
        max-width: 560px;
        line-height: 1.85;
    }
    .card-title {
        font-size: 2.6rem;
    }
    .card-text {
        font-size: 1rem;
        line-height: 1.9;
    }
    .card-quote {
        font-size: 1.2rem;
        padding: 24px 32px;
        margin: 32px 0;
    }
    .about-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 16px;
    }
    .about-item {
        flex-direction: column;
        text-align: center;
        padding: 28px 20px;
    }
    .about-icon {
        width: auto;
        font-size: 1.6rem;
        margin-bottom: 4px;
    }
    .gallery-grid {
        gap: 12px;
    }
    .gallery-item {
        border-radius: 12px;
    }
    .iem-item {
        padding: 28px 0;
    }
    .connect-links {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .connect-btn:last-child {
        grid-column: span 2;
        max-width: 50%;
        justify-self: center;
    }
    .footer-inner {
        padding: 56px var(--card-pad) 40px;
    }
    .leaf-strip {
        height: 48px;
        background-size: 56px 42px;
    }
}

/* === MOBILE TWEAKS === */
@media (max-width: 480px) {
    :root {
        --card-pad: 28px;
    }
    .hero-name {
        font-size: 2.4rem;
    }
    .hero-avatar-ring {
        width: 110px;
        height: 110px;
    }
    .card-title {
        font-size: 1.5rem;
    }
    .hero-bio {
        font-size: 0.85rem;
    }
    .gallery-grid {
        gap: 6px;
    }
    .connect-btn {
        padding: 12px 16px;
    }
}

/* ------------------------------------- */
/* Multi-Tag Mode Styles                 */
/* ------------------------------------- */
.genre-tags-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 1.5rem 0;
}

.genre-tag {
    background: transparent;
    border: 1px solid rgba(196, 163, 90, 0.5); /* var(--gold) with alpha */
    color: var(--gold);
    padding: 6px 14px;
    border-radius: 20px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.genre-tag:hover {
    background: rgba(196, 163, 90, 0.1);
    border-color: var(--gold);
    box-shadow: 0 0 10px rgba(196, 163, 90, 0.4);
}

.genre-tag.active {
    background: var(--gold);
    color: var(--green);
    border-color: var(--gold);
    font-weight: 600;
    box-shadow: 0 0 15px rgba(196, 163, 90, 0.6);
}

.save-to-spotify-glow {
    box-shadow: 0 0 15px rgba(29, 185, 84, 0.6);
    transition: all 0.3s ease;
}

.save-to-spotify-glow:hover {
    box-shadow: 0 0 25px rgba(29, 185, 84, 0.8);
    transform: translateY(-2px);
}
