* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Hind Siliguri', sans-serif;
    background: linear-gradient(135deg, #1a237e 0%, #0d47a1 50%, #01579b 100%);
    min-height: 100vh;
    color: white;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

.container-fluid {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0;
}

.header-section {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1.5rem 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1rem 0;
}

.prayer-time .azan-time {
    font-size: 0.9em;
    color: #ccc;
}

.prayer-time .jamat-time {
    font-size: 1.1em;
}

.prayer-time .jamat-time strong {
    color: #ffc107;
    font-weight: bold;
}

.prayer-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 1.5rem 1rem;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    height: 100%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.prayer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.3);
    background: rgba(255, 255, 255, 0.2);
}

.prayer-card.current {
    animation: blink 1.5s infinite;
    background: rgba(255, 255, 255, 0.25);
    border: 3px solid #ff9800;
    box-shadow: 0 0 20px rgba(255, 152, 0, 0.7);
}

@keyframes blink {
    0% { 
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 20px rgba(255, 152, 0, 0.7);
    }
    50% { 
        opacity: 0.7;
        transform: scale(1.02);
        box-shadow: 0 0 30px rgba(255, 152, 0, 0.9);
    }
    100% { 
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 20px rgba(255, 152, 0, 0.7);
    }
}

.prayer-name-en {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.prayer-name-bn {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    opacity: 0.9;
}

.prayer-time {
    font-size: 1.6rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.7rem;
    border-radius: 12px;
    margin-top: auto;
}

.search-section {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    margin-bottom: 2rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-prayer {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
    color: white;
    border: none;
    padding: 0.8rem 1.8rem;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.btn-prayer:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

.form-control {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    border-radius: 12px;
    padding: 0.8rem 1rem;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
    box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.25);
}

.footer {
    text-align: center;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    margin-top: auto;
}

.location-display {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.current-date {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.prayer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.reminder-status {
    background: rgba(255, 193, 7, 0.2);
    border: 2px solid rgba(255, 193, 7, 0.5);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

h1 {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.input-group-text {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    border-right: none;
    border-radius: 12px 0 0 12px;
}

@media (max-width: 768px) {
    .prayer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .prayer-card {
        padding: 1.2rem 0.8rem;
    }
    .prayer-time {
        font-size: 1.4rem;
    }
}

@media (max-width: 576px) {
    .prayer-grid {
        grid-template-columns: 1fr;
    }
}