:root {
  --primary-color: #6366f1;
  --secondary-color: #8b5cf6;
  --accent-color: #06d6a0;
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --bg-primary: #0f172a;
  --bg-secondary: #1e293b;
  --bg-card: #334155;
  --border-color: #475569;
  --shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1),
    0 10px 10px -5px rgb(0 0 0 / 0.04);
  --shadow-lg: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

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

body {
  font-family: "Comic Neue", cursive, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, sans-serif;
  line-height: 1.7;
  color: var(--text-primary);
  background: linear-gradient(135deg, var(--bg-primary) 0%, #1a202c 100%);
  min-height: 100vh;
  padding: 1rem;
}

h1,
h2,
h3 {
  font-weight: 700;
  margin: 1em 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  background: var(--bg-secondary);
  border-radius: 2rem;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  padding: 2rem;
}

header {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  padding: 4rem 2rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

header::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 70%
  );
  animation: float 12s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(30px, -30px) rotate(120deg);
  }
  66% {
    transform: translate(-20px, 20px) rotate(240deg);
  }
}

h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #fff, #e2e8f0);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  z-index: 1;
}

.tagline {
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-top: 1rem;
  position: relative;
  z-index: 1;
}

.badges {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 2rem 0;
  position: relative;
  z-index: 1;
}

.badges img {
  height: 32px;
  transition: transform 0.3s ease, filter 0.3s ease;
  border-radius: 8px;
}

.badges img:hover {
  transform: translateY(-4px) scale(1.05);
  filter: brightness(1.2);
}

section {
  padding: 3rem 2rem;
  border-bottom: 1px solid var(--border-color);
}

section:last-of-type {
  border-bottom: none;
}

h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--text-primary);
  position: relative;
  display: inline-block;
}

h2::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 2px;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

ul {
  list-style: none;
  padding: 0;
}

ul li {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  position: relative;
}

ul li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: bold;
}

.projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.project {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 1.5rem;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.project::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.project:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: var(--primary-color);
}

.project:hover::before {
  transform: scaleX(1);
}

.project h3 {
  margin-top: 0;
  margin-bottom: 1rem;
}

.project p {
  margin-bottom: 1.5rem;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.project-link:hover {
  color: var(--accent-color);
  transform: translateX(4px);
}

.social-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 2rem 0;
}

.social-links img {
  height: 48px;
  transition: all 0.3s ease;
  border-radius: 12px;
}

.social-links img:hover {
  transform: translateY(-6px) rotate(5deg);
  filter: brightness(1.2);
}

.contact-info {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 1.5rem;
  border: 1px solid var(--border-color);
  text-align: center;
  margin: 2rem 0;
}

.contact-info p {
  margin: 1rem 0;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

footer {
  background: var(--bg-primary);
  padding: 3rem 2rem;
  text-align: center;
  margin: 0;
}

.slogan {
  font-size: 1.3rem;
  font-weight: 600;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--accent-color)
  );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Responsive Design */
@media (max-width: 768px) {
  body {
    padding: 0.5rem;
  }

  .container {
    border-radius: 1rem;
  }

  header {
    padding: 3rem 1.5rem 2rem;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .tagline {
    font-size: 1.1rem;
  }

  section {
    padding: 2rem 1.5rem;
  }

  .projects {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .badges {
    gap: 0.75rem;
  }

  .social-links {
    gap: 1rem;
  }

  .social-links img {
    height: 40px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .badges {
    flex-direction: column;
    align-items: center;
  }

  .social-links {
    flex-direction: column;
    align-items: center;
  }

  .project {
    padding: 1.5rem;
  }
}
