
@keyframes shopTabShine { 0% { left: -100%; } 100% { left: 150%; } }
#ojol-shop-root {
  --ojol-green-light: #5df2a2;
  --ojol-green: #00c853;
  --ojol-green-dark: #00963e;
  --ojol-bg: #0ad47c;
  --ojol-yellow: #ffe3b0;
  --ojol-yellow-deep: #ffc46b;
  --ojol-orange: #ff9c3b;
  --text-main: #03352a;
  --text-muted: #0f5135;
  --white: #ffffff;

  position: fixed;
  inset: 0;
  display: none;
  align-items: flex-start;
  justify-content: center;
  pointer-events: auto;
  z-index: 100;
  background: url('../../backgrounds/shop-background.webp') no-repeat center top;
  background-size: cover;
}

#ojol-shop-root .shop-scene {
  width: 100%;
  max-width: 430px;
  height: calc(100vh - 0px);
  background: transparent;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

#ojol-shop-root .shop-content {
  position: relative;
  z-index: 1;
  flex: 1;
  padding: 20px 20px 180px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow-y: auto;
}

#ojol-shop-root .shop-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

#ojol-shop-root .shop-ojol-greeting {
    background: radial-gradient(circle at 20% 0, #e9e9e6 0, #edddb6 45%, #e5cdac 100%);
    border-radius: 32px;
    padding: 2px 10px 2px 4px;
    box-shadow: 4px 7px 0 rgba(149, 88, 0, 0.95), 0 9px 18px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
#ojol-shop-root .shop-ojol-name-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
}
#ojol-shop-root .shop-avatar-img {
    max-height: 32px;
    padding: 4px 0;
}
#ojol-shop-root .shop-nickname {
    color: #3f3d3d;
    font-size: 12px;
    font-weight: 600;
}
#ojol-shop-root .shop-ojol-usr-coin {
    background: radial-gradient(circle at 20% 0, #e9e9e6 0, #edddb6 45%, #e5cdac 100%);
    border-radius: 32px;
    padding: 2px 6px 2px 10px;
    box-shadow: 4px 7px 0 rgba(149, 88, 0, 0.95), 0 9px 18px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
#ojol-shop-root .shop-user-coin-info {
    display: flex;
    align-items: center;
    gap: 6px;
}
#ojol-shop-root .shop-coin-count {
    color: #3f3d3d;
    font-size: 12px;
    font-weight: 600;
}
#ojol-shop-root img.shop-coin-img {
    max-height: 32px;
}

#ojol-shop-root .shop-top-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

#ojol-shop-root .shop-mini-avatar {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  overflow: hidden;
  border: 2px solid var(--white);
  box-shadow: 0 3px 6px rgba(0,0,0,0.25);
  background: #ffe9c9;
}

#ojol-shop-root .shop-mini-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#ojol-shop-root .shop-top-name {
  font-weight: 600;
  font-size: 14px;
}

#ojol-shop-root .shop-coin-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  background: #fff7e1;
  border-radius: 999px;
  padding: 4px 10px;
  box-shadow: 0 2px 0 rgba(0,0,0,0.18), inset 0 1px 0 rgba(255,255,255,0.9);
}

#ojol-shop-root .shop-coin-icon {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 20%, #fff5cc 0, #ffd86b 40%, #ffb72d 100%);
  box-shadow: 0 1px 0 rgba(255,255,255,0.9), 0 2px 0 rgba(204,141,31,0.9);
}

/* SHOP TITLE CARD */
#ojol-shop-root .shop-title-card {
  background: radial-gradient(circle at 20% 0, #e9e9e61c 0, #edddb621 45%, #e5cdac26 100%);
  border-radius: 28px;
  padding: 4px 16px;
  box-shadow: 4px 4px 0 rgb(149 88 0 / 57%), 0 5px 18px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgb(255 255 255 / 49%);
  text-align: center;
  backdrop-filter: blur(5px);
}

#ojol-shop-root .shop-title {
  font-size: 24px;
  font-weight: 800;
  color: #e5e2d7;
  margin-bottom: 0px;
  text-shadow: 1px 1px 0 rgb(26 24 21 / 95%), 0 2px 20px rgba(0, 0, 0, 0.45), 0 -1px 0 rgba(255, 255, 255, 0.7), 0 -2px 4px rgba(255, 200, 100, 0.6);
  letter-spacing: 0.5px;
}

