*{ box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #f9f9fb;
  color: #222;
}

/* Header */
header {
  padding: 0 !important;
  margin: 0 !important;
  position: sticky;
  top: 0;
  height: 75px;
  background: linear-gradient(90deg, #17b2ff 10%, #f107a3 100%);
  color: #fff;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.top-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 50px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0;
}

.logo img {
  height: 50px;
  width: auto;
}

.logo span {
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
}

.top-header h1 { 
  font-size: 20px; 
}

.top-header input {
  padding: 6px 10px;
  border-radius: 20px;
  border: none;
  outline: none;
  width: 50%;
}

/* Navigation (FIXED LEFT GAP) */
.nav-scroll {
  display: flex;
  overflow-x: auto;
  background: #fff;
  gap: 10px;
  font-size: 0.8rem;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  scrollbar-width: none;
}

.nav-scroll::-webkit-scrollbar {
  display: none;
}

.nav-scroll a {
  margin-left: 0 !important;
  flex: 0 0 auto;
  padding: 10px 15px;
  text-decoration: none;
  color: #6a0dad;
  border: 1.5px solid #17b2ff;
  margin: 5px 0;
  border-radius: 50px;
}

.nav-scroll a.active {
  border-color: #f107a3;
  font-weight: bold;
}

/* category bar */
.category-bar{
	max-width:1000px;
	margin:20px auto 0;
	display:flex;
	background :#fff ;
	gap:10px;
	padding:8px 6px;
	overflow-x:auto
	}
	
.category-bar button{
  flex:0 0 auto;
  padding:8px 14px;
  border-radius:999px;
  margin-left: 5px;
  border:1.5px solid #f107a3;
  background:transparent ;
  color:black ;
  cursor:pointer;
  font-weight:600}
  
.category-bar button.active{
	background:var(--accent-grad);
	color:#222;
	border-color: #17b2ff;
	}


/* TOP CARD */
.container{
  max-width:980px;
  margin:0 auto;
  padding:16px;
}
.top-card{
  margin-bottom: 10px;
  background:#fff;
  border-radius:16px;
  padding:22px;
  box-shadow:
  0 0 12px rgba(120,80,255,0.45),
  0 0 18px rgba(200,100,255,0.35);
}
.top-title{
  font-size:17px;
  text-align:center;
  border-bottom:1px solid #17b2ff;
  width:fit-content;
  margin:0 auto 12px auto;
}
.top-text{
	font-size:22px;
	line-height:1.6;
	margin-bottom:12px;
}
.top-author{
	font-size:15px;
	margin-bottom:6px;
}
.q-cat{
	color:#eee;
	font-weight:600;
	margin-bottom:10px;
}

/* LIST */
.list-wrap{
	display:flex;
	flex-direction:column;
	gap:12px;
}
.quote-card{
  background:#fff;
  padding:15px;
  border-radius:12px;
  border:1px solid #8496C6;
  box-shadow:0 4px 10px rgba(0,0,0,0.10);
}
.q-text{
  font-size:18px;
  line-height:1.5;
}
.q-author{
	font-size:10px;
	color:#666;
	margin-top:6px;
}
.card-actions{
	display:flex;
	gap:8px;
	margin-top:10px
}
.btn{
  padding:8px 10px;
  border-radius:10px;
  border:1px solid #17b2ff;
  background:#fff;
}
.btn.wa{
  background:#fff;
  border-color:#1c9f4f;
}

/* PAGINATION */
#pagination{
  text-align: center; 
  padding: 15px; 
}
#pagination button{
  margin: 3px;
  padding: 6px 12px;
  border: none;
  border-radius: 6px;
  background: #f2f2f7;
  cursor: pointer;
}
#pagination button.active{
  background: linear-gradient(45deg,#7b2ff7,#f107a3);
  color: #fff;
}
#pagination button:hover {
	background: #ddd; }
#pagination button:disabled{
  opacity:0.4;
  cursor:not-allowed;
}