.page-intro {
    padding-top: 40px;
}

.price-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
    align-items: start;
}

@media(max-width:800px) {
    .price-grid {
        grid-template-columns: 1fr;
    }
}

.price-card {
    padding: 30px;
}

.price-card h2 {
    font-size: 1.5rem;
}

.table-wrap {
    overflow-x: auto;
}

table.price-table {
    width: 100%;
    border-collapse: collapse;
}

table.price-table th,
table.price-table td {
    padding: 13px 6px;
    text-align: left;
    border-bottom: 1px solid var(--border-soft);
}

table.price-table th {
    color: var(--text-muted);
    font-weight: 700;
    font-size: var(--fs-12);
    text-transform: uppercase;
    letter-spacing: .04em;
}

table.price-table tr:last-child td {
    border-bottom: none;
}

table.price-table td:last-child {
    font-weight: 700;
    color: var(--gold-strong);
    white-space: nowrap;
}

/* ---------- Entrance fee + Tables: tier rows ---------- */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

table.tier-table,
table.tier-table tbody {
    display: block;
    width: 100%;
}

table.tier-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

table.tier-table tr {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
    margin-bottom: 12px;
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, 0));
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

table.tier-table tr:last-child {
    margin-bottom: 0;
}

table.tier-table tr:hover {
    transform: translateY(-2px);
    border-color: var(--gold);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
}

table.tier-table td,
table.tier-table tr:last-child td {
    border: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 14px;
}

table.tier-table tr td:last-child,
table.tier-table tr:last-child td:last-child {
    flex-direction: column;
    align-items: flex-end;
    gap: 0;
    text-align: right;
}

.tier-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.tier-text strong {
    font-size: 1.02rem;
}

.tier-text small,
.tier-table td:last-child small {
    color: var(--text-muted);
    font-weight: 500;
    font-size: .8rem;
}

.tier-amount {
    font-family: var(--font-head);
    font-size: 1.6rem;
    line-height: 1.1;
    color: var(--gold-strong);
}

.tier-icon {
    flex: none;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2b2108;
    background: linear-gradient(155deg, var(--gold-strong), var(--gold));
}

.tier-icon--night {
    background: linear-gradient(155deg, #3b4a78, #1f2745);
    color: #f3e9c4;
}

/* Table icons grow small → big */
.tier-icon--table svg {
    transition: transform .2s ease;
}

.tier-icon--s1 svg {
    transform: scale(.85);
}

.tier-icon--s2 svg {
    transform: scale(1.2);
}

/* ---------- Native huts: photo cards ---------- */
.kubo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 22px;
}

.kubo-card {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    opacity: 1;
    animation: kubo-in .5s ease both;
}

.kubo-card:nth-child(2) {
    animation-delay: .06s;
}

.kubo-card:nth-child(3) {
    animation-delay: .12s;
}

.kubo-card:nth-child(4) {
    animation-delay: .18s;
}

.kubo-card:nth-child(5) {
    animation-delay: .24s;
}

@keyframes kubo-in {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
}

.kubo-photo {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    padding: 0;
    border: 0;
    cursor: zoom-in;
    overflow: hidden;
    background: linear-gradient(155deg, var(--gold-strong), var(--gold));
}

.kubo-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.kubo-photo:hover img,
.kubo-photo:focus-visible img {
    transform: scale(1.06);
}

.kubo-photo:focus-visible {
    outline: 3px solid var(--gold-strong);
    outline-offset: -3px;
}

/* shown only when the photo is missing or still loading */
.kubo-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #2b2108;
}

.kubo-soon {
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    opacity: .75;
}

.kubo-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    min-width: 38px;
    padding: 5px 10px;
    border-radius: 10px;
    font-weight: 800;
    font-size: .85rem;
    letter-spacing: .04em;
    text-align: center;
    color: #fff;
    background: rgba(20, 20, 20, .72);
    backdrop-filter: blur(4px);
}

.kubo-ribbon {
    position: absolute;
    top: 0;
    right: 0;
    width: 110px;
    height: 110px;
    overflow: hidden;
    z-index: 2;
    pointer-events: none;
}

