body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: #0f0f0f;
  color: #d1d1d1;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.portfolio {
  background: #1a1a1a;
  border-radius: 16px;
  padding: 40px;
  max-width: 900px;
  width: 90%;
  box-shadow: 0 0 30px rgba(0,0,0,0.5);
}

header {
  text-align: center;
  margin-bottom: 30px;
}

header h1 {
  font-size: 2.5rem;
  margin: 0;
  color: #7c3aed;
}

#typing {
  font-size: 1.2rem;
  color: #cfcfcf;
  height: 24px;
}

/* discord */
.discord-card {
  background: #232428;
  border-radius: 8px;
  display: flex;
  padding: 16px;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
  border: 1px solid #40444b;
  position: relative;
  overflow: hidden;
}

.discord-card .avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  position: relative;
  z-index: 2;
}

.discord-card .avatar-container {
  position: relative;
  display: inline-block;
}

.discord-card .info {
  flex: 1;
  position: relative;
  z-index: 2;
}

.name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.name-row h2 {
  margin: 0;
  font-size: 1rem;
  color: #ffffff;
  font-weight: 600;
}

.status {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
  border: 3px solid #232428;
  position: absolute;
  bottom: -2px;
  right: -2px;
  z-index: 3;
}

.status.online { background: #43b581; }
.status.idle { background: #faa61a; }
.status.dnd { background: #f04747; }
.status.offline { background: #747f8d; }

.activity {
  font-size: 0.875rem;
  color: #b9bbbe;
  display: flex;
  align-items: center;
  gap: 6px;
}


/* projects */
section h2 {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #7c3aed;
}

.projects {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.project-card {
  background: #252529;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid #333337;
}

.project-card:hover {
  transform: translateY(-5px);
}

.project-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  object-position: center;
}

.project-card .content {
  padding: 15px;
}

.project-card h3 {
  margin: 0 0 10px;
  color: #7c3aed;
  font-size: 1.1rem;
}

.project-card p {
  font-size: 0.9rem;
  line-height: 1.4;
  color: #b8b8b8;
  margin-bottom: 15px;
}

.project-card a {
  display: inline-block;
  margin-right: 8px;
  margin-top: 5px;
  text-decoration: none;
  background: #7c3aed;
  color: #ffffff;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: background 0.2s;
}

.project-card a:hover {
  background: #6d28d9;
}

.project-card a.disabled {
  background: #4b5563;
  color: #9ca3af;
  cursor: not-allowed;
}

.project-card a.disabled:hover {
  background: #4b5563;
}

/* about & skills */
.about-section, .skills-section {
  margin-bottom: 40px;
  text-align: center;
}

.about-section h2, .skills-section h2 {
  color: #7c3aed;
  margin-bottom: 20px;
}

.about-content {
  background: #252529;
  border-radius: 12px;
  padding: 20px;
  border: 1px solid #333337;
  max-width: 600px;
  margin: 0 auto;
  transition: transform 0.2s;
}

.about-content:hover {
  transform: scale(1.02);
}

.about-content p {
  color: #b8b8b8;
  line-height: 1.6;
  margin: 0;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 15px;
  max-width: 700px;
  margin: 0 auto;
}

.skill-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 8px;
  background: #252529;
  border-radius: 8px;
  border: 1px solid #333337;
  transition: transform 0.2s;
}

.skill-item:hover {
  transform: translateY(-2px);
}

.skill-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  object-fit: contain;
}

.skill-name {
  color: #d1d1d1;
  font-size: 0.8rem;
  font-weight: 500;
  text-align: center;
}

/* contact section */
.contact-section {
  margin-bottom: 40px;
  text-align: center;
}

.contact-section h2 {
  color: #7c3aed;
  margin-bottom: 20px;
}

.contact-content {
  background: #252529;
  border-radius: 12px;
  padding: 25px;
  border: 1px solid #333337;
  max-width: 500px;
  margin: 0 auto;
}

.contact-content p {
  color: #b8b8b8;
  margin-bottom: 20px;
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #7c3aed;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  transition: background 0.2s, transform 0.2s;
}

.contact-link.bg {
  background: #333;
}

.contact-link.bg:hover {
  background: #555;
  transform: translateY(-2px);
}

.contact-icon {
  font-size: 1.2rem;
}