.yh-page {
  --yh-accent: #ffcc4d;
  --yh-accent-2: #ff7a59;
  --yh-accent-3: #8b5cf6;
  --yh-surface: rgba(12, 16, 27, .78);
  --yh-surface-2: rgba(255, 255, 255, .055);
  --yh-border: rgba(255, 255, 255, .12);
  padding: clamp(.7rem, 2vw, 1.25rem);
  display: grid;
  gap: 1rem;
}

.yh-hero-card,
.yh-note,
.yh-legal-card,
.yh-skin-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--yh-border);
  background:
    radial-gradient(circle at top left, rgba(255, 204, 77, .18), transparent 34%),
    radial-gradient(circle at bottom right, rgba(139, 92, 246, .15), transparent 38%),
    linear-gradient(145deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .025)),
    var(--yh-surface);
  border-radius: 28px;
  box-shadow: 0 24px 90px rgba(0, 0, 0, .28);
}

.yh-hero-card {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.2rem;
  padding: clamp(1.2rem, 4vw, 2.5rem);
}

.yh-kicker {
  color: var(--yh-accent);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.yh-hero-card h1 {
  margin: .35rem 0 .6rem;
  font-size: clamp(2.25rem, 6vw, 5rem);
  line-height: .9;
  letter-spacing: -.055em;
}

.yh-hero-card p,
.yh-note p,
.yh-product p,
.yh-legal-card p {
  color: rgba(235, 239, 247, .72);
  line-height: 1.65;
}

.yh-toolbar,
.yh-store-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}

.yh-store-tabs {
  position: sticky;
  top: .75rem;
  z-index: 20;
  padding: .55rem;
  width: fit-content;
  max-width: 100%;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 999px;
  background: rgba(9, 12, 22, .72);
  backdrop-filter: blur(18px);
}

.yh-pill,
.yh-store-tabs button,
.yh-buy {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 999px;
  background: rgba(255, 255, 255, .065);
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.yh-pill,
.yh-store-tabs button {
  padding: .72rem 1rem;
  font-weight: 800;
}

.yh-buy {
  width: 100%;
  margin-top: auto;
  padding: .86rem 1.1rem;
  color: #151006;
  font-weight: 950;
  letter-spacing: .015em;
  border-color: rgba(255, 204, 77, .88);
  background: linear-gradient(135deg, var(--yh-accent), var(--yh-accent-2));
  box-shadow: 0 16px 34px rgba(255, 164, 59, .18);
}

.yh-pill.is-active,
.yh-store-tabs .is-active {
  color: #151006;
  border-color: rgba(255, 204, 77, .9);
  background: linear-gradient(135deg, var(--yh-accent), var(--yh-accent-2));
  box-shadow: 0 14px 30px rgba(255, 164, 59, .16);
}

.yh-pill:hover,
.yh-store-tabs button:hover,
.yh-buy:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 204, 77, .72);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .24), 0 0 28px rgba(255, 204, 77, .08);
}

.yh-buy:disabled {
  opacity: .58;
  cursor: wait;
  transform: none;
}

.yh-note {
  padding: clamp(1rem, 2vw, 1.4rem);
}

.yh-note h2,
.yh-legal-card h2 {
  margin-top: 0;
}

.yh-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.yh-product {
  position: relative;
  display: grid;
  gap: .78rem;
  min-height: 245px;
  padding: 1.05rem;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .078), rgba(255, 255, 255, .028)),
    rgba(8, 11, 20, .72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 18px 50px rgba(0, 0, 0, .18);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.yh-product:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 204, 77, .28);
  background:
    linear-gradient(145deg, rgba(255, 204, 77, .09), rgba(139, 92, 246, .05)),
    rgba(8, 11, 20, .78);
}

.yh-product-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
}

.yh-product-top span {
  padding: .35rem .58rem;
  border-radius: 999px;
  background: rgba(255, 204, 77, .12);
  color: var(--yh-accent);
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .07em;
}

.yh-product-top strong {
  color: #fff;
  font-size: 1rem;
}

.yh-product h3 {
  margin: 0;
  font-size: clamp(1.22rem, 2vw, 1.55rem);
  line-height: 1.12;
}

.yh-feature-list {
  display: grid;
  gap: .42rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.yh-feature-list li {
  position: relative;
  padding-left: 1.1rem;
  color: rgba(235, 239, 247, .78);
  font-size: .92rem;
}

.yh-feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: .42rem;
  height: .42rem;
  border-radius: 50%;
  background: var(--yh-accent);
  box-shadow: 0 0 14px rgba(255, 204, 77, .55);
}

.yh-duration-label {
  display: grid;
  gap: .42rem;
  margin-top: .25rem;
  color: rgba(235, 239, 247, .72);
  font-weight: 800;
}

.yh-vip-duration,
.yh-skin-card select,
.yh-skin-card input {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 16px;
  background: rgba(0, 0, 0, .23);
  color: #fff;
  padding: .82rem .9rem;
  outline: none;
}

.yh-vip-duration:focus,
.yh-skin-card select:focus,
.yh-skin-card input:focus {
  border-color: rgba(255, 204, 77, .7);
  box-shadow: 0 0 0 4px rgba(255, 204, 77, .08);
}

.yh-legal-card {
  padding: clamp(1.1rem, 3vw, 2rem);
}

.yh-toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 9999;
  max-width: min(420px, calc(100vw - 2rem));
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 18px;
  background: rgba(13, 17, 27, .94);
  color: #fff;
  padding: 1rem 1.1rem;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .38);
  backdrop-filter: blur(18px);
}

@media (max-width: 1100px) {
  .yh-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 740px) {
  .yh-hero-card {
    display: grid;
    border-radius: 22px;
  }

  .yh-toolbar a,
  .yh-store-tabs button {
    flex: 1;
  }

  .yh-store-tabs {
    width: 100%;
    border-radius: 22px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .yh-product-grid {
    grid-template-columns: 1fr;
  }
}
