/* ============================================================
   NaoBan Sudoku - Articles Index Page Styles v4.0
   Design: Grand editorial magazine style - immersive & impactful
   - Full-width hero with deep visual depth
   - Layered backgrounds with glow effects
   - Generous whitespace, premium typography
   ============================================================ */

/* ============================================================
   Page Background - Deep layered atmosphere
   ============================================================ */
body.articles-list-page {
    background:
        radial-gradient(ellipse 1200px 600px at 15% -100px, rgba(74, 125, 255, 0.18), transparent 60%),
        radial-gradient(ellipse 900px 500px at 85% -50px, rgba(107, 157, 255, 0.12), transparent 55%),
        radial-gradient(ellipse 700px 400px at 50% 200px, rgba(74, 125, 255, 0.05), transparent 60%),
        linear-gradient(180deg, #e6eeff 0%, #f0f4ff 180px, #f7f9fc 500px);
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

.site-nav {
    position: sticky !important;
    top: 0 !important;
    z-index: 100 !important;
}

/* logo 文字版本：移动端显示，桌面端隐藏（与首页一致） */
.site-logo-text {
    display: none;
    text-decoration: none !important;
}
.site-logo-text .logo-text-dark {
    color: #2c3e50;
}
.site-logo-text .logo-text-accent {
    color: #f39c12;
}

/* ============================================================
   Breadcrumb
   ============================================================ */
.al-breadcrumb {
    max-width: 1140px;
    margin: 0 auto;
    padding: 14px 20px;
    font-size: 14px;
    color: #8694ad;
    font-weight: 500;
}

.al-breadcrumb a {
    color: #7a8ba6;
    text-decoration: none;
    transition: color 0.2s;
}

.al-breadcrumb a:hover {
    color: #4a7dff;
}

.al-breadcrumb span {
    margin: 0 8px;
    color: #c0c8d4;
}

/* ============================================================
   Hero Section - Grand Split Layout
   Left: title + subtitle + stats
   Right: search box + hot keywords
   ============================================================ */
.al-hero {
    width: 100%;
    margin: 10px auto 0;
    padding: 0 0 48px;
    position: relative;
}

.al-hero-inner {
    position: relative;
    max-width: 1140px;
    margin: 0 auto;
    background:
        radial-gradient(ellipse 500px 300px at 90% 20%, rgba(255,255,255,0.12), transparent 60%),
        radial-gradient(ellipse 400px 300px at 15% 90%, rgba(255,255,255,0.08), transparent 55%),
        linear-gradient(135deg, #3a6bef 0%, #4a7dff 35%, #5a8eff 65%, #6b9dff 100%);
    border-radius: 24px;
    padding: 56px 56px 52px;
    overflow: hidden;
    box-shadow:
        0 30px 70px rgba(58, 107, 239, 0.3),
        0 12px 30px rgba(74, 125, 255, 0.18),
        0 4px 12px rgba(74, 125, 255, 0.08);
}

/* Hero split layout */
.al-hero-content {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.al-hero-left {
    min-width: 0;
}

.al-hero-right {
    min-width: 0;
}

/* Large sudoku grid decoration - right side background */
.al-hero-inner::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -60px;
    width: 560px;
    height: 560px;
    background-image:
        linear-gradient(rgba(255,255,255,0.08) 1.5px, transparent 1.5px),
        linear-gradient(90deg, rgba(255,255,255,0.08) 1.5px, transparent 1.5px);
    background-size: 52px 52px;
    transform: rotate(10deg);
    pointer-events: none;
    border-radius: 24px;
    z-index: 0;
}

/* Medium grid - bottom left */
.al-hero-inner::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: 20%;
    width: 320px;
    height: 320px;
    background-image:
        linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 32px 32px;
    transform: rotate(-8deg);
    pointer-events: none;
    z-index: 0;
}

/* Glow orbs */
.al-hero-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.al-hero-glow-1 {
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(255,255,255,0.18) 0%, transparent 70%);
    top: 20px;
    right: 180px;
    filter: blur(24px);
}

.al-hero-glow-2 {
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(255,255,255,0.22) 0%, transparent 70%);
    bottom: 40px;
    right: 300px;
    filter: blur(18px);
}

