/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  height: 100%;
}
body {
  background-color: #15161a;
  background-image: radial-gradient(ellipse at top left, #23242b 0%, #15161a 100%);
  background-attachment: fixed;
  color: #f4f4f4;
  font-family: 'Inter', 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  letter-spacing: 0.01em;
}
header {
  padding: 2.5rem 0 1.2rem 0;
  text-align: center;
  background: rgba(24, 26, 32, 0.85);
  border-bottom: 1.5px solid #23242b;
  box-shadow: 0 2px 16px 0 rgba(127, 90, 240, 0.07);
  backdrop-filter: blur(2px);
  margin-bottom: 1.5rem;
  transition: box-shadow 0.2s;
}
header:hover {
  box-shadow: 0 4px 24px 0 rgba(127, 90, 240, 0.13);
}
h1 {
  font-size: 2.7rem;
  letter-spacing: 2.5px;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 2px 8px rgba(127, 90, 240, 0.08);
}
.alias {
  color: #7f5af0;
  font-weight: 500;
}
.subtitle {
  color: #b3b3b3;
  font-size: 1.15rem;
  margin-top: 0.6rem;
  font-weight: 400;
}
main {
  flex: 1;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 2.5rem 1.2rem 2rem 1.2rem;
  animation: fadeIn 0.8s cubic-bezier(.4,0,.2,1);
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
section {
  margin-bottom: 2.8rem;
  position: relative;
}

h2 {
  font-size: 1.55rem;
  margin-bottom: 1.1rem;
  color: #7f5af0;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.project-list {
  display: grid;
  gap: 1.7rem;
}
.project {
  background: rgba(35, 36, 43, 0.85);
  border-radius: 14px;
  padding: 1.5rem 1.2rem;
  box-shadow: 0 4px 32px 0 rgba(127, 90, 240, 0.10), 0 1.5px 8px 0 rgba(0,0,0,0.10);
  border: 1.5px solid rgba(127, 90, 240, 0.10);
  backdrop-filter: blur(2.5px);
  transition: transform 0.18s, box-shadow 0.18s, border 0.18s;
  position: relative;
  overflow: hidden;
}
.project:hover {
  transform: translateY(-6px) scale(1.015);
  box-shadow: 0 8px 40px 0 rgba(127, 90, 240, 0.18), 0 2px 12px 0 rgba(0,0,0,0.13);
  border: 1.5px solid #7f5af0;
}
.project h3 {
  margin-bottom: 0.4rem;
  font-size: 1.22rem;
  color: #fff;
  font-weight: 600;
}
.project .description {
  color: #b3b3b3;
  font-size: 1.03rem;
  margin-bottom: 0.6rem;
  font-weight: 400;
}
.project .tech {
  color: #7f5af0;
  font-size: 0.98rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
}
.project-link {
  color: #fff;
  background: linear-gradient(90deg, #7f5af0 0%, #23242b 100%);
  padding: 0.38em 1.1em;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.01rem;
  box-shadow: 0 1px 4px 0 rgba(127, 90, 240, 0.10);
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  border: none;
  outline: none;
  display: inline-block;
}
.project-link:hover {
  background: linear-gradient(90deg, #23242b 0%, #7f5af0 100%);
  color: #fff;
  box-shadow: 0 2px 8px 0 rgba(127, 90, 240, 0.18);
  text-decoration: none;
}
section#contact {
  display: flex;
  flex-direction: column;
  align-items: leftr;
  justify-content: center;
  padding: 1rem 0;
  background: none;
}
.contact-card {
  margin: 0.5rem auto 0 auto;
  text-align: center;
  background: rgba(35, 36, 43, 0.92);
  border-radius: 14px;
  box-shadow: 0 4px 24px 0 rgba(127, 90, 240, 0.10), 0 1.5px 8px 0 rgba(0,0,0,0.10);
  border: 1.5px solid rgba(127, 90, 240, 0.10);
  padding: 1.5rem 1.5rem 1.5rem 1.5rem;
  max-width: 420px;
  position: relative;
}
.contact-cta {
  color: #b3b3b3;
  font-size: 1.08rem;
  margin-bottom: 1.1rem;
  font-weight: 500;
  text-align: center;
}
.contact-list {
  list-style: none;
  display: flex;
  flex-direction: row;
  gap: 2.5rem;
  padding-left: 0;
  justify-content: center;
  flex-wrap: wrap;
}
.contact-list li {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
}
.contact-list a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3em;
  color: #7f5af0;
  text-decoration: none;
  font-size: 1.13rem;
  font-weight: 500;
  transition: color 0.18s, text-shadow 0.18s, transform 0.18s;
  text-shadow: 0 1px 4px rgba(127, 90, 240, 0.08);
  padding: 0.2em 0.4em;
  border-radius: 6px;
}
.contact-list a:hover {
  color: #fff;
  text-shadow: 0 2px 8px rgba(127, 90, 240, 0.18);
  background: rgba(127, 90, 240, 0.10);
  transform: translateY(-2px) scale(1.04);
}
.contact-icon {
  display: flex;
  align-items: center;
  margin-right: 0.3em;
  transition: filter 0.18s;
}
.contact-list a:hover .contact-icon svg rect {
  filter: brightness(1.2) drop-shadow(0 0 4px #7f5af0);
}
.contact-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}
footer {
  text-align: center;
  padding: 2rem 0 1rem 0;
  color: #b3b3b3;
  font-size: 1.01rem;
  background: rgba(24, 26, 32, 0.92);
  border-top: 1.5px solid #23242b;
  box-shadow: 0 -2px 16px 0 rgba(127, 90, 240, 0.07);
  letter-spacing: 0.02em;
}
@media (max-width: 600px) {
  main {
    padding: 1.2rem 0.5rem;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.15rem;
  }
  .project {
    padding: 1rem 0.7rem;
  }
  .contact-card {
    padding: 1.2rem 0.7rem 0.8rem 0.7rem;
    max-width: 100%;
  }
  .contact-list {
    gap: 1rem;
  }
}