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

body{
  font-family:Arial, sans-serif;
  background:#f5f5f5;
  min-height:100vh;

  display:flex;
  justify-content:center;
  align-items:center;
}

.container{
  width:90%;
  max-width:400px;

  background:white;

  padding:30px;

  border-radius:20px;

  text-align:center;

  box-shadow:0 10px 30px rgba(0,0,0,0.1);
}

.logo{
  width:90px;
  height:90px;
  object-fit:contain;

  margin-bottom:15px;
}

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

.subtitle{
  color:#666;
  margin-bottom:20px;
}

#status{
  margin-bottom:20px;
  color:#444;
}

#loginBtn{
  width:100%;

  padding:14px;

  border:none;

  border-radius:12px;

  font-size:16px;

  cursor:pointer;

  background:black;
  color:white;

  transition:0.2s;
}

#loginBtn:hover{
  transform:translateY(-2px);
}
input,
textarea{
  width:100%;
  padding:10px;
  border-radius:10px;
  border:1px solid #ccc;
}

textarea{
  resize:none;
  height:80px;
}

#saveProfileBtn{
  width:100%;
  padding:12px;
  border:none;
  border-radius:10px;
  cursor:pointer;
}

#homePage{
  margin-top:20px;
}

#profilePhoto{
  width:100%;
  height:300px;

  object-fit:cover;

  border-radius:20px;

  margin-bottom:20px;
}

#profileName{
  font-size:28px;
  margin-bottom:10px;
}

#profileMajor{
  color:#666;
  margin-bottom:15px;
}

#profileInterests,
#profileLookingFor{
  background:#f5f5f5;

  padding:12px;

  border-radius:12px;

  margin-bottom:10px;
}

#nextBtn{
  width:100%;

  padding:14px;

  border:none;

  border-radius:12px;

  cursor:pointer;

  margin-top:15px;

  background:black;
  color:white;
}

#homePage{
  margin-top:20px;
}

#profilePhoto{
  width:100%;
  height:320px;

  object-fit:cover;

  border-radius:24px;

  margin-bottom:20px;
}

#profileName{
  font-size:34px;
  font-weight:700;

  margin-bottom:8px;
}

#profileMajor{
  color:#777;

  font-size:16px;

  margin-bottom:20px;
}

#profileInterests,
#profileLookingFor{
  background:#f5f5f5;

  padding:14px;

  border-radius:16px;

  margin-bottom:12px;

  text-align:left;
}

#nextBtn{
  width:100%;

  padding:16px;

  border:none;

  border-radius:16px;

  background:black;

  color:white;

  font-size:18px;

  cursor:pointer;

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

body{
  font-family:Arial,sans-serif;

  background:#f5f5f5;

  min-height:100vh;

  display:flex;
  justify-content:center;
  align-items:center;

  padding:15px;
}

.container{
  width:100%;

  max-width:420px;

  background:white;

  border-radius:24px;

  padding:24px;

  box-shadow:0 10px 30px rgba(0,0,0,.1);
}
#profilePhoto{
  width:100%;

  height:55vw;

  max-height:380px;

  min-height:250px;

  object-fit:cover;

  border-radius:24px;
}

#nextBtn{
  width:100%;

  min-height:55px;

  font-size:18px;
}
input,
select{
  width:100%;

  padding:14px 16px;

  border:2px solid #ececec;

  border-radius:16px;

  font-size:15px;

  outline:none;

  transition:.2s;

  background:white;
}

input:focus,
select:focus{
  border-color:#000;
}

#loginBtn,
#saveProfileBtn,
#nextBtn{
  width:100%;

  padding:16px;

  border:none;

  border-radius:18px;

  background:#111;

  color:white;

  font-size:16px;

  font-weight:600;

  cursor:pointer;

  transition:.2s;
}

#loginBtn:hover,
#saveProfileBtn:hover,
#nextBtn:hover{
  transform:translateY(-2px);
}

#logoutBtn{
  width:100%;

  padding:14px;

  margin-top:10px;

  border:none;

  border-radius:18px;

  background:#ececec;

  cursor:pointer;
}

#addInterestBtn,
#addLookingBtn{
  width:50px;

  height:50px;

  border:none;

  border-radius:16px;

  background:#111;

  color:white;

  font-size:24px;

  cursor:pointer;

  margin-top:8px;
}

.tag{
  display:inline-block;

  padding:10px 16px;

  margin:5px;

  border-radius:999px;

  background:#f3f3f3;

  font-size:14px;

  font-weight:600;
}

h3{
  text-align:left;
  margin:18px 0 10px;
  font-size:18px;
}

h4{
  text-align:left;
  margin:18px 0 10px;
  color:#666;
  font-weight:600;
}

input,
select{
  width:100%;
  height:52px;

  padding:0 16px;

  border:2px solid #ececec;

  border-radius:16px;

  font-size:15px;

  transition:.2s;

  outline:none;

  margin-bottom:12px;
}

input:focus,
select:focus{
  border-color:#000;
}
.tagInput{
  display:flex;
  gap:10px;
  align-items:center;
}

.tagInput input{
  flex:1;
  margin:0;
}

#addInterestBtn,
#addLookingBtn{

  width:52px;
  height:52px;

  border:none;

  border-radius:16px;

  background:#111;

  color:white;

  font-size:28px;

  cursor:pointer;

  flex-shrink:0;

  transition:.2s;
}

