/*
Theme Name: HTML Only
Theme URI: https://tainguyen.cloud
Author: Tai Nguyen
Author URI: https://tainguyen.cloud
Description: A static HTML-only WordPress theme that serves a single index.html page.
Version: 1.0.0
Requires at least: 5.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: html-only
*/

/* ===== CUSTOM FONTS ===== */
@font-face {
    font-family: 'iCiel Bon Vivant';
    src: url('font/iCiel_Bon_Vivant_Regular.otf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Prata9Slide';
    src: url('font/Prata-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    background: #030712;
    color: #fff;
    font-family: "Montserrat", sans-serif;
    min-height: 100dvh;
}

button {
    font-family: inherit;
}

/* ===== SCROLLBAR HIDE ===== */
.scroll-hide {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.scroll-hide::-webkit-scrollbar {
    display: none;
}

/* ===== HEADER ===== */
#header {
    position: relative;
    min-height: 700px;
    flex-shrink: 0;
    width: 100%;
    background: linear-gradient(160deg,
            #0f1827 0%,
            #1a0a0a 50%,
            #030712 100%);
}

.header-bg {
    position: absolute;
    inset: 0;
    background-image: url("img/header-background.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.header-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 50%,
            rgba(230, 16, 23, 0.18) 0%,
            transparent 60%),
        radial-gradient(ellipse at 70% 30%,
            rgba(0, 187, 167, 0.12) 0%,
            transparent 50%);
}

.header-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(169, 123, 59, 0.79) 0%,
            rgba(0, 0, 0, 0.79) 27%,
            rgba(0, 0, 0, 0.79) 71%,
            rgba(169, 123, 59, 0.79) 100%);
    background-size: 100% 150%;
    background-position: center;
    background-repeat: no-repeat;
}

.header-content {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 160px 16px 32px;
    gap: 48px;
}

/* Hero title block */
.header-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.hero-script {
    font-family: 'iCiel Bon Vivant', cursive;
    font-weight: 500;
    font-size: 60px;
    color: #D6BBA1;
    line-height: 1.15;
    text-align: center;
}

@media (min-width: 640px) {
    .hero-script {
        font-size: 72px;
    }
}

@media (min-width: 1024px) {
    .hero-script {
        font-size: 108px;
    }
}

.hero-main {
    font-family: 'Prata9Slide', 'Montserrat', sans-serif;
    font-weight: normal;
    font-size: clamp(22px, 4vw, 37px);
    color: #fff;
    text-align: center;
    line-height: 1;
    letter-spacing: clamp(1px, 0.3vw, 4px);
    text-transform: uppercase;
    margin-top: -16px;
}

.hero-tagline {
    font-family: 'Prata9Slide', 'Montserrat', sans-serif;
    font-weight: normal;
    font-size: 18px;
    background: linear-gradient(180deg, #d6bba1 29%, #a97c3b 100%);
    background-size: 100% 150%;
    background-position: center;
    background-repeat: no-repeat;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    letter-spacing: 3px;
    text-align: center;
    text-transform: uppercase;
    line-height: 1.7;
    margin-top: -1rem;
    white-space: nowrap;
}

@media (min-width: 640px) {
    .hero-tagline {
        font-size: 20px;
        letter-spacing: 3px;
    }
}

@media (min-width: 1024px) {
    .hero-tagline {
        font-size: 22px;
        letter-spacing: 4px;
    }
}

.hero-ornament {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: nowrap;
    flex-direction: column;
}

.hero-ornament-inner {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    width: fit-content;
}

.hero-ornament-line {
    width: 100%;
    display: block;
}

.ornament-line {
    width: 36px;
    height: 1px;
    background: rgba(201, 160, 80, 0.5);
    display: block;
    flex-shrink: 0;
}

@media (min-width: 640px) {
    .ornament-line {
        width: 52px;
    }
}

@media (min-width: 1024px) {
    .ornament-line {
        width: 72px;
    }
}

.header-title {
    display: none;
}

.header-sub {
    font-weight: 400;
    font-family: 'Prata9Slide', 'Montserrat', sans-serif;
    font-style: italic;
    font-size: 13px;
    line-height: 24px;
    letter-spacing: clamp(1px, 0.3vw, 2px);
    color: #D6BBA1;
    text-align: center;
    max-width: 780px;
}

@media (min-width: 640px) {
    .header-sub {
        font-size: 14px;
    }
}

@media (min-width: 1024px) {
    .header-sub {
        font-size: 15px;
    }
}

/* Location badge */
.header-location {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #fff;
    border-radius: 16px;
    padding: 16px 24px;
    /* Outer glow: Screen 44%, warm beige, size 16px, spread 11% */
    box-shadow:
        0 0 16px 1px rgba(201, 160, 80, 0.44),
        0 0 24px 1px rgba(201, 160, 80, 0.18);
}

.header-location span {
    font-family: 'Roboto9Slide', 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: normal;
    color: #e5e7eb;
    white-space: nowrap;
}

@media (min-width: 640px) {
    .header-location span {
        font-size: 16px;
    }
}

.header-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 16px;
    margin-top: 12px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.meta-item span {
    font-size: 13px;
    color: #d1d5dc;
    white-space: nowrap;
}

@media (min-width: 640px) {
    .meta-item span {
        font-size: 14px;
    }
}

.header-arrow {
    scale: 80%;
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    color: #c9a050;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 0 16px rgba(201, 160, 80, 0.44)) drop-shadow(0 0 24px rgba(201, 160, 80, 0.18));
    animation: arrowBounce 1.8s ease-in-out infinite;
}

@keyframes arrowBounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(6px);
    }
}