#ojol-shop-root .shop-subtitle {
  font-size: 12px;
  color: #e5e2d7;
  text-shadow: 1px 1px 0 rgb(26 24 21 / 95%), 0 2px 20px rgba(0, 0, 0, 0.45), 0 -1px 0 rgba(255, 255, 255, 0.7), 0 -2px 4px rgba(255, 200, 100, 0.6);
  letter-spacing: 0.5px;
  margin-top: 0;
}

#ojol-shop-root .shop-wraps {
  /* Fallback for older browsers */
  min-height: calc(100vh - 280px);
  /* Modern dynamic viewport - adjusts when address bar hides/shows */
  min-height: calc(100dvh - 260px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#ojol-shop-root .caracter-card model-viewer {
  /* Pake bottom supaya relative ke bottom-lounge, bukan top viewport */
  top: auto;
  bottom: 245px; /* Jarak dari bottom-lounge ke atas */
}


#ojol-shop-root .shop-tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 30px 4px 30px 4px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  align-items: center;
  justify-content: flex-start;
  -webkit-overflow-scrolling: touch;
  overflow-y: hidden;
}

#ojol-shop-root .shop-tabs::-webkit-scrollbar { display: none; }

#ojol-shop-root .shop-tab {
  padding: 10px 8px;
  border-radius: 14px;
  font-size: 12px;
  font-weight: 700;
  background: radial-gradient(circle at 20% 0, #f5f3ed 0, #e8dcc4 45%, #ddd0b8 100%);
  color: #6b5a3e;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 3px 4px 0 rgba(120, 90, 40, 0.6), 0 6px 12px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
  text-align: center;
  min-width: 65px;
  flex-shrink: 0;
}

#ojol-shop-root .shop-tab:hover { transform: translateY(-2px); }

#ojol-shop-root .shop-tab:active {
  transform: translateY(1px);
  box-shadow: 1px 2px 0 rgba(120, 90, 40, 0.6), 0 3px 6px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

#ojol-shop-root .shop-tab.active {
  background: radial-gradient(circle at 20% 0, #fff8e1 0, #ffd54f 45%, #ffb300 100%);
  color: #5c3600;
  box-shadow: 3px 4px 0 rgba(149, 88, 0, 0.9), 0 6px 12px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

#ojol-shop-root .shop-tab.active::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -100%;
  width: 60%;
  height: 200%;
  transform: rotate(25deg);
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
  animation: shopTabShine 2s ease-in-out infinite;
  pointer-events: none;
}

@keyframes shopModalShine { 0% { left: -100%; } 100% { left: 150%; } }

#ojol-shop-root .shop-items-section {
  background: radial-gradient(circle at 20% 0, #e9e9e61c 0, #edddb621 45%, #e5cdac26 100%);
  border-radius: 22px;
  padding: 12px;
  z-index: 1;
  backdrop-filter: blur(5px);
  box-shadow: 4px 7px 0 rgba(149, 88, 0, 0.95), 0 9px 18px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

#ojol-shop-root .shop-items-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

#ojol-shop-root .shop-items-title {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  text-shadow: 2px 2px 0 rgba(149, 88, 0, 0.95), 0 10px 20px rgba(0, 0, 0, 0.45), 0 -1px 0 rgba(255, 255, 255, 0.7), 0 -2px 4px rgba(255, 200, 100, 0.6);
  letter-spacing: 0.5px;
}

#ojol-shop-root .shop-items-count {
  font-size: 13px;
  color: #f1eade;
  text-transform: uppercase;
  text-shadow: 2px 2px 0 rgba(149, 88, 0, 0.95), 0 10px 20px rgba(0, 0, 0, 0.45), 0 -1px 0 rgba(255, 255, 255, 0.7), 0 -2px 4px rgba(255, 200, 100, 0.6);
}

#ojol-shop-root .shop-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

#ojol-shop-root .shop-grid-all {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

#ojol-shop-root .shop-item-card {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 20% 0, #e9e6da 0, #e5c984 45%, #efbe7a 100%);
  border-radius: 18px;
  padding: 12px;
  box-shadow: 4px 7px 0 rgba(149, 88, 0, 0.95), 0 9px 18px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: transform 0.15s ease;
}

