/* ==============================
   RESET / BASE
============================== */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    background:#f3f4f6;
    font-family:Segoe UI, Arial, sans-serif;
    color:#111827;
}

a{
    text-decoration:none;
}

.container{
    max-width:1200px;
    margin:auto;
    padding:20px;
}

/* ==============================
   MENUS
============================== */
.main-menu,
.admin-menu{
    width:100%;
    background:#111827;
    padding:12px 30px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
}

.menu-logo{
    display:flex;
    align-items:center;
}

.menu-logo a{
    display:flex;
    align-items:center;
    color:white;
    font-size:22px;
    font-weight:700;
}

.menu-logo img{
    height:52px;
    width:auto;
    display:block;
}

.menu-links{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:10px;
    flex-wrap:wrap;
}

.menu-links a,
.admin-menu a{
    color:#fff;
    padding:10px 16px;
    border-radius:10px;
    background:rgba(255,255,255,.08);
    transition:.25s;
    font-size:15px;
}

.menu-links a:hover,
.admin-menu a:hover{
    background:#2563eb;
}

/* ==============================
   HERO
============================== */
.hero{
    background:linear-gradient(135deg,#111827,#1f2937);
    color:white;
    text-align:center;
    padding:60px 20px;
}

.hero h1{
    font-size:42px;
    margin-bottom:10px;
}

.hero p{
    opacity:.9;
    font-size:18px;
    margin-bottom:25px;
}

/* ==============================
   BUTTONS
============================== */
.back-btn,
.nav-btn{
    display:inline-block;
    color:white;
    padding:10px 18px;
    border-radius:10px;
    transition:.25s;
}

.back-btn{
    margin-bottom:20px;
    border:1px solid rgba(255,255,255,.25);
}

.back-btn:hover{
    background:rgba(255,255,255,.1);
}

.nav-btn{
    background:#2563eb;
    border:none;
    cursor:pointer;
}

.nav-btn:hover{
    opacity:.9;
}

/* ==============================
   TITLES
============================== */
.section-title{
    margin:40px 0 20px;
    font-size:28px;
    color:#111827;
}

/* ==============================
   FORMS
============================== */
input,
textarea,
select{
    font-family:inherit;
    border:1px solid #d1d5db;
    border-radius:10px;
    outline:none;
}

input:focus,
textarea:focus,
select:focus{
    border-color:#2563eb;
}

#searchBook{
    width:100%;
    max-width:500px;
    padding:15px;
    border:none;
    border-radius:12px;
    font-size:16px;
}

/* ==============================
   CARDS / GRIDS
============================== */
.books-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(230px,1fr));
    gap:18px;
}

.book-card,
.chapter-card,
.verse{
    background:white;
    border:1px solid #e5e7eb;
    border-radius:16px;
    transition:.25s;
}

.book-card,
.chapter-card{
    color:#111827;
    text-align:center;
}

.book-card{
    padding:20px;
}

.book-card:hover,
.chapter-card:hover,
.verse:hover{
    transform:translateY(-4px);
    box-shadow:0 12px 24px rgba(0,0,0,.08);
    border-color:#2563eb;
}

.book-name{
    font-size:20px;
    font-weight:700;
    margin-bottom:8px;
}

.book-info{
    color:#6b7280;
    font-size:14px;
}

/* ==============================
   CHAPTERS
============================== */
.chapters-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(90px,1fr));
    gap:15px;
    margin-top:30px;
}

.chapter-card{
    padding:25px 10px;
}

.chapter-number{
    font-size:24px;
    font-weight:700;
    color:#2563eb;
}

.chapter-nav{
    display:flex;
    justify-content:center;
    gap:10px;
    margin:20px 0;
    flex-wrap:wrap;
}

/* ==============================
   VERSES
============================== */
.verse{
    padding:18px;
    margin-bottom:12px;
    border-radius:14px;
}

.verse.selected{
    background:#eff6ff;
    border-color:#2563eb;
}

.verse label{
    cursor:pointer;
    display:block;
    line-height:1.9;
}

.verse-number{
    display:inline-flex;
    justify-content:center;
    align-items:center;
    width:32px;
    height:32px;
    border-radius:50%;
    background:#2563eb;
    color:white;
    font-size:13px;
    font-weight:bold;
    margin-right:10px;
}

