/* GLOBAL RESET */
* {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}

/* DARK MODE BACKGROUND */
.hero {
    width: 100%;
    min-height: 100vh;
    /* Deep Black/Grey Gradient */
    background: linear-gradient(135deg, #000000, #1a1a1a);
    color: #fff;
    position: relative;
    overflow: hidden; 
}

/* RESPONSIVE CONTAINER */
.container {
    width: 90%;          
    max-width: 800px;    
    height: 180px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* DARK GLASS EFFECT */
.clock {
    width: 100%;
    height: 100%;
    /* Very dark, semi-transparent background */
    background: rgba(255, 255, 255, 0.05); 
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    font-family: 'VT323', monospace;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
}

/* --- DECORATIVE BLOBS (COLORS CHANGED HERE) --- */

/* The Square Blob */
.container::before {
    content: '';
    width: 180px;
    height: 180px;
    /* Neon Pink */
    background: #ff0055; 
    border-radius: 5px;
    position: absolute;
    left: -50px;
    top: -50px;
    z-index: -1;
}

/* The Circle Blob */
.container::after {
    content: '';
    width: 180px;
    height: 180px;
    /* Neon Cyan */
    background: #00e5ff; 
    border-radius: 50%;
    position: absolute;
    right: -30px;
    bottom: -50px;
    z-index: -1;
}

/* --- END DECORATIVE BLOBS --- */

/* CLOCK TEXT */
.clock span {
    font-size: 80px;
    width: 110px;
    display: inline-block;
    text-align: center;
    position: relative;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* COLON STYLING */
.clock span:not([id]) {
    width: 40px; 
    font-size: 60px; 
    transform: translateY(-10px); 
    color: rgba(255, 255, 255, 0.4); 
}

/* LABELS (HOURS, MINS, SEC) */
.clock span::after {
    font-size: 14px;
    position: absolute;
    bottom: -15px; 
    left: 50%;
    transform: translateX(-50%);
    letter-spacing: 2px;
    opacity: 0.5; 
}

#hrs::after { content: 'HOURS'; }
#min::after { content: 'MINS'; }
#sec::after { content: 'SEC'; }

/* --- RESPONSIVENESS --- */

/* Tablet View */
@media (max-width: 768px) {
    .container {
        height: 150px;
    }
    .clock span {
        font-size: 60px;
        width: 80px;
    }
    .clock span:not([id]) {
        width: 20px;
        font-size: 50px;
    }
}

/* Mobile View */
@media (max-width: 480px) {
    .container {
        height: 120px;
    }
    
    .clock span {
        font-size: 40px;
        width: 55px;
    }

    .clock span:not([id]) {
        width: 10px;
        font-size: 35px;
        transform: translateY(-5px);
    }
    
    .clock span::after {
        font-size: 10px;
        bottom: -20px;
    }
    
    .container::before, .container::after {
        width: 100px;
        height: 100px;
    }
}