/* ================================================================
   TWINKER.CSS — Brand theme overrides & new feature sections
   Loaded after main.css — all :root variables override base values
   ================================================================ */

/* ── 1. Plus Jakarta Sans Font ───────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
  --default-font: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --heading-font: "Plus Jakarta Sans", sans-serif;
  --nav-font:     "Plus Jakarta Sans", sans-serif;
}

/* ── 2. Color Token Override ─────────────────────────────────── */
:root {
  --accent-color:          #E03550;
  --accent-2:              #F06830;
  --heading-color:         #1A0505;
  --tw-gradient:           linear-gradient(135deg, #E03550, #F06830);
  --tw-teal:               #2DBCB6;
  --tw-indigo:             #4A5BF5;
  --tw-daily-grad:         linear-gradient(135deg, #2DBCB6, #4A5BF5);
  --tw-green:              #22C55E;
  --nav-dropdown-hover-color: #E03550;
}

.light-background {
  --background-color: #FFFAF7;
}

/* ── 3. About: 6-box grid ────────────────────────────────────── */
.icon-box.daily-box i   { color: #2DBCB6; }
.icon-box.oa-box i      { color: #E03550; }
.icon-box.daily-box,
.icon-box.oa-box        { border-top: 3px solid transparent; }
.icon-box.daily-box     { border-image: linear-gradient(135deg,#2DBCB6,#4A5BF5) 1; }
.icon-box.oa-box        { border-image: linear-gradient(135deg,#E03550,#F06830) 1; }

/* ── 4. Twinker Daily Section ────────────────────────────────── */
#daily {
  background: linear-gradient(180deg, #edfafa 0%, #FFFAF7 100%);
  overflow: hidden;
  position: relative;
}

#daily::before {
  content: '';
  position: absolute;
  top: -160px; right: -160px;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(45,188,182,0.12) 0%, transparent 65%);
  pointer-events: none;
}

.daily-intro-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(45,188,182,0.1);
  border: 1px solid rgba(45,188,182,0.3);
  color: #2DBCB6;
  border-radius: 30px;
  padding: 7px 18px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.3px;
}

.daily-intro-title {
  font-size: 36px;
  font-weight: 800;
  color: #1A0505;
  line-height: 1.22;
  margin-bottom: 16px;
}

.daily-intro-title .teal-grad {
  background: linear-gradient(135deg, #2DBCB6, #4A5BF5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.daily-intro-desc {
  font-size: 16px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 30px;
  max-width: 460px;
}

/* Feature bullets */
.daily-feature-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.daily-feat-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.dfi-icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(45,188,182,0.12), rgba(74,91,245,0.1));
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: #2DBCB6;
  flex-shrink: 0;
}

.dfi-text strong {
  display: block;
  font-size: 14px; font-weight: 700; color: #1A0505;
  margin-bottom: 2px;
}

.dfi-text span {
  font-size: 13px; color: #888;
}

/* Step cards (right column) */
.daily-steps-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.daily-step-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: 0 4px 18px rgba(45,188,182,0.1);
  border: 1px solid rgba(45,188,182,0.13);
  position: relative;
  transition: transform 0.22s, box-shadow 0.22s;
}

.daily-step-card:hover {
  transform: translateX(4px);
  box-shadow: 0 8px 28px rgba(45,188,182,0.18);
}

.dsc-num {
  position: absolute;
  top: -11px; left: 16px;
  background: linear-gradient(135deg, #2DBCB6, #4A5BF5);
  color: #fff;
  width: 22px; height: 22px;
  border-radius: 50%;
  font-size: 11px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}

.dsc-icon {
  width: 50px; height: 50px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(45,188,182,0.1), rgba(74,91,245,0.08));
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; color: #2DBCB6;
  flex-shrink: 0;
}

.dsc-text h5 {
  font-size: 15px; font-weight: 700; color: #1A0505;
  margin: 0 0 4px;
}

.dsc-text p {
  font-size: 13px; color: #888;
  margin: 0;
}

.daily-step-connector {
  width: 2px; height: 16px;
  background: linear-gradient(to bottom, #2DBCB6, #4A5BF5);
  margin-left: 44px; opacity: 0.35;
}

/* Product chips */
.daily-products-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 52px;
  padding-top: 40px;
  border-top: 1px solid rgba(45,188,182,0.15);
}

.dp-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 30px;
  background: #fff;
  border: 1.5px solid rgba(45,188,182,0.25);
  color: #2DBCB6;
  font-size: 14px; font-weight: 600;
  transition: all 0.22s;
  box-shadow: 0 2px 10px rgba(45,188,182,0.07);
  cursor: default;
}

.dp-chip:hover {
  background: linear-gradient(135deg, #2DBCB6, #4A5BF5);
  color: #fff;
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(45,188,182,0.22);
}

.dp-chip.dp-chip--more {
  border-style: dashed;
  color: #aaa;
  background: transparent;
  box-shadow: none;
}

.dp-chip.dp-chip--more:hover {
  background: transparent; color: #aaa;
  transform: none; box-shadow: none; border-color: rgba(45,188,182,0.25);
}

/* ── 5. Order Anything Section ───────────────────────────────── */
#order-anything {
  background: #1A0505;
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}

#order-anything::before {
  content: '';
  position: absolute; top: -120px; left: -120px;
  width: 440px; height: 440px;
  background: radial-gradient(circle, rgba(224,53,80,0.14) 0%, transparent 65%);
  pointer-events: none;
}

#order-anything::after {
  content: '';
  position: absolute; bottom: -120px; right: -80px;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(240,104,48,0.1) 0%, transparent 65%);
  pointer-events: none;
}

