/* roulang page: index */
:root {
            --bg-base: #0e0d0b;
            --bg-elev: #1a1713;
            --surface-glass: rgba(255, 255, 255, 0.04);
            --line-soft: rgba(230, 200, 150, 0.16);
            --accent: #d5aa63;
            --accent-dark: #a57c36;
            --accent-ghost: rgba(215, 170, 99, 0.12);
            --text-main: #f4efe7;
            --text-sub: #a89f9a;
            --text-dim: #6e655f;
            --danger: #d2765a;
            --radius-lg: 4px;
            --radius-md: 2px;
            --shadow-lg: 0 30px 60px rgba(0, 0, 0, 0.35);
            --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.2);
            --font-body: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
            --font-headline: "Iowan Old Style", "Songti SC", "SimSun", serif;
        }
        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }
        html {
            scroll-behavior: smooth;
        }
        body {
            font-family: var(--font-body);
            background-color: var(--bg-base);
            color: var(--text-main);
            line-height: 1.75;
            -webkit-font-smoothing: antialiased;
            overflow-x: hidden;
        }
        a {
            color: var(--text-main);
            text-decoration: none;
            transition: color 0.3s ease;
        }
        a:hover {
            color: var(--accent);
        }
        img {
            max-width: 100%;
            display: block;
        }
        button,
        input,
        select,
        textarea {
            font-family: inherit;
            outline: none;
        }
        .font-headline {
            font-family: var(--font-headline);
        }
        .container-x {
            max-width: 1120px;
            margin: 0 auto;
            padding-left: 24px;
            padding-right: 24px;
        }
        .section-pad {
            padding-top: 90px;
            padding-bottom: 90px;
        }
        @media (max-width: 768px) {
            .section-pad {
                padding-top: 56px;
                padding-bottom: 56px;
            }
            .container-x {
                padding-left: 16px;
                padding-right: 16px;
            }
        }
        .nav-wrap {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            background: rgba(14, 13, 11, 0.82);
            backdrop-filter: blur(14px);
            -webkit-backdrop-filter: blur(14px);
            border-bottom: 1px solid transparent;
            transition: background 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;
        }
        .nav-wrap.scrolled {
            background: rgba(14, 13, 11, 0.95);
            border-bottom-color: var(--line-soft);
        }
        .nav-inner {
            display: grid;
            grid-template-columns: 1fr auto 1fr;
            align-items: center;
            min-height: 72px;
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 24px;
        }
        .nav-links-left,
        .nav-links-right {
            display: flex;
            align-items: center;
            gap: 32px;
        }
        .nav-links-left {
            justify-content: flex-end;
            padding-right: 24px;
        }
        .nav-links-right {
            justify-content: flex-start;
            padding-left: 24px;
        }
        .nav-links-left a,
        .nav-links-right a {
            position: relative;
            font-size: 15px;
            color: var(--text-sub);
            letter-spacing: 0.02em;
            padding: 4px 0;
            transition: color 0.3s ease;
        }
        .nav-links-left a::after,
        .nav-links-right a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 1px;
            background: var(--accent);
            transition: width 0.3s ease;
        }
        .nav-links-left a:hover,
        .nav-links-right a:hover {
            color: var(--accent);
        }
        .nav-links-left a:hover::after,
        .nav-links-right a:hover::after {
            width: 100%;
        }
        .nav-links-left a.active,
        .nav-links-right a.active {
            color: var(--text-main);
        }
        .nav-links-left a.active::after,
        .nav-links-right a.active::after {
            width: 70%;
        }
        .nav-logo {
            text-align: center;
        }
        .nav-logo a {
            font-family: var(--font-headline);
            font-size: 23px;
            font-weight: 700;
            letter-spacing: 0.2em;
            color: var(--text-main);
            white-space: nowrap;
        }
        .nav-logo a:hover {
            color: var(--accent);
        }
        .nav-cta {
            background: var(--accent);
            color: #201a14 !important;
            font-size: 14px !important;
            padding: 8px 18px !important;
            border-radius: 2px;
            letter-spacing: 0.05em;
            transition: all 0.3s ease;
        }
        .nav-cta::after {
            display: none !important;
        }
        .nav-cta:hover {
            background: #e0b777;
            transform: translateY(-1px);
            color: #201a14 !important;
        }
        .hamburger {
            display: none;
            background: none;
            border: none;
            color: var(--text-main);
            font-size: 24px;
            cursor: pointer;
            width: 44px;
            height: 44px;
            align-items: center;
            justify-content: center;
            border-radius: 4px;
            transition: background 0.3s ease;
        }
        .hamburger:hover {
            background: rgba(255, 255, 255, 0.06);
        }
        .mobile-menu {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: #12100d;
            z-index: 999;
            padding: 96px 32px 40px;
            flex-direction: column;
            gap: 4px;
            overflow-y: auto;
        }
        .mobile-menu.open {
            display: flex;
        }
        .mobile-menu a {
            font-size: 20px;
            font-family: var(--font-headline);
            color: var(--text-sub);
            padding: 14px 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
            transition: color 0.3s ease;
        }
        .mobile-menu a:hover {
            color: var(--accent);
        }
        .mobile-menu .close-btn {
            position: absolute;
            top: 24px;
            right: 24px;
            background: none;
            border: none;
            color: var(--text-main);
            font-size: 26px;
            cursor: pointer;
            width: 44px;
            height: 44px;
            border-radius: 4px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .mobile-menu .close-btn:hover {
            background: rgba(255, 255, 255, 0.06);
        }
        @media (max-width: 960px) {
            .nav-links-left,
            .nav-links-right {
                display: none;
            }
            .nav-inner {
                grid-template-columns: 1fr auto 1fr;
            }
            .nav-logo {
                grid-column: 2;
            }
            .hamburger {
                display: flex;
                grid-column: 3;
                justify-self: end;
            }
        }
        @media (max-width: 480px) {
            .nav-inner {
                padding: 0 12px;
                min-height: 64px;
            }
            .nav-logo a {
                font-size: 20px;
            }
        }
        .btn-primary {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            background: var(--accent);
            color: #201a14;
            font-size: 15px;
            font-weight: 600;
            padding: 14px 26px;
            border: 1px solid var(--accent);
            border-radius: 2px;
            cursor: pointer;
            transition: all 0.3s ease;
            letter-spacing: 0.03em;
        }
        .btn-primary:hover {
            background: #e0b777;
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(215, 170, 99, 0.18);
            color: #201a14;
        }
        .btn-primary:active {
            transform: translateY(0);
        }
        .btn-secondary {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            background: transparent;
            color: var(--text-main);
            font-size: 15px;
            padding: 14px 26px;
            border: 1px solid var(--line-soft);
            border-radius: 2px;
            cursor: pointer;
            transition: all 0.3s ease;
            letter-spacing: 0.03em;
        }
        .btn-secondary:hover {
            background: var(--accent-ghost);
            border-color: rgba(215, 170, 99, 0.5);
            transform: translateY(-2px);
            color: var(--text-main);
        }
        .btn-secondary:active {
            transform: translateY(0);
        }
        .card-hover {
            transition: all 0.3s ease;
            border: 1px solid var(--line-soft);
            background: var(--bg-elev);
            border-radius: var(--radius-lg);
        }
        .card-hover:hover {
            border-color: rgba(230, 200, 150, 0.3);
            transform: translateY(-4px);
            box-shadow: var(--shadow-lg);
        }
        .card-hover:focus-visible,
        a:focus-visible,
        button:focus-visible {
            outline: 1px solid var(--accent);
            outline-offset: 2px;
        }
        .eyebrow-tag {
            display: inline-block;
            font-size: 12px;
            text-transform: uppercase;
            letter-spacing: 0.22em;
            color: var(--accent);
            margin-bottom: 16px;
            padding: 4px 12px;
            border-left: 2px solid var(--accent);
            background: var(--accent-ghost);
        }
        .divider-line {
            border: none;
            height: 1px;
            background: linear-gradient(90deg, transparent, var(--line-soft), transparent);
            margin: 40px 0;
        }
        .stat-card {
            background: var(--bg-elev);
            border: 1px solid var(--line-soft);
            border-radius: var(--radius-lg);
            padding: 32px 24px;
            transition: all 0.4s ease;
        }
        .stat-card:hover {
            background: rgba(255, 255, 255, 0.05);
            transform: translateY(-4px);
        }
        .stat-card .number {
            font-family: var(--font-headline);
            font-size: clamp(2.2rem, 4vw, 3.2rem);
            color: var(--accent);
            font-weight: 600;
            line-height: 1.2;
            transition: color 0.4s ease;
        }
        .faq-btn {
            border: none;
            background: none;
            display: flex;
            align-items: center;
            justify-content: space-between;
            cursor: pointer;
            width: 100%;
            padding: 21px 4px;
            font-family: var(--font-body);
            font-size: 17px;
            font-weight: 500;
            color: var(--text-main);
            text-align: left;
        }
        .faq-btn i {
            font-size: 18px;
            transition: transform 0.35s ease;
            color: var(--accent);
        }
        .faq-btn[aria-expanded="true"] i {
            transform: rotate(45deg);
        }
        .accordion-item {
            border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        }
        .accordion-panel {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.35s ease;
        }
        .accordion-panel.open {
            max-height: 400px;
            transition: max-height 0.45s ease;
        }
        @media (max-width: 768px) {
            .accordion-panel.open {
                max-height: none;
            }
        }
        .form-control {
            width: 100%;
            background: #12100d;
            border: 1px solid var(--line-soft);
            color: var(--text-main);
            padding: 13px 16px;
            border-radius: 2px;
            transition: border 0.3s ease, box-shadow 0.3s ease;
        }
        .form-control:focus {
            border-color: var(--accent);
            box-shadow: 0 0 0 3px var(--accent-ghost);
        }
        .form-control::placeholder {
            color: var(--text-dim);
        }
        select.form-control option {
            background: var(--bg-elev);
            color: var(--text-main);
        }
        .hero-bg {
            background-image: linear-gradient(rgba(14, 13, 11, 0.6), rgba(14, 13, 11, 0.9)), url('/assets/images/backpic/back-1.jpg');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
        }
        .card-img {
            width: 100%;
            height: auto;
            object-fit: cover;
            background: linear-gradient(135deg, #2a251d, #1a1713);
        }
        .img-zoom-hover {
            overflow: hidden;
        }
        .img-zoom-hover img {
            transition: transform 0.6s ease;
        }
        .img-zoom-hover:hover img {
            transform: scale(1.05);
        }
        .icon-svg-line {
            stroke: var(--accent);
            fill: none;
            stroke-width: 1.5;
            stroke-linecap: round;
            stroke-linejoin: round;
        }
        .footer {
            background: #090807;
            border-top: 1px solid rgba(230, 200, 150, 0.08);
            padding-top: 70px;
            padding-bottom: 32px;
        }
        .footer-col-title {
            color: var(--accent);
            font-size: 14px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.18em;
            margin-bottom: 20px;
        }
        .footer-link {
            display: block;
            color: var(--text-sub);
            padding: 4px 0;
            font-size: 15px;
        }
        .footer-link:hover {
            color: var(--accent);
        }
        .footer-bottom {
            margin-top: 56px;
            padding-top: 24px;
            border-top: 1px solid rgba(255, 255, 255, 0.04);
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 13px;
            color: var(--text-dim);
        }
        @media (max-width: 768px) {
            .footer-bottom {
                flex-direction: column;
                gap: 12px;
                text-align: center;
            }
            .footer-grid {
                grid-template-columns: 1fr 1fr !important;
                gap: 32px 24px;
            }
        }
        @mixin prefers-reduced-motion {
            @media (prefers-reduced-motion: reduce) {
                * {
                    animation-duration: 0.01ms !important;
                    transition-duration: 0.01ms !important;
                }
            }
        }
        @media (prefers-reduced-motion: reduce) {
            *,
            *::before,
            *::after {
                animation-duration: 0.01ms !important;
                transition-duration: 0.01ms !important;
            }
        }
        .reveal {
            opacity: 0;
            transform: translateY(18px);
            transition: opacity 0.7s ease-out, transform 0.7s ease-out;
        }
        .reveal.visible {
            opacity: 1;
            transform: translateY(0);
        }
        .news-list li {
            list-style: none;
            position: relative;
            padding-left: 18px;
        }
        .news-list li::before {
            content: '›';
            position: absolute;
            left: 0;
            top: 0;
            color: var(--accent);
            font-size: 18px;
            line-height: 1.5;
        }

/* roulang page: category1 */
:root {
    --bg-base: #0e0d0b;
    --bg-elev: #1a1713;
    --surface-glass: rgba(255, 255, 255, 0.04);
    --line-soft: rgba(230, 200, 150, 0.16);
    --accent: #d5aa63;
    --accent-dark: #a57c36;
    --accent-ghost: rgba(215, 170, 99, 0.12);
    --text-main: #f4efe7;
    --text-sub: #a89f9a;
    --text-dim: #6e655f;
    --danger: #d2765a;
    --radius-lg: 4px;
    --radius-md: 2px;
    --shadow-lg: 0 30px 60px rgba(0, 0, 0, 0.35);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.2);
    --font-body: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
    --font-headline: "Iowan Old Style", "Songti SC", "SimSun", serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-base);
    color: var(--text-main);
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent);
}