/* Logo tab */
.header-logo {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    padding: 0 20px;
    height: 60px;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

@media (min-width: 640px) {
    .header-logo {
        height: 76px;
        gap: 19px;
    }
}

.logo-ueh-img {
    height: 40px;
    width: auto;
    object-fit: contain;
    display: block;
}

@media (min-width: 640px) {
    .logo-ueh-img {
        height: 52px;
    }
}

.logo-div {
    width: 1px;
    height: 28px;
    background: rgba(68, 68, 68, 0.3);
    border-radius: 24px;
}

@media (min-width: 640px) {
    .logo-div {
        height: 38px;
    }
}

.logo-50-img {
    height: 40px;
    width: auto;
    object-fit: contain;
    display: block;
}

@media (min-width: 640px) {
    .logo-50-img {
        height: 52px;
    }
}

/* ===== GALLERY ===== */
#gallery {
    position: relative;
    background: #030712;
    padding: 12px 0;
    width: 100%;
    overflow: hidden;
}

@media (min-width: 640px) {
    #gallery {
        padding: 16px 0;
    }
}

.gallery-track {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 0 40px;
}

@media (min-width: 640px) {
    .gallery-track {
        gap: 26px;
    }
}

/* ===== GALLERY 2 (auto-scroll) ===== */
#gallery2 {
    position: relative;
    background: #030712;
    padding: 12px 0;
    width: 100%;
    overflow: hidden;
}

@media (min-width: 640px) {
    #gallery2 {
        padding: 16px 0;
    }
}

.gallery2-track {
    display: flex;
    width: 100%;
    overflow: hidden;
}

/* Pause on hover over gallery2 */
#gallery2:hover .gallery-inner {
    animation-play-state: paused;
}

@keyframes gallery-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.gallery-inner {
    display: flex;
    gap: 12px;
    animation: gallery-scroll 128s linear infinite;
    will-change: transform;
}

@media (min-width: 640px) {
    .gallery-inner {
        gap: 26px;
    }
}

.gallery-item {
    height: 120px;
    min-width: 200px;
    flex-shrink: 0;
    border-radius: 10px;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    transition: filter 0.2s;
}

@media (min-width: 640px) {
    .gallery-item {
        height: 140px;
        min-width: 240px;
        border-radius: 14px;
    }
}

@media (min-width: 1024px) {
    .gallery-item {
        height: 160px;
        min-width: 257px;
    }
}

.gallery-item:hover .gallery-item-inner {
    filter: brightness(0.7);
}

.gallery-item-inner {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
    transition: filter 0.2s;
}

.gallery-expand {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s;
}

.gallery-item:hover .gallery-expand {
    opacity: 1;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.gallery-nav:hover {
    background: rgba(0, 0, 0, 0.7);
}

.gallery-nav-l {
    left: 4px;
}

.gallery-nav-r {
    right: 4px;
}

@media (min-width: 640px) {
    .gallery-nav {
        width: 36px;
        height: 36px;
    }

    .gallery-nav-l {
        left: 12px;
    }

    .gallery-nav-r {
        right: 12px;
    }
}

/* ===== FLOOR TABS ===== */
.floor-tabs {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    margin-top: 24px;

    img {
        width: 16px;
        height: auto;
        filter: invert(1);
    }
}

.floor-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 9999px;
    border: 1.5px solid rgba(0, 187, 167, 0.45);
    background: transparent;
    color: #b0bec5;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.floor-tab:hover:not(.active) {
    border-color: rgba(0, 187, 167, 0.75);
    background: rgba(0, 187, 167, 0.07);
    color: #e3e3e3;
}

