:root{
  --bg:#0b1020;
  --primary:#a61b34;
  --text:#f5f5f5;
  --accent:#78dfff;
}

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body{
  font-family: Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height:100vh;
  overflow:hidden;
}

/* ================= background ================= */

.cloud{
  width:120px;
  height:60px;
  position:fixed;
  top:10%;
  animation: cloudMove 30s linear infinite;
}

@keyframes cloudMove{
  from{
    left:-200px;
  }
  to{
    left:100%;
  }
}
body{
  background:
    linear-gradient(
      135deg,
      #0b1020,
      #111933
    );

  animation: breathe 8s ease infinite;
}

@keyframes breathe{
  0%,100%{
    filter:brightness(1);
  }
  50%{
    filter:brightness(1.08);
  }
}
body::after{
  content:"";
  position:fixed;
  inset:0;

  background:
    repeating-linear-gradient(
      to bottom,
      transparent 0px,
      transparent 2px,
      rgba(255,255,255,.02) 3px
    );

  pointer-events:none;
  z-index:9999;
}
.particles::before{
  content:"";
  position:fixed;
  inset:0;

  background-image:
    radial-gradient(circle, rgba(255,255,255,.15) 1px, transparent 1px);

  background-size:120px 120px;

  animation: drift 20s linear infinite;

  pointer-events:none;
  z-index:-1;
}

@keyframes drift{
  from{
    transform:translateY(0);
  }
  to{
    transform:translateY(-120px);
  }
}

/* ================= desktop ================= */

.desktop{
  position:relative;
  width:100vw;
  height:100vh;
  z-index:1;
}

/* ================= mascot ================= */

.mascot{
  position: fixed;
  right: 30px;
  bottom: 50px;

  width:64px;
  image-rendering: pixelated;
}


.mascot{
  animation: float 2s ease-in-out infinite;
}

@keyframes float{
  0%,100%{
    transform: translateY(0);
  }
  50%{
    transform: translateY(-6px);
  }
}

/* ================= hero ================= */

.hero{
  position:absolute;
  top:25%;
  left:50%;
  transform:translate(-50%,-50%);

  display:flex;
  flex-direction:column;
  align-items:center;
}

.hero h1{
  font-size:4rem;
  margin-bottom:10px;
}

.hero h1 span{
  color:var(--accent);
}

.hero p{
  text-align: center;
  width: fit-content;
  margin: 0 auto 40px auto;
}

/* ================= launcher ================= */

.launcher{
  display:flex;
  gap:30px;
  justify-content:center;
}

.app-btn{
  background:none;
  border:none;
  color:white;
  cursor:pointer;

  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;

  transition:.2s;
}

.app-btn:hover{
  transform:translateY(-5px);
}

.app-btn img{
  width:48px;
  image-rendering: pixelated;
}

/* ================= windows ================= */

.window{
  position:absolute;
  height: 540px;
  width:420px;
  min-height:280px;

  top:100px;
  left:100px;

  background: rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.15);

  backdrop-filter: blur(8px);
  border-radius:14px;
  overflow:hidden;

  box-shadow:0 0 30px rgba(166,27,52,.25);
}
.window{
  transform-origin: top left;
}

/* header */
.window-header{
  background: rgba(166,27,52,.25);

  padding:12px 16px;

  display:flex;
  justify-content:space-between;
  align-items:center;

  cursor:grab;
}

/* buttons */
.window-controls{
  display:flex;
  gap:8px;
}

.window-controls button{
  width:24px;
  height:24px;
  border:none;
  cursor:pointer;

  background:rgba(255,255,255,.1);
  color:white;
}

/* body */
.window-body {
  padding:20px;

  height: calc(100% - 56px);
  overflow-y: auto;
}

/* hidden */
.hidden{
  display:none;
}

/* ================= LINKS CONTENT ================= */
.social-links{
  margin-top:20px;

  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:20px;
}

.social-links a{
  text-decoration:none;
  color:var(--text);

  padding:18px;
  border-radius:12px;

  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.1);

  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;

  transition:.2s;
}

.social-links a:hover{
  transform:translateY(-4px);

  border-color:var(--primary);

  box-shadow:0 0 20px rgba(166,27,52,.25);
}

.social-links i{
  font-size:2rem;
  color:var(--accent);
}

.social-links span{
  font-size:.9rem;
}

/* ================= OPEN ANIMATION ================= */

.window{
  animation: windowOpen .25s ease-out;
}

@keyframes windowOpen{
  from{
    opacity:0;
    transform:scale(.8);
  }

  to{
    opacity:1;
    transform:scale(1);
  }
}

@keyframes windowClose {
  from {
    opacity: 1;
    transform: scale(1);
  }

  to {
    opacity: 0;
    transform: scale(.85);
  }
}
/* ================= ABOUT CONTENT ================= */
/* wrapper */
.about-wrapper{
  display:flex;
  flex-direction:column;
  height:420px;
}