img {
    max-width: 100%;
    display: block;
}

button,
input,
select,
textarea {
    font-family: inherit;
    outline: none;
}

::selection {
    background: rgba(213, 170, 99, 0.35);
    color: #fff;
}

:focus-visible {
    outline: 1px solid var(--accent);
    outline-offset: 3px;
}

.container-x {
    max-width: 1120px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

.section-pad {
    padding-top: 90px;
    padding-bottom: 90px;
}

.eyebrow {
    font-family: var(--font-headline);
    letter-spacing: 0.28em;
    color: var(--accent);
    font-size: 13px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-headline);
    font-size: clamp(1.8rem, 3.2vw, 2.5rem);
    font-weight: 500;
    letter-spacing: 0.06em;
    line-height: 1.3;
    color: var(--text-main);
}

.section-sub {
    color: var(--text-sub);
    max-width: 720px;
    margin-top: 14px;
    font-size: 15px;
}

.anchor-block {
    display: block;
    position: relative;
    top: -80px;
    visibility: hidden;
}

/* nav */
.nav-wrap {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(14, 13, 11, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: background 0.4s ease, border-color 0.4s ease;
}

.nav-wrap.scrolled {
    background: rgba(14, 13, 11, 0.96);
    border-bottom-color: var(--line-soft);
}

.nav-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    min-height: 72px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
}

