/* ============================================================
   🌌 PORTFOLIO CSS — SHALIN MISHRA (Enhanced Edition)
   Fonts: Orbitron (display) + Exo 2 (body) + JetBrains Mono (code)
============================================================ */

:root {
  --accent:      #4fc3f7;
  --accent2:     #b39ddb;
  --accent3:     #fdb813;
  --gold:        #ffd54f;
  --bg-deep:     #020209;
  --bg-card:     rgba(255,255,255,0.04);
  --border:      rgba(255,255,255,0.10);
  --text-main:   #e8eaf6;
  --text-dim:    #9e9ec7;
  --radius:      18px;
  --radius-sm:   10px;
}

html { scroll-behavior: smooth; }

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Exo 2', sans-serif;
  background: var(--bg-deep);
  color: var(--text-main);
  overflow-x: hidden;
}

/* ============================================================
   HERO
============================================================ */
#hero {
  height: 100vh;
  position: relative;
  background: radial-gradient(ellipse at 50% 60%, #0d0d2b 0%, var(--bg-deep) 75%);
  overflow: hidden;
}

#canvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* ---- Top UI ---- */
.top-ui {
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, rgba(79,195,247,0.12) 0%, rgba(179,157,219,0.08) 100%);
  padding: 18px 44px 16px;
  border-radius: 50px;
  text-align: center;
  backdrop-filter: blur(24px);
  border: 1.5px solid rgba(79,195,247,0.35);
  box-shadow: 
    0 8px 48px rgba(79,195,247,0.08),
    inset 0 1px 0 rgba(255,255,255,0.12),
    0 0 40px rgba(79,195,247,0.05);
  z-index: 100;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.top-ui:hover {
  border-color: rgba(79,195,247,0.5);
  background: linear-gradient(135deg, rgba(79,195,247,0.15) 0%, rgba(179,157,219,0.12) 100%);
  box-shadow: 
    0 12px 60px rgba(79,195,247,0.15),
    inset 0 1px 0 rgba(255,255,255,0.15),
    0 0 60px rgba(79,195,247,0.1);
}

.top-ui-inner {
  display: flex;
  align-items: center;
  gap: 14px;
}

.name-tag {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.15em;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.divider {
  color: rgba(255,255,255,0.2);
  font-size: 1.2rem;
}

.role-tag {
  font-size: 0.85rem;
  color: var(--text-dim);
  font-weight: 300;
  letter-spacing: 0.04em;
}

/* ---- Status badge ---- */
.status-badge {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, rgba(76,175,80,0.12) 0%, rgba(102,187,106,0.08) 100%);
  border: 1.5px solid rgba(76, 175, 80, 0.5);
  color: #81c784;
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 12px;
  backdrop-filter: blur(16px);
  z-index: 100;
  box-shadow: 
    0 8px 40px rgba(76,175,80,0.08),
    inset 0 1px 0 rgba(255,255,255,0.1),
    0 0 30px rgba(76,175,80,0.05);
  transition: all 0.3s ease;
}

.status-badge:hover {
  border-color: rgba(76, 175, 80, 0.7);
  background: linear-gradient(135deg, rgba(76,175,80,0.16) 0%, rgba(102,187,106,0.12) 100%);
  box-shadow: 
    0 12px 50px rgba(76,175,80,0.15),
    inset 0 1px 0 rgba(255,255,255,0.12),
    0 0 50px rgba(76,175,80,0.12);
}

.status-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.status-text {
  font-weight: 600;
  color: #a5d6a7;
}

.status-hint {
  font-size: 0.65rem;
  color: rgba(165, 214, 167, 0.6);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.8;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: #66bb6a;
  border-radius: 50%;
  display: inline-block;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(102, 187, 106, 0.6); }
  50%       { box-shadow: 0 0 0 6px rgba(102, 187, 106, 0); }
}

/* ---- Planet Labels ---- */
#labels-container {
  position: absolute;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 50;
}

.planet-label {
  position: absolute;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  padding: 3px 12px;
  background: rgba(10, 10, 30, 0.7);
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.2);
  transform: translate(-50%, -50%);
  backdrop-filter: blur(6px);
  color: #c5cae9;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: opacity 0.4s;
  white-space: nowrap;
}

