body{
  margin:0;
  font-family:Arial;
  background:#050509;
  color:white;
  overflow-x:hidden;
}

/* ================= LOADER ================= */
.loader-screen{
  position:fixed;
  inset:0;
  background:black;
  display:flex;
  justify-content:center;
  align-items:center;
  z-index:99999;
  transition:1s;
}

.loading-box{text-align:center;}

.loading-bar{
  width:260px;
  height:14px;
  background:#111;
  border-radius:8px;
  overflow:hidden;
  border:2px solid rgba(255,0,0,0.7);
  box-shadow:0 0 25px rgba(255,0,0,0.6);
}

.loading-bar span{
  display:block;
  height:100%;
  width:0%;
  background:red;
  animation:load 2.8s forwards;
}

@keyframes load{to{width:100%}}

.loading-text{
  margin-top:18px;
  font-size:15px;
  letter-spacing:5px;
  display:flex;
  align-items:center;
  gap:12px;
  color:red;
  text-shadow:0 0 15px red;
}

.circle-loader{
  width:18px;
  height:18px;
  border-radius:50%;
  border:3px solid rgba(255,0,0,0.2);
  border-top:3px solid red;
  animation:spin 0.8s linear infinite;
}

@keyframes spin{to{transform:rotate(360deg)}}

/* ================= MAIN ================= */
.main-site{opacity:0;transition:1s}
.main-site.show{opacity:1}

/* ================= NAVBAR ================= */
.navbar{
  position:fixed;
  top:0;
  width:100%;
  padding:12px 0;
  z-index:999;
  background:rgba(0,0,0,0.55);
  backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(204, 0, 255, 0.35);
}

.nav-inner{
  max-width:1400px;
  margin:auto;
  display:flex;
  align-items:center;
  gap:40px;
  padding:0 40px;
}

.nav-logo img{
  height:48px;   /* pehle ~38px tha */
  width:auto;
  filter: drop-shadow(0 0 16px rgb(111, 0, 255));
}

.nav{
  display:flex;
  gap:35px;
}

.nav a{
  color:white;
  font-weight:700;
  text-decoration:none;
  font-size:14px;
  display:flex;
  align-items:center;
  gap:8px;
  padding:10px 14px;
  border-radius:10px;
  transition:0.25s;
}

.nav a i{color:rgb(162, 0, 255)}

.nav a:hover{
  color:rgb(183, 0, 255);
  text-shadow:0 0 15px rgb(212, 0, 255);
}

.nav a:hover i{
  transform:scale(1.15);
  text-shadow:0 0 18px rgb(160, 4, 250);
}

.nav a.active{
  color:rgb(119, 0, 255);
  text-shadow:0 0 15px rgb(132, 0, 255);
}

/* ================= HERO ================= */
.hero{
  height:100vh;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:0 90px; /* Reduced vertical padding to move things up */
}

.profile-pic{
  width:170px;
  height:170px;
  border-radius:50%;
  overflow:hidden;
  box-shadow:0 0 45px red;
}

.profile-pic img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.hero-title{
  font-size:55px;
  font-weight:900;
  margin:20px 0 10px;
  color:red;
  text-shadow:0 0 25px red;
}

.hero-subtitle{
  font-size:16px;
  color:#bbb;
}

.hero-type{
  margin-top:25px;
  font-size:26px;
}

#typewriter{
  color:red;
  text-shadow:0 0 20px red;
}

/* ================= WELCOME CARD ================= */
.welcome-card{
  width:560px;
  height:190px;
  display:flex;
  gap:20px;
  padding:25px;
  border-radius:18px;
  background:rgba(20,20,25,0.92);
  border:1px solid rgba(255,0,0,0.4);
  box-shadow:0 0 30px rgba(255,0,0,0.3);
  transition:0.3s;
}

.welcome-card:hover{
  transform:scale(1.04);
  box-shadow:0 0 60px rgba(255,0,0,0.7);
}

.welcome-skin{
  width:150px;
  display:flex;
  justify-content:center;
  align-items:center;
}

.welcome-skin img{
  height:180px;
}

.welcome-content h2{
  margin:0;
  color:red;
  text-shadow:0 0 12px red;
}

.welcome-content p{
  margin-top:14px;
  color:#ddd;
}

.discord-btn{
  margin-top:18px;
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:12px 22px;
  background:red;
  color:white;
  border-radius:12px;
  font-weight:700;
  text-decoration:none;
  transition:0.3s;
  box-shadow:0 0 25px rgba(255,0,0,0.6);
}

