@charset"UTF-8";
/*
 * 星火网站样式表
 * 基于Identity by HTML5 UP主题修改
 * 整理时间: 2023
 */

/* =========================================
   基础样式重置
   ========================================= */
html, body, div, span, applet, object, iframe, h1, h2, p, a, img, ul, li, footer, header, section {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

article, aside, footer, header, section {
    display: block;
}

body {
    line-height: 1;
    -webkit-text-size-adjust: none;
}

ul {
    list-style: none;
}

/* =========================================
   盒模型设置
   ========================================= */
*, *:before, *:after {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

/* =========================================
   画布样式
   ========================================= */
canvas {
    padding: 0;
    margin: 0;
    position: absolute;
    z-index: -1;
    left: 0px;
}

/* =========================================
   基本布局
   ========================================= */
html {
    height: 100%;
    overflow: hidden;
}

body {
    height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    background-image: -moz-linear-gradient(60deg, rgba(255, 165, 150, 0.5) 5%, rgba(0, 228, 255, 0.35));
    background-image: -webkit-linear-gradient(60deg, rgba(255, 165, 150, 0.5) 5%, rgba(0, 228, 255, 0.35));
    background-image: -ms-linear-gradient(60deg, rgba(255, 165, 150, 0.5) 5%, rgba(0, 228, 255, 0.35));
    background-image: linear-gradient(60deg, rgba(255, 165, 150, 0.5) 5%, rgba(0, 228, 255, 0.35));
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
}

/* 页面加载遮罩效果 */
body:after {
    content:'';
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: inherit;
    opacity: 0;
    z-index: -1;
    background-color: #ffffff;
    background-image: -moz-linear-gradient(60deg, rgba(255, 165, 150, 0.5) 5%, rgba(0, 228, 255, 0.35));
    background-image: -webkit-linear-gradient(60deg, rgba(255, 165, 150, 0.5) 5%, rgba(0, 228, 255, 0.35));
    background-image: -ms-linear-gradient(60deg, rgba(255, 165, 150, 0.5) 5%, rgba(0, 228, 255, 0.35));
    background-image: linear-gradient(60deg, rgba(255, 165, 150, 0.5) 5%, rgba(0, 228, 255, 0.35));
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    -moz-transition: opacity 1.75s ease-out;
    -webkit-transition: opacity 1.75s ease-out;
    -ms-transition: opacity 1.75s ease-out;
    transition: opacity 1.75s ease-out;
}

/* 加载状态样式 - 由JavaScript控制 */
body.is-loading {
    overflow: hidden;
}

body.is-loading * {
    -moz-animation: none !important;
    -webkit-animation: none !important;
    -ms-animation: none !important;
    animation: none !important;
    -moz-transition: none !important;
    -webkit-transition: none !important;
    -ms-transition: none !important;
    transition: none !important;
}

body.is-loading:after {
    display: block;
    opacity: 1;
    z-index: 1000;
}

/* =========================================
   字体和文本样式
   ========================================= */
body, input {
    color: #414f57;
    font-family: "Source Sans Pro", Helvetica, sans-serif;
    font-size: 14pt;
    font-weight: 300;
    line-height: 2;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

/* 响应式字体大小 */
@media screen and (max-width: 1680px) {
    body, input {
        font-size: 11pt;
    }
}

@media screen and (max-width: 480px) {
    body, input {
        font-size: 10pt;
        line-height: 1.75;
    }
}

/* 链接样式 */
a {
    -moz-transition: color 0.2s ease, border-color 0.2s ease;
    -webkit-transition: color 0.2s ease, border-color 0.2s ease;
    -ms-transition: color 0.2s ease, border-color 0.2s ease;
    transition: color 0.2s ease, border-color 0.2s ease;
    color: inherit;
    text-decoration: none;
}

a:before {
    -moz-transition: color 0.2s ease, text-shadow 0.2s ease;
    -webkit-transition: color 0.2s ease, text-shadow 0.2s ease;
    -ms-transition: color 0.2s ease, text-shadow 0.2s ease;
    transition: color 0.2s ease, text-shadow 0.2s ease;
}

a:hover {
    color: #ff7496;
}

/* 标题样式 */
h1, h2 {
    color: #313f47;
    line-height: 1.5;
    margin: 0 0 0.75em 0;
}

h1 {
    font-size: 1.85em;
    letter-spacing: 0.22em;
    margin: 0.25em 0 0.35em 0;
}

h2 {
    font-size: 1.25em;
}

/* 响应式标题大小 */
@media screen and (max-width: 480px) {
    h1 {
        font-size: 1.65em;
    }
}

p {
    margin: 0.25em 0 1em 0;
}

/* =========================================
   图标样式
   ========================================= */
.icon {
    text-decoration: none;
    position: relative;
    border-bottom: none;
}

.icon:before {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    text-transform: none !important;
}

.icon > .label {
    display: none;
}

/* =========================================
   图标列表样式
   ========================================= */
ul.icons {
    cursor: default;
    list-style: none;
    padding-left: 0;
    margin-top: -0.675em;
}

ul.icons li {
    display: inline-block;
    padding: 0.675em 0.5em;
}

ul.icons li a {
    text-decoration: none;
    position: relative;
    display: block;
    width: 3.75em;
    height: 3.75em;
    border-radius: 100%;
    border: solid 1px #c8cccf;
    line-height: 3.75em;
    overflow: hidden;
    text-align: center;
    white-space: nowrap;
}

/* 修复FontAwesome图标居中 */
ul.icons li a:not(:has(img)) {
    text-indent: 0;
}

ul.icons li a:before {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    text-transform: none !important;
}

ul.icons li a:before {
    color: #ffffff;
    text-shadow: 1.25px 0px 0px #c8cccf, -1.25px 0px 0px #c8cccf, 0px 1.25px 0px #c8cccf, 0px -1.25px 0px #c8cccf;
}

/* 悬停效果 */
ul.icons li a:hover:before {
    text-shadow: 1.25px 0px 0px #ff7496, -1.25px 0px 0px #ff7496, 0px 1.25px 0px #ff7496, 0px -1.25px 0px #ff7496;
}

ul.icons li a:before {
    position: absolute;
    top: 0;
    left: 0;
    width: inherit;
    height: inherit;
    font-size: 1.85rem;
    line-height: inherit;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

ul.icons li a:hover {
    border-color: #ff7496;
}

/* 响应式图标大小 */
@media screen and (max-width: 480px) {
    ul.icons li a:before {
        font-size: 1.5rem;
    }
}

/* =========================================
   带图片的图标样式修复
   ========================================= */
ul.icons li a:has(img) {
    text-indent: 0;
    overflow: hidden;
}

ul.icons li a:has(img):before {
    display: none;
}

ul.icons li a img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain;
    padding: 15%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

/* =========================================
   按钮样式
   ========================================= */
input[type="button"], .button {
    -moz-appearance: none;
    -webkit-appearance: none;
    -ms-appearance: none;
    appearance: none;
    -moz-transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, color 0.2s ease-in-out;
    -webkit-transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, color 0.2s ease-in-out;
    -ms-transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, color 0.2s ease-in-out;
    transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, color 0.2s ease-in-out;
    display: inline-block;
    height: 2.75em;
    line-height: 2.75em;
    padding: 0 1.5em;
    background-color: transparent;
    border-radius: 4px;
    border: solid 1px #c8cccf;
    color: #414f57 !important;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
}

input[type="button"]:hover, .button:hover {
    border-color: #ff7496;
    color: #ff7496 !important;
}


/* =========================================
   主内容区域样式
   ========================================= */
   /* 主容器居中布局 */
    .container-wrap {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      min-height: 100vh;
      padding: 20px;
      position: relative;
      box-sizing: border-box;
      padding-bottom: 80px; /* 为footer预留空间 */
    }
    
    /*主容器*/
    .container {
      position: relative;
      width: 80%;
      max-width: 1200px;
      height: 800px;
      min-height: 600px;
      background: rgba(0, 0, 0, 0.5);
      border-radius: 10px;
      box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
      overflow: hidden;
      display: flex;
      margin: auto; /* 关键：让容器在父元素中居中 */
    }
    /*容器左侧*/
    .left-panel {
      width: 25%; /* 左侧占比1/4 */
      height: 800px;
      display: flex;
      flex-direction: column;
      color: white;
      padding: 2rem;
      box-sizing: border-box;
      background: rgba(0, 0, 0, 0.3); /* 左侧深色背景 */
    }
     /*容器右侧*/
    .right-panel {
      width: 75%; /* 右侧占比3/4 */
      height: 800px;
      background: rgba(0, 0, 0, 0.2);
      padding: 2rem;
      box-sizing: border-box;
      overflow-y: auto;
      display: flex;
      flex-direction: column;
    }
    
    /* 左侧布局调整 */
    .left-panel-content {
      display: flex;
      flex-direction: column;
      align-items: center;
      width: 100%;
    }
    /*  左侧头像  */
    .avatar-large {
      width: 150px;
      height: 150px;
      border-radius: 50%;
      margin-bottom: 1.5rem;
      border: 3px solid white;
      object-fit: cover;
    }
    
    /*  左侧星火标题 */
    .site-title {
      font-size: 2rem;
      margin: 0 0 1rem 0;
      color: white;
    }
    /* 两句话 */
    .site-desc {
      font-size: 1rem;
      text-align: center;
      margin-bottom: 2rem;
      opacity: 0.8;
      line-height: 1.6;
    }
    
    /* 左侧面板图标列表布局 - 一行两个 */
    .left-panel ul.icons {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 1rem;
      width: 100%;
      margin: 0;
      padding: 0;
    }
    
    .left-panel ul.icons li {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      margin: 0;
      padding: 0;
    }
    
    .left-panel ul.icons li a {
      width: 4em;
      height: 4em;
      margin: 0 auto 0.5rem auto;
      position: relative;
    }
    
    .left-panel ul.icons li i {
      color: white;
      font-size: 1rem;
      text-transform: none;
      font-style: normal;
      letter-spacing: normal;
      line-height: 1;
      margin-top: 0.5rem;
      display: block;
    }

    /* 右侧图标区域分隔线 */
    .section-divider {
      width: 100%;
      height: 1px;
      background: rgba(255, 255, 255, 0.2);
      margin-top: 0.4rem;
      margin-bottom: 0.8rem;
    }
    
    /* 右侧图标区域前置DIV */
    .section-prefix {
      width: 7em;
      height: 7em;
      background: rgba(34, 34, 34, 0.3);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 8px;
      margin-right: 0.5rem;
      flex-shrink: 0;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 0.2rem;
      box-sizing: border-box;
      color: white;
      font-size: 1rem;
      line-height: 1.3;
      text-align: center;
      overflow: hidden;
    }
    
    /* 右侧区域布局 */
    .right-section {
      display: flex;
      align-items: flex-start;
      gap: 0.5rem;
      height: auto;
      min-height: 5em;
    }
    
    /* 右侧图标区域样式 */
    .right-panel ul.right-icons {
      display: flex;
      flex-wrap: wrap;
      gap: 0.6rem;
      justify-content: flex-start;
      align-items: flex-start;
      padding: 0.5rem 0;
      margin: 0;
    }

    .right-panel ul.right-icons li {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      margin: 0;
      padding: 0;
      min-width: 65px;
    }

    .right-panel ul.right-icons li a {
      width: 3em;
      height: 3em;
      margin: 0 auto 0.3rem auto;
      position: relative;
    }

    .right-panel ul.right-icons li i {
      color: white;
      font-size: 1rem;
      text-transform: none;
      font-style: normal;
      letter-spacing: normal;
      line-height: 1;
      margin-top: 0.5rem;
      display: block;
    }


    /* 页脚样式 - 固定在底部 */
    #footer {
      position: fixed;
      bottom: 0;
      left: 0;
      width: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
      color: rgba(255, 255, 255, 0.6);
      font-size: 0.9rem;
      z-index: 10;
      padding: 1rem 0;
      background: transparent;
    }
    
    .copyright {
      list-style: none;
      padding: 0;
      margin: 0;
      display: flex;
      gap: 1.5rem;
    }
    
    .copyright a {
      color: inherit;
      text-decoration: none;
    }
    
    .copyright a:hover {
      text-decoration: underline;
    }
      /* 响应式调整 */
    @media (max-width: 768px) {
      .container-wrap {
        min-height: 100vh;
        height: auto;
        padding: 20px;
        padding-bottom: 80px; /* 为footer预留空间 */
        overflow: visible;
      }
      
      .container {
        width: 98%;
        height: auto;
        min-height: auto;
        max-height: none;
        flex-direction: column;
        overflow: visible;
      }
      
      .left-panel, .right-panel {
        float: none;
        width: 100%;
        max-width: 100%;
      }
      
      .left-panel {
        height: auto;
        padding: 2rem;
      }
      
      .right-panel {
        height: auto;
        min-height: auto;
        padding: 2rem;
        overflow-y: visible;
        max-height: none;
      }
      
      .left-icons {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
      }
      
      /* 移动端隐藏section-prefix元素 */
      .section-prefix {
        display: none;
      }
      
      /* 移动端右侧图标布局调整 */
      .right-section {
        height: auto;
        min-height: auto;
        flex-direction: column;
        align-items: center;
        margin-bottom: 1rem;
        padding: 0.5rem 0;
        width: 100%;
      }
      
      /* 移动端section-divider间距调整 */
      .section-divider {
        margin: 0.6rem 0;
      }
      
      .right-panel ul.right-icons {
        gap: 1.5rem;
        width: 100%;
        justify-content: center;
        padding: 1rem 0;
      }
      
      .right-panel ul.right-icons li {
        min-width: 70px;
      }
      
      #footer {
        height: auto;
        padding: 1rem;
        text-align: center;
      }
      
      .copyright {
        flex-direction: column;
        gap: 0.5rem;
      }
    }