.casehug-section {
  width: 100%;
  margin: 60px 0 0;
}

.casehug-card {
  position: relative;
  width: 100%;
  padding: 36px;
  display: flex;
  align-items: stretch;
  gap: 34px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 82% 42%, rgba(0, 243, 255, 0.2), transparent 34%),
    radial-gradient(circle at 12% 0%, rgba(145, 70, 255, 0.28), transparent 38%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.016)),
    rgba(7, 4, 14, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.095);
  box-shadow:
    0 34px 86px rgba(0, 0, 0, 0.52),
    0 0 58px rgba(145, 70, 255, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.055);
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.casehug-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.024) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 38px 38px;
  opacity: 0.3;
}

.casehug-card::after {
  content: "";
  position: absolute;
  right: -90px;
  top: -110px;
  width: 300px;
  height: 300px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(0, 243, 255, 0.16), transparent 66%);
  pointer-events: none;
}

.casehug-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 243, 255, 0.22);
  box-shadow:
    0 38px 92px rgba(0, 0, 0, 0.56),
    0 0 64px rgba(145, 70, 255, 0.18);
}

.casehug-content {
  position: relative;
  z-index: 2;
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.casehug-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.casehug-brand {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 15px;
}

.casehug-logo {
  width: 60px;
  height: 60px;
  flex: 0 0 60px;
  padding: 7px;
  border-radius: 17px;
  background: rgba(0, 0, 0, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    inset 0 0 18px rgba(145, 70, 255, 0.1),
    0 12px 26px rgba(0, 0, 0, 0.25);
}

.casehug-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.casehug-titlebox {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.casehug-eyebrow {
  margin-bottom: 6px;
  font-family: var(--font-tech);
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(0, 243, 255, 0.72);
}

.casehug-title {
  margin: 0;
  font-family: var(--font-tech);
  font-size: clamp(26px, 2.8vw, 34px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 0 18px rgba(145, 70, 255, 0.24);
}

.casehug-subtitle {
  width: fit-content;
  margin-top: 8px;
  font-family: var(--font-tech);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(184, 140, 255, 0.92);
}

.casehug-code {
  width: 126px;
  flex: 0 0 126px;
  padding: 13px 14px;
  border-radius: 15px;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(145, 70, 255, 0.22), rgba(0, 243, 255, 0.06)),
    rgba(0, 0, 0, 0.34);
  border: 1px solid rgba(145, 70, 255, 0.5);
  box-shadow:
    inset 0 0 16px rgba(145, 70, 255, 0.08),
    0 0 24px rgba(145, 70, 255, 0.14);
}

.casehug-code-label {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-tech);
  font-size: 8px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}

.casehug-code-value {
  font-family: var(--font-tech);
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.14em;
  color: #d8b4fe;
  text-shadow: 0 0 12px rgba(145, 70, 255, 0.64);
}

.casehug-bonuses {
  width: 100%;
  display: flex;
  gap: 12px;
}

.casehug-bonus {
  position: relative;
  min-width: 0;
  flex: 1 1 0;
  min-height: 76px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 13px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 12% 0%, rgba(0, 243, 255, 0.12), transparent 48%),
    rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.035),
    0 12px 24px rgba(0, 0, 0, 0.18);
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.casehug-bonus:hover {
  transform: translateY(-2px);
  background:
    radial-gradient(circle at 12% 0%, rgba(0, 243, 255, 0.16), transparent 48%),
    rgba(255, 255, 255, 0.06);
  border-color: rgba(0, 243, 255, 0.16);
}

.casehug-bonus-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #00f2fe;
  background:
    radial-gradient(circle at 50% 0%, rgba(0, 243, 255, 0.28), transparent 62%),
    rgba(0, 243, 255, 0.075);
  border: 1px solid rgba(0, 243, 255, 0.26);
  box-shadow:
    inset 0 0 18px rgba(0, 243, 255, 0.08),
    0 0 22px rgba(0, 243, 255, 0.08);
}

.casehug-bonus-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.casehug-bonus-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.casehug-bonus-copy strong {
  margin-bottom: 6px;
  font-family: var(--font-tech);
  font-size: clamp(22px, 2.1vw, 27px);
  font-weight: 800;
  line-height: 0.95;
  color: #fff;
}

.casehug-bonus-copy small {
  font-family: var(--font-tech);
  font-size: 8px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.46);
}

