@font-face
{
    font-family: "Pixel";
    src: url("/Assets/Fonts/ark-pixel-10px-monospaced-zh_cn.ttf");
}

/* Noto Serif SC */
@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@700&display=swap");

/* Lobster */
@import url('https://fonts.googleapis.com/css2?family=Lobster&display=swap');

*
{
    font-family: "Noto Serif SC", serif;
    font-weight: normal;
    transition: all 0.3s;
}

p
{
    font-size: 16px;
    margin-block-start: 0.6em;
    margin-block-end: 0.6em;
}

a
{
    color: rgb(0, 90, 130);
    text-decoration: none;
}

a:hover
{
    color: rgb(0, 200, 210);
}

.title
{
    color: rgb(0, 160, 180);
    font-family: "Pixel", serif;
}

.icon
{
    height: 32px;
}

.icon-name
{
    color: rgb(127, 127, 127);
    font-family: "Noto Serif SC", serif;
    margin: 4px 0 0;
    font-size: 12px;
}

.white-background
{
    margin-top: 20px;
    margin-bottom: 20px;
    background-color: rgba(255, 255, 255, 0.8);
    border-style: solid;
    border-color: rgb(127, 127, 127);
    border-width: 1px;
    border-radius: 25px;
    padding: 0px 15px;
}

.white-background:hover
{
    background-color: rgba(255, 255, 255, 0.65);
}

.shadow
{
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.8);
}

.shadow-tiny
{
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.8);
}

.blur
{
    backdrop-filter: blur(3px);
}

.hide
{
    opacity: 0;
}

.hide:hover
{
    opacity: 0.2;
}

.inline
{
    display: inline-block;
}

.dense
{
    margin: 0px;
}

.zoom
{
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
}

.zoom:hover
{
    transform: scale(1.08);
    box-shadow: 0 8px 24px rgba(0, 160, 180, 0.25);
}

.joke
{
    text-decoration: line-through;
    opacity: 0.5;
}

.joke:hover
{
    opacity: 1;
}

#top
{
    text-align: center;
    padding: 64px;
    background-image: linear-gradient(135deg, rgb(0, 200, 210), rgb(0, 100, 180));
    opacity: 0.8;
}

#top:hover
{
    padding: 80px;
    opacity: 0.65;
}

body
{
    margin: 0px;
    background-image: url("/Assets/Images/bg.png");
    background-position: left center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
}

/* 顶部横幅文字 */
.top-title
{
    color: white;
    font-family: "Pixel", serif;
    font-size: 40px;
    margin: 0;
    letter-spacing: 0.05em;
}

.top-subtitle
{
    color: white;
    font-family: "Cotyledon", serif;
    font-size: 16px;
    margin: 16px 0 0;
    opacity: 0.75;
}

/* 卡片 */
.card
{
    margin: 16px 0;
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 160, 180, 0.4);
    border-radius: 16px;
    padding: 8px 24px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(4px);
}

.card:hover
{
    background-color: rgba(255, 255, 255, 0.65);
    border-color: rgba(0, 200, 210, 0.6);
}

/* 头像卡片 */
#avatar
{
    text-align: center;
    padding-top: 24px;
    padding-bottom: 16px;
}

.avatar-img
{
    width: 56%;
    border-radius: 12px;
}

.avatar-name
{
    margin: 16px auto 8px;
    font-size: 20px;   /* Pixel字体：10px的2倍 */
    font-family: "Pixel", cursive;
}

.avatar-bio
{
    margin-top: 8px;
    margin-bottom: 0;
    color: rgb(90, 90, 90);
    font-size: 14px;
}

/* 社交链接行 */
.links-row
{
    margin: 16px 0;
    display: flex;
    justify-content: space-around;
}

.link-item
{
    text-align: center;
}

.link-item a
{
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 右侧粘性容器 */
.profile-sticky
{
    position: sticky;
    top: 16px;
}

/* footer 占位 */
.footer-spacer { height: 64px; }

/* footer 内链接和品牌文字 */
.footer-link  { color: rgb(130, 220, 230); }
.footer-sep   { margin: 0 12px; }
.footer-brand { font-family: "Cotyledon", serif; }

#main
{
    margin: 24px auto 0;
    width: 880px;
    display: flex;
    justify-content: space-between;
}

#content
{
    width: 60%;
    margin-right: 10px;
}

#profile
{
    width: 40%;
    margin-left: 10px;
}

#musicplayer
{
    position: fixed;
    bottom: 10px;
    left: 10px;
    /* z-index: 114514; */
    /* opacity: 0.7; */
}

#footer
{
    width: 100%;
    font-size: 18px;
    color: white;
    background-color: rgba(0, 0, 0, 0.8);
    text-align: center;
    padding: 20px;
    position: fixed;
    bottom: 0px;
}

#footer:hover
{
    background-color: rgba(0, 0, 0, 0.65);
}