:root {
  --primary: #0078d4;
  --secondary: #f3f2f1;
  --text-primary: #323130;
  --text-secondary: #605e5c;
  --primary-color: #0078d4;
  --secondary-color: #2ecc71;
  --dark-color: #2c3e50;
  --light-color: #ecf0f1;
  --hover-color: #2980b9;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  /* font:16px / 1 微軟正黑體, "Microsoft YaHei", 微软雅黑, Arial, sans-serif; */
}

body {
  background-color: #f6f6f6;
  color: var(--text-primary);
  line-height: 1.6;
}

h2 {
  font:22px / 1 'Segoe UI', system-ui, -apple-system, sans-serif;
}

.nav, .top-nav {
  background-color: white;
  height: 72px;
  display: flex;
  align-items: center;
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  border-bottom: 1px solid #edebe9;
  z-index: 100;
}

.top-nav {
  width: calc(100% - 48px);
  max-width: 1560px;
}

.nav {
  width: calc(100% - 1px);
  max-width: 100%;
}

.logo {
  color: #333;
  font-size: 22px;
  font-weight: 700;
  margin-right: 40px;
  height: 100%;
  display: flex;
  align-items: center;
}

.main-nav {
  display: flex;
  flex-grow: 1;
}

.main-nav a {
  color: #666;
  text-decoration: none;
  font-size: 16px;
  padding: 0 18px;
  height: 72px;
  display: flex;
  align-items: center;
  transition: all 0.2s;
  position: relative;
}

.main-nav a:hover, .main-nav a.active {
  color: var(--secondary-color);
}

.main-nav a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 18px;
  right: 18px;
  height: 3px;
  background-color: var(--secondary-color);
}

.user-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.search-box {
  width: 380px;
  height: 40px;
  background-color: #f5f5f5;
  border-radius: 6px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  transition: all 0.2s;
  position: relative;
}

.search-box:hover {
  background-color: #e8e8e8;
}

.search-box input {
  background: transparent;
  border: none;
  color: #333;
  padding: 0 12px;
  width: 100%;
  outline: none;
  font-size: 15px;
}

.search-box input::placeholder {
  color: #999;
  font-size: 14px;
}

.search-box .clear-btn {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  cursor: pointer;
  font-size: 16px;
  display: none;
}

.action-icon {
  color: #333;
  cursor: pointer;
  font-size: 20px;
}

.promo-bar {
  background-color: var(--primary);
  color: white;
  text-align: center;
  padding: 15px 0;
  margin-top: 72px;
}

.promo-bar h2 {
  margin: 0;
  font-size: 24px;
}

.promo-bar p {
  margin: 10px 0 0;
  font-size: 16px;
}

.promo-bar a {
  color: white;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 5px;
  background-color: #1890ff;
  transition: background-color 0.2s;
}

.promo-bar a:hover {
  background-color: #40a9ff;
}

.container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 24px;
}

.app-cards-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 24px;
}

.app-card {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  text-align: center;
  padding: 20px;
  width: 200px;
  transition: transform 0.2s;
}

.app-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.app-card img {
  width: 50px;
  height: 50px;
  margin-bottom: 10px;
  border-radius: 100px;
}

.app-card h3 {
  margin: 0;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
 /*  font:16px / 1 'Segoe UI', system-ui, -apple-system, sans-serif; */
}

.app-card p {
  margin: 5px 0 0;
  font-size: 14px;
  color: var(--text-secondary);
  white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

	color: hsl(240 7.3% 50%);
}

.app-card a {
  background-color: hsl(240 4.8% 95.9%);
  border: none;
  color: hsl(240 7.3% 8%);
  padding: 5px 10px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 12px;
  margin-top: 10px;
  width: 100%;
  display: block;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.2s;
}

.app-card:hover a {
  background-color: var(--secondary-color);
  color: #ffffff;
}

footer { 
 background-color: white; 
 padding: 40px 0; 
 border-top: 1px solid #edebe9; 
 } 
 
 .footer-container { 
 max-width: 1600px; 
 margin: 0 auto; 
 padding: 0 24px; 
 } 
 
 .footer-links { 
 display: grid; 
 grid-template-columns: repeat(4, 1fr); 
 gap: 32px; 
 margin-bottom: 32px; 
 } 
 
 .footer-column h3 { 
 font-size: 16px; 
 font-weight: 600; 
 margin-bottom: 16px; 
 color: var(--primary); 
 } 
 
 .footer-column ul { 
 list-style: none; 
 } 
 
 .footer-column li { 
 margin-bottom: 8px; 
 } 
 
 .footer-column a { 
 color: var(--text-secondary); 
 text-decoration: none; 
 font-size: 14px; 
 transition: color 0.2s; 
 } 
 
 .footer-column a:hover { 
 color: var(--primary); 
 } 

