.new88-golden-cards-wrap {
  width: 100%;
  background: transparent !important;
  padding: 0;
  margin: 0;
  overflow: hidden;
}

.new88-golden-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.new88-golden-card {
  display: block;
  text-decoration: none !important;
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  outline: 0 !important;
}

.new88-card-frame {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 310 / 446;
  border-radius: 24px;
  padding: 4px;
  min-height: unset !important;
  background: linear-gradient(180deg, #ffd95c 0%, #e1a400 32%, #ffdd63 70%, #b97900 100%);
  box-shadow:
    0 6px 20px rgba(190, 128, 0, 0.25),
    0 0 0 1px rgba(255, 218, 111, 0.55);
  box-sizing: border-box;
}

.new88-card-frame::before {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 21px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.28), rgba(255,255,255,0) 16%),
    linear-gradient(180deg, #ffe788 0%, #ffba16 25%, #f7a000 60%, #d18b00 100%);
  pointer-events: none;
  z-index: 1;
}

.new88-card-frame img,
.new88-card-placeholder {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100% !important;
  display: block;
  object-fit: cover;
  border-radius: 20px;
  background: #fff7db;
  box-sizing: border-box;
}

.new88-card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7f5a00;
  font: 700 18px/1.2 "Be Vietnam Pro", Arial, Helvetica, sans-serif;
}

.new88-card-frame::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  top: 8px;
  bottom: 8px;
  border-radius: 19px;
  border: 1px solid rgba(255, 241, 170, 0.65);
  pointer-events: none;
  z-index: 3;
}

.new88-card-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  z-index: 4;
  display: flex;
  justify-content: center;
  padding: 0 18px;
  box-sizing: border-box;
}

.new88-card-btn {
  min-width: 76%;
  max-width: 92%;
  text-align: center;
  border-radius: 999px;
  padding: 14px 18px;
  color: #ffe93f !important;
  font-family: "Be Vietnam Pro", Arial, Helvetica, sans-serif !important;
  font-size: 20px;
  line-height: 1.05;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
  background: linear-gradient(180deg, rgba(153,90,0,0.88) 0%, rgba(120,72,0,0.92) 100%);
  border: 2px solid #f5d15b;
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,0.24),
    0 4px 12px rgba(96, 54, 0, 0.28);
  text-shadow: 0 2px 0 rgba(87, 51, 0, 0.95);
  white-space: nowrap;
  box-sizing: border-box;
}



.new88-card-frame .new88-hover-shine {
  position: absolute;
  top: -20%;
  left: -75%;
  width: 42%;
  height: 140%;
  z-index: 5;
  pointer-events: none;
  opacity: 0;
  transform: rotate(18deg);
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.08) 18%,
    rgba(255,255,255,0.45) 50%,
    rgba(255,245,190,0.85) 52%,
    rgba(255,255,255,0.22) 68%,
    rgba(255,255,255,0) 100%
  );
  filter: blur(1px);
  mix-blend-mode: screen;
}

.new88-golden-card:hover .new88-card-frame,
.new88-golden-card:focus .new88-card-frame {
  transform: translateY(-2px);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow:
    0 10px 28px rgba(190, 128, 0, 0.32),
    0 0 0 1px rgba(255, 218, 111, 0.65),
    0 0 22px rgba(255, 223, 120, 0.22);
}

.new88-golden-card:hover .new88-hover-shine,
.new88-golden-card:focus .new88-hover-shine {
  opacity: 1;
  animation: new88ShineSweep 1s ease forwards;
}

@keyframes new88ShineSweep {
  0% {
    left: -75%;
    opacity: 0;
  }
  10% {
    opacity: 0.9;
  }
  55% {
    opacity: 1;
  }
  100% {
    left: 140%;
    opacity: 0;
  }
}

/* Laptop nhỏ / tablet ngang */
@media (max-width: 1199px) {
  .new88-golden-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .new88-card-btn {
    font-size: clamp(18px, 2.4vw, 22px);
    padding: 13px 16px;
  }
}

/* Tablet dọc */
@media (max-width: 900px) {
  .new88-golden-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .new88-card-frame {
    border-radius: 20px;
  }

  .new88-card-frame::before {
    border-radius: 17px;
  }

  .new88-card-frame img,
  .new88-card-placeholder {
    border-radius: 17px;
  }

  .new88-card-frame::after {
    border-radius: 16px;
  }

  .new88-card-bottom {
    bottom: 14px;
    padding: 0 14px;
  }

  .new88-card-btn {
    min-width: 78%;
    font-size: clamp(16px, 3vw, 20px);
    padding: 11px 14px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .new88-golden-cards-wrap {
    padding: 0;
  }

  .new88-golden-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .new88-card-frame {
    border-radius: 16px;
    padding: 3px;
  }

  .new88-card-frame::before {
    inset: 2px;
    border-radius: 14px;
  }

  .new88-card-frame::after {
    left: 6px;
    right: 6px;
    top: 6px;
    bottom: 6px;
    border-radius: 13px;
  }

  .new88-card-frame img,
  .new88-card-placeholder {
    border-radius: 14px;
  }

  .new88-card-bottom {
    bottom: 10px;
    padding: 0 8px;
  }

  .new88-card-btn {
    min-width: 78%;
    max-width: 94%;
    font-size: clamp(12px, 3.5vw, 16px);
    padding: 8px 10px;
    border-width: 1.5px;
    text-shadow: 0 1px 0 rgba(87, 51, 0, 0.95);
  }
}

/* Mobile rất nhỏ */
@media (max-width: 380px) {
  .new88-golden-cards-grid {
    gap: 8px;
  }

  .new88-card-btn {
    font-size: 11px;
    padding: 7px 8px;
  }
}
