/* ========================================
   KQIL Game Studio — Global Stylesheet
   Design System: Fresh Business / Frosted Linen
   ======================================== */

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --canvas: #fcfcfc;
    --tint: #f0f4fe;
    --midnight: #020520;
    --graphite: #14141e;
    --slate: #374151;
    --fog: #696a72;
    --deep-fog: #95959b;
    --steel: #6b7280;
    --signal: #145aff;
    --action: #0f1f3d;
    --emerald: #16ca2e;
    --coral: #f26052;
    --sky: #0099ff;
    --amber: #ffa64d;
    --white: #ffffff;

    /* Gradients */
    --hero-glow: radial-gradient(97.8% 181.6% at 53.7% 50%, rgba(20, 90, 255, 0.18) 0%, rgba(88, 107, 141, 0.06) 60%, transparent 100%);
    --btn-gradient: linear-gradient(rgb(59, 130, 246) 0%, rgb(20, 90, 255) 100%);

    /* Shadows */
    --shadow-card: rgba(0, 0, 0, 0.1) 0px 0px 4px -2px;
    --shadow-elev: rgba(0, 0, 0, 0.25) 0px 0px 4px -2px;
    --shadow-block: rgba(0, 0, 0, 0.082) 0px 0.36px 1.81px -1.42px, rgba(0, 0, 0, 0.07) 0px 1.37px 6.87px -2.83px, rgba(0, 0, 0, 0.016) 0px 6px 30px -4.25px;
    --shadow-blue: rgba(20, 90, 255, 0.1) 0px 0px 50px -28px, rgba(0, 0, 0, 0.18) 0px 0px 3px -1px;
    --shadow-halo: rgba(20, 90, 255, 0.1) 0px 0px 100px -28px;

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'Roboto Mono', 'JetBrains Mono', monospace;

    /* Radii */
    --r-pill: 100px;
    --r-card: 8px;
    --r-badge: 4px;
    --r-img: 16px;
    --r-input: 12px;
    --r-modal: 32px;
    --r-btn: 12px;
    --r-big: 40px;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: 14px;
    line-height: 1.43;
    color: var(--graphite);
    background: var(--canvas);
    overflow-x: hidden;
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul {
    list-style: none;
}

i {
    font-style: normal;
}

/* ---------- Typography Scale ---------- */
h1,
h2,
h3,
h4,
h5 {
    color: var(--midnight);
    font-weight: 600;
}

/* ---------- Layout ---------- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.bg-tint {
    background: var(--tint);
}

.full {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

section {
    padding: 80px 0;
}

/* ---------- Section Header ---------- */
.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    color: var(--signal);
    background: rgba(20, 90, 255, 0.08);
    padding: 4px 14px;
    border-radius: var(--r-pill);
    margin-bottom: 16px;
    letter-spacing: 0.09px;
}

.section-title {
    font-size: 40px;
    line-height: 1.08;
    letter-spacing: -0.76px;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 16px;
    color: var(--fog);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

.section-footer {
    text-align: center;
    margin-top: 48px;
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 72px;
    background: rgba(252, 252, 252, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: var(--shadow-card);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 600;
    color: var(--midnight);
}

.nav-logo i {
    color: var(--signal);
    font-size: 22px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--slate);
    padding: 8px 16px;
    border-radius: var(--r-pill);
    transition: all 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    background: var(--tint);
    color: var(--action);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ---------- Buttons ---------- */
.btn-outline-nav {
    font-size: 14px;
    font-weight: 500;
    color: var(--action);
    border: 1px solid var(--action);
    background: rgba(255, 255, 255, 0.8);
    padding: 8px 18px;
    border-radius: var(--r-btn);
    transition: all 0.2s ease;
}

.btn-outline-nav:hover {
    background: var(--action);
    color: var(--white);
}

.btn-filled-nav {
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    background: var(--btn-gradient);
    padding: 8px 18px;
    border-radius: var(--r-btn);
    transition: all 0.2s ease;
}

.btn-filled-nav:hover {
    filter: brightness(1.1);
    box-shadow: var(--shadow-blue);
}

/* Hero buttons */
.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 500;
    color: var(--signal);
    background: var(--canvas);
    border: 1px solid rgba(20, 90, 255, 0.3);
    padding: 14px 32px;
    border-radius: var(--r-pill);
    transition: all 0.25s ease;
}

.btn-ghost:hover {
    border-color: var(--signal);
    box-shadow: var(--shadow-blue);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--action);
    border: 1px solid var(--action);
    background: rgba(255, 255, 255, 0.8);
    padding: 12px 24px;
    border-radius: var(--r-btn);
    transition: all 0.2s ease;
}

