@import url('https://fonts.googleapis.com/css2?family=Space+Mono:wght@400;700&family=Inter:wght@400;600;700;900&display=swap');

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

body {
  font-family: 'Inter', sans-serif;
  background: #f5f0e8;
  color: #1a1a1a;
  min-height: 100vh;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

.neo-border {
  border: 3px solid #1a1a1a;
  box-shadow: 5px 5px 0 #1a1a1a;
}

header {
  padding: 1rem 2rem;
  background: #ffd60a;
  border-bottom: 3px solid #1a1a1a;
}

header h1 {
  font-family: 'Space Mono', monospace;
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: -1px;
}

header p {
  font-size: 0.75rem;
  margin-top: 0.2rem;
  font-weight: 600;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem;
}

nav {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin: 2rem 0;
}

nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1.5rem;
  background: #fff;
  border: 3px solid #1a1a1a;
  box-shadow: 4px 4px 0 #1a1a1a;
  text-decoration: none;
  color: #1a1a1a;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
  transition: all 0.1s;
  cursor: pointer;
}

nav a:hover {
  box-shadow: 2px 2px 0 #1a1a1a;
  transform: translate(2px, 2px);
}

nav a:active {
  box-shadow: 0px 0px 0 #1a1a1a;
  transform: translate(4px, 4px);
}

nav a.active {
  background: #ff006e;
  color: #fff;
}

.section {
  display: none;
  animation: slideIn 0.3s ease;
}

.section.active {
  display: block;
}

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

