/* ========================================================
   J&S SPORTS - MAINTENANCE PAGE CSS
   Completely isolated using .bw-maint- prefix
   No Global Selectors (:root, *, html, body) used
========================================================= */
 body, html {
            margin: 0;
            padding: 0;
            background-color: #0a0a0a; /* Matches the dark background */
            scrollbar-width: none; /* Hides the scrollbar */
        }

        /* For Firefox */


.bw-maint-wrapper {
    /* Scoped Design System Variables */
    --bw-m-primary: #fdb813;     /* Marigold Yellow */
    --bw-m-bg: #0a0a0a;          /* Deep Black */
    --bw-m-surface: rgba(20, 20, 20, 0.7); /* Deep Glass Charcoal */
    --bw-m-surface-solid: #151515;
    --bw-m-text: #f5f5f5;        /* Soft White */
    --bw-m-text-muted: #a0aab5;
    --bw-m-accent: #00e5ff;      /* Neon Cyan */
    
    /* Typography & Layout */
    --bw-m-font-head: 'Rajdhani', sans-serif;
    --bw-m-font-body: 'Inter', sans-serif;
    --bw-m-transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    
    background-color: var(--bw-m-bg);
    color: var(--bw-m-text);
    font-family: var(--bw-m-font-body);
    width: 100%;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 15px;
}

/* Internal Reset for Wrapper Children Only */
.bw-maint-wrapper *,
.bw-maint-wrapper *::before,
.bw-maint-wrapper *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* =========================================
   1. BACKGROUND & VISUAL EFFECTS
========================================= */
.bw-maint-bg-elements {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.bw-maint-glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.25;
    animation: bw-maint-float 15s infinite alternate;
}

.bw-maint-orb-primary {
    background: var(--bw-m-primary);
    width: 60vw;
    height: 60vw;
    max-width: 600px;
    max-height: 600px;
    top: -20%;
    left: -10%;
}

.bw-maint-orb-accent {
    background: var(--bw-m-accent);
    width: 50vw;
    height: 50vw;
    max-width: 500px;
    max-height: 500px;
    bottom: -10%;
    right: -10%;
    animation-delay: -5s;
}

.bw-maint-grid-lines {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.7;
}

@keyframes bw-maint-float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(5%, 10%) scale(1.1); }
}

/* =========================================
   2. MAIN GLASSMORPHISM CARD
========================================= */
.bw-maint-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 850px;
    margin: auto;
}

.bw-maint-glass-card {
    background: var(--bw-m-surface);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    padding: clamp(2rem, 5vw, 4rem); /* Fluid padding */
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255,255,255,0.1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Top Neon Edge */
.bw-maint-glass-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--bw-m-primary), var(--bw-m-accent));
}

.bw-maint-reveal {
    opacity: 0;
    transform: translateY(30px);
    animation: bw-maint-fade-up 1s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

@keyframes bw-maint-fade-up {
    to { opacity: 1; transform: translateY(0); }
}

/* =========================================
   3. BRAND & SLOGAN SECTION
========================================= */
.bw-maint-brand-section {
    margin-bottom: 2.5rem;
}

.bw-maint-brand-name {
    font-family: var(--bw-m-font-head);
    font-size: clamp(2.5rem, 8vw, 4.5rem); /* Fluid typography */
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    color: var(--bw-m-text);
    text-shadow: 0 5px 20px rgba(0,0,0,0.5);
    line-height: 1.1;
}

.bw-maint-brand-name span {
    color: transparent;
    -webkit-text-stroke: 1px var(--bw-m-primary);
    background: linear-gradient(90deg, var(--bw-m-primary), var(--bw-m-accent));
    -webkit-background-clip: text;
    background-clip: text;
    text-shadow: 0 0 20px rgba(253, 184, 19, 0.3);
}

.bw-maint-slogan {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--bw-m-accent);
    max-width: 650px;
    margin: 0 auto;
    font-style: italic;
    font-weight: 300;
    letter-spacing: 0.5px;
    line-height: 1.5;
}

.bw-maint-quote-icon {
    color: var(--bw-m-primary);
    font-weight: 700;
    font-family: serif;
    font-size: 1.2em;
    vertical-align: bottom;
}

/* =========================================
   4. DIVIDER & HEADER
========================================= */
.bw-maint-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 2.5rem;
}