#ojol-shop-root .shop-item-card::before {
  content: "";
  position: absolute;
  top: -40%;
  left: -200%;
  width: 80%;
  height: 200%;
  transform: rotate(25deg);
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.15) 45%, rgba(255,255,255,0.35) 50%, rgba(255,255,255,0.15) 55%, rgba(255,255,255,0) 100%);
  animation: shopShinyMove 3s linear infinite;
  pointer-events: none;
  filter: blur(4px);
}

#ojol-shop-root .shop-featured::before {
  content: "";
  position: absolute;
  top: -40%;
  left: -200%;
  width: 80%;
  height: 200%;
  transform: rotate(25deg);
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.15) 45%, rgba(255,255,255,0.35) 50%, rgba(255,255,255,0.15) 55%, rgba(255,255,255,0) 100%);
  animation: shopShinyMove 3s linear infinite;
  pointer-events: none;
  filter: blur(4px);
}

@keyframes shopShinyMove {
    0% {
        left: -200%;
    }
    100% {
        left: 200%;
    }
}

#ojol-shop-root .shop-item-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: repeating-linear-gradient(135deg, rgba(255,255,255,0.05) 0px, rgba(255,255,255,0.10) 6px, rgba(255,255,255,0.05) 12px);
  mix-blend-mode: soft-light;
  opacity: 0.6;
  animation: shopWaveGlow 6s ease-in-out infinite;
}

#ojol-shop-root .shop-item-card:hover { transform: translateY(-2px); }

#ojol-shop-root .shop-item-card-all {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: transform 0.15s ease;
}

#ojol-shop-root .shop-item-card-all::before {
  content: "";
  position: absolute;
  top: -40%;
  left: -200%;
  width: 80%;
  height: 200%;
  transform: rotate(25deg);
  background: linear-gradient(to right, rgb(235 194 128 / 5%) 0%, rgb(234 196 130 / 15%) 45%, rgb(234 196 129 / 34%) 50%, rgb(235 195 129 / 37%) 55%, rgb(235 195 129 / 36%) 100%);
  animation: playerItemShinyMove 3s linear infinite;
  pointer-events: none;
  filter: blur(5px);
}

@keyframes playerItemShinyMove {
  0% { left: -200%; }
  100% { left: 250%; }
}

#ojol-shop-root .shop-item-card-all::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: repeating-linear-gradient(135deg, rgba(255,255,255,0.05) 0px, rgba(255,255,255,0.10) 6px, rgba(255,255,255,0.05) 12px);
  mix-blend-mode: soft-light;
  opacity: 0.6;
  animation: playerItemWaveGlow 6s ease-in-out infinite;
}

#ojol-shop-root .shop-item-card-all:hover { transform: translateY(-2px); }

#ojol-shop-root .shop-item-image {
  width: 120px;
  height: 120px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0px;
  overflow: hidden;
}

#ojol-shop-root .shop-item-image img { width: 100%; height: auto; }

#ojol-shop-root .shop-item-image-all {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0px;
  overflow: hidden;
}

#ojol-shop-root .shop-item-image-all img { width: 100%; height: auto; }

#ojol-shop-root .shop-item-name {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 0px;
  color: var(--text-main);
}

#ojol-shop-root .shop-item-name-all {
  font-weight: 400;
  margin: 4px 0;
  line-height: 1.2;
  font-size: 10px;
  color: #f1eade;
  text-shadow: 1px 1px 0 rgb(26 24 21 / 95%), 0 2px 20px rgba(0, 0, 0, 0.45), 0 -1px 0 rgba(255, 255, 255, 0.7), 0 -2px 4px rgba(255, 200, 100, 0.6);
  letter-spacing: 0.5px;
}

#ojol-shop-root .shop-item-price-all {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  background: linear-gradient(90deg, #ffe5b4, #ffbf5f);
  color: #5c3600;
  box-shadow: 0 2px 0 rgba(142,90,19,0.9), inset 0 1px 0 rgba(255,255,255,0.95);
}

#ojol-shop-root .price-coin {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 20%, #fff5cc 0, #ffd86b 40%, #ffb72d 100%);
  box-shadow: 0 1px 0 rgba(204,141,31,0.9);
}

