:root{
  --bg:#070709;
  --text:#f4f4f7;
  --muted:rgba(255,255,255,.60);

  --wax-pink:#FFDEE2;
  --wax-dark:#70020F;

  --glow: 0 0 14px rgba(255, 222, 226, .22), 0 0 28px rgba(112, 2, 15, .18);

  --max:1180px;
  --radius:18px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:var(--bg);
  overflow-x:hidden;
}
body.locked{ overflow: hidden; }

/* Background */
.bg{
  position:fixed; inset:0; z-index:-3;
  background:
    radial-gradient(1200px 700px at 50% 40%, rgba(255,255,255,.05), transparent 60%),
    radial-gradient(900px 600px at 72% 20%, rgba(255, 222, 226, .10), transparent 60%),
    radial-gradient(900px 600px at 18% 82%, rgba(112, 2, 15, .10), transparent 65%),
    linear-gradient(var(--bg), var(--bg));
}
.bg::after{
  content:"";
  position:absolute; inset:0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px) 0 0/26px 26px,
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px) 0 0/26px 26px;
  opacity:.07;
  mask-image: radial-gradient(1200px 700px at 50% 35%, #000 55%, transparent 78%);
}
.vignette{
  position:fixed; inset:-80px; z-index:-2; pointer-events:none;
  background: radial-gradient(closest-side, transparent 55%, rgba(0,0,0,.82) 100%);
  opacity:.92;
}

/* Snow canvas */
.snow{
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .9;
}

