/* ============================================================
   show.css — Page Ticket Show (complète billetterie.css)
   Thème : Drapeau Burkina Faso + Glassmorphism
   ============================================================ */

/* Variables BF alignées avec la home */
:root {
    --bf-red: #CE1126;
    --bf-green: #1b5e20;
    --bf-yellow: #FCD116;
    --bf-green-mid: #009E49;
}

/* ── Corps & Fond drapeau BF (Scopé) ─────────────────────────── */
.snc-flag-theme {
    background: linear-gradient(180deg,
            var(--bf-red) 0%,
            var(--bf-red) 35%,
            var(--bf-green) 65%,
            var(--bf-green) 100%) !important;
    background-attachment: fixed !important;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Étoile jaune animée (identique à la home) */
body::before {
    content: '★' !important;
    position: fixed !important;
    top: 55% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    font-size: clamp(200px, 38vw, 520px) !important;
    color: rgba(252, 209, 22, 0.18) !important;
    text-shadow: 0 0 80px rgba(252, 209, 22, 0.3) !important;
    z-index: 0 !important;
    pointer-events: none !important;
    animation: star-wind-float 12s infinite ease-in-out !important;
    background: none !important;
    /* écrase billetterie.css body::before */
}

@keyframes star-wind-float {

    0%,
    100% {
        transform: translate(-50%, -50%) rotate(0deg) scale(1);
        opacity: 0.18;
    }

    25% {
        transform: translate(-48%, -52%) rotate(5deg) scale(1.04);
        opacity: 0.28;
    }

    50% {
        transform: translate(-53%, -48%) rotate(-8deg) scale(1.08);
        opacity: 0.38;
    }

    75% {
        transform: translate(-49%, -51%) rotate(3deg) scale(1.04);
        opacity: 0.28;
    }
}

/* Vague lumineuse animée */
body::after {
    content: '' !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 200% !important;
    height: 100% !important;
    background: linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.06) 30%, transparent 60%) !important;
    animation: flag-wave 10s infinite linear !important;
    z-index: 0 !important;
    pointer-events: none !important;
}

@keyframes flag-wave {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0%);
    }
}

/* ── Mini Navbar ─────────────────────────────────────────── */
.show-navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(15, 15, 15, 0.8) !important;
    backdrop-filter: blur(25px) saturate(160%);
    -webkit-backdrop-filter: blur(25px) saturate(160%);
    border-bottom: 1px solid rgba(251, 191, 36, 0.2);
    padding: 0.75rem 0;
    /* Reduced padding for a sleeker look */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.show-navbar-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.show-navbar-logo {
    height: 48px;
    border-radius: 10px;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.25));
    transition: transform 0.3s ease;
}

.show-navbar-logo:hover {
    transform: scale(1.05);
}

.show-navbar-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: linear-gradient(135deg, rgba(27, 94, 32, 0.85), rgba(0, 158, 73, 0.85));
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.show-navbar-badge .dot {
    width: 7px;
    height: 7px;
    background: var(--bf-yellow);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

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

    50% {
        opacity: 0.6;
        transform: scale(0.8);
    }
}

/* ── Hero Section (Scopé) ────────────────────────────────── */
.snc-flag-theme .hero {
    background: none !important;
    background-attachment: unset !important;
    padding: 3rem 1.5rem 2rem !important;
    min-height: auto !important;
    position: relative;
    z-index: 1;
}

/* Filigrane logo (comme la home) */
.snc-flag-theme .hero-bg-logo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: grayscale(100%);
    opacity: 0.08;
    pointer-events: none;
    z-index: 0;
}

.snc-flag-theme .hero-content {
    max-width: 820px !important;
    margin: 0 auto !important;
    padding: 3rem 3rem 2.5rem !important;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.18) 0%,
            rgba(255, 255, 255, 0.08) 100%) !important;
    backdrop-filter: blur(30px) !important;
    -webkit-backdrop-filter: blur(30px) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: 2rem !important;
    box-shadow:
        0 32px 64px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

/* Bande tricolore en haut de la card hero */
.hero-content::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--bf-red) 0%, var(--bf-yellow) 50%, var(--bf-green) 100%);
    border-radius: 2rem 2rem 0 0;
}

.hero-badge {
    background: linear-gradient(135deg,
            rgba(27, 94, 32, 0.9) 0%,
            rgba(206, 17, 38, 0.9) 100%) !important;
    padding: 0.75rem 2rem !important;
    margin-bottom: 2rem !important;
    font-size: 0.85rem !important;
}

.hero-title {
    font-size: clamp(2rem, 4.5vw, 3.8rem) !important;
    margin-bottom: 1.5rem !important;
}

