/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 页面主体 */
body {
    background-color: #cdcdcd;
    background-image: linear-gradient(145deg,#f4f3f3,#a0a0a0);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    padding: 1.5rem;
    line-height: 1.5;
    color: #3b3b3b;
}

/* 主卡片 */
.home-card {
    width: 580px;
    height: 580px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background-color: #bebebe;
    border-radius: 5.5rem;
    box-shadow: 30px 30px 60px rgb(132, 132, 132) inset,
                -30px -30px 60px rgb(255, 255, 255) inset;
    padding-left: 70px;
    padding-right: 70px;
    position: relative;
}
/* 标题区 */
.brand-header {
    margin-bottom: 1.25rem;
}
/* 轻课智作 */
h1 {
    margin: 50px;
    height: 75px;
    font-size: 4rem;
    font-weight: 540;
    letter-spacing: 0.2em;
    margin-bottom: 0.2rem;
    gap: 0.5rem;
    text-align: center;
    color: #5a5a5a;
    text-shadow: 4px 4px 8px rgb(132, 132, 132),
                -4px -4px 8px rgb(255, 255, 255);
}
/* 表单项通用 */
.form-group {
    margin-bottom: 1rem;
}

.form-label {
    font-weight: 550;
    font-size: 1.5rem;
    color: #3a3a3a;
    margin-bottom: 0.6rem;
    display: block;
    letter-spacing: 0.3px;
}
#microContent{
    width: 100%;
    max-height: 150px;
    min-height: 100px;
    border: 2.5px  none;
    border-radius: 40px;
    padding: 35px 18px;
    font-size: 1rem;
    line-height: 1.5;
    font-family: inherit;
    background-color:rgba(255, 255, 255, 0);
    resize: vertical;
    outline: none;
    cursor: pointer;
    transition: all 0.5s;
    color: #5a5a5a;
    text-shadow: 1px 1px 2px rgb(132, 132, 132),
                -1px -1px 2px rgb(255, 255, 255);
}
#microContent:hover{
    transform: translateY(-2px);
    box-shadow: 7px 7px 14px rgb(132, 132, 132),
                -7px -7px 14px rgb(255, 255, 255);
}
#microContent:focus{
    transform: translateY(2px);
    border: none;
    box-shadow: 7px 7px 14px rgb(132, 132, 132)inset,
                -7px -7px 14px rgb(255, 255, 255)inset;}
.upload-card {
    background: none;
    border: 0.5px  none;
    border-radius: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 1.5rem;
    cursor: pointer;
    transition: all 0.5s;
    backdrop-filter: blur(2px);
    bottom: 120px;
    position: absolute;
    font-size: 1.2rem;
    color: #5a5a5a;
    text-shadow: 2px 2px 4px rgb(132, 132, 132),
                -2px -2px 4px rgb(255, 255, 255);
}
.upload-card:hover{
    transform: translateY(-2px);
    box-shadow: 7px 7px 14px rgb(132, 132, 132),
                -7px -7px 14px rgb(255, 255, 255);
}
.upload-card:active {
    transform: translateY(2px);
    border: none;
    box-shadow: 7px 7px 14px rgb(132, 132, 132)inset,
                -7px -7px 14px rgb(255, 255, 255)inset;
}
.hidden-file {
    display: none;}
/* 按钮行 */
.action-row {
  display: flex;            /* 启用 Flexbox 布局，使 body 成为弹性容器 */
  justify-content: center;  /* 主轴（水平方向）居中：所有子元素（即 button）在水平方向居中 */
  align-items: center;     
}
.generate-btn {
    position: absolute;
    bottom: 120px;
    background: none;
    border: none;
    color: rgb(78, 78, 78);
    font-weight: 600;
    font-size: 2rem;
    border-radius: 60px;
    white-space: normal;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: 0.5s;
    letter-spacing: 20px;
    line-height: 35px;
    right: 60px;
    padding: 1.3rem 5rem;
    color: #5a5a5a;
    text-shadow: 4px 4px 8px rgb(132, 132, 132),
                -4px -4px 8px rgb(255, 255, 255);
}
.generate-btn:hover {
    background:none;
    border: none;
    transform: translateY(-2px);
    box-shadow: 7px 7px 14px rgb(132, 132, 132),
                -7px -7px 14px rgb(255, 255, 255);
}
.generate-btn:active {
    transform: translateY(2px);
    border: none;
    box-shadow: 7px 7px 14px rgb(132, 132, 132)inset,
                -7px -7px 14px rgb(255, 255, 255)inset;
}
/* 底部脚注 */
.footnote {
    position: absolute;
    bottom: 50px;
    left: 0px;
    right:0px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding-top: 1.2rem;
    padding-bottom: 20px;
    color: #5a5a5a;
    text-shadow: 1px 1px 2px rgb(132, 132, 132),
                -1px -1px 2px rgb(255, 255, 255);
}