@charset "utf-8";
.word-home{
    display:flex;
    flex-direction:column;
    gap:24px;
}


.word-home-intro{
    background:linear-gradient(
        135deg,
        #e5f1ff,
        #d8ebff
    );
    border-radius:20px;
    padding:28px;
    box-shadow:0 8px 24px rgba(0,0,0,.08);
}

.word-home-intro h1{
    font-size:38px;
    color:#0b3d91;
    margin:0 0 12px;
    font-weight:800;
}

.word-home-intro p{
    font-size:16px;
    line-height:1.9;
    color:#31475d;
    margin:0;
}


.word-category-card{
    background:#fff;
    border-radius:18px;
    padding:24px;
    box-shadow:0 6px 20px rgba(0,0,0,.05);
    transition:.25s ease;
}

.word-category-card:hover{
    transform:translateY(-2px);
}


.category-header{
    display:flex;
    align-items:center;
    gap:8px;

    font-size:22px;
    font-weight:700;
    color:#386fa4;

    margin-bottom:18px;
    padding-bottom:10px;

    border-bottom:2px solid #dbeeff;
}


.category-links{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
}

.category-links a{
    display:inline-flex;
    align-items:center;
    justify-content:center;

    min-height:42px;

    padding:10px 18px;

    border-radius:999px;

    background:#eef6ff;

    color:#2563eb;

    text-decoration:none;

    font-size:15px;
    font-weight:600;

    transition:.25s ease;
}

.category-links a:hover{
    background:#2563eb;
    color:#fff;

    transform:translateY(-2px);

    box-shadow:
    0 6px 18px rgba(37,99,235,.25);
}


.appintro{
    display:inline-block;

    margin-left:6px;

    padding:2px 8px;

    border-radius:999px;

    font-size:11px;
    font-weight:700;

    background:
    linear-gradient(
        135deg,
        #ffb347,
        #ff8c42
    );

    color:#fff;

    vertical-align:middle;
}


.word-home-footer{
    background:#f7fbff;

    border-radius:18px;

    padding:20px;

    border-left:4px solid #7bbcff;

    color:#5f6f7f;

    line-height:1.9;

    box-shadow:0 4px 12px rgba(0,0,0,.04);
}


.book-nav-card{

    background:
    linear-gradient(
        135deg,
        #e5f1ff,
        #d8ebff
    );

    border-radius:20px;

    padding:28px;

    margin-bottom:25px;

    box-shadow:
    0 8px 24px rgba(0,0,0,.08);

}


.book-nav-header{

    font-size:28px;

    font-weight:800;

    color:#0b3d91;

    margin-bottom:22px;

}


.book-nav-links{

    display:grid;

    grid-template-columns:
    repeat(auto-fill,minmax(260px,1fr));

    gap:16px;

}


.book-item{

    display:flex;

    align-items:center;

    gap:14px;

    padding:14px;

    background:#fff;

    border-radius:16px;

    text-decoration:none;

    transition:.25s ease;

    box-shadow:
    0 3px 12px rgba(0,0,0,.05);

}

.book-item:hover{

    transform:translateY(-3px);

    box-shadow:
    0 10px 24px rgba(79,140,255,.15);

}


.book-cover{

    width:78px;

    flex-shrink:0;

}

.book-cover img{

    width:100%;

    aspect-ratio:3/4;

    object-fit:cover;

    border-radius:8px;

    display:block;

    box-shadow:
    0 4px 10px rgba(0,0,0,.12);

}


.book-info{

    flex:1;

}

.book-name{

    font-size:15px;

    font-weight:700;

    color:#31475d;

    line-height:1.6;

}


.book-item:hover .book-name{

    color:#2563eb;

}




.book-nav-links a:hover{

    transform:translateY(-2px);

    background:#4f8cff;

    color:#fff;

    box-shadow:
    0 8px 20px rgba(79,140,255,.25);

}


@media (max-width:768px){

    .word-home{
        gap:18px;
    }

    .word-home-intro{
        padding:20px;
    }

    .word-home-intro h1{
        font-size:28px;
    }

    .word-home-intro p{
        font-size:15px;
    }

    .word-category-card{
        padding:18px;
        border-radius:16px;
    }

    .category-header{
        font-size:18px;
        margin-bottom:15px;
    }

    .category-links{

        gap:10px;
    }

    .category-links a{
        width:100%;
        justify-content:flex-start;

        border-radius:12px;

        padding:12px 14px;

        font-size:14px;
    }

    .word-home-footer{
        padding:16px;
        font-size:14px;
    }
}

@media(max-width:768px){

    .book-nav-card{

        padding:20px;

    }

    .book-nav-header{

        font-size:22px;

        margin-bottom:18px;

    }


}

@media(max-width:768px){

    .book-nav-links{

        grid-template-columns:1fr;

        gap:12px;

    }

    .book-item{

        padding:12px;

    }

    .book-cover{

        width:70px;

    }

    .book-name{

        font-size:14px;

    }

}

.category-links a.active{

    background:
    linear-gradient(
        135deg,
        #4f8cff,
        #2f7de1
    );

    color:#fff;

    box-shadow:
    0 6px 18px rgba(79,140,255,.25);

}