.oa-content { position: relative; z-index: 1; }

.oa-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(224,53,80,0.15);
  border: 1px solid rgba(224,53,80,0.35);
  color: #F85C70;
  border-radius: 30px;
  padding: 7px 18px;
  font-size: 13px; font-weight: 700;
  margin-bottom: 22px;
  letter-spacing: 0.3px;
}

#order-anything h2 {
  font-size: 52px; font-weight: 800;
  color: #fff; line-height: 1.12;
  margin-bottom: 18px;
}

#order-anything h2 .grad-text {
  background: linear-gradient(135deg, #E03550, #F06830);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.oa-desc {
  font-size: 16px; color: rgba(255,255,255,0.65);
  line-height: 1.72; margin-bottom: 28px; max-width: 480px;
}

/* Request example bubbles */
.oa-bubbles {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 34px;
}

.oa-bubble {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-left: 3px solid #E03550;
  color: rgba(255,255,255,0.82);
  border-radius: 10px;
  padding: 11px 18px;
  font-size: 14px;
  font-style: italic;
  transition: background 0.2s;
  max-width: 460px;
}

.oa-bubble:hover {
  background: rgba(224,53,80,0.1);
  border-left-color: #F06830;
}

.oa-bubble i {
  color: #E03550; font-size: 16px; flex-shrink: 0; font-style: normal;
}

/* Step progress */
.oa-steps-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.oa-step {
  display: flex; align-items: center; gap: 10px;
}

.oa-step-badge {
  width: 30px; height: 30px; border-radius: 50%;
  background: linear-gradient(135deg, #E03550, #F06830);
  color: #fff; font-size: 13px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.oa-step span:not(.oa-step-badge) {
  font-size: 13px; font-weight: 600;
  color: rgba(255,255,255,0.72);
}

.oa-step-sep {
  color: rgba(255,255,255,0.25); font-size: 16px;
}

/* Visual (right side) */
.oa-visual-wrap {
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 1;
}

.oa-ring-container {
  width: 280px; height: 280px;
  position: relative;
  display: flex; align-items: center; justify-content: center;
}

.oa-ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1.5px solid rgba(224,53,80,0.2);
  animation: oa-spin 14s linear infinite;
}

