/* =========================================================
   THEME: Rahasia Dibalik Tawa & Tangis
   Deep wine red + elegant gold accents
   ========================================================= */
:root {
    --bg-deep: #110303;
    --bg-base: #1a0606;
    --bg-elevated: #240a0a;
    --bg-card: #2a0c0c;
    --bg-card-2: #341010;
    --line-soft: rgba(215, 178, 109, 0.18);
    --line-strong: rgba(215, 178, 109, 0.45);

    --gold: #d7b26d;
    --gold-soft: #c9a558;
    --gold-bright: #e8c98a;
    --gold-deep: #a3854f;

    --ivory: #f5efe3;
    --soft: #d8cfc1;
    --muted: #9c9082;
    --muted-2: #7a6f63;

    --red-glow: #6d1414;
    --red-deep: #3a0808;

    --shadow-card: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
    --shadow-gold: 0 12px 28px -8px rgba(215, 178, 109, 0.45);
}

/* ====== Base ====== */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: clip;
    width: 100%;
    max-width: 100vw;
}

body {
    background: var(--bg-base);
    color: var(--ivory);
    font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-weight: 400;
    line-height: 1.65;
    overflow-x: clip;
    width: 100%;
    max-width: 100vw;
    position: relative;

    background-image:
        radial-gradient(900px 500px at 10% -5%, rgba(109, 20, 20, 0.45), transparent 60%),
        radial-gradient(900px 500px at 95% 100%, rgba(109, 20, 20, 0.35), transparent 60%);
    background-attachment: fixed;
}

img,
picture {
    max-width: 100%;
    display: block;
}

::selection {
    background: var(--gold);
    color: #1a0606;
}

a {
    color: var(--gold);
    text-decoration: none;
    transition: color .2s ease;
}

a:hover {
    color: var(--gold-bright);
}

.text-gold {
    color: var(--gold) !important;
}

.text-soft {
    color: var(--soft) !important;
}

.text-muted-soft {
    color: var(--muted) !important;
}

.link-gold {
    color: var(--gold);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.link-gold:hover {
    color: var(--gold-bright);
}

/* ====== Typography ====== */
.section-title,
h1,
h2,
h3,
h4 {
    font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--ivory);
}

.section-title {
    font-size: clamp(1.85rem, 3.4vw, 2.7rem);
    line-height: 1.15;
    margin-bottom: 1rem;
    background: linear-gradient(180deg, #f5efe3 0%, #e8c98a 60%, #c9a558 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-desc {
    color: var(--soft);
    font-size: 1rem;
    max-width: 720px;
    margin: 0 auto;
}

.eyebrow {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    padding: 6px 14px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    margin-bottom: 1rem;
    background: rgba(215, 178, 109, 0.06);
}

.section-padding {
    padding: 90px 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 64px 0;
    }
}

/* ====== Brand ====== */
.brand-text {
    line-height: 1;
    text-decoration: none;
    color: var(--ivory) !important;
}

.brand-text .brand-line {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 2px;
    color: var(--ivory);
}

.brand-text .brand-sub {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.62rem;
    letter-spacing: 6px;
    color: var(--gold);
    margin-top: 4px;
}

