/* 全局样式 */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Noto+Sans+SC:wght@300;400;500;700&display=swap');

:root {
    --primary-color: #6366f1;
    --secondary-color: #8b5cf6;
    --accent-color: #ec4899;
    --bg-primary: #0f0f23;
    --bg-secondary: #1a1a3e;
    --bg-card: rgba(30, 30, 70, 0.6);
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --border-color: rgba(99, 102, 241, 0.3);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow-soft: 0 0.625rem 1.875rem rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 1.25rem rgba(99, 102, 241, 0.3);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, #0a0a2e 100%);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(236, 72, 153, 0.1) 0%, transparent 40%);
    pointer-events: none;
    z-index: -1;
}

.container {
    max-width: 75rem;
    margin: 0 auto;
    padding: 0 2rem;
}

/* 导航栏 */
.navbar {
    background: var(--glass-bg);
    backdrop-filter: blur(1.25rem);
    -webkit-backdrop-filter: blur(1.25rem);
    border-bottom: 0.0625rem solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 0.25rem 1.875rem rgba(0, 0, 0, 0.3);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.nav-brand h1 {
    font-size: 1.35rem;
    font-weight: 700;
    white-space: nowrap;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 0.25rem;
    flex-wrap: nowrap;
    overflow: visible;
    scrollbar-width: none;
}

.nav-menu::-webkit-scrollbar {
    display: none;
}

.nav-menu li {
    flex: 0 0 auto;
}

.nav-item.dropdown {
    position: relative;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 0.9rem;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 0.95rem;
    line-height: 1.2;
    white-space: nowrap;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.nav-dropdown-toggle {
    appearance: none;
    border: 0;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
}

.nav-dropdown-toggle::after {
    content: '▾';
    margin-left: 0.35rem;
    font-size: 0.72em;
    line-height: 1;
    transition: transform 0.2s ease;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.nav-link:hover {
    color: var(--text-primary);
    transform: translateY(-0.125rem);
}

.nav-link:hover::before {
    opacity: 0.2;
}

.nav-link.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-primary);
    box-shadow: var(--shadow-glow);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 9.375rem;
    background: var(--bg-secondary);
    backdrop-filter: blur(1.25rem);
    -webkit-backdrop-filter: blur(1.25rem);
    border: 0.0625rem solid var(--glass-border);
    border-radius: 0.5rem;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-0.625rem);
    transition: var(--transition);
    box-shadow: 0 0.25rem 1.25rem rgba(0, 0, 0, 0.3);
    pointer-events: none;
}

.dropdown-menu a {
    display: block;
    padding: 0.6rem 1.2rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition);
}

.dropdown-menu a:hover {
    color: var(--text-primary);
    background: rgba(99, 102, 241, 0.1);
}

.dropdown-menu a.active {
    color: var(--text-primary);
    background: rgba(99, 102, 241, 0.15);
}

.nav-item.dropdown:hover .dropdown-menu,
.nav-item.dropdown:focus-within .dropdown-menu,
.nav-item.dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.nav-item.dropdown:hover .nav-dropdown-toggle::after,
.nav-item.dropdown:focus-within .nav-dropdown-toggle::after,
.nav-item.dropdown.open .nav-dropdown-toggle::after {
    transform: rotate(180deg);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 0.25rem;
}

.hamburger span {
    width: 1.5625rem;
    height: 0.1875rem;
    background: var(--text-primary);
    border-radius: 0.125rem;
    transition: var(--transition);
}

/* 主内容区 */
.main-content {
    min-height: calc(100vh - 12.5rem);
    padding: 3rem 0;
}

