body {
    font-family: 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    color: white;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 0 30px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    width: 380px;
    transition:box-shadow 0.3s ease;
}

.container:hover{
box-shadow:0 10px 40px rgba(0,0,0,0.5);
}

h1 {
    margin-bottom: 10px;
}

.clock {
    margin: 20px 0;
}

#analogClock {
    display: block;
    margin: auto;   
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);   
}

.digital {
    margin-top: 10px;
    font-size: 20px;
}

.countdown {
    font-size: 22px;
    margin: 20px 0;
}

.ramadan {
    display: flex;
    justify-content: space-around;
    margin: 20px 0;
}

button {
    background: #1abc9c;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    color: white;
    cursor:
    pointer;
}

button:hover {
    transform: scale(1.05);
    transition: 0.2s;   
}

table {
    width: 100%;
    margin-top: 15px;
    border-collapse: collapse;
}

th,
td {
    padding: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

#schedule {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.6s ease-in-out;
}

#schedule.open {
    max-height: 500px;
    opacity: 1;
    transform: translateY(0);   
}

#arrow {
    display: inline-block;
    transition: transform 0.4s ease;
}

#schedule.open+#arrow {
    transform: rotate(180deg);   
}

.popup {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: #16a085;
    padding: 15px 25px;
    border-radius: 10px;
    display: none;
    animation: fade 0.5s;
}

#detectCountdown {
    color: #f1c40f;
    margin-left: 5px;
}

#locationMethod {
    font-size: 12px;
    opacity: 0.8;
    margin-top: 3px;   
}

@keyframes fade {
    from {
        opacity: 0;
        transform: translateY(20px)
    }

    to {
        opacity: 1;
        transform: translateY(0)

    }   }