.nav-links-left,
.nav-links-right {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links-left {
    justify-content: flex-end;
    padding-right: 24px;
}

.nav-links-right {
    justify-content: flex-start;
    padding-left: 24px;
}

.nav-links-left a,
.nav-links-right a {
    position: relative;
    font-size: 15px;
    color: var(--text-sub);
    letter-spacing: 0.02em;
    padding: 6px 0;
    transition: color 0.3s ease;
}

.nav-links-left a::after,
.nav-links-right a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-links-left a:hover,
.nav-links-right a:hover,
.nav-links-left a.active,
.nav-links-right a.active {
    color: var(--accent);
}

.nav-links-left a:hover::after,
.nav-links-right a:hover::after,
.nav-links-left a.active::after,
.nav-links-right a.active::after {
    width: 100%;
}

.nav-logo {
    text-align: center;
}

.nav-logo a {
    font-family: var(--font-headline);
    font-size: 23px;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--text-main);
    white-space: nowrap;
}

.nav-logo a:hover {
    color: var(--accent);
}

.nav-cta {
    background: var(--accent);
    color: #201a14 !important;
    font-size: 14px !important;
    padding: 9px 20px !important;
    border-radius: 2px;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background: #e0b777;
    transform: translateY(-1px);
    color: #201a14 !important;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 24px;
    cursor: pointer;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.hamburger:hover {
    background: rgba(255, 255, 255, 0.06);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #12100d;
    z-index: 990;
    padding: 100px 32px 40px;
    flex-direction: column;
    gap: 4px;
    overflow-y: auto;
}

.mobile-menu.open {
    display: flex;
}

.mobile-menu a {
    font-size: 20px;
    font-family: var(--font-headline);
    color: var(--text-sub);
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: color 0.3s ease;
}

.mobile-menu a:hover,
.mobile-menu a.active-mobile {
    color: var(--accent);
}

.mobile-menu .close-btn {
    position: absolute;
    top: 18px;
    right: 22px;
    background: none;
    border: 1px solid var(--line-soft);
    color: var(--text-main);
    font-size: 22px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 4px;
}

/* buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 15px;
    padding: 14px 26px;
    border-radius: 2px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent);
    color: #201a14 !important;
    font-weight: 600;
}

.btn-primary:hover {
    background: #e0b777;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-primary:active {
    transform: translateY(0px);
}

.btn-secondary {
    background: transparent;
    border-color: rgba(230, 200, 150, 0.35);
    color: var(--text-main) !important;
}

.btn-secondary:hover {
    border-color: rgba(213, 170, 99, 0.65);
    background: var(--accent-ghost);
    transform: translateY(-2px);
}

.btn-secondary:active {
    transform: translateY(0px);
}

/* category hero */
.cat-hero {
    position: relative;
    padding: 150px 0 84px;
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid rgba(230, 200, 150, 0.12);
}

.cat-hero:before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 20%, rgba(14, 13, 11, 0.28) 0%, rgba(14, 13, 11, 0.88) 90%);
    pointer-events: none;
}

