/* --- DESIGN SYSTEM SYSTEM CONSTANTS --- */
:root {
    --bg-dark: #0D0D0D;
    --bg-panel: #121212;
    --bg-field: rgba(0, 0, 0, 0.4);
    --primary: #E65C00;
    --primary-glow: rgba(230, 92, 0, 0.2);
    --accent-gold: #F3A152;
    --text-white: #FFFFFF;
    --text-light: #G2G2G2;
    --text-muted: #888888;
    --border-soft: rgba(255, 255, 255, 0.07);
    --border-active: rgba(230, 92, 0, 0.5);
    --radius-lg: 16px;
    --radius-md: 12px;
    --radius-sm: 8px;
    --font-sans: 'Space Grotesk', sans-serif;
    --font-display: 'Syncopate', sans-serif;
}

/* --- RESET & GLOBAL SETTINGS --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: var(--font-sans);
    line-height: 1.5;
    overflow-x: hidden;
}

.heading-font {
    font-family: var(--font-display);
}

.antialiased {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Scrollbar Style Modifiers */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
}

/* --- HERO COMPONENT --- */
.hero-section {
    position: relative;
    height: 100vh; /* Changed from min-height to a strict height to lock layout to the viewport */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 16px; /* Reduced vertical padding to save space */
    text-align: center;
    overflow: hidden;
    background-color: #0D0D0D;
}

/* The Core Parallax Engine */
.hero-parallax-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image: url('../img/Hero.png'); 
    background-attachment: fixed;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Layered scrim to ensure crisp text contrast and fade into the next section */
.hero-parallax-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(13, 13, 13, 0.5) 0%,
        rgba(13, 13, 13, 0.3) 60%,
        #0D0D0D 100%
    );
}

.grid-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 3.5rem 3.5rem;
    mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, #000 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, #000 40%, transparent 100%);
    opacity: 0.2;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
}

.event-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px; /* Slightly tightened badge size */
    border-radius: 9999px;
    background: rgba(13, 13, 13, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #F3A152;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 16px; /* Reduced from 32px to lift the logo up */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   UPDATED INLINE-IMAGE TITLE SCALING
   ========================================================================== */
.main-title {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 12px; /* Tighter baseline spacing */
}

.main-title .logo-link {
    display: block;
    width: 100%;
    /* Reduced sizing profiles to prevent pushing the countdown out of bounds */
    max-width: 320px; 
    transition: max-width 0.2s ease-in-out;
}

.main-title .logo-link img {
    display: block;
    width: 100%;
    height: auto;
}

/* Subtitle Typography Properties */
.sub-title {
    color: #FFFFFF;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 500;
    margin-bottom: 24px; /* Reduced from 48px to keep layout ultra compact */
    opacity: 0.9;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}
/* ==========================================================================
   EASY AFRICA MUSIC - MASTER HERO COMPONENT STYLESHEET (UPDATED)
   Architecture Framework designed by ALR Digital
   ========================================================================== */

.hero-section {
    position: relative;
    /* Uses fluid minimum sizing profiles to prevent layout compression */
    min-height: 100vh; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* General section padding rules */
    padding: 80px 16px; 
    text-align: center;
    overflow: hidden;
    background-color: #0D0D0D;
}

/* 1. Core Background Image Parallax Configuration Engine */
.hero-parallax-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image: url('../img/Hero.png'); 
    background-attachment: fixed;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Layered scrim mask overlay ensures razor-sharp typographical contrast profiles */
.hero-parallax-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(13, 13, 13, 0.55) 0%,
        rgba(13, 13, 13, 0.35) 60%,
        #0D0D0D 100%
    );
}

/* 2. Abstract Vector Overlay Mesh Matrix */
.grid-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 3.5rem 3.5rem;
    mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, #000 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, #000 40%, transparent 100%);
    opacity: 0.2;
    pointer-events: none;
}