.floor-tab.active {
    background: #1F6F6D;
    border-color: #1F6F6D;
    color: #fff;
}

@media (min-width: 640px) {
    .floor-tab {
        font-size: 15px;
        padding: 11px 26px;
    }
}

/* ===== SEAT SECTION ===== */
#seat-section {
    position: relative;
    width: 100%;
    padding: 16px 8px;
}

@media (min-width: 640px) {
    #seat-section {
        padding: 24px 16px;
    }
}

/* Stage */
.stage-wrap {
    display: flex;
    justify-content: center;
    width: 100%;
}

.stage-label {
    background: linear-gradient(180deg,
            rgba(0, 187, 167, 0.4) 0%,
            transparent 100%);
    height: 36px;
    border-radius: 24px 24px 0 0;
    width: 70%;
    max-width: 630px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(0, 187, 167, 0.5);
    border-bottom: none;
}

@media (min-width: 640px) {
    .stage-label {
        height: 40px;
    }
}

.stage-text {
    font-size: 11px;
    color: #00d5be;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

@media (min-width: 640px) {
    .stage-text {
        font-size: 12px;
    }
}

/* Seatmap scroll */
.seatmap-wrapper {
    position: relative;
    width: 100%;
    margin-top: 16px;
}

.seatmap-scroll {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 16px;
    position: relative;
}

.seatmap-inner {
    min-width: 1060px;
    display: flex;
    justify-content: center;
}

.seatmap {
    width: 1044px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 60px;
    align-items: center;
    position: relative;
}

.fade-l,
.fade-r {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 32px;
    pointer-events: none;
    z-index: 5;
}

.fade-l {
    left: 0;
    background: linear-gradient(to right, #030712, transparent);
}

.fade-r {
    right: 0;
    background: linear-gradient(to left, #030712, transparent);
}

@media (min-width: 1280px) {

    .fade-l,
    .fade-r {
        display: none;
    }
}

/* Drag hint */
.drag-hint {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    background: rgba(0, 213, 190, 0.15);
    border: 1px solid rgba(0, 213, 190, 0.3);
    border-radius: 9999px;
    padding: 6px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: blink 2s ease-in-out infinite;
}

@media (min-width: 1280px) {
    .drag-hint {
        display: none;
    }
}

.drag-hint span {
    font-size: 12px;
    color: #00d5be;
    white-space: nowrap;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.55;
    }
}

/* ===== VIP SECTION ===== */
.vip-section-ghost {
    height: 160px;
    border-radius: 10px;
    width: 762px;
    flex-shrink: 0;
    border: 1px dashed rgba(254, 154, 0, 0.18);
    background: rgba(254, 154, 0, 0.025);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.vip-section-ghost .ghost-icon {
    opacity: 0.35;
}

.vip-section-ghost .ghost-title {
    color: #ffb900;
    font-size: 13px;
    font-weight: 600;
    opacity: 0.45;
    letter-spacing: 0.5px;
}

.vip-section-ghost .ghost-sub {
    color: #6b7280;
    font-size: 11px;
}

/* ===== VIP SECTION ===== */
.vip-section {
    background: rgba(254, 154, 0, 0.05);
    height: 160px;
    border-radius: 10px;
    width: 762px;
    flex-shrink: 0;
    border: 1px solid rgba(254, 154, 0, 0.3);
    padding: 13px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: center;
}

/* ===== PREMIUM SECTION ===== */
.premium-section {
    position: relative;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    align-items: flex-start;
    padding: 6px 0;
}

.premium-section::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 196px;
    right: 196px;
    background: #4d23289c;
    border: 2px dashed #8B1E2D;
    border-radius: 10px;
    pointer-events: none;
}

/* VIP Row */
.vip-row {
    height: 59px;
    position: relative;
    width: 736px;
    flex-shrink: 0;
}

.vip-row-lbl {
    position: absolute;
    font-size: 10px;
    color: #e3e3e3;
    line-height: 15px;
    top: 22px;
    white-space: nowrap;
}

.vip-row-lbl.l {
    right: calc(100% - 20px);
    text-align: right;
}

.vip-row-lbl.r {
    left: 716px;
}

.vip-group {
    position: absolute;
    top: 0;
    display: flex;
    gap: 16px;
    height: 59px;
    align-items: flex-start;
}

.vip-group.l {
    left: 28px;
    width: 316px;
}

.vip-group.r {
    left: 392px;
    width: 316px;
}

/* Table Unit */
.table-unit {
    height: 59px;
    flex-shrink: 0;
    width: 67px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    align-items: center;
}

.table-bar {
    background: rgba(187, 77, 0, 0.4);
    height: 24px;
    border-radius: 4px;
    flex-shrink: 0;
    width: 64px;
    border: 1px solid rgba(225, 113, 0, 0.5);
}

.vip-seat-row {
    display: flex;
    gap: 3px;
    align-items: flex-start;
    width: 67px;
}

/* ===== SEAT BUTTONS ===== */
.vip-seat {
    border-radius: 8px;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition:
        opacity 0.15s,
        transform 0.1s;
    position: relative;
}

.vip-seat:not(:disabled):hover {
    opacity: 0.85;
    transform: scale(1.06);
}

.vip-seat:disabled {
    cursor: not-allowed;
    opacity: 0.9;
    pointer-events: auto;
}

.vip-seat .lbl {
    font-size: 9px;
    color: #fff;
    font-weight: 500;
    letter-spacing: 0.17px;
    line-height: 1;
    pointer-events: none;
}

.normal-seat {
    border-radius: 8px 8px 0 0;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition:
        opacity 0.15s,
        transform 0.1s;
    position: relative;
}

.normal-seat.last-in-group {
    flex: 1 0 0;
    min-width: 0;
    height: 24px;
}

.normal-seat:not(:disabled):hover {
    opacity: 0.85;
    transform: scale(1.08);
}

.normal-seat:disabled {
    cursor: not-allowed;
    opacity: 0.9;
    pointer-events: auto;
}

.normal-seat .lbl {
    font-size: 8px;
    color: #fff;
    font-weight: 500;
    letter-spacing: 0.2px;
    line-height: 1;
    pointer-events: none;
}

/* ===== NORMAL ROWS ===== */
.normal-section {
    flex: 1 0 0;
    min-width: 0;
    position: relative;
    width: 1044px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    align-items: flex-start;
}

.normal-row {
    height: 24px;
    position: relative;
    flex-shrink: 0;
    width: 1044px;
}

.row-lbl {
    position: absolute;
    font-size: 10px;
    color: #e3e3e3;
    line-height: 15px;
    top: 4.5px;
    white-space: nowrap;
}

.row-lbl.l {
    right: calc(100% - 20px);
    text-align: right;
}

.row-lbl.r {
    left: calc(var(--rleft, 1024px));
}

.seat-group {
    position: absolute;
    display: flex;
    gap: 2px;
    height: 24px;
    align-items: flex-start;
}

/* Row W entrance */
.entrance-row {
    flex: 1 0 0;
    position: relative;
    width: 1044px;
    min-height: 24px;
}

.entrance-marker {
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 2px;
    align-items: center;
    left: 494px;
    top: 1.25px;
    width: 56px;
    height: 21.5px;
}

.e-dash {
    height: 2px;
    width: 100%;
    border-top: 2px dashed #6a7282;
}

.e-text {
    font-size: 9px;
    color: #6a7282;
    letter-spacing: 0.17px;
    white-space: nowrap;
}

/* ===== LEGEND ===== */
.legend {
    padding: 8px 16px;
    width: 100%;
}

.legend-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 16px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.legend-dot {
    width: 14px;
    height: 14px;
    border-radius: 8px 8px 0 0;
    flex-shrink: 0;
    border: 1px solid;
}

@media (min-width: 640px) {
    .legend-dot {
        width: 16px;
        height: 16px;
    }
}

.legend-item span {
    font-size: 11px;
    color: #e3e3e3;
    white-space: nowrap;
}

@media (min-width: 640px) {
    .legend-item span {
        font-size: 12px;
    }
}

/* ===== PRICE TAGS ===== */
.price-tags {
    width: 100%;
}

.price-tags-inner {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
}

@media (min-width: 1280px) {
    .price-tags-inner {
        flex-direction: column;
    }
}

.price-tag {
    min-width: 100px;
    padding: 8px 16px;
    border-radius: 10px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid;
}

@media (min-width: 640px) {
    .price-tag {
        min-width: 109px;
    }
}

.price-type {
    font-size: 13px;
    line-height: 20px;
}

.price-val {
    font-size: 13px;
    line-height: 20px;
    color: #fff;
    white-space: nowrap;
}

@media (min-width: 640px) {

    .price-type,
    .price-val {
        font-size: 14px;
    }
}

/* ===== SIDEBAR ===== */
#sidebar-left {
    width: 100%;
    padding: 0 16px;
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@media (min-width: 1280px) {
    #sidebar-left {
        position: absolute;
        right: calc(50% + 460px);
        top: 24px;
        width: 160px;
        padding: 0;
        margin: 0;
    }
}

@media (min-width: 1440px) {
    #sidebar-left {
        right: calc(50% + 540px);
    }
}

