/* Variables & Base Configuration */
:root {
    --bg-dark: #070e1b;
    --bg-card: #16132a;
    --border-card: rgba(255, 255, 255, 0.08);
    --text-primary: #ffffff;
    --text-secondary: #a9b9d6;
    --text-muted: #64748b;

    /* Vibrant Neon Color Palette */
    --accent-pink: #ff1f5a;
    --accent-pink-glow: rgba(255, 31, 90, 0.35);
    --accent-blue: #00d2ff;
    --accent-blue-glow: rgba(0, 210, 255, 0.35);
    --accent-purple: #9d4edd;
    --accent-yellow: #ffb703;
    --accent-green: #06d6a0;

    /* Transitions & Shadow */
    --transition-smooth: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    --glow-card: 0 8px 32px 0 rgba(0, 0, 0, 0.45);
    --font-sans: 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --font-heading: 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* Reset Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html,
body {
    min-height: 100%;
}

body {
    background-color: #2674af;
    color: var(--text-primary);
    font-family: var(--font-sans);
    position: relative;
    line-height: 1.6;
    overflow-x: clip;
}

/* Ambient Background Collage (Landing Page 1.png) */
.bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    background-image: url('asset/landing-page-1.png');
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #2674af;
}

/* ==========================================================================
   Header Banner Section (Banner.png - Rounded Card & Normal Scroll)
   ========================================================================== */
.event-banner {
    position: relative;
    top: auto;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 1rem;
    transition: var(--transition-smooth);
}

.event-banner picture {
    width: 100%;
    max-width: 960px;
    display: flex;
    justify-content: center;
}

.banner-img {
    width: 100%;
    max-width: 960px;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border: none;
}

/* Main Container Layout */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 1.5rem 1.5rem 2.5rem 1.5rem;
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 1.25rem;
    box-sizing: border-box;
}

/* ==========================================================================
   Countdown Timer Section (Neon Pink-Magenta Theme)
   ========================================================================== */
.countdown-section {
    text-align: center;
    margin-bottom: 1rem;
}

.section-title-small {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0;
    color: #ffffff;
    text-transform: none;
    text-shadow: none;
    display: block;
    text-align: center;
    margin-bottom: 0.75rem;
}

.countdown-container {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    max-width: 540px;
    margin: 0 auto;
}

.countdown-box {
    flex: 1;
    background: linear-gradient(135deg, var(--accent-pink) 0%, #d81159 100%);
    border-radius: 12px;
    padding: 0.75rem 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 0 20px var(--accent-pink-glow);
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.countdown-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(255, 31, 90, 0.6);
}

.countdown-value {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 0.15rem;
}

.countdown-label {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: capitalize;
    letter-spacing: 0;
    color: rgba(255, 255, 255, 0.85);
}

/* ==========================================================================
   Ticket Grid & Cards (Glassmorphism & Neon Hover Glows)
   ========================================================================== */
.tickets-section {
    text-align: center;
    margin-bottom: 1rem;
}

.tickets-title {
    font-family: var(--font-sans);
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    letter-spacing: -0.2px;
    color: #ffffff;
    text-align: center;
}

.tickets-subtitle {
    font-family: var(--font-sans);
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 0.75rem auto;
    font-size: 0.88rem;
    font-weight: 400;
    text-align: center;
}

.tickets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    justify-content: center;
}

.tickets-grid.four-cols {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: 1180px;
    margin: 0 auto;
    gap: 1.25rem;
}

.tickets-grid.three-cols {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 1020px;
    margin: 0 auto;
    gap: 1.25rem;
}

.tickets-grid.two-cols {
    grid-template-columns: repeat(auto-fit, minmax(280px, 380px));
    max-width: 820px;
    margin: 0 auto;
}

/* Glassmorphism Card Style */
.ticket-card {
    background-color: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-card);
    border-radius: 20px;
    padding: 1.15rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    box-shadow: var(--glow-card);
    transition: var(--transition-smooth);
    min-height: 100%;
}

.ticket-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.55);
}