#ojol-shop-root .shop-featured {
  background: radial-gradient(circle at 20% 0, #e9e6da 0, #e5c984 45%, #efbe7a 100%);
  border-radius: 22px;
  padding: 14px;
  box-shadow: 4px 7px 0 rgba(149, 88, 0, 0.95), 0 9px 18px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  position: relative;
  overflow: hidden;
  min-height: 150px;
}

#ojol-shop-root .shop-featured-image {
  width: 150px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

#ojol-shop-root .shop-featured-image img { width: 100%; height: auto; }

#ojol-shop-root .shop-featured-info { flex: 1; }

#ojol-shop-root .shop-featured-badge {
  display: inline-block;
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--ojol-orange);
  color: #fff;
  font-weight: 700;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

#ojol-shop-root .shop-featured-name {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 2px;
}

#ojol-shop-root .shop-featured-desc {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

#ojol-shop-root .shop-featured-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  background: linear-gradient(90deg, var(--ojol-green-light), var(--ojol-green));
  color: #fff;
  border: none;
  cursor: pointer;
  box-shadow: 0 3px 0 var(--ojol-green-dark), 0 5px 10px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.3);
}

#ojol-shop-root .caracter-card {
  display: flex;
  justify-content: center;
  align-items: center;
}

#ojol-shop-root .caracter-card model-viewer {
  width: 250px;
  height: 250px;
  background: transparent;
  --poster-color: transparent;
  position: fixed;
}

#ojol-shop-root .bottom-lounge {
  position: absolute;
  bottom: 0px;
  left: 0;
  right: 0;
  background: radial-gradient(circle at 20% 0, #e9e9e61c 0, #edddb621 45%, #e5cdac26 100%);
  padding: 16px 24px 20px;
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
  box-shadow: 4px 7px 0 rgba(149, 88, 0, 0.95), 0 9px 18px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
  backdrop-filter: blur(5px);
}

#ojol-shop-root .bottom-lounge > div:nth-child(2) {
  display: flex;
  justify-content: center;
  flex: 1;
}

#ojol-shop-root .nav-container {
  background: radial-gradient(circle at 20% 0, #e9e6da 0, #e5c984 45%, #efbe7a 100%);
  width: 70px;
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 20px;
  flex-direction: column;
  color: #000000;
  font-size: 12px;
  font-weight: 400;
  position: relative;
  cursor: pointer;
  box-shadow: 4px 7px 0 rgba(149, 88, 0, 0.95), 0 9px 18px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

#ojol-shop-root .nav-container.active { background: #fff2d3; }

#ojol-shop-root img.btm-lounge-img {
  height: 40px;
  margin-bottom: 4px;
}

#ojol-shop-root .neo-btn {
  padding: 10px 30px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background: radial-gradient(circle at 30% 0%, #facc15, #f97316);
  color: #111827;
  font-weight: 800;
  font-size: 16px;
  box-shadow: 4px 7px 0 rgba(149, 88, 0, 0.95), 0 9px 18px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
}

#ojol-shop-root .neo-btn:hover { transform: translate(-1px, -1px); }

#ojol-shop-root .neo-btn:hover::after { transform: translate(3px, 3px); }

#ojol-shop-root .modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}

#ojol-shop-root .modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

#ojol-shop-root .modal-content {
  background: radial-gradient(circle at 20% 0, #fff8e1 0, #ffd54f 45%, #ffb300 100%);
  border-radius: 28px;
  padding: 16px 20px;
  text-align: center;
  max-width: 250px;
  width: 90%;
  box-shadow: 6px 10px 0 rgba(149, 88, 0, 0.95), 0 15px 30px rgba(0, 0, 0, 0.5), inset 0 2px 0 rgba(255, 255, 255, 0.9);
  transform: scale(0.8) translateY(20px);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

#ojol-shop-root .modal-overlay.active .modal-content {
  transform: scale(1) translateY(0);
}

#ojol-shop-root .modal-content::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -100%;
  width: 80%;
  height: 200%;
  transform: rotate(25deg);
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
  animation: shopModalShine 2s ease-in-out infinite;
  pointer-events: none;
}

#ojol-shop-root .modal-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

#ojol-shop-root .modal-title {
  font-size: 24px;
  font-weight: 800;
  color: #5c3600;
  margin-bottom: 8px;
}

