/* ===========================================
   Ramadan Countdown - Tool Specific Styles (Deep Purple/Gold Theme)
   =========================================== */

/* Tool Layout */
.rc-box {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

/* --- Main Countdown Display --- */
.rc-countdown-display {
    background: #4c1d95; /* Deep Purple BG */
    border: 4px solid #fde047; /* Bright Gold Border */
    border-radius: 16px;
    padding: 40px 20px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    color: white;
}

.rc-title {
    font-size: 2.8rem;
    font-weight: 900;
    color: #fcd34d; /* Bright Gold */
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.rc-date {
    font-size: 1.4rem;
    font-weight: 600;
    color: #e5e7eb; /* Off-White/Silver */
    margin-bottom: 30px;
    font-style: italic;
}

/* Timer Grid */
.rc-timer-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.rc-timer-unit {
    background: #00000040; /* Semi-transparent black */
    border: 1px solid #7c3aed; /* Medium Purple */
    border-radius: 12px;
    padding: 15px;
    min-width: 80px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.rc-timer-value {
    font-size: 4rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.1;
    font-family: monospace; /* For uniform digit size */
}

.rc-timer-label {
    font-size: 1rem;
    font-weight: 600;
    color: #fcd34d;
    margin-top: 5px;
    text-transform: uppercase;
}

/* Countdown Over Status */
.rc-celebration-message {
    font-size: 3rem;
    font-weight: 800;
    color: #34d399; /* Celebration Green */
    padding: 20px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); color: #fcd34d; }
    50% { transform: scale(1.05); color: #ffffff; }
    100% { transform: scale(1); color: #fcd34d; }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .rc-timer-grid {
        gap: 10px;
        flex-wrap: wrap;
    }
    .rc-timer-unit {
        padding: 12px;
        min-width: 45%;
    }
    .rc-timer-value {
        font-size: 3rem;
    }
    .rc-title {
        font-size: 2rem;
    }
    .rc-celebration-message {
        font-size: 2rem;
    }
}
@media (max-width: 400px) {
    .rc-timer-unit {
        min-width: 100%;
    }
}