.verse-text{
    font-size:17px;
}

/* ==============================
   EMPTY / SHARE BAR
============================== */
.empty-message{
    background:white;
    padding:20px;
    border-radius:14px;
    border:1px solid #e5e7eb;
    color:#6b7280;
}

#shareBar{
    display:none;
    position:fixed;
    bottom:20px;
    left:50%;
    transform:translateX(-50%);
    background:#111827;
    padding:15px;
    border-radius:14px;
    gap:10px;
    align-items:center;
    box-shadow:0 15px 30px rgba(0,0,0,.3);
    z-index:9999;
}

#shareBar span{
    color:white;
    font-weight:bold;
}

#shareBar button{
    border:none;
    padding:10px 15px;
    border-radius:8px;
    background:#2563eb;
    color:white;
    cursor:pointer;
}

/* ==============================
   FOOTER
============================== */
.site-footer{
    margin-top:80px;
    background:#0f172a;
    color:#e5e7eb;
}

.footer-container{
    max-width:1200px;
    margin:auto;
    padding:60px 20px;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:40px;
}

.footer-column h3,
.footer-column h4{
    margin-bottom:18px;
    color:#fff;
}

.footer-column p{
    line-height:1.8;
    color:#cbd5e1;
}

.footer-column a{
    display:block;
    color:#cbd5e1;
    margin-bottom:10px;
    transition:.3s;
}

.footer-column a:hover{
    color:#60a5fa;
}

.footer-verse{
    font-style:italic;
}

.footer-bottom{
    border-top:1px solid rgba(255,255,255,.08);
    text-align:center;
    padding:20px;
    color:#94a3b8;
}

