/* IceyMods Content Locker & Verification Styles */

.icey-locker-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: iceyFadeIn 0.22s ease-out;
}

@keyframes iceyFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes iceySlideUp {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.icey-locker-card {
  background: var(--bg-secondary, #ffffff);
  color: var(--text-primary, #111827);
  border-radius: 20px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
  max-width: 490px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: iceySlideUp 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid var(--border-color, #e5e7eb);
  font-family: "Lexend", sans-serif;
}

.icey-locker-header {
  padding: 22px 20px 14px 20px;
  text-align: center;
  border-bottom: 1px solid var(--border-color, #e5e7eb);
  position: relative;
  background: var(--bg-secondary, #ffffff);
}

.icey-locker-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border-color, #e5e7eb);
  background: var(--bg-tertiary, #f3f4f6);
  color: var(--text-secondary, #6b7280);
  font-size: 18px;
  line-height: 30px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icey-locker-close:hover {
  background: #ef4444;
  color: #ffffff;
  border-color: #ef4444;
}

.icey-locker-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(20, 212, 107, 0.12);
  color: #10b981;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 10px;
  border: 1px solid rgba(20, 212, 107, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.icey-locker-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary, #111827);
  margin: 0 0 6px 0;
  line-height: 1.3;
}

.icey-locker-subtitle {
  font-size: 0.85rem;
  color: var(--text-secondary, #6b7280);
  margin: 0;
  line-height: 1.45;
}

.icey-locker-body {
  padding: 16px 20px;
  overflow-y: auto;
  flex: 1;
}

.icey-locker-step {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-tertiary, #f3f4f6);
  padding: 10px 14px;
  border-radius: 12px;
  margin-bottom: 14px;
  font-size: 0.82rem;
  color: var(--text-secondary, #6b7280);
  border: 1px solid var(--border-color, #e5e7eb);
}

.icey-locker-step b {
  color: #14d46b;
}

.icey-offers-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.icey-offer-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--bg-tertiary, #f3f4f6);
  border: 1.5px solid var(--border-color, #e5e7eb);
  border-radius: 14px;
  text-decoration: none !important;
  color: inherit;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.icey-offer-item:hover {
  border-color: #14d46b;
  transform: translateY(-1.5px);
  box-shadow: 0 4px 12px rgba(20, 212, 107, 0.15);
}

.icey-offer-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  background: rgba(0, 0, 0, 0.05);
}

.icey-offer-info {
  flex: 1;
  min-width: 0;
}

.icey-offer-name {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary, #111827);
  margin: 0 0 2px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.icey-offer-desc {
  font-size: 0.78rem;
  color: var(--text-secondary, #6b7280);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.icey-offer-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 7px 14px;
  background: #14d46b;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 10px;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(20, 212, 107, 0.25);
  transition: background 0.18s;
}

.icey-offer-item:hover .icey-offer-btn {
  background: #0ea853;
}

.icey-locker-footer {
  padding: 14px 20px 18px 20px;
  border-top: 1px solid var(--border-color, #e5e7eb);
  background: var(--bg-secondary, #ffffff);
  text-align: center;
}

.icey-check-btn {
  width: 100%;
  padding: 13px;
  background: #14d46b;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s;
  box-shadow: 0 4px 14px rgba(20, 212, 107, 0.3);
}

.icey-check-btn:hover {
  background: #0ea853;
  transform: translateY(-1px);
}

.icey-check-btn:disabled {
  opacity: 0.75;
  cursor: not-allowed;
  transform: none;
}

.icey-footer-note {
  font-size: 0.74rem;
  color: var(--text-secondary, #9ca3af);
  margin: 10px 0 0 0;
}

.icey-loading-offers {
  text-align: center;
  padding: 30px 10px;
  color: var(--text-secondary, #6b7280);
}

.icey-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid rgba(20, 212, 107, 0.2);
  border-top-color: #14d46b;
  border-radius: 50%;
  margin: 0 auto 12px auto;
  animation: iceySpin 0.7s linear infinite;
}

@keyframes iceySpin {
  to { transform: rotate(360deg); }
}
