/* ============================================
   05-thumbnails.css — All custom gig thumbnails
   ============================================ */

/* Code editor */
.thumb-code {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0d1117, #161b22);
  padding: 14px;
  display: flex;
  flex-direction: column;
}
.thumb-code-h {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 10px;
}
.thumb-code-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.thumb-code-dot.r { background: #ff5f57; }
.thumb-code-dot.y { background: #ffbd2e; }
.thumb-code-dot.g { background: #28ca42; }
.thumb-code-tab {
  font-size: 9px;
  color: #7d8590;
  margin-left: 8px;
  font-family: 'IBM Plex Mono', monospace;
}
.thumb-code-body {
  flex: 1;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  line-height: 1.7;
}
.cl {
  display: flex;
  gap: 6px;
  color: #7d8590;
}
.cl .ln {
  color: #484f58;
  width: 12px;
  text-align: right;
  flex-shrink: 0;
}
.cb { color: #79c0ff; }
.cp { color: #d2a8ff; }
.cg { color: #7ee787; }
.co { color: #ffa657; }
.ck { color: #ff7b72; }

/* Design / Logo */
.thumb-design {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1e1b3a, #3d1857);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  overflow: hidden;
}
.thumb-design::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(168, 85, 247, 0.18), transparent 50%);
  animation: thumb-rotate 22s linear infinite;
}
@keyframes thumb-rotate { to { transform: rotate(360deg); } }
.thumb-design-circle {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ec4899, #a855f7, #3b82f6);
  box-shadow: 0 8px 32px rgba(236, 72, 153, 0.3);
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  font-weight: 800;
  color: #fff;
}
.thumb-design-pal {
  position: absolute;
  bottom: 14px;
  left: 14px;
  display: flex;
  gap: 4px;
  z-index: 2;
}
.thumb-design-sw {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 2px solid rgba(255, 255, 255, 0.12);
}

/* Facebook page */
.thumb-fb {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1877f2, #0c5cd8);
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
}
.thumb-fb-h {
  display: flex;
  align-items: center;
  gap: 9px;
}
.thumb-fb-av {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  color: #1877f2;
}
.thumb-fb-i .name {
  font-size: 11px;
  font-weight: 700;
}
.thumb-fb-i .followers {
  font-size: 9px;
  opacity: 0.85;
  font-family: 'IBM Plex Mono', monospace;
}
.thumb-fb-stats {
  display: flex;
  justify-content: space-around;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 8px;
  backdrop-filter: blur(10px);
}
.thumb-fb-st { text-align: center; }
.thumb-fb-st .v {
  font-size: 13px;
  font-weight: 700;
  font-family: 'IBM Plex Mono', monospace;
}
.thumb-fb-st .l {
  font-size: 8px;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Smart contract */
.thumb-contract {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1a0e3a, #2d1b69 50%, #0c0c2e);
  padding: 14px;
  display: flex;
  flex-direction: column;
}
.thumb-contract-eth {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #627eea, #3c3c3d);
  box-shadow: 0 0 30px rgba(98, 126, 234, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
  font-weight: 800;
}

/* Marketing analytics */
.thumb-mkt {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0c1e3e, #1e3a8a);
  padding: 14px;
  display: flex;
  flex-direction: column;
}
.thumb-mkt-stats {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}
.thumb-mkt-st { font-family: 'IBM Plex Mono', monospace; }
.thumb-mkt-st .v {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.3px;
}
.thumb-mkt-st .l {
  font-size: 8px;
  color: #94a3b8;
  text-transform: uppercase;
  font-weight: 600;
}
.thumb-mkt-st .d {
  font-size: 8px;
  color: var(--accent);
  font-weight: 700;
}
.thumb-mkt-graph { flex: 1; }

/* Writing / document */
.thumb-write {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1a1a2e, #2a2a44);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.thumb-write-h {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 3px;
}
.thumb-write-ico {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  background: linear-gradient(135deg, #ec4899, #f59e0b);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 11px;
}
.thumb-write-t {
  font-size: 10px;
  font-weight: 700;
  color: #fff;
}
.thumb-line {
  height: 5px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  border-radius: 3px;
}
.thumb-line.short { width: 60%; }
.thumb-line.med   { width: 80%; }
.thumb-line.long  { width: 100%; }
.thumb-line.kw {
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.25), rgba(16, 185, 129, 0.08));
  width: 40%;
}

/* Video player */
.thumb-video {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1a0a2e, #2d1b69);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px;
  overflow: hidden;
}
.thumb-video::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 40%, rgba(168, 85, 247, 0.22), transparent 50%);
  pointer-events: none;
}
.thumb-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.4);
  z-index: 2;
  transition: all var(--t-slow);
}
.gig-card:hover .thumb-video-play {
  background: rgba(255, 255, 255, 0.25);
  transform: translate(-50%, -50%) scale(1.1);
}
.thumb-video-play i {
  color: #fff;
  font-size: 20px;
  margin-left: 2px;
}
.thumb-video-bar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 7px;
}
.thumb-video-time {
  font-size: 9px;
  color: #fff;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
}
.thumb-video-progress {
  flex: 1;
  height: 3px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}
.thumb-video-progress::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 35%;
  background: linear-gradient(90deg, #a855f7, #ec4899);
  border-radius: 2px;
}

/* Instagram */
.thumb-ig {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #833ab4, #fd1d1d 50%, #fcb045);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px;
  color: #fff;
}
.thumb-ig-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.thumb-ig-prof {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}
.thumb-ig-stat {
  font-size: 9px;
  font-weight: 700;
  font-family: 'IBM Plex Mono', monospace;
  background: rgba(0, 0, 0, 0.45);
  padding: 4px 8px;
  border-radius: 6px;
  margin-top: 22px;
  backdrop-filter: blur(4px);
}
.thumb-ig-posts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
}
.thumb-ig-post {
  aspect-ratio: 1;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
}
.thumb-ig-bottom {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
}

/* TikTok */
.thumb-tiktok {
  position: absolute;
  inset: 0;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.thumb-tiktok::before {
  content: '';
  position: absolute;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, #ff0050, transparent 70%);
  left: -30%;
  top: -30%;
  animation: tik-glow 3s infinite;
}
.thumb-tiktok::after {
  content: '';
  position: absolute;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, #00f2ea, transparent 70%);
  right: -30%;
  bottom: -30%;
  animation: tik-glow 3s infinite reverse;
}
@keyframes tik-glow {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}
.thumb-tiktok-c {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
}
.thumb-tiktok-num {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -1.5px;
  background: linear-gradient(135deg, #fff, #ff0050);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.thumb-tiktok-l {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
}

/* Discord bot */
.thumb-discord {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #5865f2, #404eed);
  padding: 13px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.thumb-disc-msg {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 6px 9px;
  display: flex;
  align-items: center;
  gap: 7px;
  backdrop-filter: blur(8px);
}
.thumb-disc-av {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(135deg, #fff, #5865f2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  font-weight: 700;
  color: #5865f2;
}
.thumb-disc-t {
  font-size: 9px;
  color: #fff;
  font-family: 'IBM Plex Mono', monospace;
}
.thumb-disc-t .cmd {
  color: #fee75c;
  font-weight: 700;
}
.thumb-disc-bot {
  background: linear-gradient(135deg, #fff, #dde1f0);
}
.thumb-disc-bot .thumb-disc-t {
  color: #5865f2;
}

/* Mobile UI */
.thumb-mobile {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
}
.thumb-mobile-p {
  width: 80px;
  height: 130px;
  background: linear-gradient(135deg, #ec4899, #a855f7);
  border-radius: 13px;
  padding: 7px;
  box-shadow: 0 12px 32px rgba(236, 72, 153, 0.25), 0 0 0 3px rgba(0, 0, 0, 0.4);
}
.thumb-mobile-s {
  height: 100%;
  background: #0a0a12;
  border-radius: 8px;
  padding: 7px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.thumb-mobile-bar {
  height: 3px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
}
.thumb-mobile-card {
  background: rgba(236, 72, 153, 0.2);
  border-radius: 5px;
  padding: 5px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.thumb-mobile-card-l {
  height: 2.5px;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 2px;
}
