/* ========================================
   南京烤机科技有限公司 - 烤鸡电竞网站样式
   主题色：红色 (#f2f2f2, #b9b9b9)
   完全响应式设计
   ======================================== */

/* 响应式基础设置 */
html {
    font-size: 16px;
    scroll-behavior: smooth;
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 13px;
    }
}

/* 基础重置和变量 */
:root {
    --primary-color: #f2f2f2;
    --primary-dark: #b9b9b9;
    --primary-light: #ffffff;
    --accent-color: #ffffff;
    --bg-dark: #1a1a1a;
    --bg-darker: #0d0d0d;
    --bg-light: #f5f5f5;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --text-dark: #333333;
    --transition: all 0.3s ease;
    --shadow: 0 10px 40px rgba(255, 255, 255, 0.3);
    --shadow-hover: 0 20px 60px rgba(255, 255, 255, 0.4);
}

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

html {
    background: #000;
}

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: transparent;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
}

/* ========================================
   导航栏
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

@media (max-width: 768px) {
    .navbar .container {
        height: 60px;
    }
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

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

.logo-img {
    height: 40px;
    width: auto;
}

@media (max-width: 768px) {
    .logo-img {
        height: 35px;
    }
}

.brand-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

@media (max-width: 480px) {
    .brand-info {
        gap: 1px;
    }
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .brand-text {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .brand-text {
        font-size: 1.1rem;
    }
}

.company-slogan {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .company-slogan {
        font-size: 0.75rem;
        letter-spacing: 0.5px;
    }
}

@media (max-width: 480px) {
    .company-slogan {
        font-size: 0.65rem;
        letter-spacing: 0;
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 60px;
        flex-direction: column;
        background: var(--bg-dark);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        padding: 20px 0;
        border-top: 1px solid rgba(255, 255, 255, 0.3);
        gap: 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        padding: 15px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .nav-link {
        font-size: 1.1rem;
        display: block;
        padding: 10px 20px;
    }
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

@media (max-width: 768px) {
    .nav-link::after {
        display: none;
    }
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: var(--transition);
}

@media (max-width: 480px) {
    .bar {
        width: 22px;
        height: 2.5px;
    }
}

/* ========================================
   Hero 区域
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: transparent;
    overflow: hidden;
    padding: 80px 20px;
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 100px 15px 60px;
    }
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    pointer-events: none;
}

.hero-content {
    text-align: center;
    z-index: 1;
    padding: 20px;
    max-width: 100%;
}

.hero-logo {
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .hero-logo {
        margin-bottom: 20px;
    }
}

.hero-logo img {
    height: 120px;
    width: auto;
    filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.5));
    animation: float 3s ease-in-out infinite;
}

@media (max-width: 768px) {
    .hero-logo img {
        height: 80px;
    }
}

@media (max-width: 480px) {
    .hero-logo img {
        height: 60px;
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero-title {
    margin-bottom: 20px;
}

.hero-title .highlight {
    display: block;
    font-size: 4rem;
    font-weight: 900;
    color: var(--primary-color);
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.5);
    letter-spacing: 5px;
}

@media (max-width: 768px) {
    .hero-title .highlight {
        font-size: 2.5rem;
        letter-spacing: 3px;
    }
}

@media (max-width: 480px) {
    .hero-title .highlight {
        font-size: 2rem;
        letter-spacing: 2px;
    }
}

.hero-title .subtitle {
    display: block;
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--text-secondary);
    margin-top: 10px;
    letter-spacing: 3px;
}

@media (max-width: 768px) {
    .hero-title .subtitle {
        font-size: 1.1rem;
        letter-spacing: 2px;
    }
}

@media (max-width: 480px) {
    .hero-title .subtitle {
        font-size: 0.95rem;
        letter-spacing: 1px;
    }
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .hero-description {
        font-size: 1rem;
        margin-bottom: 30px;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 25px;
    }
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
}

.btn {
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    display: inline-block;
    text-align: center;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .btn {
        padding: 12px 30px;
        font-size: 0.95rem;
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .btn {
        padding: 10px 25px;
        font-size: 0.9rem;
        max-width: 250px;
    }
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.btn-tertiary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--text-primary);
}

.btn-tertiary:hover {
    background: var(--text-primary);
    color: var(--bg-dark);
    transform: translateY(-3px);
}

/* 免费资源按钮 */
.btn-resources {
    background: linear-gradient(135deg, #ffffff, #e6e6e6);
    color: white;
    border: none;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-resources:hover {
    background: linear-gradient(135deg, #e6e6e6, #cfcfcf);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.3);
}

.btn-icon {
    font-size: 16px;
}

.cta-note {
    text-align: center;
    margin-top: 20px;
    color: var(--text-muted);
    font-size: 14px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    animation: bounce 2s infinite;
}

@media (max-width: 768px) {
    .scroll-indicator {
        bottom: 20px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .scroll-indicator {
        display: none;
    }
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    position: relative;
}

@media (max-width: 768px) {
    .mouse {
        width: 20px;
        height: 32px;
    }
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

@keyframes scroll {
    0% { opacity: 1; top: 8px; }
    100% { opacity: 0; top: 20px; }
}

/* ========================================
   通用区域样式
   ======================================== */
section {
    padding: 100px 0;
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    section {
        padding: 40px 0;
    }
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

@media (max-width: 768px) {
    .section-header {
        margin-bottom: 40px;
    }
}

@media (max-width: 480px) {
    .section-header {
        margin-bottom: 30px;
    }
}

.section-tag {
    display: inline-block;
    padding: 5px 20px;
    background: rgba(255, 255, 255, 0.2);
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 3px;
    border-radius: 20px;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .section-tag {
        font-size: 0.8rem;
        letter-spacing: 2px;
        padding: 4px 15px;
    }
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.6rem;
    }
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .section-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .section-subtitle {
        font-size: 0.9rem;
    }
}

/* ========================================
   关于我们
   ======================================== */
.about {
    background: var(--bg-darker);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .about-content {
        gap: 30px;
    }
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .about-text h3 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .about-text h3 {
        font-size: 1.3rem;
    }
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .about-text p {
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .about-text p {
        font-size: 0.95rem;
    }
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

@media (max-width: 992px) {
    .about-stats {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .about-stats {
        flex-direction: column;
        gap: 20px;
        margin-top: 30px;
    }
}

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

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .stat-number {
        font-size: 1.8rem;
    }
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .stat-label {
        font-size: 0.85rem;
    }
}

.about-visual {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
}

@media (max-width: 992px) {
    .about-visual {
        order: -1;
    }
}

.visual-card {
    width: 100%;
    max-width: 350px;
    background: transparent;
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .visual-card {
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .visual-card {
        max-width: 100%;
    }
}

/* 图片轮播样式 */
.image-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
}

.carousel-container {
    position: relative;
    width: 100%;
    padding-top: 177.78%; /* 9:16 宽高比 */
}

.carousel-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.carousel-img.active {
    opacity: 1;
}

.carousel-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.4);
    padding: 8px 15px;
    border-radius: 20px;
}

@media (max-width: 768px) {
    .carousel-indicators {
        bottom: 10px;
        padding: 6px 12px;
        gap: 6px;
    }
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.8);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .indicator {
        width: 8px;
        height: 8px;
    }
}

.indicator.active {
    background: #f2f2f2;
    border-color: #f2f2f2;
    transform: scale(1.2);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.7);
    border-color: #f2f2f2;
}

/* ========================================
   转化按钮区域
   ======================================== */
.cta-section {
    background: transparent;
    border-top: 1px solid rgba(255, 255, 255, .08);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .cta-section {
        padding: 40px 0;
    }
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
}

/* ========================================
   工具箱入口
   ======================================== */
.toolbox-entry {
    background-color: var(--bg-darker);
    padding: 60px 0;
}

.toolbox-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(20, 20, 20, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 16px;
    padding: 35px 45px;
    transition: all 0.3s ease;
}

.toolbox-banner:hover {
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.15);
}

.toolbox-info {
    flex: 1;
}

.toolbox-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: var(--primary-color);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 12px;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.toolbox-title {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.toolbox-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.toolbox-btn {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .toolbox-entry {
        padding: 40px 0;
    }
    .toolbox-banner {
        flex-direction: column;
        text-align: center;
        padding: 30px 25px;
    }
    .toolbox-tag {
        margin: 0 auto 12px;
    }
    .toolbox-title {
        font-size: 1.4rem;
    }
}

/* ========================================
   服务项目
   ======================================== */
.services {
    background: var(--bg-dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.service-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 40px 30px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

@media (max-width: 768px) {
    .service-card {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .service-card {
        padding: 25px 15px;
    }
}

.service-card > p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 0.95rem;
    flex: 1;
}

@media (max-width: 768px) {
    .service-card > p {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
}

.service-features {
    list-style: none;
    margin-bottom: 25px;
}

@media (max-width: 768px) {
    .service-features {
        margin-bottom: 20px;
    }
}

.btn-service {
    align-self: flex-end;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
    .btn-service {
        padding: 8px 18px;
        font-size: 0.85rem;
    }
}

.btn-service:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

@media (max-width: 768px) {
    .service-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 20px;
    }
}

.service-icon svg {
    width: 30px;
    height: 30px;
    color: white;
}

@media (max-width: 768px) {
    .service-icon svg {
        width: 25px;
        height: 25px;
    }
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .service-card h3 {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }
}

@media (max-width: 480px) {
    .service-card h3 {
        font-size: 1.1rem;
    }
}

.service-features li {
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    position: relative;
    padding-left: 20px;
}

@media (max-width: 768px) {
    .service-features li {
        font-size: 0.85rem;
        padding: 6px 0;
        padding-left: 18px;
    }
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* ========================================
   支持游戏
   ======================================== */
.games {
    background: var(--bg-darker);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

@media (max-width: 768px) {
    .games-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.game-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
}

@media (max-width: 768px) {
    .game-card {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .game-card {
        padding: 25px 15px;
    }
}

.game-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow);
}

.game-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
    .game-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }
}

.game-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    padding: 10px;
}

.game-card h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .game-card h3 {
        font-size: 1.2rem;
    }
}

.game-card > p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.games-note {
    text-align: center;
    margin: 30px 0;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.games-note p {
    color: var(--text-muted);
    font-size: 14px;
    margin: 0;
}

@media (max-width: 768px) {
    .game-card > p {
        font-size: 0.85rem;
    }
}

.game-tag {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(255, 255, 255, 0.2);
    color: var(--primary-color);
    font-size: 0.8rem;
    border-radius: 15px;
}

@media (max-width: 768px) {
    .game-tag {
        font-size: 0.75rem;
        padding: 4px 12px;
    }
}

/* 性能优化说明文字 */
.optimization-info {
    margin-top: 40px;
    padding: 30px;
    background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    text-align: center;
}

.optimization-info p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 15px;
}

.optimization-info p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .optimization-info {
        margin-top: 30px;
        padding: 20px;
    }
    
    .optimization-info p {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 12px;
    }
}

@media (max-width: 480px) {
    .optimization-info {
        margin-top: 25px;
        padding: 15px;
    }
    
    .optimization-info p {
        font-size: 0.85rem;
    }
}

/* ========================================
   案例展示
   ======================================== */
.cases {
    background: var(--bg-dark);
}

.cases-swiper {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* 轮播幻灯片 */
.case-slide {
    position: relative;
    width: 100%;
    height: 0;
    padding-top: 56.25%; /* 16:9 宽高比 */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.case-slide img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-width: 100%;
    max-height: 100%;
}

/* 导航按钮 */
.swiper-button-next,
.swiper-button-prev {
    color: var(--primary-color) !important;
    background: rgba(26, 26, 26, 0.8);
    width: 50px !important;
    height: 50px !important;
    border-radius: 50%;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition);
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: rgba(255, 255, 255, 0.8);
    color: white !important;
    transform: scale(1.1);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 20px !important;
    font-weight: bold;
}

/* 分页指示器 */
.swiper-pagination {
    bottom: 20px !important;
}

.swiper-pagination-bullet {
    width: 12px !important;
    height: 12px !important;
    background: rgba(255, 255, 255, 0.5) !important;
    opacity: 1 !important;
    transition: var(--transition);
}

.swiper-pagination-bullet-active {
    background: var(--primary-color) !important;
    width: 30px !important;
    border-radius: 6px !important;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .cases-swiper {
        max-width: 95%;
    }
}

@media (max-width: 768px) {
    .cases-swiper {
        max-width: 100%;
    }
    
    .swiper-button-next,
    .swiper-button-prev {
        width: 40px !important;
        height: 40px !important;
    }
    
    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 16px !important;
    }
    
    .swiper-pagination {
        bottom: 15px !important;
    }
    
    .swiper-pagination-bullet {
        width: 10px !important;
        height: 10px !important;
    }
    
    .swiper-pagination-bullet-active {
        width: 25px !important;
    }
}