.copyright {
  color: var(--text-secondary);
  font-size: 14px;
  padding-top: 24px;
  border-top: 1px solid #edebe9;
}

.copyright  a {
  color: var(--text-secondary);
}

.keyword-links {
  margin-bottom: 15px;
}

.keyword-links a {
  margin-right: 10px;
  cursor: pointer;
  color: blue;
}

.keyword-links a:hover {
  text-decoration: underline;
}

.highlight {
  background-color: yellow;
  font-weight: bold;
  font-size: 18px;
}

.floating-nav {
  position: fixed;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 1000;
}

.nav-sidebar {
  width: 60px;
  height: 60px;
  border-radius: 2px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: var(--transition);
  cursor: pointer;
  background-color: hsl(240 4.8% 95.9%);
  border: none;
  color: hsl(240 7.3% 8%);
}

.nav-sidebar:hover, .nav-sidebar.active {
  background-color: var(--secondary-color);
  color: #ffffff;
  transform: translateX(-5px);
}

html {
  scroll-behavior: smooth;
}

.h72 {
  height: 72px;
}

.friend-links-container {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.friend-link {
  padding: 8px 16px;
  background-color: #f5f5f5;
  color: #333;
  text-decoration: none;
  font-size: 12px;
  transition: all 0.3s ease;
  border-bottom: 1px solid #e0e0e0;
}

.friend-link:hover {
  background-color: #e0e0e0;
  transform: translateY(-2px);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
  .floating-nav {
    right: 10px;
  }

  .nav-sidebar {
    width: 50px;
    height: 50px;
    font-size: 0.9rem;
  }

  .app-cards-container {
    flex-direction: column;
    align-items: center;
  }

  .app-card {
    width: 100%;
    max-width: 300px;
  }

  .container {
    padding: 10px;
  }

  .search-box {
    width: 100%;
    max-width: 300px;
  }

  .main-nav a {
    font-size: 14px;
    padding: 0 10px;
  }

  .promo-bar h2 {
    font-size: 20px;
  }

  .promo-bar p {
    font-size: 14px;
  }

  .mobile-menu-btn {
    display: block;
    background: transparent;
    color: #000;
    padding: 16px 25px;  /* 增加内边距使按钮变大 */
    border: none;
    margin: 10px 0 10px auto;
    position: relative;
    right: 0px;
    font-size: 18px;     /* 增大字体尺寸 */
    font-weight: bold;   /* 可选：增加字体粗细提升可视性 */
  }

  .main-nav {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    background: white;
    display: none;
    flex-wrap: wrap;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 99;
  }

  .main-nav.active {
    display: flex;
  }

  .main-nav a {
    width: 48%;
    margin: 1%;
    padding: 12px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f8f9fa;
    border-radius: 6px;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
  }

  .main-nav a:hover {
    background: #e9ecef;
    transform: translateY(-2px);
  }

  .main-nav a.active {
    background: #4285f4;
    color: white;
  }

  .user-actions {
    margin-left: auto;
    display: flex;
    width: 100%;
    justify-content: center;
  }

  .search-box {
    width: 96%;
    margin: 10px 2%;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .footer-column {
    margin-bottom: 20px;
  }

  .footer-column h3 {
    font-size: 16px;
    margin-bottom: 12px;
  }

  .footer-column a {
    font-size: 13px;
  }

  .user-actions {
    display: none !important;
  }

  .footer-container {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .search-box {
    width: 150px;
  }

  .logo {
    margin-right: 20px;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .footer-container {
    padding: 0 15px;
  }

  .copyright {
    font-size: 11px;
  }

  .friend-links-container {
    gap: 8px;
    justify-content: center;
  }

  .friend-link {
    padding: 6px 12px;
    font-size: 13px;
  }
}

@media (min-width: 769px) {
  .mobile-menu-btn {
    display: none !important;
  }
}

        .header {
            display: flex;
            padding: 40px;
            background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary) 100%);
            color: white;
            align-items: center;
        }
        .thumbnail {
            width: 80px;
            height: 80px;
            border-radius: 12px;
            object-fit: cover;
            margin-right: 30px;
            box-shadow: 0 8px 20px rgba(0,0,0,0.2);
            border: 3px solid rgba(255,255,255,0.2);
        }
        .title-section h1 {
            font-size: 32px;
            margin-bottom: 8px;
            font-weight: 700;
        }
        .short-title {
            display: inline-block;
            background: rgba(255,255,255,0.15);
            color: white;
            padding: 6px 16px;
            border-radius: 20px;
            font-size: 14px;
            margin-bottom: 15px;
            font-weight: 500;
        }
        .meta-info {
            display: flex;
            gap: 20px;
            font-size: 14px;
            opacity: 0.9;
        }
        .meta-info span {
            display: flex;
            align-items: center;
            gap: 6px;
        }
        .content {
            padding: 40px;
        }
        .section {
            margin-bottom: 40px;
        }
        .section-title {
            font-size: 22px;
            margin-bottom: 20px;
            color: var(--secondary-color);
            position: relative;
            padding-left: 15px;
        }
        .section-title:before {
            content: '';
            position: absolute;
            left: 0;
            top: 5px;
            height: 20px;
            width: 4px;
            background: var(--secondary-color);
            border-radius: 2px;
        }
        .description p {
            color: var(--dark);
            margin-bottom: 15px;
            line-height: 1.8;
        }
        .download-list {
            display: grid;
            gap: 15px;
        }
        .download-item {
            display: flex;
            align-items: center;
            padding: 15px 20px;
            background: var(--light);
            border-radius: 8px;
            transition: all 0.3s ease;
            border: 1px solid #e9ecef;
        }
        .download-item:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
            border-color: var(--secondary-color);
        }
        .download-platform {
            flex: 0 0 120px;
            font-weight: 600;
            color: var(--secondary-color);
        }
        .download-info {
            flex: 1;
            font-size: 14px;
            color: var(--gray);
        }
        .download-btn {
            flex: 0 0 120px;
            text-align: right;
        }
        .btn {
            display: inline-block;
            background: var(--secondary-color);
            color: white;
            padding: 10px 20px;
            border-radius: 6px;
            text-decoration: none;
            font-weight: 500;
            transition: all 0.3s;
            font-size: 14px;
            text-align: center;
        }
        .btn:hover {
            background: var(--secondary-color);
            box-shadow: 0 5px 15px rgba(67, 97, 238, 0.3);
        }
        .btn i {
            margin-right: 8px;
        }
        .divider {
            height: 1px;
            background: linear-gradient(to right, transparent, #dee2e6, transparent);
            margin: 30px 0;
        }
        .feature-list {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 15px;
        }
        .feature-item {
            display: flex;
            align-items: flex-start;
            gap: 10px;
        }
        .feature-icon {
            color: var(--primary);
            font-size: 18px;
            margin-top: 3px;
        }
        @media (max-width: 768px) {
            .header {
                flex-direction: column;
                text-align: center;
                padding: 30px 20px;
            }
            .thumbnail {
                margin-right: 0;
                margin-bottom: 20px;
            }
            .meta-info {
                justify-content: center;
            }
            .feature-list {
                grid-template-columns: 1fr;
            }
        }
		
 /* 遮罩层样式 */
        #overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            justify-content: center;
            align-items: center;
            z-index: 1000;
        }

        /* 弹出框样式 */
        #popup {
            background-color: white;
            padding: 20px;
            border-radius: 10px; /* 圆角边框 */
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* 阴影效果 */
            text-align: center;
            max-width: 400px; /* 最大宽度 */
            width: 90%; /* 相对于视口宽度 */
            margin: auto; /* 水平居中 */
        }

        /* 确定按钮样式 */
        #popup button {
            background-color: #4CAF50; /* 背景颜色 */
            color: white; /* 文字颜色 */
            border: none; /* 无边框 */
            padding: 10px 20px; /* 内边距 */
            text-align: center; /* 文字居中 */
            text-decoration: none; /* 无下划线 */
            display: inline-block; /* 行内块元素 */
            font-size: 16px; /* 字体大小 */
            margin-top: 10px; /* 上边距 */
            border-radius: 5px; /* 圆角边框 */
            cursor: pointer; /* 鼠标指针样式 */
            transition: background-color 0.3s ease; /* 背景颜色过渡效果 */
        }

        /* 确定按钮悬停样式 */
        #popup button:hover {
            background-color: #45a049; /* 悬停时背景颜色 */
        }
		
		 .user-container {
            position: relative;
            display: inline-block;
            margin: 20px;
        }
        .user-icon {
            font-size: 20px;
            color: #333;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        .user-icon:hover {
            color: var(--secondary-color);
        }
        .user-card {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    background: var(--secondary-color);
    border-radius: 1px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    /* padding: 16px; */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
    text-align: center;
	font-size:14px;
	color:white;
	line-height:30px;
}
        .user-container:hover .user-card {
            opacity: 1;
            visibility: visible;
            transform: translateX(-50%) translateY(8px);
        }