.btn-outline:hover {
    background: var(--action);
    color: var(--white);
}

.btn-filled {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    background: var(--btn-gradient);
    padding: 14px 28px;
    border-radius: var(--r-btn);
    transition: all 0.2s ease;
}

.btn-filled:hover {
    filter: brightness(1.1);
    box-shadow: var(--shadow-blue);
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    font-size: 20px;
    color: var(--slate);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 80px;
    overflow: hidden;
    background: var(--canvas);
}

.hero-glow {
    position: absolute;
    inset: 0;
    background: var(--hero-glow);
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 500;
    color: var(--slate);
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 6px 16px;
    border-radius: var(--r-pill);
    margin-bottom: 28px;
    backdrop-filter: blur(4px);
}

.hero-badge i {
    color: var(--amber);
    font-size: 14px;
}

.hero-title {
    font-size: clamp(40px, 7vw, 80px);
    line-height: 1.05;
    letter-spacing: -2.96px;
    color: var(--midnight);
    margin-bottom: 24px;
    font-weight: 600;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--fog);
    max-width: 640px;
    margin: 0 auto 36px;
    line-height: 1.5;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Floating Cards */
.hero-floating-cards {
    position: relative;
    margin-top: 72px;
    height: 180px;
}

.float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 14px 20px;
    box-shadow: var(--shadow-block);
    transition: transform 0.3s ease;
}

.float-card:hover {
    transform: translateY(-4px);
}

.float-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--tint);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--signal);
    font-size: 18px;
}

.float-card-title {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--graphite);
}

.float-card-meta {
    display: block;
    font-size: 11px;
    color: var(--steel);
    margin-top: 2px;
}

.float-card-1 {
    left: 5%;
    top: 20px;
    animation: float1 6s ease-in-out infinite;
}

.float-card-2 {
    right: 5%;
    top: 60px;
    animation: float2 5s ease-in-out infinite;
}

.float-card-3 {
    left: 30%;
    top: 120px;
    animation: float3 7s ease-in-out infinite;
}

@keyframes float1 {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-12px)
    }
}

@keyframes float2 {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-8px)
    }
}

@keyframes float3 {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-15px)
    }
}

/* ========================================
   Advantages Section
   ======================================== */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.advantage-card {
    background: var(--white);
    border-radius: var(--r-big);
    padding: 36px 28px;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
    text-align: left;
}

.advantage-card:hover {
    box-shadow: var(--shadow-block);
    transform: translateY(-4px);
}

.advantage-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--tint);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--signal);
    font-size: 20px;
    margin-bottom: 20px;
}

.advantage-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    letter-spacing: -0.16px;
}

.advantage-card p {
    font-size: 14px;
    color: var(--fog);
    line-height: 1.5;
}

/* ========================================
   About Preview
   ======================================== */
.about-preview-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.about-preview-content .section-title {
    text-align: left;
}

.about-preview-content .section-tag {
    display: inline-block;
}

.about-preview-content p {
    font-size: 16px;
    color: var(--fog);
    margin: 20px 0;
    line-height: 1.6;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 32px 0;
}

.about-stats li {
    text-align: center;
    padding: 16px 8px;
    background: var(--white);
    border-radius: var(--r-card);
    box-shadow: var(--shadow-card);
}

.about-stats strong {
    display: block;
    font-size: 22px;
    color: var(--action);
    font-weight: 600;
}

.about-stats span {
    font-size: 12px;
    color: var(--steel);
}

