/* 主页专用样式 */

/* 主要内容区域 */
.main-content {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    z-index: 10;
    opacity: 0;
    transform: translateX(0);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* 页面切换系统中的主页样式 */
#home-page .page-content {
    padding-left: 60px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    color: white;
}

/* 主页标题样式 */
#home-page h1 {
    font-family: 'Impact', Arial, sans-serif;
    font-size: 80px;
    color: white;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out 0.2s both;
}

#home-page .subtitle {
    font-family: '香萃潮汐宋', serif;
    font-size: 30px;
    color: white;
    margin-bottom: 30px;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.4s both;
}

/* Button1 样式 */
#button1 {
    background: #fff;
    border: none;
    padding: 10px 20px;
    display: inline-block;
    font-family: 'NewAmsterdam-Regular', Arial, sans-serif;
    font-size: 20px;
    font-weight: 600;
    width: 120px;
    text-transform: uppercase;
    align-items: center;
    cursor: pointer;
    transform: skew(-21deg);
    position: relative;
    animation: fadeInOpacity 0.8s ease-out 1.5s both;
    margin-left: 10px; /* 补偿倾斜造成的左偏移 */
    color: black;
}

#button1 span {
    display: inline-block;
    transform: skew(21deg);
}

#button1::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 100%;
    left: 0;
    background: rgb(20, 20, 20);
    opacity: 0;
    z-index: -1;
    transition: all 0.5s;
}

#button1:hover {
    color: #fff;
}

#button1:hover::before {
    left: 0;
    right: 0;
    opacity: 1;
}

/* 介绍样式 */
.intro {
    font-family: 'NewAmsterdam-Regular', Arial, sans-serif;
    font-size: 40px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out;
}

/* 标题样式 */
h1 {
    font-family: 'Impact', Arial, sans-serif;
    font-size: 80px;
    color: white;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out;
}

/* 副标题样式 */
.subtitle {
    font-family: '香萃潮汐宋', serif;
    font-size: 30px;
    color: white;
    margin-bottom: 30px;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.3s both;
}

/* 按钮样式 - From Uiverse.io by mrhyddenn */
#botton1 {
    background: #fff;
    border: none;
    padding: 10px 20px;
    display: inline-block;
    font-family: 'NewAmsterdam-Regular', Arial, sans-serif;
    font-size: 20px;
    font-weight: 600;
    width: 120px;
    text-transform: uppercase;
    cursor: pointer;
    transform: skew(-21deg);
    position: relative;
    animation: fadeInOpacity 0.8s ease-out 1.5s both;
    margin-left: 10px; /* 补偿倾斜造成的左偏移 */
}

#botton1 span {
    display: inline-block;
    transform: skew(21deg);
}

#botton1::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 100%;
    left: 0;
    background: rgb(20, 20, 20);
    opacity: 0;
    z-index: -1;
    transition: all 0.5s;
}

#botton1:hover {
    color: #fff;
}

#botton1:hover::before {
    left: 0;
    right: 0;
    opacity: 1;
}

/* 主页响应式设计 */
@media (max-width: 768px) {
    .main-content {
        padding-left: 30px;
        align-items: flex-start;
        text-align: left;
    }
    
    h1 {
        font-family: 'Impact', Arial, sans-serif;
        font-size: 60px;
        color: white;
    }
    
    .subtitle {
        font-family: '香萃潮汐宋', serif;
        font-size: 28px;
        color: white;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding-left: 20px;
        align-items: flex-start;
        text-align: left;
    }
    
    h1 {
        font-family: 'Impact', Arial, sans-serif;
        font-size: 40px;
        color: white;
    }
    
    .subtitle {
        font-size: 24px;
    }
}
