/* ============================================================
   Iron Sushi — Instagram Follow Popup
   ============================================================ */

.ig-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 8, 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000000;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.ig-backdrop.ig-open {
  opacity: 1;
  pointer-events: all;
}

/* Card */
.ig-card {
  background: #fff;
  border-radius: 20px;
  max-width: 380px;
  width: 100%;
  padding: 32px 28px 28px;
  text-align: center;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
  transform: scale(0.88) translateY(20px);
  transition: transform 0.42s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.2s ease;
  opacity: 0;
}
.ig-backdrop.ig-open .ig-card {
  transform: scale(1) translateY(0);
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .ig-backdrop,
  .ig-card {
    transition: opacity 0.15s ease !important;
    transform: none !important;
  }
}

/* Close button */
.ig-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: #f0f0f0;
  color: #555;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s;
}
.ig-close:hover { background: #e0e0e0; color: #111; }
.ig-close:focus-visible { outline: 3px solid #1569f6; outline-offset: 2px; }

/* Logo */
.ig-logo {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 14px;
  display: block;
  box-shadow: 0 2px 10px rgba(0,0,0,0.12);
}

/* Pill label */
.ig-label {
  display: inline-block;
  background: #f5c842;
  color: #6b4a00;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  border-radius: 100px;
  padding: 3px 12px;
  margin-bottom: 10px;
}

/* Heading */
.ig-heading {
  font-size: 1.35rem;
  font-weight: 800;
  color: #111;
  margin: 0 0 8px;
  line-height: 1.2;
}

/* Subtitle */
.ig-subtitle {
  font-size: 0.88rem;
  color: #666;
  margin: 0 0 22px;
  line-height: 1.5;
}

/* Follow button */
.ig-follow-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #111;
  color: #fff;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: 100px;
  padding: 13px 28px;
  width: 100%;
  transition: background 0.15s, transform 0.15s;
  box-sizing: border-box;
}
.ig-follow-btn:hover { background: #333; transform: translateY(-1px); }
.ig-follow-btn:focus-visible { outline: 3px solid #1569f6; outline-offset: 3px; }
.ig-follow-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex-shrink: 0;
}

/* Skip button */
.ig-skip {
  display: block;
  margin: 14px auto 0;
  background: none;
  border: none;
  color: #999;
  font-size: 0.82rem;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: color 0.15s;
}
.ig-skip:hover { color: #444; }
.ig-skip:focus-visible { outline: 3px solid #1569f6; outline-offset: 2px; }