.section {
    opacity: 0;
    transform: translateY(1.25rem);
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(1.25rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 首页 - Hero区域 */
.hero {
    text-align: center;
    padding: 4rem 0 6rem;
}

.hero h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 5s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { filter: hue-rotate(0deg); }
    50% { filter: hue-rotate(30deg); }
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 4rem;
}

.mod-description {
    max-width: 60rem;
    margin: 0 auto;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.mod-lead {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
}

.homepage-entry-block {
    padding: 1.25rem 1.5rem;
    border: 0.0625rem solid var(--glass-border);
    border-radius: 1rem;
    background: var(--bg-card);
    box-shadow: var(--shadow-soft);
}

.homepage-entry-block h3 {
    margin-bottom: 0.85rem;
    font-size: 1.3rem;
    color: var(--text-primary);
}

.homepage-entry-list {
    margin: 0;
    padding-left: 1.5rem;
    color: var(--text-secondary);
}

.homepage-entry-list li + li {
    margin-top: 0.75rem;
}

.homepage-entry-link {
    color: #8ab4ff;
    font-weight: 600;
    text-decoration: none;
}

.homepage-entry-link:hover {
    color: #b9d1ff;
    text-decoration: underline;
}

.feature-block h3 {
    margin: 1rem 0 0.75rem;
    font-size: 1.3rem;
    color: var(--text-primary);
}

.feature-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.feature-pill {
    padding: 0.65rem 0.95rem;
    border: 0.0625rem solid var(--glass-border);
    border-radius: 62.4375rem;
    background: var(--glass-bg);
    color: var(--text-primary);
    font-weight: 600;
    letter-spacing: 0.01em;
    backdrop-filter: blur(0.5rem);
    -webkit-backdrop-filter: blur(0.5rem);
}

.feature-note {
    margin: 0.5rem 0 0;
    color: var(--text-secondary);
    line-height: 1.6;
}

.contact-links {
    margin-top: 2.5rem;
}

.contact-links h3 {
    font-size: 1.6rem;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(16.25rem, 1fr));
    gap: 1rem;
}

.contact-card {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1.25rem 1.5rem;
    border: 0.0625rem solid var(--glass-border);
    border-radius: 0.875rem;
    background: var(--bg-card);
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
    box-shadow: var(--shadow-soft);
}

.contact-card:hover {
    transform: translateY(-0.25rem);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(139, 92, 246, 0.08));
}

.contact-title {
    font-size: 1.1rem;
    font-weight: 700;
}

.contact-sub {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.hero-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15.625rem, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.card {
    background: var(--bg-card);
    backdrop-filter: blur(0.625rem);
    -webkit-backdrop-filter: blur(0.625rem);
    border: 0.0625rem solid var(--glass-border);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.card:hover {
    transform: translateY(-0.5rem) scale(1.02);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary-color);
}

.card:hover::before {
    opacity: 0.1;
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-0.625rem); }
}

.card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* 快速导航 */
.quick-links {
    margin-top: 6rem;
    padding: 3rem 0;
    background: var(--glass-bg);
    backdrop-filter: blur(0.625rem);
    -webkit-backdrop-filter: blur(0.625rem);
    border-radius: 1.25rem;
    border: 0.0625rem solid var(--glass-border);
}

.quick-links h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.link-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(12.5rem, 1fr));
    gap: 1.5rem;
    padding: 0 2rem;
}

.quick-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: var(--bg-card);
    backdrop-filter: blur(0.625rem);
    -webkit-backdrop-filter: blur(0.625rem);
    border: 0.0625rem solid var(--glass-border);
    border-radius: 0.75rem;
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition);
    gap: 1rem;
}

.quick-link:hover {
    transform: translateY(-0.3125rem);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
}

.quick-link span:first-child {
    font-size: 2.5rem;
}

.quick-link span:last-child {
    font-weight: 500;
}

/* 页面头部 */
.page-header {
    text-align: center;
    padding: 3rem 0 4rem;
}

.page-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 5s ease infinite;
}

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

.hot-take-marquee {
    position: relative;
    z-index: 30;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding: 0.8rem 0.85rem 0.65rem 2.55rem;
    border: 0.125rem dashed rgba(56, 189, 248, 0.85);
    border-radius: 1rem;
    background: rgba(15, 23, 42, 0.28);
    overflow: visible;
}

