
:root {
  --bg-void:          #050811;
  --bg-panel:         #0b1120;
  --bg-panel-2:       #0f172a;
  --accent-cyan:      #00e5ff;
  --accent-cyan-dim:  #004b54;
  --accent-crimson:   #ff2a5f;
  --text-primary:     #f8fafc;
  --text-muted:       #94a3b8;
  --line:             rgba(255, 255, 255, 0.1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg-void);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
}

::selection {
  background: var(--accent-cyan);
  color: #000;
}


.atmosphere {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.65) 100%);
}

.scanlines {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 51;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.015) 0px,
    rgba(255, 255, 255, 0.015) 1px,
    transparent 2px,
    transparent 3px
  );
  opacity: 0.4;
}


.top-header {
  position: fixed;
  top: 24px;
  left: 28px;
  z-index: 70;
  display: flex;
  align-items: center;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  background: rgba(11, 17, 32, 0.85);
  backdrop-filter: blur(12px);
  padding: 8px 18px 8px 10px;
  border-radius: 40px;
  border: 1px solid rgba(0, 229, 255, 0.25);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 0 15px rgba(0, 229, 255, 0.1);
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.brand-link:hover {
  border-color: rgba(0, 229, 255, 0.7);
  box-shadow: 0 0 25px rgba(0, 229, 255, 0.35);
  transform: translateY(-2px);
}

.brand-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(0, 229, 255, 0.8));
  transition: transform 0.4s ease;
}

.brand-link:hover .brand-logo {
  transform: rotate(15deg) scale(1.08);
}

.brand-text {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 2px;
  color: var(--text-primary);
}

.brand-text .accent {
  color: var(--accent-cyan);
  text-shadow: 0 0 8px rgba(0, 229, 255, 0.6);
}


.hud-nav {
  position: fixed;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-family: 'Rajdhani', sans-serif;
}

.hud-nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: right;
  padding-right: 14px;
  border-right: 2px solid transparent;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.hud-nav a .num {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.35);
  font-weight: 600;
  transition: color 0.3s ease;
}

.hud-nav a:hover {
  color: var(--text-primary);
  border-right-color: rgba(0, 229, 255, 0.5);
  transform: translateX(-4px);
}

.hud-nav a:hover .num {
  color: var(--accent-cyan);
}

.hud-nav a.active {
  color: var(--accent-cyan);
  border-right-color: var(--accent-cyan);
  text-shadow: 0 0 12px rgba(0, 229, 255, 0.7);
}

.hud-nav a.active .num {
  color: var(--accent-cyan);
}


.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99;
  background: rgba(11, 17, 32, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  padding: 12px 20px;
  justify-content: space-around;
  align-items: center;
  font-family: 'Rajdhani', sans-serif;
}

.mobile-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: color 0.25s ease;
}

.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--accent-cyan);
  text-shadow: 0 0 8px rgba(0, 229, 255, 0.6);
}


section {
  min-height: 100vh;
  width: 100%;
  position: relative;
  padding: 100px 8vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--accent-cyan);
}


.hero {
  background:
    radial-gradient(1200px 600px at 15% 20%, rgba(0, 229, 255, 0.08), transparent 60%),
    radial-gradient(900px 500px at 85% 80%, rgba(255, 42, 95, 0.09), transparent 60%),
    var(--bg-void);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 70px;
  padding-top: 80px;
}

.hero-portrait {
  position: relative;
  width: 280px;
  height: 340px;
  flex-shrink: 0;
  background: linear-gradient(155deg, var(--accent-crimson) 0%, #800e2a 55%, #2b0a10 100%);
  clip-path: polygon(0 0, 100% 0, 100% 88%, 82% 100%, 0 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 0 35px rgba(255, 42, 95, 0.3);
}

.hero-portrait::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(115deg, rgba(255,255,255,0.04) 0 2px, transparent 2px 14px);
  z-index: 2;
  pointer-events: none;
}

.hero-portrait .hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  z-index: 1;
  transition: transform 0.4s ease;
}

.hero-portrait:hover .hero-img {
  transform: scale(1.05);
}

.hero-copy {
  max-width: 640px;
  width: 100%;
}

.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(48px, 9vw, 120px);
  line-height: 0.9;
  letter-spacing: 2px;
  display: flex;
  align-items: baseline;
  gap: 22px;
  flex-wrap: wrap;
}

.hero-title .glow {
  color: var(--text-primary);
  text-shadow: 0 0 35px rgba(0, 229, 255, 0.45);
}

