/* ══════════════════════════════════
   HERO SECTION
══════════════════════════════════ */
#hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding-top: 62px;
  position: relative;
  overflow: hidden;
}

/* Radial glow bg */
#hero::before {
  content: '';
  position: absolute;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(0,255,136,0.04) 0%, transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 4rem;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.74rem;
  color: var(--green);
  background: rgba(0,255,136,0.05);
  border: 1px solid rgba(0,255,136,0.2);
  border-radius: 2px;
  padding: 0.3rem 0.85rem;
  letter-spacing: 2.5px;
  margin-bottom: 1.5rem;
}
.blink-dot {
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: dot-pulse 1.6s ease-in-out infinite;
}

/* Profile Photo */
.hero-profile {
  position: relative;
  width: 140px;
  height: 140px;
  margin-bottom: 1.5rem;
}
.profile-glow {
  position: absolute;
  inset: -4px;
  background: conic-gradient(var(--green), var(--cyan), var(--purple), var(--green));
  border-radius: 50%;
  animation: spin 4s linear infinite;
  opacity: 0.6;
}
.profile-img {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--bg);
  box-shadow: 0 0 30px rgba(0,255,136,0.2), 0 0 60px rgba(0,212,255,0.1);
  z-index: 1;
}

h1.hero-name {
  font-family: 'Orbitron', monospace;
  font-weight: 900;
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  line-height: 1.08;
  color: #fff;
  margin-bottom: 0.6rem;
  letter-spacing: -0.5px;
}
h1.hero-name .accent {
  display: block;
  background: linear-gradient(135deg, var(--green) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-role {
  font-family: 'Share Tech Mono', monospace;
  font-size: 1rem;
  color: var(--cyan);
  min-height: 1.5rem;
  margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: 0.4rem;
}
.cursor-blink {
  display: inline-block;
  width: 2px; height: 1rem;
  background: var(--cyan);
  animation: blink 1s step-end infinite;
}

.hero-desc {
  font-size: 0.93rem;
  color: var(--text-mid);
  line-height: 1.9;
  max-width: 520px;
  margin-bottom: 2.25rem;
}
.hero-desc strong { color: var(--text); font-weight: 500; }

.hero-btns { display: flex; gap: 0.85rem; flex-wrap: wrap; }

/* CV Buttons */
.cv-btns {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}
.btn-cv {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0.6rem 1.2rem;
  border-radius: 3px;
  text-decoration: none;
  background: linear-gradient(135deg, var(--purple), #7b3fe4);
  color: #fff;
  font-weight: 600;
  border: 1px solid var(--purple);
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}
.btn-cv:hover {
  box-shadow: var(--glow-p);
  transform: translateY(-2px);
}
.btn-cv-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0.6rem 1.2rem;
  border-radius: 3px;
  text-decoration: none;
  background: transparent;
  color: var(--purple);
  border: 1px solid rgba(157,92,255,0.3);
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}
.btn-cv-ghost:hover {
  border-color: var(--purple);
  box-shadow: var(--glow-p);
  transform: translateY(-2px);
}

.hero-metrics {
  display: flex; gap: 2rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.metric-num {
  font-family: 'Orbitron', monospace;
  font-size: 1.7rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.metric-lbl {
  font-size: 0.7rem;
  color: var(--text-dim);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 0.1rem;
}

/* ── TERMINAL CARD ── */
.term-wrap {
  position: relative;
}
.term-glow {
  position: absolute; inset: -2px;
  background: linear-gradient(135deg, rgba(0,255,136,0.15), rgba(0,212,255,0.05), rgba(157,92,255,0.1));
  border-radius: 12px;
  filter: blur(16px);
  z-index: -1;
}
.terminal {
  background: linear-gradient(145deg, rgba(10,10,26,0.98), rgba(5,5,18,0.98));
  border: 1px solid rgba(0,255,136,0.18);
  border-radius: 10px;
  overflow: hidden;
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.8rem;
  backdrop-filter: blur(10px);
}
.term-bar {
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 0.65rem 1rem;
  display: flex; align-items: center; gap: 0.5rem;
}
.td { width: 10px; height: 10px; border-radius: 50%; }
.td.r { background: #ff5f57; box-shadow: 0 0 5px #ff5f57; }
.td.y { background: #ffbd2e; box-shadow: 0 0 5px #ffbd2e; }
.td.g { background: #28c840; box-shadow: 0 0 5px #28c840; }
.term-ttl { color: var(--text-dim); font-size: 0.73rem; margin-left: 0.4rem; }
.term-body { padding: 1.25rem 1.5rem; line-height: 2.1; }
.tl { display: flex; flex-wrap: wrap; }
.tp { color: var(--green); margin-right: 0.4rem; flex-shrink: 0; }
.tc { color: var(--cyan); }
.to { color: var(--text-mid); padding-left: 1rem; }
.tk { color: #c792ea; }
.tv { color: var(--text-dim); }
.ts { color: var(--green); }

/* TryHackMe Embed in Terminal */
/* .thm-embed {
  margin-top: 0.1rem;
  padding: 0 ;
  background: rgba(137,92,246,0.08);
  border: 1px solid rgba(137,92,246,0.2);
  border-radius: 1px;
  overflow: hidden;
  box-sizing: border-box ;
}
.thm-embed iframe {
  border: none;
  width: 140% ;
  height: 76px;
  display: block;
  background: transparent;
  overflow: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  
} */

/*.thm-embed {
  display: flex;
  margin-top: 0.1rem;
  padding: 0;
  background: rgba(137,92,246,0.08);
  border: 1px solid rgba(137,92,246,0.2);
  border-radius: 1px;
  overflow: hidden;
}

.thm-embed iframe {
  flex: 1;
  border: none;
  height: 76px;
} */

.thm-embed {
  margin: 0;
  padding: 0;
  background: transparent;   /* remove box color */
  border: none;              /* remove border */
  overflow: hidden;
}

.thm-embed iframe {
  height: 90px;
  width: 100%;
  display: block;
  border: none;
  background: transparent;
}


.thm-embed iframe::-webkit-scrollbar {
  display: none;
}
