/* *****************************************************************************************
*                                                                                           *
*   COPYRIGHT & WARNING NOTICE                                                              *
*                                                                                           *
*   This file and its contents are the intellectual property of Elton Zulu.                *
*   All rights reserved. This code is protected and monitored.                             *
*                                                                                           *
*   Owner / Contact: Engr. Elton Zulu                                                       *
*       WhatsApp: +260950401406                                                             *
*       Email   : zuluelton@gmail.com                                                       *
*       Location: Lusaka, Zambia                                                            *
*                                                                                           *
*   WARNING: Do NOT modify, copy, redistribute, or tamper with this code without           *
*   explicit authorization.                                                                *
*                                                                                           *
*   Unauthorized use, changes, or distribution may result in malfunction and/or            *
*   legal consequences.                                                                    *
*                                                                                           *
*   (C) Elton Zulu 2026. All rights reserved.                                              *
*                                                                                           *
***************************************************************************************** */

 { 
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'World Athletics';

    /*background: url('Graphics/bg.png') no-repeat center/cover;*/
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),url('../Graphics/Bg.jpg') no-repeat center/cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1D1D1D;
    overflow-x: hidden;
    user-select: none;
}

@font-face {
    font-family: 'World Athletics';
    src: url('../Font/WorldAthletics.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'World Athletics';
    src: url('../Font/WorldAthleticsHeadline.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

.countdown-hero {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    padding: 60px 40px 7px;
    border-radius: 24px;
    box-shadow: 0 32px 80px rgba(0,20,137,0.3);
    text-align: center;
    max-width: 600px;
    border: 1px solid rgba(255,255,255,0.3);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

.event-logo {
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between; /* left & right */
    align-items: center;
    gap: 16px;                      /* space between logos */
}

.event-logo-img {
    max-width: 180px;
    height: auto;
}

.event-date {
    font-size: 20px;
    color: #000000;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 0.08em;
    margin-top: 41px;
}

#countdown {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 23px auto 32px;
    background: rgba(0, 0, 0, 0.75);
    padding: 37px 32px 24px;
    border-radius: 20px;
    border: 2px solid rgba(212, 175, 55, 0.35);
    backdrop-filter: blur(10px);
    max-width: 520px;
    font-size: 0;
}

/* Each time block */
.time-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 90px;
    padding: 12px;
    background: rgba(20, 20, 20, 0.85);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(212, 175, 55, 0.15);
    transition: all 0.3s ease;
}

/* Hover glow */
.time-unit:hover {
    transform: scale(1.05);
    box-shadow: 0 16px 40px rgba(212, 175, 55, 0.25);
    border-color: rgba(212, 175, 55, 0.6);
}

/* Number styling (gold gradient) */
.time-number {
    font-size: 52px;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(
        135deg,
        #FFD700 0%,
        #D4AF37 40%,
        #B8860B 70%,
        #8B7500 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
    animation: countGlow 1.5s ease-in-out infinite alternate;
}

/* Optional label styling (if you have seconds/minutes text) */
.time-label {
    font-size: 12px;
    color: rgba(212, 175, 55, 0.8);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Glow animation */
@keyframes countGlow {
    from {
        filter: drop-shadow(0 0 4px rgba(255, 215, 0, 0.3));
    }

    to {
        filter: drop-shadow(0 0 14px rgba(255, 215, 0, 0.75));
    }
}

.time-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #ffffff;
    opacity: 0.9;
}

.time-separator {
    font-size: 36px;
    font-weight: 300;
    color: white;
    opacity: 0.6;
    align-self: center;
    
}

.event-tagline {
    font-size: 20px;
    color: #000000;
    font-weight: bold;
    letter-spacing: 0.04em;
    margin-top: 24px;
}

@keyframes countGlow {
    from {
        filter: drop-shadow(0 0 8px rgba(0,149,68,0.4));
    }

    to {
        filter: drop-shadow(0 0 16px rgba(0,20,137,0.6));
    }
}

@media (max-width: 600px) {
    .countdown-hero {
        margin: 20px;
        padding: 40px 24px;
    }

    .time-number {
        font-size: 40px;
    }

    #countdown {
        flex-wrap: wrap;
        gap: 8px;
        padding: 20px;
    }
}

.expired {
    color: #009A44 !important;
    font-size: 24px !important;
    font-weight: 900 !important;
}

.Sponsor img {
    width: 200px;   /* adjust size */
    height: 100px;  /* adjust size */
    background-image: url("../Graphics/FNB_Logo.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}  