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

html {
  scrollbar-width: none;
  overflow-y: scroll;
}

html::-webkit-scrollbar {
  display: none;
}

body {
  background-color: #1c1d20;
  color: #fff;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  overflow-x: hidden;
  user-select: none;
  -ms-overflow-style: none;
}

.page-content {
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.page-content.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.page-loader {
  position: fixed;
  inset: 0;
  background: #14151a;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  gap: 10px;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.loader-title {
  font-family: "Oswald", sans-serif;
  font-size: 1.4rem;
  color: #e0e0e0;
  letter-spacing: 0.04em;
}

.loader-sub {
  font-size: 0.95rem;
  color: #9a9a9a;
  font-family: "Courier Prime", monospace;
}

.loader-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
}

.loader-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #5b95ff, #8bb3ff);
  box-shadow: 0 0 12px rgba(91, 149, 255, 0.5);
  transition: width 0.2s ease;
}

.is-loading {
  overflow: hidden;
  height: 100vh;
}

.logo-link {
  text-decoration: none;
  color: inherit;
}

.background-video {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: 0;
  opacity: 0.2;
  pointer-events: none;
  mix-blend-mode: lighten;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 1.5rem;
  font-weight: 600;
  font-family: "Oswald", sans-serif;
  letter-spacing: 0.02em;
}

.logo .dot {
  color: #5b95ff;
}

.nav-links {
  font-size: large;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: #ccc;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  width: 0%;
  height: 2px;
  background: #5b95ff;
  transform: translateX(-50%);
  transition: width 0.4s ease;
}

.nav-links a:hover {
  color: #5b95ff;
  text-shadow: 0 0 8px #5b95ff88;
}

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

.copyright {
  font-family: "Courier Prime", monospace;
  margin: 24px auto 16px;
  color: #fff;
  font-size: 14px;
  text-align: center;
}

@media(pointer: coarse){
  .hire-button{display: none;} 
  .burger{display: inline-block;}
}



.hire-button {
  background: #5b95ff;
  color: #121212;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hire-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px #5892ff7c;
}

.hero {
  padding: 80px 20px;
  max-width: 750px;
  margin: 0 auto;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-text {
  flex: 1 1 300px;
}

.hero-text .intro {
  font-size: 4rem;
  font-family: "Oswald", sans-serif;
  color: #e0e0e0;
}

.name-wrapper {
  position: relative;
  display: inline-block;
}

.hero-text .name {
  font-size: 4rem;
  font-family: "Oswald", sans-serif;
  color: #5b95ff;
  margin-top: -30px;
  margin-bottom: -20px;
  transition: text-shadow 0.3s ease;
}

.hero-text .name:hover {
  text-shadow: 0 0 2px #fff, 0 0 4px #5b95ff;
}

.underline-svg {
  width: 100%;
  height: 30px;
  margin-top: -5px;
}

.underline-svg path {
  stroke-dasharray: 250;
  stroke-dashoffset: 250;
  animation: draw-line 3s ease-in-out infinite;
}

@keyframes draw-line {
  0% { stroke-dashoffset: 250; }
  40% { stroke-dashoffset: 0; }
  60% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -250; }
}

.tagline {
  font-size: 1.25rem;
  color: #ccc;
}

.desc {
  font-family: "Courier Prime", monospace;
  font-size: 0.95rem;
  color: #aaa;
  margin-top: 10px;
}

.dynamic-text {
  color: #5b95ff;
}

.dynamic-text::after {
  content: "|";
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 50%, 100% { opacity: 1; }
  25%, 75% { opacity: 0; }
}

.social-links {
  margin-top: 10px;
}

.social-btn {
  margin-right: 12px;
  font-size: 26px;
  color: #5b95ff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.social-btn:hover {
  color: #fff;
}

.hitbox {
  
  position: absolute;
  inset: 25%;
  padding-top:260px;
  margin-top: -60px;
  z-index: 5;
}
.hero-image {
  position: relative;
  width: 270px;
  height: 270px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image img {
  width: 380px;
  height: 380px;
  border-radius: 50%;
  object-fit: cover;
  animation: ghost-float 6s ease-in-out infinite;
  transform-origin: center;
}

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

@media (prefers-reduced-motion: reduce) {
  .hero-image img {
    animation: none;
  }
}

.about-section {
  display: flex;
  justify-content: center;
  padding: 30px 20px 60px;
  content-visibility: auto;
  contain-intrinsic-size: 1px 420px;
}

.about-card {
  max-width: 900px;
  width: 100%;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #14151a;
  padding: 32px 36px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  position: relative;
}

.about-title {
  font-family: "Oswald", sans-serif;
  font-size: 2.2rem;
  text-align: center;
  color: #e6e6e6;
  position: relative;
  padding-bottom: 5px;
  margin-bottom: 18px;
}

.about-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 130px;
  height: 3px;
  border-radius: 999px;
  background: #5b95ff;
  box-shadow: 0 0 8px rgba(91, 148, 255, 0.439);
}