.about-preview-visual {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.visual-card {
    background: var(--white);
    border-radius: var(--r-big);
    padding: 24px 28px;
    box-shadow: var(--shadow-card);
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: all 0.3s ease;
}

.visual-card:hover {
    box-shadow: var(--shadow-block);
    transform: translateX(4px);
}

.visual-card i {
    font-size: 24px;
    color: var(--signal);
    margin-top: 4px;
}

.visual-card h4 {
    font-size: 16px;
    margin-bottom: 4px;
}

.visual-card p {
    font-size: 13px;
    color: var(--steel);
}

/* ========================================
   Products Showcase
   ======================================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.product-card {
    background: var(--white);
    border-radius: var(--r-big);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
    display: block;
}

.product-card:hover {
    box-shadow: var(--shadow-block);
    transform: translateY(-6px);
}

.product-card-image {
    position: relative;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-card-icon {
    font-size: 56px;
    color: rgba(255, 255, 255, 0.9);
}

.product-status {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 11px;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: var(--r-pill);
}

.status-dev {
    background: rgba(255, 166, 77, 0.15);
    color: var(--amber);
}

.status-released {
    background: rgba(22, 202, 46, 0.15);
    color: var(--emerald);
}

.status-soon {
    background: rgba(20, 90, 255, 0.15);
    color: var(--signal);
}

.product-card-body {
    padding: 28px;
}

.product-card-body h3 {
    font-size: 20px;
    margin-bottom: 10px;
    letter-spacing: -0.22px;
}

.product-card-body p {
    font-size: 14px;
    color: var(--fog);
    line-height: 1.5;
    margin-bottom: 16px;
}

.product-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.product-meta span {
    font-size: 12px;
    color: var(--steel);
    display: flex;
    align-items: center;
    gap: 4px;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    color: var(--action);
    transition: gap 0.2s ease;
}

.card-link:hover {
    gap: 10px;
}

/* ========================================
   Cases Preview
   ======================================== */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.case-card {
    background: var(--white);
    border-radius: var(--r-big);
    padding: 36px 28px;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
    display: block;
    text-align: left;
}

.case-card:hover {
    box-shadow: var(--shadow-block);
    transform: translateY(-4px);
}

.case-logo {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--tint);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--signal);
    margin-bottom: 20px;
}

.case-card h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

.case-card p {
    font-size: 14px;
    color: var(--fog);
    line-height: 1.5;
    margin-bottom: 16px;
}

/* ========================================
   News Preview
   ======================================== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.news-card {
    display: flex;
    gap: 20px;
    background: var(--white);
    border-radius: var(--r-big);
    padding: 24px;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
}

.news-card:hover {
    box-shadow: var(--shadow-block);
    transform: translateY(-4px);
}

.news-date {
    flex-shrink: 0;
    width: 56px;
    text-align: center;
    background: var(--tint);
    border-radius: 12px;
    padding: 10px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.news-date span {
    font-size: 11px;
    color: var(--signal);
    font-weight: 500;
    text-transform: uppercase;
}

.news-date strong {
    font-size: 22px;
    color: var(--action);
    font-weight: 600;
}

.news-body h4 {
    font-size: 15px;
    margin-bottom: 8px;
    line-height: 1.3;
}

.news-body p {
    font-size: 13px;
    color: var(--steel);
    line-height: 1.5;
    margin-bottom: 10px;
}

.news-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 500;
    color: var(--signal);
    background: rgba(20, 90, 255, 0.08);
    padding: 2px 10px;
    border-radius: var(--r-badge);
}

/* ========================================
   Contact CTA
   ======================================== */
.cta-card {
    background: var(--white);
    border-radius: var(--r-big);
    padding: 60px 48px;
    text-align: center;
    box-shadow: var(--shadow-block);
    max-width: 800px;
    margin: 0 auto;
}

.cta-card h2 {
    font-size: 32px;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
}