/* Card Themes Hover */
.ticket-card.regular:hover {
    box-shadow: 0 15px 35px var(--accent-blue-glow);
    border-color: var(--accent-blue);
}

.ticket-card.invitation:hover {
    box-shadow: 0 15px 35px rgba(255, 183, 3, 0.4);
    border-color: var(--accent-yellow);
}

.ticket-card.special:hover {
    box-shadow: 0 15px 35px var(--accent-pink-glow);
    border-color: var(--accent-pink);
}

.ticket-name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0.25rem 0 0.5rem 0;
    letter-spacing: 0.5px;
    color: #ff1f5a;
    min-height: 2.5em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ticket-price {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.ticket-price .currency {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-secondary);
}

.ticket-price .amount {
    font-family: var(--font-heading);
    font-size: 1.65rem;
    font-weight: 900;
    color: #ffffff;
}

.ticket-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.6;
}

.ticket-desc strong {
    color: #ffffff;
    font-weight: 600;
}

/* Reusable Buttons with Pink-Purple Gradient */
.btn-buy {
    width: 100%;
    padding: 0.95rem 1.5rem;
    border: none;
    border-radius: 12px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #a21caf 0%, #ff1f5a 100%);
    box-shadow: 0 4px 15px rgba(255, 31, 90, 0.3);
}

.btn-buy:hover {
    box-shadow: 0 6px 22px rgba(255, 31, 90, 0.55);
    transform: translateY(-2px);
}