.hot-take-marquee-actions {
    position: absolute;
    top: 0.4rem;
    left: 0.55rem;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.hot-take-marquee-close {
    position: relative;
    z-index: 3;
    width: 1.65rem;
    height: 1.65rem;
    border: 0.0625rem solid rgba(120, 193, 255, 0.45);
    border-radius: 62.4375rem;
    background: rgba(90, 167, 255, 0.14);
    color: #d9eeff;
    font: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}

.hot-take-marquee-close:hover {
    background: rgba(90, 167, 255, 0.24);
}

.hot-take-marquee-interval-wrap {
    position: absolute;
    top: 0.4rem;
    right: 0.7rem;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.12rem 0.45rem;
    border-radius: 62.4375rem;
    border: 0.0625rem solid rgba(120, 193, 255, 0.24);
    background: rgba(15, 23, 42, 0.48);
}

.hot-take-marquee-interval-label {
    color: #cbd5e1;
    font-size: 0.72rem;
    line-height: 1;
}

.hot-take-marquee-interval {
    width: 2.8rem;
    min-height: 1.55rem;
    padding: 0 0.15rem;
    border: none;
    background: transparent;
    color: #e2e8f0;
    font: inherit;
    font-size: 0.8rem;
    text-align: center;
}

.hot-take-marquee-interval:focus {
    outline: none;
}

.hot-take-marquee.collapsed {
    min-height: 0;
    padding: 0;
    border-width: 0 0 0.125rem;
    border-style: solid;
    border-color: rgba(56, 189, 248, 0.85);
    border-radius: 0;
    background: transparent;
}

.hot-take-marquee.collapsed .hot-take-marquee-label,
.hot-take-marquee.collapsed .hot-take-marquee-viewport,
.hot-take-marquee.collapsed .hot-take-marquee-interval-wrap {
    display: none;
}

.hot-take-marquee.collapsed .hot-take-marquee-actions {
    top: -0.55rem;
    left: 0;
}

.hot-take-marquee.collapsed .hot-take-marquee-close {
    background: rgba(56, 189, 248, 0.2);
}

.hot-take-marquee-label {
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
    padding: 0.3rem 0.7rem;
    border-radius: 62.4375rem;
    background: rgba(56, 189, 248, 0.14);
    color: #7dd3fc;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
}

.hot-take-marquee-viewport {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
}

.hot-take-marquee-track {
    display: flex;
    width: max-content;
    min-width: 100%;
    animation: hot-take-marquee-scroll var(--hot-take-duration, 28s) linear infinite;
}

.hot-take-marquee-track.is-static {
    width: 100%;
    animation: none;
}

.hot-take-marquee-group {
    display: inline-flex;
    align-items: center;
    gap: 1.25rem;
    flex: 0 0 auto;
    min-width: max-content;
    padding-right: 1.25rem;
}

.hot-take-marquee-item {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #e2e8f0;
    white-space: nowrap;
    cursor: pointer;
}

.hot-take-marquee-target {
    color: #fde68a;
    font-weight: 700;
}

.hot-take-marquee-content {
    min-width: 0;
}

.hot-take-marquee-author {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

@keyframes hot-take-marquee-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* 内容占位符 */
.content-placeholder {
    background: var(--bg-card);
    backdrop-filter: blur(0.625rem);
    -webkit-backdrop-filter: blur(0.625rem);
    border: 0.0625rem solid var(--glass-border);
    border-radius: 1rem;
    padding: 3rem;
    text-align: center;
    margin-top: 2rem;
}

.content-placeholder p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.content-placeholder p:first-child {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.config-tool-grid {
    display: grid;
    gap: 1.25rem;
    margin-top: 2rem;
}

.config-tool-card {
    background: var(--bg-card);
    backdrop-filter: blur(0.625rem);
    -webkit-backdrop-filter: blur(0.625rem);
    border: 0.0625rem solid var(--glass-border);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: var(--shadow-soft);
}

.config-tool-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.85rem;
}

.config-tool-card-header h3 {
    font-size: 1.3rem;
    margin: 0;
}

.config-tool-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.5rem;
    padding: 0.55rem 1rem;
    border-radius: 62.4375rem;
    border: 0.0625rem solid rgba(129, 140, 248, 0.45);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.26), rgba(139, 92, 246, 0.22));
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
}

.config-tool-link:hover {
    transform: translateY(-0.0625rem);
    box-shadow: var(--shadow-glow);
}

.config-tool-description {
    color: var(--text-secondary);
    margin: 0;
}

.config-tool-card-wide {
    overflow: hidden;
}