#addInterestBtn:hover,
#addLookingBtn:hover{

  background:#333;

  transform:scale(1.05);

}
.tag{

  display:inline-flex;

  align-items:center;

  padding:10px 16px;

  margin:6px 6px 0 0;

  background:#f4f4f4;

  border-radius:999px;

  font-weight:600;

  font-size:14px;

}

#saveProfileBtn{

  width:100%;

  height:56px;

  margin-top:20px;

  border:none;

  border-radius:18px;

  background:black;

  color:white;

  font-size:17px;

  font-weight:700;

  cursor:pointer;

  transition:.2s;

}

#saveProfileBtn:hover{

  transform:translateY(-2px);

}

.actionButtons{

  display:flex;

  gap:12px;

  margin-top:20px;

}

#passBtn,
#likeBtn{

  flex:1;

  height:58px;

  border:none;

  border-radius:18px;

  font-size:18px;

  font-weight:700;

  cursor:pointer;

  transition:.2s;

}

#passBtn{

  background:#efefef;

}

#likeBtn{

  background:#ff4d6d;

  color:white;

}

#passBtn:hover,
#likeBtn:hover{

  transform:translateY(-2px);

}

.deleteTag{

  margin-left:8px;

  border:none;

  background:none;

  cursor:pointer;

  color:#777;

  font-size:14px;

  font-weight:bold;

}

.deleteTag:hover{

  color:red;

}
#matchPage{

  display:flex;
  flex-direction:column;
  align-items:center;

  max-width:420px;

  margin:40px auto;

  padding:40px 25px;

  background:white;

  border-radius:30px;

  box-shadow:0 15px 40px rgba(0,0,0,.08);

}

#matchPage h1{

  font-size:38px;

  margin-bottom:25px;

  color:#ff4d6d;

}

#matchPhoto{

  width:180px;

  height:180px;

  border-radius:50%;

  object-fit:cover;

  border:6px solid #ff4d6d;

  margin-bottom:20px;

}

#matchName{

  font-size:34px;

  margin:10px 0 5px;

}

#matchInstagram{

  color:#666;

  font-size:20px;

  margin-bottom:30px;

}

#openInstagramBtn{

  width:100%;

  height:58px;

  border:none;

  border-radius:18px;

  background:linear-gradient(
    45deg,
    #f58529,
    #dd2a7b,
    #8134af,
    #515bd4
  );

  color:white;

  font-size:18px;

  font-weight:bold;

  cursor:pointer;

  transition:.2s;

}

#openInstagramBtn:hover{

  transform:translateY(-3px);

}

.matchText{

  color:#777;

  text-align:center;

  margin-bottom:25px;

  font-size:18px;

}

#continueBtn{

  width:100%;

  height:56px;

  margin-top:15px;

  border:none;

  border-radius:18px;

  background:#f2f2f2;

  color:#333;

  font-size:17px;

  font-weight:600;

  cursor:pointer;

  transition:.2s;

}

#continueBtn:hover{

  background:#e6e6e6;

}

.logo{

  width:70px;

  margin-bottom:10px;

}

#header{

  margin-bottom:20px;

}

#profilePhoto{

  width:100%;

  aspect-ratio:4/5;

  object-fit:cover;

  border-radius:28px;

  margin-bottom:25px;

}

#compatibility{

  display:inline-block;

  background:#ffe5ec;

  color:#ff3366;

  padding:8px 16px;

  border-radius:999px;

  font-weight:bold;

  font-size:18px;

  margin-bottom:10px;

}

#profileMajor{

  color:#777;

  font-size:22px;

  margin-bottom:25px;

}

.actionButtons{

  display:flex;

  justify-content:center;

  gap:25px;

  margin-top:30px;

}

.actionButtons button{

  width:72px;

  height:72px;

  border-radius:50%;

  border:none;

  font-size:34px;

  cursor:pointer;

}

.fade{

  animation:fade .25s;
}

@keyframes fade{

from{

opacity:0;

transform:translateY(10px);

}

to{

opacity:1;

transform:none;

}

}

#editProfileBtn{

  width:100%;

  margin-top:12px;

  padding:14px;

  border:none;

  border-radius:16px;

  background:#f3f3f3;

  font-size:17px;

  font-weight:600;

  cursor:pointer;

  transition:.2s;

}

#editProfileBtn:hover{

  background:#e7e7e7;

}

#chatBtn{

  position: fixed;

  bottom: 20px;

  right: 20px;

  width: 48px;

  height: 48px;

  border-radius: 50%;

  font-size: 18px;

  padding: 0;

  display: flex;

  justify-content: center;

  align-items: center;

}

#heartAnimation{

  position: fixed;

  left: 50%;
  top: 55%;

  transform: translate(-50%,-50%);

  font-size: 80px;

  opacity: 0;

  pointer-events: none;

  z-index: 9999;

}

#heartAnimation.show{

  animation: heartPop .8s ease;

}

@keyframes heartPop{

  0%{

    opacity:0;
    transform:translate(-50%,-50%) scale(.3);

  }

  25%{

    opacity:1;
    transform:translate(-50%,-65%) scale(1.3);

  }

  100%{

    opacity:0;
    transform:translate(-50%,-140%) scale(1);

  }

}

#notificationBtn{

  position:fixed;

  top:20px;

  right:20px;

  width:48px;

  height:48px;

  border-radius:50%;

  font-size:20px;

  cursor:pointer;

}

#notificationBadge{

  position:absolute;

  top:-5px;

  right:-5px;

  background:red;

  color:white;

  width:20px;

  height:20px;

  border-radius:50%;

  font-size:12px;

  display:flex;

  justify-content:center;

  align-items:center;

}