.hero-tag {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  color: var(--text-muted);
  font-size: 16px;
  letter-spacing: 1.5px;
  margin: 18px 0 35px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-tag .sq {
  width: 9px;
  height: 9px;
  background: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan);
  display: inline-block;
}

.menu-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: 'Rajdhani', sans-serif;
}

.menu-list a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 8px 0 8px 4px;
  border-left: 3px solid transparent;
  transition: all .25s ease;
  width: fit-content;
}

.menu-list a:hover,
.menu-list a:focus-visible {
  color: var(--text-primary);
  border-left-color: var(--accent-cyan);
  padding-left: 18px;
}

.menu-list a .arrow {
  opacity: 0;
  margin-right: 8px;
  color: var(--accent-cyan);
  transition: opacity .2s ease;
}

.menu-list a:hover .arrow {
  opacity: 1;
}

.scroll-cue {
  position: absolute;
  bottom: 36px;
  left: 8vw;
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--text-muted);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}

.scroll-cue .bar {
  width: 2px;
  height: 34px;
  background: linear-gradient(to bottom, var(--accent-cyan), transparent);
  animation: pulse-bar 1.8s ease-in-out infinite;
}

@keyframes pulse-bar {
  0%, 100% { opacity: .3; }
  50% { opacity: 1; }
}


.about {
  background: var(--bg-panel);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.about-portrait {
  background: linear-gradient(160deg, #16233b, #0a1220 70%);
  border: 1px solid var(--line);
  aspect-ratio: 3/4;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 92%, 85% 100%, 0 100%);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.about-portrait::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(0, 229, 255, 0.12), transparent 60%);
  z-index: 2;
  pointer-events: none;
}

.about-portrait .about-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  z-index: 1;
  transition: transform 0.4s ease;
}

.about-portrait:hover .about-img {
  transform: scale(1.04);
}

.about-name {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 6px;
}

h2.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(36px, 5vw, 56px);
  letter-spacing: 1.5px;
  margin-bottom: 22px;
  color: var(--text-primary);
}

.about-bio {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 15px;
  max-width: 65ch;
  margin-bottom: 28px;
}


.about-facts {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-family: 'Rajdhani', sans-serif;
}

.about-facts li {
  font-size: 16px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  padding-left: 20px;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  word-break: break-word;
}

.about-facts li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--accent-cyan);
  font-size: 14px;
  transition: transform 0.3s ease, color 0.3s ease, text-shadow 0.3s ease;
}

.about-facts li:hover {
  transform: translateX(8px);
}

.about-facts li:hover::before {
  color: var(--accent-crimson);
  text-shadow: 0 0 8px var(--accent-crimson), 0 0 12px var(--accent-cyan);
  transform: scale(1.3);
}

.about-facts .fact-label {
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-primary);
  position: relative;
  display: inline-block;
  animation: rgbGlitch 4s infinite alternate ease-in-out;
}

.about-facts a {
  color: var(--accent-cyan);
  text-decoration: none;
  font-weight: 600;
  position: relative;
  padding-bottom: 2px;
  transition: color 0.3s ease, text-shadow 0.3s ease;
  word-break: break-all;
}

.about-facts a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-crimson), var(--accent-cyan));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-facts a:hover {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(0, 229, 255, 0.8), 0 0 20px rgba(255, 42, 95, 0.6);
}

.about-facts a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

@keyframes rgbGlitch {
  0%, 85%, 100% {
    text-shadow: none;
  }
  87% {
    text-shadow: -2px 0 var(--accent-crimson), 2px 0 var(--accent-cyan);
  }
  90% {
    text-shadow: 2px -1px var(--accent-crimson), -2px 1px var(--accent-cyan);
  }
  93% {
    text-shadow: -1px 1px var(--accent-crimson), 1px -1px var(--accent-cyan);
  }
  96% {
    text-shadow: 1px 0 var(--accent-crimson), -1px 0 var(--accent-cyan);
  }
}


.skills-row {
  margin-bottom: 24px;
}

.block-label {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 14px;
}

.badge-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.badge {
  min-width: 42px;
  height: 42px;
  padding: 0 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.15), 0 4px 12px rgba(0,0,0,0.3);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.badge:hover {
  transform: translateY(-3px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.35), 0 8px 20px rgba(0,229,255,0.25);
}


.projects {
  background: var(--bg-void);
}