/* 3. Operational Typography & Component Layout Blocks */
.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Added persistent bottom padding to keep inner content safe from cutoff clips */
    padding: 0 20px 40px 20px; 
}

.event-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 9999px;
    background: rgba(13, 13, 13, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #F3A152;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 20px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.main-title {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 16px;
}

.main-title .logo-link {
    display: block;
    width: 100%;
    max-width: 320px; 
    transition: max-width 0.2s ease-in-out;
}

.main-title .logo-link img {
    display: block;
    width: 100%;
    height: auto;
}

.sub-title {
    color: #FFFFFF;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 500;
    margin-bottom: 28px;
    opacity: 0.9;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

/* 4. Synchronized Dynamic Countdown Module */
.countdown-container {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    max-width: 460px;
    width: 100%;
    /* Balanced margin spacing separates content without breaking formatting lines */
    margin: 0 auto 40px auto; 
    background: rgba(18, 18, 18, 0.8);
    padding: 14px 10px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.6);
}

.countdown-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.countdown-num {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    font-variant-numeric: tabular-nums; /* Stops structural shifting as digits change */
}

/* Automatic Zebra-Stripe Color Multi-threading Engine */
.countdown-box:nth-child(1) .countdown-num,
.countdown-box:nth-child(3) .countdown-num {
    color: #E65C00 !important;
}

.countdown-box:nth-child(2) .countdown-num,
.countdown-box:nth-child(4) .countdown-num {
    color: #FFFFFF !important;
}

.val-white { color: #FFFFFF !important; }
.val-orange { color: #E65C00 !important; }

.countdown-label {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #888888;
    margin-top: 6px;
    font-weight: 500;
}

/* 5. High-Contrast Core Call-To-Action Element */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    text-decoration: none;
    color: #0D0D0D;
    background: linear-gradient(to right, #F3A152, #E65C00);
    border-radius: 10px;
    margin-bottom: 20px; /* Protects button against cropping boundaries */
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s ease;
    box-shadow: 0 10px 30px rgba(230, 92, 0, 0.35);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(230, 92, 0, 0.55);
}

/* 6. Comprehensive Micro-Device Scaling Adjustments */
@media (min-width: 768px) {
    .main-title .logo-link {
        max-width: 440px; /* Scales up cleanly on screens with wider viewports */
    }
    .sub-title { 
        font-size: 13px; 
    }
    .countdown-num { 
        font-size: 2.2rem; 
    }
    .countdown-label {
        font-size: 10px;
        letter-spacing: 0.18em;
    }
}

/* Safe-zone overrides for legacy short mobile viewports */
@media (max-height: 680px) {
    .hero-section {
        padding: 50px 16px; 
    }
    .hero-content {
        padding-bottom: 20px;
    }
    .countdown-container {
        margin-bottom: 24px;
    }
    .sub-title {
        margin-bottom: 20px;
    }
}

/* 7. iOS Touch Screen Scrolling Defect Correction */
@media (hover: none) {
    .hero-parallax-bg {
        background-attachment: scroll; /* Prevents tearing artifacts on high-refresh mobile canvases */
    }
}
/* --- LINEUP & FEATURES COMPONENT --- */
.lineup-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 16px 32px 16px;
    position: relative;
}

.lineup-badge {
    display: inline-block;
    color: var(--primary);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-weight: 700;
    margin-bottom: 8px;
}

.lineup-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 48px;
}

