:root {
    --bg: #f6f6f7;
    --surface: #ffffff;
    --surface-soft: #f2f2f4;
    --surface-dark: #111214;
    --surface-darker: #090a0c;
    --text: #121316;
    --muted: #70737c;
    --line: #e8e8ec;
    --line-dark: rgba(255, 255, 255, 0.1);
    --accent: #4d57ff;
    --accent-soft: #eef0ff;
    --brand: #0e5c4a;
    --white: #ffffff;
    --shadow: 0 18px 40px rgba(14, 17, 24, 0.08);
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --container: 1480px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    color: var(--text);
    background: var(--bg);
}

a {
    color: inherit;
    text-decoration: none;
}

img,
video {
    display: block;
    max-width: 100%;
}

.site-shell {
    min-height: 100vh;
    background: var(--bg);
}

.topbar {
    height: 20px;
    background: #000;
    color: #ff5ec5;
    font-size: 12px;
    line-height: 20px;
    text-align: center;
}

.site-container {
    width: min(var(--container), calc(100% - 48px));
    margin: 0 auto;
}

.site-header {
    background: var(--surface);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 78px;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 29px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.site-brand-mark {
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 18px;
    border-radius: 4px;
    background: linear-gradient(135deg, #000 0%, #000 48%, transparent 48%), linear-gradient(225deg, #000 0%, #000 48%, transparent 48%);
    color: transparent;
}

.site-brand-light .site-brand-mark {
    background: linear-gradient(135deg, #fff 0%, #fff 48%, transparent 48%), linear-gradient(225deg, #fff 0%, #fff 48%, transparent 48%);
}

.site-brand-name {
    font-size: 29px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    flex: 1;
    margin-left: 22px;
}

.site-nav a,
.site-action-link {
    font-size: 15px;
    color: #1c1d22;
}

.site-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.site-action-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 10px;
    background: #15161a;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

.site-action-link.muted {
    color: var(--muted);
}

.site-main {
    padding-bottom: 72px;
}

.hero-section {
    padding: 18px 0 0;
}

.hero-banner {
    position: relative;
    overflow: hidden;
    min-height: 505px;
    border-radius: 20px;
    background: #111;
}

.hero-banner-image,
.hero-banner-overlay {
    position: absolute;
    inset: 0;
}

.hero-banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-banner-overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.58) 100%);
}

.hero-banner-content {
    position: relative;
    z-index: 2;
    min-height: 505px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 42px 24px 38px;
    color: #fff;
}

.hero-breadcrumb {
    margin-bottom: 14px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.hero-banner-content h1,
.listing-hero h1,
.taxonomy-hero-copy h1,
.detail-summary h1 {
    margin: 0 0 12px;
    font-size: clamp(2.2rem, 5vw, 3.9rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.hero-banner-content p,
.listing-hero p,
.taxonomy-hero-copy p,
.detail-subtitle {
    max-width: 820px;
    margin: 0 0 20px;
    font-size: 1.05rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.88);
}

.hero-search-form {
    width: min(760px, 100%);
}

.hero-search {
    display: grid;
    grid-template-columns: 18px 1fr auto;
    align-items: center;
    gap: 10px;
    height: 56px;
    padding: 0 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.97);
}

.hero-search-icon {
    color: #7a7d85;
    font-size: 16px;
}

.hero-search input {
    border: 0;
    outline: none;
    background: transparent;
    color: #111;
    font-size: 16px;
}

.hero-search button {
    min-height: 36px;
    padding: 0 14px;
    border: 0;
    border-radius: 10px;
    background: #15161a;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
}

.hero-tags a {
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    color: #fff;
    font-size: 12px;
}

.shortcut-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 14px;
}

.shortcut-card {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 76px;
    padding: 10px;
    border-radius: 14px;
    background: var(--surface-soft);
}

.shortcut-card img {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    object-fit: cover;
}

.shortcut-card span {
    font-size: 14px;
    font-weight: 600;
}

