/* ==========================================================================
   HABLUXE COMMUNITY PHOTOS SNAPSHOT GALLERY V1
   ========================================================================== */

.photos-page {
    width: min(1180px, 100%);
    margin: 0 auto 34px;
    color: #f5f7ff;
}

.photos-page *,
.photos-page *::before,
.photos-page *::after {
    box-sizing: border-box;
}

.photos-page-hero {
    position: relative;
    isolation: isolate;
    min-height: 330px;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(340px, .75fr);
    overflow: hidden;
    border: 1px solid rgba(112, 128, 184, .22);
    border-radius: 22px;
    background:
        radial-gradient(circle at 76% 18%, rgba(89, 63, 211, .18), transparent 35%),
        radial-gradient(circle at 15% 100%, rgba(38, 145, 193, .1), transparent 42%),
        linear-gradient(150deg, rgba(10, 16, 35, .99), rgba(8, 12, 28, .99));
    box-shadow:
        0 26px 62px rgba(0, 0, 0, .28),
        inset 0 1px 0 rgba(255, 255, 255, .035);
}

.photos-page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: .15;
    background-image:
        linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
    background-size: 25px 25px;
    mask-image: linear-gradient(to right, rgba(0, 0, 0, .9), transparent 84%);
}

.photos-page-hero__content {
    align-self: center;
    padding: clamp(30px, 4.5vw, 52px);
}

.photos-page-hero__eyebrow {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #69cef9;
    font-size: 9px;
    font-weight: 950;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.photos-page-hero__eyebrow i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #5ee797;
    box-shadow: 0 0 13px rgba(94, 231, 151, .78);
}

.photos-page-hero h1 {
    max-width: 680px;
    margin: 11px 0 0;
    color: #fff;
    font-size: clamp(38px, 5vw, 62px);
    font-weight: 950;
    letter-spacing: -.048em;
    line-height: .98;
}

.photos-page-hero__content > p {
    max-width: 650px;
    margin: 16px 0 0;
    color: #aeb8d3;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.68;
}

.photos-page-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
}

.photos-page-button {
    min-height: 47px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 950;
    text-decoration: none;
    transition:
        transform .17s ease,
        box-shadow .17s ease,
        filter .17s ease;
}

.photos-page-button:hover {
    transform: translateY(-2px);
}

.photos-page-button--gold {
    border-color: rgba(255, 226, 133, .72);
    background: linear-gradient(180deg, #ffd96c, #eeb226);
    color: #241703;
    box-shadow:
        0 4px 0 rgba(126, 77, 8, .82),
        0 12px 26px rgba(0, 0, 0, .2),
        inset 0 1px 0 rgba(255, 255, 255, .6);
}

.photos-page-hero__order {
    padding: 8px 10px;
    border: 1px solid rgba(124, 141, 193, .14);
    border-radius: 999px;
    background: rgba(16, 23, 46, .68);
    color: #828eaf;
    font-size: 8px;
    font-weight: 850;
}

.photos-page-hero__overview {
    align-self: center;
    margin: 25px 25px 25px 0;
    padding: 18px;
    border: 1px solid rgba(148, 132, 225, .2);
    border-radius: 17px;
    background:
        radial-gradient(circle at 100% 0, rgba(104, 73, 227, .17), transparent 42%),
        rgba(7, 11, 27, .86);
    box-shadow:
        0 20px 46px rgba(0, 0, 0, .28),
        inset 0 1px 0 rgba(255, 255, 255, .035);
    backdrop-filter: blur(16px);
}

.photos-page-camera {
    position: relative;
    height: 92px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(110, 129, 185, .14);
    border-radius: 12px;
    background:
        radial-gradient(circle at center, rgba(76, 201, 240, .12), transparent 38%),
        rgba(14, 21, 43, .76);
    color: #71d1fa;
}

.photos-page-camera svg {
    width: 44px;
    height: 44px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 14px rgba(72, 196, 240, .28));
}

.photos-page-camera__corner {
    position: absolute;
    width: 18px;
    height: 18px;
    border-color: rgba(255, 214, 105, .72);
    border-style: solid;
}

.photos-page-camera__corner--top-left {
    top: 10px;
    left: 10px;
    border-width: 1px 0 0 1px;
}

.photos-page-camera__corner--top-right {
    top: 10px;
    right: 10px;
    border-width: 1px 1px 0 0;
}

.photos-page-camera__corner--bottom-left {
    bottom: 10px;
    left: 10px;
    border-width: 0 0 1px 1px;
}

.photos-page-camera__corner--bottom-right {
    right: 10px;
    bottom: 10px;
    border-width: 0 1px 1px 0;
}

.photos-page-hero__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    margin-top: 10px;
}

.photos-page-hero__stats > div {
    min-width: 0;
    padding: 10px;
    border: 1px solid rgba(121, 138, 188, .12);
    border-radius: 9px;
    background: rgba(17, 24, 48, .72);
}

