/*
 * Musas Del Arte - landing page specific styles
 * Depends on theme.css for shared variables/components.
 */

/* ---------- Hero ---------- */
.ayart-hero,
.ayart-profile-hero {
    color: #fff;
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
}

/* Fixed brand gradient - landing is not user-customizable, so it never
   references --ayart-hero-tint (that variable is for .ayart-profile-hero only). */
.ayart-hero {
    background:
        linear-gradient(120deg, rgba(23,20,15,.92) 0%, rgba(23,20,15,.55) 55%, rgba(23,20,15,.85) 100%),
        radial-gradient(circle at 75% 30%, #4a3524 0%, var(--ayart-dark) 60%);
}

/* Personalizable gradient for a user's own profile page - both layers derive
   from --ayart-hero-tint (theme.css default, overridden per-user in JS from
   users.banner_color), so changing that one variable retints the whole thing. */
.ayart-profile-hero {
    background:
        linear-gradient(120deg,
            color-mix(in srgb, var(--ayart-hero-tint) 15%, rgb(23 20 15 / 92%)) 0%,
            color-mix(in srgb, var(--ayart-hero-tint) 15%, rgb(23 20 15 / 55%)) 55%,
            color-mix(in srgb, var(--ayart-hero-tint) 15%, rgb(23 20 15 / 85%)) 100%),
        radial-gradient(circle at 75% 30%, var(--ayart-hero-tint) 0%, var(--ayart-dark) 60%);
}

.ayart-hero .uk-container,
.ayart-profile-hero .uk-container { position: relative; z-index: 2; }

.ayart-eyebrow {
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 8px;
}

.ayart-eyebrow-text {
    font-family: "Space Grotesk", "Inter", "Helvetica Neue", Arial, sans-serif;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 4px;
    font-size: 1.7rem;
    color: var(--ayart-accent);
}

.ayart-hero h1 {
    font-weight: 700;
    line-height: 1.15;
    max-width: 640px;
    color: #fff;
}

.ayart-hero-step {
    max-width: 640px;
}

.ayart-hero-photo img {
    display: block;
    width: 100%;
    height: auto;
    min-width: 180px;
    border-radius: 2px;
}

.ayart-hero-photo-wrap {
    position: relative;
}

.ayart-hero-photo-change {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ayart-hero-tint);
    color: #fff;
    border: none;
    cursor: pointer;
}

.ayart-hero-photo-change:hover {
    background: var(--ayart-black);
}

/* Invisible but positioned (not display:none) so Chromium browsers anchor
   the native color picker popup near this spot, bottom-right of the screen. */
#banner-color-input {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 1px;
    height: 1px;
    padding: 0;
    border: none;
    opacity: 0;
    pointer-events: none;
}

/* Clears the absolutely-positioned .ayart-social-rail (left:30px) so this
   grid's left column doesn't run under it on desktop. */
@media (min-width: 960px) {
    .ayart-profile-grid {
        padding-left: 90px;
    }
}

.ayart-hero-name-input {
    display: block;
    width: 100%;
    font-weight: 700;
    line-height: 1.15;
    color: #fff;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    padding-bottom: 4px;
}

.ayart-hero-name-input::placeholder {
    color: rgba(255, 255, 255, .5);
}

.ayart-hero-name-input:focus {
    outline: none;
    border-bottom-color: var(--ayart-hero-grey);
}

.ayart-hero-description-input {
    display: block;
    width: 100%;
    font-size: 1rem;
    color: rgba(255, 255, 255, .85);
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    resize: none;
    padding-bottom: 4px;
}

.ayart-hero-description-input::placeholder {
    color: rgba(255, 255, 255, .5);
}

.ayart-hero-description-input:focus {
    outline: none;
    border-bottom-color: var(--ayart-hero-grey);
}

.ayart-hero-cta-label {
    font-weight: 600;
    font-size: .95rem;
    color: rgba(255, 255, 255, .7);
    margin-bottom: 10px;
}

.ayart-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.ayart-hero p.uk-text-lead {
    max-width: 480px;
    font-size: 1rem;
    color: rgba(255, 255, 255, .85);
}