.kubo-ribbon span {
    position: absolute;
    top: 22px;
    right: -34px;
    width: 140px;
    padding: 5px 0;
    text-align: center;
    transform: rotate(45deg);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(90deg, #1491c9, #26b3d8);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
}

.kubo-zoom {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 2;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    background: rgba(20, 20, 20, .6);
    opacity: 0;
    transform: translateY(4px);
    transition: opacity .2s ease, transform .2s ease;
}

.kubo-photo:hover .kubo-zoom,
.kubo-photo:focus-visible .kubo-zoom {
    opacity: 1;
    transform: none;
}

@media (hover: none) {
    .kubo-zoom {
        opacity: 1;
        transform: none;
    }
}

.kubo-body {
    padding: 18px 20px 22px;
}

.kubo-card h3 {
    font-size: 1.1rem;
    margin: 0 0 4px;
}

.kubo-cap {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 6px 0 0;
    color: var(--text-muted);
}

.kubo-price,
.price-big {
    font-family: var(--font-head);
    font-weight: 700;
    color: var(--gold-strong);
}

.kubo-price {
    font-size: 1.6rem;
}

.price-big {
    font-size: 2.2rem;
}

.slot-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.slot-list li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding: 13px 0;
    border-bottom: 1px solid var(--border-soft);
}

.slot-list li:last-child {
    border-bottom: none;
}

.price-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    flex-wrap: wrap;
    padding: 34px;
}

.price-cta>div {
    flex: 1;
    min-width: 260px;
}

/* ---------- Function hall photo (inside its price card) ---------- */
.hall-photo {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    margin: 4px 0 18px;
    padding: 0;
    border: 0;
    border-radius: 14px;
    overflow: hidden;
    cursor: zoom-in;
    background: linear-gradient(155deg, var(--gold-strong), var(--gold));
}

.hall-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.hall-photo:hover img,
.hall-photo:focus-visible img {
    transform: scale(1.05);
}

.hall-photo:hover .kubo-zoom,
.hall-photo:focus-visible .kubo-zoom {
    opacity: 1;
    transform: none;
}

.hall-photo:focus-visible {
    outline: 3px solid var(--gold-strong);
    outline-offset: 2px;
}

.hall-photo.is-empty {
    cursor: default;
}

.hall-empty {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #2b2108;
}

/* ---------- Photo viewer ---------- */
html.pv-lock {
    overflow: hidden;
}

.pv {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pv-in .18s ease;
}

.pv[hidden] {
    display: none;
}

@keyframes pv-in {
    from {
        opacity: 0;
    }
}

.pv-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 8, 10, .88);
}

.pv-stage {
    position: relative;
    margin: 0;
    max-width: min(92vw, 1000px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.pv-img {
    max-width: 100%;
    max-height: 76vh;
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
    background: #111;
}

.pv-empty {
    width: min(80vw, 560px);
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: #ddd;
    background: #1b1b1f;
}

.pv-empty[hidden] {
    display: none;
}

.pv-cap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    color: #fff;
    text-align: center;
}

.pv-cap span {
    color: #cfcfd6;
    font-size: .9rem;
}

.pv-btn {
    position: absolute;
    z-index: 2;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    font-size: 2rem;
    line-height: 1;
    color: #fff;
    background: rgba(255, 255, 255, .14);
    transition: background .15s ease;
}

.pv-btn:hover {
    background: rgba(255, 255, 255, .28);
}

.pv-btn:focus-visible {
    outline: 3px solid var(--gold-strong);
    outline-offset: 2px;
}

.pv-close {
    top: 16px;
    right: 16px;
}

.pv-nav {
    top: 50%;
    margin-top: -24px;
}

.pv-prev {
    left: 16px;
}

.pv-next {
    right: 16px;
}

@media(max-width:600px) {
    .pv-nav {
        top: auto;
        bottom: 20px;
        margin-top: 0;
    }

    .pv-prev {
        left: 20px;
    }

    .pv-next {
        right: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .pv,
    .kubo-card,
    .kubo-photo img,
    .hall-photo img,
    table.tier-table tr {
        animation: none;
        transition: none;
    }
}