.cat-hero .container-x {
    position: relative;
    z-index: 2;
}

.breadcrumb {
    font-size: 13px;
    color: var(--text-sub);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
}

.breadcrumb a {
    color: var(--text-sub);
}

.breadcrumb a:hover {
    color: var(--accent);
}

.breadcrumb-sep {
    color: var(--text-dim);
}

.cat-hero h1 {
    font-family: var(--font-headline);
    font-weight: 600;
    font-size: clamp(2rem, 4.6vw, 3.25rem);
    line-height: 1.2;
    letter-spacing: 0.08em;
    color: var(--text-main);
    margin: 10px 0 18px;
}

.hero-lead {
    max-width: 720px;
    color: var(--text-sub);
    font-size: 16px;
    line-height: 1.9;
    margin: 0;
}

.hero-lead strong {
    color: var(--accent);
    font-weight: 500;
}

/* filter */
.filter-area {
    padding: 26px 0;
    border-bottom: 1px solid rgba(230, 200, 150, 0.12);
    background: rgba(26, 23, 19, 0.35);
}

.filter-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.filter-pills {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-tag {
    display: inline-flex;
    align-items: center;
    border: 1px solid transparent;
    background: transparent;
    color: var(--text-sub);
    font-size: 14px;
    padding: 8px 18px;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-tag:hover {
    color: var(--accent);
    border-color: var(--line-soft);
}

.filter-tag.active {
    background: var(--accent-ghost);
    border-color: rgba(213, 170, 99, 0.4);
    color: var(--accent);
}

.sort-select {
    background: var(--bg-elev);
    color: var(--text-sub);
    border: 1px solid var(--line-soft);
    border-radius: 4px;
    padding: 8px 32px 8px 14px;
    font-size: 13px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23a89f9a' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.sort-select:hover {
    border-color: rgba(213, 170, 99, 0.45);
}

.sort-select:focus {
    box-shadow: 0 0 0 3px var(--accent-ghost);
}

/* entry cards */
.library-section {
    padding: 90px 0 40px;
}

.entry-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-top: 28px;
}

.entry-card {
    display: grid;
    grid-template-columns: 320px 1fr;
    background: var(--bg-elev);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
}

.entry-card:hover {
    transform: translateY(-4px);
    border-color: rgba(230, 200, 150, 0.32);
    box-shadow: var(--shadow-md);
}

.entry-card.is-hidden {
    display: none;
}

.entry-thumb {
    height: 100%;
    min-height: 215px;
    position: relative;
    background: #211d19;
}

.entry-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 215px;
}