/* sticky top */
.about-profile{
  position:sticky;
  top:0;
  z-index:10;



  display:flex;
  gap:20px;
  align-items:center;

  padding:20px;
  border-bottom:1px solid rgba(255, 238, 238, 0.1);
}

/* image */
.about-profile img{
  width:96px;
  height:96px;
  border-radius:50%;
  object-fit:cover;
}

/* intro */
.about-intro h2{
  margin-bottom:8px;
  color:var(--accent);
}

.about-intro p{
  margin:4px 0;
}

/* scrollable area */
.about-scroll{
  overflow-y:auto;
  padding:20px;
  flex:1;
}

/* sections */
.about-scroll section{
  margin-bottom:32px;
}

.about-scroll h3{
  color:var(--primary);
  margin-bottom:12px;
}

/* Chrome, Edge, Safari */
.about-scroll::-webkit-scrollbar{
  width:10px;
}

.about-scroll::-webkit-scrollbar-thumb{
  background: var(--primary);
  border-radius:10px;
  border:2px solid transparent;
  background-clip: padding-box;
}

.about-scroll::-webkit-scrollbar-thumb:hover{
  background:#c52a47;
    box-shadow: 0 0 10px rgba(166,27,52,.6);
}

/* Firefox */
.about-scroll{
  scrollbar-width: thin;
  scrollbar-color: var(--primary) rgba(255,255,255,.05);
}

.edu-item{
  border-left: 4px solid white;

  padding-left: 18px;
  margin-top: 20px;
}

.edu-item h4{
  margin-bottom: 6px;
}

.edu-item p{
  opacity: .7;
  font-size: .9rem;
}

.bullet{
  padding-left: 20px;
}

/* ================= PROJECTS ================= */

.projects-wrapper{
  padding:20px;
}

/* top banner */
.projects-banner{
  background: rgba(120,223,255,.15);
  border-left: 4px solid var(--accent);

  padding:18px;
  border-radius:8px;

  margin-bottom:30px;
}

.projects-banner p{
  margin-top:6px;
  opacity:.85;
}

/* section */
.projects-section{
  margin:30px 0;
}

.projects-section h3{
  color: var(--text);
  margin-bottom:18px;
  letter-spacing:1px;
}

/* divider */
.divider{
  width:100%;
  height:1px;
  background: rgba(255,255,255,.12);
  margin:30px 0;
}

/* tags */
.tag-list{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}

.tag-list span{
  padding:10px 16px;

  border:1px solid rgba(255,255,255,.25);
  border-radius:8px;

  background: rgba(255,255,255,.04);

  transition:.2s;
  cursor:default;
}

.tag-list span:hover{
  border-color: var(--primary);

  box-shadow:
    0 0 12px rgba(166,27,52,.25);

  transform: translateY(-2px);
}

/* Chrome, Edge, Safari */
.window-body::-webkit-scrollbar{
  width:10px;
}

.window-body::-webkit-scrollbar-track{
  background: rgba(255,255,255,.05);
  border-radius:10px;
}

.window-body::-webkit-scrollbar-thumb{
  background: var(--primary);
  border-radius:10px;
  border:2px solid transparent;
  background-clip: padding-box;
}

.window-body::-webkit-scrollbar-thumb:hover{
  background:#c52a47;
  box-shadow:0 0 10px rgba(166,27,52,.5);
}

/* Firefox */
.window-body{
  scrollbar-width: thin;
  scrollbar-color:
    var(--primary)
    rgba(255,255,255,.05);
}

/* project card */
.project-card{
  padding: 10px 0 20px;
}

.project-card h3{
  margin-bottom:16px;
  color: var(--accent);
}

.project-card p{
  line-height:1.7;
  margin-bottom:20px;
  opacity:.9;
}

/* link */
.project-link{
  display:inline-block;
  margin-top:20px;

  color: var(--text);
  text-decoration:none;

  border-bottom:1px solid transparent;
  transition:.2s;
}

.project-link:hover{
  color: var(--accent);
  border-color: var(--accent);
}

.project-type{
  display:inline-block;
  margin-bottom:8px;

  color: #c52a47;
  font-size: .75rem;
  font-weight: bold;
  letter-spacing:1px;
}

/* ================= FOOTER ================= */

.footer{
  position:fixed;
  bottom:0;
  left:0;

  width:100%;

  padding:12px 20px;

 background: #0b1020;
border-top: 1px solid rgba(255,255,255,.08);

  backdrop-filter: blur(6px);

  text-align:center;

  z-index:999;
}

.footer p{
  font-size:.85rem;
  opacity:.7;
  letter-spacing:.5px;
}

.mascot.active{
  filter:
    drop-shadow(0 0 12px var(--accent));

  transform: scale(1.05);
}
