@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Outfit', sans-serif;
}

body {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #0f172a;
  /* Slate 900 */
  overflow-y: auto;
  /* Allow scrolling */
  overflow-x: hidden;
  position: relative;
  padding: 2rem 1rem;
}

/* Background Glowing Orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 1;
  opacity: 0.6;
  animation: float 10s infinite ease-in-out alternate;
}

.orb-1 {
  width: 300px;
  height: 300px;
  background: linear-gradient(180deg, #7c3aed, #db2777);
  /* Violet to Pink */
  top: -50px;
  left: -50px;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: linear-gradient(180deg, #2563eb, #06b6d4);
  /* Blue to Cyan */
  bottom: -10px;
  right: -10px;
  animation-delay: -5s;
  position: fixed;
  /* Keep orbs fixed */
}

.orb {
  position: fixed;
}


@keyframes float {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(30px, 50px);
  }
}

/* Main Container Layout */
.main-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  z-index: 10;
  width: 100%;
  max-width: 800px;
}

/* Glassmorphism Card Base */
.card {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.6);
  border-color: rgba(255, 255, 255, 0.2);
}

/* GLow overlay */
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
  transition: 0.5s;
  pointer-events: none;
}

.card:hover::before {
  left: 100%;
  transition: 0.7s;
}

/* Specific Profile Card Styles */
.profile-card {
  width: 100%;
  max-width: 380px;
  padding: 40px 30px;
  text-align: center;
}

.img-container {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, #7c3aed, #06b6d4);
}

.profile-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #0f172a;
}

.name {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.title {
  color: #94a3b8;
  font-size: 0.9rem;
  font-weight: 400;
  margin-bottom: 24px;
}

.actions {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.btn {
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-primary {
  background: linear-gradient(135deg, #7c3aed 0%, #2563eb 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* --- Projects Section --- */

.projects-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.section-title {
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 20px rgba(124, 58, 237, 0.5);
}

.project-card {
  width: 100%;
  max-width: 500px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: left;
}

.project-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.project-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.project-info {
  display: flex;
  flex-direction: column;
}

.project-name {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
}

.project-desc {
  color: #cbd5e1;
  font-size: 0.95rem;
}

/* Tags */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  font-size: 0.75rem;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.2s;
}

.tag:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.tag i {
  font-size: 0.7rem;
}

.btn-discord {
  background-color: #5865F2;
  color: white;
  text-align: center;
  margin-top: auto;
  width: 100%;
}

.btn-discord:hover {
  background-color: #4752c4;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(88, 101, 242, 0.4);
}

/* --- Programming Languages Section --- */

.languages-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.languages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  width: 100%;
  max-width: 600px;
}

.language-card {
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.lang-icon {
  font-size: 3rem;
  color: #fff;
  /* Default, or can be specific per icon */
  margin-bottom: 0.5rem;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
}

.language-card .lang-name {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 600;
}

.status-mastered {
  background: rgba(16, 185, 129, 0.15);
  /* Greenish tint */
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.3);
}

.status-learning {
  background: rgba(245, 158, 11, 0.15);
  /* Amber tint */
  color: #fbbf24;
  border-color: rgba(245, 158, 11, 0.3);
}

/* Icon specific colors */
.fa-java {
  background: -webkit-linear-gradient(#f89820, #5382a1);
  /* Java colors */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.fa-rust {
  color: #dea584;
  /* Rust color-ish */
}