/* ====== Navbar ====== */
.site-navbar {
    background: rgba(17, 3, 3, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: background-color .35s ease, box-shadow .35s ease, padding .35s ease;
    padding: 14px 0;
    width: 100%;
    max-width: 100vw;
}

.site-navbar>.container {
    max-width: 100%;
}

.site-navbar.scrolled {
    background: rgba(17, 3, 3, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    padding: 10px 0;
    border-bottom: 1px solid var(--line-soft);
}

.site-navbar .nav-link {
    color: var(--soft);
    font-size: 0.92rem;
    font-weight: 500;
    padding: 8px 14px !important;
    position: relative;
    transition: color .2s ease;
}

.site-navbar .nav-link:hover {
    color: var(--gold-bright);
}

.site-navbar .nav-link.active {
    color: var(--gold);
}

.site-navbar .nav-link::after {
    content: '';
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 4px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .25s ease;
}

.site-navbar .nav-link:hover::after,
.site-navbar .nav-link.active::after {
    transform: scaleX(1);
}

.nav-cta .btn {
    white-space: nowrap;
}

.nav-cta .btn.btn-sm {
    padding: 7px 16px;
    font-size: 0.82rem;
}

.navbar-toggler {
    border: 1px solid var(--line-strong);
    color: var(--gold);
    font-size: 1.4rem;
    padding: 4px 10px;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 .2rem rgba(215, 178, 109, 0.25);
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(17, 3, 3, 0.95);
        backdrop-filter: blur(10px);
        margin-top: 12px;
        padding: 16px;
        border-radius: 14px;
        border: 1px solid var(--line-soft);
    }

    .site-navbar .nav-link::after {
        display: none;
    }

    .site-navbar .nav-link.active {
        background: rgba(215, 178, 109, 0.08);
        border-radius: 8px;
    }

    .nav-cta {
        margin-top: 6px;
    }

    .nav-cta+.nav-cta {
        margin-top: 8px;
    }
}

/* Brand sizing safety on tiny phones */
@media (max-width: 360px) {
    .brand-text .brand-line {
        font-size: 0.95rem;
        letter-spacing: 1.5px;
    }

    .brand-text .brand-sub {
        font-size: 0.55rem;
        letter-spacing: 5px;
    }
}

/* ====== Buttons ====== */
.btn-gold {
    background: linear-gradient(180deg, #e8c98a, #d7b26d 60%, #b8954e);
    color: #1a0606 !important;
    font-weight: 600;
    border: none;
    padding: 12px 28px;
    border-radius: 999px;
    letter-spacing: 0.4px;
    box-shadow: var(--shadow-gold);
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.btn-gold:hover,
.btn-gold:focus {
    transform: translateY(-2px);
    color: #1a0606 !important;
    filter: brightness(1.06);
    box-shadow: 0 18px 36px -10px rgba(215, 178, 109, 0.65);
}

.btn-gold:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
}

.btn-outline-gold {
    background: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
    font-weight: 500;
    padding: 11px 26px;
    border-radius: 999px;
    transition: all .2s ease;
}

.btn-outline-gold:hover,
.btn-outline-gold:focus {
    background: var(--gold);
    color: #1a0606;
    transform: translateY(-2px);
}

.btn-outline-gold.btn-sm {
    padding: 6px 16px;
    font-size: 0.82rem;
}

.btn-ghost {
    background: transparent;
    color: var(--soft);
    border: 1px solid var(--line-soft);
    border-radius: 999px;
    padding: 10px 22px;
    transition: all .2s ease;
}

.btn-ghost:hover {
    color: var(--ivory);
    border-color: var(--line-strong);
    background: rgba(215, 178, 109, 0.06);
}

.btn-buy {
    padding: 12px 18px;
}

/* ====== HERO ====== */
.hero-section {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    background: var(--bg-deep);
    margin-top: 0;
    padding-top: 70px;
}

.hero-picture {
    display: block;
    width: 100%;
    max-width: 100%;
    line-height: 0;
}

.hero-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.hero-fade {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 25%;
    background: linear-gradient(180deg, transparent 0%, var(--bg-base) 100%);
    pointer-events: none;
}

/* ====== ABOUT / INFO CARDS ====== */
.about-section {
    position: relative;
}

.info-card {
    background: linear-gradient(180deg, rgba(52, 16, 16, 0.85), rgba(36, 10, 10, 0.85));
    border: 1px solid var(--line-soft);
    border-radius: 18px;
    padding: 28px 18px;
    height: 100%;
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
    backdrop-filter: blur(6px);
}

.info-card:hover {
    transform: translateY(-6px);
    border-color: var(--line-strong);
    box-shadow: var(--shadow-card);
}

.info-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(232, 201, 138, 0.25), rgba(215, 178, 109, 0.05));
    border: 1px solid var(--line-strong);
    color: var(--gold);
    font-size: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.info-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 6px;
}

.info-value {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--ivory);
    margin: 0;
    line-height: 1.4;
}

/* ====== TICKETS ====== */
.tickets-section {
    position: relative;
    background:
        linear-gradient(180deg, transparent 0%, rgba(58, 8, 8, 0.55) 50%, transparent 100%);
}

.tickets-bg-decor {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(600px 360px at 80% 20%, rgba(215, 178, 109, 0.08), transparent 70%),
        radial-gradient(600px 360px at 20% 90%, rgba(109, 20, 20, 0.5), transparent 70%);
    pointer-events: none;
}