.entry-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 55%, rgba(26, 23, 19, 0.65) 100%);
}

.thumb-meta {
    position: absolute;
    left: 14px;
    bottom: 14px;
    z-index: 3;
    font-size: 11px;
    letter-spacing: 0.3em;
    color: rgba(244, 239, 231, 0.85);
    background: rgba(14, 13, 11, 0.42);
    backdrop-filter: blur(6px);
    padding: 6px 12px;
    border-radius: 2px;
    border-left: 1px solid rgba(213, 170, 99, 0.5);
}

.entry-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px 32px 28px;
    position: relative;
}

.entry-topline {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.entry-badge {
    font-size: 11px;
    color: var(--accent);
    border: 1px solid rgba(213, 170, 99, 0.4);
    background: var(--accent-ghost);
    padding: 4px 10px;
    border-radius: 999px;
    letter-spacing: 0.15em;
}

.entry-code {
    color: var(--text-dim);
    font-size: 12px;
    letter-spacing: 0.1em;
}

.entry-title {
    font-family: var(--font-headline);
    font-size: 21px;
    font-weight: 500;
    color: var(--text-main);
    line-height: 1.4;
    margin: 4px 0 10px;
    letter-spacing: 0.03em;
}

.entry-desc {
    color: var(--text-sub);
    font-size: 14px;
    line-height: 1.8;
    max-width: 600px;
    margin: 0;
}

.entry-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(230, 200, 150, 0.1);
}

