/* TweakMod Content Locker Styles */
.tweak-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.86);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: tmFadeIn 0.25s ease-out;
}

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

@keyframes tmSlideUp {
  from { opacity: 0; transform: translateY(24px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.tweak-modal-card {
  background: #020a09;
  border-radius: 14px;
  box-shadow: 0 15px 45px rgba(0, 191, 165, 0.15), 0 8px 24px rgba(0, 0, 0, 0.8);
  max-width: 460px;
  width: 100%;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: tmSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: 'Exo 2', Arial, sans-serif;
  border: 1px solid rgba(0, 191, 165, 0.3);
}

.tweak-modal-header {
  padding: 20px 20px 14px 20px;
  text-align: center;
  background: #000f0d;
  border-bottom: 1px solid rgba(0, 191, 165, 0.2);
  position: relative;
}

.tweak-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(227, 249, 246, 0.08);
  color: #e3f9f6;
  font-size: 20px;
  line-height: 32px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tweak-modal-close:hover {
  background: rgba(0, 191, 165, 0.25);
  color: #00bfa5;
}

.tweak-badge-lock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 191, 165, 0.12);
  color: #00bfa5;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 10px;
  border: 1px solid rgba(0, 191, 165, 0.35);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tweak-modal-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #e3f9f6;
  margin: 0 0 6px 0;
  line-height: 1.3;
}

.tweak-modal-subtitle {
  font-size: 0.88rem;
  color: #80cbc4;
  margin: 0;
  line-height: 1.45;
}

.tweak-modal-body {
  padding: 16px 18px;
  overflow-y: auto;
  flex: 1;
}

.tweak-step-indicator {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #001412;
  padding: 10px 14px;
  border-radius: 8px;
  margin-bottom: 14px;
  font-size: 0.84rem;
  color: #80cbc4;
  border: 1px solid rgba(0, 191, 165, 0.2);
}

.tweak-step-indicator b {
  color: #00bfa5;
}

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

.tweak-offer-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: #001412;
  border: 1px solid rgba(0, 191, 165, 0.22);
  border-radius: 8px;
  text-decoration: none !important;
  color: inherit;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.tweak-offer-item:hover {
  background: #001f1b;
  border-color: #00bfa5;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 191, 165, 0.18);
}

.tweak-offer-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  background: #002924;
  border: 1px solid rgba(0, 191, 165, 0.2);
}

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

.tweak-offer-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #e3f9f6;
  margin: 0 0 3px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tweak-offer-desc {
  font-size: 0.8rem;
  color: #80cbc4;
  margin: 0;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tweak-offer-btn {
  padding: 8px 14px;
  background: linear-gradient(to left, #00bfa5, #00695c);
  color: #e3f9f6;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  border: 1px solid #00bfa5;
  transition: all 0.2s;
}

.tweak-offer-item:hover .tweak-offer-btn {
  background: linear-gradient(to left, #00e5c5, #00897b);
}

.tweak-modal-footer {
  padding: 14px 20px 18px 20px;
  background: #000f0d;
  border-top: 1px solid rgba(0, 191, 165, 0.2);
  text-align: center;
}

.tweak-check-btn {
  width: 100%;
  padding: 13px;
  background: linear-gradient(to left, #00bfa5, #00695c);
  color: #ffffff;
  border: 2px solid #00695c;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s;
}

.tweak-check-btn:hover:not(:disabled) {
  background: linear-gradient(to left, #00997f, #00524a);
  border-color: #00524a;
}

.tweak-footer-note {
  font-size: 0.74rem;
  color: #80cbc4;
  margin: 10px 0 0 0;
  opacity: 0.85;
}

.tweak-loading-offers {
  text-align: center;
  padding: 30px 10px;
  color: #80cbc4;
  font-size: 0.9rem;
}

.tweak-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid rgba(0, 191, 165, 0.2);
  border-top-color: #00bfa5;
  border-radius: 50%;
  animation: tmSpin 0.8s linear infinite;
  margin: 0 auto 12px auto;
}

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