@media (max-width: 480px) {
    .swiper-button-next,
    .swiper-button-prev {
        width: 35px !important;
        height: 35px !important;
    }
    
    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 14px !important;
    }
}

/* ========================================
   价格方案
   ======================================== */
.pricing {
    background: var(--bg-dark);
    padding: 100px 0;
    position: relative;
}

.pricing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 10px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.pricing-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    align-items: stretch;
    margin-top: 60px;
}

.pricing-card {
    flex: 0 1 340px;
    width: 100%;
    max-width: 340px;
    min-height: 100%;
    border-radius: 15px;
    padding: 30px 26px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
    display: flex;
    flex-direction: column;
}

/* 基础套餐样式 */
.pricing-card.basic {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
}

.pricing-card.basic:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.2);
    border-color: #f2f2f2;
}

/* 标准与疑难套餐样式 */
.pricing-card.standard,
.pricing-card.difficult {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 107, 107, 0.03));
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 5px 24px rgba(255, 255, 255, 0.14);
}

.pricing-card.standard:hover,
.pricing-card.difficult:hover {
    transform: translateY(-10px);
    box-shadow: 0 16px 42px rgba(255, 255, 255, 0.24);
    border-color: #f2f2f2;
}

/* 明星套餐样式 */
.pricing-card.recommended {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.1), rgba(255, 255, 255, 0.05));
    border-color: #f2f2f2;
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.25);
    transform: translateY(-5px);
}

