/* ═══ Premium Gallery — Swiper ═══ */
.premium-gallery {
    padding: 28px 0 8px;
    position: relative;
}

.pg-head {
    text-align: center;
    margin-bottom: 22px;
}

.pg-head__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--brand);
    background: var(--brand-soft);
    padding: 5px 14px;
    border-radius: 99px;
    margin-bottom: 10px;
}

.pg-head__badge svg { width: 14px; height: 14px; stroke: var(--brand); }

.pg-head__title {
    font-size: clamp(1.35rem, 4vw, 1.65rem);
    font-weight: 800;
    margin: 0 0 6px;
    letter-spacing: -0.02em;
}

.pg-head__sub {
    font-size: 14px;
    color: var(--text-2);
    margin: 0;
    max-width: 420px;
    margin-inline: auto;
    line-height: 1.55;
}

.pg-stage {
    position: relative;
    border-radius: var(--radius-xl, 20px);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.06);
}

/* Skeleton */
.pg-skeleton {
    position: absolute;
    inset: 0;
    z-index: 5;
    background: var(--surface-2, #1a1a1e);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    transition: opacity 0.5s ease, visibility 0.5s;
}

.pg-skeleton.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.pg-skeleton__shimmer {
    width: 72%;
    height: 58%;
    border-radius: 14px;
    background: linear-gradient(110deg, rgba(255,255,255,0.04) 8%, rgba(255,255,255,0.1) 18%, rgba(255,255,255,0.04) 33%);
    background-size: 200% 100%;
    animation: pgShimmer 1.4s ease infinite;
}

.pg-skeleton__bar {
    width: 40%;
    height: 10px;
    border-radius: 99px;
    background: rgba(255,255,255,0.06);
    animation: pgShimmer 1.4s ease infinite 0.2s;
}

.pg-skeleton__dots { display: flex; gap: 8px; }
.pg-skeleton__dots span {
    width: 8px; height: 8px; border-radius: 50%;
    background: rgba(255,255,255,0.12);
    animation: pgDot 1.2s ease infinite;
}
.pg-skeleton__dots span:nth-child(2) { animation-delay: 0.15s; }
.pg-skeleton__dots span:nth-child(3) { animation-delay: 0.3s; }

@keyframes pgShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

@keyframes pgDot {
    0%, 100% { opacity: 0.3; transform: scale(0.85); }
    50% { opacity: 1; transform: scale(1); }
}

/* Swiper */
.pg-swiper {
    aspect-ratio: 16 / 10;
    max-height: 56vh;
    min-height: 220px;
    background: #0a0a0c;
}

@media (max-width: 480px) {
    .pg-swiper { aspect-ratio: 4 / 3; max-height: 48vh; }
}

.pg-slide {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #0a0a0c;
}

.pg-slide__img {
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center center;
    transform: scale(1.02);
    transition: transform 6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.swiper-slide-active .pg-slide__img {
    transform: scale(1.08);
}

.pg-slide__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 45%, transparent 100%);
    pointer-events: none;
}

.pg-slide__loader {
    --swiper-preloader-color: var(--brand);
}

.pg-slide__caption {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    padding: 20px 24px 28px;
    z-index: 2;
}

.pg-slide__caption-text {
    display: inline-block;
    font-size: clamp(1rem, 3vw, 1.25rem);
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0,0,0,0.5);
    letter-spacing: -0.01em;
}

.pg-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.25s, background 0.2s, transform 0.2s;
    color: #fff;
}

.pg-stage:hover .pg-nav,
.pg-nav:focus-visible { opacity: 1; }

@media (hover: none) {
    .pg-nav { opacity: 0.75; width: 36px; height: 36px; }
}

.pg-nav:hover { background: rgba(0,0,0,0.6); transform: translateY(-50%) scale(1.06); }
.pg-nav svg { width: 20px; height: 20px; stroke: #fff; }
.pg-nav--prev { inset-inline-start: 12px; }
.pg-nav--next { inset-inline-end: 12px; }

.pg-pagination {
    bottom: 14px !important;
}

.pg-pagination .swiper-pagination-bullet {
    width: 7px;
    height: 7px;
    background: rgba(255,255,255,0.45);
    opacity: 1;
    transition: width 0.3s, background 0.3s;
}

.pg-pagination .swiper-pagination-bullet-active {
    width: 22px;
    border-radius: 99px;
    background: var(--brand);
}

.pg-counter {
    position: absolute;
    top: 14px;
    inset-inline-end: 14px;
    z-index: 10;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(8px);
    padding: 5px 12px;
    border-radius: 99px;
    letter-spacing: 0.04em;
}

.hero__stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.hero__stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    min-width: 64px;
}

.hero__stat-val {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--brand);
    line-height: 1;
}

.hero__stat-label {
    font-size: 11px;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.hero__scroll-hint {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: rgba(255,255,255,0.5);
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: heroBounce 2s ease infinite;
}

.hero__scroll-hint svg { width: 18px; height: 18px; stroke: rgba(255,255,255,0.45); }

@keyframes heroBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}
