/* ===== 全局重置 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    min-height: 100vh;
    background: #0b0e14;
    font-family: 'Segoe UI', 'PingFang SC', Roboto, system-ui, -apple-system, sans-serif;
    color: #cfd8e6;
    overflow-x: hidden;
}

/* ===== 主容器 ===== */
.wp-site-blocks {
    width: 100%;
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 1rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ===== 顶部导航 ===== */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 2rem;
    background: #131a24;
    border-bottom: 1px solid #2a3a4c;
    flex-wrap: wrap;
    gap: 0.8rem;
    width: 100%;
    border-radius: 1rem 1rem 0 0;
}

.site-header .logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: #f5c518;
    text-transform: uppercase;
    letter-spacing: 3px;
    line-height: 1.1;
}
.site-header .logo small {
    font-size: 0.7rem;
    font-weight: 400;
    color: #cfd8e6;
    display: block;
    text-transform: none;
    letter-spacing: 1px;
}

.site-header .nav-links {
    display: flex;
    gap: 1.2rem;
    align-items: center;
    flex-wrap: wrap;
}
.site-header .nav-links a {
    color: #b0c4d9;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
    white-space: nowrap;
}
.site-header .nav-links a:hover {
    color: #f5c518;
}
.site-header .nav-links .btn-login {
    background: transparent;
    border: 1px solid #2d4055;
    padding: 0.4rem 1.4rem;
    border-radius: 2rem;
    color: #b0c4d9;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
}
.site-header .nav-links .btn-login:hover {
    border-color: #f5c518;
    color: #f5c518;
}
.site-header .nav-links .btn-register {
    background: linear-gradient(135deg, #314edf, #22eaee);
    border: none;
    padding: 0.4rem 1.4rem;
    border-radius: 2rem;
    color: #fff;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 600;
}
.site-header .nav-links .btn-register:hover {
    opacity: 0.85;
    transform: scale(1.03);
}

/* ===== Hero 区域 ===== */
.hero-section {
    background: #131a24;
    padding: 4rem 2rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    width: 100%;
    border-bottom: 1px solid #2a3a4c;
    border-left: 1px solid #2a3a4c;
    border-right: 1px solid #2a3a4c;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/wp-content/themes/plover/assets/images/big-hero-background.png') center/cover no-repeat;
    opacity: 0.12;
    pointer-events: none;
}

.hero-section h1 {
    font-size: clamp(1.8rem, 5vw, 3.8rem);
    color: #fff;
    font-weight: 700;
    position: relative;
    z-index: 1;
    line-height: 1.25;
    margin-bottom: 1.8rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-section .btn-start {
    display: inline-block;
    background: linear-gradient(135deg, #314edf, #22eaee);
    border: none;
    padding: 0.9rem 3rem;
    border-radius: 3rem;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    z-index: 1;
    text-decoration: none;
    letter-spacing: 1.2px;
}
.hero-section .btn-start:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(49, 78, 223, 0.35);
}

/* ===== Banner 图片 ===== */
.banner-section {
    width: 100%;
    padding: 1.5rem 2rem;
    background: #0f1720;
    border-bottom: 1px solid #2a3a4c;
    border-left: 1px solid #2a3a4c;
    border-right: 1px solid #2a3a4c;
}

.banner-section .banner-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 1.5rem;
    overflow: hidden;
    background: #131a24;
    border: 1px solid #2a3a4c;
    transition: border-color 0.3s;
}

.banner-section .banner-wrapper:hover {
    border-color: #f5c518;
}

.banner-section .banner-link {
    display: block;
    text-decoration: none;
    cursor: pointer;
    width: 100%;
}

.banner-section .banner-link img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: filter 0.3s;
}

.banner-section .banner-link:hover img {
    filter: brightness(1.06);
}

/* ===== 内容区域 ===== */
.content-section {
    background: #131a24;
    padding: 3rem 2rem;
    width: 100%;
    border-bottom: 1px solid #2a3a4c;
    border-left: 1px solid #2a3a4c;
    border-right: 1px solid #2a3a4c;
}

.content-section .content-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.content-section h2 {
    color: #fff;
    text-align: center;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    margin-bottom: 2rem;
}