.photos-page-hero__stats strong,
.photos-page-hero__stats span {
    display: block;
}

.photos-page-hero__stats strong {
    color: #fff;
    font-size: 17px;
    font-weight: 950;
    line-height: 1;
}

.photos-page-hero__stats span {
    overflow: hidden;
    margin-top: 5px;
    color: #7480a2;
    font-size: 7px;
    font-weight: 900;
    letter-spacing: .04em;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.photos-page-hero__latest {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 12px;
    margin-top: 10px;
    padding: 11px;
    border: 1px solid rgba(159, 139, 239, .16);
    border-radius: 10px;
    background: rgba(41, 29, 86, .24);
}

.photos-page-hero__latest span,
.photos-page-hero__latest strong {
    grid-column: 1;
}

.photos-page-hero__latest span {
    color: #ffda70;
    font-size: 7px;
    font-weight: 950;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.photos-page-hero__latest strong {
    color: #f6f7ff;
    font-size: 10px;
    font-weight: 950;
}

.photos-page-hero__latest small {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    color: #7e8aac;
    font-size: 7px;
    font-weight: 800;
    white-space: nowrap;
}

.photos-gallery-panel {
    margin-top: 16px;
    overflow: hidden;
    border: 1px solid rgba(106, 123, 174, .2);
    border-radius: 17px;
    background: rgba(15, 22, 43, .94);
    box-shadow: 0 18px 45px rgba(0, 0, 0, .2);
}

.photos-gallery-panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 20px;
    border-bottom: 1px solid rgba(115, 131, 181, .16);
    background:
        linear-gradient(90deg, rgba(29, 45, 69, .94), rgba(17, 25, 47, .94));
}

.photos-gallery-panel__header > div > span {
    color: #67cffb;
    font-size: 8px;
    font-weight: 950;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.photos-gallery-panel__header h2 {
    margin: 3px 0 0;
    color: #fff;
    font-size: 21px;
    font-weight: 950;
    letter-spacing: -.025em;
}

.photos-gallery-panel__header p {
    margin: 4px 0 0;
    color: #7f8cab;
    font-size: 9px;
    font-weight: 700;
}

.photos-gallery-panel__page {
    flex: 0 0 auto;
    min-width: 100px;
    padding: 10px 12px;
    border: 1px solid rgba(128, 145, 197, .14);
    border-radius: 10px;
    background: rgba(10, 16, 34, .68);
    text-align: right;
}

.photos-gallery-panel__page strong,
.photos-gallery-panel__page span {
    display: block;
}

.photos-gallery-panel__page strong {
    color: #fff;
    font-size: 18px;
    font-weight: 950;
    line-height: 1;
}

.photos-gallery-panel__page span {
    margin-top: 4px;
    color: #7480a2;
    font-size: 7px;
    font-weight: 850;
    text-transform: uppercase;
}

.photos-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr));
    gap: 14px;
    padding: 16px;
}

.photos-gallery-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(108, 124, 176, .19);
    border-radius: 14px;
    background: rgba(10, 15, 32, .94);
    box-shadow:
        0 14px 32px rgba(0, 0, 0, .2),
        inset 0 1px 0 rgba(255, 255, 255, .025);
    transition:
        transform .18s ease,
        border-color .18s ease,
        box-shadow .18s ease;
}

.photos-gallery-card:hover {
    transform: translateY(-3px);
    border-color: rgba(124, 198, 235, .31);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, .27),
        0 0 28px rgba(60, 183, 233, .055);
}

.photos-gallery-card__image {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #080d1d;
}

.photos-gallery-card__image::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, rgba(5, 8, 20, .72), transparent 48%);
    pointer-events: none;
}

.photos-gallery-card__image > img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    image-rendering: auto;
    transition:
        transform .26s ease,
        filter .26s ease;
}

.photos-gallery-card:hover .photos-gallery-card__image > img {
    transform: scale(1.025);
    filter: brightness(1.04);
}

.photos-gallery-card__open,
.photos-gallery-card__room {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, .14);
    background: rgba(6, 10, 24, .78);
    color: #eef1ff;
    font-size: 8px;
    font-weight: 900;
    backdrop-filter: blur(9px);
}

.photos-gallery-card__open {
    right: 11px;
    bottom: 11px;
    gap: 6px;
    padding: 8px 10px;
    border-radius: 9px;
}

.photos-gallery-card__open svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.photos-gallery-card__room {
    top: 11px;
    left: 11px;
    padding: 7px 9px;
    border-radius: 999px;
    color: #ffdc78;
}

.photos-gallery-card__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 68px;
    padding: 11px 13px;
}