#ojol-shop-root .modal-subtitle {
  font-size: 14px;
  color: #7a5a2e;
  margin-bottom: 24px;
  line-height: 1.4;
}

#ojol-shop-root .modal-btn {
  padding: 12px 32px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
  background: radial-gradient(circle at 20% 0, #4ade80 0, #22c55e 45%, #16a34a 100%);
  color: #fff;
  border: none;
  cursor: pointer;
  box-shadow: 3px 4px 0 rgba(22, 101, 52, 0.9), 0 6px 12px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: all 0.2s ease;
  position: relative;
  z-index: 1;
}

#ojol-shop-root .modal-btn:hover { transform: translateY(-2px); }

#ojol-shop-root .modal-btn:active {
  transform: translateY(1px);
  box-shadow: 1px 2px 0 rgba(22, 101, 52, 0.9), 0 3px 6px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* ========== FEATURED SLIDER ========== */
@keyframes featuredFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes featuredGlow {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.05); }
}

@keyframes featuredShine {
  0% { left: -150%; }
  100% { left: 150%; }
}

@keyframes pulseBadge {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

@keyframes sparkle {
  0%, 100% { opacity: 0; transform: scale(0) rotate(0deg); }
  50% { opacity: 1; transform: scale(1) rotate(180deg); }
}

#ojol-shop-root .shop-featured-container {
  margin-bottom: 8px;
}

#ojol-shop-root .featured-slider {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: radial-gradient(circle at 20% 0, #e9e6da 0, #e5c984 45%, #efbe7a 100%);
  box-shadow: 4px 7px 0 rgba(149, 88, 0, 0.95), 0 9px 18px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

#ojol-shop-root .featured-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

#ojol-shop-root .featured-card {
  min-width: 100%;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  overflow: hidden;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

#ojol-shop-root .featured-card.active {
  opacity: 1;
}

#ojol-shop-root .featured-glow {
  position: absolute;
  top: 50%;
  left: 20%;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(255, 200, 100, 0.6) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: featuredGlow 3s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

#ojol-shop-root .featured-shine {
  position: absolute;
  top: -50%;
  left: -150%;
  width: 80%;
  height: 200%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.15) 45%,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(255, 255, 255, 0.15) 55%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(25deg);
  animation: featuredShine 4s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

#ojol-shop-root .featured-image-wrap {
  position: relative;
  width: 120px;
  height: 120px;
  flex-shrink: 0;
  z-index: 2;
}

#ojol-shop-root .featured-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: featuredFloat 3s ease-in-out infinite;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.3));
}

#ojol-shop-root .featured-float-effect {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 20px;
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  animation: featuredGlow 3s ease-in-out infinite reverse;
}

#ojol-shop-root .featured-info {
  flex: 1;
  z-index: 2;
}

#ojol-shop-root .featured-label {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  box-shadow: 0 2px 8px rgba(238, 90, 36, 0.4);
}

#ojol-shop-root .featured-label.pulse-badge {
  animation: pulseBadge 1.5s ease-in-out infinite;
}

#ojol-shop-root .featured-name {
  font-size: 18px;
  font-weight: 800;
  color: #3d2914;
  margin-bottom: 4px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}

#ojol-shop-root .featured-rarity {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

#ojol-shop-root .featured-desc {
  font-size: 11px;
  color: #5c4a32;
  margin-bottom: 10px;
  line-height: 1.3;
}

#ojol-shop-root .featured-price-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

#ojol-shop-root .featured-price-original {
  font-size: 12px;
  color: #8b7355;
  text-decoration: line-through;
}

#ojol-shop-root .featured-buy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 800;
  background: linear-gradient(135deg, #5df2a2 0%, #00c853 50%, #00963e 100%);
  color: #fff;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 0 #006d2a, 0 6px 12px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: all 0.15s ease;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

#ojol-shop-root .featured-buy-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 #006d2a, 0 8px 16px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

#ojol-shop-root .featured-buy-btn:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #006d2a, 0 4px 8px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

#ojol-shop-root .featured-discount {
  padding: 4px 8px;
  border-radius: 8px;
  background: linear-gradient(135deg, #ff4757 0%, #c44569 100%);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  box-shadow: 0 2px 6px rgba(196, 69, 105, 0.4);
}

/* Featured Navigation */
#ojol-shop-root .featured-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 12px 0;
  background: rgba(0, 0, 0, 0.1);
}

