/* 글로벌 네비게이션 */
.global-nav {
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0 20px;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.nav-inner {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 50px;
}

.nav-logo {
    color: #e94560;
    font-weight: bold;
    font-size: 1.1rem;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: #a0a0a0;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: #f5a623;
}

/* 뒤로가기 링크 */
.back-link {
    display: inline-block;
    color: #e94560;
    text-decoration: none;
    margin-bottom: 20px;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.back-link:hover {
    color: #f5a623;
}

/* 카테고리 필터 */
.category-filter {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    justify-content: center;
}

.filter-btn {
    padding: 8px 20px;
    border: 1px solid rgba(233, 69, 96, 0.3);
    border-radius: 20px;
    background: transparent;
    color: #a0a0a0;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.filter-btn:hover {
    border-color: #e94560;
    color: #e94560;
}

.filter-btn.active {
    background: linear-gradient(90deg, #e94560, #f5a623);
    border-color: transparent;
    color: #fff;
    font-weight: bold;
}

/* 블로그 목록 */
.blog-list {
    display: grid;
    gap: 20px;
}

.blog-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
}

.blog-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(233, 69, 96, 0.2);
}

.blog-card h2 {
    color: #f5a623;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.blog-card .meta {
    color: #888;
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.blog-card .excerpt {
    color: #c0c0c0;
    line-height: 1.6;
}

/* 카테고리 배지 */
.card-category {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: bold;
    margin-bottom: 8px;
}

.cat-dream {
    background: rgba(168, 85, 247, 0.2);
    color: #a855f7;
}

.cat-interp {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
}

/* 포스트 메타 */
.post-meta {
    color: #888;
    font-size: 0.9rem;
    margin-top: 10px;
}

/* 포스트 본문 */
.post-content {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    line-height: 1.9;
    color: #e0e0e0;
}

.post-content h2 {
    color: #f5a623;
    margin: 30px 0 15px 0;
    font-size: 1.4rem;
}

.post-content h3 {
    color: #e94560;
    margin: 25px 0 12px 0;
    font-size: 1.2rem;
}

.post-content p {
    margin-bottom: 18px;
}

.post-content ul, .post-content ol {
    margin: 15px 0 20px 25px;
}

.post-content li {
    margin-bottom: 10px;
}

.post-content strong {
    color: #e94560;
}

.post-content em {
    color: #a855f7;
}

/* 태그 */
.tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.tag {
    background: rgba(233, 69, 96, 0.2);
    color: #e94560;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
}

/* 페이지네이션 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.page-btn {
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: #c0c0c0;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.page-btn:hover {
    border-color: #e94560;
    color: #e94560;
}

.page-btn.active {
    background: #e94560;
    border-color: #e94560;
    color: #fff;
    font-weight: bold;
}

.page-dots {
    color: #666;
    padding: 0 4px;
}

.no-posts {
    text-align: center;
    color: #888;
    padding: 40px;
}

/* 관련 글 추천 */
.related-posts {
    margin-top: 30px;
}

.related-posts h3 {
    color: #f5a623;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.related-list {
    display: grid;
    gap: 12px;
}

.related-card {
    display: block;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 15px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.related-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(233, 69, 96, 0.15);
}

.related-card strong {
    color: #e0e0e0;
    display: block;
    margin-top: 5px;
    font-size: 0.95rem;
}

.related-card .meta {
    color: #888;
    font-size: 0.8rem;
    margin-top: 5px;
}

/* 반응형 */
@media (max-width: 600px) {
    .nav-inner {
        flex-direction: column;
        height: auto;
        padding: 10px 0;
        gap: 8px;
    }

    .nav-links {
        gap: 12px;
        font-size: 0.85rem;
    }

    .category-filter {
        flex-wrap: wrap;
    }
}
