.how-long-until-container {
    width: 100%;
    max-width: auto;
    margin: 50px auto;
    padding: 40px;
    border-radius: 30px;
    background: linear-gradient(to top, #1e3c72, #2a5298);
    backdrop-filter: blur(20px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6), inset 0 10px 25px rgba(255, 255, 255, 0.1);
    animation: fade-in-scale 1s ease-in-out;
}

.tool-title {
    font-size: 4rem;
    margin-bottom: 30px;
    background: linear-gradient(90deg, #f953c6, #b91d73);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 8px 20px rgba(249, 83, 198, 0.9);
    font-weight: 900;
    letter-spacing: 3px;
    text-align: center;
}

/* Section Styling */
.countdown-section {
    margin-top: 40px;
    padding: 40px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), inset 0 5px 10px rgba(255, 255, 255, 0.1);
    animation: slide-up-fade-in 1s ease-out;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #f953c6, #b91d73);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 6px 20px rgba(249, 83, 198, 0.9);
    font-weight: 700;
    text-align: center;
}

/* Countdown Box Styling */
.countdown-pair {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
}

.countdown-item {
    flex: 1;
    min-width: 350px;
    text-align: center;
}

.period {
    font-size: 1.8rem;
    padding: 10px 20px;
    border-radius: 15px;
    background: linear-gradient(90deg, #f953c6, #b91d73);
    text-shadow: 0 5px 10px rgba(0, 0, 0, 0.6);
    font-weight: 600;
    color: #0d2f6f;
    margin-bottom: 15px;
}

.countdown-box {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.time-card {
    text-align: center;
    padding: 15px;
    border-radius: 15px;
    background: linear-gradient(145deg, #f953c6, #b91d73);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.time-card:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(249, 83, 198, 0.8);
    background: linear-gradient(145deg, #b91d73, #f953c6);
}

.time-segment {
    font-size: 3rem;
    font-weight: bold;
    color: #ffffff;
    width: 200px;
    text-shadow: 0 6px 15px rgba(0, 0, 0, 0.6);
    background: linear-gradient(145deg, #f953c6, #b91d73);
    padding: 15px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.time-label {
    font-size: 1.4rem;
    color: #ffffff;
    margin-top: 5px;
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.5);
}

/* Current Time Section */
.current-time-section {
    margin: 30px auto;
    padding: 20px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), inset 0 5px 10px rgba(255, 255, 255, 0.1);
    text-align: center;
    color: #ffffff;
    animation: glow-pulse 1.5s infinite alternate;
}

.current-time-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    background: linear-gradient(90deg, #f953c6, #b91d73);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 15px rgba(101, 33, 252, 0.8);
    font-weight: 700;
}

.current-time-display {
    font-size: 3rem;
    font-weight: bold;
    background: linear-gradient(145deg, #f953c6, #b91d73);
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 15px;
    text-shadow: 0 6px 15px rgba(0, 0, 0, 0.7);
    display: inline-block;
    box-shadow: 0 10px 30px rgba(101, 33, 252, 0.8), inset 0 5px 10px rgba(255, 255, 255, 0.2);
    animation: glow-pulse 1.5s infinite alternate;
}
/* Responsive Adjustments */
@media (max-width: 1024px) {
    .current-time-title {
        font-size: 2.2rem; /* Slightly smaller title */
    }
    .current-time-display {
        font-size: 3.5rem; /* Slightly smaller time display */
        padding: 12px 25px; /* Reduced padding */
    }
}

@media (max-width: 768px) {
    .current-time-title {
        font-size: 2rem; /* Smaller title for tablets */
    }
    .current-time-display {
        font-size: 3rem; /* Smaller time display */
        padding: 10px 20px; /* Further reduced padding */
    }
}

@media (max-width: 480px) {
    .current-time-title {
        font-size: 1.8rem; /* Compact title for mobile */
    }
    .current-time-display {
        font-size: 2rem; /* Compact time display */
        padding: 8px 15px; /* Minimal padding */
    }
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .tool-title {
        font-size: 3rem;
    }
    .time-segment {
        font-size: 2.5rem;
    }
    .time-label {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .tool-title {
        font-size: 2.5rem;
    }
    .section-title {
        font-size: 2.2rem;
    }
    .time-segment {
        font-size: 2rem;
    }
    .countdown-item {
        min-width: 100%;
    }
}

@media (max-width: 480px) {
    .tool-title {
        font-size: 2rem;
    }
    .time-segment {
        font-size: 1.8rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
}

/* Animations */
@keyframes fade-in-scale {
    0% {
        opacity: 0;
        transform: scale(0.85);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slide-up-fade-in {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glow-pulse {
    0% {
        text-shadow: 0 4px 10px rgba(255, 255, 255, 0.8);
    }
    100% {
        text-shadow: 0 8px 20px rgba(255, 255, 255, 1);
    }
}
