/* 300x400 fixed-size creative (no external deps) */
html,
body {
  width: 300px;
  height: 400px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: transparent;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.ad {
  position: relative;
  width: 300px;
  height: 400px;
  display: flex;
  flex-direction: column;
  padding: 14px 14px 12px;
  box-sizing: border-box;
  text-decoration: none;
  color: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(260px 240px at 25% 18%, rgba(255, 205, 74, 0.62), rgba(0, 0, 0, 0) 60%),
    radial-gradient(320px 280px at 90% 75%, rgba(65, 200, 255, 0.55), rgba(0, 0, 0, 0) 62%),
    linear-gradient(180deg, #10131c, #0a0d13);
}

.grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, rgba(255, 255, 255, 0) 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, rgba(255, 255, 255, 0) 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(240px 320px at 50% 35%, #000 55%, transparent 100%);
  opacity: 0.55;
}

.top,
.mid,
.bottom {
  position: relative;
  z-index: 2;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.14em;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.08);
}

.tag {
  font-size: 10px;
  letter-spacing: 0.12em;
  font-weight: 900;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.mid {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.headline {
  font-size: 28px;
  line-height: 1.05;
  font-weight: 950;
  letter-spacing: -0.02em;
}

.sub {
  font-size: 13px;
  opacity: 0.9;
  line-height: 1.3;
}

.feature {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.pill {
  font-size: 11px;
  font-weight: 900;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(6px);
}

.bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 950;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

.arrow {
  transition: transform 180ms ease;
}

.ad:hover .arrow {
  transform: translateX(3px);
}

.fine {
  font-size: 11px;
  opacity: 0.8;
}

.shine {
  position: absolute;
  top: -140px;
  left: -260px;
  width: 260px;
  height: 300px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.24),
    rgba(255, 255, 255, 0)
  );
  transform: rotate(22deg);
  opacity: 0.85;
  animation: sweep 3.2s ease-in-out infinite;
  pointer-events: none;
}

@keyframes sweep {
  0% {
    transform: translateX(0) rotate(22deg);
    opacity: 0;
  }
  16% {
    opacity: 0.85;
  }
  55% {
    transform: translateX(640px) rotate(22deg);
    opacity: 0.35;
  }
  100% {
    transform: translateX(640px) rotate(22deg);
    opacity: 0;
  }
}