.oa-ring::before {
  content: '';
  position: absolute; top: -7px; left: 50%; transform: translateX(-50%);
  width: 14px; height: 14px; border-radius: 50%;
  background: #E03550;
  box-shadow: 0 0 14px rgba(224,53,80,0.7);
}

.oa-ring-2 {
  inset: 28px; border-color: rgba(240,104,48,0.15);
  animation-duration: 9s; animation-direction: reverse;
}

.oa-ring-2::before { background: #F06830; box-shadow: 0 0 14px rgba(240,104,48,0.6); }

@keyframes oa-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.oa-center-icon {
  width: 100px; height: 100px; border-radius: 50%;
  background: linear-gradient(135deg, #E03550, #F06830);
  display: flex; align-items: center; justify-content: center;
  font-size: 44px; color: #fff;
  box-shadow: 0 20px 60px rgba(224,53,80,0.45);
  position: relative; z-index: 2;
}

.oa-float-tags {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
}

.oaf-tag {
  position: absolute;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  color: #fff; border-radius: 20px;
  padding: 7px 14px; font-size: 12px; font-weight: 600;
  white-space: nowrap;
  display: flex; align-items: center; gap: 7px;
}

.oaf-t1 { top: 12px;  left: -36px;  animation: oa-float 3s ease-in-out infinite; }
.oaf-t2 { top: 12px;  right: -36px; animation: oa-float 3s ease-in-out infinite 0.8s; }
.oaf-t3 { bottom: 32px; left: -42px;  animation: oa-float 3s ease-in-out infinite 1.6s; }
.oaf-t4 { bottom: 32px; right: -36px; animation: oa-float 3s ease-in-out infinite 2.4s; }

@keyframes oa-float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-9px); }
}

/* ── 6. Live Tracking Section ────────────────────────────────── */
#live-tracking {
  background: #FFFAF7;
  padding: 80px 0;
  overflow: hidden;
  position: relative;
}

.tracking-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.3);
  color: #22C55E; border-radius: 30px; padding: 7px 18px;
  font-size: 13px; font-weight: 700; margin-bottom: 20px;
  letter-spacing: 0.3px;
}

.tracking-title {
  font-size: 36px; font-weight: 800; color: #1A0505;
  line-height: 1.22; margin-bottom: 14px;
}

.tracking-title .green-text {
  color: #22C55E;
}

.tracking-desc {
  font-size: 16px; color: #666; line-height: 1.7; margin-bottom: 28px; max-width: 440px;
}

.tracking-steps {
  display: flex; flex-direction: column; gap: 16px;
}

.tracking-step {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px 18px;
  background: #fff; border-radius: 14px;
  border: 1px solid #F0E4E0;
  transition: transform 0.2s, box-shadow 0.2s;
}

.tracking-step:hover {
  transform: translateX(4px);
  box-shadow: 0 6px 22px rgba(34,197,94,0.1);
  border-color: rgba(34,197,94,0.2);
}

.ts-icon {
  width: 42px; height: 42px; border-radius: 12px;
  background: rgba(34,197,94,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: #22C55E; flex-shrink: 0;
}

.ts-text strong { display: block; font-size: 14px; font-weight: 700; color: #1A0505; margin-bottom: 3px; }
.ts-text span   { font-size: 13px; color: #888; }

/* Map visual */
.tracking-map-card {
  background: #fff;
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.08);
  border: 1px solid #F0E4E0;
  position: relative; overflow: hidden;
}

.tracking-map-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(34,197,94,0.04), rgba(34,197,94,0.01));
  pointer-events: none;
}

.map-grid {
  display: grid; grid-template-columns: repeat(10, 1fr);
  grid-template-rows: repeat(8, 28px);
  gap: 3px; margin-bottom: 20px; position: relative;
}

.map-grid-line-h {
  grid-column: 1 / -1;
  background: rgba(0,0,0,0.04); border-radius: 2px;
}