.pricing-card.recommended:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 50px rgba(255, 255, 255, 0.35);
}

/* 魔王套餐样式 */
.pricing-card.ultimate {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(26, 26, 26, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 10px 40px rgba(255, 255, 255, 0.3);
    position: relative;
}

.pricing-card.ultimate::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    animation: shimmer 3s infinite;
    z-index: 0;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

.pricing-card.ultimate:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 60px rgba(255, 255, 255, 0.4);
}

.pricing-card.ultimate .pricing-header,
.pricing-card.ultimate .pricing-features,
.pricing-card.ultimate .pricing-content,
.pricing-card.ultimate .pricing-aftersales,
.pricing-card.ultimate .btn-pricing {
    position: relative;
    z-index: 1;
}

.pricing-badge {
    position: absolute;
    top: 20px;
    right: -40px;
    background: #f2f2f2;
    color: white;
    padding: 5px 60px;
    transform: rotate(45deg);
    font-size: 12px;
    font-weight: 700;
    z-index: 1;
}

.pricing-card.recommended .pricing-badge {
    background: #ffffff;
}

.pricing-card.ultimate .pricing-badge {
    background: linear-gradient(135deg, #f2f2f2, #ffffff);
    font-size: 14px;
    padding: 6px 65px;
}

/* 王牌服务套餐：高端炫光样式 */
.pricing-card.ultimate.flagship {
    background:
        radial-gradient(circle at 20% 0%, rgba(255, 215, 128, 0.22), transparent 32%),
        radial-gradient(circle at 85% 18%, rgba(255, 42, 42, 0.26), transparent 36%),
        linear-gradient(145deg, rgba(8, 8, 10, 0.98), rgba(34, 8, 8, 0.96) 55%, rgba(10, 10, 12, 0.98));
    border: 1px solid rgba(255, 196, 87, 0.55);
    box-shadow:
        0 0 24px rgba(255, 63, 63, 0.32),
        0 0 60px rgba(255, 167, 66, 0.18),
        inset 0 0 28px rgba(255, 80, 80, 0.1);
    isolation: isolate;
}

.pricing-card.ultimate.flagship::before {
    top: -2px;
    left: -2px;
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    border-radius: 18px;
    background: conic-gradient(
        from 0deg,
        rgba(255, 221, 128, 0.15),
        rgba(255, 64, 64, 0.95),
        rgba(255, 208, 91, 1),
        rgba(180, 0, 255, 0.75),
        rgba(255, 64, 64, 0.95),
        rgba(255, 221, 128, 0.15)
    );
    transform: none;
    animation: flagshipBorder 4s linear infinite;
    z-index: 0;
}

.pricing-card.ultimate.flagship::after {
    content: '';
    position: absolute;
    inset: 2px;
    border-radius: 13px;
    background:
        linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.08) 18%, transparent 36%),
        radial-gradient(circle at 50% 0%, rgba(255, 196, 87, 0.12), transparent 45%),
        linear-gradient(145deg, rgba(10, 10, 12, 0.98), rgba(34, 8, 8, 0.96) 55%, rgba(8, 8, 10, 0.98));
    z-index: 0;
}