.sun-label {
  border-color: rgba(253, 184, 19, 0.5);
  color: #ffd54f;
}

/* ============================================================
   CONTENT SECTIONS
============================================================ */
.content-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 24px;
  position: relative;
  overflow: hidden;
}

/* Subtle section backgrounds */
#about      { background: linear-gradient(160deg, #060614 0%, #0a0a20 60%, #060614 100%); }
#experience { background: linear-gradient(160deg, #060614 0%, #090b18 60%, #060614 100%); }
#skills     { background: linear-gradient(160deg, #060614 0%, #0a0814 60%, #060614 100%); }
#projects   { background: linear-gradient(160deg, #060614 0%, #0e0810 60%, #060614 100%); }
#interests  { background: linear-gradient(160deg, #060614 0%, #080e0a 60%, #060614 100%); }
#contact    { background: linear-gradient(160deg, #060614 0%, #08080e 60%, #060614 100%); }

/* Nebula flare per section */
.content-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 15% 20%, rgba(79,195,247,0.04) 0%, transparent 70%),
    radial-gradient(ellipse 50% 35% at 85% 80%, rgba(179,157,219,0.04) 0%, transparent 70%);
  pointer-events: none;
}

/* ============================================================
   CONTENT CARDS
============================================================ */
.content-card {
  background: var(--bg-card);
  color: white;
  padding: 56px 60px;
  width: 100%;
  max-width: 1020px;
  border-radius: var(--radius);
  backdrop-filter: blur(24px);
  border: 1px solid var(--border);
  box-shadow:
    0 8px 48px rgba(0,0,0,0.5),
    inset 0 1px 0 rgba(255,255,255,0.06);
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateY(28px);
  animation: fadeUp 0.9s cubic-bezier(.22,.87,.44,1) forwards;
}

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

#about .content-card      { animation-delay: 0.05s; }
#experience .content-card { animation-delay: 0.10s; }
#skills .content-card     { animation-delay: 0.15s; }
#projects .content-card   { animation-delay: 0.20s; }
#interests .content-card  { animation-delay: 0.25s; }
#contact .content-card    { animation-delay: 0.30s; }

.content-card:hover {
  border-color: rgba(79,195,247,0.22);
  box-shadow: 0 12px 60px rgba(0,0,0,0.6), 0 0 0 1px rgba(79,195,247,0.06), inset 0 1px 0 rgba(255,255,255,0.08);
  transition: border-color 0.4s, box-shadow 0.4s;
}

/* Section eyebrow */
.section-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* Headings */
.content-card h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  margin: 0 0 36px;
  background: linear-gradient(135deg, #ffffff 0%, #b0bec5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.04em;
}

.content-card h3 {
  font-family: 'Exo 2', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--accent);
  margin: 28px 0 12px;
  letter-spacing: 0.03em;
}

.content-card p {
  line-height: 1.85;
  font-size: 1.05rem;
  color: #c5cae9;
  margin-bottom: 16px;
  font-weight: 300;
}

.content-card p strong { color: #e8eaf6; font-weight: 600; }

.content-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 8px;
}

.content-card ul li {
  padding: 7px 0 7px 22px;
  position: relative;
  color: #b0bec5;
  font-size: 0.98rem;
  line-height: 1.6;
}

.content-card ul li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 1.3rem;
  line-height: 1;
  top: 8px;
}

.content-card a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.25s;
}
.content-card a:hover { color: #e3f2fd; text-decoration: underline; }

/* ============================================================
   ABOUT LAYOUT
============================================================ */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 48px;
  align-items: start;
}

.quick-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}

.fact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(79,195,247,0.07);
  border: 1px solid rgba(79,195,247,0.15);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  flex: 1;
  min-width: 140px;
  position: relative;
  padding-left: 16px;
}

.fact-item strong {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  color: #e8eaf6;
}

.fact-item small {
  display: block;
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 2px;
}