#sidebar {
    width: 100%;
    padding: 0 16px;
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@media (min-width: 1280px) {
    #sidebar {
        position: absolute;
        left: calc(50% + 460px);
        top: 24px;
        width: 160px;
        padding: 0;
        margin: 0;
    }
}

@media (min-width: 1440px) {
    #sidebar {
        left: calc(50% + 540px);
    }
}

.detail-btn {
    width: 100%;
    height: 32px;
    padding: 0 16px;
    background: rgba(0, 187, 167, 0.1);
    border: 1px solid rgba(0, 187, 167, 0.3);
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s;
}

@media (min-width: 640px) {
    .detail-btn {
        height: 34px;
    }
}

.detail-btn:hover {
    background: rgba(0, 187, 167, 0.2);
}

.detail-btn span {
    font-size: 11px;
    color: #46ecd5;
    font-weight: 500;
    white-space: nowrap;
}

@media (min-width: 640px) {
    .detail-btn span {
        font-size: 12px;
    }
}

.stats-card {
    background: rgba(30, 41, 57, 0.8);
    border: 1px solid #364153;
    border-radius: 14px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.stats-title {
    font-size: 11px;
    color: #6a7282;
    letter-spacing: 0.61px;
    text-transform: uppercase;
}

.stats-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
}