@media (min-width: 768px) {
    .lineup-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.lineup-card {
    background: var(--bg-panel);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.lineup-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

/* Featured Center Highlight Style */
.lineup-card.featured-card {
    border-color: rgba(230, 92, 0, 0.25);
    background: linear-gradient(145deg, var(--bg-panel) 0%, rgba(230, 92, 0, 0.03) 100%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.lineup-card.featured-card:hover {
    border-color: var(--primary);
    box-shadow: 0 15px 35px rgba(230, 92, 0, 0.15);
}

/* Icon Container Layer */
.card-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-soft);
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.featured-card .card-icon-wrapper {
    background: rgba(230, 92, 0, 0.1);
    border-color: rgba(230, 92, 0, 0.2);
    color: var(--primary);
}

.card-time {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.featured-card .card-time {
    color: var(--accent-gold);
}

.card-headline {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 12px;
    letter-spacing: 0.02em;
}

.card-details {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

.lineup-card:hover .card-details {
    color: rgba(255, 255, 255, 0.7);
}
/* ==========================================================================
   EASY AFRICA MUSIC - TICKETING & CHECKOUT CONSOLE COMPONENT
   Architecture Framework designed by ALR Digital
   ========================================================================== */

/* -------------------------------------------------------------------------
   1. GLOBAL COMPONENT UTILITIES & VISUAL LAYOUT FIXED PARAMS
   ------------------------------------------------------------------------- */
.tickets-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 96px 16px;
    scroll-margin-top: 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 12px;
}

@media (min-width: 768px) {
    .section-title { 
        font-size: 2.25rem; 
    }
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 14px;
    max-width: 448px;
    margin: 0 auto;
}

.booking-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: start;
}

@media (min-width: 1024px) {
    .booking-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.selection-flow {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

@media (min-width: 1024px) {
    .selection-flow {
        grid-column: span 2 / span 2;
    }
}

.console-box {
    background: var(--bg-panel);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: 24px;
}

@media (min-width: 768px) {
    .console-box { 
        padding: 32px; 
    }
}

/* Global Hidden Modifier Utility */
.hidden {
    display: none !important;
}

/* -------------------------------------------------------------------------
   2. CHECKOUT WIZARD STEP HEADER COMPONENTS
   ------------------------------------------------------------------------- */
.step-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--bg-dark);
    font-size: 12px;
    font-weight: 700;
}

.step-title {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-white);
}

.locked-step {
    opacity: 0.4;
    pointer-events: none;
    transition: all 0.3s ease;
}

.addon-warning-text {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: rgba(243, 161, 82, 0.85);
    margin-bottom: 24px;
}

/* -------------------------------------------------------------------------
   3. STEP 1: ENTRY TICKET INVENTORY CARDS & WRAPPERS
   ------------------------------------------------------------------------- */
.ticket-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ticket-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    padding: 20px;
    background: var(--bg-field);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
}

@media (min-width: 640px) {
    .ticket-card {
        flex-direction: row;
        align-items: center;
    }
}

/* Active Label Interactive Logic States */
label.ticket-card {
    cursor: pointer;
}

label.ticket-card:hover {
    border-color: var(--border-active);
}

.ticket-selection-wrapper {
    display: flex;
    align-items: start;
    gap: 16px;
    flex: 1;
}

.custom-radio {
    margin-top: 4px;
    accent-color: var(--primary);
    width: 16px;
    height: 16px;
}

.title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.ticket-info h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-white);
}

.ticket-desc {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}

.card-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--accent-gold);
}

@media (min-width: 640px) {
    .card-price { 
        padding-left: 0; 
    }
}

/* -------------------------------------------------------------------------
   4. TICKET METADATA ACTION MATRIX & VOLUMETRIC COUNTERS
   ------------------------------------------------------------------------- */
.ticket-meta-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 12px;
    min-width: 110px;
}

.ticket-counter-zone {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 4px;
}

.ticket-counter-zone .counter-btn {
    background: transparent;
    border: 0;
    color: #FFFFFF;
    width: 24px;
    height: 24px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    border-radius: 4px;
}

.ticket-counter-zone .counter-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* VISUAL BUG FIX: Forced bright white tracking across dark structural layers */
.ticket-counter-zone .counter-value {
    color: #FFFFFF !important;
    font-size: 14px;
    font-weight: 700;
    padding: 0 12px;
    min-width: 24px;
    text-align: center;
    display: inline-block;
}