.card {
  background: #fff;
  border: 3px solid #1a1a1a;
  box-shadow: 6px 6px 0 #1a1a1a;
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.card h2 {
  font-family: 'Space Mono', monospace;
  font-size: 1.8rem;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: inline-block;
  background: #3a86ff;
  color: #fff;
  padding: 0.25rem 0.75rem;
  border: 2px solid #1a1a1a;
}

.card p, .card li {
  font-size: 1.05rem;
  line-height: 1.7;
}

.highlight {
  background: #ffbe0b;
  padding: 0.1rem 0.4rem;
  border: 2px solid #1a1a1a;
  font-weight: 700;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.skill-tag {
  background: #c7f464;
  border: 2px solid #1a1a1a;
  padding: 0.5rem 1rem;
  text-align: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.skill-tag:nth-child(2) { background: #ff006e; color: #fff; }
.skill-tag:nth-child(3) { background: #3a86ff; color: #fff; }
.skill-tag:nth-child(4) { background: #ffbe0b; }
.skill-tag:nth-child(5) { background: #8338ec; color: #fff; }
.skill-tag:nth-child(6) { background: #fb5607; color: #fff; }

.project-item {
  background: #fff;
  border: 3px solid #1a1a1a;
  box-shadow: 5px 5px 0 #1a1a1a;
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.project-item h3 {
  font-family: 'Space Mono', monospace;
  font-size: 1.3rem;
  text-transform: uppercase;
}

.project-item p {
  margin-top: 0.5rem;
  color: #444;
}

.badge {
  display: inline-block;
  background: #ffd60a;
  border: 2px solid #1a1a1a;
  padding: 0.2rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 0.5rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.contact-card {
  background: #fff;
  border: 3px solid #1a1a1a;
  box-shadow: 4px 4px 0 #1a1a1a;
  padding: 1.25rem;
  text-align: center;
}

.contact-card .icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.contact-card a {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.5rem 1rem;
  background: #3a86ff;
  color: #fff;
  text-decoration: none;
  border: 2px solid #1a1a1a;
  box-shadow: 3px 3px 0 #1a1a1a;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  transition: all 0.1s;
}

.contact-card a:hover {
  box-shadow: 1px 1px 0 #1a1a1a;
  transform: translate(2px, 2px);
}

html, body {
  height: 100%;
}

.container {
  flex: 1;
}

footer {
  background: #1a1a1a;
  color: #fff;
  padding: 1.5rem 2rem;
  text-align: center;
  font-family: 'Space Mono', monospace;
  text-transform: uppercase;
  margin-top: auto;
}

footer span {
  color: #ffbe0b;
}

.about-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2rem;
  align-items: start;
}

.avatar {
  width: 200px;
  height: 200px;
  background: #ffd60a;
  border: 3px solid #1a1a1a;
  box-shadow: 5px 5px 0 #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
}

.status-bar {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.status-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid #1a1a1a;
}

.dot.green { background: #00ff00; }
.dot.yellow { background: #ffd60a; }

@media (max-width: 600px) {
  header h1 { font-size: 2rem; }
  .about-layout { grid-template-columns: 1fr; }
  .avatar { width: 150px; height: 150px; font-size: 4rem; }
  .container { padding: 1rem; }
}

/* Tools */
.tool-tabs {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.tool-tab {
  padding: 0.6rem 1.2rem;
  background: #fff;
  border: 3px solid #1a1a1a;
  box-shadow: 3px 3px 0 #1a1a1a;
  font-family: 'Space Mono', monospace;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.1s;
}

.tool-tab:hover {
  box-shadow: 1px 1px 0 #1a1a1a;
  transform: translate(2px, 2px);
}

.tool-tab.active {
  background: #8338ec;
  color: #fff;
  box-shadow: 1px 1px 0 #1a1a1a;
  transform: translate(2px, 2px);
}

.tool-panel {
  display: none;
}

.tool-panel.active {
  display: block;
}

.tool-textarea {
  width: 100%;
  min-height: 150px;
  padding: 1rem;
  border: 3px solid #1a1a1a;
  box-shadow: 4px 4px 0 #1a1a1a;
  font-family: 'Space Mono', monospace;
  font-size: 0.9rem;
  resize: vertical;
  background: #f5f0e8;
  margin-bottom: 1rem;
}

.tool-textarea:focus {
  outline: none;
  border-color: #3a86ff;
}

.tool-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.tool-btn {
  padding: 0.6rem 1.5rem;
  background: #ffd60a;
  border: 3px solid #1a1a1a;
  box-shadow: 3px 3px 0 #1a1a1a;
  font-family: 'Space Mono', monospace;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.1s;
}

.tool-btn:hover {
  box-shadow: 1px 1px 0 #1a1a1a;
  transform: translate(2px, 2px);
}

.tool-btn:active {
  box-shadow: 0px 0px 0 #1a1a1a;
  transform: translate(3px, 3px);
}

.tool-output {
  background: #1a1a1a;
  color: #c7f464;
  padding: 1rem;
  border: 3px solid #1a1a1a;
  font-family: 'Space Mono', monospace;
  font-size: 0.85rem;
  white-space: pre-wrap;
  word-break: break-all;
  min-height: 60px;
  max-height: 300px;
  overflow-y: auto;
}

.pass-display {
  font-size: 1.5rem;
  text-align: center;
  padding: 1.5rem;
  color: #ffd60a;
}

.password-options {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.password-options label {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  cursor: pointer;
}

.password-options input[type="number"] {
  width: 60px;
  padding: 0.3rem;
  border: 2px solid #1a1a1a;
  font-family: 'Space Mono', monospace;
  font-weight: 700;
  text-align: center;
}

.counter-results {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.counter-box {
  background: #fff;
  border: 3px solid #1a1a1a;
  box-shadow: 4px 4px 0 #1a1a1a;
  padding: 1rem;
  text-align: center;
}

.counter-box span {
  display: block;
  font-family: 'Space Mono', monospace;
  font-size: 2rem;
  font-weight: 700;
  color: #3a86ff;
}

.counter-box small {
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 700;
}

.color-picker-area {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
}

.color-picker-area input[type="color"] {
  width: 80px;
  height: 80px;
  border: 3px solid #1a1a1a;
  box-shadow: 4px 4px 0 #1a1a1a;
  cursor: pointer;
  padding: 0;
}

.color-preview {
  width: 120px;
  height: 80px;
  border: 3px solid #1a1a1a;
  box-shadow: 4px 4px 0 #1a1a1a;
}

.color-values {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.color-val {
  font-family: 'Space Mono', monospace;
  font-size: 0.9rem;
  background: #fff;
  padding: 0.5rem 0.75rem;
  border: 2px solid #1a1a1a;
}

@media (max-width: 600px) {
  .counter-results { grid-template-columns: repeat(2, 1fr); }
  .password-options { flex-direction: column; }
}

/* Icon Styles */
.header-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-icon {
  width: 40px;
  height: 40px;
  background: #1a1a1a;
  border: 2px solid #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffd60a;
}

.header-icon svg {
  width: 22px;
  height: 22px;
}

nav a svg {
  width: 16px;
  height: 16px;
}

.avatar {
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar svg {
  width: 80px;
  height: 80px;
  color: #1a1a1a;
}

.project-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.project-icon {
  width: 28px;
  height: 28px;
  color: #3a86ff;
}

.contact-card .icon svg {
  width: 40px;
  height: 40px;
}

.contact-card a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.contact-card a svg {
  width: 14px;
  height: 14px;
}

.tool-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.tool-tab svg {
  width: 14px;
  height: 14px;
}

.tool-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.tool-btn svg {
  width: 14px;
  height: 14px;
}

.counter-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.counter-box svg {
  width: 20px;
  height: 20px;
  color: #8338ec;
}

.card h2 {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.card h2 svg {
  width: 22px;
  height: 22px;
}

.status-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.skill-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.skill-tag svg {
  width: 16px;
  height: 16px;
}

/* PDF Upload Area */
.pdf-upload-area {
  border: 3px dashed #1a1a1a;
  background: #f5f0e8;
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  margin-bottom: 0.5rem;
}

.pdf-upload-area:hover {
  background: #ffd60a;
  border-color: #3a86ff;
}

.pdf-upload-area svg {
  color: #8338ec;
  margin-bottom: 0.5rem;
}

.pdf-upload-area p {
  font-weight: 600;
  font-size: 0.9rem;
}

.tool-select {
  padding: 0.4rem 0.6rem;
  border: 2px solid #1a1a1a;
  background: #fff;
  font-family: 'Space Mono', monospace;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.lk21-card {
  background: #fff;
  border: 2px solid #1a1a1a;
  box-shadow: 3px 3px 0 #1a1a1a;
  padding: 0.75rem;
  margin-bottom: 0.75rem;
  display: flex;
  gap: 0.75rem;
  cursor: pointer;
  transition: all 0.1s;
}

.lk21-card:hover {
  box-shadow: 1px 1px 0 #1a1a1a;
  transform: translate(2px, 2px);
}

.lk21-card img {
  width: 80px;
  height: 120px;
  object-fit: cover;
  border: 2px solid #1a1a1a;
  flex-shrink: 0;
}

.lk21-card-info {
  flex: 1;
  min-width: 0;
}

.lk21-card-info h4 {
  font-family: 'Space Mono', monospace;
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
}

.lk21-card-info small {
  color: #666;
  font-size: 0.75rem;
}
