@charset "utf-8";

/* CSS样式文件 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
    background: #f5f5f5;
    color: #333;
    line-height: 1.5;
}

.container {
    max-width: 750px;
    margin: 0 auto;
    background: white;
    min-height: 100vh;
}

.header {
    background: linear-gradient(135deg, #ff9500 0%, #ff6a00 100%);
    /* background-image: url('https://www.cctroue.com/uploadfile/202603/10/310e90916e52746e1ab24cac4584f152.png'); */
    background-size: cover;
    background-position: center;
    color: white;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    max-width: 750px;
    width: 100%;
}

.header-content {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0 20px;
    position: relative;
}

.header h1 {
    font-size: 22px;
    font-weight: 600;
    margin: 0;
    text-align: center;
}

.header-title-link {
    text-decoration: none;
    color: inherit;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-toggle {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 5px;
    padding: 8px 12px;
    color: white;
    font-size: 20px;
    cursor: pointer;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.nav-toggle:hover {
    background: rgba(255, 255, 255, 0.3);
}

.nav-menu {
    position: fixed;
    top: 60px;
    left: 0;
    width: 260px;
    height: calc(100vh - 60px);
    background: white;
    backdrop-filter: blur(10px);
    display: none;
    flex-direction: column;
    padding: 20px 0;
    box-shadow: 4px 0 12px rgba(0, 0, 0, 0.15);
    z-index: 998;
}

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

.nav-item {
    padding: 12px 20px;
    color: black;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.nav-item:hover {
    background: rgba(0, 0, 0, 0.1);
}

.content {
    padding: 20px;
    background: white;
    margin-top: 60px;
}

.app-info {
    padding: 20px;
}

.app-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.app-logo {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #ff9500 0%, #ff6a00 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    flex-shrink: 0;
}

.app-title-section {
    text-align: center;
}

.app-name {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.app-tags {
    display: flex;
    gap: 8px;
}

.app-tag {
    padding: 3px 10px;
    background: #f0f0f0;
    border-radius: 4px;
    font-size: 12px;
    color: #666;
}

.app-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    padding: 15px;
    background: #f8f8f8;
    border-radius: 10px;
}

.meta-item {
    text-align: center;
}

.meta-label {
    font-size: 12px;
    color: #999;
    margin-bottom: 5px;
}

.meta-value {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

/* 应用简介样式 */
.app-intro {
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f8f8;
    border-radius: 10px;
}

.app-intro p {
    font-size: 14px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 10px;
}

.app-intro p:last-child {
    margin-bottom: 0;
}

.screenshots {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 5px 0;
    margin-bottom: 20px;
}

.app-logo img {
    width: 100%;
    height: 100%;
    border-radius: 16px;
}

.feature-icon img {
    width: 100%;
    height: 100%;
}

.screenshot {
    width: 250px;
    height: 420px;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
    border-radius: 12px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 12px;
}

.features {
    margin-bottom: 20px;
}

.section-title {
    font-size: 17px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    padding-left: 10px;
    border-left: 4px solid #ff6a00;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    padding: 14px;
    background: #f8f8f8;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s;
}

.feature-item:hover {
    background: #f0f0f0;
}

.feature-icon {
    width: 45px;
    height: 45px;
    /* background: linear-gradient(135deg, #ff9500 0%, #ff6a00 100%); */
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 18px;
    color: white;
}

.feature-content {
    flex: 1;
}

.feature-content h3 {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 3px;
}

.feature-content p {
    font-size: 13px;
    color: #888;
}

.feature-btn {
    padding: 6px 14px;
    background: linear-gradient(135deg, #ff9500 0%, #ff6a00 100%);
    border-radius: 5px;
    color: white;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    border: none;
}

.feature-btn a {
    color: white;
    text-decoration: none;
}

.feature-item a {
    text-decoration: none;
    color: inherit;
}

.download-btn {
    display: block;
    width: calc(100% - 40px);
    margin: 20px 20px;
    padding: 14px;
    background: linear-gradient(135deg, #ff9500 0%, #ff6a00 100%);
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(255, 149, 0, 0.3);
}

.reviews {
    padding: 20px;
    background: white;
}

.review-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.review-item:last-child {
    border-bottom: none;
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.review-avatar {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #ff9500 0%, #ff6a00 100%);
    border-radius: 50%;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    font-weight: 600;
}

.review-info h4 {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.review-info p {
    font-size: 12px;
    color: #aaa;
}

.review-content {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin-left: 48px;
}

.footer {
    background: #2d3748;
    padding: 25px 20px;
    text-align: center;
    font-size: 12px;
    color: #e2e8f0;
}

.footer p {
    margin-bottom: 5px;
}

.comment-form {
    padding: 20px;
    background: white;
}

.comment-form .section-title {
    font-size: 17px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    padding-left: 10px;
    border-left: 4px solid #ff6a00;
}

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

.form-group label {
    display: block;
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff6a00;
}

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

.submit-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #ff9500 0%, #ff6a00 100%);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 149, 0, 0.3);
}

.submit-btn:hover {
    opacity: 0.9;
}

/* 下载中心样式 */
.download-list {
    margin-top: 20px;
}

.download-item {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
    height: 135px;
}

.download-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.download-item-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.download-item-header h3 a {
    text-decoration: none;
    color: inherit;
}

.download-date {
    font-size: 14px;
    color: #999;
}

.download-item-content {
    display: flex;
    flex-direction: column;
}

.download-item-content p {
    margin: 5px 0;
    line-height: 1.4;
    color: #666;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 15px;
}

.download-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #999;
}

.download-details {
    display: flex;
}

.download-size {
    margin-right: 20px;
}

.download-item-btn {
    display: inline-block;
    background-color: #ff9500;
    color: white;
    padding: 6px 16px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: background-color 0.3s ease;
    margin-top: -2px;
}

.download-item-btn:hover {
    background-color: #ff6a00;
}

@media (max-width: 750px) {
    .container {
        max-width: 100%;
    }
}