:root {
  --bg: #0a0a0a;
  --text: #ffffff;
  --accent: #00ffff;
}

body {
  margin: 0;
  font-family: Inter, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
}

.nav {
  position: fixed;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 1rem 2rem;
  backdrop-filter: blur(15px);
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

.nav a {
  margin-left: 20px;
  color: white;
  text-decoration: none;
  transition: 0.3s;
}

.nav a:hover {
  color: var(--accent);
}

.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.floating-text {
  font-size: clamp(3rem, 8vw, 6rem);
  background: linear-gradient(90deg, var(--accent), #0077ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section {
  padding: 6rem 2rem;
  max-width: 1100px;
  margin: auto;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
}

.glass {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  padding: 3rem;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.project-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 2rem;
  transition: 0.4s;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.project-card:hover {
  transform: translateY(-8px);
  border: 1px solid var(--accent);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 1rem 0;
}

.tags span {
  background: rgba(0, 255, 255, 0.2);
  color: var(--accent);
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 12px;
}

.buttons {
  display: flex;
  gap: 10px;
}

.buttons a {
  background: var(--accent);
  color: black;
  padding: 8px 15px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s;
}

.buttons a:hover {
  opacity: 0.8;
}

.skill {
  margin: 25px 0;
}

.skill-label {
  display: flex;
  justify-content: space-between;
}

.bar {
  height: 8px;
  background: #333;
  border-radius: 6px;
  margin-top: 6px;
}

.progress {
  height: 8px;
  width: 0;
  background: linear-gradient(90deg, var(--accent), #0077ff);
  border-radius: 6px;
}

.github-section {
  text-align: center;
}

.github-top-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.github-card {
  width: 100%;
  border-radius: 20px;
  transition: 0.4s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.github-card:hover {
  transform: translateY(-6px) scale(1.02);
}

.github-streak-wrapper {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
}

.github-streak {
  width: 100%;
  max-width: 800px;
  border-radius: 20px;
  transition: 0.4s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.github-streak:hover {
  transform: scale(1.02);
}

.github-graph-wrapper {
  margin-top: 3rem;
  padding: 2rem;
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.github-graph {
  width: 100%;
  max-width: 1000px;
  border-radius: 20px;
  transition: 0.4s ease;
}

.github-graph:hover {
  transform: scale(1.01);
}

.socials {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.socials a {
  padding: 10px 20px;
  border: 1px solid var(--accent);
  border-radius: 30px;
  text-decoration: none;
  color: white;
  transition: 0.3s;
}

.socials a:hover {
  background: var(--accent);
  color: black;
}

footer {
  text-align: center;
  padding: 3rem 0;
  opacity: 0.6;
}