/* Enter overlay */
.enter-overlay{
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  cursor: pointer;
  transition: opacity .25s ease, visibility .25s ease;
}
.enter-text{
  font-weight: 800;
  font-size: 22px;
  color: rgba(255,255,255,.92);
  letter-spacing: .4px;
  text-shadow: 0 0 18px rgba(255,255,255,.18);
  opacity: .95;
  animation: enterPulse 1.6s ease-in-out infinite;
  user-select: none;
}
@keyframes enterPulse{
  0%,100%{ transform: scale(1); opacity: .85; }
  50%{ transform: scale(1.04); opacity: 1; }
}
.enter-overlay.hidden{
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Navbar */
.nav{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(12px);
  background: linear-gradient(to bottom, rgba(0,0,0,.55), rgba(0,0,0,.20));
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav-inner{
  max-width: var(--max);
  margin:0 auto;
  padding: 16px 22px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}
.brand{
  text-decoration:none;
  font-weight:900;
  letter-spacing:.6px;
  color: var(--wax-pink);
  text-shadow: var(--glow);
}
.links{display:flex; gap:28px; align-items:center}
.links a{
  color: rgba(255,255,255,.78);
  text-decoration:none;
  font-size:14px;
  font-weight:700;
  padding:8px 0;
  position:relative;
}
.links a:hover{color:#fff}
.links a.active{color:#fff; text-shadow: 0 0 14px rgba(255,222,226,.18);}
.links a.active::after{
  content:"";
  position:absolute; left:0; right:0; bottom:-6px;
  height:2px; border-radius:99px;
  background: linear-gradient(90deg, transparent, rgba(255,222,226,.9), transparent);
  opacity:.9;
}

/* Music button */
.music-btn{
  width:38px; height:38px;
  border-radius:12px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.03);
  cursor:pointer;
  display:grid; place-items:center;
}
.music-btn .dot{
  width:10px; height:10px; border-radius:99px;
  background: rgba(255,255,255,.35);
  box-shadow: 0 0 18px rgba(255,222,226,.12);
}
.music-btn.on .dot{
  background: var(--wax-pink);
  box-shadow: 0 0 22px rgba(255,222,226,.35);
}

/* Sections */
.section{
  max-width: var(--max);
  margin:0 auto;
  padding: 88px 22px;
}
.section-title{
  text-align:center;
  font-size: 40px;
  font-weight: 900;
  letter-spacing:.6px;
  margin:0 0 22px 0;
  text-shadow: var(--glow);
}
.section-text{
  margin:0 auto;
  max-width: 860px;
  text-align:center;
  color: var(--muted);
  line-height:1.85;
  font-size: 15px;
}

/* Hero */
.hero-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items:center;
  min-height: 66vh;
  padding-top: 40px;
}
.hero-title{
  margin:0 0 10px 0;
  font-size: 56px;
  font-weight: 900;
  letter-spacing: .8px;
  text-shadow: 0 0 18px rgba(255,255,255,.10), var(--glow);
}
.hero-name{
  color: var(--wax-pink);
  text-shadow: 0 0 18px rgba(255,222,226,.25), 0 0 30px rgba(112,2,15,.20);
}
.hero-sub{
  margin:0 0 22px 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
  max-width: 560px;
}
.hero-actions{display:flex; gap:14px; flex-wrap:wrap}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.18);
  text-decoration:none;
  font-weight:800;
  font-size: 14px;
  transition: transform .15s ease, border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn.ghost{
  background: rgba(0,0,0,.30);
  color:#fff;
}
.btn.ghost:hover{
  transform: translateY(-1px);
  border-color: rgba(255,222,226,.35);
  background: rgba(255,255,255,.03);
}
.btn.solid{
  background: rgba(255,222,226,.92);
  color: #1a0b10;
  border-color: rgba(255,222,226,.45);
}
.btn.solid:hover{
  transform: translateY(-1px);
  box-shadow: 0 0 28px rgba(255,222,226,.18);
}

/* Profile Card */
.profile-card{
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.025);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 70px rgba(0,0,0,.45);
  display:grid;
  grid-template-columns: 1fr 1.4fr;
  overflow:hidden;
  min-height: 320px;
}
.profile-left{
  padding: 24px 22px;
  border-right: 1px solid rgba(255,255,255,.10);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap: 12px;
}
.avatar-wrap{
  width: 120px; height: 120px;
  border-radius: 999px;
  border: 2px solid rgba(255,222,226,.35);
  box-shadow: 0 0 34px rgba(255,222,226,.12);
  position:relative;
  overflow:hidden;
  transition: transform .18s ease;
}
.avatar-wrap:hover{ transform: scale(1.04); }
.avatar{
  width:100%; height:100%;
  object-fit: cover;
  display:block;
  filter: contrast(1.05) saturate(1.05);
}
.status-dot{
  position:absolute;
  width:12px; height:12px;
  border-radius:99px;
  right:10px; bottom:10px;
  background: #2cff7a;
  border: 2px solid rgba(0,0,0,.6);
  box-shadow: 0 0 12px rgba(44,255,122,.25);
}
.profile-name{
  font-weight: 900;
  letter-spacing: 2px;
  color: rgba(255,255,255,.90);
}
.profile-role{
  font-size: 12px;
  color: rgba(255,222,226,.70);
  letter-spacing: 2px;
}

.profile-right{
  padding: 18px;
  display:flex;
  flex-direction:column;
  gap: 14px;
}
.views-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.views{
  display:flex;
  gap:10px;
  align-items:center;
  color: rgba(255,222,226,.85);
  font-weight: 900;
  letter-spacing: 1px;
}
.views-label{
  font-size: 12px;
  color: rgba(255,222,226,.55);
  font-weight: 800;
  letter-spacing: 2px;
}
.about-text{
  color: rgba(255,255,255,.62);
  line-height:1.75;
  font-size: 13px;
  padding: 0 12px;
}
.caret{
  color: rgba(255,222,226,.85);
  font-weight:900;
  margin-right: 6px;
}
.hl{ color: rgba(255,222,226,.90); font-weight:900; }
.hl2{ color: rgba(112,2,15,.95); font-weight:900; }

