/* ==========================================================================
   REALMINT CREATIONS — DESKTOP SERVICES WITH EMBEDDED PORTFOLIO DELIVERABLES
   Dedicated High-Fidelity UI for Core Services on Desktop (>= 769px)
   ========================================================================== */

/* Card Layout & Header */
.service-card-with-portfolio {
  display: flex !important;
  flex-direction: column !important;
  height: 100%;
  position: relative;
  background: var(--bg-glass-card);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.service-card-with-portfolio:hover {
  transform: translateY(-6px);
  border-color: var(--border-gold);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 24px var(--accent-gold-glow);
}

.service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.9rem;
}

.service-count-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-gold);
  background: rgba(207, 150, 69, 0.1);
  border: 1px solid var(--border-gold);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.service-card-with-portfolio h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 0.5rem;
  line-height: 1.3;
}

.service-card-desc {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.5;
  margin: 0 0 1.2rem;
  min-height: 48px;
}

/* --------------------------------------------------------------------------
   Embedded Deliverable Showcase Box
   -------------------------------------------------------------------------- */
.service-deliverable-box {
  margin-bottom: 1.25rem;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 0.6rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.service-card-with-portfolio:hover .service-deliverable-box {
  border-color: rgba(207, 150, 69, 0.35);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.service-deliverable-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  background: #0A0A0E;
  cursor: pointer;
  display: block;
}

.service-deliverable-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
}

.service-deliverable-media:hover .service-deliverable-poster {
  transform: scale(1.05);
  filter: brightness(1.08);
}

/* Platform Tag Badge Overlay */
.service-deliverable-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(8, 8, 12, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  padding: 0.22rem 0.6rem;
  font-size: 0.68rem;
  font-weight: 700;
  color: #FFFFFF;
  z-index: 3;
}

.service-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-gold);
  box-shadow: 0 0 6px var(--accent-gold);
  display: inline-block;
  animation: servicePulse 2s ease-in-out infinite;
}

@keyframes servicePulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}

/* Center Play Button Overlay */
.service-play-btn-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  transition: background 0.25s ease;
  z-index: 2;
}

.service-deliverable-media:hover .service-play-btn-wrap {
  background: rgba(0, 0, 0, 0.2);
}

.service-play-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-gold), #B87C28);
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6), 0 0 16px var(--accent-gold-glow);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

.service-play-btn svg {
  margin-left: 2px;
}

.service-deliverable-media:hover .service-play-btn {
  transform: scale(1.15);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.8), 0 0 25px var(--accent-gold);
}

/* Bottom Title Bar */
.service-deliverable-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 0.75rem 0.5rem;
  background: linear-gradient(to top, rgba(5, 5, 8, 0.96) 0%, rgba(5, 5, 8, 0.7) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  z-index: 3;
  pointer-events: none;
}

.service-deliverable-label {
  font-size: 0.64rem;
  font-weight: 800;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.service-deliverable-title {
  font-size: 0.84rem;
  font-weight: 700;
  color: #FFFFFF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* --------------------------------------------------------------------------
   Mini Sample Switcher Pills
   -------------------------------------------------------------------------- */
.service-sample-tabs {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.55rem;
}

.service-sample-tab {
  flex: 1;
  padding: 0.35rem 0.45rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.73rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.service-sample-tab:hover {
  background: rgba(255, 255, 255, 0.09);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.2);
}

.service-sample-tab.active {
  background: rgba(207, 150, 69, 0.18);
  border-color: var(--border-gold);
  color: var(--accent-gold);
  font-weight: 700;
  box-shadow: 0 0 10px rgba(207, 150, 69, 0.15);
}

/* --------------------------------------------------------------------------
   Service Card Action Bar (Dual CTA)
   -------------------------------------------------------------------------- */
.service-card-actions {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.service-card-actions .service-detail-btn {
  padding: 0.5rem 1rem;
  font-size: 0.82rem;
  border-radius: var(--radius-full);
}

.service-vault-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}

.service-vault-link:hover {
  color: var(--accent-gold);
  transform: translateY(1px);
}

.service-vault-link svg {
  transition: transform 0.2s ease;
}

.service-vault-link:hover svg {
  transform: translateY(2px);
}