.content-section .feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.content-section .feature-item {
    text-align: center;
    background: #0f1720;
    border-radius: 1.5rem;
    border: 1px solid #1e2d3d;
    overflow: hidden;
    transition: border-color 0.3s, transform 0.2s;
    display: flex;
    flex-direction: column;
}

.content-section .feature-item:hover {
    border-color: #f5c518;
    transform: translateY(-3px);
}

.content-section .feature-item .feature-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #0a0f16;
    display: flex;
    align-items: center;
    justify-content: center;
}

.content-section .feature-item .feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.3s;
}

.content-section .feature-item:hover .feature-image img {
    transform: scale(1.03);
}

.content-section .feature-item .feature-title {
    padding: 0.8rem 1rem 1rem;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 600;
    flex-shrink: 0;
    background: #0f1720;
}

.feature-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* ===== 页脚 ===== */
.site-footer {
    background: #131a24;
    padding: 2.5rem 2rem;
    width: 100%;
    border: 1px solid #2a3a4c;
    border-radius: 0 0 1rem 1rem;
    margin-top: auto;
}

.site-footer .footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.site-footer .footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 1.2rem;
}

.site-footer .footer-links a {
    color: #9eb1c7;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.site-footer .footer-links a:hover {
    color: #f5c518;
}

.site-footer .copyright {
    color: #657e99;
    font-size: 0.75rem;
    border-top: 1px solid #1e2d3d;
    padding-top: 1.2rem;
}

/* ===== 响应式 - 移动端适当调小 ===== */
@media (max-width: 768px) {
    .wp-site-blocks {
        padding: 0 0.5rem;
    }

    .site-header {
        padding: 0.6rem 1.2rem;
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
        border-radius: 0.8rem 0.8rem 0 0;
    }
    .site-header .logo {
        text-align: center;
        font-size: 1.3rem;
    }
    .site-header .logo small {
        font-size: 0.6rem;
    }
    .site-header .nav-links {
        justify-content: center;
        gap: 0.5rem;
    }
    .site-header .nav-links a {
        font-size: 0.8rem;
    }
    .site-header .nav-links .btn-login,
    .site-header .nav-links .btn-register {
        padding: 0.25rem 0.9rem;
        font-size: 0.7rem;
    }

    .hero-section {
        padding: 2.5rem 1.2rem;
    }
    .hero-section h1 {
        font-size: clamp(1.4rem, 4vw, 2rem);
        margin-bottom: 1.2rem;
    }
    .hero-section .btn-start {
        padding: 0.6rem 2rem;
        font-size: 0.9rem;
    }

    .banner-section {
        padding: 1rem 1.2rem;
    }
    .banner-section .banner-wrapper {
        border-radius: 1rem;
    }

    .content-section {
        padding: 2rem 1.2rem;
    }
    .content-section h2 {
        font-size: clamp(1.2rem, 2.5vw, 1.6rem);
        margin-bottom: 1.2rem;
    }
    .content-section .feature-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    .content-section .feature-item {
        border-radius: 1rem;
    }
    .content-section .feature-item .feature-title {
        font-size: 0.9rem;
        padding: 0.5rem 0.6rem 0.6rem;
    }

    .site-footer {
        padding: 1.5rem 1.2rem;
        border-radius: 0 0 0.8rem 0.8rem;
    }
    .site-footer .footer-links {
        gap: 1rem;
    }
    .site-footer .footer-links a {
        font-size: 0.78rem;
    }
}

@media (max-width: 480px) {
    .wp-site-blocks {
        padding: 0 0.3rem;
    }

    .site-header .nav-links {
        gap: 0.3rem;
    }
    .site-header .nav-links a {
        font-size: 0.7rem;
    }
    .site-header .nav-links .btn-login,
    .site-header .nav-links .btn-register {
        padding: 0.15rem 0.6rem;
        font-size: 0.6rem;
    }

    .hero-section {
        padding: 1.8rem 1rem;
    }
    .hero-section h1 {
        font-size: clamp(1.2rem, 4vw, 1.6rem);
        margin-bottom: 0.8rem;
    }
    .hero-section .btn-start {
        padding: 0.5rem 1.5rem;
        font-size: 0.8rem;
    }

    .content-section .feature-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    .content-section .feature-item .feature-title {
        font-size: 0.85rem;
        padding: 0.4rem 0.5rem 0.5rem;
    }

    .site-footer .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
}