@import url('https://rsms.me/inter/inter.css');

/* 기본 초기화 */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }
a { text-decoration: none; color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; background: none; border: 0; outline: 0; }

body {
    background-image: url("img/bg.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    font-family: 'Inter', sans-serif;
    padding: 60px 20px;
}

.container { width: 100%; max-width: 380px; text-align: center; padding: 0px 0px 40px 0px;}

/* 프로필 */
.profile { margin-bottom: 40px; }
.avatar {
    width: 100px; height: 100px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    margin: 0 auto 15px;
    border: 3px solid white;
    background-image: url('img/avatar.png'); 
    background-size: cover; 
}
h1 { color: white; font-size: 1.8rem; margin-bottom: 4px; font-weight: 700; }
p.email { color: rgba(255, 255, 255, 0.5); font-size: 0.9rem; }

/* 1. 이모티콘 버튼 */
.emoji-quick-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.emoji-quick-buttons button {
    width: 50px; height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.3rem;
    padding-top: 2px;
    line-height: 0;
    padding:0;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.emoji-quick-buttons button:hover {
    transform: scale(1.15);
    background: rgba(255, 255, 255, 0.8);
}

/* 2. 메시지 폼 */
.message-form { margin-bottom: 35px; display: flex; flex-direction: column; gap: 10px; }

#gb-input {
    width: 100%; height: 80px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    padding: 12px; color: white; resize: none;
    font-size: 0.9rem;
}
#gb-input::placeholder {
  color: rgba(255, 255, 255, 0.5); /* 원하는 색상 */
  opacity: 1;     /* 파이어폭스(Firefox)에서 투명도가 적용되는 것을 방지 */
}

.message-actions { display: flex; gap: 8px; }

#emoji-select {
    width: 80px; background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px; color: white; text-align: center;
}
#gb-submit {
    flex: 1; padding: 12px; background: rgba(255, 255, 255, 0.15);
    color: white; border-radius: 12px; font-weight: 600; cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease-in-out !important;
}
#gb-submit:hover {background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 1.0);
}

/* -------------------------------------------------- */
/* 3. 링크 카드 (AOS 호환 + 쫀득 호버) */
/* -------------------------------------------------- */
.links { display: flex; flex-direction: column; gap: 12px; }

.link-card {
    display: flex; 
    align-items: center; 
    gap: 15px; 
    padding: 18px 20px; 
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    color: white;
    transition: all 0.3s ease-in-out !important;
}
.link-card:hover {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 1.0);
}

.card-text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.2; }
.card-title { font-size: 1.05rem; font-weight: 600; }
.card-desc { font-size: 0.9rem; color: rgba(255, 255, 255, 0.5); }
.icon { width: 28px; height: 28px; object-fit: contain; margin: 0 10px 0 5px; }
.bar { font-size: 0.7rem; opacity: 0.4; margin: 0 4px; }