/* Photo */
.about-photo-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.photo-placeholder {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(79,195,247,0.4);
  box-shadow: 0 0 32px rgba(79,195,247,0.15), 0 0 0 6px rgba(79,195,247,0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

.photo-placeholder:hover {
  transform: scale(1.05);
  box-shadow: 0 0 48px rgba(79,195,247,0.25), 0 0 0 8px rgba(79,195,247,0.08);
}

.photo-placeholder img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
}

.photo-placeholder a { display: block; width: 100%; height: 100%; }

/* Resume button removed */

/* Social chips */
.social-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.social-chip {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  padding: 5px 14px;
  border-radius: 50px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--text-dim);
  text-decoration: none;
  transition: all 0.2s;
}

.social-chip:hover {
  background: rgba(79,195,247,0.1);
  border-color: rgba(79,195,247,0.3);
  color: var(--accent);
  text-decoration: none;
}

/* ============================================================
   TIMELINE
============================================================ */
.timeline {
  position: relative;
  padding-left: 28px;
  margin-bottom: 48px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 4px;
  bottom: 4px;
  width: 1px;
  background: linear-gradient(to bottom, var(--accent), transparent);
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
}

.timeline-item:last-child { margin-bottom: 0; }

.timeline-dot {
  position: absolute;
  left: -24px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--text-dim);
  border: 2px solid var(--bg-deep);
  box-shadow: 0 0 0 2px var(--text-dim);
}

.timeline-dot.active {
  background: var(--accent);
  box-shadow: 0 0 0 2px var(--accent), 0 0 12px rgba(79,195,247,0.5);
  animation: dotPulse 2.5s ease-in-out infinite;
}

@keyframes dotPulse {
  0%,100% { box-shadow: 0 0 0 2px var(--accent), 0 0 8px rgba(79,195,247,0.4); }
  50%      { box-shadow: 0 0 0 4px var(--accent), 0 0 20px rgba(79,195,247,0.7); }
}

.timeline-content { padding-left: 4px; }

.timeline-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 4px;
}

.timeline-company {
  font-family: 'Exo 2', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: #e8eaf6;
}

.timeline-date {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: var(--accent);
  background: rgba(79,195,247,0.08);
  padding: 2px 10px;
  border-radius: 50px;
  border: 1px solid rgba(79,195,247,0.2);
  white-space: nowrap;
}

.timeline-role {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 10px;
  font-style: italic;
}

/* Achievements */
.achievements-row h3 { margin-top: 0; }

.badge-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.badge-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  padding: 10px 18px;
  font-size: 0.88rem;
  color: #c5cae9;
  transition: all 0.25s;
}

.badge-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

/* ============================================================
   SKILLS GRID
============================================================ */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 8px;
}

.skill-group {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  padding: 22px 20px;
  transition: all 0.25s;
}

.skill-group:hover {
  border-color: rgba(79,195,247,0.2);
  background: rgba(79,195,247,0.04);
  transform: translateY(-3px);
}

.skill-group h3 {
  margin-top: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
}

.skill-icon {
  font-style: normal;
  font-size: 1rem;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.skill-tags span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  padding: 4px 12px;
  border-radius: 50px;
  background: rgba(79,195,247,0.08);
  border: 1px solid rgba(79,195,247,0.18);
  color: #90caf9;
  letter-spacing: 0.02em;
}

/* Certifications */
.certifications { margin-top: 36px; }

.cert-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
  margin-top: 8px;
}

.cert-item {
  background: rgba(179,157,219,0.07);
  border: 1px solid rgba(179,157,219,0.15);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  font-size: 0.85rem;
  color: #ce93d8;
}

/* ============================================================
   PROJECTS GRID
============================================================ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 8px;
}

.project-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius-sm);
  padding: 26px 24px;
  transition: all 0.3s cubic-bezier(.22,.87,.44,1);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(79,195,247,0.3);
  box-shadow: 0 12px 40px rgba(79,195,247,0.1);
}

.project-card.featured {
  border-color: rgba(79,195,247,0.18);
  background: rgba(79,195,247,0.04);
}

.project-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  color: var(--accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.project-card h3 {
  font-size: 1.1rem;
  margin: 0;
  color: #e8eaf6;
  font-family: 'Exo 2', sans-serif;
}

.project-card p {
  font-size: 0.9rem;
  color: #90a4ae;
  line-height: 1.7;
  margin: 0;
  flex: 1;
}

.project-link {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--accent) !important;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.project-link:hover { opacity: 1 !important; text-decoration: none !important; }

/* ============================================================
   INTERESTS - COLORED GRID STYLES
============================================================ */
.interests-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 14px;
  margin-top: 8px;
}