.cta-card p {
    font-size: 16px;
    color: var(--fog);
    margin-bottom: 32px;
    line-height: 1.5;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-tabs .filter-tab {
    border-right: 1px solid rgb(29, 29, 29);
    padding-right: 5px;
    font-size: 15px;
}

.filter-tabs .filter-tab:last-child {
    border-right: none;
}

.filter-tabs .filter-tab.active {
    color: var(--signal);
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--midnight);
    color: rgba(255, 255, 255, 0.7);
    padding: 72px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-grid .footer-links:last-child {
    display: none;
}

.footer-brand p {
    font-size: 14px;
    margin: 16px 0;
    line-height: 1.5;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 600;
    color: var(--white);
}

.footer-logo i {
    color: var(--signal);
    font-size: 22px;
}

.footer-social {
    display: none;
    gap: 12px;
    margin-top: 20px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.2s ease;
    font-size: 14px;
}

.footer-social a:hover {
    background: var(--signal);
    color: var(--white);
}

.footer-links h5 {
    color: var(--white);
    font-size: 14px;
    margin-bottom: 16px;
}

.footer-links a {
    display: block;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 10px;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
    text-align: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.35);
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

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

    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .about-preview-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-stats {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {

    .nav-links,
    .nav-cta {
        display: none;
    }

    .nav-toggle {
        display: block;
    }

    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--canvas);
        padding: 20px;
        box-shadow: var(--shadow-card);
        gap: 8px;
    }

    .nav-cta.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: auto;
        left: 0;
        right: 0;
        background: var(--canvas);
        padding: 0 20px 20px;
        gap: 10px;
    }

    .hero-title {
        font-size: 40px;
        letter-spacing: -1.51px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-floating-cards {
        display: none;
    }

    .section-title {
        font-size: 28px;
        letter-spacing: -0.5px;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .cases-grid {
        grid-template-columns: 1fr;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

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

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

    .cta-card {
        padding: 40px 24px;
    }

    .cta-card h2 {
        font-size: 24px;
    }

    section {
        padding: 56px 0;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

.news-full-grid {
    background: #f8faff;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    padding: 2rem 1rem;
}

/* 容器 —— 控制最大宽度，居中 */
.news-full-grid .container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 0.5rem;
}

/* 网格 —— 强制单列 (一行一篇) */
.news-full-grid .news-full-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* --- 卡片样式：亮色，干净，精致 --- */
.news-full-grid .news-full-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 4px 16px rgba(0, 20, 40, 0.06), 0 1px 3px rgba(0, 0, 0, 0.02);
    border: 1px solid #e9edf4;
    text-decoration: none;
    color: #1a2639;
    transition: box-shadow 0.25s ease, transform 0.2s ease, border-color 0.2s;
    overflow: hidden;
    min-height: 130px;
    margin-bottom: 20px;
}

.news-full-grid .news-full-card:hover {
    box-shadow: 0 12px 32px rgba(20, 50, 100, 0.10), 0 2px 8px rgba(0, 0, 0, 0.02);
    transform: translateY(-2px);
    border-color: #cbd5e1;
}

/* --- 左侧图像区 (缩略图) : 亮色渐变 + 图标 --- */
.news-full-grid .news-full-image {
    flex: 0 0 160px;
    min-width: 120px;
    /* padding: 1.2rem 0.8rem; */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: #eef3fc;
    /* fallback */
    transition: background 0.2s;
}

.news-full-grid .news-full-image i {
    font-size: 2.6rem;
    color: #2a4b7a;
    opacity: 0.7;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.02));
    transition: opacity 0.2s, transform 0.2s;
}

.news-full-grid .news-full-card:hover .news-full-image i {
    opacity: 0.9;
    transform: scale(1.02);
}

/* 分类标签 (亮色版本) */
.news-full-grid .news-cat-tag {
    position: absolute;
    top: 0.8rem;
    left: 0.8rem;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    padding: 0.2rem 0.9rem;
    border-radius: 60px;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #1f3a5f;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02);
}

/* --- 右侧正文区域 (flex:1 撑满) --- */
.news-full-grid .news-full-body {
    flex: 1;
    padding: 1rem 1.5rem 1rem 1.2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #ffffff;
}

/* 元数据 (日期 + 阅读时间) — 亮色 */
.news-full-grid .news-full-meta {
    display: flex;
    gap: 1.2rem;
    font-size: 0.75rem;
    color: #5e6f8d;
    margin-bottom: 0.3rem;
    flex-wrap: wrap;
}

.news-full-grid .news-full-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.news-full-grid .news-full-meta i {
    color: #7a8aa8;
    font-size: 0.7rem;
    width: 0.9rem;
}

