/*index.html*/
body {
    font-family: 'Cairo', Arial, sans-serif;
    background: linear-gradient(120deg, #148b4e 0%, #eafaf1 100%);
    margin: 0;
    padding: 0;
    min-height: 100vh;
}
.planet-bg {
    position: relative;
    width: 100vw;
    min-height: 220px;
    background: linear-gradient(120deg, #273c75 0%, #44bd32 100%);
    box-shadow: 0 2px 12px rgba(39,60,117,0.08);
    z-index: 2;
}
.planet-core {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    font-size: 4.5em;
    filter: drop-shadow(0 0 18px #44bd32cc);
    z-index: 4;
}
header {
    background: none;
    color: #ebe4e4;
    text-align: center;
    padding: 30px 0 10px 0;
    position: relative;
    z-index: 5;
    text-shadow: 0 2px 8px #192a56cc;
}
nav {
    background: #353b48;
    padding: 10px 0;
    text-align: center;
}
nav a {
    color: #fff;
    text-decoration: none;
    margin: 0 15px;
    font-weight: bold;
    transition: color 0.2s;
}
nav a:hover {
    color: #fbc531;
}
.container {
    max-width: 700px;
    margin: 30px auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    padding: 30px;
}
.reciter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #eee;
    padding: 18px 0;
}
.reciter:last-child {
    border-bottom: none;
}
.reciter-name {
    font-size: 1.2em;
    color: #192a56;
    font-weight: bold;
}
.enter-btn {
    background: linear-gradient(90deg, #44bd32 0%, #0097e6 100%);
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1.08em;
    font-weight: bold;
    box-shadow: 0 4px 16px rgba(68,189,50,0.10), 0 1.5px 6px rgba(0,151,230,0.10);
    transition: background 0.4s, transform 0.2s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}
.enter-btn:hover {
    background: linear-gradient(90deg, #0097e6 0%, #44bd32 100%);
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 8px 24px rgba(0,151,230,0.13), 0 2.5px 10px rgba(68,189,50,0.13);
}
footer {
    background: #353b48;
    color: #fff;
    text-align: center;
    padding: 15px 0;
    margin-top: 40px;
}
/* رسالة الصلاة على النبي */
.modal-overlay {
    position: fixed;
    top: 0; right: 0; bottom: 0; left: 0;
    background: rgba(0,0,0,0.45);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal-box {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.13);
    padding: 32px 28px 24px 28px;
    text-align: center;
    position: relative;
    min-width: 270px;
    max-width: 90vw;
}
.modal-close {
    position: absolute;
    left: 12px;
    top: 12px;
    background: #e84118;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 1.3em;
    cursor: pointer;
    transition: background 0.2s;
}
.modal-close:hover {
    background: #c23616;
}
.modal-title {
    font-size: 1.25em;
    color: #148b4e;
    margin-bottom: 10px;
    font-weight: bold;
}
.modal-emoji {
    font-size: 2.2em;
    margin-bottom: 10px;
}
/* لافتة غزة */
.gaza-banner {
    width: 100vw;
    background: linear-gradient(90deg, #006266 0%, #e84118 100%);
    color: #fff;
    text-align: center;
    font-size: 1.25em;
    font-weight: bold;
    letter-spacing: 1px;
    padding: 12px 0 10px 0;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 10000;
    box-shadow: 0 2px 12px #00626633;
    animation: gazaPulse 1.2s infinite alternate;
}
.gaza-banner span {
    display: inline-block;
    animation: gazaText 2.5s infinite alternate;
}
@keyframes gazaPulse {
    0% { filter: brightness(1) drop-shadow(0 0 0 #e84118); }
    100% { filter: brightness(1.15) drop-shadow(0 0 12px #e84118cc); }
}
@keyframes gazaText {
    0% { letter-spacing: 1px; transform: scale(1);} 
    100% { letter-spacing: 4px; transform: scale(1.07);} 
}
body {
    padding-top: 52px !important; /* حتى لا يغطي البانر الصفحة */
}

.reciters-list {
    max-height: 350px;            /* ارتفاع مناسب */
    overflow-y: auto;            /* يسمح بالتمرير */
    border: none;                /* نفّذ التصميم ككرت بدون حد صلب */
    border-radius: 14px;
    padding: 10px;               /* مسافات داخلية متناسقة */
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;                    /* مسافة بين كل عنصر */
    background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(255,255,255,0.75));
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    scroll-behavior: smooth;     /* تمرير سلس */
    -webkit-overflow-scrolling: touch; /* تمرير سلس على iOS */
    overscroll-behavior: contain;
    padding-right: 6px;
}

/* Make each reciter inside the list look like a soft card */
.reciters-list .reciter {
    background: linear-gradient(180deg, #ffffff, #fbfffb);
    padding: 12px 14px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
    cursor: pointer;
    border: 1px solid rgba(0,0,0,0.04);
}

.reciters-list .reciter:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.08);
    background: linear-gradient(180deg, #ffffff, #f7fff7);
}

.reciters-list .reciter:active {
    transform: translateY(-1px) scale(0.998);
}

.reciters-list .reciter .reciter-name {
    color: #0f3f22; /* deeper green for contrast */
    font-weight: 700;
}

/* Refined scrollbar appearance */
.reciters-list::-webkit-scrollbar {
    width: 7px;
}
.reciters-list::-webkit-scrollbar-track {
    background: transparent;
}
.reciters-list::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #6fdc8a, #44bd32);
    border-radius: 10px;
    border: 2px solid rgba(255,255,255,0.6);
}
.reciters-list::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #4fc36f, #009432);
}
