/*
Theme Name: Lumina Studio
Theme URI: https://lumina-presets.com
Author: Creative Visuals Lab
Version: 1.0.0
Description: Minimalist Editorial & Digital Photography Store Theme
*/

:root {
    --bg-main: #0c0d11;
    --bg-card: #14161f;
    --accent: #2563eb;
    --accent-hover: #1d4ed8;
    --text-primary: #f8fafc;
    --text-muted: #94a3b8;
    --border-color: rgba(255, 255, 255, 0.08);
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.7;
}

.site-wrap {
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 顶部导航 */
.site-header {
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.site-logo {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}
.site-nav a {
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 20px;
    font-size: 13px;
    font-weight: 500;
    transition: color 0.2s;
}
.site-nav a:hover {
    color: #fff;
}

/* 首页文章网格 */
.home-hero {
    text-align: center;
    padding: 60px 0 40px;
}
.home-hero h1 {
    font-size: 36px;
    font-weight: 800;
    margin: 0 0 10px 0;
}
.home-hero p {
    color: var(--text-muted);
    font-size: 15px;
    margin: 0;
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 40px 0 60px;
}
@media (max-width: 700px) {
    .post-grid { grid-template-columns: 1fr; }
}

.post-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s, border-color 0.2s;
}
.post-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.2);
}
.post-card-thumb {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}
.post-card-body {
    padding: 20px;
}
.post-card-meta {
    font-size: 11px;
    color: #60a5fa;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 8px;
}
.post-card-title {
    margin: 0 0 10px 0;
    font-size: 18px;
}
.post-card-title a {
    color: #fff;
    text-decoration: none;
}
.post-card-excerpt {
    color: var(--text-muted);
    font-size: 13px;
    margin: 0 0 15px 0;
}

/* 文章详情页 (Single) */
.article-container {
    max-width: 760px;
    margin: 40px auto 60px;
}
.article-header {
    text-align: center;
    margin-bottom: 30px;
}
.article-meta {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 12px;
}
.article-title {
    font-size: 34px;
    font-weight: 800;
    line-height: 1.3;
    margin: 0;
}
.article-featured-img {
    width: 100%;
    border-radius: 8px;
    margin: 25px 0 35px;
    display: block;
}
.article-content {
    font-size: 16px;
    line-height: 1.8;
    color: #cbd5e1;
}
.article-content p {
    margin-bottom: 24px;
}
.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 20px 0;
}

/* 核心：文章内嵌直接购买卡片 */
.post-checkout-box {
    background: linear-gradient(135deg, #161922 0%, #10121a 100%);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 12px;
    padding: 35px 30px;
    margin: 50px 0 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    text-align: center;
}
.checkout-badge {
    display: inline-block;
    font-size: 11px;
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.3);
    padding: 3px 12px;
    border-radius: 20px;
    font-weight: 700;
    margin-bottom: 15px;
}
.checkout-title {
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 10px 0;
    color: #fff;
}
.checkout-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0 0 20px 0;
}
.checkout-price-row {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 20px;
}
.checkout-price {
    font-size: 36px;
    font-weight: 800;
    color: #fff;
}
.checkout-price-original {
    color: #64748b;
    text-decoration: line-through;
    font-size: 15px;
}
.btn-stripe-pay {
    display: block;
    width: 100%;
    max-width: 400px;
    margin: 0 auto 15px;
    background: var(--accent);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    padding: 15px 0;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}
.btn-stripe-pay:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}
.checkout-features {
    display: flex;
    justify-content: center;
    gap: 15px;
    font-size: 11px;
    color: #64748b;
    flex-wrap: wrap;
}

/* 底部 */
.site-footer {
    border-top: 1px solid var(--border-color);
    padding: 40px 0;
    margin-top: 60px;
    font-size: 12px;
    color: #64748b;
    text-align: center;
}
.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    margin: 0 8px;
}
.footer-links a:hover {
    color: #fff;
}