.al-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    border-radius: 24px;
    margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,0.28);
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.al-hero-title {
    font-size: 48px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 16px 0;
    line-height: 1.18;
    letter-spacing: -1px;
    text-shadow: 0 3px 20px rgba(0,0,0,0.12);
}

.al-hero-subtitle {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.92);
    margin: 0 0 28px 0;
    line-height: 1.75;
    font-weight: 400;
}

.al-hero-stats {
    display: flex;
    gap: 44px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.15);
}

.al-hero-stat {
    text-align: left;
}

.al-hero-stat-num {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.al-hero-stat-label {
    font-size: 13.5px;
    color: rgba(255,255,255,0.8);
    margin-top: 5px;
    font-weight: 500;
}

/* ============================================================
   Hero Search Box - Glass morphism on blue bg
   ============================================================ */
.al-hero-search-card {
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 18px;
    padding: 24px;
    border: 1px solid rgba(255,255,255,0.22);
    box-shadow:
        0 12px 40px rgba(0,0,0,0.1),
        0 4px 14px rgba(0,0,0,0.05);
}

.al-hero-search-title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 14px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.al-hero-search-row {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}

.al-hero-search-input-wrap {
    flex: 1;
    position: relative;
    min-width: 0;
}

.al-hero-search-input {
    width: 100%;
    padding: 14px 18px 14px 48px;
    font-size: 16px;
    border: none;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.95);
    color: #1a2533;
    outline: none;
    transition: all 0.25s ease;
    font-weight: 500;
    box-sizing: border-box;
    box-shadow:
        0 4px 14px rgba(0,0,0,0.08),
        inset 0 1px 0 rgba(255,255,255,0.8);
    height: 52px;
}

.al-hero-search-input:focus {
    background: #fff;
    box-shadow:
        0 0 0 3px rgba(255,255,255,0.4),
        0 6px 20px rgba(0,0,0,0.12);
}

.al-hero-search-input::placeholder {
    color: #a0aabb;
}

.al-hero-search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    opacity: 0.5;
    pointer-events: none;
}