.casehug-actions {
  width: 100%;
  display: flex;
  gap: 12px;
  margin-top: auto;
}

.casehug-btn {
  position: relative;
  min-width: 0;
  flex: 1 1 0;
  min-height: 54px;
  padding: 15px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 14px;
  text-decoration: none;
  font-family: var(--font-tech);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  overflow: hidden;
  clip-path: polygon(11px 0, 100% 0, 100% calc(100% - 11px), calc(100% - 11px) 100%, 0 100%, 0 11px);
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.casehug-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 44%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: skewX(-25deg);
  transition: left 0.45s ease;
}

.casehug-btn:hover {
  transform: translateY(-2px);
  color: #fff;
}

.casehug-btn:hover::after {
  left: 140%;
}

.casehug-btn svg {
  width: 17px;
  height: 17px;
  transition: transform 0.2s ease;
}

.casehug-btn:hover svg {
  transform: translateX(4px);
}

.casehug-btn-main {
  background: rgba(145, 70, 255, 0.17);
  border: 1px solid rgba(145, 70, 255, 0.48);
  color: #d8b4fe;
}

.casehug-btn-main:hover {
  background: #9146ff;
  box-shadow: 0 0 24px rgba(145, 70, 255, 0.45);
}

.casehug-btn-alt {
  background: rgba(0, 243, 255, 0.06);
  border: 1px solid rgba(0, 243, 255, 0.24);
  color: rgba(210, 250, 255, 0.88);
}

.casehug-btn-alt:hover {
  background: rgba(0, 243, 255, 0.14);
  border-color: rgba(0, 243, 255, 0.44);
  box-shadow: 0 0 24px rgba(0, 243, 255, 0.2);
}

.casehug-drop {
  position: relative;
  z-index: 2;
  flex: 0 0 400px;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.casehug-skin {
  position: relative;
  width: 100%;
  max-width: 400px;
  min-height: 310px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  isolation: isolate;
}

.casehug-skin::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 46%;
  z-index: -1;
  width: 280px;
  height: 130px;
  transform: translate(-50%, -50%) rotate(-8deg);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.34);
  filter: blur(18px);
  pointer-events: none;
}

.casehug-skin-ribbon {
  position: absolute;
  right: 18px;
  top: 20px;
  z-index: 4;
  min-width: 126px;
  padding: 9px 18px 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: rotate(12deg);
  transform-origin: center;
  background:
    linear-gradient(135deg, #00f2fe, #9146ff);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow:
    0 16px 28px rgba(0, 0, 0, 0.34),
    0 0 24px rgba(0, 243, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  font-family: var(--font-tech);
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
}

.casehug-skin-ribbon::before,
.casehug-skin-ribbon::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  transform: translateY(-50%);
  opacity: 0.65;
}

.casehug-skin-ribbon::before {
  left: 9px;
}

.casehug-skin-ribbon::after {
  right: 9px;
}

.casehug-skin-img {
  width: 100%;
  height: 190px;
  object-fit: contain;
  opacity: 0.98;
  transform: rotate(-8deg) translateZ(0);
  filter:
    drop-shadow(0 32px 26px rgba(0, 0, 0, 0.78))
    drop-shadow(0 0 26px rgba(0, 243, 255, 0.24))
    saturate(1.18);
  transition:
    transform 0.25s ease,
    filter 0.25s ease;
}

.casehug-skin:hover .casehug-skin-img {
  transform: rotate(-5deg) translateY(-6px) scale(1.045);
  filter:
    drop-shadow(0 36px 30px rgba(0, 0, 0, 0.84))
    drop-shadow(0 0 34px rgba(0, 243, 255, 0.34))
    saturate(1.24);
}

.casehug-skin:hover .casehug-skin-ribbon {
  transform: rotate(8deg) translateY(-2px);
}

.casehug-skin-info {
  width: 100%;
  margin-top: 20px;
  text-align: center;
}

.casehug-skin-info strong {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--font-tech);
  font-size: 25px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 0 18px rgba(145, 70, 255, 0.4);
}

.casehug-skin-info small {
  display: block;
  margin-top: 9px;
  font-family: var(--font-tech);
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.08em;
  color: #00f2fe;
  text-shadow: 0 0 11px rgba(0, 243, 255, 0.46);
}

