:root {
  --primary-color: #8110a2;
  --text-color: #333;
  --background-color: #f9f9f9;
  --card-color: #ffffff;
  --secondary-text-color: #555;
  --border-radius: 12px;
  --box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

html,
body,
p,
a,
h1,
h2,
h3,
h4 {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

h1,
h2 {
  font-family: ui-rounded;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
  margin: 0;
  padding: 0;
}

header {
  background-color: var(--primary-color);
  color: var(--background-color);
  text-align: center;
  padding: 20px;
}

header img {
  width: 100px;
  height: 100px;
  border-radius: 20px;
  margin-bottom: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

header h1 {
  font-size: 2em;
  margin: 10px 0;
  color: white;
}

main {
  padding: 20px;
  max-width: 800px;
  margin: 0 auto;
}

section {
  background-color: var(--card-color);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 20px;
  margin-bottom: 20px;
}

h2 {
  color: var(--primary-color);
  margin-bottom: 10px;
}

p {
  font-size: 1em;
  margin-bottom: 10px;
}

.button {
  display: inline-block;
  background-color: var(--primary-color);
  color: #fff;
  padding: 10px 20px;
  border-radius: var(--border-radius);
  text-decoration: none;
  box-shadow: var(--box-shadow);
  transition: background-color 0.3s;
}

.button:hover {
  background-color: #6d0099;
}

.modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--card-color);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  width: 90%;
  max-width: 800px;
  z-index: 1000;
  overflow: hidden;
}

.modal .scroller {
  width: 100%;
  overflow-x: auto;
  white-space: nowrap;
  padding: 0 15px;
}

.modal img {
  height: 60vh;
  width: auto;
  border-radius: var(--border-radius);
  margin-right: 10px;
  display: inline-block;
}

.modal-close {
  font-size: 1.5em;
  color: var(--primary-color);
  cursor: pointer;
  margin: 0 15px;
}

.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

footer {
  text-align: center;
  padding: 15px;
  background-color: var(--card-color);
  font-size: 0.9em;
  color: var(--secondary-text-color);
  border-top: 1px solid #e0e0e0;
}

footer a {
  color: var(--secondary-text-color);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

.language-switch {
  position: fixed;
  top: 20px;
  right: 20px;
  color: white;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.2);
  padding: 8px 12px;
  border-radius: 6px;
  z-index: 100;
}

/* 添加响应式样式 */
@media (max-width: 768px) {

  .language-switch {
    top: 15px;
    right: 15px;
    padding: 4px 6px;
    font-size: 0.6em;
    border-radius: 6px;
  }

}