.entry-tags {
    display: flex;
    gap: 18px;
    color: var(--text-dim);
    font-size: 12px;
}

.entry-arrow {
    color: var(--accent);
    font-size: 20px;
    transition: transform 0.3s ease;
    line-height: 1;
}

.entry-card:hover .entry-arrow {
    transform: translateX(6px);
}

.load-more-wrap {
    text-align: center;
    padding: 56px 0 90px;
}

.btn-load-more {
    border: 1px solid rgba(230, 200, 150, 0.3);
    color: var(--text-sub);
    padding: 13px 42px;
    background: transparent;
    border-radius: 2px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-load-more:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-ghost);
}

.btn-load-more.loaded {
    opacity: 0.55;
    cursor: default;
    pointer-events: none;
}

/* guide section */
.guide-section {
    background: rgba(26, 23, 19, 0.35);
    border-top: 1px solid rgba(230, 200, 150, 0.1);
    border-bottom: 1px solid rgba(230, 200, 150, 0.1);
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin-top: 38px;
}

.guide-item {
    background: var(--bg-elev);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    transition: all 0.3s ease;
}

.guide-item:hover {
    transform: translateY(-4px);
    border-color: rgba(213, 170, 99, 0.35);
    background: #221d18;
    box-shadow: var(--shadow-md);
}

.guide-index {
    font-family: var(--font-headline);
    font-size: 26px;
    color: var(--accent);
    opacity: 0.5;
    display: block;
    margin-bottom: 16px;
}

.guide-item h3 {
    font-size: 17px;
    font-weight: 500;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
    color: var(--text-main);
}

.guide-item p {
    color: var(--text-sub);
    font-size: 13px;
    line-height: 1.75;
}

/* hot-list */
.hot-section {
    padding: 80px 0 30px;
}

.hot-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 34px;
}

.hot-card {
    border-left: 2px solid rgba(213, 170, 99, 0.45);
    background: rgba(26, 23, 19, 0.65);
    padding: 24px 26px;
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    transition: all 0.3s ease;
}

.hot-card:hover {
    background: var(--bg-elev);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.hot-no {
    font-family: var(--font-headline);
    color: var(--accent);
    font-size: 14px;
    letter-spacing: 0.2em;
    display: block;
    margin-bottom: 12px;
}

.hot-card h3 {
    font-size: 16px;
    margin-bottom: 8px;
    font-weight: 500;
}

.hot-card p {
    color: var(--text-sub);
    font-size: 13px;
    line-height: 1.7;
    margin: 0;
}

/* brand strip */
.brand-strip {
    padding: 54px 0;
    background: var(--bg-elev);
    border-top: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
}

.brand-strip-title {
    display: flex;
    align-items: center;
    gap: 20px;
    font-family: var(--font-headline);
    font-size: 18px;
    letter-spacing: 0.14em;
    color: var(--text-main);
    margin-bottom: 26px;
}

.brand-strip-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(230, 200, 150, 0.14);
}

.standard-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.standard-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.standard-icon {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border: 1px solid rgba(213, 170, 99, 0.45);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    background: var(--accent-ghost);
    font-size: 15px;
}

.standard-item h4 {
    color: var(--text-main);
    font-size: 14px;
    margin-bottom: 5px;
    font-weight: 500;
    letter-spacing: 0.06em;
}

.standard-item p {
    color: var(--text-dim);
    font-size: 12px;
    margin: 0;
    line-height: 1.7;
}

/* dual CTA */
.cta-area {
    padding: 100px 0 110px;
    position: relative;
    background-size: cover;
    background-position: center;
}

.cta-area::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(14, 13, 11, 0.72) 12%, rgba(14, 13, 11, 0.9) 100%);
}

.cta-area .container-x {
    position: relative;
    z-index: 2;
}

.cta-inner {
    max-width: 620px;
}

.cta-inner h2 {
    font-family: var(--font-headline);
    font-weight: 500;
    font-size: clamp(1.7rem, 3vw, 2.5rem);
    line-height: 1.3;
    letter-spacing: 0.05em;
    color: var(--text-main);
    margin-bottom: 14px;
}

