* { box-sizing: border-box; }
body {
  margin: 0;
  padding: 35px;
  font-family: Arial, sans-serif;
  background: #0b1020;
  color: #f3f4ff;
}
h1 { color: #a78bfa; font-size: 32px; }
h2 { font-size: 24px; }
h3 { color: #c4b5fd; }
form {
  background: #171d32;
  padding: 20px;
  border: 1px solid #303752;
  border-radius: 14px;
  margin: 15px 0;
}
input, textarea {
  width: 100%;
  max-width: 500px;
  padding: 12px;
  background: #0e1427;
  border: 1px solid #465070;
  border-radius: 8px;
  color: white;
  font-size: 15px;
}
input[type=hidden] { display: none; }
input[type=checkbox] { width: auto; }
button {
  background: #8055e8;
  color: white;
  padding: 11px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
}
button:hover { background: #6840cc; }
li { margin-bottom: 24px; }
a { color: #b9a3ff; }
hr { border: 1px solid #303752; }
@media(max-width: 600px) {
  body { padding: 16px; }
  h1 { font-size: 26px; }
}

.public-home { max-width: 1150px; margin: auto; }
.site-hero {
  padding: 55px 30px;
  text-align: center;
  background: linear-gradient(135deg,#191036,#27326b);
  border-radius: 22px;
  margin: 25px 0 40px;
}
.site-hero h2 { font-size: clamp(30px,5vw,52px); }
.hero-label { color: #c4b5fd; font-weight: bold; }
.site-hero p { line-height: 1.7; }
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
  gap: 22px;
}
.project-card {
  background: #171d32;
  border: 1px solid #343d61;
  border-radius: 16px;
  overflow: hidden;
}
.project-cover {
  width: 100%;
  height: 210px;
  object-fit: cover;
}
.project-placeholder {
  height: 210px;
  display: grid;
  place-items: center;
  background: #30205e;
  font-size: 50px;
  font-weight: bold;
}
.project-info { padding: 22px; }
.project-info p { line-height: 1.6; color: #cbd5e1; }
.category-tag {
  color: #c4b5fd;
  font-size: 13px;
  font-weight: bold;
}
.download-btn {
  display: inline-block;
  margin-top: 12px;
  padding: 12px 22px;
  background: #8055e8;
  color: white;
  text-decoration: none;
  border-radius: 9px;
}
.public-home footer {
  text-align: center;
  padding: 50px 10px;
  color: #a5aec8;
}

/* Dark Developer Navigation */
.dd-header {
  max-width: 1200px;
  margin: 0 auto 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding: 18px 24px;
  background: #151b30;
  border: 1px solid #303a5b;
  border-radius: 16px;
}
.dd-brand {
  color: #b9a4ff;
  font-size: 22px;
  font-weight: 800;
  text-decoration: none;
}
.dd-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.dd-nav a {
  padding: 10px 13px;
  border-radius: 9px;
  color: #e0e7ff;
  text-decoration: none;
  font-weight: 600;
}
.dd-nav a:hover {
  background: #8055e8;
  color: white;
}
.dd-content {
  max-width: 950px;
  min-height: 55vh;
  margin: 35px auto;
  padding: 35px;
  background: #171d32;
  border-radius: 18px;
  line-height: 1.8;
}
@media(max-width:600px) {
  .dd-header { padding: 16px; }
  .dd-brand { font-size: 20px; }
  .dd-nav { gap: 5px; }
  .dd-nav a { padding: 9px; font-size: 13px; }
  .dd-content { padding: 22px; }
}

button.danger-btn { background: #b91c1c; }

/* Dark Developer Search and Filters */
.dd-filter-section {
  margin: 30px 0;
}
.dd-search-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 20px;
}
.dd-search-form input {
  flex: 1;
  min-width: 200px;
}
.dd-search-form select {
  padding: 12px;
  border-radius: 9px;
  background: #0e1427;
  color: white;
  border: 1px solid #465070;
}
.dd-clear {
  padding: 12px 18px;
  color: #c4b5fd;
  text-decoration: none;
}
.dd-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}
.dd-filter-chips a {
  padding: 10px 20px;
  border: 1px solid #465070;
  border-radius: 25px;
  color: white;
  text-decoration: none;
}
.dd-filter-chips a.active,
.dd-filter-chips a:hover {
  background: #8055e8;
  border-color: #8055e8;
}
@media(max-width:600px) {
  .dd-search-form {
    flex-direction: column;
    align-items: stretch;
  }
  .dd-search-form input,
  .dd-search-form select {
    width: 100%;
  }
}

/* Dashboard and accessible forms */
.page-shell{max-width:1150px;margin:auto}ul{list-style:none;padding:0}li{background:#11182b;border:1px solid #303752;border-radius:18px;padding:24px;margin:24px 0}select{padding:12px;background:#0e1427;border:1px solid #465070;border-radius:8px;color:white;max-width:100%}textarea{min-height:110px;resize:vertical}label{display:inline-block;margin:6px 0;line-height:1.6}.admin-photo{display:block;width:220px;max-width:100%;border-radius:12px}input:focus-visible,textarea:focus-visible,select:focus-visible,a:focus-visible,button:focus-visible{outline:3px solid #c4b5fd;outline-offset:3px}input[type=file]{max-width:100%}p{overflow-wrap:anywhere}.project-info h3{font-size:23px}.project-info{display:flex;flex-direction:column;height:calc(100% - 210px)}.download-btn{align-self:flex-start;margin-top:auto}button{min-height:44px}input[type=checkbox]{accent-color:#8055e8}footer{padding:35px 0}@media(max-width:600px){li{padding:14px}form{padding:15px}.dd-search-form input{min-width:0}.dd-header{gap:12px}}