.hero-accent {
    color: var(--bf-yellow) !important;
    text-shadow: 0 0 20px rgba(252, 209, 22, 0.5), 0 2px 4px rgba(0, 0, 0, 0.8) !important;
}

.hero-description {
    font-size: 1.1rem !important;
    margin-bottom: 2.5rem !important;
}

/* Stats */
.hero-stats {
    gap: 1.5rem !important;
    margin-top: 2.5rem !important;
}

.stat-item {
    min-width: 140px !important;
    padding: 1.75rem 1.5rem !important;
}

/* ── Section Divider ─────────────────────────────────────── */
.section-divider {
    position: relative;
    z-index: 1;
}

/* ── Actions Section (Scopé) ─────────────────────────────── */
.snc-flag-theme .actions-section {
    padding: 3rem 0 5rem !important;
    position: relative;
    z-index: 1;
}

.snc-flag-theme .section-title {
    font-size: clamp(1.6rem, 3vw, 2.8rem) !important;
}

.snc-flag-theme .actions-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
    gap: 2rem !important;
}

/* Cartes améliorées */
.snc-flag-theme .action-card {
    background: rgba(255, 255, 255, 0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease !important;
}

.snc-flag-theme .action-card:hover {
    transform: translateY(-12px) scale(1.02) !important;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), 0 0 30px rgba(252, 209, 22, 0.15) !important;
    border-color: rgba(252, 209, 22, 0.35) !important;
}

.ticket-card {
    border-top: 3px solid var(--bf-red) !important;
}

.badge-card {
    border-top: 3px solid var(--bf-green-mid) !important;
}

.search-card {
    border-top: 3px solid var(--bf-yellow) !important;
}

/* Boutons Premium Glossy - Unified Gold/Yellow Theme */
.card-btn,
#submitBtn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    /* padding: 1.1rem 2rem !important; */
    border-radius: 15px !important;
    font-weight: 700 !important;
    font-size: 1.05rem !important;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    text-decoration: none;
    color: #333 !important;
    /* Gold contrast */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    z-index: 1;
    background: linear-gradient(135deg, #FFD700 0%, #FFA000 100%) !important;
    box-shadow:
        0 6px 20px rgba(255, 160, 0, 0.35),
        0 0 0 1px rgba(255, 215, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
    width: 100%;
}

/* Effet de brillance (Glossy Shine) */
.card-btn::before,
#submitBtn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.4),
            transparent);
    transition: 0.6s;
    z-index: 2;
}

.card-btn:hover::before,
#submitBtn:hover::before {
    left: 100%;
}

/* Glass overlay for depth */
.card-btn::after,
#submitBtn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, transparent 50%, rgba(0, 0, 0, 0.05) 100%);
    pointer-events: none;
    z-index: -1;
}

.card-btn:hover,
#submitBtn:hover {
    transform: translateY(-4px) scale(1.02) !important;
    background: linear-gradient(135deg, #FFEA00 0%, #FFB300 100%) !important;
    box-shadow:
        0 12px 28px rgba(255, 160, 0, 0.5),
        0 0 20px rgba(255, 215, 0, 0.4) !important;
    color: #000 !important;
}

.card-btn .btn-icon,
#submitBtn .btn-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.card-btn:hover .btn-icon,
#submitBtn:hover .btn-icon {
    transform: translateX(5px);
}

/* ── Elite Dark SNC Redesign (V2 - Ultra Readable) ───────────────── */

/* ==========================================================================
   ELITE DARK THEME - SNC PURCHASE PAGE (V2)
   ========================================================================== */

