/* ============================================================
   RISH STUDIO - MINIMAL EDITORIAL DRIBBLE INTERSTITIAL LOADER
   "In Powered By Dribble"
   Tailored to Rish's authentic brand and website aesthetic.
   ============================================================ */

.rish-dribbble-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(249, 248, 245, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.28s;
}

.rish-dribbble-overlay.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.rish-dribbble-modal {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: #ffffff;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 20px;
  padding: 36px 32px 28px;
  text-align: center;
  color: #111111;
  box-shadow: 0 24px 60px -15px rgba(17, 17, 17, 0.12), 0 0 1px rgba(17, 17, 17, 0.08);
  transform: scale(0.97) translateY(6px);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: var(--tp-ff-inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
}

.rish-dribbble-overlay.is-active .rish-dribbble-modal {
  transform: scale(1) translateY(0);
}

.rish-dribbble-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(17, 17, 17, 0.08);
  background: #faf9f6;
  color: #666666;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  line-height: 1;
  transition: all 0.2s ease;
}

.rish-dribbble-close:hover {
  background: #111111;
  color: #ffffff;
  border-color: #111111;
}

.rish-dribbble-brand-row {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.rish-dribbble-logo {
  width: 112px;
  height: auto;
  max-height: 80px;
  object-fit: contain;
  display: block;
}

.rish-dribbble-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #f4f2ec;
  border: 1px solid rgba(17, 17, 17, 0.07);
  color: #222222;
  padding: 5px 13px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.rish-dribbble-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ea4c89;
}

.rish-dribbble-heading {
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.25;
  color: #111111;
  margin: 0 0 10px 0;
  text-transform: lowercase;
}

.rish-dribbble-desc {
  font-size: 14px;
  line-height: 1.55;
  color: #555555;
  margin: 0 0 24px 0;
}

.rish-dribbble-progress-container {
  width: 100%;
  margin-bottom: 22px;
}

.rish-dribbble-progress-track {
  width: 100%;
  height: 3px;
  background: rgba(17, 17, 17, 0.07);
  border-radius: 999px;
  overflow: hidden;
}

.rish-dribbble-progress-bar {
  width: 0%;
  height: 100%;
  background: #111111;
  border-radius: 999px;
  transition: width 0.05s linear;
}

.rish-dribbble-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  font-size: 12px;
}

.rish-dribbble-url {
  color: #888888;
  font-family: monospace, sans-serif;
  font-size: 11.5px;
  letter-spacing: -0.01em;
}

.rish-dribbble-counter {
  color: #111111;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  font-size: 12px;
}

.rish-dribbble-footer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid rgba(17, 17, 17, 0.08);
}

.rish-dribbble-cancel-btn {
  background: transparent;
  border: none;
  color: #777777;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 999px;
  transition: color 0.2s ease;
}

.rish-dribbble-cancel-btn:hover {
  color: #111111;
}

.rish-dribbble-primary-btn {
  background: #111111;
  color: #ffffff !important;
  border: 1px solid #111111;
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.rish-dribbble-primary-btn:hover {
  background: #333333;
  border-color: #333333;
  transform: translateY(-1px);
}