.about-text {
  font-family: "Courier Prime", monospace;
  font-size: 1rem;
  color: #bdbdbd;
  line-height: 1.7;
  text-align: center;
}
@property --angle{
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

.about-card::after, .about-card::before{
  content: "";
  position: absolute;
  height: 100%;
  width: 100%;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  z-index: -1;
  padding: 5px;
  border-radius: 25px;
  background-image: conic-gradient(from var(--angle),transparent,#5b95ff , transparent  , #5b95ff, transparent);
  animation: spin 10s linear infinite;
}
.about-card::before{
  filter: blur(1rem);
  opacity: 0.3;
}
@keyframes spin{
  from{--angle:0deg;} to{--angle:360deg;}
}

.terminal {
  position: absolute;
  top: 100px;
  left: 100px;
  width: 520px;
  height: 360px;
  background: #0b0b0be3;
  color: #5b95ff;
  border-radius: 8px;

  display: flex;
  flex-direction: column;
  display: none;
  resize: both;
  overflow: auto;
  font-family: "Courier New", monospace;
  scrollbar-width: none;
}

.terminal::-webkit-scrollbar{
  display: none;
}

.terminal-header {
  background: #212121;
  padding: 8px;
  display: flex;
  justify-content: space-between;
  cursor: move;
}

.terminal-header button {
  width: 12px;
  height: 12px;
  background: #ff4d4d;
  border-radius: 50%;
  border: none;
  cursor: pointer;
}

.terminal-body {
  padding: 10px;
  font-size: 14px;
  overflow-y: auto;
  flex: 1;
  scrollbar-width: none;
}

.terminal-body::-webkit-scrollbar {
  display: none;
}

@media (max-width: 768px) {

  .navbar {
    padding: 1rem;
  }

  .logo {
    font-size: 1.3rem;
  }

  .hire-button {
    padding: 0.45rem 0.9rem;
    font-size: 0.9rem;
  }

  .hero {
    padding: 60px 16px;
    max-width: 100%;
    text-align: center;
  }

  .hero-content {
    justify-content: center;
  }

  .hero-text {
    flex: 1 1 100%;
  }

  .hero-text .intro {
    font-size: 2.6rem;
  }

  .hero-text .name {
    font-size: 2.8rem;
    margin-top: -10px;
    margin-bottom: -10px;
  }

  .underline-svg {
    margin: 0 auto;
    max-width: 220px;
  }

  .tagline {
    font-size: 1.1rem;
  }

  .desc {
    font-size: 0.9rem;
  }

  .social-links {
    justify-content: center;
  }

  .social-btn {
    font-size: 24px;
    margin: 0 10px;
  }

  .hero-image {
    margin-top: 20px;
    margin-right: 0px
  }

  .hero-image img {
    width: 370px;
    height: 370px;
  }

  .about-section {
    padding: 20px 16px 50px;
  }

  .about-card {
    padding: 24px 20px;
    border-radius: 18px;
  }

  .about-title {
    font-size: 1.8rem;
  }

  .about-text {
    font-size: 0.95rem;
  }


  .terminal {
    width: 90vw;
    height: 60vh;
    left: 5vw;
    top: 15vh;
  }



}

.burger {
  display: none;
}

@media (max-width: 900px) {
.burger {
  display: inline-block;
  font-size: 20px;
  color: #fff;
  cursor: pointer;
  line-height: 1;
  padding: 10px;
  user-select: none;
  
}
 .nav-links{
  display: none;
 }

  .hire-button{
    display: none;
  }
}


@media (pointer: coarse) {
  .burger {
    display: inline-block;
  }

  .nav-links,
  .hire-button {
    display: none;
  }
}



.mobile-terminal {
  position: fixed;
  top: 80px;
  right: 20px;
  width: 85vw;
  max-width: 420px;

  background: #0b0b0be3;
  color: #5b95ff;
  border-radius: 8px;
  font-family: "Courier New", monospace;

  display: none;
  z-index: 999;
}

.mobile-terminal .terminal-header {
  background: #212121;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.mobile-terminal .terminal-header span {
  font-size: 18px;
  font-weight: 700;
  opacity: 1;
}

.mobile-terminal a:visited{
  color: #ffffff;
}

.mobile-terminal .terminal-header button {
  width: 12px;
  height: 12px;
  background: #ff4d4d;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  position: absolute;
  right: 10px;
}

.mobile-terminal .terminal-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mobile-terminal .terminal-body a {
  width: 100%;
  text-align: center;
  padding: 10px 12px;
  background: #5b95ff;
  color: #ffffff;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.2px;
}

@media (min-width: 901px) {
  .mobile-terminal {
    display: none !important;
  }
}

.no-scroll {
  overflow: hidden;
  height: 100vh;
  touch-action: none;
}