.stats-hd {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stats-hd span:first-child {
    font-size: 14px;
    color: #e3e3e3;
}

.stats-hd span:last-child {
    font-size: 14px;
    color: #fff;
}

.stats-hd.sm span:first-child {
    font-size: 12px;
}

.stats-hd.sm span:last-child {
    font-size: 12px;
    color: #d1d5dc;
}

.stats-bar-bg {
    background: #364153;
    border-radius: 9999px;
    overflow: hidden;
    width: 100%;
}

.stats-bar-fill {
    border-radius: 9999px;
    transition: width 0.3s ease;
}

.stats-pct {
    font-size: 10px;
    color: #6a7282;
    letter-spacing: 0.12px;
}

/* ===== BOTTOM BAR ===== */
#bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 40;
    background: rgba(16, 24, 40, 0.97);
    backdrop-filter: blur(4px);
    padding: 12px 16px;
    border-top: 1px solid #364153;
    display: none;
}

#bottom-bar.show {
    display: block;
}

@media (min-width: 640px) {
    #bottom-bar {
        padding: 17px 32px;
    }
}

@media (min-width: 1024px) {
    #bottom-bar {
        padding: 17px 396px;
    }
}

.bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.bar-info {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.bar-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bar-seats {
    font-size: 13px;
    color: #e3e3e3;
}

@media (min-width: 640px) {
    .bar-seats {
        font-size: 14px;
    }
}

.bar-seats .cnt {
    color: #fff;
}

.bar-timer {
    display: flex;
    align-items: center;
    gap: 4px;
}

.bar-timer-val {
    font-size: 13px;
    color: #e61017;
}

@media (min-width: 640px) {
    .bar-timer-val {
        font-size: 14px;
    }
}

.bar-price {
    font-size: 16px;
    color: #00d5be;
    line-height: 28px;
    letter-spacing: -0.44px;
}

@media (min-width: 640px) {
    .bar-price {
        font-size: 18px;
    }
}

.continue-btn {
    background: #009689;
    color: #fff;
    height: 42px;
    border-radius: 14px;
    padding: 0 20px;
    font-size: 15px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
    flex-shrink: 0;
}

.continue-btn:hover {
    background: #00bba7;
}

@media (min-width: 640px) {
    .continue-btn {
        height: 48px;
        padding: 0 24px;
        font-size: 16px;
    }
}

#bar-spacer {
    display: none;
    height: 70px;
}

#bar-spacer.show {
    display: block;
}

@media (min-width: 640px) {
    #bar-spacer.show {
        height: 81px;
    }
}

