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

html {
  scroll-behavior: smooth;
}

body {
  background-color: #000000;
  color: #ffffff;
  font-family:
    system-ui,
    -apple-system,
    sans-serif;
  padding: 20px;
}

.top-menu {
  background-color: #1a1a1a;
  max-width: 600px;
  margin: 0 auto 40px auto;
  padding: 15px 30px;
  border-radius: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #333;
  position: sticky;
  top: 20px;
  z-index: 1000;
  backdrop-filter: blur(10px);
  background-color: rgba(26, 26, 26, 0.9);
}

.my-name {
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -1px;
}

.menu-links a {
  text-decoration: none;
  color: #888;
  margin-left: 20px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: 0.2s;
}

.menu-links a:hover {
  color: #fff;
}

.contact-btn {
  background-color: #fff;
  color: #000 !important;
  padding: 8px 16px;
  border-radius: 20px;
}

.main-box {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.card {
  background-color: #111;
  border: 1px solid #222;
  border-radius: 32px;
  padding: 30px;
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-5px) scale(1.01);
  border-color: #444;
}

.intro-part {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to right, #111, #1a1a1a);
}

.type-text {
  font-size: 3.5rem;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.2;
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  width: 0;
  border-right: 4px solid #a78bfa;
  animation: typing 2.5s steps(30) forwards;
}

@keyframes typing {
  0% {
    width: 0;
    border-right-color: #a78bfa;
  }
  99% {
    border-right-color: #a78bfa;
  }
  100% {
    width: 100%;
    border-right-color: transparent;
  }
}

.online-tag {
  display: inline-block;
  background-color: #0f2e1b;
  color: #4ade80;
  padding: 6px 12px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: bold;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(10px);
  animation: fade-in 0.5s ease-out forwards;
  animation-delay: 2.5s;
}

@keyframes fade-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.my-info p {
  color: #888;
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.my-info span {
  color: #fff;
  font-weight: bold;
  text-decoration: underline;
  text-decoration-color: #6d28d9;
}

.social-links a {
  text-decoration: none;
  color: #fff;
  background-color: #222;
  padding: 10px 20px;
  border-radius: 15px;
  margin-right: 10px;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.my-photo {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 24px;
  transform: rotate(3deg);
}

.number-box {
  flex: 1;
  min-width: 200px;
  text-align: center;
  background-color: #1a1a1a;
}

.number-box .emoji {
  font-size: 2rem;
  display: block;
  margin-bottom: 10px;
}

.number-box h3 {
  font-size: 2rem;
  margin-bottom: 5px;
}

.number-box p {
  color: #666;
  font-size: 0.9rem;
}

.title-part {
  width: 100%;
  padding: 20px;
  text-align: center;
  border: none;
  background: transparent;
  scroll-margin-top: 100px;
}

.work-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
  cursor: pointer;
}

.work-item .icon {
  font-size: 2.5rem;
  background-color: #222;
  width: 80px;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 24px;
}

.work-item h3 {
  font-size: 1.5rem;
  margin-bottom: 5px;
}

.work-item p {
  color: #888;
  margin-bottom: 10px;
}

.tags {
  font-size: 0.8rem;
  color: #a78bfa;
  font-weight: bold;
  background-color: rgba(167, 139, 250, 0.1);
  padding: 5px 10px;
  border-radius: 8px;
  display: inline-block;
}

footer {
  text-align: center;
  padding: 50px;
  color: #444;
}

.info-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  width: 100%;
  scroll-margin-top: 100px;
}

.skillset-part,
.education-part {
  width: 100%;
}

.skill-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.skill-tag {
  background-color: #222;
  color: #ccc;
  border: 1px solid #333;
  padding: 10px 20px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 500;
  transition: 0.2s;
  cursor: default;
  display: flex;
  align-items: center;
  gap: 8px;
}

.skill-tag i {
  font-size: 1.2rem;
  transition: 0.2s;
}

.skill-tag:hover {
  background-color: #a78bfa;
  color: #000;
  border-color: #a78bfa;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(167, 139, 250, 0.2);
}

.skill-tag:hover i {
  color: #000;
}

.edu-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-top: 20px;
}

.edu-item {
  border-left: 2px solid #333;
  padding-left: 20px;
  position: relative;
}

.edu-item::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 5px;
  width: 10px;
  height: 10px;
  background-color: #a78bfa;
  border-radius: 50%;
}

.edu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 5px;
}

.edu-header h3 {
  font-size: 1.1rem;
  margin: 0;
  color: #fff;
}

.year-badge {
  background-color: #1a1a1a;
  border: 1px solid #333;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 0.8rem;
  color: #888;
}

.institution {
  color: #a78bfa;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.coursework {
  color: #666;
  font-size: 0.85rem;
  line-height: 1.5;
}