.discord-btn:hover{
  transform:scale(1.08);
  box-shadow:0 0 45px rgba(255,0,0,0.95);
}

/* ================= INFO SECTION ================= */
.info-section{
  padding:20px 90px 90px; /* Moved up by reducing top padding */
  margin-top: -40px; /* Pulls the section even higher */
}

.info-title{
  display:flex;
  justify-content:center; /* Center alignment */
  align-items:center;
  gap:14px;
  font-size:28px;
  font-weight:900;
  letter-spacing:2px;
  color:red;
  margin-bottom:30px;
  text-shadow:0 0 18px red;
}

.info-title i{
  font-size:22px;
}

.info-box{
  max-width:1200px;
  margin: 0 auto;
  background:#0e0e11;
  border-radius:18px;
  padding:45px 50px;
  border:1px solid rgba(255,0,0,0.35);
  transition:0.35s ease;
}

.info-box:hover{
  transform:scale(1.02);
  box-shadow:0 0 80px rgba(255,0,0,0.75);
  border-color:red;
}

.info-header{
  display:flex;
  justify-content:space-between;
  align-items:center; /* Better vertical alignment */
  gap:30px;
}

.info-header h2{
  margin:0;
  font-size:30px;
  font-weight:800;
}

.info-skin-wrap{
  display:flex;
  align-items:center;
  gap:12px;
}

.info-tag{
  color:red;
  font-weight:800;
  font-size:15px;
}

/* SKIN CROP - NO BORDER, HEAD & CHEST VIEW */
.info-skin{
  width:100px;
  height:100px;
  overflow:hidden;
  border:none; /* Removed border */
}

.info-skin img{
  width:180px;
  /* Adjusted crop to show head and chest clearly */
  transform: translate(-40px, -20px); 
}

.info-divider{
  height:1px;
  background:#2a2a2a;
  margin:22px 0 26px;
}

.info-text{
  font-size:17px;
  line-height:1.6;
  color:#d0d0d0;
}

/* Highlight Style */
.info-text .highlight {
  color: red;
  font-weight: bold;
  text-shadow: 0 0 5px rgba(255,0,0,0.3);
}

* ================= SOCIAL BAR FIX – CENTER ABOVE WELCOME BOX ================= */

