@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');
body, html {
    /*height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #004225 0%, #1a5e3c 100%);
    color: #f8f1e0;*/
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100vh;
    font-family: 'Segoe UI', sans-serif;
    background: #0f2027; 
    /*background: linear-gradient(135deg, #004225 0%, #1a5e3c 100%);*/
    background: linear-gradient(to right, #2c5364, #203a43, #0f2027);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
}

.prayer-container {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23d4af37' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.islamic-border {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 25px solid transparent;
    border-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cpath fill='none' stroke='%23d4af37' stroke-width='2' d='M25,2 L2,2 L2,25 M2,75 L2,98 L25,98 M75,98 L98,98 L98,75 M98,25 L98,2 L75,2 M25,2 C35,12 65,12 75,2 M2,25 C12,35 12,65 2,75 M25,98 C35,88 65,88 75,98 M98,25 C88,35 88,65 98,75'/%3E%3C/svg%3E") 30 30 stretch;
    pointer-events: none;
    z-index: 10;
}

.header {
    text-align: center;
    padding: 15px 0;
    border-bottom: 2px solid yellow;
    /* border-bottom: 2px solid #d4af37; */
    background-color: rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
}

.mosque-name {
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    font-size: 3.5vw;
    font-weight: bold;
    color: yellow;
    /* color: #d4af37; */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
    margin: 0;
}

.date-section {
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    font-size: 2.2vw;
    font-weight: bold;
    margin-top: 5px;
    color: #f8f1e0;
}

.clock-section {
    /*flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14vw;
    font-weight: bold;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
    position: relative;*/
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.clock {
    /*position: relative;
    display: inline-block;*/
    font-size: 14vw; /*48px;*/
    font-weight: bold;
    letter-spacing: 2px;
}

.clock-second {
    width: 100%;
    height: 70%;
    transform: translate(-35%, 20%);
    border-radius: 5%;
    text-align: left;
    font-size: 6.5vw;
    font-weight: bold;
}

.clock-reminder {
    width: 100%;
    height: 70%;
    transform: translateY(5%);
    /*border: 1px solid #f8f1e0;*/
    border-radius: 5%;
    text-align: center;
    font-size: 4.5vw;
    font-weight: bold;
}

.clock-title {
    text-align: right;
    font-size: 2vw;
    margin-bottom: 15px;
    color: yellow;
    /* color: #d4af37; */
    font-weight: bold;
}

.prayer-schedule {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 15px 0;
    border-top: 2px solid yellow;
    /* border-top: 2px solid #d4af37; */
    position: relative;
    z-index: 2;
}

.schedule-title {
    text-align: center;
    font-size: 2vw;
    margin-bottom: 15px;
    color: black;
    color: #d4af37;
    font-weight: bold;
    /*background-color: aliceblue;*/
}

.prayer-times {
    display: flex;
    justify-content: space-around;
    padding: 0 10px;
}

.prayer-item {
    text-align: center;
    flex: 1;
    padding: 0 10px;
    position: relative;
}

.prayer-name {
    font-size: 2.5vw;
    font-weight: bold;
    color: yellow;
    /* color: #d4af37; 
    margin-bottom: 1px;*/
}

.prayer-iqamah {
    font-size: 1.8vw;
    font-weight: bold;
    /*color: red;*/
    background-color: rgba(0, 0, 0, 0.2);
    color: #f8f1e0;
    /*margin-bottom: 1px;*/
}

.prayer-time {
    font-size: 3.7vw;
    font-weight: bold;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 5px;
    display: inline-block;
    min-width: 120px;
}

.lantern {
    position: absolute;
    width: 40px;
    height: 60px;
    opacity: 0.8;
}

.lantern-1 {
    top: 10%;
    right: 15%;
    animation: sway 5s infinite ease-in-out;
}

.lantern-2 {
    top: 5%;
    left: 15%;
    animation: sway 6s infinite ease-in-out reverse;
}

.lantern-3 {
    bottom: 30%;
    right: 10%;
    animation: sway 4s infinite ease-in-out;
}

@keyframes sway {
    0%, 100% { transform: rotate(-5deg) translateY(0); }
    50% { transform: rotate(5deg) translateY(-10px); }
}

.mosque-silhouette {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 15vh;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23001a0e' d='M0,224L48,224C96,224,192,224,288,208C384,192,480,160,576,144C672,128,768,128,864,149.3C960,171,1056,213,1152,218.7C1248,224,1344,192,1392,176L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: bottom;
    opacity: 0.8;
    z-index: 1;
    pointer-events: none;
}

.decorative-star {
    position: absolute;
    color: #d4af37;
    opacity: 0.7;
    animation: twinkle 3s infinite ease-in-out;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.9; }
}

#next-prayer {
    position: absolute;
    bottom: 20px;
    right: 30px;
    background-color: rgba(212, 175, 55, 0.2);
    color: #d4af37;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 1.9vw;
    z-index: 3;
    border: 1px solid rgba(212, 175, 55, 0.5);
}

@media (max-width: 768px) {
    .mosque-name { font-size: 5vw; }
    .date-section { font-size: 3vw; }
    .clock-section { font-size: 14vw; }
    .schedule-title { font-size: 3vw; }
    .prayer-name { font-size: 3vw; }
    .prayer-time { font-size: 4vw; }
    .islamic-border { border-width: 15px; }
    #next-prayer { font-size: 2.5vw; }
}