/* ─── Discord UI — mock-uri premium pentru site ─── */

.discord-blurple { color: #5865f2; }
.discord-bg { background: #313338; }
.discord-sidebar { background: #2b2d31; }
.discord-elevated { background: #1e1f22; }

/* Shell chat */
.dc-window {
  background: #313338;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.3),
    0 24px 48px rgba(0, 0, 0, 0.45),
    0 0 80px rgba(88, 101, 242, 0.08);
}
.dc-titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #1e1f22;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.dc-titlebar-dots {
  display: flex;
  gap: 6px;
}
.dc-titlebar-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}
.dc-titlebar-dots span:first-child { background: #ed4245; opacity: 0.85; }
.dc-titlebar-dots span:nth-child(2) { background: #fee75c; opacity: 0.85; }
.dc-titlebar-dots span:nth-child(3) { background: #57f287; opacity: 0.85; }
.dc-titlebar-label {
  flex: 1;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  color: #b5bac1;
  letter-spacing: 0.02em;
}
.dc-body {
  display: grid;
  grid-template-columns: 52px 1fr;
  min-height: 280px;
}
.dc-rail {
  background: #1e1f22;
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  border-right: 1px solid rgba(255, 255, 255, 0.04);
}
.dc-server-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #a855f7, #6b21a8);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.85rem;
  color: white;
  overflow: hidden;
}
.dc-server-icon img,
.dc-server-icon.brand {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.dc-server-icon.muted {
  background: #35373c;
  color: #949ba4;
  font-size: 0.7rem;
}
.dc-chat {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.dc-channel-hdr {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 12px;
  margin-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: #f2f3f5;
  font-weight: 600;
  font-size: 0.9rem;
}
.dc-channel-hdr svg { color: #949ba4; flex-shrink: 0; }

/* Mesaje */
.dc-msg {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  animation: dcFadeIn 0.5s ease both;
}
.dc-msg:nth-child(2) { animation-delay: 0.12s; }
.dc-msg:nth-child(3) { animation-delay: 0.24s; }
.dc-msg:nth-child(4) { animation-delay: 0.36s; }
@keyframes dcFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}
.dc-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: white;
}
.dc-avatar.bot {
  background: transparent;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.35);
}
.dc-avatar.bot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.dc-avatar.user { background: linear-gradient(135deg, #57f287, #3ba55c); }
.dc-msg-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 4px;
}
.dc-msg-name {
  font-weight: 600;
  font-size: 0.92rem;
  color: #f2f3f5;
}
.dc-msg-name.bot { color: #5865f2; }
.dc-msg-name.bot::after {
  content: 'BOT';
  margin-left: 6px;
  padding: 1px 5px;
  border-radius: 3px;
  background: #5865f2;
  color: white;
  font-size: 0.58rem;
  font-weight: 700;
  vertical-align: middle;
  letter-spacing: 0.04em;
}
.dc-msg-time {
  font-size: 0.68rem;
  color: #949ba4;
}
.dc-msg-text {
  font-size: 0.88rem;
  color: #dbdee1;
  line-height: 1.5;
  margin: 0;
}
.dc-msg-text code {
  background: #1e1f22;
  padding: 2px 5px;
  border-radius: 4px;
  font-size: 0.82rem;
  color: #e3e5e8;
}

/* Embed Discord */
.dc-embed {
  margin-top: 8px;
  border-left: 4px solid #5865f2;
  background: #2b2d31;
  border-radius: 0 8px 8px 0;
  padding: 12px 14px 10px;
  max-width: 420px;
}
.dc-embed-title {
  font-weight: 600;
  font-size: 0.9rem;
  color: #f2f3f5;
  margin: 0 0 6px;
}
.dc-embed-desc {
  font-size: 0.82rem;
  color: #b5bac1;
  line-height: 1.55;
  margin: 0 0 10px;
}
.dc-embed-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 8px;
}
.dc-embed-field b {
  display: block;
  font-size: 0.72rem;
  color: #b5bac1;
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.dc-embed-field span {
  font-size: 0.82rem;
  color: #dbdee1;
}
.dc-embed-footer {
  font-size: 0.72rem;
  color: #949ba4;
  margin-top: 6px;
}

/* Butoane Discord */
.dc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.dc-btn {
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 500;
  border: none;
  cursor: default;
  font-family: inherit;
  text-decoration: none;
  display: inline-block;
}
a.dc-btn { cursor: pointer; }
a.dc-btn:hover { filter: brightness(1.08); }
.dc-btn.primary { background: #5865f2; color: white; }
.dc-btn.secondary { background: #4e5058; color: #f2f3f5; }
.dc-btn.success { background: #248046; color: white; }
.dc-btn.danger { background: #da373c; color: white; }

/* Slash command input mock */
.dc-slash-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #383a40;
  border-radius: 8px;
  margin-top: auto;
  border: 1px solid rgba(255, 255, 255, 0.04);
}
.dc-slash-bar svg { color: #949ba4; flex-shrink: 0; }
.dc-slash-bar span {
  font-size: 0.85rem;
  color: #949ba4;
}
.dc-slash-bar .cmd { color: #dbdee1; }
.dc-slash-bar .param { color: #b5bac1; }

/* Command chips — stil slash */
.cmd-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 8px;
  background: rgba(88, 101, 242, 0.1);
  border: 1px solid rgba(88, 101, 242, 0.28);
  color: #a5b4fc;
  font-size: 0.84rem;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
  user-select: none;
}
.cmd-chip::before {
  content: '/';
  color: #5865f2;
  font-weight: 700;
}
.cmd-chip:hover {
  background: rgba(88, 101, 242, 0.18);
  border-color: rgba(88, 101, 242, 0.45);
  transform: translateY(-1px);
}
.cmd-chip.copied {
  border-color: rgba(34, 197, 94, 0.5);
  color: #86efac;
  background: rgba(34, 197, 94, 0.12);
}

/* Bot profile card */
.dc-profile {
  background: linear-gradient(180deg, #5865f2 0%, #5865f2 80px, #2b2d31 80px);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}
.dc-profile-body { padding: 0 20px 20px; }
.dc-profile-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #a855f7, #6b21a8);
  border: 6px solid #2b2d31;
  margin-top: -40px;
  display: grid;
  place-items: center;
  font-size: 2rem;
  font-weight: 800;
  color: white;
  overflow: hidden;
  box-shadow: 0 0 28px rgba(168, 85, 247, 0.45);
}
.dc-profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.dc-profile-name {
  margin: 10px 0 2px;
  font-size: 1.25rem;
  font-weight: 700;
  color: #f2f3f5;
}
.dc-profile-tag {
  font-size: 0.85rem;
  color: #b5bac1;
  margin-bottom: 14px;
}
.dc-profile-bio {
  font-size: 0.85rem;
  color: #dbdee1;
  line-height: 1.55;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.dc-profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.dc-profile-tag-pill {
  padding: 4px 10px;
  border-radius: 12px;
  background: #1e1f22;
  font-size: 0.72rem;
  color: #b5bac1;
  font-weight: 500;
}

/* Showcase grid pe landing */
.discord-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}
.discord-showcase-copy h3 {
  font-size: 1.5rem;
  margin: 0 0 12px;
}
.discord-showcase-copy p {
  color: var(--text-muted);
  margin: 0 0 20px;
  line-height: 1.65;
}
.discord-perks {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.discord-perks li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text-muted);
}
.discord-perks .perk-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(88, 101, 242, 0.15);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 1rem;
}

@media (max-width: 900px) {
  .discord-showcase { grid-template-columns: 1fr; }
  .dc-body { min-height: 240px; }
  .dc-embed-fields { grid-template-columns: 1fr; }
}
