/* LinkedIn Posts Page Styles */
:root {
  --bg: #0a0f1a;
  --surface: #1a2332;
  --surface-soft: #243040;
  --border: #2e3d4f;
  --text: #e1f0ff;
  --muted: #8fa8c7;
  --accent: #00d4aa;
  --accent-soft: rgba(0, 212, 170, 0.15);
  --linkedin: #0077b5;
  --twitter: #1da1f2;
  --facebook: #1877f2;
}

/* Layout principal */
.linkedin-container {
  max-width: 1400px;
  margin: 60px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
}

/* Sidebar */
.linkedin-sidebar {
  display: flex;
  flex-direction: column;
  gap: 25px;
  position: sticky;
  top: 20px;
  height: fit-content;
}

.profile-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.profile-card > *,
.quick-links > *,
.linkedin-post-card > * {
  position: relative;
  z-index: 10;
}

.profile-card img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-bottom: 15px;
  border: 3px solid var(--accent);
  object-fit: cover;
  object-position: center;
}

.profile-card h3 {
  margin: 0 0 5px 0;
  color: var(--text);
  font-size: 1.2rem;
}

.profile-card p {
  color: var(--muted);
  margin: 0 0 20px 0;
  font-size: 0.9rem;
}

.linkedin-profile-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--linkedin);
  color: white;
  padding: 12px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 119, 181, 0.3);
}

.linkedin-profile-btn:hover {
  background: #005885;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 119, 181, 0.4);
}

.linkedin-profile-btn svg {
  width: 18px;
  height: 18px;
}

/* Quick Links */
.quick-links {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 25px;
  position: relative;
  overflow: hidden;
}

.quick-links h4 {
  margin: 0 0 15px 0;
  color: var(--accent);
  font-size: 1rem;
}

.quick-links a {
  display: block;
  color: var(--text);
  text-decoration: none;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: color 0.3s ease;
  font-size: 0.9rem;
}

.quick-links a:last-child {
  border-bottom: none;
}

.quick-links a:hover {
  color: var(--accent);
}

/* Posts Content */
.posts-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.linkedin-post-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 30px;
  position: relative;
  overflow: hidden;
}

.post-header {
  margin-bottom: 20px;
}

.post-header h3 {
  margin: 0 0 8px 0;
  color: var(--text);
  font-size: 1.3rem;
  line-height: 1.4;
}

.post-date {
  color: var(--muted);
  font-size: 0.85rem;
}

/* LinkedIn Embed */
.linkedin-embed {
  margin: 20px 0;
  min-height: 200px;
}

.embed-placeholder {
  background: var(--surface-soft);
  border: 2px dashed var(--border);
  border-radius: 12px;
  padding: 40px;
  text-align: center;
  color: var(--muted);
}

.embed-placeholder svg {
  width: 48px;
  height: 48px;
  margin-bottom: 15px;
  color: var(--linkedin);
}

.embed-placeholder p {
  margin: 0 0 8px 0;
  font-size: 1rem;
  color: var(--text);
}

.embed-placeholder small {
  font-size: 0.8rem;
  color: var(--muted);
}

/* Share Buttons */
.share-buttons {
  display: flex;
  gap: 12px;
  margin-top: 25px;
  flex-wrap: wrap;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border: none;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  color: white;
}

.share-btn svg {
  width: 16px;
  height: 16px;
}

.share-btn.linkedin {
  background: var(--linkedin);
  box-shadow: 0 2px 8px rgba(0, 119, 181, 0.3);
}

.share-btn.linkedin:hover {
  background: #005885;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 119, 181, 0.4);
}

.share-btn.twitter {
  background: var(--twitter);
  box-shadow: 0 2px 8px rgba(29, 161, 242, 0.3);
}

.share-btn.twitter:hover {
  background: #1991db;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(29, 161, 242, 0.4);
}

.share-btn.facebook {
  background: var(--facebook);
  box-shadow: 0 2px 8px rgba(24, 119, 242, 0.3);
}

.share-btn.facebook:hover {
  background: #166fe5;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(24, 119, 242, 0.4);
}

.share-btn.copy {
  background: var(--surface-soft);
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.share-btn.copy:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 212, 170, 0.3);
}

/* Efeito de borda premium */
.linkedin-post-card::before,
.profile-card::before,
.quick-links::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1.5px;
  border-radius: 20px;
  background: radial-gradient(
    500px circle at var(--x) var(--y),
    rgba(0, 212, 170, 0.95),
    transparent 60%
  );
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
  z-index: 1;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
}

.linkedin-post-card.hovering::before,
.profile-card.hovering::before,
.quick-links.hovering::before {
  opacity: 1;
}

.linkedin-post-card::after,
.profile-card::after,
.quick-links::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 20px;
  border: 1.5px solid rgba(0, 212, 170, 0.9);
  opacity: 0;
  transition: 0.4s;
  z-index: 1;
}

.linkedin-post-card.full-border::after,
.profile-card.full-border::after,
.quick-links.full-border::after {
  opacity: 1;
}

/* Footer */
footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  margin-top: 60px;
  padding: 40px 20px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}

.footer-content p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.developer-credit {
  color: var(--text) !important;
  font-weight: 500;
  font-size: 0.95rem !important;
}

.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--muted);
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 212, 170, 0.3);
}

.footer-social svg {
  width: 20px;
  height: 20px;
}

/* Responsividade */
@media (max-width: 1024px) {
  .linkedin-container {
    grid-template-columns: 250px 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .linkedin-container {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .linkedin-sidebar {
    position: static;
    order: 2;
  }
  
  .posts-content {
    order: 1;
  }
  
  .share-buttons {
    justify-content: center;
  }
  
  .share-btn {
    font-size: 0.8rem;
    padding: 8px 12px;
  }
}

@media (max-width: 480px) {
  .linkedin-container {
    padding: 0 15px;
  }
  
  .linkedin-post-card,
  .profile-card,
  .quick-links {
    padding: 20px;
  }
  
  .share-buttons {
    gap: 8px;
  }
  
  .share-btn {
    flex: 1;
    justify-content: center;
    min-width: 0;
  }
  
  .footer-social {
    gap: 12px;
  }
  
  .footer-social a {
    width: 36px;
    height: 36px;
  }
  
  .footer-social svg {
    width: 18px;
    height: 18px;
  }
}