body.snc-premium-theme {
    background: radial-gradient(circle at 50% 0%, #1e1e1e 0%, #0a0a0a 100%) !important;
    background-attachment: fixed !important;
    min-height: 100vh !important;
    color: #f5f5f5 !important;
    font-family: 'Inter', sans-serif !important;
}

body.snc-premium-theme::before,
body.snc-premium-theme::after {
    display: none !important;
    /* Remove any floating particles from global theme */
}

/* Elite Navbar Override */
.snc-premium-theme .show-navbar {
    background: rgba(10, 10, 10, 0.8) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(251, 191, 36, 0.2) !important;
}

.snc-premium-theme .show-navbar-badge {
    background: rgba(251, 191, 36, 0.1) !important;
    border: 1px solid rgba(251, 191, 36, 0.3) !important;
    color: #fbbf24 !important;
}

/* Focused Hero / Title Area */
.snc-premium-theme .premium-title {
    font-family: 'Playfair Display', serif !important;
    font-weight: 800 !important;
    font-size: 2.8rem !important;
    letter-spacing: -1px !important;
    background: linear-gradient(to right, #ffffff 0%, #fbbf24 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    margin-bottom: 2.5rem !important;
    text-align: left !important;
}

/* Elite Purchase Card Wrapper (Dark) */
.snc-premium-theme .purchase-card {
    background: rgba(25, 25, 25, 0.6) !important;
    backdrop-filter: blur(80px) saturate(150%);
    border: 1px solid rgba(251, 191, 36, 0.15) !important;
    border-radius: 2.5rem !important;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.8);
    overflow: hidden;
    margin-top: 1rem;
    transition: all 0.5s ease;
}

/* High Readability Card (Crystal White Glass) */
/* High Readability Card (Crystal White Glass) */
.snc-flag-theme .purchase-card {
    background: #ffffff !important;
    backdrop-filter: blur(100px) saturate(200%);
    -webkit-backdrop-filter: blur(100px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 1) !important;
    border-radius: 2.5rem !important;
    box-shadow:
        0 60px 120px rgba(0, 0, 0, 0.25),
        inset 0 0 0 1px rgba(255, 255, 255, 0.8);
    overflow: hidden;
    margin-top: 1rem;
    color: #1a1a1a !important;
}

/* Title for Flag Theme */
.snc-flag-theme .premium-title {
    font-family: 'Playfair Display', serif !important;
    font-weight: 800 !important;
    font-size: 2.8rem !important;
    color: var(--bf-green) !important;
    margin-bottom: 2rem !important;
}

/* Purchase Section Content */
.snc-flag-theme .purchase-summary {
    background: rgba(0, 158, 73, 0.05) !important;
    border-left: 1px solid rgba(0, 0, 0, 0.05);
}

.snc-flag-theme .form-label {
    color: var(--bf-green) !important;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1.2px;
}

.snc-flag-theme .badge-qty-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    font-size: 0.9rem;
    color: #444;
    font-weight: 700;
}

.snc-flag-theme .payment-choice-wrapper {
    cursor: pointer;
    width: 100%;
}

.snc-flag-theme .payment-choice-card {
    padding: 1.5rem;
    border: 2px solid #f0f0f0;
    border-radius: 1.25rem;
    display: flex;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fff;
    font-weight: 700;
    color: #333;
}

.snc-flag-theme .payment-choice-wrapper.active .payment-choice-card {
    border-color: var(--bf-green);
    background: rgba(0, 158, 73, 0.06);
    transform: scale(1.02);
    box-shadow: 0 10px 20px rgba(0, 158, 73, 0.1);
}

/* Refined Ticket Selection Cards */
/* 🎟️ Premium Vintage Stub Ticket Design */
.snc-flag-theme .ticket-card-tk {
    background: #ffffff !important;
    border: none !important;
    border-radius: 1.5rem !important;
    padding: 0 !important;
    position: relative;
    display: flex;
    overflow: hidden;
    min-height: 140px;
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.15),
        0 10px 20px rgba(0, 0, 0, 0.1),
        inset 0 0 20px rgba(255, 255, 255, 1);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

/* Iconic Ticket Notches (Top & Bottom Center) */
.snc-flag-theme .ticket-card-tk::before,
.snc-flag-theme .ticket-card-tk::after {
    content: '';
    position: absolute;
    left: 72%;
    /* Position of the perforation */
    width: 30px;
    height: 30px;
    background: #ffffff;
    /* Matches the page background/card parent slightly */
    border-radius: 50%;
    z-index: 2;
    transform: translateX(-50%);
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.05);
}

.snc-flag-theme .ticket-card-tk::before {
    top: -15px;
}

.snc-flag-theme .ticket-card-tk::after {
    bottom: -15px;
}