/* -------------------------------------------------------------------------
   5. REAL-TIME INVENTORY STATE ENGINE BADGES
   ------------------------------------------------------------------------- */
/* Active Selection Framework Target State */
.active-ticket-card-state {
    border-color: var(--primary) !important;
    background: linear-gradient(145deg, var(--bg-field) 0%, rgba(230, 92, 0, 0.04) 100%) !important;
    box-shadow: 0 8px 24px rgba(230, 92, 0, 0.15);
    position: relative;
}

/* Dynamic Open Allocation Tier */
.ticket-card.active-tier {
    opacity: 1;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.ticket-card.active-tier:hover {
    border-color: #F3A152;
}

.badge-available {
    padding: 2px 8px;
    font-size: 10px;
    font-weight: 700;
    background: rgba(243, 161, 82, 0.15);
    color: var(--accent-gold);
    text-transform: uppercase;
    border-radius: 4px;
    letter-spacing: 0.05em;
    border: 1px solid rgba(243, 161, 82, 0.2);
}

/* Locked Pipeline Tiers Dynamic State styling rules */
.ticket-card.locked-tier {
    opacity: 0.35;
    cursor: not-allowed;
    border: 1px solid #1F2937 !important;
    background-color: #0B0B0B !important;
    pointer-events: none;
}

.ticket-card.locked-tier .card-price {
    color: #4B5563 !important;
}

.badge-locked {
    padding: 2px 8px;
    font-size: 10px;
    font-weight: 700;
    background: rgba(31, 41, 55, 0.6);
    color: #9CA3AF;
    text-transform: uppercase;
    border-radius: 4px;
    letter-spacing: 0.05em;
    border: 1px solid rgba(75, 85, 99, 0.3);
}

/* Sold Out / Depleted State Modules */
.ticket-card.sold-out {
    opacity: 0.4;
    cursor: not-allowed;
    border-color: var(--border-soft) !important;
    background: var(--bg-field) !important;
    box-shadow: none !important;
}

.badge-sold-out {
    padding: 2px 8px;
    font-size: 10px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    text-transform: uppercase;
    border-radius: 4px;
    letter-spacing: 0.05em;
}

.ticket-price-disabled {
    font-weight: 700;
    color: var(--text-muted);
    font-size: 18px;
}

/* -------------------------------------------------------------------------
   6. STEP 2: CAMPING & ACCOMMODATION ADD-ONS
   ------------------------------------------------------------------------- */
.addon-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 768px) {
    .addon-grid { 
        grid-template-columns: repeat(2, minmax(0, 1fr)); 
    }
}

.addon-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    padding: 20px;
    background: var(--bg-field);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
}

.badge-convenience {
    padding: 2px 8px;
    font-size: 9px;
    font-weight: 700;
    background: rgba(230, 92, 0, 0.2);
    color: var(--accent-gold);
    text-transform: uppercase;
    border-radius: 4px;
    letter-spacing: 0.05em;
}

.addon-desc {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
    line-height: 1.6;
}

.addon-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid var(--border-soft);
}

.addon-price {
    font-weight: 700;
    color: var(--accent-gold);
}

.counter-container {
    display: flex;
    align-items: center;
    gap: 4px;
    background: #000000;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-sm);
    padding: 4px;
}

.counter-container .counter-btn {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: var(--text-white);
    cursor: pointer;
    font-weight: 700;
    transition: background 0.2s ease;
}

.counter-container .counter-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* VISUAL BUG FIX: Forced bright white visibility metrics across addon sub-layers */
.counter-container .counter-value {
    width: 24px;
    text-align: center;
    font-weight: 700;
    font-size: 14px;
    color: #FFFFFF !important;
    display: inline-block;
}

/* -------------------------------------------------------------------------
   7. STEP 3: ATTENDEE STRATEGIC DETAILS FORM UI
   ------------------------------------------------------------------------- */