.stat-row{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 0 12px;
}
.stat{
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.25);
  padding: 12px 10px;
  text-align:center;
}
.stat-big{
  font-weight: 900;
  letter-spacing:.6px;
  color: rgba(255,222,226,.90);
}
.stat-small{
  margin-top: 4px;
  font-size: 11px;
  color: rgba(255,255,255,.42);
  letter-spacing: 1.6px;
}
.profile-note{
  padding: 0 12px;
  font-size: 12px;
  color: rgba(255,255,255,.42);
}

/* Skills */
.skills-grid{
  margin-top: 26px;
  display:grid;
  grid-template-columns: repeat(5, minmax(0,1fr));
  gap: 22px;
}
.skill-card{
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.025);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 40px rgba(0,0,0,.30);
  padding: 26px 22px;
  text-align:center;
  min-height: 170px;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.skill-card:hover{
  transform: translateY(-3px);
  border-color: rgba(255,222,226,.22);
  background: rgba(255,255,255,.03);
}
.skill-ico{
  width:64px; height:64px;
  border-radius: 16px;
  margin: 0 auto 12px auto;
  display:grid; place-items:center;
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 0 22px rgba(255,222,226,.10);
  font-weight:900;
}
.skill-name{font-weight:900}
.skill-tag{font-size:12px; color: rgba(255,255,255,.45); margin-top:6px}

/* PROJECT CARD (SKILL STYLE) */
.project-grid{
  margin-top: 20px;
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.project-card{
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.025);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 40px rgba(0,0,0,.30);
  overflow:hidden;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.project-card:hover{
  transform: translateY(-3px);
  border-color: rgba(255,222,226,.22);
  background: rgba(255,255,255,.03);
}

.project-top{
  height: 170px;
  position:relative;
  display:grid;
  place-items:center;
  background:
    radial-gradient(260px 180px at 50% 40%, rgba(255,255,255,.06), transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,.12), rgba(0,0,0,.55));
  border-bottom: 1px solid rgba(255,255,255,.10);
}

.project-logo{
  width: 96px;
  height: 96px;
  border-radius: 22px;
  display:grid;
  place-items:center;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.35);
  box-shadow: 0 0 22px rgba(255,222,226,.10);
  transition: transform .18s ease;
}
.project-card:hover .project-logo{ transform: scale(1.03); }

.project-logo-mark{
  font-size: 54px;
  font-weight: 900;
  color: rgba(255,255,255,.88);
  text-shadow: 0 0 18px rgba(255,255,255,.10), var(--glow);
}

/* BADGE */
.project-badge{
  position:absolute;
  right:14px;
  top:14px;
  padding: 7px 12px;
  border-radius: 10px;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 1px;
  backdrop-filter: blur(6px);
}

/* FREE – YEŞİL */
.project-badge.free{
  color: #b6ffd1;
  background: rgba(0, 128, 64, .35);
  border: 1px solid rgba(0, 255, 128, .25);
  box-shadow: 0 0 14px rgba(0,255,128,.18);
}

/* PRO – KIRMIZI */
.project-badge.pro{
  color: #ffd6d6;
  background: rgba(112, 2, 15, .45);
  border: 1px solid rgba(255, 80, 80, .35);
  box-shadow: 0 0 16px rgba(255,80,80,.22);
}

.project-body{ padding: 16px 16px 14px; }
.project-title{ font-weight: 900; font-size: 22px; }

.project-sub{
  display:inline-block;
  margin-top: 6px;
  color: rgba(155, 200, 255, .95);
  font-weight: 800;
  font-size: 13px;
  text-decoration: underline;
  text-decoration-color: rgba(155, 200, 255, .35);
}

.tag-row{ display:flex; gap:10px; margin-top: 12px; }
.tag{
  font-size: 11px;
  font-weight: 900;
  padding: 6px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.10);
}
.tag.java{ background: rgba(255, 196, 72, .12); color: rgba(255, 196, 72, .95); }
.tag.gl{ background: rgba(64, 255, 128, .10); color: rgba(128, 255, 170, .92); }

.meta-row{ display:flex; gap:10px; margin-top: 14px; }
.meta{