.bw-maint-divider-line {
    height: 1px;
    width: 100px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}

.bw-maint-divider-icon {
    color: var(--bw-m-text-muted);
    width: 24px;
    height: 24px;
    animation: bw-maint-spin 10s linear infinite;
}

@keyframes bw-maint-spin {
    100% { transform: rotate(360deg); }
}

.bw-maint-header {
    margin-bottom: 3rem;
}

.bw-maint-title {
    font-family: var(--bw-m-font-head);
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    color: var(--bw-m-text);
}

.bw-maint-title span {
    color: var(--bw-m-primary);
}

.bw-maint-desc {
    color: var(--bw-m-text-muted);
    font-size: clamp(0.95rem, 2vw, 1.05rem);
    max-width: 550px;
    margin: 0 auto;
    line-height: 1.6;
}

/* =========================================
   5. COUNTDOWN TIMER (Highly Responsive)
========================================= */
.bw-maint-timer-section {
    margin-bottom: 4rem;
}

.bw-maint-timer-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.bw-maint-time-box {
    background: var(--bw-m-surface-solid);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    flex: 1;
    min-width: 100px;
    max-width: 140px;
    aspect-ratio: 1 / 1; /* Keeps it perfectly square */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    transition: var(--bw-m-transition);
}

.bw-maint-time-box:hover {
    transform: translateY(-5px);
    border-color: rgba(253, 184, 19, 0.3);
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
}

.bw-maint-time-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--bw-m-primary);
    opacity: 0.5;
}

.bw-maint-seconds-box::before {
    background: var(--bw-m-accent);
}

.bw-maint-time-val {
    font-family: var(--bw-m-font-head);
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: 700;
    color: var(--bw-m-text);
    line-height: 1;
    margin-bottom: 0.2rem;
    transition: transform 0.1s ease;
}

.bw-maint-time-label {
    font-size: clamp(0.75rem, 1.5vw, 0.85rem);
    color: var(--bw-m-text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
}

.bw-maint-pop {
    animation: bw-maint-number-pop 0.3s ease-out;
}

@keyframes bw-maint-number-pop {
    0% { transform: scale(1); color: var(--bw-m-primary); }
    50% { transform: scale(1.1); color: var(--bw-m-accent); }
    100% { transform: scale(1); color: var(--bw-m-text); }
}

/* =========================================
   6. FOOTER & SOCIALS
========================================= */
.bw-maint-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.bw-maint-contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.bw-maint-contact-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--bw-m-text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--bw-m-transition);
}

.bw-maint-icon-wrapper {
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.03);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--bw-m-transition);
}

.bw-maint-contact-link svg {
    width: 16px;
    height: 16px;
    color: var(--bw-m-primary);
}

.bw-maint-contact-link:hover {
    color: var(--bw-m-text);
}

.bw-maint-contact-link:hover .bw-maint-icon-wrapper {
    background: var(--bw-m-primary);
    box-shadow: 0 0 10px rgba(253, 184, 19, 0.4);
}

.bw-maint-contact-link:hover svg {
    color: var(--bw-m-bg);
}

.bw-maint-socials {
    display: flex;
    gap: 12px;
}

.bw-maint-social-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bw-m-text);
    text-decoration: none;
    transition: var(--bw-m-transition);
    border: 1px solid transparent;
}

.bw-maint-social-icon svg {
    width: 16px;
    height: 16px;
}

.bw-maint-social-icon:hover {
    background: rgba(0, 229, 255, 0.1);
    color: var(--bw-m-accent);
    border-color: var(--bw-m-accent);
    transform: translateY(-4px);
    box-shadow: 0 5px 15px rgba(0, 229, 255, 0.3);
}

/* =========================================
   7. RESPONSIVE ADJUSTMENTS
========================================= */
@media (max-width: 768px) {
    .bw-maint-timer-grid {
        gap: 1rem;
    }
    .bw-maint-wrapper {
        width:90%;
    }
    
    .bw-maint-footer { 
        flex-direction: column; 
        justify-content: center; 
        text-align: center;
    }
    
    .bw-maint-contact-info {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
}

@media (max-width: 480px) {
    /* Precise control for 2x2 grid on very small screens */
    .bw-maint-timer-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .bw-maint-time-box {
        max-width: 100%;
        aspect-ratio: auto;
        padding: 15px 0;
    }
}