.map-grid-line-v {
  grid-row: 1 / -1;
  background: rgba(0,0,0,0.04); border-radius: 2px;
}

.map-route {
  width: 100%; height: 180px;
  position: relative;
  background: linear-gradient(135deg, #f8f9ff, #f0fafa);
  border-radius: 16px; overflow: hidden;
  margin-bottom: 18px;
}

.map-route-line {
  position: absolute;
  top: 50%; left: 15%; right: 15%;
  height: 3px;
  background: linear-gradient(90deg, #E03550, #22C55E);
  border-radius: 2px;
  transform: translateY(-50%);
}

.map-route-line::before {
  content: ''; position: absolute;
  left: 0; top: 50%; transform: translate(-50%,-50%);
  width: 14px; height: 14px; border-radius: 50%;
  background: #E03550; box-shadow: 0 0 0 4px rgba(224,53,80,0.2);
}

.map-route-line::after {
  content: ''; position: absolute;
  right: 0; top: 50%; transform: translate(50%,-50%);
  width: 14px; height: 14px; border-radius: 50%;
  background: #22C55E; box-shadow: 0 0 0 4px rgba(34,197,94,0.2);
}

.map-rider-dot {
  position: absolute;
  top: 50%; left: 52%;
  transform: translate(-50%,-50%);
  z-index: 2;
}

.map-rider-dot .rider-icon {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, #E03550, #F06830);
  color: #fff; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(224,53,80,0.35);
  animation: rider-pulse 2s ease-in-out infinite;
}

@keyframes rider-pulse {
  0%, 100% { box-shadow: 0 4px 14px rgba(224,53,80,0.35); }
  50%       { box-shadow: 0 4px 28px rgba(224,53,80,0.6); }
}

.map-label-from, .map-label-to {
  position: absolute;
  top: 14px; font-size: 11px; font-weight: 700;
  padding: 4px 10px; border-radius: 8px;
}

.map-label-from { left: 8%; background: rgba(224,53,80,0.1); color: #E03550; }
.map-label-to   { right: 8%; background: rgba(34,197,94,0.1); color: #22C55E; }

.map-eta-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}

.map-eta-item {
  text-align: center; flex: 1;
  background: #FFFAF7; border-radius: 12px; padding: 12px 8px;
}

.map-eta-item .eta-val {
  display: block; font-size: 20px; font-weight: 800; color: #1A0505; line-height: 1;
}

.map-eta-item .eta-val.green { color: #22C55E; }
.map-eta-item .eta-val.coral { color: #E03550; }

.map-eta-item .eta-lbl {
  font-size: 11px; color: #aaa; font-weight: 500;
}

.map-live-badge {
  display: flex; align-items: center; gap: 6px;
  background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.25);
  border-radius: 20px; padding: 6px 14px;
  font-size: 12px; font-weight: 700; color: #22C55E;
  position: absolute; top: 16px; right: 16px;
}

.live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #22C55E;
  animation: live-blink 1.2s ease-in-out infinite;
}

@keyframes live-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

/* ── 7. Wallet & Referral Section ────────────────────────────── */
#wallet-referral {
  background: linear-gradient(180deg, #FFFAF7 0%, #fff 100%);
  padding: 80px 0;
}

.wr-card {
  background: #fff;
  border-radius: 22px;
  padding: 36px;
  height: 100%;
  box-shadow: 0 6px 32px rgba(0,0,0,0.07);
  border: 1px solid #F0E4E0;
  transition: transform 0.22s, box-shadow 0.22s;
  position: relative; overflow: hidden;
}

.wr-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(224,53,80,0.12);
}

.wr-card--wallet::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, #E03550, #F06830);
}

.wr-card--referral::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, #F06830, #E03550);
}

.wr-icon {
  width: 60px; height: 60px; border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; margin-bottom: 22px;
}