.projects-head {
  max-width: 1200px;
  margin: 0 auto 40px;
  width: 100%;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.proj-card {
  position: relative;
  aspect-ratio: 16/10;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  cursor: pointer;
  background: var(--bg-panel-2);
  display: block;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.proj-card:hover {
  border-color: var(--accent-cyan);
  box-shadow: 0 12px 30px rgba(0, 229, 255, 0.2);
}

.proj-card .thumb {
  position: absolute;
  inset: 0;
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
}

.proj-card:hover .thumb {
  transform: scale(1.08);
}

.proj-card .scan {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(5,8,17,0.92) 100%);
  opacity: 0.85;
  transition: opacity .3s ease;
}

.proj-card:hover .scan {
  opacity: 1;
}

.proj-card .info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px;
  transform: translateY(0);
  transition: all .3s ease;
  z-index: 2;
}

.proj-card .p-tag {
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 4px;
  font-weight: 700;
}

.proj-card .p-title {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #fff;
}

.proj-card .corner {
  position: absolute;
  top: 12px;
  right: 12px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-cyan);
  background: rgba(5, 8, 17, 0.7);
  border: 1px solid var(--line);
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 1px;
  z-index: 2;
}


.contact {
  background:
    radial-gradient(1000px 600px at 50% 30%, rgba(0, 229, 255, 0.07), transparent 70%),
    radial-gradient(800px 500px at 80% 80%, rgba(255, 42, 95, 0.06), transparent 70%),
    var(--bg-panel);
  border-top: 1px solid var(--line);
  padding: 100px 8vw;
}

.contact-container {
  max-width: 960px;
  margin: 0 auto;
  width: 100%;
}

.contact-header {
  margin-bottom: 30px;
}

.contact-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(42px, 7vw, 76px);
  letter-spacing: 2px;
  line-height: 1;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.contact-title .accent {
  color: var(--accent-cyan);
}

.contact-sub {
  color: var(--text-muted);
  font-size: 15px;
  max-width: 50ch;
}


.contact-card {
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: 14px;
  padding: 36px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(0, 229, 255, 0.03);
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-crimson), var(--accent-cyan));
}

.contact-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
  margin-bottom: 28px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px;
  letter-spacing: 2px;
  flex-wrap: wrap;
  gap: 12px;
}

.hud-status {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #10b981;
  font-weight: 700;
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 10px #10b981;
  animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.hud-code {
  color: var(--text-muted);
  font-weight: 600;
}

.contact-main-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.info-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.info-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent-cyan);
}

.email-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.contact-mail {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: clamp(20px, 4vw, 32px);
  color: #ffffff;
  text-decoration: none;
  word-break: break-all;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.contact-mail:hover {
  color: var(--accent-cyan);
  text-shadow: 0 0 16px rgba(0, 229, 255, 0.7);
}

.copy-btn {
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.3);
  color: var(--accent-cyan);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 2px;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.copy-btn:hover {
  background: var(--accent-cyan);
  color: #000000;
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.5);
  transform: translateY(-2px);
}

.copy-btn.copied {
  background: #10b981;
  border-color: #10b981;
  color: #ffffff;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.5);
}

.social-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.social-btn {
  padding: 0 22px;
  height: 44px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15), 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: all .25s ease;
}

.social-btn:hover {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35), 0 0 20px rgba(0, 229, 255, 0.4);
  transform: translateY(-3px);
}

.footer-line {
  max-width: 960px;
  margin: 50px auto 0;
  width: 100%;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--text-muted);
  text-transform: uppercase;
  flex-wrap: wrap;
  gap: 12px;
}




@media (max-width: 992px) {
  section {
    padding: 80px 6vw;
  }

  .about-grid {
    grid-template-columns: 280px 1fr;
    gap: 40px;
  }
}


@media (max-width: 768px) {
  .hud-nav {
    display: none;
  }

  .mobile-nav {
    display: flex;
  }

  section {
    padding: 70px 5vw;
    min-height: auto;
  }

  .hero {
    flex-direction: column;
    align-items: flex-start;
    padding-top: 100px;
    gap: 40px;
  }

  .hero-portrait {
    width: 220px;
    height: 270px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-portrait {
    max-width: 240px;
    margin: 0 auto;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
  }

  .footer-line {
    margin-top: 40px;
    flex-direction: column;
    gap: 8px;
  }
}


@media (max-width: 480px) {
  section {
    padding: 60px 4vw;
  }

  .hero-title {
    font-size: clamp(36px, 12vw, 64px);
  }

  .hero-portrait {
    width: 180px;
    height: 220px;
  }

  .menu-list a {
    font-size: 16px;
    letter-spacing: 2px;
  }

  h2.section-title {
    font-size: 32px;
  }

  .about-facts li {
    font-size: 14px;
  }

  .badge {
    height: 38px;
    font-size: 13px;
    padding: 0 12px;
  }

  .scroll-cue {
    display: none;
  }
}