* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #080808;
  --bg2: #111111;
  --card: #141418;
  --card-hover: #1c1c24;
  --accent: #ff0080;
  --accent2: #39ff14;
  --text: #e0e0e8;
  --text-dim: #777790;
  --border: #222233;
  --success: #39ff14;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
  min-height: 100vh;
}

/* Password Gate */
#gate {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.gate-inner {
  text-align: center;
  max-width: 360px;
  padding: 40px;
}

.gate-logo {
  font-size: 3.5rem;
  font-weight: 900;
  letter-spacing: 0.4em;
  background: linear-gradient(135deg, var(--accent), #ff4488);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.gate-sub {
  color: var(--text-dim);
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 40px;
}

#pw {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg2);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  border-radius: 4px;
  outline: none;
  text-align: center;
  letter-spacing: 0.15em;
  margin-bottom: 16px;
}

#pw:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 0, 128, 0.15);
}

#pw-btn {
  width: 100%;
  padding: 14px;
  background: var(--accent);
  border: none;
  color: white;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  border-radius: 4px;
  cursor: pointer;
  transition: opacity 0.2s;
}

#pw-btn:hover { opacity: 0.85; }

#pw-error {
  color: #ff4444;
  font-size: 0.8rem;
  margin-top: 12px;
  min-height: 20px;
}

/* Main Content */
header {
  text-align: center;
  padding: 60px 20px 40px;
  border-bottom: 1px solid var(--border);
}

h1 {
  font-size: 2.8rem;
  font-weight: 300;
  letter-spacing: 0.15em;
}

.accent {
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent), #ff4488);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subtitle {
  color: var(--text-dim);
  font-size: 0.8rem;
  margin-top: 8px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.version {
  color: var(--accent2);
  font-size: 0.7rem;
  margin-top: 6px;
  letter-spacing: 0.15em;
}

.header-actions {
  margin-top: 30px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 4px;
  text-decoration: none;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: white;
}

.btn-primary:hover { opacity: 0.85; transform: translateY(-1px); }

.btn-secondary {
  background: transparent;
  color: var(--accent2);
  border: 1px solid var(--accent2);
}

.btn-secondary:hover {
  background: rgba(57, 255, 20, 0.08);
  transform: translateY(-1px);
}

.btn-dim {
  background: transparent;
  color: var(--text-dim);
  border: 1px solid var(--border);
  cursor: default;
}

.btn-small {
  padding: 8px 18px;
  font-size: 0.7rem;
  background: var(--bg2);
  color: var(--accent);
  border: 1px solid var(--border);
}

.btn-small:hover {
  border-color: var(--accent);
  background: rgba(255, 0, 128, 0.08);
}

/* Install Guide */
.install-guide {
  max-width: 700px;
  margin: 0 auto;
  padding: 40px 20px;
}

.install-guide h2 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--accent);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.install-guide ol {
  padding-left: 24px;
  line-height: 2.2;
  color: var(--text-dim);
  font-size: 0.8rem;
}

.install-guide code {
  background: var(--bg2);
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 0.75rem;
  color: var(--accent2);
}

.note {
  margin-top: 20px;
  padding: 16px;
  background: var(--bg2);
  border-left: 3px solid var(--accent2);
  border-radius: 0 4px 4px 0;
  font-size: 0.75rem;
  color: var(--text-dim);
  line-height: 1.6;
}

/* Plugin Sections */
.plugin-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  border-top: 1px solid var(--border);
}

.plugin-section h2 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: 0.08em;
}

.section-desc {
  color: var(--text-dim);
  font-size: 0.75rem;
  margin-bottom: 24px;
  max-width: 700px;
  line-height: 1.6;
}

.badge {
  font-size: 0.55rem;
  padding: 2px 7px;
  border-radius: 3px;
  vertical-align: middle;
  font-weight: 700;
  letter-spacing: 0.15em;
  background: rgba(255, 0, 128, 0.15);
  color: var(--accent);
  margin-left: 6px;
}

.badge.new {
  background: var(--accent);
  color: white;
}

.badge.tool {
  background: rgba(57, 255, 20, 0.15);
  color: var(--accent2);
}

.plugin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}

.plugin-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 24px;
  transition: all 0.2s;
}

.plugin-card:hover {
  background: var(--card-hover);
  border-color: rgba(255, 0, 128, 0.3);
  transform: translateY(-2px);
}

.plugin-icon {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: var(--accent);
  font-weight: 700;
}

.plugin-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: 0.05em;
  display: inline;
}

.plugin-card p {
  color: var(--text-dim);
  font-size: 0.7rem;
  line-height: 1.6;
  margin: 10px 0;
}

.param-list {
  font-size: 0.65rem;
  color: var(--text-dim);
  line-height: 1.5;
  margin-bottom: 14px;
  padding: 10px;
  background: var(--bg);
  border-radius: 3px;
}

.param-list strong {
  color: var(--accent2);
}

.plugin-meta {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}

.param-count, .plugin-type {
  font-size: 0.6rem;
  padding: 3px 8px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.param-count {
  background: rgba(255, 0, 128, 0.1);
  color: var(--accent);
}

.plugin-type {
  background: rgba(57, 255, 20, 0.1);
  color: var(--accent2);
}

/* Depth Server */
.depth-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 30px;
  max-width: 600px;
}

.depth-card h3 {
  font-size: 1rem;
  margin-bottom: 10px;
}

.depth-card p {
  color: var(--text-dim);
  font-size: 0.75rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.depth-card ul {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.depth-card li {
  font-size: 0.7rem;
  color: var(--text-dim);
  padding: 4px 0;
  padding-left: 16px;
  position: relative;
}

.depth-card li::before {
  content: '>';
  position: absolute;
  left: 0;
  color: var(--accent2);
}

/* Requirements */
.req-list {
  list-style: none;
  padding: 0;
}

.req-list li {
  font-size: 0.75rem;
  color: var(--text-dim);
  padding: 6px 0;
  padding-left: 16px;
  position: relative;
}

.req-list li::before {
  content: '//';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.req-list code {
  background: var(--bg2);
  padding: 1px 6px;
  border-radius: 2px;
  font-size: 0.7rem;
  color: var(--accent2);
}

/* Footer */
footer {
  text-align: center;
  padding: 40px 20px;
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 0.7rem;
}

.footer-note {
  margin-top: 8px;
  font-size: 0.6rem;
  opacity: 0.5;
}

/* Responsive */
@media (max-width: 640px) {
  h1 { font-size: 2rem; }
  .gate-logo { font-size: 2.5rem; }
  .plugin-grid { grid-template-columns: 1fr; }
  header { padding: 40px 16px 30px; }
  .header-actions { flex-direction: column; align-items: center; }
}
