*{margin:0;padding:0}.spinner{border:6px solid #f3f3f3;border-top:6px solid #798be6;border-radius:50%;width:40px;height:40px;animation:spin 1s linear infinite;margin:2rem auto;background-color:#0c1541}@keyframes spin{to{transform:rotate(360deg)}}.navbar{display:flex;justify-content:space-between;align-items:center;background-color:#0c1541;padding:1rem 2rem;color:#fff}.logo h2{color:#798be6;margin:0}.searchBar{margin-top:16px;display:flex;align-items:center;gap:.5rem}.searchBar input{padding:.5rem;color:#fff;border-radius:4px;outline:none;background-color:#1a224d;border:#798be6}.searchBar input::placeholder{color:#aaa}.searchBar button{padding:.5rem 1rem;background-color:#798be6;color:#fff;border:none;cursor:pointer;font-weight:700}.searchBar button:hover{background-color:#6676d6}.userProfile button{padding:.5rem 1rem;background-color:#1a224d;color:#fff;border:1px solid #798be6;cursor:pointer}.userProfile button:hover{background-color:#798be6;color:#fff}.categoryButtons{background-color:#0c1541;padding:1rem;display:flex;flex-wrap:wrap;gap:.5rem;justify-content:center}.categoryButtons button{padding:.5rem 1rem;background-color:#1a224d;color:#fff;border:1px solid #798be6;cursor:pointer;transition:background-color .3s ease}.categoryButtons button:hover{background-color:#798be6;color:#fff}.card-grid{display:flex;flex-wrap:wrap;justify-content:center;gap:2rem;padding:2rem;background-color:#0c1541}.card{background-color:#1a224d;border:1px solid #798be6;width:300px;height:500px;overflow:hidden;box-shadow:0 8px 20px #00000040;transition:transform .3s ease,box-shadow .3s ease;display:flex;flex-direction:column}.card:hover{transform:translateY(-5px);box-shadow:0 12px 24px #00000059}.card img{width:100%;height:200px;object-fit:cover;flex-shrink:0}.cardContainer{padding:1.2rem;color:#fff;display:flex;flex-direction:column;gap:.5rem;height:300px;overflow-y:auto;flex-shrink:1;flex-grow:1;scrollbar-width:thin;scrollbar-color:#798be6 transparent}.cardContainer::-webkit-scrollbar{width:6px}.cardContainer::-webkit-scrollbar-thumb{background-color:#798be6;border-radius:3px}.cardContainer p{margin:0;font-size:.95rem;line-height:1.4}.cardContainer strong{color:#798be6}.cardContainer p:last-child{margin-top:1rem;font-size:.85rem;color:#ccc}@media (max-width: 600px){.card{width:90%;height:auto}.card img{height:250px}.cardContainer{height:auto;overflow-y:visible}}