.wr-icon--wallet {
  background: linear-gradient(135deg, rgba(224,53,80,0.1), rgba(240,104,48,0.07));
  color: #E03550;
}

.wr-icon--referral {
  background: linear-gradient(135deg, #E03550, #F06830);
  color: #fff;
}

.wr-card h3 {
  font-size: 24px; font-weight: 800; color: #1A0505; margin-bottom: 10px;
}

.wr-card p {
  font-size: 15px; color: #666; line-height: 1.65; margin-bottom: 22px;
}

.wr-feats { display: flex; flex-direction: column; gap: 11px; }

.wr-feat {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: #555; font-weight: 500;
}

.wr-feat i { color: #22C55E; font-size: 16px; flex-shrink: 0; }

/* Referral reward boxes */
.ref-reward-row {
  display: flex; align-items: center; gap: 14px; margin-bottom: 22px;
}

.ref-reward-box {
  flex: 1; border-radius: 14px; padding: 18px 12px; text-align: center;
  border: 1.5px solid;
}

.ref-reward-box--you {
  background: linear-gradient(135deg, rgba(224,53,80,0.06), rgba(240,104,48,0.03));
  border-color: rgba(224,53,80,0.2);
}

.ref-reward-box--friend {
  background: linear-gradient(135deg, rgba(34,197,94,0.06), rgba(34,197,94,0.02));
  border-color: rgba(34,197,94,0.2);
}

.ref-amt {
  display: block; font-size: 32px; font-weight: 800; line-height: 1; margin-bottom: 5px;
}

.ref-reward-box--you   .ref-amt { color: #E03550; }
.ref-reward-box--friend .ref-amt { color: #22C55E; }

.ref-lbl { display: block; font-size: 12px; color: #999; font-weight: 600; }

.ref-plus {
  font-size: 22px; font-weight: 800; color: #ddd; flex-shrink: 0;
}

/* Code preview */
.ref-code-preview {
  display: flex; align-items: center; gap: 10px;
  background: #FFFAF7;
  border: 1.5px dashed rgba(224,53,80,0.3);
  border-radius: 12px; padding: 13px 18px;
}

.rcp-label { font-size: 12px; color: #aaa; font-weight: 500; }

.rcp-code {
  flex: 1; font-size: 17px; font-weight: 800;
  color: #E03550; letter-spacing: 2.5px;
}

.rcp-copy {
  font-size: 12px; color: #bbb; font-weight: 600;
  cursor: pointer; display: flex; align-items: center; gap: 5px;
  transition: color 0.2s; flex-shrink: 0;
}
.rcp-copy:hover { color: #E03550; }

/* ── 8. Responsive Adjustments ───────────────────────────────── */
@media (max-width: 991px) {
  .daily-intro-title   { font-size: 28px; }
  #order-anything h2   { font-size: 38px; }
  .tracking-title      { font-size: 28px; }
  .oa-ring-container   { width: 220px; height: 220px; }
  .oa-center-icon      { width: 80px; height: 80px; font-size: 36px; }
}

@media (max-width: 767px) {
  .daily-intro-title   { font-size: 26px; }
  #order-anything h2   { font-size: 32px; }
  .daily-intro-desc, .oa-desc, .tracking-desc { max-width: 100%; }
  .oa-steps-row        { gap: 6px; }
  .oa-step-sep         { display: none; }
  .oaf-t1 { left: -10px; } .oaf-t2 { right: -10px; }
  .oaf-t3 { left: -12px; } .oaf-t4 { right: -10px; }
  .wr-card             { padding: 24px 20px; }
  .ref-amt             { font-size: 26px; }
}

@media (max-width: 576px) {
  #order-anything h2   { font-size: 28px; }
  .oa-ring-container   { width: 180px; height: 180px; }
  .oa-center-icon      { width: 68px; height: 68px; font-size: 30px; }
  .oaf-tag             { font-size: 10px; padding: 5px 10px; }
  .dp-chip             { font-size: 13px; padding: 9px 16px; }
}