.form-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .form-row-split {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.field-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    background: #000000;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    color: var(--text-white);
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(230, 92, 0, 0.15);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

/* ==========================================================================
   EASY AFRICA MUSIC - TICKETING & CHECKOUT CONSOLE COMPONENT
   Architecture Framework designed by ALR Digital
   ========================================================================== */

/* -------------------------------------------------------------------------
   1. GLOBAL COMPONENT UTILITIES & VISUAL LAYOUT FIXED PARAMS
   ------------------------------------------------------------------------- */
.tickets-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 96px 16px;
    scroll-margin-top: 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 12px;
}

@media (min-width: 768px) {
    .section-title { 
        font-size: 2.25rem; 
    }
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 14px;
    max-width: 448px;
    margin: 0 auto;
}

.booking-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: start;
}

@media (min-width: 1024px) {
    .booking-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.selection-flow {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

@media (min-width: 1024px) {
    .selection-flow {
        grid-column: span 2 / span 2;
    }
}

.console-box {
    background: var(--bg-panel);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: 24px;
}

@media (min-width: 768px) {
    .console-box { 
        padding: 32px; 
    }
}

/* Global Hidden Modifier Utility */
.hidden {
    display: none !important;
}

/* -------------------------------------------------------------------------
   2. CHECKOUT WIZARD STEP HEADER COMPONENTS
   ------------------------------------------------------------------------- */
.step-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--bg-dark);
    font-size: 12px;
    font-weight: 700;
}

.step-title {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-white);
}

.locked-step {
    opacity: 0.4;
    pointer-events: none;
    transition: all 0.3s ease;
}

.addon-warning-text {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: rgba(243, 161, 82, 0.85);
    margin-bottom: 24px;
}

/* -------------------------------------------------------------------------
   3. STEP 1: ENTRY TICKET INVENTORY CARDS & WRAPPERS
   ------------------------------------------------------------------------- */
.ticket-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ticket-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    padding: 20px;
    background: var(--bg-field);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
}

@media (min-width: 640px) {
    .ticket-card {
        flex-direction: row;
        align-items: center;
    }
}

/* Active Label Interactive Logic States */
label.ticket-card {
    cursor: pointer;
}

label.ticket-card:hover {
    border-color: var(--border-active);
}

.ticket-selection-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.custom-radio {
    accent-color: var(--primary);
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    width: 100%;
}

.ticket-info {
    flex: 1;
}

.ticket-info h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-white);
}

.ticket-desc {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}

.card-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--accent-gold);
}

@media (min-width: 640px) {
    .card-price { 
        padding-left: 0; 
    }
}

/* -------------------------------------------------------------------------
   4. DYNAMIC PERCENTAGE PROGRESS METRICS LAYER
   ------------------------------------------------------------------------- */
.inventory-progress-container {
    display: none !important; /* Overrides the flex display to hide the entire progress system */
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    min-width: 110px;
}