.al-hero-search-btn {
    padding: 0 28px;
    height: 52px;
    background: linear-gradient(135deg, #ff9a3c 0%, #ff7f2a 100%);
    color: #fff;
    border: none;
    border-radius: 14px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow:
        0 6px 18px rgba(255, 127, 42, 0.45),
        inset 0 1px 0 rgba(255,255,255,0.3);
    white-space: nowrap;
    flex-shrink: 0;
}

.al-hero-search-btn:hover {
    transform: translateY(-2px);
    box-shadow:
        0 8px 24px rgba(255, 127, 42, 0.55),
        inset 0 1px 0 rgba(255,255,255,0.3);
}

.al-hero-search-btn:active {
    transform: translateY(0);
}

.al-hero-hot-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.al-hero-hot-label {
    font-size: 13px;
    color: rgba(255,255,255,0.85);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.al-hero-hot-tag {
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 20px;
    font-size: 13px;
    color: #fff;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.al-hero-hot-tag:hover {
    background: rgba(255, 255, 255, 0.35);
    border-color: rgba(255,255,255,0.45);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* ============================================================
   Search & Filter Bar - Grand glass morphism
   ============================================================ */
.al-search-section {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

.al-search-bar {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 18px;
    padding: 24px 28px;
    box-shadow:
        0 12px 40px rgba(0,0,0,0.07),
        0 4px 12px rgba(0,0,0,0.03);
    border: 1px solid rgba(255,255,255,0.85);
}

.al-search-row {
    display: flex;
    gap: 14px;
    align-items: center;
}

.al-search-input-wrap {
    flex: 1;
    position: relative;
}

.al-search-input {
    width: 100%;
    padding: 15px 20px 15px 50px;
    font-size: 17px;
    border: 2px solid #e8eefc;
    border-radius: 14px;
    background: #fff;
    color: #1a2533;
    outline: none;
    transition: all 0.25s ease;
    font-weight: 500;
    box-sizing: border-box;
}

.al-search-input:focus {
    border-color: #4a7dff;
    box-shadow: 0 0 0 5px rgba(74, 125, 255, 0.1);
}

.al-search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    opacity: 0.45;
    pointer-events: none;
}

.al-all-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 26px;
    background: linear-gradient(135deg, #4a7dff 0%, #5a8eff 100%);
    color: #fff;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    border: none;
    white-space: nowrap;
    box-shadow: 0 6px 16px rgba(74, 125, 255, 0.32);
}

.al-all-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(74, 125, 255, 0.42);
}

.al-all-tag.active {
    background: linear-gradient(135deg, #3a6bef 0%, #4a7dff 100%);
    box-shadow: 0 6px 18px rgba(74, 125, 255, 0.48);
}

/* ============================================================
   Category Cards - Premium Colored Gradient Cards
   ============================================================ */
.al-cats-section {
    width: 100%;
    margin: 32px auto 0;
    padding: 0;
}

.al-cats-header {
    max-width: 1140px;
    margin: 0 auto 16px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.al-cats-title {
    font-size: 20px;
    font-weight: 800;
    color: #1a2533;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.3px;
}

.al-cats-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 22px;
    background: linear-gradient(180deg, #3a6bef, #6b9dff);
    border-radius: 2px;
}

.al-cats-subtitle {
    font-size: 13.5px;
    color: #8595ab;
    font-weight: 500;
}

.al-cats-inner {
    max-width: 1140px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border-radius: 20px;
    padding: 24px;
    box-shadow:
        0 12px 40px rgba(0,0,0,0.07),
        0 4px 14px rgba(0,0,0,0.03);
    border: 1px solid rgba(255,255,255,0.85);
}

.al-cats-grid {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 14px;
}

.al-cat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 10px 16px;
    background: linear-gradient(145deg,
        color-mix(in srgb, var(--cat-color, #4a7dff) 8%, #fff) 0%,
        color-mix(in srgb, var(--cat-color-light, #6b9dff) 5%, #fafbfe) 100%);
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1.5px solid color-mix(in srgb, var(--cat-color, #4a7dff) 12%, transparent);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

/* Decorative corner glow */
.al-cat-card::after {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle,
        color-mix(in srgb, var(--cat-color, #4a7dff) 15%, transparent) 0%,
        transparent 70%);
    transition: all 0.35s ease;
    pointer-events: none;
}

.al-cat-card > * {
    position: relative;
    z-index: 1;
}

.al-cat-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 14px 32px color-mix(in srgb, var(--cat-color, #4a7dff) 22%, transparent),
        0 4px 12px color-mix(in srgb, var(--cat-color, #4a7dff) 10%, transparent);
    border-color: color-mix(in srgb, var(--cat-color, #4a7dff) 30%, transparent);
    background: linear-gradient(145deg,
        color-mix(in srgb, var(--cat-color, #4a7dff) 14%, #fff) 0%,
        color-mix(in srgb, var(--cat-color-light, #6b9dff) 10%, #fafbfe) 100%);
}

.al-cat-card:hover::after {
    width: 80px;
    height: 80px;
    top: -30px;
    right: -30px;
}

.al-cat-card.active {
    background: linear-gradient(145deg, var(--cat-color, #4a7dff) 0%, var(--cat-color-light, #6b9dff) 100%);
    box-shadow:
        0 10px 28px color-mix(in srgb, var(--cat-color, #4a7dff) 40%, transparent),
        0 3px 10px color-mix(in srgb, var(--cat-color, #4a7dff) 20%, transparent);
    border-color: transparent;
    transform: translateY(-3px);
}

.al-cat-card.active .al-cat-icon,
.al-cat-card.active .al-cat-name,
.al-cat-card.active .al-cat-count {
    color: #fff;
}

.al-cat-card.active .al-cat-count {
    background: rgba(255,255,255,0.25);
}

.al-cat-icon {
    font-size: 30px;
    line-height: 1;
    transition: all 0.35s ease;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.06));
}

.al-cat-card:hover .al-cat-icon {
    transform: scale(1.2);
    filter: drop-shadow(0 4px 8px color-mix(in srgb, var(--cat-color, #4a7dff) 25%, transparent));
}

.al-cat-name {
    font-size: 14px;
    font-weight: 700;
    color: #3a4860;
    text-align: center;
    transition: color 0.3s ease;
    line-height: 1.3;
}

.al-cat-count {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--cat-color, #4a7dff);
    background: color-mix(in srgb, var(--cat-color, #4a7dff) 10%, #fff);
    padding: 3px 9px;
    border-radius: 12px;
    line-height: 1;
    transition: all 0.3s ease;
}

/* Category colors - 10分类 */
.al-cat-brain      { --cat-color: #4a7dff; --cat-color-light: #6b9dff; }
.al-cat-killer     { --cat-color: #ff6b6b; --cat-color-light: #ff8787; }
.al-cat-culture    { --cat-color: #6c5ce7; --cat-color-light: #a29bfe; }
.al-cat-techniques { --cat-color: #ff9f43; --cat-color-light: #ffbe76; }
.al-cat-beginner   { --cat-color: #26c281; --cat-color-light: #55d6a0; }
.al-cat-life       { --cat-color: #fd79a8; --cat-color-light: #fab1a0; }
.al-cat-elder      { --cat-color: #6b8e23; --cat-color-light: #8fbc5a; }
.al-cat-kids       { --cat-color: #e17055; --cat-color-light: #fab1a0; }
.al-cat-print      { --cat-color: #74b9ff; --cat-color-light: #a29bfe; }
.al-cat-audience   { --cat-color: #00b894; --cat-color-light: #55efc4; }

/* ============================================================
   Section Header - Grand style
   ============================================================ */
.al-section-header {
    max-width: 1140px;
    margin: 48px auto 22px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.al-section-title {
    font-size: 28px;
    font-weight: 800;
    color: #1a2533;
    margin: 0;
    letter-spacing: -0.4px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.al-section-title::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 28px;
    background: linear-gradient(180deg, #3a6bef, #6b9dff);
    border-radius: 3px;
}

.al-section-count {
    font-size: 15px;
    color: #8595ab;
    font-weight: 500;
    background: #eef2fa;
    padding: 7px 18px;
    border-radius: 24px;
}

/* ============================================================
   Article Cards - Grand Cover Design
   ============================================================ */
.al-grid {
    max-width: 1140px;
    margin: 0 auto 50px;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.al-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow:
        0 4px 20px rgba(0,0,0,0.06),
        0 1px 5px rgba(0,0,0,0.03);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid rgba(0,0,0,0.04);
}

/* Top accent bar on hover */
.al-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3a6bef, #4a7dff, #6b9dff, #8bb8ff);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

.al-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 20px 50px rgba(0,0,0,0.12),
        0 6px 18px rgba(0,0,0,0.06);
}

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

.al-card-cover {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, #e8f0ff, #d4e2ff);
}

.al-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}

.al-card:hover .al-card-cover img {
    transform: scale(1.08);
}

/* Category tag on cover */
.al-card-cat-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 14px;
    background: rgba(255,255,255,0.94);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    color: #4a7dff;
    z-index: 1;
    box-shadow: 0 3px 10px rgba(0,0,0,0.12);
}

/* Reading time badge */
.al-card-read-time {
    position: absolute;
    bottom: 16px;
    right: 16px;
    padding: 5px 12px;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 1;
}

.al-card-body {
    padding: 20px 22px 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.al-card-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a2533;
    line-height: 1.55;
    margin: 0 0 12px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.al-card:hover .al-card-title {
    color: #4a7dff;
}

.al-card-desc {
    font-size: 14.5px;
    color: #7a8ba3;
    line-height: 1.7;
    margin: 0 0 18px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.al-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13.5px;
    color: #98a4b8;
    font-weight: 500;
    padding-top: 16px;
    border-top: 1px solid #eef1f6;
}

.al-card-date {
    display: flex;
    align-items: center;
    gap: 6px;
}

.al-card-arrow {
    color: #b5bdcc;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 600;
}

.al-card:hover .al-card-arrow {
    color: #4a7dff;
    transform: translateX(5px);
}

/* ============================================================
   Pagination - Premium style
   ============================================================ */
.al-pagination {
    max-width: 1140px;
    margin: 30px auto 50px;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.al-pagination-info {
    font-size: 14px;
    color: #8595ab;
    font-weight: 500;
}

.al-pagination-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    padding: 8px;
    border-radius: 14px;
    box-shadow:
        0 4px 16px rgba(0,0,0,0.06),
        0 1px 4px rgba(0,0,0,0.03);
    border: 1px solid #eef1f6;
}

.al-page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    font-size: 15px;
    font-weight: 600;
    color: #5a6a82;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.2s ease;
    cursor: pointer;
    user-select: none;
}

.al-page-link:hover:not(.active):not(.disabled) {
    background: #eef3ff;
    color: #4a7dff;
}

.al-page-link.active {
    background: linear-gradient(135deg, #4a7dff 0%, #5a8eff 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(74, 125, 255, 0.35);
    cursor: default;
}

.al-page-link.disabled {
    color: #c5cdd8;
    cursor: not-allowed;
    opacity: 0.6;
}

.al-page-ellipsis {
    padding: 0 6px;
    color: #b5bdcc;
    font-weight: 600;
    user-select: none;
}

/* ============================================================
   Empty State
   ============================================================ */
.al-empty {
    max-width: 1140px;
    margin: 0 auto 40px;
    padding: 80px 20px;
    text-align: center;
}

.al-empty-icon {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.al-empty-text {
    font-size: 18px;
    color: #909fb5;
    font-weight: 600;
    margin-bottom: 8px;
}

.al-empty-hint {
    font-size: 14px;
    color: #b0bac8;
}

.al-hidden {
    display: none !important;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1100px) {
    .al-cats-grid {
        grid-template-columns: repeat(5, 1fr);
    }

    .al-hero-title {
        font-size: 42px;
    }

    .al-hero-inner {
        padding: 48px 40px 44px;
    }

    .al-hero-content {
        gap: 36px;
    }
}

@media (max-width: 960px) {
    .al-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .al-hero-inner {
        padding: 40px 32px 36px;
    }

    .al-hero-title {
        font-size: 36px;
    }

    .al-hero-content {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .al-hero-search-card {
        max-width: 520px;
    }

    .al-hero-stats {
        gap: 32px;
    }

    .al-hero-stat-num {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    /* 手机端导航栏 */
    .site-nav-inner {
        padding: 0 14px;
        height: 56px;
    }

    /* 移动端：logo 图片替换为文字，节省横向空间，支持 i18n */
    .site-logo img {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
        visibility: hidden !important;
    }
    .site-logo {
        font-size: 20px;
        font-weight: 700;
        color: var(--text);
        line-height: 1.2;
        display: inline-block;
        text-decoration: none !important;
    }
    .site-logo-text {
        display: inline !important;
        text-decoration: none !important;
    }
    .site-logo-text .logo-text-dark {
        color: #2c3e50 !important;
    }
    .site-logo-text .logo-text-accent {
        color: #f39c12 !important;
    }

    .site-nav-links {
        display: none !important;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 12px 16px;
        gap: 4px;
        border-bottom: 1px solid var(--btn-border);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
        z-index: 99;
    }

    .site-nav-links.open {
        display: flex !important;
    }

    .site-nav-link {
        padding: 12px 14px;
        font-size: 15px;
        border-radius: 8px;
    }

    .site-nav-link-featured {
        padding: 12px 14px;
        background: rgba(74, 125, 255, 0.06);
        border-left: 3px solid var(--primary);
        border-radius: 8px;
        font-weight: 600;
    }

    .site-nav-dropdown {
        display: block;
        width: 100%;
    }

    .site-nav-dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        margin-top: 0;
        padding-left: 20px;
        background: transparent;
        min-width: auto;
        display: none;
    }

    .site-nav-dropdown-menu.open {
        display: block;
    }

    .site-nav-dropdown-item {
        padding: 10px 0;
        font-size: 14px;
    }

    /* 手机端导航栏按钮：与首页一致 */
    .site-nav-actions {
        gap: 4px;
    }

    .lang-switch-btn,
    .elder-mode-btn {
        display: flex !important;
        width: 36px;
        height: 36px;
    }

    .top-auth-btns {
        display: flex !important;
    }

    .top-btn-register {
        display: none !important;
    }

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

    .site-nav-toggle {
        display: block !important;
        width: 40px;
        height: 40px;
        font-size: 22px;
    }

    .al-hero-inner {
        padding: 32px 24px 28px;
        border-radius: 18px;
    }

    .al-hero-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .al-hero-title {
        font-size: 30px;
        letter-spacing: -0.5px;
    }

    .al-hero-subtitle {
        font-size: 14.5px;
        line-height: 1.7;
    }

    .al-hero-stats {
        gap: 24px;
        padding-top: 20px;
    }

    .al-hero-stat-num {
        font-size: 22px;
    }

    .al-hero-stat-label {
        font-size: 12px;
    }

    .al-hero-search-card {
        padding: 18px;
    }

    .al-hero-search-title {
        font-size: 15px;
        margin-bottom: 12px;
    }

    .al-hero-search-row {
        gap: 8px;
        margin-bottom: 12px;
    }

    .al-hero-search-input {
        height: 48px;
        padding: 12px 16px 12px 44px;
        font-size: 15px;
        border-radius: 12px;
    }

    .al-hero-search-icon {
        left: 14px;
        font-size: 18px;
    }

    .al-hero-search-btn {
        height: 48px;
        padding: 0 22px;
        font-size: 16px;
        border-radius: 12px;
    }

    .al-cats-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 10px;
    }

    .al-cat-card {
        padding: 14px 6px;
    }

    .al-cat-icon {
        font-size: 22px;
    }

    .al-cat-name {
        font-size: 12px;
    }

    .al-cats-inner {
        padding: 16px;
    }

    .al-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .al-card-cover {
        aspect-ratio: 16 / 10;
    }

    .al-section-header {
        margin-top: 32px;
    }

    .al-section-title {
        font-size: 22px;
    }

    .al-page-link {
        min-width: 36px;
        height: 36px;
        padding: 0 10px;
        font-size: 14px;
        border-radius: 8px;
    }

    .al-pagination-nav {
        padding: 6px;
        gap: 4px;
    }
}

@media (max-width: 480px) {
    .al-hero-inner {
        padding: 24px 18px 22px;
        border-radius: 16px;
    }

    .al-hero-badge {
        padding: 6px 14px;
        font-size: 12px;
        margin-bottom: 14px;
    }

    .al-hero-title {
        font-size: 24px;
        letter-spacing: -0.3px;
    }

    .al-hero-subtitle {
        font-size: 13.5px;
        margin-bottom: 20px;
    }

    .al-hero-stats {
        gap: 16px;
        padding-top: 16px;
    }

    .al-hero-stat-num {
        font-size: 18px;
    }

    .al-hero-stat-label {
        font-size: 11px;
    }

    .al-hero-search-card {
        padding: 16px;
    }

    .al-hero-search-title {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .al-hero-search-row {
        gap: 6px;
        margin-bottom: 10px;
    }

    .al-hero-search-input {
        height: 44px;
        padding: 10px 14px 10px 40px;
        font-size: 14px;
        border-radius: 10px;
    }

    .al-hero-search-icon {
        left: 12px;
        font-size: 16px;
    }

    .al-hero-search-btn {
        height: 44px;
        padding: 0 18px;
        font-size: 15px;
        border-radius: 10px;
    }

    .al-hero-hot-label {
        font-size: 12px;
    }

    .al-hero-hot-tag {
        padding: 5px 12px;
        font-size: 12px;
    }

    .al-cats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .al-cats-inner {
        padding: 14px;
    }

    .al-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .al-card-cover {
        aspect-ratio: 16 / 10;
    }

    .al-card-title {
        font-size: 15px;
    }

    .al-card-body {
        padding: 14px 16px 16px;
    }

    .al-section-title {
        font-size: 20px;
    }

    .al-page-link {
        min-width: 32px;
        height: 32px;
        padding: 0 8px;
        font-size: 13px;
        border-radius: 8px;
    }

    .al-pagination-info {
        font-size: 13px;
    }
}