/* ==============================
   RESPONSIVE
============================== */
@media(max-width:768px){

    .main-menu,
    .admin-menu{
        flex-direction:column;
        align-items:center;
        padding:15px;
    }

    .menu-logo img{
        height:45px;
    }

    .menu-links{
        justify-content:center;
        width:100%;
    }

    .menu-links a,
    .admin-menu a{
        width:90%;
        text-align:center;
    }

    .hero{
        padding:45px 15px;
    }

    .hero h1{
        font-size:30px;
    }

    .books-grid{
        grid-template-columns:repeat(auto-fill,minmax(160px,1fr));
    }

    .chapters-grid{
        grid-template-columns:repeat(auto-fill,minmax(70px,1fr));
    }

    .verse-text{
        font-size:16px;
    }

    #shareBar{
        width:95%;
        justify-content:center;
        flex-wrap:wrap;
    }

    .footer-container{
        text-align:center;
    }
}
.verse-day{
    padding:55px 20px;
    background:linear-gradient(135deg,#eef2ff,#f8fafc);
}

.verse-day-card{
    max-width:850px;
    margin:auto;
    background:white;
    border:1px solid #e5e7eb;
    border-radius:26px;
    padding:45px;
    text-align:center;
    box-shadow:0 20px 45px rgba(15,23,42,.08);
}
.selected-direct{
    border-color:#f59e0b !important;
    background:#fffbeb !important;
    box-shadow:0 0 0 3px rgba(245,158,11,.25);
}

.verse-link{
    display:inline-block;
    margin-left:10px;
    color:#2563eb;
    font-size:14px;
}


.profile-cover{
    background:
        linear-gradient(135deg,rgba(15,23,42,.92),rgba(30,41,59,.92)),
        radial-gradient(circle at top right,#2563eb,transparent 35%);
    padding:70px 20px 0;
    color:white;
}

.profile-header-card{
    background:white;
    color:#111827;
    border-radius:28px;
    padding:30px;
    display:grid;
    grid-template-columns:auto 1fr auto;
    gap:25px;
    align-items:center;
    box-shadow:0 25px 60px rgba(15,23,42,.22);
    transform:translateY(55px);
}

.profile-avatar-large{
    width:120px;
    height:120px;
    border-radius:50%;
    background:linear-gradient(135deg,#2563eb,#7c3aed);
    color:white;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:52px;
    font-weight:900;
    border:6px solid #eff6ff;
}

.profile-header-info h1{
    font-size:34px;
    margin-bottom:6px;
}

.profile-header-info p{
    color:#6b7280;
    margin-bottom:12px;
}

.profile-badge{
    display:inline-block;
    background:#eff6ff;
    color:#2563eb;
    padding:8px 16px;
    border-radius:999px;
    font-weight:800;
}

.profile-header-actions{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
}

.secondary-profile-btn{
    display:inline-block;
    background:#f3f4f6;
    color:#111827;
    padding:13px 22px;
    border-radius:12px;
    font-weight:800;
}

.profile-page{
    padding-top:90px;
}

.profile-stats{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
    gap:18px;
    margin-bottom:25px;
}

.stat-card{
    background:white;
    border:1px solid #e5e7eb;
    border-radius:20px;
    padding:25px;
    text-align:center;
    box-shadow:0 12px 30px rgba(15,23,42,.06);
}

.stat-card strong{
    display:block;
    font-size:26px;
    color:#2563eb;
    margin-bottom:5px;
}

.stat-card span{
    color:#6b7280;
    font-weight:600;
}

.profile-layout{
    display:grid;
    grid-template-columns:320px 1fr;
    gap:25px;
}

.profile-sidebar,
.profile-content{
    background:white;
    border:1px solid #e5e7eb;
    border-radius:24px;
    padding:28px;
    box-shadow:0 12px 30px rgba(15,23,42,.06);
}

.profile-sidebar h3,
.profile-content h3{
    margin-bottom:20px;
    font-size:22px;
}

.profile-info-row{
    padding:15px 0;
    border-bottom:1px solid #e5e7eb;
}

.profile-info-row span{
    display:block;
    color:#6b7280;
    font-size:14px;
    margin-bottom:5px;
}

.profile-info-row strong{
    word-break:break-word;
}

.profile-actions-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(190px,1fr));
    gap:18px;
}

.profile-action-card{
    border:1px solid #e5e7eb;
    border-radius:20px;
    padding:24px;
    color:#111827;
    transition:.25s;
}

.profile-action-card:hover{
    transform:translateY(-5px);
    border-color:#2563eb;
    box-shadow:0 15px 35px rgba(15,23,42,.08);
}

.profile-action-card div{
    font-size:32px;
    margin-bottom:12px;
}

.profile-action-card strong{
    display:block;
    font-size:18px;
    margin-bottom:8px;
}

.profile-action-card span{
    color:#6b7280;
    line-height:1.5;
}

@media(max-width:900px){
    .profile-header-card{
        grid-template-columns:1fr;
        text-align:center;
    }

    .profile-avatar-large{
        margin:auto;
    }

    .profile-header-actions{
        justify-content:center;
    }

    .profile-layout{
        grid-template-columns:1fr;
    }
}

.profile-avatar-image,
.profile-avatar-large{
    width:135px;
    height:135px;
    border-radius:50%;
    object-fit:cover;
    border:6px solid #ffffff;
    box-shadow:0 10px 30px rgba(0,0,0,.18);
    background:#2563eb;
}

.profile-avatar-large{
    display:flex;
    align-items:center;
    justify-content:center;
    color:white;
    font-size:54px;
    font-weight:900;
}

.profile-avatar-wrapper{
    width:150px;
    height:150px;
    border-radius:50%;
    padding:7px;
    background:linear-gradient(135deg,#2563eb,#7c3aed);
    display:flex;
    align-items:center;
    justify-content:center;
}

.profile-avatar-wrapper img{
    width:135px;
    height:135px;
    border-radius:50%;
    object-fit:cover;
}

.mobile-menu-btn{
    display:none;
    background:#2563eb;
    color:white;
    border:none;
    border-radius:12px;
    padding:10px 14px;
    font-size:24px;
    cursor:pointer;
}

@media(max-width:768px){

    .main-menu{
        flex-direction:row;
        justify-content:space-between;
        align-items:center;
        padding:12px 18px;
        position:sticky;
        top:0;
        z-index:9999;
    }

    .menu-logo img{
        height:42px;
    }

    .mobile-menu-btn{
        display:block;
    }

    .menu-links{
        display:none;
        width:100%;
        margin-top:12px;
        background:#111827;
        border-radius:18px;
        padding:12px;
        flex-direction:column;
    }

    .menu-links.active{
        display:flex;
    }

    .menu-links a{
        width:100%;
        text-align:left;
        padding:14px 16px;
        border-radius:12px;
        background:#1f2937;
    }
}