.btn-remove-social-row {
    background: var(--ayart-black);
    color: var(--ayart-hero-tint);
    border: 1px solid var(--ayart-hero-tint);
}

.btn-remove-social-row:hover {
    background: var(--ayart-hero-tint);
    color: var(--ayart-black);
    border: 1px solid var(--ayart-black);
}

/* Vertical social rail, left edge of the hero */
.ayart-social-rail {
    position: absolute;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    z-index: 3;
}

.ayart-social-rail .ayart-line {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, .35);
}

.ayart-social-rail a {
    opacity: .8;
}

.ayart-social-rail a:hover {
    color: var(--ayart-hero-grey);
    opacity: 1;
}

.ayart-social-label {
    display: none;
}

/* Below the @m breakpoint the rail leaves the hero's side edge and moves
   below the content instead, becoming a stack of labeled buttons. */
@media (max-width: 959px) {
    .ayart-hero,
    .ayart-profile-hero {
        flex-direction: column;
        justify-content: center;
    }

    .ayart-hero-name-input,
    .ayart-hero-description-input {
        text-align: center;
    }

    .ayart-hero-name-input {
        font-size: 2rem;
    }

    .ayart-social-rail {
        position: static;
        transform: none;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        max-width: 320px;
        gap: 10px;
        margin: 24px auto 0;
    }

    .ayart-social-rail .ayart-line {
        display: none;
    }

    .ayart-social-rail a {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 10px 16px;
        border: 1px solid var(--ayart-hero-grey);
        background: var(--ayart-black);
        border-radius: 4px;
        opacity: 1;
    }

    .ayart-social-rail a:hover {
        background: var(--ayart-hero-grey);
        color: #fff;
    }

    .ayart-social-label {
        display: inline;
        text-transform: uppercase;
        letter-spacing: 1px;
        font-size: .8rem;
    }

    /* Landing-only: hide the social rail on mobile/tablet entirely, instead
       of the stacked-buttons treatment above. Scoped to .ayart-hero (the
       landing page's hero) so .ayart-profile-hero (the profile page, which
       reuses the same .ayart-social-rail markup/JS) keeps working as-is. */
    .ayart-hero .ayart-social-rail {
        display: none;
    }
}

.ayart-scroll-cue {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    color: #fff;
    opacity: .7;
    animation: ayart-bounce 2s infinite;
}

@keyframes ayart-bounce {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 8px); }
}

/* ---------- Community stats ---------- */
.ayart-stats {
    background: var(--ayart-cream);
}

.ayart-stats-card {
    text-align: center;
    padding: 24px;
}

.ayart-stats-total {
    font-family: "Space Grotesk", "Inter", "Helvetica Neue", Arial, sans-serif;
    font-weight: 700;
    font-size: 3rem;
    line-height: 1;
    color: var(--ayart-accent);
}

.ayart-stats-label {
    font-size: 1rem;
    color: var(--ayart-muted);
    margin: 8px 0 20px;
}

.ayart-stats-breakdown {
    list-style: none;
    max-width: 280px;
    margin: 0 auto;
    padding: 0;
}

.ayart-stats-breakdown li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 6px 0;
    border-bottom: 1px solid rgba(38, 34, 32, .1);
    font-size: .95rem;
}

.ayart-stats-breakdown li:last-child {
    border-bottom: none;
}

.ayart-stats-breakdown li span:last-child {
    font-weight: 700;
    color: var(--ayart-accent);
}

/* ---------- Feature icons ---------- */
.ayart-feature span[uk-icon] { color: var(--ayart-accent); }

/* ---------- Gallery slider ---------- */
.ayart-artwork {
    height: 320px;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    color: #fff;
}

.ayart-artwork .ayart-artwork-caption {
    position: relative;
    z-index: 2;
    padding: 16px;
    background: linear-gradient(to top, rgba(0,0,0,.65), transparent);
    width: 100%;
}

.ayart-artwork small { opacity: .75; }

/* ---------- About section ---------- */
.ayart-about {
    background: var(--ayart-cream);
}