.ticket-card {
    position: relative;
    background: linear-gradient(180deg, #341010 0%, #240a0a 100%);
    border: 1px solid var(--line-soft);
    border-radius: 22px;
    padding: 36px 28px 28px;
    box-shadow: var(--shadow-card);
    transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.ticket-card::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(280px 140px at 50% 0%, rgba(215, 178, 109, 0.12), transparent 70%);
    opacity: 0.85;
}

.ticket-card:hover {
    transform: translateY(-8px);
    border-color: var(--line-strong);
}

.ticket-card--elite {
    background: linear-gradient(180deg, #4a1414 0%, #2a0c0c 100%);
    border: 1px solid var(--gold);
    box-shadow:
        0 0 0 1px rgba(215, 178, 109, 0.2),
        0 30px 60px -20px rgba(0, 0, 0, 0.7),
        0 0 60px -10px rgba(215, 178, 109, 0.25);
    transform: translateY(-12px);
}

.ticket-card--elite:hover {
    transform: translateY(-18px);
}

@media (max-width: 991.98px) {
    .ticket-card--elite {
        transform: none;
    }

    .ticket-card--elite:hover {
        transform: translateY(-8px);
    }
}

.ticket-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: linear-gradient(180deg, #e8c98a, #d7b26d 60%, #b8954e);
    color: #1a0606;
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 5px 11px;
    border-radius: 999px;
    box-shadow: var(--shadow-gold);
}

.ticket-tier {
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 8px;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 8px;
    margin-top: 30px;
}

.ticket-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 4px;
}

.ticket-price .currency {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    color: var(--soft);
}

.ticket-price .amount {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    font-size: 2.6rem;
    line-height: 1;
    color: var(--ivory);
    background: linear-gradient(180deg, #f5efe3 0%, #e8c98a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ticket-seats {
    color: var(--muted);
    font-size: 0.85rem;
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px dashed var(--line-soft);
}

.ticket-seats i {
    color: var(--gold);
}

.ticket-features {
    list-style: none;
    padding: 0;
    margin: 0 0 26px 0;
    flex-grow: 1;
}

.ticket-features li {
    color: var(--soft);
    font-size: 0.95rem;
    padding: 7px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.ticket-features li i {
    color: var(--gold);
    background: rgba(215, 178, 109, 0.1);
    border: 1px solid var(--line-soft);
    width: 22px;
    height: 22px;
    min-width: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    margin-top: 1px;
}

.notice-line {
    color: var(--muted);
}

/* ====== INFO / CONTACT ====== */
.contact-pill {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: linear-gradient(180deg, rgba(52, 16, 16, 0.7), rgba(36, 10, 10, 0.7));
    border: 1px solid var(--line-soft);
    border-radius: 14px;
    color: var(--ivory);
    transition: border-color .2s ease, transform .2s ease;
}

a.contact-pill:hover {
    border-color: var(--line-strong);
    transform: translateX(4px);
    color: var(--ivory);
}

.contact-pill i {
    color: var(--gold);
    font-size: 1.3rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(215, 178, 109, 0.12);
    border: 1px solid var(--line-soft);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.quote-card {
    position: relative;
    background: linear-gradient(180deg, rgba(74, 20, 20, 0.7), rgba(36, 10, 10, 0.7));
    border: 1px solid var(--line-strong);
    border-radius: 22px;
    padding: 40px 32px;
    box-shadow: var(--shadow-card);
}

.quote-icon {
    position: absolute;
    top: 12px;
    left: 22px;
    font-size: 4rem;
    color: var(--gold);
    opacity: 0.2;
    line-height: 1;
}

.quote-text {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.4rem;
    line-height: 1.5;
    color: var(--ivory);
    margin: 16px 0 24px;
}

.quote-author {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.author-label {
    font-size: 0.7rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--muted);
}

.author-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--gold);
}

/* ====== FOOTER ====== */
.site-footer {
    padding: 30px 0 26px;
    border-top: 1px solid var(--line-soft);
    background: rgba(17, 3, 3, 0.7);
}

.footer-divider {
    border: 0;
    border-top: 1px solid var(--line-soft);
    margin: 22px 0 14px;
    opacity: 1;
}

.credit-line {
    color: var(--muted);
    font-size: 0.82rem;
}

.credit-line a {
    color: var(--gold);
    text-decoration: none;
    transition: color .2s ease;
}

.credit-line a:hover {
    color: var(--gold-bright);
    text-decoration: underline;
}

.credit-heart {
    color: #e74c5c;
    margin: 0 2px;
    animation: heartbeat 1.6s ease-in-out infinite;
    display: inline-block;
}

.credit-sep {
    color: var(--muted-2);
    margin: 0 6px;
}

@keyframes heartbeat {

    0%,
    100% {
        transform: scale(1);
    }

    25% {
        transform: scale(1.18);
    }

    50% {
        transform: scale(1);
    }
}

/* ====== BACK TO TOP ====== */
.back-to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 1040;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--gold);
    background: linear-gradient(180deg, #e8c98a, #d7b26d 60%, #b8954e);
    color: #1a0606;
    font-size: 1.15rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 14px 30px -10px rgba(0, 0, 0, 0.6), 0 0 0 4px rgba(215, 178, 109, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity .3s ease, transform .3s ease, visibility .3s ease, filter .2s ease;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    filter: brightness(1.08);
    transform: translateY(-3px);
    color: #1a0606;
}

.back-to-top:focus {
    outline: none;
    box-shadow: 0 14px 30px -10px rgba(0, 0, 0, 0.6), 0 0 0 4px rgba(215, 178, 109, 0.35);
}

@media (max-width: 575.98px) {
    .back-to-top {
        right: 16px;
        bottom: 16px;
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }

    /* ====== TERMS & CONDITIONS ====== */
    .terms-section {
        background: linear-gradient(180deg, rgba(26, 6, 6, 0.3), rgba(17, 3, 3, 0.3));
        border-top: 1px solid var(--line-soft);
        padding-top: 64px;
        padding-bottom: 80px;
    }

    .terms-content {
        color: var(--soft);
        max-width: 880px;
        margin: 0 auto;
    }

    .terms-list {
        counter-reset: item;
        margin-left: 1rem;
        padding-left: 1rem;
    }

    .terms-list li {
        margin: 0.6rem 0;
        color: var(--soft);
        line-height: 1.5;
    }

    .terms-note {
        margin-top: 1rem;
        color: var(--muted);
        font-size: .95rem;
    }

    @media (max-width: 768px) {
        .terms-section {
            padding-top: 48px;
            padding-bottom: 56px;
        }

        .terms-list {
            padding-left: 0.8rem;
        }
    }
}

/* ====== PAYMENT MODAL (FULLSCREEN IFRAME) ====== */
.payment-modal .modal-dialog {
    margin: 0;
    max-width: 100%;
    width: 100%;
    height: 100%;
    height: 100dvh;
}

.payment-modal-content {
    background: var(--bg-deep);
    color: var(--ivory);
    border: none;
    border-radius: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.payment-modal-header {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 22px;
    background: linear-gradient(180deg, #240a0a 0%, #1a0606 100%);
    border-bottom: 1px solid var(--line-soft);
    z-index: 4;
}

.payment-info-bar {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1 1 auto;
}

.payment-info-bar .bi-shield-lock-fill {
    font-size: 1.05rem;
    flex-shrink: 0;
}

.payment-info-bar .modal-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    color: var(--ivory);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.tier-badge {
    background: linear-gradient(180deg, #e8c98a, #d7b26d 60%, #b8954e);
    color: #1a0606;
    font-size: 0.65rem;
    letter-spacing: 2px;
    padding: 4px 10px;
    border-radius: 999px;
    text-transform: uppercase;
    font-weight: 700;
    flex-shrink: 0;
}

.btn-close-payment {
    flex-shrink: 0;
    background: rgba(215, 178, 109, 0.08);
    border: 1px solid var(--line-soft);
    color: var(--gold);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all .2s ease;
}

.btn-close-payment:hover {
    background: var(--gold);
    color: #1a0606;
    transform: rotate(90deg);
}

.btn-close-payment:focus {
    outline: none;
    box-shadow: 0 0 0 .25rem rgba(215, 178, 109, 0.3);
}

.payment-modal-body {
    flex: 1 1 auto;
    position: relative;
    background: var(--bg-deep);
    overflow: hidden;
    height: 100%;
    padding: 18px 22px 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 0;
}

.payment-iframe-wrap {
    position: relative;
    flex: 1 1 auto;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--line-soft);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
    min-height: 0;
}

.payment-iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.payment-loader {
    position: absolute;
    inset: 0;
    background: var(--bg-deep);
    color: var(--ivory);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 2;
    transition: opacity .35s ease, visibility .35s ease;
}

.payment-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.text-gold.spinner-border {
    color: var(--gold);
}

.payment-modal-footer {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 6px 22px 4px;
    color: var(--muted);
    font-size: 0.78rem;
    letter-spacing: 0.5px;
}

.payment-modal-footer .bi-lock-fill {
    color: var(--gold);
    font-size: 0.85rem;
}

@media (max-width: 575.98px) {
    .payment-modal-header {
        padding: 12px 14px;
        gap: 8px;
    }

    .payment-info-bar {
        gap: 7px;
    }

    .payment-info-bar .modal-title {
        font-size: 0.92rem;
    }

    .tier-badge {
        font-size: 0.6rem;
        padding: 3px 8px;
        letter-spacing: 1.5px;
    }

    .btn-close-payment {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    .payment-modal-body {
        padding: 12px 12px 8px;
        gap: 8px;
    }

    .payment-iframe-wrap {
        border-radius: 12px;
    }

    .payment-modal-footer {
        padding: 4px 14px 2px;
        font-size: 0.72rem;
    }
}

/* ====== RESEND TICKET MODAL ====== */
.resend-modal-content {
    background: linear-gradient(180deg, #240a0a, #1a0606);
    border: 1px solid var(--line-strong);
    border-radius: 20px;
    color: var(--ivory);
    overflow: hidden;
}

.resend-modal-header {
    border-bottom: 1px solid var(--line-soft);
    padding: 18px 22px;
}

.resend-modal-header .modal-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    color: var(--ivory);
}

.resend-modal-footer {
    border-top: 1px solid var(--line-soft);
    padding: 16px 22px;
    background: rgba(0, 0, 0, 0.15);
}

.btn-close-white {
    filter: invert(1) grayscale(1) brightness(2);
    opacity: 0.75;
}

.btn-close-white:hover {
    opacity: 1;
}

/* Dark inputs */
.input-group-dark .input-group-text {
    background: rgba(215, 178, 109, 0.08);
    border: 1px solid var(--line-soft);
    color: var(--gold);
}

.input-group-dark .form-control {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--line-soft);
    color: var(--ivory);
    padding: 10px 14px;
}

.input-group-dark .form-control::placeholder {
    color: var(--muted-2);
}

.input-group-dark .form-control:focus {
    background: rgba(0, 0, 0, 0.3);
    border-color: var(--gold);
    box-shadow: 0 0 0 .2rem rgba(215, 178, 109, 0.18);
    color: var(--ivory);
}

.list-group-dark {
    gap: 10px;
}

.list-group-dark .list-group-item,
.rt-order-item {
    background: rgba(52, 16, 16, 0.55) !important;
    border: 1px solid var(--line-soft) !important;
    color: var(--ivory);
    border-radius: 12px !important;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease;
}

.rt-order-item:hover {
    border-color: var(--line-strong) !important;
}

.rt-order-item.active {
    border-color: var(--gold) !important;
    background: rgba(215, 178, 109, 0.08) !important;
}

.form-check-input {
    background-color: transparent;
    border-color: var(--line-strong);
}

.form-check-input:checked {
    background-color: var(--gold);
    border-color: var(--gold);
}

.form-check-input:focus {
    box-shadow: 0 0 0 .2rem rgba(215, 178, 109, 0.25);
    border-color: var(--gold);
}

.rt-badge-success {
    background: rgba(40, 167, 69, 0.15);
    color: #6fda8a;
    border: 1px solid rgba(40, 167, 69, 0.4);
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Custom alerts inside resend modal */
#rt-alert.alert {
    border: 1px solid var(--line-soft);
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 0.9rem;
}

#rt-alert.alert-success {
    background: rgba(40, 167, 69, 0.12);
    color: #b8eccb;
    border-color: rgba(40, 167, 69, 0.35);
}

#rt-alert.alert-info {
    background: rgba(13, 110, 253, 0.1);
    color: #b8d6ff;
    border-color: rgba(13, 110, 253, 0.3);
}

#rt-alert.alert-warning {
    background: rgba(255, 193, 7, 0.12);
    color: #ffe9a3;
    border-color: rgba(255, 193, 7, 0.35);
}

#rt-alert.alert-danger {
    background: rgba(220, 53, 69, 0.12);
    color: #ffb8c2;
    border-color: rgba(220, 53, 69, 0.4);
}

/* ====== SweetAlert overrides ====== */
.swal-payment-popup {
    border: 1px solid var(--line-strong) !important;
    border-radius: 20px !important;
    font-family: 'Inter', sans-serif !important;
}

.swal-payment-popup .swal2-title {
    font-family: 'Cormorant Garamond', serif !important;
    color: var(--ivory) !important;
}

.swal-payment-popup .swal2-html-container {
    color: var(--soft) !important;
}

/* ====== Responsive tweaks ====== */
@media (max-width: 575.98px) {
    .ticket-card {
        padding: 28px 22px 22px;
    }

    .ticket-price .amount {
        font-size: 2.2rem;
    }

    .quote-card {
        padding: 32px 22px;
    }

    .quote-text {
        font-size: 1.2rem;
    }

    .resend-modal-header,
    .resend-modal-footer {
        padding-left: 16px;
        padding-right: 16px;
    }

    .payment-modal-header {
        padding: 12px 14px;
    }

    .payment-modal-header .modal-title {
        font-size: 1rem;
    }

    .tier-badge {
        font-size: 0.62rem;
        padding: 3px 8px;
    }
}