/* Extracted from unsubscribe.html. */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif !important;
}
html,
body {
  background: #0b0f0f !important;
  color: #fff;
  -webkit-font-smoothing: antialiased;
  margin: 0;
  padding: 0;
}
.wp-site-blocks,
.entry-content,
.wp-block-post-content,
.page-content,
.is-layout-constrained,
.is-layout-flow {
  background: #0b0f0f !important;
}
header,
.site-header,
#masthead,
.wp-block-post-title,
.entry-header,
.page-header {
  display: none !important;
}
footer,
.site-footer {
  display: none !important;
}
.unsub-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  padding: 80px 24px 80px 24px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
/* -- Ambient glow -- */
.unsub-ambient {
  position: fixed;
  top: 0;
  left: 50%;
  width: 800px;
  height: 500px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(89, 204, 128, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  animation: fadeUp 0.6s ease-out 0.6s forwards;
}
/* -- Logo -- */
.unsub-logo-wrap {
  position: relative;
  margin-bottom: 48px;
  opacity: 0;
  animation: fadeUp 0.6s ease-out 0.3s forwards;
}
.unsub-logo-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 180px;
  height: 180px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(89, 204, 128, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  animation: fadeUp 0.6s ease-out 0.3s forwards, logoPulse 2s ease-in-out 0.9s infinite;
}
.unsub-logo {
  position: relative;
  z-index: 1;
  display: block;
  width: 140px;
  height: auto;
  filter: drop-shadow(0 0 40px rgba(89, 204, 128, 0.3));
}
/* -- Step containers -- */
.unsub-step {
  display: none;
  width: 100%;
}
.unsub-step.active {
  display: block;
  animation: fadeUp 0.4s ease-out forwards;
}
/* -- Text -- */
.unsub-title {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.unsub-subtitle {
  font-size: 15px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  line-height: 1.5;
  margin-bottom: 32px;
}
/* -- Form -- */
.unsub-form {
  width: 100%;
}
.unsub-field {
  margin-bottom: 16px;
  width: 100%;
}
.unsub-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.unsub-input {
  width: 100%;
  background: #161719 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 10px !important;
  padding: 13px 16px !important;
  color: #fff !important;
  font-size: 15px !important;
  outline: none !important;
  transition: border-color 0.2s ease;
}
.unsub-input:focus {
  border-color: rgba(255, 255, 255, 0.15) !important;
}
.unsub-input::placeholder {
  color: rgba(255, 255, 255, 0.18) !important;
}
.unsub-input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 30px #0b0f0f inset !important;
  -webkit-text-fill-color: #fff !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}
/* -- Buttons -- */
.unsub-btn {
  width: 100%;
  border: none;
  border-radius: 10px;
  padding: 14px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}
.unsub-btn:active {
  transform: scale(0.98);
}
.unsub-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.unsub-btn-primary {
  background: #59CC80;
  color: #0b0f0f;
}
.unsub-btn-primary:hover {
  background: #65d48a;
  box-shadow: 0 2px 20px rgba(89, 204, 128, 0.2);
}
.unsub-btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.6);
  margin-top: 12px;
}
.unsub-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.unsub-btn-danger {
  background: rgba(231, 76, 60, 0.12);
  color: #e74c3c;
  margin-top: 12px;
}
.unsub-btn-danger:hover {
  background: rgba(231, 76, 60, 0.2);
}
/* -- Coupon card -- */
.unsub-coupon {
  background: linear-gradient(135deg, rgba(89, 204, 128, 0.08) 0%, rgba(89, 204, 128, 0.02) 100%);
  border: 1px solid rgba(89, 204, 128, 0.2);
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 24px;
  text-align: center;
}
.unsub-coupon-tag {
  display: inline-block;
  background: rgba(89, 204, 128, 0.15);
  color: #59CC80;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.unsub-coupon-title {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.unsub-coupon-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.4;
  margin-bottom: 16px;
}
.unsub-coupon-code {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px dashed rgba(89, 204, 128, 0.4);
  border-radius: 10px;
  padding: 12px 24px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.unsub-coupon-code:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(89, 204, 128, 0.6);
}
.unsub-coupon-code-text {
  font-size: 22px;
  font-weight: 800;
  color: #59CC80;
  letter-spacing: 0.06em;
}
.unsub-coupon-copy {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 500;
  transition: color 0.2s ease;
}
.unsub-coupon-code:hover .unsub-coupon-copy {
  color: rgba(255, 255, 255, 0.7);
}
.unsub-coupon-copied {
  color: #59CC80 !important;
}
.unsub-coupon-code.blurred .unsub-coupon-code-text {
  filter: blur(8px);
  user-select: none;
  pointer-events: none;
}
.unsub-coupon-code.blurred {
  cursor: default;
}
.unsub-coupon-code.blurred .unsub-coupon-copy {
  display: none;
}
.unsub-coupon-lock {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  font-weight: 500;
  margin-top: 10px;
}
/* -- Message -- */
.unsub-msg {
  text-align: center;
  font-size: 14px;
  margin-top: 16px;
  min-height: 20px;
}
.unsub-msg.success {
  color: #59CC80;
}
.unsub-msg.error {
  color: #e74c3c;
}
/* -- Reason select -- */
.unsub-reasons {
  margin-bottom: 20px;
}
.unsub-reason {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.unsub-reason:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}
.unsub-reason.selected {
  background: rgba(231, 76, 60, 0.06);
  border-color: rgba(231, 76, 60, 0.25);
}
.unsub-reason-radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: all 0.2s ease;
}
.unsub-reason.selected .unsub-reason-radio {
  border-color: #e74c3c;
  background: #e74c3c;
  box-shadow: inset 0 0 0 3px #0b0f0f;
}
.unsub-reason-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}
.unsub-reason.selected .unsub-reason-text {
  color: #fff;
}
/* -- Success state -- */
.unsub-success-icon {
  font-size: 48px;
  margin-bottom: 16px;
  text-align: center;
}
.unsub-success-title {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  text-align: center;
}
.unsub-success-text {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
  margin-bottom: 32px;
  text-align: center;
}
.unsub-return {
  display: block;
  text-align: center;
  color: #59CC80;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.unsub-return:hover {
  opacity: 0.8;
}
/* -- Footer -- */
.unsub-footer {
  margin-top: 32px;
  text-align: center;
  opacity: 0;
  animation: fadeUp 0.6s ease-out 0.75s forwards;
}
.unsub-footer a {
  color: rgba(255, 255, 255, 0.35);
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s ease;
}
.unsub-footer a:hover {
  color: #59CC80;
}
/* -- Animations -- */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes logoPulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.15);
    opacity: 0.6;
  }
}
/* -- Responsive -- */
@media (max-width: 480px) {
  .unsub-card {
    padding: 120px 20px 120px 20px;
  }
  .unsub-logo-wrap {
    margin-bottom: 36px;
  }
  .unsub-logo {
    width: 120px;
  }
  .unsub-coupon-code-text {
    font-size: 18px;
  }
}