.ayart-about-figure {
    min-height: 320px;
    border-radius: 2px;
    background: linear-gradient(135deg, #3c2b1f, var(--ayart-dark));
}

.ayart-about ul li {
    padding: 4px 0;
}

/* ---------- Video / platform preview ---------- */
.ayart-video {
    background: radial-gradient(circle at 30% 30%, #34261a 0%, var(--ayart-darker) 70%);
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.ayart-play {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    border: 2px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

/* ---------- Pricing ---------- */
.ayart-plan {
    background: var(--ayart-cream);
    text-align: center;
    padding: 40px 24px;
    border-radius: 2px;
}

.ayart-plan .price {
    color: var(--ayart-accent);
    font-size: 2.2rem;
    font-weight: 700;
}

.ayart-plan ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
}

.ayart-plan ul li {
    padding: 6px 0;
    font-size: 0.9rem;
}

.ayart-plan ul li span[uk-icon] { color: var(--ayart-accent); margin-right: 6px; }

.ayart-plan--featured {
    background: var(--ayart-dark);
    color: #fff;
}

.ayart-plan--featured .price { color: var(--ayart-accent); }

/* ---------- Join / register section ---------- */
.ayart-join {
    background:
        linear-gradient(120deg, rgba(16,14,11,.92), rgba(16,14,11,.75)),
        radial-gradient(circle at 20% 80%, #3c2b1f 0%, var(--ayart-darker) 60%);
    color: #fff;
}

.ayart-join input,
.ayart-join select {
    background: #fff;
    border: none;
}

#ayart-offcanvas>.uk-offcanvas-bar{
    background: var(--ayart-black);
}

/* ---------- Public profiles directory (/profiles) ---------- */
/* Each card sets --ayart-hero-tint inline from its own users.banner_color,
   so the same gradient formula as .ayart-profile-hero retints per card. */
.ayart-profile-card {
    display: block;
    position: relative;
    min-height: 260px;
    border-radius: 4px;
    overflow: hidden;
    padding: 28px 24px;
    text-align: center;
    color: #fff;
    background:
        linear-gradient(160deg,
            color-mix(in srgb, var(--ayart-hero-tint) 15%, rgb(23 20 15 / 92%)) 0%,
            color-mix(in srgb, var(--ayart-hero-tint) 15%, rgb(23 20 15 / 55%)) 55%,
            color-mix(in srgb, var(--ayart-hero-tint) 15%, rgb(23 20 15 / 85%)) 100%),
        radial-gradient(circle at 75% 20%, var(--ayart-hero-tint) 0%, var(--ayart-dark) 65%);
    transition: transform .2s ease;
}

.ayart-profile-card:hover {
    color: #fff;
    transform: translateY(-4px);
}

.ayart-profile-card-photo {
    width: 120px;
    height: 120px;
    /* border-radius: 50%; */
    overflow: hidden;
    margin: 0 auto 16px;
    /* border: 2px solid rgba(255, 255, 255, .25); */
}

.ayart-profile-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ayart-profile-card-role {
    position: absolute;
    top: 16px;
    left: 16px;
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .7);
}

.ayart-profile-card-name {
    font-weight: 700;
    color: #fff;
}

.ayart-profile-card-pieces-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    margin-left: 4px;
    vertical-align: middle;
    border-radius: 999px;
    background: var(--ayart-hero-tint, #a27e46);
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
}

.ayart-profile-card-desc {
    font-size: .9rem;
    color: rgba(255, 255, 255, .85);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ---------- /profiles/mapa - photo pins ---------- */
.ayart-map-pin-icon {
    background: transparent;
    border: none;
}

.ayart-map-pin {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
}

.ayart-map-pin-photo {
    display: block;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    background: #fff;
    border: 3px solid var(--pin-color, #a27e46);
    box-shadow: 0 2px 6px rgba(0, 0, 0, .35);
}

.ayart-map-pin-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ayart-map-pin-role {
    margin-top: 3px;
    font-size: .6rem;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: #fff;
    background: var(--pin-color, #a27e46);
    padding: 1px 6px;
    border-radius: 3px;
    white-space: nowrap;
}