/* ===== IMAGE OVERLAY ===== */
#img-overlay {
    position: fixed;
    inset: 0;
    z-index: 50;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

#img-overlay.show {
    display: flex;
}

.io-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    padding: 4px;
}

.io-close:hover {
    color: #fff;
}

.io-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: none;
    cursor: pointer;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.io-nav:hover {
    background: rgba(255, 255, 255, 0.25);
}

.io-nav.l {
    left: 8px;
}

.io-nav.r {
    right: 8px;
}

@media (min-width: 640px) {
    .io-nav {
        width: 44px;
        height: 44px;
    }

    .io-nav.l {
        left: 24px;
    }

    .io-nav.r {
        right: 24px;
    }
}

.io-content {
    max-width: 90vw;
    max-height: 80dvh;
}

@media (min-width: 640px) {
    .io-content {
        max-width: 80vw;
    }
}

.io-img {
    max-width: 100%;
    max-height: 75dvh;
    border-radius: 14px;
    display: block;
}

@media (min-width: 640px) {
    .io-img {
        max-height: 80dvh;
    }
}

.io-counter {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    margin-top: 8px;
}

.io-img-wrap {
    position: relative;
    display: inline-block;
    line-height: 0;
    border-radius: 14px;
    overflow: hidden;
}

.io-img-wrap .io-img {
    display: block;
}

.galleryItemCaption {
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
    padding-left: 1rem;
    padding-right: 1rem;
    text-align: center;
    font-size: 13.5px;
    font-weight: 700;
    color: #fff;
    width: 100%;
    line-height: 1.4;
}

.galleryItemCaption.highlight {
    position: absolute;
    bottom: 8px;
    left: 0;
    right: 0;
    display: block;
    margin-top: 0;
    border-radius: 0;
}

.galleryItemCaption.highlight::before,
.galleryItemCaption.highlight::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    width: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.4), transparent);
}

.galleryItemCaption.highlight::before {
    top: 0;
}

.galleryItemCaption.highlight::after {
    bottom: 0;
}

/* ===== SEAT DETAIL POPUP ===== */
#seat-detail-overlay {
    position: fixed;
    inset: 0;
    z-index: 60;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

#seat-detail-overlay.show {
    display: flex;
}

.sd-card {
    position: relative;
    width: 100%;
    max-width: 640px;
    background: linear-gradient(140deg,
            #001f22 0%,
            #00282c 35%,
            #00363b 45%,
            #0f5b5f 75%,
            #2a7a78 100%);

    background-size: 120% 120%;
    border: 1px solid transparent;
    background-clip: padding-box;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.85);
}

.sd-card::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 2px;
    border-radius: 24px;
    background: linear-gradient(135deg,
            rgba(214, 187, 161, 0.55) 0%,
            rgba(169, 124, 59, 0.25) 35%,
            rgba(255, 255, 255, 0.08) 60%,
            rgba(214, 187, 161, 0.45) 100%);
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 1;
}

.sd-close {
    position: absolute;
    top: 40px;
    right: 40px;
    background: transparent;
    border: 1px solid rgba(214, 187, 161, 0.55);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #d6bba1;
    z-index: 3;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.sd-close:hover {
    background: rgba(214, 187, 161, 0.12);
    color: #fff;
    border-color: rgba(214, 187, 161, 0.85);
}

.sd-header {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 40px 40px 20px;
    z-index: 2;
}

.sd-seat-badge {
    border: 1.5px solid rgba(214, 187, 161, 0.75);
    background: linear-gradient(180deg, #d6bba1 29%, #a97c3b 100%);
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    border-radius: 12px;
    padding: 14px 18px;
    min-width: 76px;
    text-align: center;
    font-size: 32px;
    font-weight: 900;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 1px;
    line-height: 1;
}

.sd-zone {
    font-size: 20px;
    font-weight: 700;
    color: #d6bba1;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
}

.sd-plane {
    margin-left: auto;
    opacity: 0.8;
}

.sd-body {
    position: relative;
    padding: 8px 50px 4px;
    z-index: 2;
}

.sd-label {
    margin-top: 32px;
    font-size: 14px;
    font-weight: 600;
    color: #8a8a8a;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
    font-family: 'Montserrat', sans-serif;
}

.sd-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.16);
    border: 1px solid #4f9a9787;
    border-radius: 12px;
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 500;
    color: #4f9a97;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
}

.sd-name {
    font-size: 26px;
    font-weight: 600;
    color: #fff;
    line-height: 1.3;
    font-family: 'Montserrat', sans-serif;
}

