/* HarclikGo Family Plus — 3D kart, kumbara, rozet, mağaza */

.fp-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 2px 12px;
  margin: 0 -4px 14px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.fp-tabs::-webkit-scrollbar { display: none; }
.fp-tab {
  flex: 0 0 auto;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.82rem;
  color: var(--ink-soft);
  background: linear-gradient(180deg, #fff, #f3faf6);
  border: 1px solid rgba(16, 40, 32, 0.08);
  box-shadow: 0 1px 0 #fff inset, 0 6px 14px rgba(16, 40, 32, 0.06);
}
.fp-tab.is-on {
  color: #fff;
  background: linear-gradient(180deg, #1ad18f, #0c9b6c);
  border-color: transparent;
  box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 8px 0 #056845, 0 14px 22px rgba(12,155,108,.28);
  transform: translateY(-1px);
}

.hg3-scene {
  perspective: 1100px;
  margin: 0 0 18px;
}
.hg3-card {
  position: relative;
  min-height: 210px;
  padding: 22px 22px 18px;
  border-radius: 22px;
  color: #fff8e7;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx, 6deg)) rotateY(var(--ry, -12deg));
  transition: transform 0.18s ease-out;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 70% at 110% -10%, rgba(255, 220, 140, 0.45), transparent 50%),
    radial-gradient(ellipse 60% 50% at -10% 110%, rgba(0, 0, 0, 0.25), transparent 55%),
    linear-gradient(145deg, #1b2430 0%, #2c3548 38%, #121820 100%);
  box-shadow:
    0 1px 0 rgba(255,255,255,.22) inset,
    0 14px 0 #0a0e14,
    0 28px 40px rgba(10, 14, 20, 0.38);
}
.hg3-card-live {
  background:
    radial-gradient(ellipse 80% 70% at 110% -10%, rgba(255, 214, 102, 0.5), transparent 52%),
    linear-gradient(145deg, #0fd18a 0%, #0a8f62 48%, #065c3e 100%);
  box-shadow:
    0 1px 0 rgba(255,255,255,.3) inset,
    0 14px 0 #044632,
    0 28px 42px rgba(6, 92, 62, 0.4);
}
.hg3-card-frozen {
  filter: grayscale(0.35);
  background: linear-gradient(145deg, #64748b, #334155);
  box-shadow: 0 1px 0 rgba(255,255,255,.2) inset, 0 14px 0 #1e293b, 0 28px 40px rgba(15,23,42,.35);
}
.hg3-card-shine {
  position: absolute;
  inset: -40%;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.16) 48%, transparent 62%);
  transform: translateX(-30%) rotate(8deg);
  animation: hg3Shine 5.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes hg3Shine {
  0%, 100% { transform: translateX(-40%) rotate(8deg); }
  50% { transform: translateX(40%) rotate(8deg); }
}
.hg3-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hg3-brand {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 1.05rem;
  text-shadow: 0 2px 0 rgba(0,0,0,.2);
}
.hg3-badge {
  font-size: 0.68rem;
  font-weight: 800;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(255,255,255,.18);
}
.hg3-chip {
  width: 46px;
  height: 34px;
  margin: 22px 0 16px;
  border-radius: 7px;
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, #f5e0a3, #c9a227 55%, #8a6a12);
  box-shadow: 0 2px 0 #6b5210, 0 4px 8px rgba(0,0,0,.25);
}
.hg3-chip span {
  position: absolute;
  left: 8px;
  right: 8px;
  height: 1px;
  background: rgba(80, 50, 0, .35);
}
.hg3-chip span:first-child { top: 11px; }
.hg3-chip span:last-child { top: 22px; }
.hg3-pan {
  font-family: ui-monospace, "IBM Plex Mono", monospace;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 0 rgba(0,0,0,.25);
}
.hg3-card-foot {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  margin-top: 18px;
  position: relative;
  z-index: 1;
}
.hg3-card-foot small {
  display: block;
  font-size: 0.62rem;
  opacity: 0.7;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.hg3-card-foot strong {
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}
.hg3-mc {
  margin-left: auto;
  display: flex;
  width: 52px;
  height: 32px;
  position: relative;
}
.hg3-mc i {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  position: absolute;
  top: 2px;
}
.hg3-mc i:first-child { left: 0; background: #eb001b; }
.hg3-mc i:last-child { right: 0; background: #f79e1b; opacity: 0.92; mix-blend-mode: screen; }
.hg3-card-bal {
  position: absolute;
  right: 20px;
  top: 58px;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 700;
  z-index: 1;
  text-shadow: 0 2px 0 rgba(0,0,0,.2);
}

.fp-rail-note {
  border-radius: 18px;
  padding: 14px 16px;
  margin-bottom: 14px;
  background: linear-gradient(180deg, #fff8e1, #ffe8a3);
  border: 1px solid rgba(180, 120, 0, 0.2);
  box-shadow: 0 1px 0 #fff inset, 0 8px 0 #e0b84a, 0 16px 24px rgba(180,120,0,.15);
  font-weight: 700;
  color: #6b4e00;
}

.fp-piggy {
  position: relative;
  border-radius: 24px;
  padding: 18px 18px 16px;
  margin-bottom: 12px;
  background: linear-gradient(180deg, #fff, #f7fbf8);
  border: 1px solid rgba(16,40,32,.07);
  box-shadow: 0 1px 0 #fff inset, 0 10px 0 #d7e8de, 0 20px 28px rgba(16,40,32,.08);
}
.fp-piggy h3 {
  font-family: var(--display);
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.fp-bar {
  height: 14px;
  border-radius: 999px;
  background: #e5efe9;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0,0,0,.08) inset;
}
.fp-bar > i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f5d76e, #0c9b6c);
  box-shadow: 0 1px 0 rgba(255,255,255,.5) inset;
  min-width: 0;
}
.fp-piggy-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--ink-soft);
}

.fp-shop {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}
.fp-sku {
  border-radius: 20px;
  padding: 14px 12px 12px;
  text-align: left;
  width: 100%;
  background: linear-gradient(180deg, #ffffff, #eef7f2);
  border: 1px solid rgba(16,40,32,.07);
  box-shadow: 0 1px 0 #fff inset, 0 8px 0 #cfe4d8, 0 16px 22px rgba(16,40,32,.08);
}
.fp-sku:active { transform: translateY(3px); box-shadow: 0 1px 0 #fff inset, 0 4px 0 #cfe4d8; }
.fp-sku strong { display: block; font-size: 0.9rem; margin-bottom: 4px; }
.fp-sku span { display: block; font-size: 0.75rem; color: var(--ink-soft); font-weight: 700; }
.fp-sku em {
  display: inline-block;
  margin-top: 10px;
  font-style: normal;
  font-weight: 800;
  color: #067a53;
}

.fp-badges {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.fp-medal {
  border-radius: 20px;
  padding: 16px 12px;
  text-align: center;
  background: linear-gradient(180deg, #fff, #f4f7f5);
  box-shadow: 0 1px 0 #fff inset, 0 8px 0 #d5e3da, 0 16px 20px rgba(16,40,32,.07);
  opacity: 0.42;
}
.fp-medal.is-on {
  opacity: 1;
  background: linear-gradient(180deg, #fff8e1, #ffe08a);
  box-shadow: 0 1px 0 #fff inset, 0 8px 0 #d4a017, 0 16px 22px rgba(180,120,0,.2);
}
.fp-coin {
  width: 52px;
  height: 52px;
  margin: 0 auto 8px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 700;
  color: #6b4e00;
  background: radial-gradient(circle at 30% 30%, #ffe9a8, #d4a017 62%, #8a6a12);
  box-shadow: 0 2px 0 #6b5210, 0 6px 10px rgba(0,0,0,.18);
}
.fp-medal small { display: block; font-weight: 800; color: var(--ink-soft); font-size: 0.72rem; margin-top: 2px; }

.fp-board {
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 0 #fff inset, 0 10px 0 #d7e8de, 0 20px 28px rgba(16,40,32,.08);
  list-style: none;
  margin: 0 0 16px;
}
.fp-board li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  font-weight: 800;
}
.fp-board li:last-child { border-bottom: 0; }
.fp-rank {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  background: linear-gradient(180deg, #e8fff4, #b7f0d4);
  color: #067a53;
  flex-shrink: 0;
}
.fp-board li:first-child .fp-rank {
  background: linear-gradient(180deg, #ffe9a8, #f5b800);
  color: #6b4e00;
}

.fp-switch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  border-radius: 20px;
  margin-bottom: 14px;
  background: linear-gradient(180deg, #102820, #0c9b6c);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,.2) inset, 0 10px 0 #055c3c, 0 20px 28px rgba(12,155,108,.3);
}
.fp-switch strong { font-family: var(--display); font-size: 1.05rem; display: block; }
.fp-switch span { font-size: 0.78rem; opacity: 0.85; font-weight: 700; }
.fp-switch .btn { min-width: 0; width: auto; }

.fp-contrib {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}
.fp-contrib label {
  flex: 1;
  padding: 12px 10px;
  border-radius: 16px;
  font-weight: 800;
  font-size: 0.8rem;
  background: #fff;
  border: 2px solid var(--line);
  cursor: pointer;
}
.fp-contrib input { accent-color: var(--brand); margin-right: 6px; }

.fp-thanks {
  border-radius: 20px;
  padding: 14px 16px;
  margin-bottom: 12px;
  background: linear-gradient(180deg, #fff6d6, #ffe8a3);
  box-shadow: 0 1px 0 #fff inset, 0 8px 0 #e0b84a, 0 16px 22px rgba(180,120,0,.12);
  font-weight: 700;
}