/* Old interest-card removed - replaced with colored variants above */

/* ============================================================
   CONTACT
============================================================ */
.contact-intro {
  text-align: center;
  font-size: 1rem;
  color: var(--text-dim);
  margin-bottom: 36px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.contact-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius-sm);
  padding: 22px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: inherit;
  transition: all 0.25s;
}

.contact-card:hover {
  background: rgba(79,195,247,0.06);
  border-color: rgba(79,195,247,0.25);
  transform: translateY(-3px);
  text-decoration: none;
}

.contact-card.no-link { cursor: default; }
.contact-card.no-link:hover { transform: none; background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.09); }

.contact-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.contact-value {
  font-size: 0.88rem;
  color: #c5cae9;
  word-break: break-all;
}

/* ============================================================
   COLORED ACCENTS - FACT ITEMS
============================================================ */
.fact-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  border-radius: 10px 0 0 10px;
}

.fact-education {
  position: relative;
  background: linear-gradient(135deg, rgba(79,195,247,0.08) 0%, rgba(79,195,247,0.02) 100%);
  border-color: rgba(79,195,247,0.25);
}
.fact-education::before { background: linear-gradient(135deg, #4fc3f7, #0288d1); }

.fact-location {
  position: relative;
  background: linear-gradient(135deg, rgba(76,175,80,0.08) 0%, rgba(76,175,80,0.02) 100%);
  border-color: rgba(76,175,80,0.25);
}
.fact-location::before { background: linear-gradient(135deg, #66bb6a, #2e7d32); }

.fact-gpa {
  position: relative;
  background: linear-gradient(135deg, rgba(255,193,7,0.08) 0%, rgba(255,193,7,0.02) 100%);
  border-color: rgba(255,193,7,0.25);
}
.fact-gpa::before { background: linear-gradient(135deg, #ffd54f, #f9a825); }

/* ============================================================
   COLORED SKILL GROUPS WITH ICONS
============================================================ */
.skill-group h3::before {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 8px;
  flex-shrink: 0;
}

.skill-languages {
  border-color: rgba(156,39,176,0.25);
  background: linear-gradient(135deg, rgba(156,39,176,0.05) 0%, rgba(156,39,176,0.01) 100%);
}
.skill-languages h3::before { background: linear-gradient(135deg, #ce93d8, #ab47bc); }
.skill-languages h3 { color: #ce93d8; }

.skill-mobile {
  border-color: rgba(76,175,80,0.25);
  background: linear-gradient(135deg, rgba(76,175,80,0.05) 0%, rgba(76,175,80,0.01) 100%);
}
.skill-mobile h3::before { background: linear-gradient(135deg, #a5d6a7, #66bb6a); }
.skill-mobile h3 { color: #a5d6a7; }

.skill-backend {
  border-color: rgba(255,152,0,0.25);
  background: linear-gradient(135deg, rgba(255,152,0,0.05) 0%, rgba(255,152,0,0.01) 100%);
}
.skill-backend h3::before { background: linear-gradient(135deg, #ffb74d, #fb8c00); }
.skill-backend h3 { color: #ffb74d; }

.skill-database {
  border-color: rgba(0,188,212,0.25);
  background: linear-gradient(135deg, rgba(0,188,212,0.05) 0%, rgba(0,188,212,0.01) 100%);
}
.skill-database h3::before { background: linear-gradient(135deg, #4dd0e1, #00acc1); }
.skill-database h3 { color: #4dd0e1; }

.skill-ai {
  border-color: rgba(240,98,146,0.25);
  background: linear-gradient(135deg, rgba(240,98,146,0.05) 0%, rgba(240,98,146,0.01) 100%);
}
.skill-ai h3::before { background: linear-gradient(135deg, #f48fb1, #ec407a); }
.skill-ai h3 { color: #f48fb1; }

.skill-tools {
  border-color: rgba(33,150,243,0.25);
  background: linear-gradient(135deg, rgba(33,150,243,0.05) 0%, rgba(33,150,243,0.01) 100%);
}
.skill-tools h3::before { background: linear-gradient(135deg, #64b5f6, #2196f3); }
.skill-tools h3 { color: #64b5f6; }

/* ============================================================
   COLORED ACHIEVEMENT BADGES
============================================================ */
.badge-card {
  background: rgba(255,255,255,0.04);
  border: 1.5px solid rgba(255,255,255,0.1);
  border-left: 3px solid rgba(255,255,255,0.2);
  transition: all 0.25s;
}

.badge-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

.badge-gold {
  border-left-color: #ffd54f;
  border-color: rgba(255,213,79,0.3);
  background: linear-gradient(135deg, rgba(255,213,79,0.08) 0%, rgba(255,213,79,0.02) 100%);
  color: #ffe082;
}
.badge-gold:hover { box-shadow: 0 4px 16px rgba(255,213,79,0.15); }

.badge-teal {
  border-left-color: #26c6da;
  border-color: rgba(38,198,218,0.3);
  background: linear-gradient(135deg, rgba(38,198,218,0.08) 0%, rgba(38,198,218,0.02) 100%);
  color: #80deea;
}
.badge-teal:hover { box-shadow: 0 4px 16px rgba(38,198,218,0.15); }

.badge-purple {
  border-left-color: #ab47bc;
  border-color: rgba(171,71,188,0.3);
  background: linear-gradient(135deg, rgba(171,71,188,0.08) 0%, rgba(171,71,188,0.02) 100%);
  color: #ce93d8;
}
.badge-purple:hover { box-shadow: 0 4px 16px rgba(171,71,188,0.15); }

.badge-cyan {
  border-left-color: #4fc3f7;
  border-color: rgba(79,195,247,0.3);
  background: linear-gradient(135deg, rgba(79,195,247,0.08) 0%, rgba(79,195,247,0.02) 100%);
  color: #81d4fa;
}
.badge-cyan:hover { box-shadow: 0 4px 16px rgba(79,195,247,0.15); }

.badge-orange {
  border-left-color: #ff9800;
  border-color: rgba(255,152,0,0.3);
  background: linear-gradient(135deg, rgba(255,152,0,0.08) 0%, rgba(255,152,0,0.02) 100%);
  color: #ffb74d;
}
.badge-orange:hover { box-shadow: 0 4px 16px rgba(255,152,0,0.15); }

/* ============================================================
   COLORED INTEREST CARDS WITH ICONS
============================================================ */
.interest-card {
  position: relative;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  padding: 20px 18px;
  text-align: center;
  font-size: 0.9rem;
  color: #b0bec5;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s;
  overflow: hidden;
  min-height: 80px;
}

.interest-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  opacity: 0;
  transition: opacity 0.25s;
}

.interest-card:hover {
  transform: translateY(-3px);
}

.interest-dev::before { background: linear-gradient(90deg, #4fc3f7, #0288d1); }
.interest-dev { border-color: rgba(79,195,247,0.25); }
.interest-dev:hover { background: rgba(79,195,247,0.06); border-color: rgba(79,195,247,0.4); color: #81d4fa; }
.interest-dev:hover::before { opacity: 1; }

.interest-design::before { background: linear-gradient(90deg, #ff6b6b, #ee5a52); }
.interest-design { border-color: rgba(255,107,107,0.25); }
.interest-design:hover { background: rgba(255,107,107,0.06); border-color: rgba(255,107,107,0.4); color: #ff9999; }
.interest-design:hover::before { opacity: 1; }

.interest-ai::before { background: linear-gradient(90deg, #f06292, #ec407a); }
.interest-ai { border-color: rgba(240,98,146,0.25); }
.interest-ai:hover { background: rgba(240,98,146,0.06); border-color: rgba(240,98,146,0.4); color: #f48fb1; }
.interest-ai:hover::before { opacity: 1; }

.interest-disaster::before { background: linear-gradient(90deg, #ff9800, #f57c00); }
.interest-disaster { border-color: rgba(255,152,0,0.25); }
.interest-disaster:hover { background: rgba(255,152,0,0.06); border-color: rgba(255,152,0,0.4); color: #ffb74d; }
.interest-disaster:hover::before { opacity: 1; }

.interest-fintech::before { background: linear-gradient(90deg, #66bb6a, #2e7d32); }
.interest-fintech { border-color: rgba(102,187,106,0.25); }
.interest-fintech:hover { background: rgba(102,187,106,0.06); border-color: rgba(102,187,106,0.4); color: #a5d6a7; }
.interest-fintech:hover::before { opacity: 1; }

.interest-gaming::before { background: linear-gradient(90deg, #ab47bc, #7b1fa2); }
.interest-gaming { border-color: rgba(171,71,188,0.25); }
.interest-gaming:hover { background: rgba(171,71,188,0.06); border-color: rgba(171,71,188,0.4); color: #ce93d8; }
.interest-gaming:hover::before { opacity: 1; }

.interest-sports::before { background: linear-gradient(90deg, #26c6da, #00838f); }
.interest-sports { border-color: rgba(38,198,218,0.25); }
.interest-sports:hover { background: rgba(38,198,218,0.06); border-color: rgba(38,198,218,0.4); color: #80deea; }
.interest-sports:hover::before { opacity: 1; }

.interest-webgl::before { background: linear-gradient(90deg, #64b5f6, #1976d2); }
.interest-webgl { border-color: rgba(100,181,246,0.25); }
.interest-webgl:hover { background: rgba(100,181,246,0.06); border-color: rgba(100,181,246,0.4); color: #90caf9; }
.interest-webgl:hover::before { opacity: 1; }

.interest-embedded::before { background: linear-gradient(90deg, #ffb74d, #e65100); }
.interest-embedded { border-color: rgba(255,183,77,0.25); }
.interest-embedded:hover { background: rgba(255,183,77,0.06); border-color: rgba(255,183,77,0.4); color: #ffe0b2; }
.interest-embedded:hover::before { opacity: 1; }

/* ============================================================
   COLORED CONTACT CARDS
============================================================ */
.contact-card {
  position: relative;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius-sm);
  padding: 22px 20px;
  transition: all 0.25s;
  overflow: hidden;
}

.contact-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  opacity: 0;
  transition: opacity 0.25s, width 0.25s;
}

.contact-card:not(.no-link):hover::before { opacity: 1; width: 3px; }

.contact-card:not(.no-link) {
  cursor: pointer;
}

.contact-card:nth-child(1)::before { background: linear-gradient(180deg, #ff6b6b, #ee5a52); }
.contact-card:nth-child(1):hover { background: rgba(255,107,107,0.06); border-color: rgba(255,107,107,0.25); }

.contact-card:nth-child(2)::before { background: linear-gradient(180deg, #4fc3f7, #0288d1); }
.contact-card:nth-child(2):hover { background: rgba(79,195,247,0.06); border-color: rgba(79,195,247,0.25); }

.contact-card:nth-child(3)::before { background: linear-gradient(180deg, #ab47bc, #7b1fa2); }
.contact-card:nth-child(3):hover { background: rgba(171,71,188,0.06); border-color: rgba(171,71,188,0.25); }

.contact-card:nth-child(4)::before { background: linear-gradient(180deg, #66bb6a, #2e7d32); }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 900px) {
  .content-card { padding: 36px 28px; }
  .about-layout { grid-template-columns: 1fr; }
  .about-photo-col { flex-direction: column; align-items: center; gap: 18px; }
  .photo-placeholder { width: 120px; height: 120px; }
}

@media (max-width: 600px) {
  .top-ui { padding: 14px 24px 12px; border-radius: 16px; }
  .top-ui-inner { flex-direction: column; gap: 4px; }
  .divider { display: none; }
  .name-tag { font-size: 1rem; }
  .role-tag { font-size: 0.75rem; }
  .content-card { padding: 28px 20px; }
  .content-card h2 { font-size: 1.65rem; }
  .about-photo-col { flex-direction: column; }
  .skills-grid, .projects-grid, .interests-grid, .contact-grid { grid-template-columns: 1fr; }
}