/* =========================================
   1. OSOYA VARIABLES & BRANDING
========================================= */
:root {
    /* --- PALETTE --- */
    --bg-dark: #063356; /* Deep Ocean Blue */
    --glass-bg: rgba(6, 51, 86, 0.96); /* Standard Overlay */
    --panel-bg: rgba(5, 5, 5, 0.98); /* Darker Background for Side Panels */
    
    --gold: #D4AF37; /* Dubai Gold */
    --orange: #c8772d; /* Burnt Sunset Orange */
    --teal: #004e64; /* Secondary Accent */
    
    --text-main: #F0F0F0; /* Off-White */
    
    /* --- FONTS --- */
    --font-header: 'Oswald', sans-serif; /* For Dates/Sharp Text */
    --font-body: 'Montserrat', sans-serif; /* For Details/Lists */
    --font-hand: 'Gloria Hallelujah', cursive; /* For Vibes/Notes */
}

/* =========================================
   2. GLOBAL RESET & MOBILE FIXES
========================================= */
html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    
    /* CRITICAL MOBILE FIXES */
    position: fixed; /* Locks the body so it can't be dragged */
    overflow: hidden; /* Hides scrollbars on the main window */
    overscroll-behavior: none; /* Stops the 'rubber band' bounce effect */
    -webkit-overflow-scrolling: touch;
    
    background-color: var(--bg-dark);
    font-family: var(--font-body);
    color: var(--text-main);
}

a { transition: all 0.3s ease; text-decoration: none; }
a:hover { text-decoration: none; color: var(--gold); }

/* =========================================
   3. BACKGROUNDS & LOADER
========================================= */
.bg-video {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1; object-fit: cover;
    background: #000; /* Fallback */
}

.loader {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: #000; z-index: 99999;
    display: flex; justify-content: center; align-items: center;
    transition: opacity 0.5s ease;
}

/* =========================================
   4. LAYOUT & SCROLLING LOGIC
========================================= */
/* The main scrollable container */
.impala-scroll-overlay {
    background: var(--glass-bg);
    height: 100%;
    width: 100%;
    overflow-y: auto; /* Enable Vertical Scroll */
    overflow-x: hidden; /* Kill Horizontal Scroll */
    -webkit-overflow-scrolling: touch;
    position: relative;
}

/* HOME PAGE SPECIFIC: Smart Scrolling */
#home .impala-scroll-overlay {
    /* Slightly more transparent on home to see video */
    background-color: rgba(16, 18, 20, 0.75) !important; 
    /* Prevent bouncing if content fits the screen */
    overscroll-behavior-y: none; 
}

#home .impala-home {
    height: auto; 
    min-height: 100vh; /* Grow if needed, fit screen otherwise */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px 0;
}

/* SIDE PANELS: Darker Background */
#tickets .impala-scroll-overlay, 
#info .impala-scroll-overlay {
    background-color: var(--panel-bg) !important;
}

.container { padding-top: 20px; padding-bottom: 80px; }

/* =========================================
   5. TYPOGRAPHY
========================================= */
h1, h2, h3, h4 { 
    font-family: var(--font-header); 
    text-transform: uppercase; 
    font-weight: 700; 
    margin-top: 0; 
}

h1 { 
    font-size: 5em; 
    color: #fff; 
    text-shadow: 0 0 30px rgba(200, 119, 45, 0.4); 
    margin-bottom: 0; 
    line-height: 1; 
    letter-spacing: 8px; 
}

h2 { 
    font-size: 2.2em; 
    color: var(--gold); 
    margin-bottom: 20px; 
    border-bottom: 2px solid var(--orange); 
    display: inline-block; 
    padding-bottom: 5px; 
}

