@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

:root {
    /* BNI Core Colors */
    --bni-red: #cc0000;
    --bni-red-glow: rgba(204, 0, 0, 0.4);

    /* Futuristic Dark Theme */
    --bg-darker: #050505;
    --bg-dark: #0a0a0a;
    --bg-light: #151515;

    /* Glassmorphism */
    --glass-bg: rgba(20, 20, 20, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(204, 0, 0, 0.15);

    /* Typography */
    --text-primary: #ffffff;
    --text-secondary: #aaaaaa;
    --font-sans: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-darker);
    color: var(--text-primary);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Futuristic Background Blob FX */
body::before,
body::after {
    content: '';
    position: fixed;
    width: 60vw;
    height: 60vw;
    border-radius: 50%;
    z-index: -1;
    filter: blur(120px);
    opacity: 0.15;
    pointer-events: none;
    animation: pulseGlow 8s infinite alternate ease-in-out;
}

body::before {
    top: -20vh;
    left: -20vw;
    background: radial-gradient(circle, var(--bni-red) 0%, transparent 70%);
}

body::after {
    bottom: -20vh;
    right: -20vw;
    background: radial-gradient(circle, #ff3333 0%, transparent 70%);
    animation-delay: -4s;
}

/* Base Utility */
.font-outfit {
    font-family: var(--font-heading);
}

.letter-spacing-1 {
    letter-spacing: 1px;
}

.text-primary {
    color: var(--bni-red) !important;
}

.bg-primary {
    background-color: var(--bni-red) !important;
}

.text-gradient {
    background: linear-gradient(135deg, #ffffff 0%, #ff9999 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glassmorphism Styles */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 20px;
}

.glass-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.glass-pill {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    padding: 0.5rem 1.25rem;
    backdrop-filter: blur(10px);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--bni-red) 0%, #a30000 100%);
    border: none;
    color: white;
    box-shadow: 0 4px 15px var(--bni-red-glow);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-primary:hover,
.btn-primary:focus {
    background: linear-gradient(135deg, #e60000 0%, #b30000 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--bni-red-glow);
}

/* Form Elements */
.glass-input {
    background: rgba(0, 0, 0, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: white !important;
    transition: all 0.3s ease;
}

.glass-input:focus {
    background: rgba(0, 0, 0, 0.4) !important;
    border-color: var(--bni-red) !important;
    box-shadow: 0 0 0 0.25rem rgba(204, 0, 0, 0.25) !important;
}

.glass-input::placeholder {
    color: rgba(255, 255, 255, 0.4) !important;
}

select.glass-input {
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--bni-red) rgba(0, 0, 0, 0.2);
}

select.glass-input::-webkit-scrollbar {
    width: 6px;
}

select.glass-input::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

select.glass-input::-webkit-scrollbar-thumb {
    background: var(--bni-red);
    border-radius: 4px;
}

select.glass-input option {
    background-color: transparent !important;
    color: white !important;
    padding: 10px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.2s;
}

select.glass-input option:hover,
select.glass-input option:focus {
    background-color: rgba(204, 0, 0, 0.2) !important;
}

select.glass-input option:checked {
    background: linear-gradient(90deg, var(--bni-red) 0%, rgba(204, 0, 0, 0.5) 100%) !important;
    color: white !important;
    font-weight: bold;
}

/* Checkboxes, Radios, and Pills */
.custom-radio {
    cursor: pointer;
}

.custom-radio .form-check-input {
    background-color: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
}

.custom-radio .form-check-input:checked {
    background-color: var(--bni-red);
    border-color: var(--bni-red);
    box-shadow: 0 0 10px var(--bni-red-glow);
}

.custom-checkbox .form-check-input {
    background-color: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
}

.custom-checkbox .form-check-input:checked {
    background-color: var(--bni-red);
    border-color: var(--bni-red);
    box-shadow: 0 0 10px var(--bni-red-glow);
}

/* Checkbox Pills */
.checkbox-pill-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.checkbox-pill .form-check-input {
    display: none;
}

.checkbox-pill .form-check-label {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.8);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    user-select: none;
}

.checkbox-pill .form-check-label:hover {
    background: rgba(204, 0, 0, 0.1);
    border-color: rgba(204, 0, 0, 0.3);
}

.checkbox-pill .form-check-input:checked+.form-check-label {
    background: linear-gradient(135deg, var(--bni-red) 0%, #a30000 100%);
    border-color: var(--bni-red);
    color: white;
    box-shadow: 0 4px 10px var(--bni-red-glow);
}

/* Radio Scale */
.radio-scale .form-check-input {
    width: 1.5em;
    height: 1.5em;
    transition: all 0.2s ease;
}

.radio-scale .form-check-input:checked {
    transform: scale(1.1);
}

/* File Upload Zone */
.file-upload-wrapper {
    border: 2px dashed rgba(255, 255, 255, 0.2) !important;
    background: rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.file-upload-wrapper:hover,
.file-upload-wrapper.dragover {
    border-color: var(--bni-red) !important;
    background: rgba(204, 0, 0, 0.05);
}

/* Countdown */
#countdownTimer .glass-box {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.2));
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Fully Booked State */
.fully-booked {
    background: rgba(204, 0, 0, 0.15) !important;
    border-color: rgba(204, 0, 0, 0.3) !important;
    color: #ff3333 !important;
}

.fully-booked i,
.fully-booked span {
    color: #ff3333 !important;
}

/* Animations */
@keyframes pulseGlow {
    0% {
        transform: scale(1);
        opacity: 0.1;
    }

    100% {
        transform: scale(1.1);
        opacity: 0.2;
    }
}

/* Mobile Responsiveness Improvements */
@media (max-width: 991.98px) {
    .glass-card {
        padding: 1.5rem !important;
    }

    .payment-wrapper {
        position: static !important;
        margin-top: 1rem;
    }
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: 2rem !important;
    }

    #countdownTimer .gap-3 {
        gap: 0.25rem !important;
        justify-content: space-between !important;
    }

    #countdownTimer .glass-box {
        min-width: 0 !important;
        flex: 1;
        padding: 0.75rem 0.25rem !important;
    }

    #cd-days,
    #cd-hours,
    #cd-mins,
    #cd-secs {
        font-size: 1.5rem !important;
    }

    .event-meta {
        flex-direction: column;
        gap: 0.75rem !important;
        align-items: stretch;
        text-align: center;
    }

    .meta-item {
        width: 100%;
        justify-content: center;
    }

    .row.g-4>[class*='col-'] {
        padding-right: 0.5rem;
        padding-left: 0.5rem;
    }
}