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

body{
  font-family:Arial, sans-serif;
  overflow:hidden;
  background:#111;
  color:white;
}

/* Canvas */

#bgCanvas{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  z-index:-1;
}

/* Main App */

.app{
  width:90%;
  max-width:700px;
  margin:40px auto;
  backdrop-filter:blur(10px);
  background:rgba(255,255,255,0.08);
  border:1px solid rgba(255,255,255,0.1);
  padding:30px;
  border-radius:24px;
  animation:fadeIn 1s ease;
}

h1{
  font-size:48px;
  text-align:center;
  margin-bottom:10px;
}

.subtitle{
  text-align:center;
  opacity:0.7;
  margin-bottom:30px;
}

/* Mood Buttons */

.mood-container{
  display:flex;
  flex-wrap:wrap;
  gap:15px;
  justify-content:center;
  margin-bottom:25px;
}

.mood-btn{
  padding:12px 20px;
  border:none;
  border-radius:50px;
  background:white;
  color:black;
  cursor:pointer;
  transition:0.3s;
  font-weight:bold;
}

.mood-btn:hover{
  transform:translateY(-4px) scale(1.05);
}

/* Textarea */

textarea{
  width:100%;
  height:140px;
  border:none;
  outline:none;
  resize:none;
  padding:20px;
  border-radius:18px;
  font-size:16px;
  margin-bottom:20px;
  background:rgba(255,255,255,0.9);
}

/* Save Button */

#saveBtn{
  width:100%;
  padding:15px;
  border:none;
  border-radius:14px;
  background:#7c5cff;
  color:white;
  font-size:16px;
  cursor:pointer;
  transition:0.3s;
}

#saveBtn:hover{
  opacity:0.8;
}

/* Entries */

.entries{
  margin-top:35px;
}

.entries h2{
  margin-bottom:15px;
}

.entry-card{
  background:rgba(255,255,255,0.08);
  padding:15px;
  border-radius:14px;
  margin-bottom:15px;
  animation:slideUp 0.5s ease;
}

.entry-card small{
  opacity:0.6;
}

/* Animations */

@keyframes fadeIn{
  from{
    opacity:0;
    transform:translateY(20px);
  }

  to{
    opacity:1;
    transform:translateY(0);
  }
}

@keyframes slideUp{
  from{
    opacity:0;
    transform:translateY(20px);
  }

  to{
    opacity:1;
    transform:translateY(0);
  }
}