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

:root {
  --primary: #a78bfa;
  --primary-dark: #8b5cf6;
  --accent: #ec4899;
  --dark-bg: #0a051e;
  --dark-bg-secondary: #140830;
  --dark-bg-tertiary: #1e0a32;
  
  font: 18px/145% system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color-scheme: dark;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, #0a051e 0%, #140830 50%, #0a051e 100%);
  color: rgba(255, 255, 255, 0.9);
  font-family: inherit;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  width: 100%;
}

#root {
  width: 100%;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.app {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: inherit;
  font-weight: 700;
}

h1 {
  font-size: 3.5rem;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2.5rem;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.5rem;
}

p {
  line-height: 1.6;
  font-size: 1rem;
}

a {
  color: #a78bfa;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #ec4899;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: rgba(10, 5, 30, 0.5);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #a78bfa, #ec4899);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #ec4899, #a78bfa);
}

/* Selection Styling */
::selection {
  background: rgba(168, 85, 247, 0.3);
  color: #a78bfa;
}

/* Code Block Styling */
code {
  font-family: ui-monospace, 'Courier New', monospace;
  background: rgba(168, 85, 247, 0.1);
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  color: #a78bfa;
}

/* Utility Classes */
.glow {
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.3);
}

.glow-sm {
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.2);
}

.glow-lg {
  box-shadow: 0 0 40px rgba(168, 85, 247, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
  :root {
    font-size: 16px;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
}
  

/* code {
  font-size: 15px;
  line-height: 135%;
  padding: 4px 8px;
  background: var(--code-bg);
} */


/* ===== App.css ===== */

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  backdrop-filter: blur(10px);
  background: rgba(10, 5, 30, 0.8);
  z-index: 1000;
  border-bottom: 1px solid rgba(139, 92, 246, 0.2);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #a78bfa, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative;
}

.nav-menu a:hover {
  color: #a78bfa;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #a78bfa, #ec4899);
  transition: width 0.3s ease;
}

.nav-menu a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(10, 5, 30, 1) 0%, rgba(20, 8, 50, 1) 50%, rgba(10, 5, 30, 1) 100%);
  margin-top: 60px;
  width: 100%;
  box-sizing: border-box;
}

.hero::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  top: 10%;
  left: 10%;
  animation: float 6s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  bottom: 10%;
  right: 10%;
  animation: float 8s ease-in-out infinite reverse;
}

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

.stars {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.star {
  position: absolute;
  width: 2px;
  height: 2px;
  background: #a78bfa;
  border-radius: 50%;
  animation: twinkle 3s infinite;
}

@keyframes twinkle {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
}

.glow-container {
  margin-bottom: 2rem;
}

.title {
  font-size: clamp(2rem, 8vw, 5rem);
  font-weight: 900;
  margin: 0;
  background: linear-gradient(135deg, #a78bfa 0%, #ec4899 50%, #a78bfa 100%);
  /* -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; */
  background-clip: text;
  text-shadow: 0 0 30px rgba(168, 85, 247, 0.3);
  animation: glow-text 3s ease-in-out infinite;
}

@keyframes glow-text {
  0%, 100% { filter: drop-shadow(0 0 20px rgba(168, 85, 247, 0.4)); }
  50% { filter: drop-shadow(0 0 30px rgba(236, 72, 153, 0.6)); }
}

.subtitle {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 1rem;
  animation: slideUp 0.8s ease-out;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.cta-button {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  border: 2px solid #a78bfa;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(236, 72, 153, 0.2));
  color: #a78bfa;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.3);
  animation: slideUp 0.8s ease-out 0.2s both;
}

.cta-button:hover {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.4), rgba(236, 72, 153, 0.4));
  box-shadow: 0 0 40px rgba(168, 85, 247, 0.6), 0 0 20px rgba(236, 72, 153, 0.4);
  transform: translateY(-2px);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
  box-sizing: border-box;
}

/* Section Styles */
.about, .projects, .skills, .contact {
  padding: 6rem 2rem;
  width: 100%;
  box-sizing: border-box;
}

.about {
  background: linear-gradient(135deg, rgba(10, 5, 30, 1) 0%, rgba(30, 10, 50, 1) 100%);
}

.projects {
  background: linear-gradient(135deg, rgba(20, 8, 50, 1) 0%, rgba(10, 5, 30, 1) 100%);
}

.skills {
  background: linear-gradient(135deg, rgba(10, 5, 30, 1) 0%, rgba(30, 10, 50, 1) 100%);
}

.contact {
  background: linear-gradient(135deg, rgba(20, 8, 50, 1) 0%, rgba(10, 5, 30, 1) 100%);
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  text-align: center;
  margin-bottom: 3rem;
  margin-left: 0;
  margin-right: 0;
  padding: 0 2rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
  display: block;
  width: 100%;
  box-sizing: border-box;
}

/* About Section */
.about-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  box-sizing: border-box;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.about-content p {
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Projects Section */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.project-card {
  position: relative;
  padding: 2rem;
  background: rgba(139, 92, 246, 0.05);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.4s ease;
  cursor: pointer;
  animation: fadeInUp 0.8s ease-out;
}

.card-glow {
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.4) 0%, transparent 70%);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.project-card:hover {
  border-color: rgba(236, 72, 153, 0.5);
  background: rgba(236, 72, 153, 0.08);
  box-shadow: 0 0 30px rgba(168, 85, 247, 0.3), inset 0 0 30px rgba(236, 72, 153, 0.1);
  transform: translateY(-5px);
}

.project-card:hover .card-glow {
  opacity: 1;
}

.project-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #a78bfa;
  position: relative;
  z-index: 1;
}

.project-card p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.tech-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.tech-tag {
  padding: 0.4rem 1rem;
  background: rgba(168, 85, 247, 0.2);
  border: 1px solid rgba(168, 85, 247, 0.4);
  border-radius: 20px;
  font-size: 0.85rem;
  color: #a78bfa;
  transition: all 0.3s ease;
}

.tech-tag:hover {
  background: rgba(168, 85, 247, 0.3);
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.4);
}

.project-link {
  display: inline-block;
  color: #a78bfa;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.project-link:hover {
  color: #ec4899;
  transform: translateX(5px);
}

/* Skills Section */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.skill-item {
  position: relative;
  padding: 1.5rem;
  background: rgba(139, 92, 246, 0.05);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 12px;
  text-align: center;
  color: #a78bfa;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  overflow: hidden;
  animation: fadeInUp 0.8s ease-out;
}

.skill-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(236, 72, 153, 0.3) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.skill-item:hover {
  border-color: rgba(236, 72, 153, 0.5);
  background: rgba(236, 72, 153, 0.08);
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.4);
  transform: translateY(-3px);
}

.skill-item:hover .skill-glow {
  opacity: 1;
}

/* Contact Section */
.contact-text {
  text-align: center;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.contact-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-link {
  padding: 0.8rem 2rem;
  border: 2px solid #a78bfa;
  background: transparent;
  color: #a78bfa;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
}

.contact-link:hover {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.3), rgba(236, 72, 153, 0.3));
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.4);
  transform: translateY(-2px);
}

/* Footer */
.footer {
  background: rgba(10, 5, 30, 0.9);
  border-top: 1px solid rgba(139, 92, 246, 0.2);
  padding: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-menu {
    gap: 1rem;
  }
  
  .title {
    font-size: 2.5rem;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
  }
  
  .skills-grid {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  }
  
  .contact-links {
    gap: 1rem;
  }
}
