/* 隐藏提示俁 */\r\n.language-notice,\r\n.language-tooltip,\r\n[role="alert"],\r\n.alert-message,\r\n.notice-box,\r\n.tooltip,\r\n.message-box,\r\n.popup-message,\r\n.notification-bar {\r\n  display: none !important;\r\n}\r\n\r\n/* 全局样式 */\r\nbody {
  margin: 0;
  padding: 0;
  font-family: 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
  color: #f0f0f0;
  background: #000;
  line-height: 1.6;
}

/* 导航?*/
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(0, 0, 0, 0.8);
  border-bottom: 1px solid #333;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 5%;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ff3a3a;
}

nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav ul li {
  margin-left: 20px;
}

nav ul li a {
  color: #aaa;
  text-decoration: none;
  transition: color 0.3s;
  font-size: 0.9rem;
}

nav ul li a:hover, nav ul li a.active {
  color: #fff;
}

.language-switch {
  font-size: 0.8rem;
  color: #888;
  display: flex;
  align-items: center;
  gap: 5px;
}

.language-switch span {
  cursor: pointer;
  transition: color 0.3s;
}

.language-switch span.active {
  color: #ff5722;
  font-weight: bold;
}

/* 主页横幅 */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), #333;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 80px 5%;
  position: relative;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: #fff;
  text-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

.hero p {
  margin-bottom: 30px;
  font-size: 1.1rem;
  color: #ccc;
}

.hero p.intro {
  font-size: 1.3rem;
  margin: 30px 0;
}

.hero p.warning {
  color: #ff3a3a;
  font-style: italic;
  margin-bottom: 40px;
}

.primary-btn {
  background: #ff3a3a;
  color: #fff;
  border: none;
  padding: 12px 30px;
  font-size: 1rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  font-weight: 600;
}

.primary-btn:hover {
  background: #e52e2e;
  transform: translateY(-2px);
}

/* 故事档案部分 */
.file-section {
  background: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.9)), #222;
  padding: 80px 5%;
  text-align: center;
}

.file-section h2 {
  font-size: 1.8rem;
  color: #ff3a3a;
  margin-bottom: 20px;
}

.file-section p {
  color: #aaa;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.btn-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.secondary-btn {
  background: transparent;
  color: #fff;
  border: 1px solid #555;
  padding: 10px 25px;
  font-size: 0.9rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s;
}

.secondary-btn:hover {
  border-color: #ff3a3a;
  color: #ff3a3a;
}

/* 关于部分 */
.about-section {
  background: #0a0a0a;
  padding: 80px 5%;
  text-align: center;
}

.about-section h2 {
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 30px;
}

.about-section p {
  color: #bbb;
  max-width: 800px;
  margin: 0 auto 20px;
}

/* 页脚 */
footer {
  background: #080808;
  padding: 30px 5%;
  text-align: center;
  border-top: 1px solid #222;
}

footer p {
  color: #666;
  font-size: 0.8rem;
  margin-bottom: 15px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #555;
  text-decoration: none;
  font-size: 0.8rem;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #999;
}

/* 响应式设?*/
@media screen and (max-width: 768px) {
  nav {
    flex-direction: column;
    text-align: center;
  }
  
  nav ul {
    margin: 15px 0;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .hero p.intro {
    font-size: 1.1rem;
  }
  
  .file-section h2, .about-section h2 {
    font-size: 1.5rem;
  }
}
/* 全局样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Microsoft YaHei', sans-serif;
  background: #0a0a0a;
  color: #f0f0f0;
  line-height: 1.6;
}

/* 导航栏样?*/
header {
  position: fixed;
  width: 100%;
  z-index: 100;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 5%;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #fff;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin: 0 15px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  padding: 5px 0;
  position: relative;
}

nav ul li a:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #ff3a3a;
  transition: width 0.3s;
}

nav ul li a:hover:after,
nav ul li a.active:after {
  width: 100%;
}

.language-switch {
  cursor: pointer;
  display: flex;
}

.language-switch span {
  padding: 5px;
}

.language-switch span.active {
  font-weight: bold;
}

