.newbie { margin: 60px auto 20px; }

.newbie-cta { display: flex; justify-content: center; }

.newbie-toggle {
  font-family: inherit;
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  max-width: 680px;
  padding: 20px 26px;
  background: var(--card-bg);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 18px;
  cursor: pointer;
  text-align: left;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.newbie-toggle:hover {
  border-color: var(--accent);
  box-shadow: 0 0 28px rgba(255, 26, 26, .14);
  transform: translateY(-2px);
}

.newbie-toggle-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  font-size: 22px;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 50%;
  animation: newbiePulse 2.4s ease-in-out infinite;
}

@keyframes newbiePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 26, 26, .3); }
  50%      { box-shadow: 0 0 0 10px rgba(255, 26, 26, 0); }
}

.newbie-toggle-text { display: flex; flex-direction: column; gap: 3px; flex: 1; }
.newbie-toggle-text b { font-size: 17px; }
.newbie-toggle-text small { color: var(--text-muted); font-size: 12px; }

.newbie-toggle-arrow {
  color: var(--text-muted);
  transition: transform .3s ease;
}

.newbie-toggle.is-open .newbie-toggle-arrow { transform: rotate(180deg); }

.newbie-content {
  margin-top: 36px;
  animation: newbieReveal .5s ease both;
}

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

.newbie-title { font-size: clamp(24px, 3.4vw, 36px); margin: 8px 0 28px; }
.newbie-faq-title { margin-top: 52px; }

.newbie-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
}

.newbie-step {
  display: flex;
  gap: 18px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  transition: border-color .25s ease, box-shadow .25s ease;
}

.newbie-step:hover {
  border-color: #333;
  box-shadow: 0 0 24px rgba(255, 26, 26, .08);
}

.newbie-step-num {
  color: var(--accent);
  font-size: 15px;
  opacity: .85;
  flex-shrink: 0;
}

.newbie-step-body h3 { margin: 0 0 10px; font-size: 16px; }
.newbie-step-body p { margin: 0 0 14px; font-size: 13px; color: var(--text-muted); line-height: 1.65; }
.newbie-step-body p:last-child { margin-bottom: 0; }
.newbie-step-body a:not(.btn) { color: var(--accent); }
.newbie-step-body a:not(.btn):hover { color: var(--accent-hover); }

.newbie-servers { display: flex; flex-direction: column; gap: 8px; }

.newbie-server {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 9px 12px;
  flex-wrap: wrap;
}

.newbie-server-name { font-size: 12px; min-width: 90px; }

.newbie-server-ip {
  font-family: monospace;
  font-size: 12px;
  color: var(--text-muted);
  flex: 1;
}

.newbie-copy {
  font-size: 11px;
  padding: 6px 14px;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 100px;
  cursor: pointer;
  transition: border-color .2s ease;
  font-family: inherit;
}

.newbie-copy:hover { border-color: var(--accent); }

.newbie-faq {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 860px;
}

.newbie-q {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color .25s ease;
}

.newbie-q[open] { border-color: rgba(255, 26, 26, .35); }

.newbie-q summary {
  cursor: pointer;
  padding: 16px 20px;
  font-size: 14px;
  list-style: none;
  position: relative;
  padding-right: 44px;
}

.newbie-q summary::-webkit-details-marker { display: none; }

.newbie-q summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-size: 18px;
  transition: transform .25s ease;
}

.newbie-q[open] summary::after { transform: translateY(-50%) rotate(45deg); }

.newbie-q p {
  margin: 0;
  padding: 0 20px 18px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
}

.newbie-q a { color: var(--accent); }
.newbie-q a:hover { color: var(--accent-hover); }

@media (max-width: 640px) {
  .newbie-step { flex-direction: column; gap: 10px; }
  .newbie-server-ip { flex-basis: 100%; order: 3; }
}

@media (prefers-reduced-motion: reduce) {
  .newbie-toggle-icon { animation: none; }
  .newbie-content { animation: none; }
}
