/* ============================================
   Background fix — block orb bleed
   ============================================ */
main, .quiz-wrap, .tips-wrap {
  position: relative;
  z-index: 1;
  background: #080808;
}

footer {
  position: relative;
  z-index: 2;
  background: #080808;
}

/* ============================================
   CarVerdict — Daily Tips (premium rebuild)
   ============================================ */

.tips-wrap {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 1.25rem 6rem;
  position: relative;
  z-index: 1;
}

/* ---- Streak card ---- */
.streak-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(145deg, rgba(232,255,71,.06), rgba(232,255,71,.01));
  border: .5px solid rgba(232,255,71,.22);
  border-radius: 20px;
  padding: 1.4rem 1.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 16px 40px rgba(0,0,0,.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.streak-left { display:flex; align-items:center; gap:14px; }
.streak-fire { display:flex; align-items:center; }
.streak-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 56px;
  color: #E8FF47;
  line-height: 1;
  letter-spacing: 1px;
  text-shadow: 0 0 30px rgba(232,255,71,.3);
}
.streak-label {
  font-size: 11px; font-weight: 700; letter-spacing: 1.4px;
  text-transform: uppercase; color: #555; margin-top: 2px;
}
.streak-right { text-align: right; }
.streak-dots { display:flex; gap:7px; justify-content:flex-end; margin-bottom:6px; }
.streak-dot {
  width: 11px; height: 11px; border-radius: 50%;
  background: #1a1a1a; border: .5px solid rgba(255,255,255,.08);
  transition: background .3s, box-shadow .3s;
}
.streak-dot.done { background: #E8FF47; border-color: #E8FF47; }
.streak-dot.today {
  background: #E8FF47; border-color: #E8FF47;
}
.streak-sub { font-size: 11px; color: #777; letter-spacing: .5px; }

/* ---- Main tip card ---- */
.tip-main-card {
  background: linear-gradient(145deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
  border: .5px solid rgba(255,255,255,.1);
  border-radius: 22px;
  padding: 1.75rem;
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.tip-main-card::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(232,255,71,.08), transparent 65%);
  pointer-events: none;
}

.tip-loading { text-align:center; padding:2.5rem 0; }

.tip-content { width:100%; animation: tipUp .45s cubic-bezier(.16,1,.3,1); }
@keyframes tipUp { from{ opacity:0; transform:translateY(16px); } to{ opacity:1; transform:translateY(0); } }

/* Category chip */
.tip-category {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10.5px; font-weight: 800; letter-spacing: 1.5px;
  text-transform: uppercase; padding: 6px 14px;
  border-radius: 100px; background: rgba(232,255,71,.1);
  color: #E8FF47; border: .5px solid rgba(232,255,71,.25);
  margin-bottom: 1rem;
  box-shadow: 0 0 12px rgba(232,255,71,.08);
}

/* Badges row */
#tip-badges { display:flex; flex-wrap:wrap; gap:8px; margin:.8rem 0 1.25rem; }
.tip-badge {
  font-size: 12px; font-weight: 700; padding: 6px 13px;
  border-radius: 100px; display: inline-flex; align-items: center; gap: 5px;
  letter-spacing: .2px;
}

/* Title */
.tip-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(28px,6vw,38px);
  letter-spacing: .5px; color: #fff;
  line-height: 1.1; margin-bottom: 1rem;
  border-bottom: .5px solid rgba(255,255,255,.06);
  padding-bottom: 1rem;
}

/* Body */
.tip-body {
  font-size: 15px; color: #9aa0a6;
  line-height: 1.8; margin-bottom: 1.4rem;
}

/* Quote / fact */
.tip-quote {
  border-left: 3px solid #E8FF47;
  border-radius: 0 14px 14px 0;
  padding: 16px 18px;
  margin: 0 0 1.5rem;
  background: linear-gradient(90deg, rgba(232,255,71,.06), rgba(232,255,71,.01));
  font-style: italic;
  color: #ccc;
  font-size: 14px;
  line-height: 1.7;
  position: relative;
}
.tip-quote::before {
  content: '"';
  position: absolute;
  top: -8px; left: 14px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 48px;
  color: rgba(232,255,71,.2);
  line-height: 1;
  pointer-events: none;
}

/* Claim button */
.tip-actions-sep {
  height: .5px; background: rgba(255,255,255,.06); margin: 1.5rem 0 1.2rem;
}

.got-it-btn {
  width: 100%; background: #E8FF47; border: none;
  border-radius: 14px; color: #000;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px; font-weight: 800;
  padding: 15px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: transform .2s, box-shadow .2s;
}
.got-it-btn:hover { transform:translateY(-1px); background:#f0ff6a; }
.got-it-btn:disabled { background:#1d1d1d; color:#555; box-shadow:none; transform:none; cursor:not-allowed; }

/* Share button */
.tip-share-btn {
  width: 100%; margin-top: 10px; background: transparent;
  border: .5px solid rgba(255,255,255,.12); border-radius: 14px; color: #777;
  font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 600;
  padding: 13px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: border-color .2s, color .2s;
}
.tip-share-btn:hover { border-color: rgba(232,255,71,.35); color: #E8FF47; }

/* Already done */
.already-done {
  margin-top: 1rem; background: rgba(34,197,94,.06);
  border: .5px solid rgba(34,197,94,.2); border-radius: 14px;
  padding: 13px 16px; text-align: center;
  font-size: 13px; color: #22c55e; font-weight: 600;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}

/* ---- Stats ---- */
.tips-stats {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 10px; margin-top: 1rem;
}
.tips-stat-box {
  background: linear-gradient(145deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
  border: .5px solid rgba(255,255,255,.09);
  border-radius: 16px; padding: 1.1rem 1rem;
  transition: border-color .2s, transform .2s, box-shadow .2s;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.tips-stat-box:hover {
  border-color: rgba(232,255,71,.35);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0,0,0,.4);
}
.tips-stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 34px; color: #E8FF47;
  letter-spacing: 1px; line-height: 1; margin-bottom: 5px;
}
.tips-stat-label {
  font-size: 10px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase; color: #777;
}

/* ---- Tip category colour strip ---- */
.tip-main-card[data-cat="ENGINE CARE"]   { border-top: 2px solid #f97316; }
.tip-main-card[data-cat="TYRES"]         { border-top: 2px solid #60a5fa; }
.tip-main-card[data-cat="SAFETY"]        { border-top: 2px solid #ef4444; }
.tip-main-card[data-cat="FUEL SAVING"]   { border-top: 2px solid #22c55e; }
.tip-main-card[data-cat="MAINTENANCE"]   { border-top: 2px solid #a78bfa; }

@media(max-width:480px) {
  .streak-card { flex-direction:column; gap:1rem; align-items:flex-start; }
  .streak-right { text-align:left; }
  .streak-dots { justify-content:flex-start; }
  .tip-main-card { padding:1.25rem; }
  .tips-stats { gap:7px; }
  .tips-stat-box { padding:.9rem .8rem; }
  .tips-stat-num { font-size:28px; }
}