.config-tool-embed-shell {
    margin-top: 1rem;
    border-radius: 0.9rem;
    overflow: hidden;
    border: 0.0625rem solid rgba(129, 140, 248, 0.24);
    background: rgba(2, 6, 23, 0.96);
}

.config-tool-embed {
    display: block;
    width: 100%;
    min-height: 48rem;
    border: 0;
    background: #ffffff;
}

/* 页脚 */
.footer {
    background: var(--glass-bg);
    backdrop-filter: blur(1.25rem);
    -webkit-backdrop-filter: blur(1.25rem);
    border-top: 0.0625rem solid var(--glass-border);
    padding: 2rem 0;
    margin-top: auto;
    text-align: center;
}

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

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

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

.footer-beian {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    margin-top: 0.35rem;
}

.footer-beian-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.footer-beian-link img {
    width: 1.125rem;
    height: 1.125rem;
    object-fit: contain;
}

/* 响应式设计 */
@media (max-width: 48rem) {
    .navbar .container {
        padding: 1rem;
    }

    .nav-brand h1 {
        font-size: 1.2rem;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-secondary);
        backdrop-filter: blur(1.25rem);
        -webkit-backdrop-filter: blur(1.25rem);
        flex-direction: column;
        padding: 1rem;
        gap: 0.5rem;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        border-bottom: 0.0625rem solid var(--glass-border);
    }

    .nav-menu.active {
        max-height: 80vh;
        overflow-y: auto;
    }

    .nav-menu > li,
    .nav-item.dropdown {
        width: 100%;
    }

    .nav-link,
    .nav-dropdown-toggle {
        padding: 0.8rem 1rem;
        width: 100%;
        justify-content: space-between;
        text-align: left;
    }

    .dropdown-menu {
        position: static;
        min-width: 0;
        margin-top: 0.35rem;
        padding: 0;
        border-radius: 0.75rem;
        background: rgba(255, 255, 255, 0.04);
        border: 0;
        box-shadow: none;
        max-height: 0;
        opacity: 1;
        visibility: visible;
        transform: none;
        overflow: hidden;
        pointer-events: none;
    }

    .nav-item.dropdown.open .dropdown-menu,
    .nav-item.dropdown.is-active .dropdown-menu {
        max-height: 20rem;
        padding: 0.35rem 0;
        border: 0.0625rem solid var(--glass-border);
        pointer-events: auto;
    }

    .dropdown-menu a {
        padding: 0.7rem 1rem 0.7rem 1.3rem;
        font-size: 0.92rem;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hot-take-marquee {
        flex-direction: column;
        align-items: stretch;
        padding-left: 2.55rem;
        padding-right: 4.8rem;
    }

    .hot-take-marquee-track,
    .hot-take-marquee-track.is-static {
        display: block;
        animation: none;
        width: 100%;
        max-width: 100%;
    }

    .hot-take-marquee-group {
        display: block;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        min-width: 100%;
        padding-right: 0;
    }

    .hot-take-marquee-item {
        display: block;
        width: 100%;
        max-width: 100%;
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: break-word;
        line-height: 1.6;
        min-width: 0;
    }

    .hot-take-marquee-target {
        display: block;
        width: 100%;
        margin-bottom: 0.15rem;
    }

    .hot-take-marquee-content {
        display: block;
        width: 100%;
        min-width: 0;
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .hot-take-marquee-author {
        display: block;
        width: 100%;
        margin-top: 0.15rem;
        white-space: normal;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .quick-links {
        margin-top: 4rem;
        padding: 2rem 1rem;
    }

    .quick-links h3 {
        font-size: 1.5rem;
    }

    .link-grid {
        grid-template-columns: 1fr;
        padding: 0;
    }

    .page-header h2 {
        font-size: 2rem;
    }

    .content-placeholder {
        padding: 2rem 1rem;
    }

    .config-tool-card-header {
        flex-direction: column;
        align-items: stretch;
    }

    .config-tool-link {
        width: 100%;
    }

    .config-tool-embed {
        min-height: 42rem;
    }

    .container {
        padding: 0 1rem;
    }
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 0.625rem;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--primary-color), var(--secondary-color));
    border-radius: 0.3125rem;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(var(--secondary-color), var(--accent-color));
}