.progress-bar-track {
    width: 110px;
    height: 6px;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.progress-bar-fill {
    height: 100%;
    width: 0%; /* Injected programmatically by JavaScript Engine */
    background: linear-gradient(90deg, #F3A152, #E65C00);
    border-radius: 3px;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.percentage-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Sold Out / Depleted State Modules */
.ticket-card.sold-out {
    opacity: 0.4;
    cursor: not-allowed;
    border-color: var(--border-soft) !important;
    background: var(--bg-field) !important;
    box-shadow: none !important;
}

.sold-out-fill {
    background: #E53E3E !important; /* Critical Red Alert Block */
    width: 100% !important;
}

.percentage-label.sold-out-text {
    color: #E53E3E !important;
}

.ticket-price-disabled {
    font-weight: 700;
    color: var(--text-muted);
    font-size: 18px;
}

/* -------------------------------------------------------------------------
   5. TICKET METADATA ACTION MATRIX & VOLUMETRIC COUNTERS
   ------------------------------------------------------------------------- */
.ticket-meta-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 12px;
    min-width: 110px;
}

.ticket-counter-zone {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 4px;
}

.ticket-counter-zone .counter-btn {
    background: transparent;
    border: 0;
    color: #FFFFFF;
    width: 24px;
    height: 24px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    border-radius: 4px;
}

.ticket-counter-zone .counter-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* VISUAL BUG FIX: Forced bright white tracking across dark structural layers */
.ticket-counter-zone .counter-value {
    color: #FFFFFF !important;
    font-size: 14px;
    font-weight: 700;
    padding: 0 12px;
    min-width: 24px;
    text-align: center;
    display: inline-block;
}

/* Active Selection Framework Target State */
.active-ticket-card-state {
    border-color: var(--primary) !important;
    background: linear-gradient(145deg, var(--bg-field) 0%, rgba(230, 92, 0, 0.04) 100%) !important;
    box-shadow: 0 8px 24px rgba(230, 92, 0, 0.15);
    position: relative;
}

/* Dynamic Open Allocation Tier */
.ticket-card.active-tier {
    opacity: 1;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.ticket-card.active-tier:hover {
    border-color: #F3A152;
}

/* Locked Pipeline Tiers Dynamic State styling rules */
.ticket-card.locked-tier {
    opacity: 0.35;
    cursor: not-allowed;
    border: 1px solid #1F2937 !important;
    background-color: #0B0B0B !important;
    pointer-events: none;
}

.ticket-card.locked-tier .card-price {
    color: #4B5563 !important;
}

.ticket-card.locked-tier .progress-bar-fill {
    background: #4B5563 !important;
}

.ticket-card.locked-tier .percentage-label {
    color: #6B7280 !important;
}

/* -------------------------------------------------------------------------
   6. STEP 2: CAMPING & ACCOMMODATION ADD-ONS
   ------------------------------------------------------------------------- */
.addon-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 768px) {
    .addon-grid { 
        grid-template-columns: repeat(2, minmax(0, 1fr)); 
    }
}

.addon-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    padding: 20px;
    background: var(--bg-field);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
}

.badge-convenience {
    padding: 2px 8px;
    font-size: 9px;
    font-weight: 700;
    background: rgba(230, 92, 0, 0.2);
    color: var(--accent-gold);
    text-transform: uppercase;
    border-radius: 4px;
    letter-spacing: 0.05em;
}

.addon-desc {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
    line-height: 1.6;
}

.addon-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid var(--border-soft);
}

.addon-price {
    font-weight: 700;
    color: var(--accent-gold);
}

.counter-container {
    display: flex;
    align-items: center;
    gap: 4px;
    background: #000000;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-sm);
    padding: 4px;
}

.counter-container .counter-btn {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: var(--text-white);
    cursor: pointer;
    font-weight: 700;
    transition: background 0.2s ease;
}

.counter-container .counter-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* VISUAL BUG FIX: Forced bright white visibility metrics across addon sub-layers */
.counter-container .counter-value {
    width: 24px;
    text-align: center;
    font-weight: 700;
    font-size: 14px;
    color: #FFFFFF !important;
    display: inline-block;
}

/* -------------------------------------------------------------------------
   7. STEP 3: ATTENDEE STRATEGIC DETAILS FORM UI
   ------------------------------------------------------------------------- */
.form-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .form-row-split {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.field-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    background: #000000;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    color: var(--text-white);
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(230, 92, 0, 0.15);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

/* -------------------------------------------------------------------------
   8. SIDEBAR INTERACTIVE ORDER SUMMARY CONSOLE LAYOUT
   ------------------------------------------------------------------------- */
.summary-wrapper {
    position: relative;
}

@media (min-width: 1024px) {
    .summary-wrapper {
        position: sticky;
        top: 32px;
    }
}

.summary-card {
    background: var(--bg-panel);
    border: 1px solid rgba(230, 92, 0, 0.2);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.summary-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-soft);
}

