/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #0a0a1a;
    color: #ffffff;
    line-height: 1.6;
    background-image: url('/p/s/<?php echo rand(1, 9); ?>.jpg');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
header {
    background: linear-gradient(90deg, #ff9500, #ff3b30);
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-content.max-width {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #ffffff;
    text-decoration: none;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.nav {
    display: flex;
    gap: 20px;
}

.nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.3s;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.nav a:hover {
    text-decoration: underline;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* 英雄区样式 */
.hero {
    padding: 150px 0 100px;
    position: relative;
    background: rgba(0, 0, 0, 0.7);
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
}

.hero-banner {
    background: linear-gradient(90deg, #ffcc00, #ff3b30);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 40px;
}

.hero-banner h1 {
    font-size: 36px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 20px;
}

.hero-banner p {
    font-size: 14px;
    color: #000000;
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-banner .cta-button {
    display: inline-block;
    background: #ff9500;
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s;
    box-shadow: 0 0 20px rgba(255, 149, 0, 0.5);
    margin-bottom: 20px;
}

.hero-banner .cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(255, 149, 0, 0.8);
}

.hero-subtitle {
    color: #000000;
    font-size: 12px;
    margin-bottom: 0;
}

.hero-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.hero-gallery .gallery-item {
    background: rgba(0, 0, 0, 0.8);
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s;
}

.hero-gallery .gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(255, 149, 0, 0.3);
}

.hero-gallery .gallery-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
}

/* 功能展示区样式 */
.features {
    padding: 100px 0;
    background: rgba(0, 0, 0, 0.8);
}

.features h2 {
    text-align: center;
    font-size: 36px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 60px;
    text-shadow: 0 0 15px rgba(255, 149, 0, 0.5);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: rgba(20, 20, 40, 0.8);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid rgba(255, 149, 0, 0.3);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: #ff9500;
    box-shadow: 0 0 20px rgba(255, 149, 0, 0.3);
}

.feature-card h3 {
    color: #ff9500;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-card p {
    color: #cccccc;
    line-height: 1.6;
    font-size: 14px;
}

.feature-icon {
    font-size: 24px;
}

/* 模块介绍区样式 */
.modules {
    padding: 100px 0;
    background: rgba(10, 10, 20, 0.9);
}

.modules-content {
    max-width: 1000px;
    margin: 0 auto;
    background: rgba(20, 20, 40, 0.8);
    padding: 40px;
    border-radius: 10px;
    border: 1px solid rgba(255, 149, 0, 0.3);
}

.modules h2 {
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    color: #ff9500;
    margin-bottom: 30px;
}

.modules p {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* 用户反馈区样式 */
.testimonials {
    padding: 100px 0;
    background: rgba(0, 0, 0, 0.8);
}

.testimonials h2 {
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 60px;
    text-shadow: 0 0 15px rgba(255, 149, 0, 0.5);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: rgba(20, 20, 40, 0.8);
    padding: 25px;
    border-radius: 10px;
    border: 1px solid rgba(255, 149, 0, 0.3);
    transition: all 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: #ff9500;
    box-shadow: 0 0 20px rgba(255, 149, 0, 0.3);
}

.testimonial-card h3 {
    color: #ff9500;
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: bold;
}

.testimonial-card p {
    color: #cccccc;
    line-height: 1.6;
    font-size: 14px;
}

/* 常见问题区样式 */
.faq {
    padding: 100px 0;
    background: rgba(0, 0, 0, 0.8);
}

.faq h2 {
    text-align: center;
    font-size: 36px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 60px;
    text-shadow: 0 0 15px rgba(255, 149, 0, 0.5);
}

.faq-content {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(20, 20, 40, 0.8);
    padding: 40px;
    border-radius: 10px;
    border: 1px solid rgba(255, 149, 0, 0.3);
}

.faq-item {
    margin-bottom: 20px;
}

.faq-item h3 {
    color: #ff9500;
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: bold;
}

.faq-item p {
    color: #cccccc;
    line-height: 1.6;
    font-size: 14px;
}

/* 为什么选择我们的辅助 */
.why-choose {
    padding: 100px 0;
    background: rgba(10, 10, 20, 0.9);
}

.why-choose h2 {
    text-align: center;
    font-size: 36px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 60px;
    text-shadow: 0 0 15px rgba(255, 149, 0, 0.5);
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.why-choose-item {
    background: rgba(20, 20, 40, 0.8);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid rgba(255, 149, 0, 0.3);
    transition: all 0.3s;
    text-align: center;
}

.why-choose-item:hover {
    transform: translateY(-5px);
    border-color: #ff9500;
    box-shadow: 0 0 20px rgba(255, 149, 0, 0.3);
}

.why-choose-icon {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
}

.why-choose-item h3 {
    color: #ff9500;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: bold;
}

.why-choose-item p {
    color: #cccccc;
    line-height: 1.6;
    font-size: 14px;
}

/* 图片展示区样式 */
.gallery {
    padding: 100px 0;
    background: rgba(0, 0, 0, 0.8);
}

.gallery h2 {
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 60px;
    text-shadow: 0 0 15px rgba(255, 149, 0, 0.5);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.gallery-item {
    background: rgba(20, 20, 40, 0.8);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid rgba(255, 149, 0, 0.3);
    transition: all 0.3s;
    text-align: center;
}

.gallery-item:hover {
    transform: translateY(-5px);
    border-color: #ff9500;
    box-shadow: 0 0 20px rgba(255, 149, 0, 0.3);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.gallery-item p {
    color: #cccccc;
    font-size: 14px;
}

/* 使用前后对比区样式 */
.comparison {
    padding: 100px 0;
    background: rgba(10, 10, 20, 0.9);
}

.comparison h2 {
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 60px;
    text-shadow: 0 0 15px rgba(255, 149, 0, 0.5);
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.comparison-item {
    background: rgba(20, 20, 40, 0.8);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid rgba(255, 149, 0, 0.3);
    transition: all 0.3s;
    text-align: center;
}

.comparison-item:hover {
    transform: translateY(-5px);
    border-color: #ff9500;
    box-shadow: 0 0 20px rgba(255, 149, 0, 0.3);
}

.comparison-item h3 {
    color: #ff9500;
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: bold;
}

.comparison-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.comparison-item p {
    color: #cccccc;
    line-height: 1.6;
    font-size: 14px;
}

/* 关于我们区样式 */
.about {
    padding: 100px 0;
    background: rgba(0, 0, 0, 0.8);
}

.about h2 {
    text-align: center;
    font-size: 36px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 60px;
    text-shadow: 0 0 15px rgba(255, 149, 0, 0.5);
}

.about-content {
    background: rgba(20, 20, 40, 0.8);
    padding: 40px;
    border-radius: 10px;
    border: 1px solid rgba(255, 149, 0, 0.3);
    margin-bottom: 40px;
}

.about-content h3 {
    color: #ff9500;
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: bold;
}

.about-content p {
    color: #cccccc;
    line-height: 1.6;
    font-size: 14px;
    margin-bottom: 20px;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.about-item {
    background: rgba(20, 20, 40, 0.8);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid rgba(255, 149, 0, 0.3);
    transition: all 0.3s;
    text-align: center;
}

.about-item:hover {
    transform: translateY(-5px);
    border-color: #ff9500;
    box-shadow: 0 0 20px rgba(255, 149, 0, 0.3);
}

.about-icon {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
}

.about-item h3 {
    color: #ff9500;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: bold;
}

.about-item p {
    color: #cccccc;
    line-height: 1.6;
    font-size: 14px;
}

/* 主要内容区样式 */
.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 40px 20px;
}

.content-overlay {
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    padding: 60px;
    max-width: 900px;
    text-align: center;
    position: relative;
    z-index: 10;
}

.content-overlay h1 {
    font-size: 28px;
    font-weight: bold;
    color: #ffcc00;
    margin-bottom: 25px;
}

.content-overlay p {
    color: #ffffff;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    background: #ff9500;
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s;
    box-shadow: 0 0 20px rgba(255, 149, 0, 0.5);
    margin-bottom: 30px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(255, 149, 0, 0.8);
}

.cta-subtitle {
    color: #ffffff;
    font-size: 12px;
    margin-bottom: 30px;
}

.service-info {
    color: #ffffff;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 30px;
    text-align: left;
}

.service-benefits {
    text-align: left;
    margin-bottom: 40px;
}

.service-benefits h3 {
    color: #ffcc00;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
}

.service-benefits ul {
    list-style: none;
}

.service-benefits li {
    color: #ffffff;
    font-size: 14px;
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.service-benefits li::before {
    content: "•";
    color: #ffffff;
    position: absolute;
    left: 0;
}

.content-overlay ul {
    list-style: none;
    margin-bottom: 20px;
    text-align: left;
    display: inline-block;
}

.content-overlay li {
    color: #ffffff;
    font-size: 14px;
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.content-overlay li::before {
    content: "•";
    color: #ffffff;
    position: absolute;
    left: 0;
}

/* 常见问题部分 */
.faq-section {
    margin-top: 40px;
    text-align: left;
}

.faq-section h2 {
    color: #ffcc00;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 25px;
    text-align: center;
}

.faq-section .faq-item {
    margin-bottom: 20px;
}

.faq-section .faq-item h3 {
    color: #ffcc00;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 10px;
}

.faq-section .faq-item p {
    color: #ffffff;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 0;
}

/* 底部样式 */
footer {
    background: linear-gradient(90deg, #ffcc00, #ff3b30);
    padding: 15px 0;
    text-align: center;
    position: relative;
    z-index: 1000;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.copyright {
    color: #000000;
    font-size: 12px;
}

/* 域名推荐区样式 */
.domains {
    padding: 100px 0;
    background: rgba(10, 10, 20, 0.9);
}

.domains h2 {
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 60px;
    text-shadow: 0 0 15px rgba(255, 149, 0, 0.5);
}

.domains-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.domain-item {
    background: #ffffff;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #ddd;
    transition: all 0.3s;
    color: #000000;
    font-size: 12px;
}

.domain-item:hover {
    transform: translateY(-5px);
    border-color: #ff9500;
    box-shadow: 0 0 20px rgba(255, 149, 0, 0.3);
}

.domain-item a {
    color: #0066cc;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    display: block;
    transition: all 0.3s;
    margin-top: 5px;
}

.domain-item a:hover {
    color: #003399;
    text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-banner h1 {
        font-size: 28px;
    }
    
    .features h2,
    .about h2,
    .why-choose h2 {
        font-size: 28px;
    }
    
    .faq h2,
    .testimonials h2,
    .gallery h2,
    .comparison h2 {
        font-size: 28px;
    }
    
    .faq-content,
    .about-content {
        padding: 20px;
    }
    
    .features-grid,
    .about-grid,
    .why-choose-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .domains-grid {
        grid-template-columns: 1fr;
    }
    
    .content-overlay {
        padding: 60px;
        margin: 20px;
    }
}

@media (max-width: 480px) {
    .feature-card,
    .about-item,
    .testimonial-card,
    .gallery-item,
    .comparison-item,
    .why-choose-item {
        padding: 20px;
    }
    
    .content-overlay {
        padding: 40px;
        border-radius: 20px;
    }
    
    .content-overlay h1 {
        font-size: 20px;
    }
    
    .content-overlay p,
    .content-overlay li {
        font-size: 12px;
    }
    
    .comparison-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== 推荐链接 ===== */
.related-links {
    padding: 80px 0;
    background: rgba(10, 10, 20, 0.9);
}

.related-links-title {
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 40px;
    text-shadow: 0 0 15px rgba(255, 149, 0, 0.5);
}

.related-links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.related-link-card {
    background: #ffffff;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #ddd;
    transition: all 0.3s;
    text-decoration: none;
    display: block;
}

.related-link-card:hover {
    transform: translateY(-5px);
    border-color: #ff9500;
    box-shadow: 0 0 20px rgba(255, 149, 0, 0.3);
}

.related-link-desc {
    color: #0066cc;
    font-size: 14px;
    line-height: 1.4;
}

.related-link-card:hover .related-link-desc {
    color: #003399;
    text-decoration: underline;
}

@media (max-width: 640px) {
    .related-links-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== 友情链接 ===== */
.flink-section {
    position: relative;
    z-index: 2;
    isolation: isolate;
    padding: 2.5rem 1rem;
    border-top: 1px solid rgba(255, 149, 0, 0.25);
    background: rgba(10, 10, 26, 0.94);
    backdrop-filter: blur(8px);
}
.flink-section .container,
.flink-section .inner,
.flink-section .wrap {
    max-width: 1200px;
    margin: 0 auto;
}
.flink-section .container > *:not(h2):not(.flinks-grid),
.flink-section .inner > *:not(h2):not(.flinks-grid),
.flink-section .wrap > *:not(h2):not(.flinks-grid) {
    display: none !important;
}
.flink-section h2 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}
.flinks-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem 0.75rem;
    position: relative;
    z-index: 1;
}
.flinks-grid > *:not(.flink-item) {
    display: none !important;
}
.flink-item {
    font-size: 0.8125rem;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 149, 0, 0.3);
    border-radius: 6px;
    padding: 8px 10px;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.flink-item:hover {
    color: #ffffff;
    background: rgba(255, 149, 0, 0.18);
    border-color: rgba(255, 149, 0, 0.55);
}
@media (max-width: 640px) {
    .flinks-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== 全局组件（悬浮条 / 回顶 / 友链等）===== */
.float-dl-banner {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  z-index: 9000;
  width: min(420px, calc(100% - 32px));
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s ease, opacity 0.35s ease;
}
.float-dl-banner.is-show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.float-dl-close {
  position: absolute;
  top: 6px;
  right: 10px;
  border: none;
  background: none;
  color: rgba(255, 255, 255, 0.55);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  padding: 4px;
}
.float-dl-close:hover {
  color: #fff;
}
.float-dl-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 40px 14px 16px;
  color: #fff;
  text-decoration: none;
}
.float-dl-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.float-dl-text strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
}
.float-dl-text small {
  display: block;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.65);
}
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 9100;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  box-shadow: 0 4px 16px rgba(102, 126, 234, 0.45);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.2s ease;
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover {
  transform: translateY(-3px);
}
@media (max-width: 640px) {
  .float-dl-banner {
    width: calc(100% - 24px);
    bottom: 12px;
  }
  .back-to-top {
    right: 14px;
    bottom: 18px;
    width: 40px;
    height: 40px;
  }
}