.cta-inner p {
    color: var(--text-sub);
    font-size: 15px;
    margin-bottom: 28px;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-note {
    color: var(--text-dim);
    font-size: 12px;
    margin-top: 22px;
}

.cta-note i {
    color: var(--accent);
    margin-right: 4px;
}

/* FAQ */
.faq-section {
    background: var(--bg-elev);
    padding: 90px 0;
    border-bottom: 1px solid var(--line-soft);
}

.faq-wrap {
    max-width: 780px;
    margin: 44px auto 0;
}

.faq-item {
    border-bottom: 1px solid rgba(230, 200, 150, 0.14);
}

.faq-item:first-child {
    border-top: 1px solid rgba(230, 200, 150, 0.14);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    background: none;
    border: none;
    text-align: left;
    color: var(--text-main);
    font-size: 17px;
    font-weight: 500;
    padding: 22px 4px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--accent);
}

.faq-question .faq-qmark {
    font-family: var(--font-headline);
    color: var(--accent);
    margin-right: 14px;
    font-size: 16px;
}

.faq-icon {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    border: 1px solid var(--line-soft);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--text-sub);
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
    border-color: var(--accent);
    color: var(--accent);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-answer-inner {
    padding: 4px 4px 24px 36px;
    color: var(--text-sub);
    font-size: 15px;
    line-height: 1.9;
    max-width: 680px;
}

.faq-answer a {
    color: var(--accent);
    border-bottom: 1px solid transparent;
}

.faq-answer a:hover {
    border-bottom-color: var(--accent);
}

/* footer */
.footer {
    background: #0a0908;
    padding: 70px 0 30px;
    border-top: 1px solid rgba(230, 200, 150, 0.08);
}

.footer-col-title {
    color: var(--text-sub);
    font-size: 13px;
    letter-spacing: 0.2em;
    margin-bottom: 18px;
    font-weight: 500;
}

.footer-link {
    display: block;
    color: var(--text-dim);
    font-size: 13px;
    line-height: 1.7;
    padding: 5px 0;
    transition: color 0.25s ease, padding-left 0.25s ease;
}

.footer-link:hover {
    color: var(--accent);
    padding-left: 4px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    border-top: 1px solid rgba(230, 200, 150, 0.08);
    margin-top: 44px;
    padding-top: 24px;
    color: #57504a;
    font-size: 12px;
}

/* responsive */
@media (max-width: 1024px) {
    .nav-links-left {
        gap: 22px;
        padding-right: 14px;
    }
    .nav-links-right {
        gap: 20px;
        padding-left: 14px;
    }
    .nav-links-left a,
    .nav-links-right a {
        font-size: 14px;
    }
    .entry-card {
        grid-template-columns: 280px 1fr;
    }
    .guide-grid {
        gap: 18px;
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .nav-links-left,
    .nav-links-right {
        display: none;
    }
    .nav-inner {
        grid-template-columns: 1fr auto 44px;
        padding: 0 18px;
    }
    .nav-logo {
        text-align: center;
    }
    .hamburger {
        display: inline-flex;
        justify-self: end;
    }
    .entry-card {
        grid-template-columns: 1fr;
    }
    .entry-thumb,
    .entry-thumb img {
        min-height: 200px;
        height: 230px;
    }
    .entry-thumb::after {
        background: linear-gradient(180deg, transparent 55%, rgba(26, 23, 19, 0.68) 100%);
    }
    .standard-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px 18px;
    }
    .hot-grid {
        gap: 14px;
    }
}

@media (max-width: 640px) {
    .section-pad {
        padding-top: 60px;
        padding-bottom: 60px;
    }
    .filter-row {
        flex-direction: column;
        align-items: flex-start;
    }
    .filter-pills {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 6px;
        width: 100%;
        -webkit-overflow-scrolling: touch;
    }
    .filter-tag {
        white-space: nowrap;
        flex: 0 0 auto;
    }
    .sort-select {
        width: 100%;
    }
    .library-section {
        padding-top: 60px;
    }
    .entry-body {
        padding: 24px 22px;
    }
    .entry-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .hot-grid {
        grid-template-columns: 1fr;
    }
    .guide-grid {
        grid-template-columns: 1fr;
    }
    .standard-grid {
        grid-template-columns: 1fr;
    }
    .cta-buttons .btn {
        width: 100%;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .faq-answer-inner {
        padding-left: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