/* Footer Style */
.main-footer {
    text-align: center;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ==========================================================================
   Checkout Modal Style
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(3, 7, 18, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    padding: 1rem;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-card {
    background-color: #ffffff;
    color: #1e293b;
    width: 100%;
    max-width: 800px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
    transform: scale(0.95);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.modal-overlay.active .modal-card {
    transform: scale(1);
}

.modal-header {
    background-color: #f8fafc;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
}

.btn-close-modal {
    background: transparent;
    border: none;
    font-size: 1.85rem;
    line-height: 1;
    color: #64748b;
    cursor: pointer;
    transition: var(--transition-smooth);
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.btn-close-modal:hover {
    background-color: #e2e8f0;
    color: #0f172a;
}

/* Modal Body Iframe styles */
.modal-body-iframe {
    position: relative;
    width: 100%;
    height: 70vh;
    background-color: #ffffff;
}

.modal-body-iframe iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* ==========================================================================
   Exit Confirmation Modal Style
   ========================================================================== */
.confirm-modal-overlay {
    z-index: 200;
    background-color: rgba(3, 7, 18, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.confirm-modal-card {
    background-color: #11141d;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    padding: 2.25rem 2rem;
    max-width: 440px;
    width: 90%;
    text-align: center;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85);
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: scale(0.92);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.confirm-modal-overlay.active .confirm-modal-card {
    transform: scale(1);
}

.confirm-icon-circle {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 3px solid #fbbf24;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    background-color: rgba(251, 191, 36, 0.05);
}

.confirm-icon-circle span {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fbbf24;
    line-height: 1;
    font-family: var(--font-heading);
}

.confirm-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.65rem;
    letter-spacing: -0.3px;
}

.confirm-desc {
    font-size: 0.95rem;
    color: #e2e8f0;
    margin-bottom: 0.35rem;
    line-height: 1.5;
}

.confirm-warning {
    font-size: 0.88rem;
    color: #d97706;
    margin-bottom: 1.75rem;
    font-weight: 500;
}

.confirm-actions {
    display: flex;
    gap: 0.85rem;
    width: 100%;
    justify-content: center;
}

.btn-confirm-continue {
    flex: 1;
    padding: 0.85rem 1rem;
    border: none;
    border-radius: 10px;
    background-color: #475569;
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.92rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-confirm-continue:hover {
    background-color: #64748b;
    transform: translateY(-2px);
}

.btn-confirm-exit {
    flex: 1;
    padding: 0.85rem 1rem;
    border: none;
    border-radius: 10px;
    background-color: #fbbf24;
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.92rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-confirm-exit:hover {
    background-color: #f59e0b;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.45);
}

/* Modal Progress Bar */
.steps-progress {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f1f5f9;
    padding: 0.75rem 2rem;
    border-bottom: 1px solid #e2e8f0;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.4;
    transition: var(--transition-smooth);
}

.step-item.active {
    opacity: 1;
}

.step-num {
    width: 24px;
    height: 24px;
    background-color: #cbd5e1;
    color: #64748b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    transition: var(--transition-smooth);
}

.step-item.active .step-num {
    background-color: #2563eb;
    color: #ffffff;
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.3);
}

.step-label {
    display: flex;
    flex-direction: column;
}

.step-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: #0f172a;
}

.step-sub {
    font-size: 0.65rem;
    color: #64748b;
}

.step-line {
    flex-grow: 1;
    height: 2px;
    background-color: #cbd5e1;
    margin: 0 0.75rem;
    transition: var(--transition-smooth);
}

.step-line.active {
    background-color: #2563eb;
}

/* Modal Panels Container */
.step-panel {
    display: none;
    padding: 2rem;
    overflow-y: auto;
    flex-grow: 1;
}

.step-panel.active {
    display: block;
}

/* ==========================================================================
   Step 1: Customer Form
   ========================================================================== */
.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1.25rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #475569;
}

.form-group input {
    padding: 0.75rem 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: #0f172a;
    transition: var(--transition-smooth);
    background-color: #ffffff;
}

.form-group input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* Qty Custom Control Style */
.qty-group {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f1f5f9;
    padding-top: 1.25rem;
    margin-top: 0.5rem;
}

.qty-control {
    display: flex;
    align-items: center;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    overflow: hidden;
    background-color: #f8fafc;
}

.qty-btn {
    width: 38px;
    height: 38px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 1.2rem;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.qty-btn:hover {
    background-color: #e2e8f0;
    color: #0f172a;
}

.qty-control input {
    width: 48px;
    height: 38px;
    border: none;
    border-left: 1px solid #cbd5e1;
    border-right: 1px solid #cbd5e1;
    text-align: center;
    font-weight: 700;
    font-size: 1rem;
    background-color: #ffffff;
}

/* Promo Accordion */
.promo-accordion {
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    margin-bottom: 2rem;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.promo-toggle {
    width: 100%;
    padding: 0.9rem 1.25rem;
    background: #f8fafc;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    color: #475569;
    transition: var(--transition-smooth);
}

.promo-toggle:hover {
    background-color: #f1f5f9;
}

.promo-toggle-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.icon-promo {
    color: #2563eb;
}

.promo-toggle-icon {
    font-size: 1.1rem;
    font-weight: 700;
}

.promo-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    padding: 0 1.25rem;
    background-color: #ffffff;
}

.promo-content.open {
    max-height: 100px;
    padding: 0.75rem 1.25rem 1.25rem 1.25rem;
}

.promo-input-wrapper {
    display: flex;
    gap: 0.5rem;
}

.promo-input-wrapper input {
    flex-grow: 1;
    padding: 0.6rem 0.85rem;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 0.85rem;
}

.promo-input-wrapper input:focus {
    outline: none;
    border-color: #2563eb;
}

.btn-apply-promo {
    padding: 0.6rem 1.2rem;
    background-color: #0f172a;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-apply-promo:hover {
    background-color: #1e293b;
}

.promo-message {
    font-size: 0.75rem;
    margin-top: 0.4rem;
    font-weight: 600;
}

.promo-message.success {
    color: #16a34a;
}

.promo-message.error {
    color: #dc2626;
}

/* Modal Actions Buttons */
.modal-actions {
    display: flex;
    gap: 1rem;
    border-top: 1px solid #e2e8f0;
    padding-top: 1.5rem;
    margin-top: 1rem;
}

.btn-cancel {
    flex: 1;
    padding: 0.85rem 1.5rem;
    border: 1px solid #cbd5e1;
    background-color: #ffffff;
    color: #475569;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-family: var(--font-heading);
}

.btn-cancel:hover {
    background-color: #f1f5f9;
    color: #0f172a;
}

.btn-primary {
    flex: 1;
    padding: 0.85rem 1.5rem;
    border: none;
    background-color: #2563eb;
    color: #ffffff;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-family: var(--font-heading);
}

.btn-primary:hover {
    background-color: #1d4ed8;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

/* ==========================================================================
   Step 2: Choose Payment Method & Summary
   ========================================================================== */
.payment-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 1rem;
}

/* Payment Selection Grid */
.payment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.75rem;
}

.payment-card {
    cursor: pointer;
    position: relative;
}

.payment-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.payment-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.75rem 0.5rem;
    height: 70px;
    text-align: center;
    background-color: #f8fafc;
    transition: var(--transition-smooth);
}

.payment-card:hover .payment-card-content {
    border-color: #cbd5e1;
    background-color: #f1f5f9;
}

.payment-card input[type="radio"]:checked+.payment-card-content {
    border-color: #2563eb;
    background-color: rgba(37, 99, 235, 0.05);
    box-shadow: 0 0 0 1px #2563eb;
}

/* Styled Payment Logos */
.payment-logo {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 0.95rem;
    letter-spacing: -0.5px;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.payment-logo.briva {
    color: #f97316;
    font-style: italic;
}

.payment-logo.permata {
    color: #0d9488;
}

.payment-logo.bni {
    color: #ea580c;
}

.payment-logo.bca {
    color: #1e3a8a;
}

.payment-logo.visa {
    color: #2563eb;
    font-style: italic;
    font-weight: 800;
}

.payment-logo.mandiri {
    color: #eab308;
    font-style: italic;
    font-weight: 700;
}

.payment-logo.qris {
    color: #dc2626;
    font-weight: 800;
}

.payment-name {
    font-size: 0.65rem;
    color: #64748b;
    font-weight: 500;
}

/* Order Summary Box Styling */
.summary-section {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1rem;
}

.summary-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.25rem;
    text-align: center;
}

.summary-disclaimer {
    font-size: 0.75rem;
    color: #64748b;
    text-align: center;
    margin-bottom: 1.25rem;
    font-style: italic;
}

.summary-details {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #334155;
    font-weight: 600;
}

.summary-dots {
    flex-grow: 1;
    border-bottom: 1px dashed #cbd5e1;
    margin: 0 0.75rem;
    height: 10px;
}

.summary-value {
    color: #0f172a;
    font-family: var(--font-sans);
}

.summary-note {
    font-size: 0.75rem;
    color: #ef4444;
    font-weight: 600;
    margin-top: -0.4rem;
}

.discount-row {
    color: #16a34a;
}

.discount-row .summary-value {
    color: #16a34a;
    font-weight: 700;
}

.grand-total-row {
    border-top: 1px solid #e2e8f0;
    padding-top: 1rem;
    margin-top: 0.5rem;
    font-size: 1rem;
    color: #0f172a;
}

.font-highlight {
    font-family: var(--font-heading);
    font-weight: 900;
    color: #dc2626;
    font-size: 1.15rem;
}

/* ==========================================================================
   Step 3: Success Screen (Finish)
   ========================================================================== */
.success-screen {
    text-align: center;
    padding: 1rem 0;
}

.success-icon-wrapper {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    background-color: #dcfce7;
    color: #15803d;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 20px rgba(21, 128, 61, 0.2);
    animation: scaleCheckmark 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes scaleCheckmark {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.success-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: #15803d;
    margin-bottom: 0.75rem;
}

.success-subtitle {
    font-size: 0.9rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 1.75rem;
    line-height: 1.5;
}

.success-info-box {
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1.75rem;
    text-align: left;
}

.success-info-box p {
    font-size: 0.8rem;
    color: #166534;
    margin-bottom: 0.65rem;
}

.support-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 700;
    font-size: 0.9rem !important;
    color: #166534 !important;
    background-color: #dcfce7;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
}

.success-note {
    font-weight: 700;
    margin-top: 0.75rem;
    border-top: 1px dashed #bbf7d0;
    padding-top: 0.65rem;
    margin-bottom: 0 !important;
}

.success-footer {
    font-size: 0.75rem;
    color: #64748b;
    margin-bottom: 2rem;
    font-style: italic;
}

.btn-close-success {
    width: 100%;
}

/* ==========================================================================
   Responsive & Adaptive Screen Optimization
   ========================================================================== */
@media (max-width: 1100px) {
    .container {
        padding: 1rem 1.25rem 2rem 1.25rem;
    }

    .tickets-grid.four-cols,
    .tickets-grid.three-cols {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.25rem;
        max-width: 900px;
    }
}

@media (max-width: 768px) {
    .bg-overlay {
        background-size: cover;
        background-position: center top;
        background-color: #2674af;
    }

    .event-banner {
        position: relative;
        top: auto;
        margin-bottom: 0.75rem;
    }

    .event-banner picture {
        width: auto;
        max-width: 100%;
    }

    .banner-img {
        width: auto;
        height: auto;
        max-height: 600px;
        max-width: 96vw;
        border-radius: 18px;
        margin: 0 auto;
    }

    .container {
        padding: 1rem 1.25rem 2rem 1.25rem;
    }

    .countdown-container {
        max-width: 440px;
        gap: 0.6rem;
    }

    .countdown-value {
        font-size: 1.6rem;
    }

    .steps-progress {
        padding: 0.75rem 1rem;
    }

    .step-sub {
        display: none;
    }

    .payment-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0.75rem 0.85rem 2rem 0.85rem;
        gap: 0.85rem;
    }

    .bg-overlay {
        background-size: cover;
        background-position: center top;
    }

    .event-banner {
        position: relative;
        top: auto;
        margin-bottom: 0.5rem;
    }

    .event-banner picture {
        width: auto;
        max-width: 100%;
    }

    .banner-img {
        width: auto;
        height: auto;
        max-height: 560px;
        max-width: 95vw;
        border-radius: 16px;
    }

    .section-title-small {
        font-size: 0.95rem;
        margin-bottom: 0.4rem;
    }

    .countdown-container {
        gap: 0.4rem;
        max-width: 100%;
        padding: 0 0.15rem;
    }

    .countdown-box {
        padding: 0.5rem 0.15rem;
        border-radius: 10px;
    }

    .countdown-value {
        font-size: 1.35rem;
    }

    .countdown-label {
        font-size: 0.68rem;
    }

    .tickets-title {
        font-size: 1.35rem;
        margin-bottom: 0.25rem;
    }

    .tickets-subtitle {
        font-size: 0.8rem;
        margin-bottom: 0.75rem;
    }

    .tickets-grid.four-cols,
    .tickets-grid.three-cols {
        grid-template-columns: 1fr;
        gap: 1rem;
        max-width: 400px;
    }

    .ticket-card {
        padding: 1.15rem 1rem;
        min-height: auto;
    }

    .ticket-name {
        font-size: 1.15rem;
        min-height: auto;
        margin-bottom: 0.35rem;
    }

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

    .modal-card {
        max-height: 94vh;
        width: 96%;
        border-radius: 14px;
    }

    .modal-body-iframe {
        height: 75vh;
    }

    .confirm-modal-card {
        padding: 1.75rem 1.25rem;
        border-radius: 20px;
        width: 92%;
    }

    .confirm-icon-circle {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }

    .confirm-icon-circle span {
        font-size: 2rem;
    }

    .confirm-title {
        font-size: 1.25rem;
    }

    .confirm-desc {
        font-size: 0.88rem;
    }

    .confirm-warning {
        font-size: 0.8rem;
        margin-bottom: 1.25rem;
    }

    .confirm-actions {
        flex-direction: row;
        gap: 0.5rem;
    }

    .btn-confirm-continue,
    .btn-confirm-exit {
        padding: 0.75rem 0.5rem;
        font-size: 0.85rem;
    }
}