.photos-gallery-card__owner {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.photos-gallery-card__avatar {
    position: relative;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(135, 118, 226, .28);
    border-radius: 12px;
    background:
        radial-gradient(circle at 50% 40%, rgba(96, 72, 202, .26), transparent 62%),
        #0a0f24;
}

.photos-gallery-card__avatar img {
    width: 68px;
    height: 68px;
    max-width: none;
    object-fit: contain;
    image-rendering: pixelated;
}

.photos-gallery-card__avatar--fallback {
    color: #8a96b7;
    font-size: 15px;
    font-weight: 950;
}

.photos-gallery-card__owner > div {
    min-width: 0;
}

.photos-gallery-card__owner span,
.photos-gallery-card__owner strong {
    display: block;
}

.photos-gallery-card__owner span {
    color: #727e9f;
    font-size: 7px;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.photos-gallery-card__owner strong {
    overflow: hidden;
    margin-top: 3px;
    color: #fff;
    font-size: 11px;
    font-weight: 950;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.photos-gallery-card__owner strong a {
    color: inherit;
    text-decoration: none;
}

.photos-gallery-card__owner strong a:hover {
    color: #70d0fb;
}

.photos-gallery-card__time {
    flex: 0 0 auto;
    text-align: right;
}

.photos-gallery-card__time strong,
.photos-gallery-card__time span {
    display: block;
}

.photos-gallery-card__time strong {
    color: #dce2f5;
    font-size: 8px;
    font-weight: 900;
}

.photos-gallery-card__time span {
    margin-top: 3px;
    color: #6f7a9a;
    font-size: 7px;
    font-weight: 750;
}

.photos-gallery-empty {
    min-height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 38px 20px;
    text-align: center;
}

.photos-gallery-empty__icon {
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(101, 200, 239, .2);
    border-radius: 17px;
    background: rgba(44, 142, 181, .09);
    color: #69ccf7;
}

.photos-gallery-empty__icon svg {
    width: 32px;
    height: 32px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.photos-gallery-empty > span {
    margin-top: 15px;
    color: #65cdf9;
    font-size: 8px;
    font-weight: 950;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.photos-gallery-empty h2 {
    margin: 7px 0 0;
    color: #fff;
    font-size: 22px;
    font-weight: 950;
}

.photos-gallery-empty p {
    max-width: 480px;
    margin: 8px 0 0;
    color: #7f8baa;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.6;
}

.photos-gallery-empty a {
    margin-top: 17px;
    color: #ffda70;
    font-size: 9px;
    font-weight: 900;
    text-decoration: none;
}

.photos-page-note {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    margin-top: 13px;
    padding: 13px 15px;
    border: 1px solid rgba(101, 121, 173, .18);
    border-radius: 12px;
    background: rgba(14, 22, 42, .9);
}

.photos-page-note__icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: rgba(70, 190, 236, .08);
    color: #67cff9;
}

.photos-page-note__icon svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.photos-page-note strong {
    color: #ecf0ff;
    font-size: 9px;
    font-weight: 950;
}

.photos-page-note p {
    margin: 3px 0 0;
    color: #7b87a6;
    font-size: 8px;
    font-weight: 700;
    line-height: 1.5;
}

.photos-page-pagination {
    margin-top: 15px;
}

.photos-page-pagination nav {
    color: #d8def0;
}

.photos-page-pagination a,
.photos-page-pagination span {
    border-color: rgba(109, 126, 178, .2) !important;
    background: rgba(15, 22, 43, .94) !important;
    color: #9ba6c4 !important;
}

.photos-page-pagination a:hover {
    background: rgba(37, 31, 74, .94) !important;
    color: #ffda70 !important;
}

.photos-page a:focus-visible {
    outline: 2px solid rgba(255, 218, 112, .94);
    outline-offset: 3px;
}

@media (max-width: 920px) {
    .photos-page-hero {
        grid-template-columns: 1fr;
    }

    .photos-page-hero__overview {
        margin: 0 24px 24px;
    }
}

@media (max-width: 620px) {
    .photos-page-hero {
        border-radius: 16px;
    }

    .photos-page-hero__content {
        padding: 27px 19px;
    }

    .photos-page-hero h1 {
        font-size: 40px;
    }

    .photos-page-hero__overview {
        margin: 0 13px 13px;
        padding: 14px;
    }

    .photos-page-hero__stats {
        grid-template-columns: 1fr;
    }

    .photos-page-hero__latest {
        grid-template-columns: 1fr;
    }

    .photos-page-hero__latest small {
        grid-column: 1;
        grid-row: auto;
    }

    .photos-gallery-panel__header {
        align-items: flex-start;
        flex-direction: column;
    }

    .photos-gallery-panel__page {
        width: 100%;
        text-align: left;
    }

    .photos-gallery-grid {
        padding: 11px;
    }

    .photos-gallery-card__content {
        align-items: flex-start;
        flex-direction: column;
    }

    .photos-gallery-card__time {
        padding-left: 54px;
        text-align: left;
    }
}

@media (prefers-reduced-motion: reduce) {
    .photos-page *,
    .photos-page *::before,
    .photos-page *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}