/* ============================================
   TikTok Shop 指南页面样式 - DNY123风格
   ============================================ */

.tiktok-guide-page {
    padding: 40px 0 80px;
    background: linear-gradient(135deg, #f8faff 0%, #ffffff 100%);
    min-height: 100vh;
}

.tiktok-guide-page .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 页面标题区域 */
.tiktok-guide-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 40px 20px;
    background: linear-gradient(135deg, #1565c0 0%, #093290 100%);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(21, 101, 192, 0.3);
    position: relative;
    overflow: hidden;
}

.tiktok-guide-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.tiktok-guide-title {
    font-size: 42px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    margin: 0 0 12px 0 !important;
    letter-spacing: 1px !important;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    position: relative;
    z-index: 1;
}

.tiktok-guide-subtitle {
    font-size: 18px !important;
    color: rgba(255, 255, 255, 0.92) !important;
    margin: 0 !important;
    font-weight: 500 !important;
    position: relative;
    z-index: 1;
}

/* 分类容器 */
.tiktok-guide-categories {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* 分类卡片 */
.guide-category-box {
    background: #ffffff;
    border-radius: 16px;
    padding: 28px 32px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.12);
    transition: all 0.3s ease;
}

.guide-category-box:hover {
    box-shadow: 0 8px 32px rgba(21, 101, 192, 0.12);
    border-color: rgba(21, 101, 192, 0.2);
    transform: translateY(-2px);
}

/* 分类标题 */
.guide-category-title {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin: 0 0 20px 0 !important;
    padding: 0 0 16px 0 !important;
    border-bottom: 2px solid rgba(21, 101, 192, 0.15) !important;
    position: relative;
}

.guide-category-title::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #1565c0 0%, #093290 100%);
}

/* 链接网格 */
.guide-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 12px;
}

/* 单个链接项 */
.guide-link-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #f8faff 0%, #ffffff 100%);
    border-radius: 8px;
    border: 1px solid rgba(148, 163, 184, 0.1);
    color: #334155;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.guide-link-item::before {
    content: '○';
    font-size: 16px;
    color: #f97316;
    font-weight: 700;
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.guide-link-item::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #1565c0 0%, #093290 100%);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.guide-link-item:hover::before {
    color: #1565c0;
    transform: scale(1.2);
}

.guide-link-item:hover::after {
    opacity: 1;
}

.guide-link-item:hover {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-color: rgba(21, 101, 192, 0.3);
    color: #1e40af;
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(21, 101, 192, 0.15);
    padding-left: 20px;
}

/* 响应式设计 - 平板 */
@media (max-width: 1024px) {
    .guide-links-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 10px;
    }
}

/* 响应式设计 - 手机 */
@media (max-width: 768px) {
    .tiktok-guide-page {
        padding: 30px 0 50px;
    }

    .tiktok-guide-header {
        margin-bottom: 30px;
        padding: 30px 16px;
        border-radius: 16px;
    }

    .tiktok-guide-title {
        font-size: 32px !important;
    }

    .tiktok-guide-subtitle {
        font-size: 16px !important;
    }

    .tiktok-guide-categories {
        gap: 24px;
    }

    .guide-category-box {
        padding: 20px 20px;
        border-radius: 12px;
    }

    .guide-category-title {
        font-size: 18px !important;
        margin-bottom: 16px !important;
        padding-bottom: 12px !important;
    }

    .guide-links-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .guide-link-item {
        font-size: 13px;
        padding: 10px 14px;
    }
}

/* 响应式设计 - 小手机 */
@media (max-width: 480px) {
    .tiktok-guide-header {
        padding: 24px 12px;
    }

    .tiktok-guide-title {
        font-size: 26px !important;
    }

    .tiktok-guide-subtitle {
        font-size: 14px !important;
    }

    .guide-category-box {
        padding: 16px 16px;
    }

    .guide-category-title {
        font-size: 16px !important;
    }
}
