* {
      box-sizing: border-box;
    }

    body {
      margin: 0;
      font-family: "Helvetica Neue", Arial, sans-serif;
      background: linear-gradient(to bottom right, #fdfbfb, #ebedee);
      color: #333;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
    }

    header {
      background-color: #fff;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
      padding: 5px 0 5px 15px;
      display: flex;
      justify-content: flex-start;
      align-items: center;
      gap: 30px;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 1000;
    }

    header a {
      text-decoration: none;
      color: #000;
      font-weight: bold;
      font-size: 16px;
      transition: color 0.3s;
    }

    header a:hover {
      color: #1a73e8;
    }

    main {
      flex: 1;
      padding: 80px 20px 40px;
      max-width: 1200px;
      margin: 0 auto;
      background-color: #fff;
      border-radius: 10px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    }

    h1 {
      font-size: 22px;
      color: #1a73e8;
      margin-bottom: -20px;
      position: relative; /* 让 top 生效 */
      top: -20px;         /* 往上移动10px */
    }

    p {
      margin-bottom: 20px;
      line-height: 1.6;
      color: #555;
      text-align: justify;
    }

    .back-home {
      display: inline-block;
      margin-top: 30px;
      font-size: 14px;
      padding: 8px 16px;
      background-color: #3CB371;
      color: white;
      border-radius: 8px;
      text-decoration: none;
      font-weight: bold;
      transition: background-color 0.3s ease;
    }

    .back-home:hover {
      background-color: #2e8b57;
    }

    #qr-modal {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 2000;
    }

    .qr-modal-backdrop {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.5);
    }

    .qr-modal-content {
      position: relative;
      background-color: #fff;
      padding: 20px 30px;
      border-radius: 10px;
      text-align: center;
      z-index: 2001;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }

    .qr-image {
      width: 200px;
      height: 200px;
      margin-bottom: -20px;
    }

    #qr-caption {
      font-size: 16px;
      color: #333;
      margin-bottom: 10px;
      text-align: center;
    }

    #close-modal {
      background-color: #3CB371;
      color: #fff;
      border: none;
      padding: 10px 16px;
      border-radius: 6px;
      cursor: pointer;
    }

    #close-modal:hover {
      background-color: #2e8b57;
    }

    #beian-info {
      text-align: center;
    }


    footer {
      background-color: #f1f1f1;
      text-align: center;
      padding: 20px;
      font-size: 14px;
      color: #666;
      border-top: 1px solid #ddd;
    }

    .beian-link {
      color: gray;
      text-decoration: none;
      font-size: 15px;
    }

    .beian-link:hover {
      color: #1a73e8; 
      text-decoration: none;
    }

    .centered-img {
      display: block; 
      margin-left: auto;
      margin-right: auto;
      margin-top: 20px;
      margin-bottom: 20px;
      max-width: 1000px;
      width: 100%;
      border-radius: 8px;
    }


    @media (max-width: 768px) {
      body {
        overflow-x: hidden;
      }

      header {
        padding: 5px 10px;
        gap: 10px;
      }

      header img {
        height: 36px !important;
      }

      header a {
        font-size: 15px;
      }
      
      h1 {
      font-size: 20px;
      color: #1a73e8;
      margin-bottom: -40px;
      position: relative; /* 让 top 生效 */
      top: -30px;         /* 往上移动10px */
    }
      
    }