:root {
  --bg-main: #070b18;
  --bg-card: rgba(16, 22, 44, 0.75);
  --border-soft: rgba(124,108,255,0.18);
  --accent: #7c6cff;
  --text-main: #e6e9f0;
  --text-muted: #9aa3b2;
  --success: #22c55e;
}

* {
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

body {
  margin: 0;
  background:
    radial-gradient(1200px at 15% 10%, #121a3d 0%, transparent 40%),
    radial-gradient(1000px at 90% 90%, #0b1230 0%, transparent 45%),
    var(--bg-main);
  color: var(--text-main);
}

.container {
  max-width: 1200px;
  padding: 32px;
  margin: auto;
}

.grid {
  display: grid;
  grid-template-columns: 2.1fr 1fr 1fr;
  gap: 22px;
}

.card {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 17px;
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-soft);
}

/* HERO — Image 2 */
.hero { grid-row: span 2; }

.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6ea8ff, #4f7cff);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: 30px;
  font-weight: 600;
  margin: 0 0 14px;
}

.hero h1 span {
  color: #8fd3ff;
}

.hero p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.role {
  display: flex;
  gap: 10px;
}

.role-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  margin-top: 6px;
}

/* STATUS — Image 2 */
.status {
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: center;
}

.status-top {
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
}

/* WORK EXPERIENCE — Image 1 */
.work h3 {
  font-size: 16px;
  margin-bottom: 10px;
}

.work strong {
  font-size: 14px;
  font-weight: 500;
}

.work span {
  font-size: 13px;
  color: var(--text-muted);
}

.work small {
  font-size: 12px;
  color: var(--text-muted);
}

/* CONTACT */
.contact a {
  color: var(--accent);
  text-decoration: none;
}

/* CONNECT — Image 2 */
.socials {
  display: flex;
  gap: 12px;
}

.socials div {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
}

/* PROJECTS — Image 2 */
.projects ul {
  list-style: none;
  padding: 0;
  margin-top: 12px;
}

.projects li {
  display: grid;
  grid-template-columns: 1fr auto;
  padding: 10px 0;
}

.projects li + li {
  border-top: 1px solid rgba(255,255,255,0.05);
}

.projects small {
  color: var(--text-muted);
}

/* SKILLS — Image 2 */
.skills {
  grid-column: 2 / span 2;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 25px;
}

.tags span {
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(124,108,255,0.14);
  border: 1px solid rgba(124,108,255,0.35);
  font-size: 12px;
  color: #d7dcff;
}



/* RESPONSIVE */
@media (max-width: 900px) {
  .grid {
    grid-template-columns: 1fr;
  }
  .skills {
    grid-column: auto;
  }
}
/* CONTACT SOCIAL ICONS — MATCH IMAGE 2 THEME */

.contact-socials {
  display: flex;
  gap: 12px;
  margin-top: 14px;
}

.contact-socials a {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.contact-socials img {
  width: 18px;
  height: 18px;
  filter: invert(1);
  opacity: 0.85;
}

/* subtle hover like Image 2 */
.contact-socials a:hover {
  box-shadow: 0 0 16px rgba(124,108,255,0.35);
  transform: translateY(-2px);
}

/* SKILLS EXPAND / COLLAPSE */

.tags-collapsed {
  max-height: 110px;
  overflow: hidden;
  position: relative;
}

.expand-btn {
  margin-top: 12px;
  background: transparent;
  border: none;
  color: var(--accent);
  font-size: 13px;
  cursor: pointer;
  padding: 0;
}

.expand-btn:hover {
  text-decoration: underline;
}
/* Align Skills expand button to right */

.skills {
  position: relative;
}

.expand-btn {
  display: block;
  margin-left: auto;
  margin-top: 12px;
  text-align: right;
}
/* Glass cursor effect — Skills card only */

.card {
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    600px circle at var(--x, 50%) var(--y, 50%),
    rgba(124,108,255,0.18),
    transparent 40%
  );
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.card:hover::before {
  opacity: 1;
}


.card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.35);
}
/* Scroll reveal animation */

.card {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.card.reveal {
  opacity: 1;
  transform: translateY(0);
}
.hero h1 span {
  background: linear-gradient(
    90deg,
    #7c6cff,
    #a89bff,
    #7c6cff
  );
  background-size: 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 4s ease infinite;
}

@keyframes shimmer {
  0% { background-position: 0%; }
  100% { background-position: 200%; }
}
.expand-btn {
  transition: transform 0.2s ease;
}

.expand-btn:active {
  transform: scale(0.96);
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
.card {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.card.reveal {
  opacity: 1;
  transform: translateY(0);
}
/* Touch glow effect for mobile */

@media (hover: none) {
  .card::before {
    opacity: 0;
    transition: opacity 0.2s ease;
  }

  .card.touch-active::before {
    opacity: 1;
  }
}
/* Green status dot pulse animation ONLY */

@keyframes greenPulse {
  20% {
    transform: scale(0.85);
    opacity: 0.6;
    box-shadow: 0 0 0 0 rgba(34,197,94,0.6);
  }
  50% {
    transform: scale(1);
    opacity: 1;
    box-shadow: 0 0 0 8px rgba(34,197,94,0);
  }
  100% {
    transform: scale(0.85);
    opacity: 0.6;
    box-shadow: 0 0 0 0 rgba(34,197,94,0);
  }
}

.status-dot {
  animation: greenPulse 3s infinite ease-in-out;
}
/* Continuous animation for role dot (non-blinking) */

@keyframes roleGlow {
  0% {
    box-shadow: 0 0 4px rgba(124,108,255,0.4);
  }
  50% {
    box-shadow: 0 0 10px rgba(124,108,255,0.8);
  }
  100% {
    box-shadow: 0 0 4px rgba(124,108,255,0.4);
  }
}

.role-dot {
  animation: roleGlow 3s infinite ease-in-out;
}
/* Hero name — neutral base + accent glow on hover */

.hero h1 span {
  color: #e6e9f0; /* neutral base */
  position: relative;
  transition: text-shadow 0.3s ease, color 0.3s ease;
}

.hero:hover h1 span {
  color: #ffffff;
  text-shadow:
    0 0 12px rgba(124,108,255,0.35),
    0 0 24px rgba(124,108,255,0.25);
}
/* Hero name — neutral base + accent glow on hover */

.hero h1 span {
  color: #e6e9f0; /* neutral base */
  position: relative;
  transition: text-shadow 0.3s ease, color 0.3s ease;
}

.hero:hover h1 span {
  color: #ffffff;
  text-shadow:
    0 0 12px rgba(124,108,255,0.35),
    0 0 24px rgba(124,108,255,0.25);
}
/* Hover slide-lift effect */

.card.reveal:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(0,0,0,0.35);
}
/* Base card animation (scroll reveal) */

.card {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease,
    box-shadow 0.25s ease;
}

.card.reveal {
  opacity: 1;
  transform: translateY(0);
}
