﻿@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

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

html, body {
  overflow-x: hidden;
}

body {
  font-family: 'Inter', sans-serif;
  background: #050816;
  color: #fff;
  overflow-x: hidden;
  line-height: 1.6;
}

.background {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(0, 255, 204, 0.15), transparent 30%),
    radial-gradient(circle at bottom right, rgba(111, 0, 255, 0.18), transparent 35%),
    linear-gradient(135deg, #050816 0%, #0a1128 50%, #111827 100%);
  z-index: -2;
}

.grid-overlay {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(circle at center, black 40%, transparent 85%);
  z-index: -1;
}

.container {
  width: min(1200px, 92%);
  margin: auto;
  padding: 0 20px;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: #00ffd0;
}

nav {
  display: flex;
  gap: 24px;
}

nav a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-weight: 500;
  transition: 0.2s ease;
}

nav a:hover {
  color: #00ffd0;
}

.hero {
  min-height: 85vh;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  align-items: center;
  gap: 60px;
  padding: 40px 0 80px;
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 0.95;
  font-weight: 800;
  margin-bottom: 24px;
}

.hero h1 span {
  background: linear-gradient(90deg, #00ffd0, #7c4dff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  color: rgba(255,255,255,0.75);
  font-size: 1.15rem;
  line-height: 1.8;
  max-width: 600px;
  margin-bottom: 32px;
}

.buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  padding: 14px 24px;
  border-radius: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #00ffd0, #00b7ff);
  color: #05111c;
  box-shadow: 0 10px 30px rgba(0,255,208,0.2);
}

.btn-secondary {
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(12px);
}

.btn:hover {
  transform: translateY(-3px);
}

.visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.orb {
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.9), transparent 18%),
    radial-gradient(circle at center, rgba(0,255,208,0.8), rgba(124,77,255,0.5));
  filter: blur(2px);
  animation: float 6s ease-in-out infinite;
  box-shadow:
    0 0 100px rgba(0,255,208,0.25),
    0 0 140px rgba(124,77,255,0.18);
}

.glass-card {
  position: absolute;
  width: 240px;
  padding: 22px;
  border-radius: 24px;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}

.card-top {
  top: 10%;
  left: 5%;
}

.card-bottom {
  bottom: 5%;
  right: 0;
}

.glass-card h3 {
  margin-bottom: 10px;
  color: #00ffd0;
  font-size: 1rem;
}

.glass-card p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.6;
}

.resume {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  margin-bottom: 100px;
}

.base {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  border-radius: 24px;
  padding: 32px;
}

.profile {
  text-align: center;
  margin-bottom: 32px;
}

.photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00ffd0, #7c4dff);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 3rem;
  color: #05111c;
}

.name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #00ffd0;
  margin-bottom: 8px;
}

.job {
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}

.about, .contact, .follow {
  margin-bottom: 32px;
}

.about h3, .contact h3, .follow h3 {
  color: #00ffd0;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about p {
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
}

.contact a, .follow a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  transition: 0.2s ease;
}

.contact a:hover, .follow a:hover {
  color: #00ffd0;
}

.contact i, .follow i {
  color: #00ffd0;
  width: 20px;
}

.box {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.box span {
  color: rgba(255,255,255,0.8);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.func {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.work, .edu, .skills-prog, .skills-soft, .interests {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  border-radius: 24px;
  padding: 32px;
}

.work h3, .edu h3, .skills-prog h3, .skills-soft h3, .interests h3 {
  color: #00ffd0;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.work h3 i, .edu h3 i, .skills-prog h3 i, .skills-soft h3 i, .interests h3 i {
  color: #00ffd0;
}

.work-list {
  display: grid;
  gap: 20px;
}

.work-item {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 24px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.work-item:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.08);
}

.work-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  align-items: flex-start;
  margin-bottom: 14px;
}

.work-meta h4 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  color: #fff;
}

.work-meta p {
  margin: 0;
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
}

.work-meta span {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  white-space: nowrap;
}

.work-item p {
  color: rgba(255,255,255,0.78);
  line-height: 1.75;
  margin-bottom: 16px;
}

.work-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.work-tags span {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(0,255,208,0.12);
  color: #00ffd0;
  font-size: 0.85rem;
}

.work ul, .edu ul, .skills-prog ul, .skills-soft ul {
  list-style: none;
}

.work li, .edu li, .skills-prog li, .skills-soft li {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.work li:last-child, .edu li:last-child, .skills-prog li:last-child, .skills-soft li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.work span, .edu span, .skills-prog span, .skills-soft span {
  display: block;
  color: #00ffd0;
  font-weight: 600;
  margin-bottom: 4px;
}

.work small, .edu small, .skills-prog small, .skills-soft small {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}

.interests-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
}

.interests-items > div {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: rgba(255,255,255,0.04);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
}

.interests-items i {
  color: #00ffd0;
  font-size: 1.2rem;
}

.interests-items span {
  color: rgba(255,255,255,0.9);
  font-weight: 500;
}

footer {
  text-align: center;
  padding: 40px 0 60px;
  color: rgba(255,255,255,0.45);
  font-size: 0.95rem;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px) scale(1);
  }
  50% {
    transform: translateY(-20px) scale(1.02);
  }
}

@media (max-width: 900px) {
  nav {
    display: none;
  }

  .hero {
    text-align: center;
    grid-template-columns: 1fr;
  }

  .buttons {
    justify-content: center;
  }

  .resume {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .base {
    padding: 24px;
  }

  .func > div {
    padding: 24px;
  }

  .orb {
    width: 280px;
    height: 280px;
  }

  .visual {
    display: block;
    text-align: center;
  }

  .orb {
    margin: 0 auto;
  }

  .glass-card {
    position: relative;
    margin: 20px auto;
    width: 90%;
    max-width: 280px;
  }

  .card-top, .card-bottom {
    top: auto;
    left: auto;
    bottom: auto;
    right: auto;
  }

  .container {
    width: min(1200px, 96%);
  }
}