/* Main Info Section */
.snc-flag-theme .ticket-info-area {
    width: 72%;
    padding: 1.25rem 1rem 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Perforation Line */
.snc-flag-theme .ticket-perforation {
    position: absolute;
    top: 20px;
    bottom: 20px;
    left: 72%;
    width: 0;
    border-left: 2px dashed #ddd;
    z-index: 1;
}

/* Ticket Stub (Price Area) */
.snc-flag-theme .ticket-stub {
    width: 28%;
    background: rgba(0, 158, 73, 0.03);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-left: 1px solid rgba(0, 0, 0, 0.03);
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.snc-flag-theme .ticket-card-tk:hover {
    transform: translateY(-12px) scale(1.04);
    box-shadow:
        0 40px 80px rgba(0, 0, 0, 0.25),
        0 20px 40px rgba(0, 0, 0, 0.15),
        inset 0 0 25px rgba(255, 255, 255, 1);
}

.snc-flag-theme .ticket-card-tk.active {
    box-shadow:
        0 0 0 3px var(--bf-green),
        0 45px 90px rgba(0, 158, 73, 0.3),
        inset 0 0 30px rgba(255, 255, 255, 0.6);
    background: #f8fff9 !important;
}

.snc-flag-theme .ticket-card-tk.active .ticket-stub {
    background: var(--bf-green);
    color: #fff !important;
}

.snc-flag-theme .ticket-card-tk.active .ticket-stub .text-danger {
    color: #fff !important;
}

.snc-flag-theme .ticket-card-tk h6 {
    color: #1a1a1a !important;
    font-size: 0.85rem !important;
    font-weight: 800;
    margin-bottom: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    line-height: 1.3;
    display: block;
    overflow: visible;
    word-break: normal;
}

.snc-flag-theme .ticket-card-tk .taille {
    color: #888 !important;
    font-size: 0.8rem;
    font-weight: 500;
}

.snc-flag-theme .ticket-card-tk .text-danger {
    color: var(--bf-red) !important;
    font-size: 1.4rem;
    font-weight: 900 !important;
    margin: 0;
    font-family: 'Inter', sans-serif;
}


/* Badge Checkbox Enhancement */
.snc-premium-theme .badge-checkbox {
    width: 20px;
    height: 20px;
    accent-color: #fbbf24;
}

/* Form Elements for Flag Theme */
.snc-flag-theme .form-control {
    background: #fff !important;
    border: 2px solid #eee !important;
    color: #1a1a1a !important;
    border-radius: 12px !important;
    padding: 12px 15px !important;
}

.snc-flag-theme .form-control:focus {
    border-color: var(--bf-green) !important;
    box-shadow: 0 0 0 4px rgba(0, 158, 73, 0.1) !important;
}

.snc-flag-theme .badge-qty {
    background: #f8f9fa !important;
    border: 1px solid #ddd !important;
    color: #1a1a1a !important;
    border-radius: 8px !important;
    font-weight: 700;
}

/* Elite Summary List */
.snc-flag-theme #summaryList p {
    color: #444;
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
    border-bottom: 1px dashed #eee;
    padding-bottom: 0.8rem;
}

.snc-flag-theme #summaryList strong {
    color: var(--bf-green);
    font-weight: 700;
}

.snc-flag-theme #summaryTotal {
    color: var(--bf-red);
    font-weight: 900;
    font-size: 2.2rem;
}

/* Submit Button for Flag Theme */
.snc-flag-theme #submitBtn {
    background: linear-gradient(135deg, var(--bf-red) 0%, #a00d1e 100%) !important;
    color: #fff !important;
    border: 1px solid rgba(252, 209, 22, 0.3) !important;
    font-weight: 900 !important;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    /* border-radius: 20px !important; */
    box-shadow:
        0 15px 35px rgba(206, 17, 38, 0.3),
        inset 0 1px 1px rgba(255, 255, 255, 0.3),
        inset 0 -3px 0 rgba(0, 0, 0, 0.2) !important;
    position: relative;
    overflow: hidden;
}

.snc-flag-theme #submitBtn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 45%, rgba(255, 255, 255, 0.1) 50%, transparent 55%);
    animation: shine-red 4s infinite;
}

@keyframes shine-red {
    0% {
        transform: translateX(-100%) translateY(-100%);
    }

    100% {
        transform: translateX(100%) translateY(100%);
    }
}

.snc-flag-theme #submitBtn:hover {
    transform: translateY(-4px);
    background: linear-gradient(135deg, #e3122b 0%, var(--bf-red) 100%) !important;
    box-shadow: 0 20px 45px rgba(206, 17, 38, 0.45) !important;
}

/* Hide Navbar only within this specific container */
.snc-premium-theme .navbar {
    display: none !important;
}

/* ── Footer minimal ──────────────────────────────────────── */
.show-footer {
    text-align: center;
    padding: 3rem 1.5rem 4rem;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 4rem;
}

.show-footer a {
    color: #fbbf24;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.show-footer a:hover {
    color: #ffffff;
    border-bottom-color: #fbbf24;
}

.show-footer p {
    margin: 0;
    letter-spacing: 0.5px;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 768px) {
    .hero-content {
        padding: 2rem 1.5rem !important;
        border-radius: 1.5rem !important;
    }

    .actions-grid {
        grid-template-columns: 1fr !important;
        padding: 0 1rem !important;
    }

    .show-navbar-badge {
        font-size: 0.7rem;
        padding: 0.4rem 0.9rem;
    }

    .hero-stats {
        gap: 1rem !important;
    }

    .stat-item {
        min-width: 110px !important;
        padding: 1.25rem 1rem !important;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 2rem 1rem 1.5rem !important;
    }

    .hero-content {
        padding: 1.5rem 1.25rem !important;
    }

    .show-navbar-logo {
        height: 38px;
    }
}