/* ===========================================
   Holi Countdown - Tool Specific Styles (Vibrant Color Splash Theme)
   =========================================== */

/* Tool Layout */
.hc-box {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

/* --- Display Box --- */
.hc-display-box {
    background: #f8f8f8; /* Off-White/Clean background */
    border: 5px solid #dcdcdc; /* Light border */
    border-radius: 25px;
    padding: 45px 25px;
    margin-bottom: 30px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    color: #333; /* Dark gray text */
    position: relative;
    overflow: hidden; /* Contains the pseudo-elements */
}

/* Background Color Splashes - Festive Vibe */
.hc-display-box::before,
.hc-display-box::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    z-index: 0;
    opacity: 0.6;
    filter: blur(15px); /* Soft powder look */
}

.hc-display-box::before {
    top: -20px;
    left: -20px;
    width: 150px;
    height: 150px;
    background: #FF00FF; /* Magenta */
}

.hc-display-box::after {
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    background: #00FFFF; /* Cyan */
}

/* Content over background */
.hc-content {
    position: relative;
    z-index: 10;
}

.hc-date-header {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #4CAF50; /* Green */
}

.hc-countdown-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
}

.hc-countdown-item {
    text-align: center;
    flex: 1;
    padding: 10px 5px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
}

.hc-time-value {
    font-size: 4.5rem;
    font-weight: 900;
    color: #FFC107; /* Bright Yellow/Amber Value */
    line-height: 1.1;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.hc-time-unit {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
    margin-top: 5px;
}

/* --- Festive Message --- */
.hc-message {
    margin-top: 25px;
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    background: linear-gradient(90deg, #FF9800, #E91E63); /* Orange to Pink Gradient */
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: none; /* Hidden until the countdown hits zero */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hc-time-value {
        font-size: 3rem;
    }
}
@media (max-width: 500px) {
    .hc-countdown-grid {
        flex-wrap: wrap;
    }
    .hc-countdown-item {
        flex: 1 1 45%; 
        padding: 15px 5px;
    }
    .hc-time-value {
        font-size: 2.5rem;
    }
    .hc-time-unit {
        font-size: 0.9rem;
    }
    .hc-display-box {
        padding: 30px 10px;
    }
}