.summary-items-box {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.summary-items-box.empty-state {
    min-height: 60px;
    justify-content: center;
}

.empty-text {
    color: var(--text-muted);
    text-align: center;
    font-style: italic;
    font-size: 12px;
}

/* Dynamic JS Injected Summary Line Items */
.summary-line-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-soft);
    padding-bottom: 12px;
}

.item-meta p {
    font-weight: 700;
    color: var(--text-white);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.item-subtext {
    font-size: 11px;
    color: var(--text-muted);
}

.item-cost {
    font-weight: 700;
    color: var(--text-white);
    font-size: 14px;
}

.summary-footer {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-soft);
}

.total-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 16px;
}

.total-price {
    font-size: 20px;
    color: var(--primary);
}

/* -------------------------------------------------------------------------
   9. CHECKOUT TRANSACTION EXECUTION NODE BUTTONS
   ------------------------------------------------------------------------- */
.checkout-btn-disabled {
    width: 100%;
    padding: 16px;
    border-radius: var(--radius-md);
    background: #1F1F1F;
    color: var(--text-muted);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: not-allowed;
    border: none;
    transition: all 0.2s ease;
}

.checkout-btn-active {
    width: 100%;
    padding: 16px;
    border-radius: var(--radius-md);
    background: linear-gradient(to right, #F3A152, #E65C00);
    color: #0D0D0D;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    border: none;
    box-shadow: 0 6px 20px rgba(230, 92, 0, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.checkout-btn-active:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(230, 92, 0, 0.45);
}

.checkout-btn-active:active {
    transform: translateY(0);
}
/* --- FOOTER COMPONENT --- */
.main-footer {
    width: 100%;
    background-color: #0D0D0D; /* Deep dark background matching the hero theme */
    padding: 48px 20px 32px 20px;
    text-align: center;
    position: relative;
    z-index: 10;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Label Properties */
.partners-label {
    color: #888888;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 24px;
    font-weight: 600;
}

/* Partners Flex Layout */
.partners-row {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 32px; /* Smooth distribution spacing between logos */
    margin-bottom: 32px;
}

/* Brand Logo Text Styling */
.partner-logo {
    color: rgba(255, 255, 255, 0.6);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.partner-logo:hover {
    color: #FFFFFF; /* High contrast illuminate on desktop hover mouse states */
}

/* Specific styling modifier for Easy Africa Music text badge if needed */
.partner-logo.highlight {
    color: #F3A152; /* Tied to your primary accent orange shade */
}

/* Layout nested text variations inside Unapologetic */
.partner-sub {
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.05em;
    opacity: 0.8;
}

/* Visual Separation Rule */
.footer-divider {
    border: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1), transparent);
    max-width: 400px;
    margin: 0 auto 24px auto;
}

/* Copyright Attribution Metrics */
.copyright-text {
    color: #555555;
    font-size: 11px;
    letter-spacing: 0.05em;
    line-height: 1.6;
}

.designer-link {
    color: #777777;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.designer-link:hover {
    color: #E65C00; /* Subtle highlight indicator pointing to designer node */
}

/* Responsive Adaptive Interface Scaling */
@media (min-width: 768px) {
    .partners-row {
        gap: 56px; /* Louder breathing room on wide monitors */
    }
    .partner-logo {
        font-size: 24px;
    }
}
/* Dynamic JS State Class Implementations */
.active-ticket-card-state {
    border-color: var(--primary) !important;
    background: rgba(230, 92, 0, 0.05) !important;
}

.checkout-btn-active {
    width: 100%;
    padding: 16px;
    border-radius: var(--radius-md);
    background: linear-gradient(to right, var(--accent-gold), var(--primary));
    color: var(--bg-dark);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    border: none;
    transform: translateY(0);
    box-shadow: 0 4px 20px rgba(230, 92, 0, 0.2);
    transition: all 0.2s ease;
}

.checkout-btn-active:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(230, 92, 0, 0.4);
}