.content-section,
.value-section,
.feature-section,
.faq-section,
.detail-page {
    padding: 54px 0 0;
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.section-head.compact {
    margin-bottom: 14px;
}

.section-head h2,
.faq-layout h2,
.value-copy h2,
.feature-copy h2 {
    margin: 0;
    font-size: 34px;
    line-height: 1.14;
    letter-spacing: -0.03em;
}

.section-head h3 {
    margin: 0;
    font-size: 28px;
    line-height: 1.16;
}

.section-head p,
.value-copy p,
.feature-copy p,
.faq-item p,
.listing-card-body p,
.detail-content,
.taxonomy-hero-meta,
.section-link {
    color: var(--muted);
    line-height: 1.65;
}

.section-link {
    font-size: 14px;
    font-weight: 600;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.video-card,
.category-card,
.tile-card,
.listing-card-media {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 14px;
    background: #ddd;
}

.video-card {
    aspect-ratio: 1.44 / 1;
}

.video-card img,
.category-card img,
.tile-card img,
.listing-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-card-badge,
.video-card-time {
    position: absolute;
    bottom: 8px;
    padding: 4px 7px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
}

.video-card-badge {
    left: 8px;
}

.video-card-time {
    right: 8px;
}

.value-copy {
    text-align: center;
    margin-bottom: 28px;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 34px;
    text-align: center;
}

.value-card strong {
    display: block;
    margin-bottom: 10px;
    font-size: 24px;
}

.value-card span {
    color: var(--muted);
    font-size: 16px;
}

.category-grid,
.tile-grid.wide {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.category-card span,
.tile-card span {
    display: block;
    margin-top: 10px;
    font-size: 16px;
    color: #15161a;
}

.tile-card {
    background: transparent;
}

.tile-card img {
    aspect-ratio: 1.36 / 1;
    border-radius: 12px;
}

.tile-card small {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 13px;
}

.category-block + .category-block {
    margin-top: 38px;
}

.tile-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.feature-layout {
    display: grid;
    grid-template-columns: 1.02fr 0.98fr;
    gap: 78px;
    align-items: center;
}

.feature-art {
    position: relative;
}

.feature-art img {
    border-radius: 28px;
    box-shadow: 0 26px 70px rgba(84, 102, 255, 0.24);
}

.feature-art-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.feature-points {
    display: grid;
    gap: 28px;
    margin-top: 30px;
}

.feature-points strong {
    display: block;
    margin-bottom: 8px;
    font-size: 28px;
}

.faq-layout {
    display: grid;
    grid-template-columns: 0.94fr 1.06fr;
    gap: 56px;
    padding-bottom: 56px;
}

.faq-list {
    border-top: 1px solid var(--line);
}

.faq-item {
    border-bottom: 1px solid var(--line);
}

.faq-item summary {
    position: relative;
    padding: 20px 24px 20px 0;
    list-style: none;
    cursor: pointer;
    font-size: 20px;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    position: absolute;
    top: 18px;
    right: 0;
    color: #333;
}

.faq-item[open] summary::after {
    content: "-";
}

.faq-item p {
    margin: 0 0 18px;
}

.listing-hero {
    padding: 32px 0 0;
}

.listing-hero-inner,
.listing-stats,
.filters-bar,
.listing-card-meta,
.taxonomy-hero-meta,
.detail-pills,
.detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.listing-hero-inner,
.filters-bar {
    justify-content: space-between;
    align-items: center;
}

.listing-hero p,
.taxonomy-hero-copy p {
    color: var(--muted);
}

.filters-bar {
    margin-top: 20px;
}

.filter-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-links a {
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--muted);
    font-size: 14px;
}

.filter-links a.active {
    background: #15161a;
    color: #fff;
    border-color: #15161a;
}

.listing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.listing-card {
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.listing-card-media {
    aspect-ratio: 1.34 / 1;
}

.listing-card-body {
    padding: 20px;
}

.listing-card-meta {
    justify-content: space-between;
    font-size: 13px;
    color: var(--muted);
}

.listing-card h3 {
    margin: 10px 0 8px;
    font-size: 22px;
    line-height: 1.2;
}

.taxonomy-hero {
    display: grid;
    grid-template-columns: 1.02fr 0.98fr;
    gap: 28px;
    align-items: center;
}

.taxonomy-hero-media img {
    width: 100%;
    border-radius: 24px;
    aspect-ratio: 1.38 / 1;
    object-fit: cover;
}

.taxonomy-hero-meta span,
.detail-pills span {
    padding: 10px 14px;
    border-radius: 999px;
    background: var(--surface-soft);
    color: #1c1d22;
    font-size: 14px;
}

.detail-layout {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 32px;
    align-items: start;
}

.detail-media-panel {
    overflow: hidden;
    border-radius: 24px;
    background: #0f1014;
}

.detail-media-panel img,
.detail-media-panel video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-summary {
    padding-top: 8px;
}

.detail-summary .hero-breadcrumb a,
.detail-summary .hero-breadcrumb {
    color: var(--muted);
}

.detail-subtitle {
    color: var(--muted);
}

.detail-price {
    margin: 10px 0 18px;
    font-size: 34px;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.detail-content {
    margin-top: 24px;
}

.detail-content p {
    margin: 0 0 16px;
}

.keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.keywords span {
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: #3038bb;
    font-size: 13px;
}

.empty-state {
    padding: 28px;
    border: 1px dashed var(--line);
    border-radius: 18px;
    background: #fff;
    color: var(--muted);
}

.site-footer {
    margin-top: 64px;
    padding: 42px 0 50px;
    background: #101010;
    color: #fff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 44px;
}

.footer-brand p,
.site-footer a {
    color: rgba(255, 255, 255, 0.78);
}

.site-footer h4 {
    margin: 0 0 14px;
    color: #f05ad0;
    font-size: 15px;
}

.site-footer a {
    display: block;
    margin-bottom: 10px;
    font-size: 15px;
}

@media (max-width: 1200px) {
    .video-grid,
    .category-grid,
    .tile-grid,
    .tile-grid.wide {
        grid-template-columns: repeat(3, 1fr);
    }

    .listing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 960px) {
    .header-inner,
    .site-nav,
    .site-actions,
    .shortcut-grid,
    .video-grid,
    .value-grid,
    .category-grid,
    .tile-grid,
    .tile-grid.wide,
    .feature-layout,
    .faq-layout,
    .taxonomy-hero,
    .detail-layout,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .header-inner,
    .listing-hero-inner,
    .filters-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .site-nav {
        margin-left: 0;
        gap: 18px;
        flex-wrap: wrap;
    }

    .shortcut-grid {
        display: grid;
    }
}

@media (max-width: 720px) {
    .site-container {
        width: min(var(--container), calc(100% - 28px));
    }

    .hero-search {
        grid-template-columns: 1fr;
        height: auto;
        padding: 14px;
        border-radius: 20px;
    }

    .video-grid,
    .listing-grid,
    .category-grid,
    .tile-grid,
    .tile-grid.wide,
    .value-grid {
        grid-template-columns: 1fr;
    }

    .hero-banner,
    .hero-banner-content {
        min-height: 540px;
    }

    .site-brand-name {
        font-size: 24px;
    }
}