.hero-right{
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* SOCIAL ICONS ROW */
.social-bar{
  display: flex;
  flex-direction: row;        /* FORCE ROW */
  justify-content: center;    /* CENTER */
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

/* ICON BASE */
.social{
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* SCALE ON HOVER */
.social:hover{
  transform: scale(1.15);
}

/* HOVER LABEL (RIGHT SIDE) */
.social span{
  position: absolute;
  left: 52px;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 8px;
  opacity: 0;
  transform: translateX(-10px);
  transition: 0.25s;
}

.social:hover span{
  opacity: 1;
  transform: translateX(0);
}

/* ================= BRAND COLORS ================= */

.social.yt{
  background:#ff0000;
  color:white;
  box-shadow:0 0 18px rgba(255,0,0,0.6);
}
.social.yt span{background:#ff0000}

.social.insta{
  background:linear-gradient(45deg,#f58529,#dd2a7b,#8134af,#515bd4);
  color:white;
  box-shadow:0 0 18px rgba(221,42,123,0.6);
}
.social.insta span{background:#dd2a7b}

.social.discord{
  background:#5865F2;
  color:white;
  box-shadow:0 0 18px rgba(88,101,242,0.6);
}
.social.discord span{background:#5865F2}

.social.github{
  background:#111;
  color:white;
  box-shadow:0 0 18px rgba(255,255,255,0.2);
}
.social.github span{background:#111}

/* BUILTBYBIT – BLUE BOX-SHADOW */
.social.bbb{
  background:#ffb400;
  color:black;
  box-shadow: 0 0 10px rgba(0,150,255,0.6);
}
.social.bbb:hover{
  box-shadow:
    0 0 12px rgba(0,150,255,0.7),
    0 0 26px rgba(0,150,255,0.8),
    0 0 45px rgba(0,150,255,0.6);
}
.social.bbb span{
  background:#ffb400;
  color:black;
}

/* MOBILE SAFETY */
@media (max-width:768px){
  .social span{display:none;}
}

/* NAVBAR CENTER BUTTONS */
.nav-inner{
  justify-content: space-between;
}

.nav{
  flex: 1;
  display: flex;
  justify-content: center;
}

/* ===== SOCIAL ICON SIZE BALANCE FIX ===== */

/* sab socials thode compact */
.social{
  width: 40px;
  height: 40px;
  font-size: 18px;
}

/* hover scale thoda kam (zyada bada lag raha tha) */
.social:hover{
  transform: scale(1.1);
}

/* ===== BUILTBYBIT SIZE + BLUE GLOW BALANCE ===== */

.social.bbb img{
  width: 18px;
  height: 18px;
}

/* normal soft glow */
.social.bbb{
  box-shadow: 0 0 5px rgba(0,150,255,0.45);
}

/* hover pe controlled blue glow */
.social.bbb:hover{
  box-shadow:
    0 0 8px rgba(0,150,255,0.6),
    0 0 16px rgba(0,150,255,0.6);
}

/* ===== HOVER LABEL UPAR DIKHANE KE LIYE ===== */

.social span{
  left: 50%;
  bottom: 52px;              /* icon ke upar */
  transform: translateX(-50%) translateY(6px);
  opacity: 0;
}

.social:hover span{
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ===== BUILTBYBIT COLOR FIX (YELLOW → BLUE) ===== */

.social.bbb{
  background: #0b0b0f;        /* black default */
  color: white;
  box-shadow: 0 0 5px rgba(0,0,0,0.6);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.social.bbb span{
  background: #0b0b0f;
  color: white;
}

/* HOVER = BLUE GLOW */
.social.bbb:hover{
  box-shadow:
    0 0 8px rgba(30,144,255,0.6),
    0 0 18px rgba(30,144,255,0.7),
    0 0 32px rgba(30,144,255,0.6);
}


.social.bbb{
  background: #0b0b0f;        /* black default */
  color: white;
  box-shadow: 0 0 5px rgba(0,0,0,0.6);
  transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

/* ===== HOVER PE ICON BLUE ===== */

.social.bbb:hover{
  background: #1e90ff;        /* blue on hover */
  box-shadow:
    0 0 8px rgba(30,144,255,0.6),
    0 0 18px rgba(30,144,255,0.7),
    0 0 32px rgba(30,144,255,0.6);
}

/* ===== PROFILE PIC HOVER ENLARGE + RED GLOW ===== */

.profile-pic{
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.profile-pic:hover{
  transform: scale(1.15); /* badi dikhe */
  box-shadow:
    0 0 15px rgba(255,0,0,0.7),
    0 0 35px rgba(255,0,0,0.8),
    0 0 70px rgba(255,0,0,0.6);
  z-index: 10;
}

/* ================= FOOTER ================= */
.footer { margin-top: 50px; padding: 20px 90px; border-top: 1px solid rgba(255, 0, 0, 0.2); display: flex; justify-content: space-between; align-items: center; background: #050509; }
.footer-left { display: flex; align-items: center; gap: 12px; }
.footer-pfp { width: 32px; height: 32px; border-radius: 50%; border: 1px solid red; }
.copyright { font-size: 13px; color: #777; }
.copyright b { color: red; }
.footer-right { display: flex; gap: 15px; }
.footer-right a { color: #777; font-size: 16px; transition: 0.3s; }
.footer-right a:hover { color: red; text-shadow: 0 0 10px red; }

@media (max-width:768px){
  .hero, .footer, .info-header { flex-direction: column; text-align: center; gap: 20px; }
  .welcome-card { width: 100%; height: auto; flex-direction: column; }
  .nav { display: none; }
}

/* ===== WELCOME PAGE LOAD ANIMATION ===== */

.hero{
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* jab page ready ho */
.hero.show{
  opacity: 1;
  transform: translateY(0);
}

/* ===== HIRE ME BUTTON (WELCOME BOX) ===== */

.hire-btn{
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  background: red;
  color: white;
  border-radius: 14px;
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  letter-spacing: 1px;
  box-shadow:
    0 0 18px rgba(255,0,0,0.6),
    0 0 40px rgba(255,0,0,0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hire-btn:hover{
  transform: scale(1.1);
  box-shadow:
    0 0 25px rgba(255,0,0,0.8),
    0 0 55px rgba(255,0,0,0.9);
}

.hire-btn i{
  font-size: 18px;
}

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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #14002e, #05000b 70%);
  color: #ffffff;
  overflow-x: hidden;
}

/* ================= NAVBAR ================= */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(10, 0, 30, 0.85);
  backdrop-filter: blur(14px);
  z-index: 999;
}

.nav-inner {
  max-width: 1300px;
  margin: auto;
  padding: 14px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo img {
  height: 38px;
}

.nav {
  display: flex;
  gap: 22px;
}

.nav a {
  text-decoration: none;
  color: #cccccc;
  font-size: 14px;
  transition: 0.25s ease;
}

.nav a i {
  margin-right: 6px;
}

.nav a:hover,
.nav a.active {
  color: #6600ff;
  text-shadow: 0 0 12px #6600ff;
}

/* ================= SKILLS SECTION ================= */
.skills-purple {
  padding: 140px 60px 100px;
}

/* HEADER */
.skills-header {
  text-align: center;
  margin-bottom: 90px;
}

.skills-pfp {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #6600ff;
  box-shadow:
    0 0 25px rgba(102, 0, 255, 0.7),
    0 0 70px rgba(102, 0, 255, 0.6);
  margin-bottom: 22px;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.skills-pfp:hover {
  transform: scale(1.18);
  box-shadow:
    0 0 35px rgba(102, 0, 255, 0.9),
    0 0 90px rgba(102, 0, 255, 0.85),
    0 0 150px rgba(102, 0, 255, 0.7);
}

.skills-title {
  font-size: 54px;
  font-weight: 900;
  color: #6600ff;
  text-shadow: 0 0 25px #6600ff;
}

.skills-subtitle {
  margin-top: 10px;
  color: #c5b6ff;
  font-size: 15px;
}

/* ================= GRID ================= */
.skills-grid {
  max-width: 1250px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 36px;
}

/* ================= CARD ================= */
.skill-card.purple {
  background: linear-gradient(180deg, #0c0217, #070010);
  border: 1px solid rgba(102, 0, 255, 0.45);
  border-radius: 20px;
  padding: 30px;
  box-shadow:
    inset 0 0 20px rgba(102, 0, 255, 0.15),
    0 0 35px rgba(102, 0, 255, 0.25);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.skill-card.purple:hover {
  transform: translateY(-10px);
  box-shadow:
    inset 0 0 25px rgba(102, 0, 255, 0.25),
    0 0 90px rgba(102, 0, 255, 0.75);
}

.skill-card.purple h3 {
  font-size: 18px;
  margin-bottom: 22px;
  color: #d4c6ff;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ================= SKILL ROW ================= */
.skill {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 10px;
  margin-bottom: 16px;
  font-size: 14px;
}

.skill span {
  display: flex;
  align-items: center;
  gap: 10px;
}

.skill span i {
  color: #9a5cff;
  min-width: 18px;
  text-align: center;
}

.skill b {
  color: #e0d6ff;
  font-weight: 600;
}

/* ================= BAR ================= */
.bar {
  grid-column: 1 / -1;
  height: 7px;
  background: #1b003f;
  border-radius: 10px;
  overflow: hidden;
}

.bar i {
  display: block;
  height: 100%;
  width: 0%; /* IMPORTANT: JS controls this */
  background: linear-gradient(90deg, #6600ff, #b57cff);
  box-shadow:
    0 0 12px #6600ff,
    0 0 30px rgba(102, 0, 255, 0.6);
  transition: width 0.2s linear; /* smooth step-by-step */
}

/* ================= SOCIAL ================= */
.skills-social {
  margin-top: 110px;
  text-align: center;
}

.skills-social h2 {
  font-size: 26px;
  margin-bottom: 28px;
  color: #6600ff;
  text-shadow: 0 0 20px #6600ff;
}

.skills-social-bar {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.skills-social-bar a {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #14002e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #6600ff;
  box-shadow: 0 0 18px rgba(102, 0, 255, 0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.skills-social-bar a:hover {
  transform: scale(1.18);
  box-shadow:
    0 0 35px rgba(102, 0, 255, 0.9),
    0 0 80px rgba(102, 0, 255, 0.7);
}

/* ================= FOOTER ================= */
.footer {
  margin-top: 120px;
  padding: 28px 40px;
  background: #06000e;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #747375;
  font-size: 13px;
}

.footer b {
  color: #9900ff;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-pfp {
  width: 34px;
  height: 34px;
}

.footer-right a {
  color: #aaaaaa;
  margin-left: 16px;
  font-size: 18px;
  transition: 0.25s;
}

.footer-right a:hover {
  color: #6600ff;
  text-shadow: 0 0 15px #8400ff;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  .skills-purple {
    padding: 120px 20px 80px;
  }

  .skills-title {
    font-size: 42px;
  }

  .footer {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}