.sd-message {
    font-size: 15px;
    color: rgba(214, 187, 161, 0.85);
    line-height: 1.65;
    font-style: italic;
}

.sd-date-row {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.9);
}

.sd-date {
    font-size: 16px;
    color: #fff;
    font-weight: 500;
}

.sd-footer {
    position: relative;
    padding: 24px 40px 28px;
    display: flex;
    justify-content: center;
    z-index: 2;
}

.sd-cta {
    min-width: 220px;
    height: 52px;
    padding: 0 28px;
    background: linear-gradient(18deg, #1a332b 0%, #c4ad91 100%);
    border: 1px solid rgba(214, 187, 161, 0.6);
    border-radius: 14px;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    letter-spacing: 1.2px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    transition: filter 0.2s, transform 0.2s;
    box-shadow: 0 8px 24px rgba(169, 124, 59, 0.25);
}

.sd-cta:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

/* sold seats: cursor pointer, slight hover */
.vip-seat[data-sold]:hover,
.normal-seat[data-sold]:hover {
    opacity: 0.8;
    transform: scale(1.06);
    cursor: pointer;
}

/* ===== DETAIL OVERLAY ===== */
#detail-overlay {
    position: fixed;
    inset: 0;
    z-index: 70;
    background: rgba(0, 0, 0, 0.88);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

#detail-overlay.show {
    display: flex;
}

/* ===== CONFIRM MODAL ===== */
#confirm-overlay {
    position: fixed;
    inset: 0;
    z-index: 50;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

#confirm-overlay.show {
    display: flex;
}

@media (min-width: 640px) {
    #confirm-overlay {
        padding: 16px;
    }
}

.modal-card {
    background: #101828;
    border-radius: 16px;
    width: 100%;
    max-width: 510px;
    border: 1px solid #364153;
    max-height: 95dvh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

@media (min-width: 640px) {
    .modal-card {
        max-height: 90dvh;
    }
}

.modal-hdr {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border-bottom: 1px solid #364153;
}

@media (min-width: 640px) {
    .modal-hdr {
        padding: 20px;
    }
}

.modal-title {
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    letter-spacing: -0.44px;
}

@media (min-width: 640px) {
    .modal-title {
        font-size: 18px;
    }
}

.modal-x {
    background: none;
    border: none;
    color: #e3e3e3;
    cursor: pointer;
    padding: 4px;
    display: flex;
}

.modal-x:hover {
    color: #fff;
}

.modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

@media (min-width: 640px) {
    .modal-body {
        padding: 20px;
        gap: 20px;
    }
}

.form-sec-title {
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 12px;
}

.form-req {
    color: #ff6467;
}

.form-row-2 {
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .form-row-2 {
        grid-template-columns: 1fr 1fr;
    }
}

.input-wrap {
    position: relative;
}

.input-ico {
    position: absolute;
    left: 12px;
    top: 13px;
    color: #6a7282;
    pointer-events: none;
}

.form-input {
    width: 100%;
    background: #1e2939;
    border: 1px solid #4a5565;
    border-radius: 10px;
    height: 42px;
    padding: 0 12px 0 40px;
    font-size: 14px;
    color: #fff;
    font-family: "Montserrat", sans-serif;
    outline: none;
    transition: border-color 0.2s;
}

.form-input::placeholder {
    color: #6a7282;
}

.form-input:focus {
    border-color: #00bba7;
}

.form-input.input-error {
    border-color: #ff6467;
}

.form-select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 4.5L6 7.5L9 4.5' stroke='%236a7282' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
}

.form-select option {
    background: #1e2939;
    color: #fff;
}

.modal-divider {
    border-top: 1px solid #364153;
}

.wish-sub {
    font-size: 14px;
    color: #e3e3e3;
    margin-bottom: 12px;
}

.wish-sub .hl {
    color: #fff;
}

.wish-card {
    background: #1e2939;
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 8px;
}

.wish-card-hd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.wish-seat-id {
    color: #fff;
    font-size: 14px;
}

.wish-badge {
    background: rgba(0, 187, 167, 0.2);
    color: #00d5be;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 4px;
}

.wish-ta {
    width: 100%;
    background: #364153;
    border: 1px solid #4a5565;
    border-radius: 10px;
    padding: 8px;
    font-size: 14px;
    color: #fff;
    font-family: "Montserrat", sans-serif;
    outline: none;
    resize: none;
    height: 80px;
    transition: border-color 0.2s;
}