/* 标题 — 亮色深色文字 */
.news-full-grid .news-full-body h3 {
    font-size: 1.1rem;
    font-weight: 650;
    line-height: 1.4;
    color: #0b1e33;
    margin: 0.1rem 0 0.2rem 0;
    letter-spacing: -0.01em;
    transition: color 0.15s;
}

.news-full-grid .news-full-card:hover .news-full-body h3 {
    color: #1f4a8a;
}

/* 摘要 — 亮色柔和 */
.news-full-grid .news-full-body p {
    font-size: 0.88rem;
    line-height: 1.5;
    color: #3d506e;
    margin: 0.2rem 0 0.4rem 0;
    opacity: 0.85;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* "Read More" 链接 — 亮色风格 */
.news-full-grid .card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    font-weight: 550;
    color: #2a5f9e;
    letter-spacing: 0.01em;
    transition: color 0.2s, gap 0.2s;
    margin-top: 0.1rem;
    width: fit-content;
    border-bottom: 1.5px solid transparent;
    padding-bottom: 0.1rem;
}

.news-full-grid .news-full-card:hover .card-link {
    color: #0f3b7a;
    gap: 0.65rem;
    border-bottom-color: #b3c9f0;
}

.news-full-grid .card-link i {
    font-size: 0.65rem;
    transition: transform 0.2s;
}

.news-full-grid .news-full-card:hover .card-link i {
    transform: translateX(3px);
}

/* --- 响应式: 小屏幕卡片堆叠 (图片在上) --- */
@media (max-width: 640px) {
    .news-full-grid .news-full-card {
        flex-direction: column;
        min-height: unset;
        border-radius: 18px;
    }

    .news-full-grid .news-full-image {
        flex: 0 0 auto;
        min-height: 100px;
        padding: 1.2rem 1rem;
        width: 100%;
    }

    .news-full-grid .news-full-image i {
        font-size: 2.2rem;
    }

    .news-full-grid .news-full-body {
        padding: 0.8rem 1.2rem 1.2rem;
    }

    .news-full-grid .news-full-body h3 {
        font-size: 1rem;
    }

    .news-full-grid .news-full-meta {
        font-size: 0.7rem;
        gap: 0.8rem;
    }

    .news-full-grid .news-cat-tag {
        top: 0.6rem;
        left: 0.6rem;
        font-size: 0.6rem;
        padding: 0.15rem 0.7rem;
    }
}

/* 中等屏幕保持单列 (若需要强制一行一篇，无需额外改动) */
@media (min-width: 641px) and (max-width: 1024px) {
    .news-full-grid .news-full-grid {
        gap: 1.2rem;
    }

    .news-full-grid .news-full-image {
        flex: 0 0 140px;
    }
}

/* --- 辅助: 分类标签微调 (亮色下保留差异) --- */
.news-full-grid [data-cat="announcement"] .news-cat-tag {
    background: rgba(220, 235, 255, 0.8);
    color: #1a4b7a;
}

.news-full-grid [data-cat="studio"] .news-cat-tag {
    background: rgba(225, 240, 255, 0.8);
    color: #1f5a7a;
}

.news-full-grid [data-cat="update"] .news-cat-tag {
    background: rgba(225, 248, 235, 0.8);
    color: #1a6a4a;
}

.news-full-grid [data-cat="devlog"] .news-cat-tag {
    background: rgba(255, 240, 215, 0.8);
    color: #7a5a1a;
}

/* 选中文本颜色 (亮色) */
.news-full-grid .news-full-body ::selection {
    background: #c5d9f5;
    color: #0b1e33;
}


/*  */
/* ---------- 精选案例 (Featured Case) ---------- */
.featured-case {
    padding: 2.5rem 0 1.5rem;
}

.featured-case-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 6px 24px rgba(0, 20, 40, 0.06);
    border: 1px solid #e7edf6;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    transition: box-shadow 0.25s, transform 0.2s;
}

.featured-case-card:hover {
    box-shadow: 0 16px 40px rgba(20, 50, 100, 0.10);
    transform: translateY(-3px);
    border-color: #cddcee;
}

.featured-case-content {
    flex: 1;
    padding: 2.2rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-case-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #2a5f9e;
    background: #e5f0ff;
    padding: 0.2rem 1rem;
    border-radius: 60px;
    width: fit-content;
    margin-bottom: 0.6rem;
}