.pricing-card.ultimate.flagship:hover {
    transform: translateY(-18px) scale(1.02);
    box-shadow:
        0 0 34px rgba(255, 64, 64, 0.55),
        0 0 90px rgba(255, 196, 87, 0.28),
        0 28px 70px rgba(255, 255, 255, 0.5);
}

.pricing-card.ultimate.flagship .pricing-badge {
    background: linear-gradient(135deg, #FFD36A, #FF3B3B, #b9b9b9);
    color: #1a0505;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.28);
    box-shadow: 0 0 18px rgba(255, 196, 87, 0.65);
    z-index: 2;
}

.pricing-card.ultimate.flagship .pricing-header h3 {
    color: #FFD36A;
    letter-spacing: 1px;
    text-shadow:
        0 0 10px rgba(255, 211, 106, 0.75),
        0 0 26px rgba(255, 62, 62, 0.55);
}

.pricing-card.ultimate.flagship .pricing-price .price {
    font-size: 50px;
    background: linear-gradient(135deg, #FFF1B8, #FFD36A 35%, #FF4A4A 72%, #FFFFFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 14px rgba(255, 74, 74, 0.6));
    animation: flagshipPulse 2.4s ease-in-out infinite;
}

.pricing-card.ultimate.flagship .pricing-features li::before {
    color: #FFD36A;
    text-shadow: 0 0 12px rgba(255, 211, 106, 0.9);
}

.pricing-card.ultimate.flagship .btn-pricing.ultimate {
    background: linear-gradient(135deg, #FFD36A, #FF3B3B 48%, #b9b9b9);
    border: 1px solid rgba(255, 221, 128, 0.9);
    color: #fff;
    box-shadow:
        0 0 18px rgba(255, 64, 64, 0.45),
        inset 0 0 12px rgba(255, 255, 255, 0.15);
}

.pricing-card.ultimate.flagship .btn-pricing.ultimate:hover {
    box-shadow:
        0 0 24px rgba(255, 211, 106, 0.65),
        0 0 42px rgba(255, 64, 64, 0.48);
}

@keyframes flagshipBorder {
    to { transform: rotate(360deg); }
}

@keyframes flagshipPulse {
    0%, 100% { filter: drop-shadow(0 0 10px rgba(255, 74, 74, 0.45)); }
    50% { filter: drop-shadow(0 0 22px rgba(255, 211, 106, 0.8)); }
}

.pricing-header {
    text-align: center;
    margin-bottom: 20px;
}

.pricing-header h3 {
    color: var(--text-light);
    font-size: 21px;
    margin-bottom: 10px;
    font-weight: 600;
}

.user-profile {
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.35;
    margin-top: 10px;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 12px;
    border-radius: 20px;
    display: inline-block;
    margin: 10px auto 0;
}

.pricing-card.ultimate .pricing-header h3 {
    color: #ffffff;
    text-shadow: 0 0 20px rgba(255, 107, 107, 0.3);
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 6px;
}

.pricing-price .price {
    font-size: 40px;
    font-weight: 700;
    color: #f2f2f2;
    line-height: 1;
}

.pricing-card.recommended .pricing-price .price {
    color: #ffffff;
    text-shadow: 0 0 15px rgba(255, 107, 107, 0.2);
}

.pricing-card.standard .pricing-price .price,
.pricing-card.difficult .pricing-price .price {
    color: #D84A4A;
}

.pricing-card.ultimate .pricing-price .price {
    background: linear-gradient(135deg, #f2f2f2, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 46px;
    text-shadow: 0 0 25px rgba(255, 107, 107, 0.4);
}

.pricing-price .unit {
    font-size: 18px;
    color: var(--text-light);
    margin-left: 8px;
}

.pricing-features {
    margin-bottom: 20px;
}

.pricing-content {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.pricing-features li {
    color: var(--text-muted);
    margin-bottom: 8px;
    padding-left: 25px;
    position: relative;
    font-size: 13px;
    line-height: 1.35;
    transition: all 0.3s ease;
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #f2f2f2;
    font-weight: bold;
    transition: all 0.3s ease;
}

.pricing-card.recommended .pricing-features li::before {
    color: #ffffff;
    font-size: 16px;
}

.pricing-card.standard .pricing-features li::before,
.pricing-card.difficult .pricing-features li::before {
    color: #D84A4A;
}

.pricing-card.ultimate .pricing-features li::before {
    content: '⚡';
    color: #ffffff;
    font-size: 16px;
}

.pricing-card:hover .pricing-features li::before {
    transform: scale(1.2);
}

.pricing-aftersales {
    margin-top: auto;
    margin-bottom: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-card.ultimate .pricing-aftersales {
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.pricing-aftersales h4 {
    color: var(--text-light);
    font-size: 15px;
    margin-bottom: 6px;
    font-weight: 600;
}

.pricing-card.ultimate .pricing-aftersales h4 {
    color: #ffffff;
}

.pricing-aftersales p {
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.35;
}

/* 按钮样式 */
.btn-pricing {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
    min-height: 46px;
    padding: 0 16px;
    border-radius: 8px;
    font-weight: 600;
    line-height: 1;
    transition: all 0.4s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    margin-top: auto;
}

/* 基础套餐按钮 */
.btn-pricing.basic {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-light);
    border: 1px solid #f2f2f2;
}

.btn-pricing.basic:hover {
    background: #f2f2f2;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
}

/* 标准与疑难套餐按钮 */
.btn-pricing.standard,
.btn-pricing.difficult {
    background: rgba(255, 255, 255, 0.24);
    color: var(--text-light);
    border: 1px solid #f2f2f2;
}

.btn-pricing.standard:hover,
.btn-pricing.difficult:hover {
    background: #f2f2f2;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
}

/* 明星套餐按钮 */
.btn-pricing.recommended {
    background: linear-gradient(135deg, #f2f2f2, #b9b9b9);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.btn-pricing.recommended:hover {
    background: linear-gradient(135deg, #b9b9b9, #f2f2f2);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
}

/* 魔王套餐按钮 */
.btn-pricing.ultimate {
    background: linear-gradient(135deg, #000000, #222222);
    color: white;
    border: 1px solid #f2f2f2;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
    position: relative;
}

.btn-pricing.ultimate::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: 0.6s;
}

.btn-pricing.ultimate:hover::before {
    left: 100%;
}

.btn-pricing.ultimate:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
    border-color: #ffffff;
}

.pricing-notes {
    margin-top: 60px;
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-notes h3 {
    color: var(--text-light);
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 600;
}

.notes-list {
    color: var(--text-muted);
}

.notes-list li {
    margin-bottom: 15px;
    line-height: 1.4;
    font-size: 14px;
}

/* 响应式价格方案 */
@media (max-width: 768px) {
    .pricing {
        padding: 60px 0;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .pricing-card {
        padding: 20px;
    }
    
    .pricing-price .price {
        font-size: 30px;
    }
    
    .pricing-notes {
        padding: 20px;
    }
}

/* ========================================
   联系我们
   ======================================== */
.contact {
    background: var(--bg-dark);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

@media (max-width: 992px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .contact-content {
        gap: 30px;
    }
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

@media (max-width: 768px) {
    .contact-info {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

.info-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: var(--transition);
}

@media (max-width: 768px) {
    .info-card {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .info-card {
        padding: 15px;
    }
}

.info-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

@media (max-width: 768px) {
    .info-icon {
        width: 45px;
        height: 45px;
    }
}

.info-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

@media (max-width: 768px) {
    .info-icon svg {
        width: 22px;
        height: 22px;
    }
}

.info-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .info-card h3 {
        font-size: 1rem;
        margin-bottom: 8px;
    }
}

.info-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .info-card p {
        font-size: 0.85rem;
    }
}

.qr-codes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    justify-content: center;
}

.qr-card:only-child {
    grid-column: 1 / -1;
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .qr-codes {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.qr-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    flex: 1;
    max-width: 250px;
    display: flex;
    flex-direction: column;
    min-height: 400px;
}

@media (max-width: 768px) {
    .qr-card {
        max-width: 100%;
        width: 100%;
        padding: 25px 20px;
    }
}

.qr-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.qr-image {
    width: 180px;
    height: 180px;
    margin: 0 auto 20px;
    background: #000;
    border-radius: 15px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .qr-image {
        width: 150px;
        height: 150px;
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .qr-image {
        width: 120px;
        height: 120px;
    }
}

.qr-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.qr-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .qr-card h3 {
        font-size: 1.1rem;
    }
}

.qr-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.highlight-text {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    text-shadow: 0 0 10px rgba(255, 107, 107, 0.3);
    margin: 15px 0;
    animation: pulse 2s infinite;
}

.scan-tip {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 10px 0 15px;
    font-weight: 500;
    text-align: center;
}

@keyframes pulse {
    0% {
        text-shadow: 0 0 10px rgba(255, 107, 107, 0.3);
    }
    50% {
        text-shadow: 0 0 20px rgba(255, 107, 107, 0.6);
    }
    100% {
        text-shadow: 0 0 10px rgba(255, 107, 107, 0.3);
    }
}

@media (max-width: 768px) {
    .qr-card p {
        font-size: 0.85rem;
        margin-bottom: 15px;
    }
}

.btn-wechat-red {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
    margin-top: auto;
}

.btn-wechat-red:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
}

.btn-wechat-service {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
    margin-top: auto;
    animation: pulse 2s infinite;
}

.btn-wechat-service:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.customer-service-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.back-to-top-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-back-to-top {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
    margin-top: auto;
}

.btn-back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
}

@media (max-width: 768px) {
    .btn-wechat-red {
        padding: 10px 25px;
        font-size: 0.85rem;
        width: 100%;
        max-width: 200px;
    }
    
    .btn-wechat-service {
        padding: 10px 25px;
        font-size: 0.85rem;
        width: 100%;
        max-width: 200px;
    }
    
    .btn-back-to-top {
        padding: 10px 25px;
        font-size: 0.85rem;
        width: 100%;
        max-width: 200px;
    }
    
    .qr-codes {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .customer-service-card {
        order: 1;
    }
    
    .back-to-top-card {
        order: 4;
    }
}

.btn-douyin {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
    margin-top: auto;
}

.btn-douyin:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
}

@media (max-width: 768px) {
    .btn-douyin {
        padding: 10px 25px;
        font-size: 0.85rem;
        width: 100%;
        max-width: 200px;
    }
}

/* ========================================
   页脚
   ========================================/* 温馨提示 */
.disclaimer {
    background: rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 20px 0;
}

.disclaimer-text {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

/* 页脚 */
.footer {
    background: var(--bg-darker);
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding: 60px 0 30px;
}

@media (max-width: 768px) {
    .footer {
        padding: 40px 0 20px;
    }
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
        margin-bottom: 30px;
    }
}

.footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .footer-logo {
        height: 40px;
    }
}

.footer-brand h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .footer-brand h3 {
        font-size: 1.2rem;
    }
}

.footer-brand p {
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .footer-brand p {
        font-size: 0.9rem;
    }
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .footer-links h4,
    .footer-contact h4 {
        font-size: 1rem;
        margin-bottom: 15px;
    }
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .footer-links li {
        margin-bottom: 8px;
    }
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

@media (max-width: 768px) {
    .footer-links a {
        font-size: 0.9rem;
    }
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-contact p {
    color: var(--text-secondary);
    margin-bottom: 10px;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .footer-contact p {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

@media (max-width: 768px) {
    .footer-bottom {
        padding-top: 20px;
    }
}

.footer-bottom p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 5px 0;
}

.icp-filing a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.icp-filing a:hover {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .footer-bottom p {
        font-size: 0.85rem;
    }
}

/* ========================================
   额外的移动端优化
   ======================================== */
@media (max-width: 480px) {
    .nav-menu li {
        padding: 12px 0;
    }
    
    .hero {
        padding: 80px 10px 40px;
    }
    
    .hero-logo img {
        height: 50px;
    }
    
    .hero-title .highlight {
        font-size: 1.8rem;
    }
    
    .hero-title .subtitle {
        font-size: 0.9rem;
    }
    
    .hero-description {
        font-size: 0.85rem;
    }
    
    .btn {
        padding: 8px 20px;
        font-size: 0.85rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .about-text h3 {
        font-size: 1.2rem;
    }
    
    .about-text p {
        font-size: 0.9rem;
    }
    
    .stat-number {
        font-size: 1.6rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .service-card h3 {
        font-size: 1rem;
    }
    
    .service-features li {
        font-size: 0.8rem;
    }
    
    .game-card h3 {
        font-size: 1.1rem;
    }
    
    .info-card h3 {
        font-size: 0.95rem;
    }
    
    .info-card p {
        font-size: 0.8rem;
    }
    
    .qr-card h3 {
        font-size: 1rem;
    }
    
    .qr-card p {
        font-size: 0.8rem;
    }
    
    .footer-brand h3 {
        font-size: 1.1rem;
    }
    
    .footer-links h4,
    .footer-contact h4 {
        font-size: 0.95rem;
    }
}

/* =========================================================
   星际轨道工具箱 注入样式：宇宙背景层 + 开场启动页
   （背景与启动页取自 星际轨道工具箱 src/index.html）
   ========================================================= */
@font-face {
    font-family: "Jura";
    src: url("assets/jura-light.ttf") format("truetype");
    font-weight: 300 400;
}

/* 全局宇宙背景层（固定，置于所有正文之下） */
#spaceBg {
    position: fixed;
    inset: 0;
    z-index: -2;
    background: #000;
    pointer-events: none;
    overflow: hidden;
}
#stars {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
#planetBg {
    position: absolute;
    top: 50%;
    left: 58%;
    transform: translate(-50%, -50%);
    width: min(58vh, 46vw);
    opacity: .9;
    pointer-events: none;
    mix-blend-mode: screen; /* 黑底透明，只显示行星本体 */
}
/* 全局暗化蒙版，保证正文可读性，宇宙背景从中透出 */
#spaceScrim {
    position: fixed;
    inset: 0;
    z-index: -1;
    background: rgba(0, 0, 0, .55);
    pointer-events: none;
}

/* ============ 开场启动页（SXR intro 视频） ============ */
#splash {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #000;
    transition: opacity 1.2s ease;
}
#splash.hide {
    opacity: 0;
    pointer-events: none;
}
#introVideo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#splashHud {
    position: absolute;
    left: 50%;
    bottom: 7vh;
    transform: translateX(-50%);
    text-align: center;
    letter-spacing: .55em;
    font-family: "Jura", "Noto Sans SC", sans-serif;
    font-size: 15px;
    color: rgba(255, 255, 255, .85);
    text-shadow: 0 0 12px rgba(255, 255, 255, .35);
    text-transform: uppercase;
    animation: hudPulse 2s ease-in-out infinite;
}
#splashHud .bar {
    margin: 14px auto 0;
    width: 260px;
    height: 1px;
    background: rgba(255, 255, 255, .18);
    position: relative;
    overflow: hidden;
}
#splashHud .bar i {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0%;
    background: #fff;
    box-shadow: 0 0 8px rgba(255, 255, 255, .8);
    transition: width .3s linear;
}
@keyframes hudPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .55; }
}

/* =========================================================
   Kx 工作室 宇宙主题：字体与配色统一为「黑底白字」宇宙风
   （与星际轨道工具箱背景保持一致）
   ========================================================= */
:root {
    --primary-color: #f2f2f2;
    --primary-dark: #b9b9b9;
    --primary-light: #ffffff;
    --accent-color: #ffffff;
    --text-primary: #ececec;
    --text-secondary: #b6b6b6;
    --bg-dark: #050507;
    --bg-darker: #000000;
    --shadow: 0 10px 40px rgba(255, 255, 255, .12);
    --shadow-hover: 0 20px 60px rgba(255, 255, 255, .22);
}

/* 全局字体：Jura 优先（拉丁/数字），中文回退 Noto Sans SC */
body {
    font-family: "Jura", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    letter-spacing: .04em;
}

/* 品牌/标题统一宽字距宇宙感 */
.brand-text,
.hero-title .highlight,
.section-title,
.navbar .nav-link {
    letter-spacing: .18em;
}

/* 红色光晕 → 白色宇宙光晕 */
.hero-title .highlight {
    text-shadow: 0 0 40px rgba(255, 255, 255, .5);
}
.hero-logo img {
    filter: drop-shadow(0 0 30px rgba(255, 255, 255, .45));
}

/* 按钮统一为白色描边 / 悬浮填充（SXR 风格） */
.btn-primary,
.btn-secondary,
.btn-service,
.btn-pricing,
.btn-wechat-red,
.btn-wechat-service,
.btn-back-to-top,
.btn-douyin,
.btn-resources {
    background: transparent !important;
    color: #fff !important;
    border: 2px solid rgba(255, 255, 255, .55) !important;
    box-shadow: none !important;
}
.btn-primary:hover,
.btn-secondary:hover,
.btn-service:hover,
.btn-pricing:hover,
.btn-wechat-red:hover,
.btn-wechat-service:hover,
.btn-back-to-top:hover,
.btn-douyin:hover,
.btn-resources:hover {
    background: #fff !important;
    color: #000 !important;
    border-color: #fff !important;
}

/* 标签 / 徽章改为黑底白字，避免浅底浅字 */
.pricing-badge,
.section-tag {
    background: rgba(255, 255, 255, .1) !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, .35) !important;
}

/* 图标容器（服务卡 / 信息卡）与按钮同风格：透明底 + 白描边，
   修复浅色渐变底上白色 SVG 图标隐形的问题 */
.service-icon,
.info-icon {
    background: rgba(255, 255, 255, .06) !important;
    border: 2px solid rgba(255, 255, 255, .55) !important;
    box-shadow: none !important;
}
.service-icon svg,
.info-icon svg {
    color: #fff !important;
}

/* swiper 箭头悬停：白底上图标改黑，避免白底白图标 */
.swiper-button-next:hover,
.swiper-button-prev:hover {
    color: #000 !important;
}

/* =========================================================
   全页透出宇宙背景：各区块背景透明，星空 + 行星全程可见
   ========================================================= */
.toolbox-entry,
.cta-section,
.services,
.games,
.pricing,
.contact,
.disclaimer,
.footer {
    background: transparent !important;
}

/* 卡片改为半透明深色底：文字可读，星空隐约透出 */
.toolbox-banner,
.service-card,
.pricing-card,
.info-card,
.qr-card,
.games-note,
.optimization-info,
.pricing-notes,
.notes-content {
    background: rgba(8, 8, 10, .72) !important;
}

/* ===== 资源与链接 区块（后台可管理） ===== */
.links {
    padding: 90px 0;
}
.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
}
.link-card {
    background: rgba(8, 8, 10, .72) !important;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 14px;
    padding: 26px 22px;
    text-align: center;
}
.link-card h3 {
    font-size: 1.15rem;
    letter-spacing: .2em;
    color: #fff;
    margin-bottom: 12px;
}
.link-card p {
    font-size: .85rem;
    color: var(--text-secondary);
    margin-bottom: 18px;
    min-height: 2.4em;
}

/* brand weight: Kx bold / studio suffix light */
.kx-b { font-weight: 700; }
.kx-l { font-weight: 300; }