.casehug-skin-empty {
  min-height: 240px;
}

@media (max-width: 1180px) {
  .casehug-card {
    flex-direction: column;
    gap: 42px;
  }

  .casehug-drop {
    flex: 0 1 auto;
    width: 100%;
  }

  .casehug-skin {
    max-width: 520px;
    margin: 0 auto;
  }

  .casehug-skin-img {
    height: 210px;
  }
}

@media (max-width: 768px) {
  .casehug-section {
    margin-top: 58px;
  }

  .casehug-card {
    padding: 24px;
    gap: 34px;
    border-radius: 26px;
  }

  .casehug-head {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }

  .casehug-brand {
    align-items: center;
  }

  .casehug-logo {
    width: 54px;
    height: 54px;
    flex-basis: 54px;
    border-radius: 15px;
  }

  .casehug-title {
    font-size: 28px;
  }

  .casehug-code {
    width: 100%;
    flex-basis: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
  }

  .casehug-code-label {
    margin: 0;
  }

  .casehug-bonuses {
    flex-direction: column;
    gap: 10px;
  }

  .casehug-bonus {
    min-height: 70px;
  }

  .casehug-actions {
    flex-direction: column;
    gap: 10px;
  }

  .casehug-btn {
    width: 100%;
    flex: 0 0 auto;
  }

  .casehug-drop {
    padding-top: 4px;
  }

  .casehug-skin {
    max-width: 100%;
    min-height: 275px;
  }

  .casehug-skin-ribbon {
    right: 50%;
    top: 4px;
    min-width: 118px;
    padding: 8px 16px 9px;
    transform: translateX(50%) rotate(10deg);
    font-size: 13px;
  }

  .casehug-skin-img {
    height: 170px;
    transform: rotate(-5deg) translateZ(0);
  }

  .casehug-skin:hover .casehug-skin-img {
    transform: rotate(-3deg) translateY(-4px) scale(1.03);
  }

  .casehug-skin:hover .casehug-skin-ribbon {
    transform: translateX(50%) rotate(7deg) translateY(-2px);
  }

  .casehug-skin-info {
    margin-top: 16px;
  }

  .casehug-skin-info strong {
    font-size: 22px;
    white-space: normal;
  }

  .casehug-skin-info small {
    font-size: 15px;
  }
}

@media (max-width: 520px) {
  .casehug-section {
    margin-top: 50px;
  }

  .casehug-card {
    padding: 20px;
    gap: 30px;
    border-radius: 24px;
  }

  .casehug-brand {
    gap: 12px;
  }

  .casehug-logo {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
    padding: 6px;
    border-radius: 14px;
  }

  .casehug-eyebrow {
    font-size: 8px;
    letter-spacing: 0.14em;
  }

  .casehug-title {
    font-size: 24px;
    letter-spacing: 0.08em;
  }

  .casehug-subtitle {
    font-size: 9px;
  }

  .casehug-code {
    padding: 12px 13px;
  }

  .casehug-code-value {
    font-size: 20px;
  }

  .casehug-bonus {
    min-height: 66px;
    padding: 12px 13px;
    border-radius: 16px;
  }

  .casehug-bonus-icon {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
    border-radius: 13px;
  }

  .casehug-bonus-icon svg {
    width: 20px;
    height: 20px;
  }

  .casehug-bonus-copy strong {
    font-size: 21px;
  }

  .casehug-bonus-copy small {
    font-size: 7.5px;
  }

  .casehug-btn {
    min-height: 50px;
    font-size: 12px;
    letter-spacing: 0.08em;
  }

  .casehug-skin {
    min-height: 245px;
  }

  .casehug-skin-ribbon {
    min-width: 108px;
    padding: 7px 14px 8px;
    font-size: 12px;
  }

  .casehug-skin-img {
    height: 145px;
  }

  .casehug-skin-info {
    margin-top: 14px;
  }

  .casehug-skin-info strong {
    font-size: 20px;
  }

  .casehug-skin-info small {
    font-size: 14px;
  }
}

@media (max-width: 390px) {
  .casehug-card {
    padding: 18px;
  }

  .casehug-title {
    font-size: 22px;
  }

  .casehug-code {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .casehug-bonus {
    align-items: flex-start;
  }

  .casehug-skin {
    min-height: 228px;
  }

  .casehug-skin-img {
    height: 128px;
  }
}