.featured-case-content h2 {
    font-size: 1.6rem;
    font-weight: 650;
    color: #0b1e33;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.featured-case-content p {
    color: #3d5477;
    font-size: 0.98rem;
    margin-bottom: 1.2rem;
    max-width: 90%;
}

.featured-case-stats {
    display: flex;
    gap: 2.5rem;
    margin-bottom: 1.2rem;
    flex-wrap: wrap;
}

.featured-case-stats div {
    display: flex;
    flex-direction: column;
}

.featured-case-stats strong {
    font-size: 1.4rem;
    font-weight: 700;
    color: #0a1e3a;
    letter-spacing: -0.01em;
}

.featured-case-stats span {
    font-size: 0.78rem;
    color: #5e6f8d;
    margin-top: 0.05rem;
}

.featured-case-content .card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 550;
    color: #2a5f9e;
    font-size: 0.9rem;
    transition: gap 0.2s, color 0.2s;
    width: fit-content;
    border-bottom: 1.5px solid transparent;
    padding-bottom: 0.1rem;
}

.featured-case-card:hover .card-link {
    color: #0f3b7a;
    gap: 0.8rem;
    border-bottom-color: #b3c9f0;
}

.featured-case-visual {
    flex: 0 0 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* padding: 1.5rem; */
    background: linear-gradient(135deg, #0c4a6e, #0ea5e9);
}

.featured-case-visual i {
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.85);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.08));
}

/* ---------- 案例网格 (Cases Full) ---------- */
.cases-full {
    padding: 2.5rem 0 4rem;
}

.section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #3a6bb0;
    background: #e3edfc;
    padding: 0.25rem 1.2rem;
    border-radius: 60px;
    margin-bottom: 0.4rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 650;
    color: #0a1e3a;
    letter-spacing: -0.01em;
}

.cases-full-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.8rem;
}

/* 案例卡片 */
.case-full-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 1.5rem 1.6rem 1.8rem;
    box-shadow: 0 2px 12px rgba(0, 20, 40, 0.04);
    border: 1px solid #e7edf6;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.25s, transform 0.2s, border-color 0.2s;
    display: flex;
    flex-direction: column;
}

.case-full-card:hover {
    box-shadow: 0 12px 32px rgba(20, 50, 100, 0.08);
    transform: translateY(-4px);
    border-color: #cbdae8;
}

.case-full-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.8rem;
}

.case-full-logo {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #fff;
    flex-shrink: 0;
}

.case-full-tag {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #3a6bb0;
    background: #eef4fc;
    padding: 0.2rem 0.9rem;
    border-radius: 60px;
}

.case-full-card h3 {
    font-size: 1.1rem;
    font-weight: 650;
    color: #0b1e33;
    margin-bottom: 0.4rem;
    line-height: 1.35;
}

.case-full-card p {
    font-size: 0.9rem;
    color: #3d5477;
    margin-bottom: 1rem;
    flex: 1;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.case-full-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem 1.8rem;
    margin-bottom: 1rem;
    padding-top: 0.2rem;
    border-top: 1px solid #eef2f8;
    padding-top: 0.8rem;
}

.case-full-stats span {
    font-size: 0.8rem;
    color: #4a6082;
}

.case-full-stats strong {
    font-weight: 600;
    color: #0a1e3a;
    margin-right: 0.2rem;
}

.case-full-card .card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 550;
    color: #2a5f9e;
    font-size: 0.85rem;
    transition: gap 0.2s, color 0.2s;
    width: fit-content;
    border-bottom: 1.5px solid transparent;
    padding-bottom: 0.05rem;
}

.case-full-card:hover .card-link {
    color: #0f3b7a;
    gap: 0.7rem;
    border-bottom-color: #b3c9f0;
}

.case-full-card .card-link i {
    font-size: 0.65rem;
    transition: transform 0.2s;
}

.case-full-card:hover .card-link i {
    transform: translateX(3px);
}

/* ---------- CTA 区块 ---------- */
.contact-cta.bg-tint {
    background: #eef4fc;
    padding: 3rem 0 4rem;
}

.cta-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 2.8rem 3rem;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 20, 40, 0.04);
    border: 1px solid #e2e9f3;
}

