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

body {
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1.6;
  background: #000;
  color: #fff;
  position: relative;
  overflow-x: hidden;
}

@keyframes stars1 {
  0% { transform: translate(0, 0) rotate(0deg) scale(1.2); }
  50% { transform: translate(-50px, -25px) rotate(180deg) scale(1.3); }
  100% { transform: translate(0, 0) rotate(360deg) scale(1.2); }
}

@keyframes stars2 {
  0% { transform: translate(0, 0) rotate(180deg) scale(1.2); }
  50% { transform: translate(25px, 50px) rotate(0deg) scale(1.3); }
  100% { transform: translate(0, 0) rotate(-180deg) scale(1.2); }
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 200%;
  height: 200%;
  background: 
    radial-gradient(circle at 50% 50%, #fff 1px, transparent 1px) 0 0,
    radial-gradient(circle at 20% 80%, #fff 0.8px, transparent 1px) 50px 50px,
    radial-gradient(circle at 80% 20%, #fff 1.2px, transparent 1px) -50px -50px,
    radial-gradient(circle at 15% 30%, #fff 0.7px, transparent 1px) 30px -30px,
    radial-gradient(circle at 85% 70%, #fff 1px, transparent 1px) -20px 40px,
    radial-gradient(circle at 70% 90%, #fff 0.9px, transparent 1px) 10px -40px;
  background-size: 
    200px 200px,
    180px 180px,
    220px 220px,
    170px 170px,
    250px 250px,
    190px 190px;
  opacity: 0.4;
  z-index: -1;
  animation: stars1 360s ease-in-out infinite alternate;
  transition: animation-duration 0.5s ease;
}

body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 200%;
  height: 200%;
  background: inherit;
  opacity: 0.3;
  z-index: -1;
  animation: stars2 480s ease-in-out infinite alternate;
  transition: animation-duration 0.5s ease;
}

@keyframes twinkle {
  0% { opacity: 0.3; }
  100% { opacity: 0.6; }
}

.floating-elements {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.tech-bubble {
  background: rgba(100, 255, 218, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  border: 1px solid #b197fc;
  transition: all 0.3s ease-out;
  background: rgba(177, 151, 252, 0.1);
}

.tech-bubble:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 15px rgba(177, 151, 252, 0.3);
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
  justify-content: center;
}

.hire-btn, .resume-btn {
  padding: 0.8rem 1.5rem;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hire-btn {
  background: linear-gradient(135deg, #a020f0, #8a2be2);
  color: #fff;
  border: none;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.resume-btn {
  background: transparent;
  color: #b197fc;
  border: 2px solid #b197fc;
}

.hire-btn:hover, .resume-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 20px rgba(177, 151, 252, 0.4);
}

.orbit-container {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 50px auto 0;
}

.planet {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #b197fc, #9775fa);
  border-radius: 50%;
  box-shadow: 0 0 30px rgba(177, 151, 252, 0.4);
}

.orbit {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 2px solid rgba(177, 151, 252, 0.2);
  border-radius: 50%;
  animation: rotate 10s linear infinite;
  cursor: pointer;
  transition: animation-duration 0.3s ease;
}

.satellite {
  position: absolute;
  top: -5px;
  left: 50%;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  position: fixed;
  width: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #ffffff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  padding: 0.5rem 1rem;
  margin: 0 0.5rem;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: #64ffda;
}

.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.hero-content h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #fff, #a020f0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px rgba(160, 32, 240, 0.5);
  letter-spacing: 3px;
  text-transform: uppercase;
}

.animate-text {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

section {
  padding: 5rem 2rem;
}

h2 {
  text-align: center;
  margin-bottom: 3rem;
  color: #a020f0;
  text-transform: uppercase;
  letter-spacing: 2px;
}

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

.project-card {
  background: rgba(17, 34, 64, 0.15);
  padding: 2rem;
  border-radius: 10px;
  transition: all 0.3s;
  cursor: pointer;
  border: 1px solid rgba(160, 32, 240, 0.2);
  backdrop-filter: blur(20px);
}

.project-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: #a020f0;
  box-shadow: 
    0 0 20px rgba(160, 32, 240, 0.2),
    0 0 40px rgba(160, 32, 240, 0.1),
    inset 0 0 20px rgba(160, 32, 240, 0.1);
}

.project-icon {
  font-size: 2rem;
  color: #a020f0;
  margin-bottom: 1rem;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.contact-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  background: rgba(17, 34, 64, 0.15);
  border-radius: 15px;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(100, 255, 218, 0.1);
}

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

.social-links a {
  color: #fff;
  font-size: 1.8rem;
  transition: all 0.3s ease;
  padding: 0.5rem;
  border-radius: 50%;
}

.social-links a:hover {
  color: #64ffda;
  transform: translateY(-5px);
  text-shadow: 0 0 15px rgba(100, 255, 218, 0.5);
}

form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

input, textarea {
  padding: 1.2rem;
  background: rgba(17, 34, 64, 0.3);
  border: 1px solid rgba(100, 255, 218, 0.1);
  border-radius: 8px;
  color: #fff;
  backdrop-filter: blur(20px);
  font-family: 'Space Grotesk', sans-serif;
  transition: all 0.3s ease;
}

input:focus, textarea:focus {
  outline: none;
  border-color: #64ffda;
  box-shadow: 0 0 15px rgba(100, 255, 218, 0.2);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

button {
  padding: 1.2rem;
  background: #64ffda;
  color: #0a192f;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}

button:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(100, 255, 218, 0.3);
  background: #7effde;
}

button:active {
  transform: translateY(-1px);
}

footer {
  background: rgba(17, 34, 64, 0.15);
  backdrop-filter: blur(20px);
  color: #fff;
  font-size: 0.9rem;
}

footer p {
  margin: 0;
  opacity: 0.8;
}

@media (max-width: 768px) {
  nav {
    padding: 1rem;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
}
