@font-face {
  font-family: 'Geo-Regular';
  src: url('assets/Geo-Regular.ttf') format('opentype');
  font-weight: normal;
  font-style: normal;
}
:root{
  --bg: #0d1117;
  --card: rgba(22, 27, 34, 0.75);
  --border: rgba(255,255,255,0.08);
  --text: rgba(255,255,255,0.9);
  --muted: rgba(255,255,255,0.6);
}

*{
  box-sizing: border-box;
}

body{
  margin:0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

.bg{
  position: fixed;
  inset: 0;
  z-index: -1;

  --mx: 50%;
  --my: 50%;

  background:
    radial-gradient(circle at var(--mx) var(--my),
      rgba(0,255,150,0.22),
      transparent 55%),
    radial-gradient(circle at 80% 50%,
      rgba(0,200,255,0.14),
      transparent 50%);
}

.container{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:40px 20px;
}

.card{
  width:1100px;
  max-width:100%;
  background: var(--card);
  border:1px solid var(--border);
  border-radius:24px;
  backdrop-filter: blur(20px);
  display:flex;
  padding:50px;
  gap:40px;
}

.left{
  flex:1.3;
}

.right{
  flex:0.7;
  display:flex;
  align-items:center;
  justify-content:center;
}

.tilt-wrap{
  width:100%;
  max-width:350px;
  perspective: 900px;
}

.tilt-card{
  border-radius:70px;
  overflow:hidden;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 220ms ease, box-shadow 220ms ease;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}

.tilt-card.is-active{
  transition: transform 0ms;
}

.tilt-card img{
  width:100%;
  display:block;
  opacity:0.95;
  user-select:none;
  -webkit-user-drag:none;

  transform: translateZ(18px);
}

h1{
  font-size:40px;
  margin-bottom:10px;
}

h1 span{
  color:#00ffcc;
}

.subtitle{
  color:var(--muted);
  margin-bottom:20px;
}

.bio{
  max-width:500px;
  color:rgba(255,255,255,0.75);
}

.projects h2{
  font-family: 'Geo-Regular', sans-serif;
  font-size:50px;
  letter-spacing:1px;
  color:#00ffcc;
  margin-bottom:10px;
  margin-top:30px;
}
.social-title{
  font-family: 'Geo-Regular', sans-serif;
  font-size:50px;
  margin-top:30px;
  margin-bottom:10px;
  color:#00ffcc;
}

.project{
  margin-bottom:20px;
}

.project h3{
  margin:0;
}

.project a{
  color:#00ffcc;
  text-decoration:none;
}

.project a:hover{
  text-decoration:underline;
}

.socials{
  display:flex;
  gap:20px;
  flex-wrap: wrap;
}

.socials a{
  color:var(--muted);
  text-decoration:none;
}

.socials a:hover{
  color:white;
}

.zen-word{
  position:absolute;
  z-index:9999;
  pointer-events:none;
  font-weight:700;
  font-size:18px;
  color:white;
  text-shadow:0 10px 25px rgba(0,0,0,0.5);

}
@media (max-width: 900px) {
  .card{
    flex-direction: column;
    padding: 28px;
    gap: 22px;
  }

  .right{
    order: -1;
    justify-content: center;
  }

  .tilt-wrap{
    max-width: 320px;
  }
  
  h1{
    font-size: 32px;
  }

  .projects h2,
  .social-title{
    font-size: 38px;
    margin-top: 34px;
  }

  .socials{
    gap: 14px;
  }
}

@media (max-width: 420px) {
  .card{
    padding: 22px;
  }

  .tilt-wrap{
    max-width: 260px;
  }

  .projects h2,
  .social-title{
    font-size: 32px;
  }
}