/* 主页横幅样式 */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../图片/banner.jpg') no-repeat center/cover;
  padding: 0 5%;
}

.hero-content {
  max-width: 800px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: #ff3a3a;
}

.hero p {
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.hero .warning {
  color: #ff3a3a;
  font-style: italic;
  margin: 30px 0;
}

/* 按钮样式 */
.primary-btn, .secondary-btn {
  padding: 12px 30px;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
}

.primary-btn {
  background: #ff3a3a;
  color: #fff;
}

.primary-btn:hover {
  background: #c72020;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 58, 58, 0.3);
}

.secondary-btn {
  background: transparent;
  color: #fff;
  border: 2px solid #ff3a3a;
  margin-right: 10px;
}

.secondary-btn:hover {
  background: rgba(255, 58, 58, 0.1);
  transform: translateY(-3px);
}

/* 档案部分样式 */
.file-section {
  padding: 100px 5%;
  text-align: center;
  background: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.9)), url('../图片/pattern.jpg') repeat;
}

.file-section h2 {
  color: #ff3a3a;
  margin-bottom: 30px;
  font-size: 2rem;
}

.file-section p {
  margin-bottom: 40px;
  font-size: 1.2rem;
}

.btn-group {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

/* 关于部分样式 */
.about-section {
  padding: 100px 5%;
  background: #0a0a0a;
}

.about-section h2 {
  color: #ff3a3a;
  margin-bottom: 30px;
  font-size: 2rem;
  text-align: center;
}

.about-section p {
  max-width: 800px;
  margin: 0 auto 20px;
  text-align: center;
  font-size: 1.1rem;
}

/* 页脚样式 */
footer {
  padding: 50px 5%;
  background: #000;
  text-align: center;
}

footer p {
  margin-bottom: 20px;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  margin: 0 10px;
}

.footer-links a:hover {
  color: #ff3a3a;
}

/* 鬼故事页面样?*/
.ghost-story {
  padding: 120px 5% 80px;
  min-height: 100vh;
  background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('../图片/story-bg.jpg') no-repeat center/cover;
}

.story-generator {
  max-width: 800px;
  margin: 0 auto;
  padding: 30px;
  background: rgba(20, 20, 20, 0.8);
  border-radius: 10px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
}

.story-generator h2 {
  color: #ff3a3a;
  margin-bottom: 20px;
  text-align: center;
}

.story-generator textarea {
  width: 100%;
  padding: 15px;
  margin-bottom: 20px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid #333;
  border-radius: 5px;
  color: #fff;
  font-size: 1rem;
  resize: vertical;
}

.story-generator button {
  display: block;
  margin: 0 auto 20px;
}

#story {
  margin-top: 30px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 5px;
  border-left: 3px solid #ff3a3a;
  white-space: pre-wrap;
}

/* 联系页面样式 */
.contact {
  padding: 120px 5% 80px;
  min-height: 100vh;
  background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('../图片/contact-bg.jpg') no-repeat center/cover;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  padding: 30px;
  background: rgba(20, 20, 20, 0.8);
  border-radius: 10px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
}

.contact-form h2 {
  color: #ff3a3a;
  margin-bottom: 20px;
  text-align: center;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  color: #ccc;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid #333;
  border-radius: 5px;
  color: #fff;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

/* 响应式设?*/
@media screen and (max-width: 768px) {
  nav {
    flex-direction: column;
    padding: 15px 5%;
  }
  
  nav ul {
    margin: 15px 0;
  }
  
  .language-switch {
    margin-top: 10px;
    display: flex;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .btn-group {
    flex-direction: column;
    align-items: center;
  }
  
  .secondary-btn {
    margin-right: 0;
    margin-bottom: 10px;
  }
}

/* 故事加载动画 */
.loading {
  text-align: center;
  padding: 20px;
}

.loading:after {
  content: '.';
  animation: dots 1.5s steps(5, end) infinite;
}

@keyframes dots {
  0%, 20% {
    content: '.';
  }
  40% {
    content: '..';
  }
  60% {
    content: '...';
  }
  80%, 100% {
    content: '';
  }
}