#ojol-shop-root .featured-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
}

#ojol-shop-root .featured-dot.active {
  width: 24px;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

#ojol-shop-root .featured-arrow {
  position: absolute;
  top: 75%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgb(255 255 255 / 32%);
  border: none;
  cursor: pointer;
  font-size: 18px;
  font-weight: bold;
  color: #5c4a32;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

#ojol-shop-root .featured-arrow:hover {
  background: rgb(255 255 255 / 32%);
  transform: translateY(-50%) scale(1.1);
}

#ojol-shop-root .featured-arrow-left { left: 8px; }
#ojol-shop-root .featured-arrow-right { right: 8px; }

/* ========== DYNAMIC TABS ========== */
#ojol-shop-root .shop-tab .tab-icon {
  display: block;
  font-size: 16px;
  margin-bottom: 2px;
}

#ojol-shop-root .shop-tab .tab-label {
  display: block;
  font-size: 10px;
}

/* ========== ITEM CARD ENHANCEMENTS ========== */
#ojol-shop-root .shop-item-card-all.item-owned {
  background: radial-gradient(circle at 20% 0, rgba(34, 197, 94, 0.15) 0%, rgba(34, 197, 94, 0.08) 100%);
}

#ojol-shop-root .shop-item-card-all.item-equipped {
  background: radial-gradient(circle at 20% 0, rgba(59, 130, 246, 0.2) 0%, rgba(59, 130, 246, 0.1) 100%);
  border: 2px solid rgba(59, 130, 246, 0.5);
}

#ojol-shop-root .item-status-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: bold;
  z-index: 5;
}

#ojol-shop-root .item-status-badge.owned {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: #fff;
  box-shadow: 0 2px 4px rgba(22, 163, 74, 0.4);
}

#ojol-shop-root .item-status-badge.equipped {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: #fff;
  box-shadow: 0 2px 4px rgba(29, 78, 216, 0.4);
}

#ojol-shop-root .item-label-badge {
  position: absolute;
  top: 4px;
  left: 4px;
  padding: 2px 6px;
  border-radius: 6px;
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
  color: #fff;
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
  z-index: 5;
}

#ojol-shop-root .item-discount-badge {
  position: absolute;
  top: 24px;
  left: 4px;
  padding: 2px 6px;
  border-radius: 6px;
  background: linear-gradient(135deg, #ff4757 0%, #c44569 100%);
  color: #fff;
  font-size: 8px;
  font-weight: 700;
  z-index: 5;
}

#ojol-shop-root .shop-item-rarity {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 4px;
}

#ojol-shop-root .price-owned {
  color: #22c55e;
  font-weight: 700;
}

#ojol-shop-root .price-original {
  font-size: 9px;
  color: #8b7355;
  text-decoration: line-through;
  margin-right: 4px;
}

/* ========== EMPTY STATE ========== */
#ojol-shop-root .shop-empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 20px;
}

#ojol-shop-root .shop-empty-icon {
  font-size: 48px;
  margin-bottom: 12px;
}

#ojol-shop-root .shop-empty-title {
  font-size: 18px;
  font-weight: 700;
  color: #f1eade;
  margin-bottom: 8px;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.5);
}

#ojol-shop-root .shop-empty-text {
  font-size: 13px;
  color: #d4c4a8;
  line-height: 1.4;
}

/* ========== ITEM DETAIL MODAL ========== */
#shopItemDetailModal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  backdrop-filter: blur(6px);
  animation: modalFadeIn 0.2s ease-out;
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

#shopItemDetailModal .item-detail-modal {
  background: radial-gradient(circle at 20% 0, #fff8e1 0, #ffd54f 45%, #ffb300 100%);
  border-radius: 28px;
  padding: 20px;
  text-align: center;
  max-width: 300px;
  width: 90%;
  box-shadow: 6px 10px 0 rgba(149, 88, 0, 0.95), 0 15px 30px rgba(0, 0, 0, 0.5), inset 0 2px 0 rgba(255, 255, 255, 0.9);
  animation: modalSlideIn 0.25s ease-out;
  position: relative;
  overflow: hidden;
}