h3 { font-size: 1.5em; color: var(--orange); margin-bottom: 15px; }
p { font-size: 1em; line-height: 1.6; color: #ddd; margin-bottom: 20px; }

.sub-logo {
    font-family: var(--font-body);
    letter-spacing: 10px; 
    font-size: 1.2em; 
   /* border-top: 1px solid var(--orange); 
    border-bottom: 1px solid var(--orange); */
    display: inline-block; 
    padding: 5px 25px; 
    color: var(--orange); 
    margin-top: 2px; 
    font-weight: 700;
}

/* Handwritten Utilities */
.hand-text { font-family: var(--font-hand); color: var(--orange); }

.text-gold { color: var(--gold) !important; }
.text-orange { color: var(--orange) !important; }
.text-white { color: #fff !important; }

/* =========================================
   6. NAVIGATION BUTTONS
========================================= */
.block-nav {
    position: fixed; 
    top: 50%; 
    width: 100%; 
    transform: translateY(-50%);
    z-index: 9999 !important; /* Force it to top */
    pointer-events: none; /* Let clicks pass through empty space */
}

.btn-nav {
    pointer-events: auto; position: absolute;
    width: 70px; height: 70px;
    border: 2px solid rgba(255,255,255,0.4); border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    background: rgba(0,0,0,0.6); color: #fff;
    transition: all 0.3s ease; cursor: pointer; font-size: 24px;
    text-decoration: none !important;
}
.btn-nav:hover {
    background: var(--gold); color: #000; border-color: var(--gold); transform: scale(1.1);
}
.btn-prev { left: 30px; }
.btn-next { right: 30px; }

.btn-home {
    position: relative; margin: 0 auto;
    left: auto; top: auto; right: auto;
    width: 50px; height: 50px; font-size: 20px;
}

/* Gradient Buttons */
.btn-cta, .btn-submit {
    display: inline-block;
    background: linear-gradient(45deg, var(--orange), var(--gold));
    border: none; 
    padding: 15px 40px; 
    border-radius: 30px;
    font-family: var(--font-header);
    font-weight: bold; 
    color: #fff; 
    font-size: 1.2em; 
    text-decoration: none;
    transition: transform 0.2s;
    box-shadow: 0 4px 15px rgba(200, 119, 45, 0.4);
    text-transform: uppercase;
    width: auto;
}
.btn-submit { width: 100%; margin-top: 20px; }

.btn-cta:hover, .btn-submit:hover { 
    transform: scale(1.05); 
    color: #fff; 
}

/* =========================================
   7. SECTIONS & ELEMENTS
========================================= */
.section-block {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 30px; margin-bottom: 30px; border-radius: 8px;
}

.artist-img-container {
    width:150px; height:150px; border-radius:50%; 
    border:3px solid var(--orange); margin: 0 auto 15px auto; 
    background: #333; display: flex; align-items: center; justify-content: center; overflow: hidden;
    box-shadow: 0 0 20px rgba(200, 119, 45, 0.3);
}
.artist-img-container img { width: 100%; height: 100%; object-fit: cover; }

.icon-lg { font-size: 40px; margin-bottom: 10px; display: block; }

/* TICKET EXPLAINER */
.tier-row {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.tier-row h4 { font-size: 1.1em; margin-bottom: 5px; letter-spacing: 1px; }
.tier-details { font-size: 0.9em; color: #bbb; margin-bottom: 0; line-height: 1.5; }
.tier-details strong { color: #fff; }

/* TICKET LIST (Mix & Match) */
.ticket-list {
    margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    background: rgba(0,0,0,0.3);
    padding: 10px;
}
.ticket-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.ticket-row:last-child { border-bottom: none; }

.t-name { font-size: 0.9em; color: #ddd; flex-grow: 1; }
.t-price { color: var(--gold); font-weight: bold; margin-right: 15px; font-size: 0.9em; }

.t-qty {
    width: 60px;
    background: rgba(255,255,255,0.1);
    border: 1px solid #444;
    color: #fff;
    text-align: center;
    border-radius: 4px;
    padding: 5px;
}

/* Form Inputs */
.form-control {
    background: rgba(0,0,0,0.5); border: 1px solid #444; color: #fff; height: 45px;
}
.form-control:focus { border-color: var(--orange); background: rgba(0,0,0,0.8); }

/* =========================================
   8. INFO & DETAILS
========================================= */
.info-row {
    margin-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 15px;
    text-align: center;
}
.info-icon { color: var(--teal); font-size: 24px; margin-bottom: 10px; }
.info-details h5 { margin: 10px 0; color: var(--orange); }

.vip-block { border: 1px solid var(--gold); }

.social-icon { font-size: 40px; color: #fff; margin: 0 15px; }
.social-icon:hover { color: var(--gold); }

/* =========================================
   9. PANEL ANIMATIONS & SCROLLBAR
========================================= */
.impala-page {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    transition: transform 0.6s cubic-bezier(0.7, 0, 0.3, 1);
    z-index: 10;
    background: transparent;
}
.impala-prev { transform: translateX(-100%); z-index: 50; }
.impala-next { transform: translateX(100%); z-index: 50; }
.page-current { transform: translateX(0); z-index: 60; }

/* Custom Slim Gold Scrollbar */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { 
    background: var(--gold); 
    border-radius: 10px; 
}
::-webkit-scrollbar-thumb:hover { background: #ffcc00; }
* { scrollbar-width: thin; scrollbar-color: var(--gold) transparent; }

/* =========================================
   10. MOBILE FIXES
========================================= */
@media (max-width: 768px) {
    h1 { font-size: 3em; }
    .btn-prev { left: 20px; top: auto; bottom: 30px; }
    .btn-next { right: 20px; top: auto; bottom: 30px; }
    /* Nav stays fixed at bottom */
    .block-nav { position: fixed; bottom: 0; top: auto; height: 100px; transform: none; }
}

/* =========================================
   CLEAN TICKET LIST STYLES
========================================= */
/* The main box */
.ticket-list {
    margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    background: rgba(0,0,0,0.3);
    padding: 15px;
}

/* The dividers (Early Bird / Regular) */
.ticket-divider {
    margin-bottom: 10px;
    border-bottom: 1px dashed #444;
    padding-bottom: 5px;
    margin-top: 15px;
}
.ticket-divider:first-child { margin-top: 0; }

.ticket-divider small {
    letter-spacing: 1px;
    font-size: 0.8em;
    font-weight: bold;
    text-transform: uppercase;
}
/* Colors for specific headers */
.text-orange-sm { color: var(--orange); }
.text-grey-sm { color: #aaa; }

/* The rows */
.ticket-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.ticket-row:last-child { border-bottom: none; }

/* Name & Price Text */
.t-name {
    font-size: 0.95em;
    color: #ddd;
    flex-grow: 1; /* Pushes price to the right */
    padding-right: 10px;
}

.t-price {
    color: var(--gold);
    font-weight: bold;
    margin-right: 15px;
    font-size: 0.9em;
    white-space: nowrap; /* Prevents price breaking lines */
}

.t-price small {
    color: #888;
    font-weight: normal;
    font-size: 0.85em;
}

/* The Input Box */
.t-qty {
    width: 50px;
    background: rgba(255,255,255,0.1);
    border: 1px solid #444;
    color: #fff;
    text-align: center;
    border-radius: 4px;
    padding: 5px;
    font-size: 1em;
}
.t-qty:focus {
    border-color: var(--orange);
    outline: none;
    background: rgba(255,255,255,0.2);
}

/* =========================================
   BIG TOTAL BOX STYLES
========================================= */
.total-box {
    background: rgba(212, 175, 55, 0.15); /* Gold background tint */
    border: 2px solid var(--gold); /* Thicker Gold Border */
    padding: 25px; /* More padding for size */
    margin: 30px 0; /* Space above and below */
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2); /* Soft Gold Glow */
    backdrop-filter: blur(5px);
}

.total-label {
    display: block;
    color: #fff;
    font-size: 1.1em; /* Larger label */
    letter-spacing: 3px;
    margin-bottom: 10px;
    text-transform: uppercase;
    opacity: 0.9;
}

.total-amount {
    display: block;
    color: var(--gold);
    font-size: 3em; /* HUGE Text */
    font-weight: 700;
    font-family: var(--font-header);
    line-height: 1;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* Mobile Adjustment so it fits on screens */
@media (max-width: 768px) {
    .total-amount { font-size: 2.2em; }
}


/* =========================================
   COUNTDOWN TIMER
========================================= */
.countdown-box {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 25px 0;
}

.cd-item {
    text-align: center;
    min-width: 60px;
}

.cd-item span {
    display: block;
    font-size: 2.5em;
    font-family: var(--font-header);
    font-weight: 700;
    color: #fff;
    line-height: 1;
    text-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.cd-item small {
    display: block;
    font-size: 0.8em;
    color: var(--gold);
    letter-spacing: 2px;
    margin-top: 5px;
    font-family: var(--font-header);
}

/* Mobile Adjustment */
@media (max-width: 768px) {
    .countdown-box { gap: 15px; }
    .cd-item span { font-size: 1.8em; }
    .cd-item small { font-size: 0.7em; }
}

/* COUNTDOWN STYLES */
.timer-box {
    text-align: center;
    min-width: 60px;
}
.timer-num {
    font-family: 'Oswald', sans-serif;
    font-size: 2.5em;
    font-weight: 700;
    color: #fff;
    display: block;
    line-height: 1;
    text-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
}
.timer-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8em;
    color: #ff6b35; /* Orange accent */
    letter-spacing: 2px;
}

/* Mobile Adjustment */
@media (max-width: 768px) {
    .timer-num { font-size: 1.8em; }
    .timer-label { font-size: 0.7em; }
    #countdown { gap: 15px !important; }
}