:root {
  --primary-color: #6aacf8;
  /* 神秘紫 */
  --secondary-color: #a7ba88;
  /* 苔藓绿 */
  --accent-color: rgba(96, 168, 204, 0.8);
  /* 蔷薇粉 */
  --light-bg: #f5f0e7;
  /* 羊皮纸白 */
  --text-color: #4a4a48;
  /* 深灰 */
  --golden: #b8a47d;
  /* 古金色 */
  --notice-red: #d32f2f;
  /* 警示红色 */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "霞鹜文楷", "LXGW WenKai", sans-serif;
}

body {
  background: var(--light-bg);
  color: var(--text-color);
  line-height: 1.8;
  letter-spacing: 0.05em;
}

.notice {
  color: var(--notice-red) !important;
  font-weight: 600;
  padding: 1.2rem;
  border: 2px solid var(--notice-red);
  border-radius: 8px;
  margin: 2rem 0;
  background: rgba(211, 47, 47, 0.05);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.notice::before {
  content: "⚠️";
  font-size: 1.5rem;
}

.header {
  background: linear-gradient(
    160deg,
    var(--primary-color) 20%,
    var(--secondary-color) 80%
  );
  color: #fff;
  padding: 5rem 1rem 8rem;
  text-align: center;
  clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
  position: relative;
  margin-bottom: 4rem;
}

.header::after {
  content: "🎬";
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 3rem;
  filter: drop-shadow(0 5px 5px rgba(0, 0, 0, 0.1));
}

.header h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  font-weight: 300;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.content {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  padding: 3rem;
  margin: -4rem auto 3rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 1;
}

h2 {
  color: var(--primary-color);
  font-size: 2.2rem;
  margin-bottom: 2rem;
  padding-left: 1.5rem;
  position: relative;
  font-weight: 400;
}

h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 70%;
  background: var(--golden);
  border-radius: 3px;
}

.screenshots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.screenshots img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 8px 20px -6px rgba(0, 0, 0, 0.15);
  border: 2px solid transparent;
}

.screenshots img:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.2);
  border-color: var(--accent-color);
}

.download {
  text-align: center;
  margin: 4rem 0;
}

.download a {
  display: inline-flex;
  align-items: center;
  padding: 1.2rem 3rem;
  background: var(--accent-color);
  color: white;
  text-decoration: none;
  border-radius: 35px;
  transition: all 0.3s ease;
  font-size: 1.1rem;
  box-shadow: 0 5px 15px rgba(125, 198, 234, 0.3);
}

.download a:hover {
  background: var(--primary-color);
  letter-spacing: 0.1em;
  transform: translateY(-2px);
}

.footer {
  /* background: var(--primary-color); */
  color: rgba(1, 1, 1, 0.9);
  padding: 3rem 2rem;
  text-align: center;
  font-size: 0.95rem;
  margin-top: 5rem;
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: -50px;
  left: 0;
  right: 0;
  height: 50px;
  /* background: linear-gradient(
    to bottom,
    transparent 0%,
    var(--primary-color) 100%
  ); */
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(125, 198, 234, 0.8);
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.modal-content {
  max-width: 85%;
  max-height: 85%;
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.close {
  position: fixed;
  top: 30px;
  right: 40px;
  color: white;
  font-size: 2.5rem;
  cursor: pointer;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.close:hover {
  transform: rotate(90deg);
  opacity: 1;
}

.github-icon {
  display: inline-block;
  margin: 0 10px;
  transition: all 0.4s ease;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.github-icon:hover {
  transform: rotate(10deg) scale(1.15);
}

@media (max-width: 768px) {
  .header h1 {
    font-size: 2.2rem;
  }

  .content {
    padding: 2rem;
    margin-top: -2rem;
  }

  .screenshots img {
    width: 100%;
    height: auto;
  }
}
