.lovarank-detail-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
  background: #ec4899;
  min-height: 100vh;
  box-sizing: border-box;
}

.lovarank-detail-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
  animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.lovarank-detail-header {
  padding: 2.5rem;
  background: #ec4899;
  color: white;
  position: relative;
  overflow: hidden;
}

.lovarank-detail-header::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 70%
  );
  animation: float 8s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) rotate(90deg);
  }
}

.header-content {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
}

.header-info h1 {
  margin: 0 0 0.5rem 0;
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.2;
}

.header-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
  opacity: 0.9;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.back-button {
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.back-button:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
  color: white;
  text-decoration: none;
}

.lovarank-error-notice {
  margin: 2rem;
  padding: 0;
  background: none;
  border: none;
}

.error-content {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
  padding: 2rem;
  border-radius: 16px;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-weight: 500;
  box-shadow: 0 8px 25px rgba(239, 68, 68, 0.3);
  text-align: center;
  justify-content: center;
}

.error-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.error-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.error-subtitle {
  font-size: 0.95rem;
  opacity: 0.9;
}

.detail-content {
  padding: 3rem 2.5rem;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  margin-bottom: 3rem;
}

.main-content {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.sidebar-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.detail-section {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
}

.detail-section:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.section-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 1.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #e5e7eb;
}

.meta-description-section .section-title::before {
  content: "📝";
  font-size: 1.4rem;
}

.content-section .section-title::before {
  content: "📄";
  font-size: 1.4rem;
}

.image-section .section-title::before {
  content: "🖼️";
  font-size: 1.4rem;
}

.details-section .section-title::before {
  content: "ℹ️";
  font-size: 1.4rem;
}

.meta-description-text {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #374151;
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  border-left: 4px solid #4f46e5;
  font-style: italic;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.post-content {
  font-size: 1rem;
  line-height: 1.7;
  color: #374151;
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  max-height: 500px;
  overflow-y: auto;
  border: 1px solid #e5e7eb;
}

.post-content::-webkit-scrollbar {
  width: 6px;
}

.post-content::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 3px;
}

.post-content::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}

.post-content::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

.featured-image {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.featured-image:hover {
  transform: scale(1.02);
}

.no-image-placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  font-size: 1rem;
  border: 2px dashed #d1d5db;
}

.no-image-icon {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  opacity: 0.5;
}

.detail-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px solid #f3f4f6;
}

.detail-item:last-child {
  border-bottom: none;
}

.detail-label {
  font-weight: 600;
  color: #374151;
  font-size: 0.95rem;
  min-width: 80px;
}

.detail-value {
  color: #6b7280;
  font-size: 0.95rem;
  text-align: right;
  flex: 1;
  margin-left: 1rem;
}

.status-badge {
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: capitalize;
  display: inline-block;
}

.status-publish {
  background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
  color: #065f46;
  border: 1px solid #86efac;
}

.status-draft {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: #92400e;
  border: 1px solid #fcd34d;
}

.status-pending {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  color: #1e40af;
  border: 1px solid #93c5fd;
}

.slug-display {
  font-family: "Courier New", monospace;
  background: #f8fafc;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  font-size: 0.85rem;
  color: #4b5563;
  border: 1px solid #e5e7eb;
  word-break: break-all;
}

@media (max-width: 968px) {
  .detail-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .sidebar-content {
    order: -1;
  }
}

@media (max-width: 768px) {
  .lovarank-detail-container {
    padding: 1rem;
  }

  .lovarank-detail-header {
    padding: 2rem 1.5rem;
  }

  .header-content {
    flex-direction: column;
    gap: 1.5rem;
  }

  .header-info h1 {
    font-size: 1.8rem;
  }

  .detail-content {
    padding: 2rem 1.5rem;
  }

  .detail-section {
    padding: 1.5rem;
  }

  .detail-item {
    flex-direction: column;
    gap: 0.5rem;
  }

  .detail-value {
    text-align: left;
    margin-left: 0;
  }
}