.cta-card h2 {
    font-size: 1.8rem;
    font-weight: 650;
    color: #0a1e3a;
    margin-bottom: 0.4rem;
}

.cta-card p {
    font-size: 1rem;
    color: #3d5477;
    max-width: 560px;
    margin: 0 auto 1.5rem;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.btn-filled,
.btn-outline {
    display: inline-block;
    padding: 0.7rem 1.8rem;
    border-radius: 60px;
    font-weight: 550;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-filled {
    background: #1a4b8a;
    color: #fff;
    border: 1px solid #1a4b8a;
}

.btn-filled:hover {
    background: #0f3b7a;
    border-color: #0f3b7a;
    transform: scale(1.02);
}

.btn-outline {
    background: transparent;
    color: #1a4b8a;
    border: 1px solid #b8cde6;
}

.btn-outline:hover {
    background: #e7f0fe;
    border-color: #7fa3d4;
}

/* ---------- 响应式 ---------- */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    .featured-case-card {
        flex-direction: column;
    }

    .featured-case-content {
        padding: 1.5rem;
    }

    .featured-case-content h2 {
        font-size: 1.3rem;
    }

    .featured-case-content p {
        max-width: 100%;
    }

    .featured-case-stats {
        gap: 1.2rem;
    }

    .featured-case-visual {
        flex: 0 0 auto;
        padding: 1.8rem;
        min-height: 100px;
    }

    .featured-case-visual i {
        font-size: 3.5rem;
    }

    .cases-full-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .cta-card {
        padding: 1.8rem 1.2rem;
    }

    .cta-card h2 {
        font-size: 1.4rem;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn-filled,
    .btn-outline {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .featured-case-stats {
        flex-direction: column;
        gap: 0.5rem;
    }

    .case-full-stats {
        flex-direction: column;
        gap: 0.3rem;
    }
}

.nintendo-switch {
    display: inline-block;
    width: 1em;
    height: 1em;
    --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M10.04 20.4H7.12c-.93 0-1.82-.4-2.48-1.04C4 18.7 3.6 17.81 3.6 16.88V7.12c0-.93.4-1.82 1.04-2.48C5.3 4 6.19 3.62 7.12 3.62h2.92zM7.12 2A5.12 5.12 0 0 0 2 7.12v9.76C2 19.71 4.29 22 7.12 22h4.53V2zM5.11 8c0 1.04.84 1.88 1.89 1.88c1.03 0 1.87-.84 1.87-1.88S8.03 6.12 7 6.12c-1.05 0-1.89.84-1.89 1.88m12.5 3c1.11 0 2.01.89 2.01 2c0 1.12-.9 2-2.01 2s-2.03-.88-2.03-2c0-1.11.92-2 2.03-2m-.73 11A5.12 5.12 0 0 0 22 16.88V7.12C22 4.29 19.71 2 16.88 2h-3.23v20z'/%3E%3C/svg%3E");
    background-color: currentColor;
    -webkit-mask-image: var(--svg);
    mask-image: var(--svg);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
}

.epic-games {
    display: inline-block;
    width: 1em;
    height: 1em;
    --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' fill-rule='evenodd' d='M5 1a4 4 0 0 0-4 4v14a4 4 0 0 0 4 4h14a4 4 0 0 0 4-4V5a4 4 0 0 0-4-4zm1.182 3.5A1.09 1.09 0 0 0 5.09 5.59v11.637c0 .144.084.274.216.333l6.545 2.909a.36.36 0 0 0 .296 0l6.545-2.91a.36.36 0 0 0 .216-.332V5.591a1.09 1.09 0 0 0-1.09-1.091zm6.363 2.364h1.091v6.182h-1.09V6.864ZM9.091 17.227L12 18.682l2.909-1.455zm-2-4.181V6.864h2v1.09h-.91V9.41h.91v1.09h-.91v1.454h.91v1.091zm2.545 0V6.864h1.273c.703 0 1.273.57 1.273 1.272v1.819c0 .703-.57 1.272-1.273 1.272h-.182v1.819zm5.273-6.182a.91.91 0 0 0-.91.909v4.363c0 .502.408.91.91.91h1.09a.91.91 0 0 0 .91-.91v-1.454h-1.09v1.272h-.728v-4h.727v1.273h1.091V7.773a.91.91 0 0 0-.91-.91h-1.09Zm1.09 8.727H7.274V14.5H16zm-5.272-5.455h.182c.1 0 .182-.081.182-.181V8.136c0-.1-.082-.181-.182-.181h-.182z' clip-rule='evenodd'/%3E%3C/svg%3E");
    background-color: currentColor;
    -webkit-mask-image: var(--svg);
    mask-image: var(--svg);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
}

.steam {
    display: inline-block;
    width: 1em;
    height: 1em;
    --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2a10 10 0 0 1 10 10a10 10 0 0 1-10 10c-4.6 0-8.45-3.08-9.64-7.27l3.83 1.58a2.84 2.84 0 0 0 2.78 2.27c1.56 0 2.83-1.27 2.83-2.83v-.13l3.4-2.43h.08c2.08 0 3.77-1.69 3.77-3.77s-1.69-3.77-3.77-3.77s-3.78 1.69-3.78 3.77v.05l-2.37 3.46l-.16-.01c-.59 0-1.14.18-1.59.49L2 11.2C2.43 6.05 6.73 2 12 2M8.28 17.17c.8.33 1.72-.04 2.05-.84s-.05-1.71-.83-2.04l-1.28-.53c.49-.18 1.04-.19 1.56.03c.53.21.94.62 1.15 1.15c.22.52.22 1.1 0 1.62c-.43 1.08-1.7 1.6-2.78 1.15c-.5-.21-.88-.59-1.09-1.04zm9.52-7.75c0 1.39-1.13 2.52-2.52 2.52a2.52 2.52 0 0 1-2.51-2.52a2.5 2.5 0 0 1 2.51-2.51a2.52 2.52 0 0 1 2.52 2.51m-4.4 0c0 1.04.84 1.89 1.89 1.89c1.04 0 1.88-.85 1.88-1.89s-.84-1.89-1.88-1.89c-1.05 0-1.89.85-1.89 1.89'/%3E%3C/svg%3E");
    background-color: currentColor;
    -webkit-mask-image: var(--svg);
    mask-image: var(--svg);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
}

.discord {
    display: inline-block;
    width: 1em;
    height: 1em;
    --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M19.27 5.33C17.94 4.71 16.5 4.26 15 4a.1.1 0 0 0-.07.03c-.18.33-.39.76-.53 1.09a16.1 16.1 0 0 0-4.8 0c-.14-.34-.35-.76-.54-1.09c-.01-.02-.04-.03-.07-.03c-1.5.26-2.93.71-4.27 1.33c-.01 0-.02.01-.03.02c-2.72 4.07-3.47 8.03-3.1 11.95c0 .02.01.04.03.05c1.8 1.32 3.53 2.12 5.24 2.65c.03.01.06 0 .07-.02c.4-.55.76-1.13 1.07-1.74c.02-.04 0-.08-.04-.09c-.57-.22-1.11-.48-1.64-.78c-.04-.02-.04-.08-.01-.11c.11-.08.22-.17.33-.25c.02-.02.05-.02.07-.01c3.44 1.57 7.15 1.57 10.55 0c.02-.01.05-.01.07.01c.11.09.22.17.33.26c.04.03.04.09-.01.11c-.52.31-1.07.56-1.64.78c-.04.01-.05.06-.04.09c.32.61.68 1.19 1.07 1.74c.03.01.06.02.09.01c1.72-.53 3.45-1.33 5.25-2.65c.02-.01.03-.03.03-.05c.44-4.53-.73-8.46-3.1-11.95c-.01-.01-.02-.02-.04-.02M8.52 14.91c-1.03 0-1.89-.95-1.89-2.12s.84-2.12 1.89-2.12c1.06 0 1.9.96 1.89 2.12c0 1.17-.84 2.12-1.89 2.12m6.97 0c-1.03 0-1.89-.95-1.89-2.12s.84-2.12 1.89-2.12c1.06 0 1.9.96 1.89 2.12c0 1.17-.83 2.12-1.89 2.12'/%3E%3C/svg%3E");
    background-color: currentColor;
    -webkit-mask-image: var(--svg);
    mask-image: var(--svg);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
}