body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 20px;
  min-height: 100vh;
  background: #1e1e1e;
  color: #cce6ff;
  transition: background 0.3s, color 0.3s;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

header {
  text-align: center;
  margin-bottom: 30px;
}

.subtitle {
  margin-top: 4px;
  font-weight: 400;
  text-shadow: 0 0 6px #3399ff;
  color: #cce6ff;
}

nav#nav-menu {
  display: flex;
  gap: 30px;
  justify-content: flex-start;
  margin-bottom: 16px;
  flex-wrap: wrap;
  padding-left: 0;
}

nav#nav-menu a {
  color: #cce6ff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 8px 10px;
  border-radius: 0;
  box-shadow: none;
  transition: color 0.3s;
  user-select: none;
  display: flex;
  align-items: center;
  gap: 6px;
  background: transparent;
}

nav#nav-menu a i {
  font-size: 1rem;
  color: #66aaff;
}

nav#nav-menu a.active,
nav#nav-menu a:hover {
  color: #aaddff;
  cursor: pointer;
}

.projects-wrapper {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 10px 20px; /* fixed padding */
  justify-content: center;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  margin: 0 auto;
  max-width: 100%;
  box-sizing: border-box;
}

.project-card {
  flex: 0 0 320px;
  background: #2f2f2f;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 0 12px #3399ff88;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  white-space: normal;
  color: #fff;
  user-select: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 180px;
  box-sizing: border-box;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 18px #66aaffcc;
}

.download-btn {
  margin-top: auto;
  color: #66aaff;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s;
}

.download-btn:hover {
  color: #99ccff;
}

#dump-list {
  list-style: none;
  max-width: 600px;
  padding-left: 0;
  margin: 20px auto;
}

#dump-list li {
  background: #2f2f2f;
  padding: 12px 18px;
  margin: 12px 0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 0 12px #3399ff88;
  font-size: 1rem;
  color: #fff;
  user-select: none;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

#dump-list li i {
  width: 22px;
  text-align: center;
  color: #66aaff;
  flex-shrink: 0;
}

#dump-list li a {
  color: #cce6ff;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 90%;
}

#dump-list li a:hover {
  text-decoration: underline;
}

#user-info p {
  margin: 8px 0;
  font-size: 1rem;
  word-break: break-word;
  max-width: 600px;
  color: #cce6ff;
  text-shadow: 0 0 6px #3399ff;
  user-select: none;
}

.content-section.hidden {
  display: none;
}

.center-content {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 50vh;
  flex-direction: column;
  text-align: center;
}

footer {
  margin-top: auto;
  opacity: 0.6;
  font-size: 0.9rem;
  color: #cce6ff;
  text-align: center;
  user-select: none;
}

body.light-mode {
  background: #f2f2f2;
  color: #222;
}

body.light-mode .subtitle,
body.light-mode header h1 {
  color: #222;
  text-shadow: 0 0 4px #99ccff;
}

body.light-mode nav#nav-menu a,
body.light-mode .project-card,
body.light-mode #dump-list li {
  background: transparent;
  color: #222;
  box-shadow: none;
}

body.light-mode nav#nav-menu a.active,
body.light-mode nav#nav-menu a:hover {
  color: #004080;
}

body.light-mode #dump-list li i {
  color: #004080;
}
