.arm-rewarded-box {
  grid-column: 1 / -1;
  margin: 30px auto;
  padding: 24px 18px;
  width: min(100%, 600px);
  text-align: center;
  background: #fff7ef;
  border: 1px solid #ffe0bf;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  box-sizing: border-box;
  position: relative;
  z-index: 3;
}

.arm-rewarded-lock {
  border-width: 2px;
}

.arm-rewarded-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin: 0 auto 12px;
  border-radius: 999px;
  background: rgba(255, 138, 0, 0.12);
  font-size: 22px;
  line-height: 1;
}

.arm-rewarded-title {
  margin: 0 0 14px;
  color: #222;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 800;
}

.arm-rewarded-btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 26px;
  border-radius: 10px;
  background: var(--arm-rewarded-color, #ff8a00);
  color: #fff !important;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none !important;
  box-shadow: 0 6px 16px rgba(255, 138, 0, 0.28);
}

.arm-rewarded-btn:hover,
.arm-rewarded-btn:focus {
  filter: brightness(0.95);
  color: #fff !important;
}

.arm-rewarded-helper {
  margin: 12px auto 0;
  max-width: 440px;
  color: #666;
  font-size: 13px;
  line-height: 1.45;
}

.arm-rewarded-box.is-unlocking .arm-rewarded-btn {
  pointer-events: none;
  opacity: 0.75;
}

.arm-rewarded-box.is-unlocked {
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .25s ease, transform .25s ease;
}

.arm-locked-content {
  display: none !important;
}

@media (max-width: 640px) {
  .arm-rewarded-box {
    margin: 24px auto;
    padding: 20px 14px;
    border-radius: 16px;
  }

  .arm-rewarded-title {
    font-size: 17px;
  }

  .arm-rewarded-btn {
    width: 100%;
    max-width: 330px;
  }
}

/* WhatsApp capture CTA */
.arm-whatsapp-cta {
  grid-column: 1 / -1;
  display: flex;
  gap: 16px;
  align-items: center;
  margin: 30px auto;
  padding: 22px 20px;
  width: min(100%, 680px);
  box-sizing: border-box;
  background: #f0fff6;
  border: 1px solid rgba(37, 211, 102, 0.28);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.07);
}

.arm-whatsapp-cta-icon {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: rgba(37, 211, 102, 0.14);
  font-size: 24px;
  line-height: 1;
}

.arm-whatsapp-cta-content {
  flex: 1 1 auto;
  min-width: 0;
}

.arm-whatsapp-cta-title {
  margin: 0 0 7px;
  color: #15251b;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
}

.arm-whatsapp-cta-text {
  margin: 0 0 14px;
  color: #405146;
  font-size: 14px;
  line-height: 1.5;
}

.arm-whatsapp-cta-button,
.arm-whatsapp-popup-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 13px 20px;
  border: 0;
  border-radius: 999px;
  background: var(--arm-whatsapp-color, #25D366);
  color: #fff !important;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none !important;
  box-shadow: 0 8px 18px rgba(37, 211, 102, 0.25);
  cursor: pointer;
}

.arm-whatsapp-cta-button:hover,
.arm-whatsapp-cta-button:focus,
.arm-whatsapp-popup-button:hover,
.arm-whatsapp-popup-button:focus {
  filter: brightness(0.94);
  color: #fff !important;
}

.arm-whatsapp-cta-helper {
  margin: 10px 0 0;
  color: #6a756e;
  font-size: 12px;
  line-height: 1.45;
}

/* WhatsApp popup */
.arm-whatsapp-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(17, 24, 39, 0.48);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, visibility .2s ease;
}

.arm-whatsapp-popup-overlay.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.arm-whatsapp-popup {
  position: relative;
  width: min(100%, 460px);
  padding: 30px 24px 24px;
  box-sizing: border-box;
  text-align: center;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 22px 80px rgba(0,0,0,0.22);
  transform: translateY(10px) scale(.98);
  transition: transform .22s ease;
}

.arm-whatsapp-popup-overlay.is-active .arm-whatsapp-popup {
  transform: translateY(0) scale(1);
}

.arm-whatsapp-popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: #f2f3f5;
  color: #555;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.arm-whatsapp-popup-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  margin: 0 auto 16px;
  border-radius: 999px;
  background: rgba(37, 211, 102, 0.13);
  font-size: 32px;
  line-height: 1;
}

.arm-whatsapp-popup-title {
  margin: 0 0 10px;
  color: #121212;
  font-size: 24px;
  line-height: 1.22;
  font-weight: 900;
}

.arm-whatsapp-popup-text {
  margin: 0 auto 20px;
  max-width: 360px;
  color: #555;
  font-size: 15px;
  line-height: 1.55;
}

.arm-whatsapp-popup-button {
  width: 100%;
  max-width: 320px;
}

.arm-whatsapp-popup-decline {
  display: block;
  margin: 14px auto 0;
  border: 0;
  background: transparent;
  color: #777;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 640px) {
  .arm-whatsapp-cta {
    display: block;
    text-align: center;
    padding: 20px 16px;
    border-radius: 16px;
  }

  .arm-whatsapp-cta-icon {
    margin: 0 auto 12px;
  }

  .arm-whatsapp-cta-button {
    width: 100%;
    max-width: 330px;
  }

  .arm-whatsapp-popup {
    padding: 28px 18px 22px;
    border-radius: 20px;
  }

  .arm-whatsapp-popup-title {
    font-size: 22px;
  }
}

/* Lightweight cookies/LGPD notice */
.arm-cookie-notice {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 999998;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px 14px;
  max-width: 860px;
  margin: 0 auto;
  padding: 12px 14px;
  box-sizing: border-box;
  border-radius: 16px;
  box-shadow: 0 14px 42px rgba(0,0,0,.16);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}

.arm-cookie-notice.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.arm-cookie-notice.is-hiding {
  opacity: 0;
  transform: translateY(8px);
}

.arm-cookie-notice--light {
  background: rgba(255,255,255,.98);
  color: #263238;
  border: 1px solid rgba(0,0,0,.08);
}

.arm-cookie-notice--dark {
  background: rgba(25,31,40,.98);
  color: #f8fafc;
  border: 1px solid rgba(255,255,255,.1);
}

.arm-cookie-notice-text {
  grid-column: 1 / 2;
  margin: 0;
  color: inherit;
  font-size: 13px;
  line-height: 1.4;
}

.arm-cookie-notice-links {
  grid-column: 1 / 2;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: -2px;
  font-size: 12px;
  line-height: 1.2;
}

.arm-cookie-notice-links a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  opacity: .82;
}

.arm-cookie-notice-actions {
  grid-column: 2 / 3;
  grid-row: 1 / span 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.arm-cookie-notice-accept {
  appearance: none;
  border: 0;
  cursor: pointer;
  min-height: 38px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #111827;
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  line-height: 1;
}

.arm-cookie-notice--dark .arm-cookie-notice-accept {
  background: #fff;
  color: #111827;
}

@media (max-width: 640px) {
  .arm-cookie-notice {
    left: 10px;
    right: 10px;
    bottom: 10px;
    grid-template-columns: 1fr;
    padding: 11px 12px;
    border-radius: 14px;
  }

  .arm-cookie-notice-text,
  .arm-cookie-notice-links,
  .arm-cookie-notice-actions {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .arm-cookie-notice-text {
    font-size: 12px;
    line-height: 1.35;
  }

  .arm-cookie-notice-actions {
    justify-content: flex-start;
  }

  .arm-cookie-notice-accept {
    min-height: 36px;
    padding: 9px 15px;
  }
}