.wish-ta::placeholder {
    color: #6a7282;
}

.wish-ta:focus {
    border-color: #00bba7;
}

.summary-card {
    background: #1e2939;
    border-radius: 10px;
    padding: 16px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.summary-row span {
    font-size: 14px;
    color: #d1d5dc;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #4a5565;
    padding-top: 8px;
    margin-top: 4px;
}

.summary-total .lbl {
    font-size: 16px;
    color: #fff;
}

.summary-total .val {
    font-size: 16px;
    color: #009689;
}

.modal-ftr {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-top: 1px solid #364153;
}

.modal-ftr .detail-btn {
    width: auto;
    flex-shrink: 0;
    height: 44px;
    padding: 0 14px;
    border-radius: 14px;
}

@media (min-width: 640px) {
    .modal-ftr {
        padding: 20px;
    }
}

.back-btn {
    flex: 1;
    height: 44px;
    border-radius: 14px;
    border: 1px solid #4a5565;
    color: #d1d5dc;
    font-size: 15px;
    font-weight: 500;
    font-family: "Montserrat", sans-serif;
    cursor: pointer;
    background: none;
    transition: background 0.2s;
}

.back-btn:hover {
    background: #1e2939;
}

@media (min-width: 640px) {
    .back-btn {
        height: 50px;
        font-size: 16px;
    }
}

.pay-btn {
    flex: 1;
    height: 44px;
    border-radius: 14px;
    background: #009689;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    font-family: "Montserrat", sans-serif;
    cursor: pointer;
    border: none;
    transition: background 0.2s;
}

.pay-btn:hover {
    background: #00bba7;
}

@media (min-width: 640px) {
    .pay-btn {
        height: 50px;
        font-size: 16px;
    }
}

/* ===== SUCCESS OVERLAY ===== */
#success-overlay {
    position: fixed;
    inset: 0;
    z-index: 50;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

#success-overlay.show {
    display: flex;
}

.success-card {
    background: #101828;
    border-radius: 16px;
    width: 100%;
    max-width: 420px;
    border: 1px solid #364153;
    padding: 24px;
    text-align: center;
}

@media (min-width: 640px) {
    .success-card {
        padding: 32px;
    }
}

.success-ico {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(0, 187, 167, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

@media (min-width: 640px) {
    .success-ico {
        width: 72px;
        height: 72px;
        margin-bottom: 20px;
    }
}

.success-ttl {
    font-size: 20px;
    color: #fff;
    margin-bottom: 8px;
}

@media (min-width: 640px) {
    .success-ttl {
        font-size: 22px;
    }
}

.success-desc {
    font-size: 13px;
    color: #e3e3e3;
    margin-bottom: 20px;
    line-height: 1.6;
}

@media (min-width: 640px) {
    .success-desc {
        font-size: 14px;
        margin-bottom: 24px;
    }
}

.success-btn {
    width: 100%;
    height: 44px;
    border-radius: 14px;
    background: #009689;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    font-family: "Montserrat", sans-serif;
    transition: background 0.2s;
}

.success-btn:hover {
    background: #00bba7;
}

@media (min-width: 640px) {
    .success-btn {
        height: 48px;
        font-size: 16px;
    }
}

/* ===== SEAT VIDEO OVERLAY ===== */
#seat-video-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

#seat-video-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

#seat-video-wrap {
    position: relative;
    display: inline-flex;
}

#seat-video-close {
    position: absolute;
    top: -28px;
    right: -28px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease;
    z-index: 201;
}

#seat-video-close:hover {
    background: rgba(255, 255, 255, 0.28);
}

#seat-video {
    max-width: min(640px, 92vw);
    max-height: 80vh;
    border-radius: 16px;
    display: block;
    box-shadow: 0 8px 48px rgba(0, 0, 0, 0.6);
}

/* ===== SEAT TOOLTIP ===== */
.seat-tooltip {
    position: fixed;
    z-index: 9999;
    pointer-events: none;
    background: rgba(15, 15, 20, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 8px 12px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    min-width: 140px;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.15s ease, transform 0.15s ease;
    white-space: nowrap;
}

.seat-tooltip.visible {
    opacity: 1;
    transform: translateY(0);
}

.seat-tooltip .st-name {
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 2px;
    line-height: 1.3;
}

.seat-tooltip .st-role {
    font-size: 10px;
    font-weight: 400;
    color: #99a1af;
    margin: 0;
    line-height: 1.3;
}