@keyframes modalSlideIn {
  from { transform: scale(0.9) translateY(20px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}

#shopItemDetailModal .modal-item-header {
  position: relative;
  margin-bottom: 12px;
}

#shopItemDetailModal .modal-item-label {
  position: absolute;
  top: 0;
  right: 0;
  padding: 4px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  z-index: 5;
}

#shopItemDetailModal .modal-item-image {
  width: 100px;
  height: 100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

#shopItemDetailModal .modal-item-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

#shopItemDetailModal .modal-item-info {
  margin-bottom: 16px;
}

#shopItemDetailModal .modal-item-name {
  font-size: 20px;
  font-weight: 800;
  color: #5c3600;
  margin-bottom: 4px;
}

#shopItemDetailModal .modal-item-type {
  font-size: 12px;
  color: #7a5a2e;
  margin-bottom: 6px;
}

#shopItemDetailModal .modal-item-rarity {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

#shopItemDetailModal .modal-item-desc {
  font-size: 12px;
  color: #5c4a32;
  line-height: 1.4;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 10px;
}

#shopItemDetailModal .modal-item-price-section {
  margin-bottom: 16px;
}

#shopItemDetailModal .modal-item-status {
  font-size: 14px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 12px;
}

#shopItemDetailModal .modal-item-status.equipped {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: #fff;
}

#shopItemDetailModal .modal-item-status.owned {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: #fff;
}

#shopItemDetailModal .modal-item-price {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 6px;
}

#shopItemDetailModal .modal-price-original {
  font-size: 14px;
  color: #8b7355;
  text-decoration: line-through;
}

#shopItemDetailModal .modal-price-current {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 18px;
  font-weight: 800;
  color: #5c3600;
}

#shopItemDetailModal .modal-price-discount {
  padding: 3px 8px;
  border-radius: 6px;
  background: linear-gradient(135deg, #ff4757 0%, #c44569 100%);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

#shopItemDetailModal .modal-player-coins {
  font-size: 12px;
  color: #5c4a32;
}

#shopItemDetailModal .modal-player-coins.insufficient {
  color: #dc2626;
}

#shopItemDetailModal .modal-player-coins .coin-warning {
  display: block;
  font-weight: 700;
  margin-top: 2px;
}

#shopItemDetailModal .modal-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
}

#shopItemDetailModal .modal-btn {
  padding: 12px 20px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

#shopItemDetailModal .modal-btn-buy {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: #fff;
  box-shadow: 0 4px 0 #15803d, 0 6px 12px rgba(0, 0, 0, 0.25);
}

#shopItemDetailModal .modal-btn-buy:hover:not(:disabled) {
  transform: translateY(-2px);
}

#shopItemDetailModal .modal-btn-buy:active:not(:disabled) {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #15803d, 0 4px 8px rgba(0, 0, 0, 0.2);
}

#shopItemDetailModal .modal-btn-buy.disabled,
#shopItemDetailModal .modal-btn-buy:disabled {
  background: #9ca3af;
  box-shadow: 0 4px 0 #6b7280;
  cursor: not-allowed;
  opacity: 0.7;
}

#shopItemDetailModal .modal-btn-equip {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: #fff;
  box-shadow: 0 4px 0 #1e40af, 0 6px 12px rgba(0, 0, 0, 0.25);
}

#shopItemDetailModal .modal-btn-equip:hover:not(:disabled) {
  transform: translateY(-2px);
}

#shopItemDetailModal .modal-btn-cancel,
#shopItemDetailModal .modal-btn-close {
  background: radial-gradient(circle at 20% 0, #f5f3ed 0, #e8dcc4 45%, #ddd0b8 100%);
  color: #5c4a32;
  box-shadow: 0 4px 0 rgba(120, 90, 40, 0.6), 0 6px 12px rgba(0, 0, 0, 0.2);
}

#shopItemDetailModal .modal-btn-cancel:hover,
#shopItemDetailModal .modal-btn-close:hover {
  transform: translateY(-2px);
}

/* ========== TOAST ========== */
#ojol-shop-root .shop-toast,
.shop-toast {
  position: fixed;
  bottom: 180px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(15, 23, 42, 0.95);
  color: #f9fafb;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  z-index: 3000;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s ease-out;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

#ojol-shop-root .shop-toast.show,
.shop-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}