/**
 * 픽짱 - AI 매력 평가 서비스 스타일
 */

/* 테마 색상 */
:root { --hub-accent: #e91e63; }

/* 히어로 여백 축소 */
.hub-hero { padding: 20px 0 16px; margin-bottom: 16px; }

/* 상단 고정 영역 (팁 + 네비) */
.pj-sticky-top {
    position: sticky; top: 0; z-index: 100;
}
.pj-sticky-top .hub-navbar {
    position: static;
}

/* 슬라이딩 팁 배너 */
.pj-tip-slider {
    position: relative; overflow: hidden; height: 36px;
    background: #1a1a2e; width: 100%;
}
.pj-tip-slide {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    padding: 0 16px; font-size: 0.8rem; color: #ccc; text-align: center; white-space: nowrap;
    opacity: 0; transform: translateX(30%);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.pj-tip-slide.active { opacity: 1; transform: translateX(0); }
.pj-tip-slide.out { opacity: 0; transform: translateX(-30%); }
.pj-tip-slide strong { color: #ff6b9d; }
.pj-tip-dots {
    position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 4px; z-index: 2;
}
.pj-tip-dot {
    width: 4px; height: 4px; border-radius: 50%;
    background: rgba(255,255,255,0.3); transition: background 0.3s;
}
.pj-tip-dot.active { background: #ff6b9d; }

@media (max-width: 600px) {
    .pj-tip-slider { height: 30px; }
    .pj-tip-slide { font-size: 0.7rem; }
}

/* 안내 문구 */
.pj-notice {
    text-align: center;
    color: #e91e63;
    font-size: 0.85rem;
    padding: 8px 16px;
    margin-bottom: 20px;
    background: rgba(233, 30, 99, 0.06);
    border-radius: 8px;
}
.pj-notice p { margin: 0; }

/* 섹션 */
.pj-section {
    margin-bottom: 32px;
    text-align: center;
}

.pj-section-title {
    font-family: 'Jua', 'Noto Sans KR', sans-serif;
    font-size: 1.6rem;
    margin-bottom: 16px;
    color: var(--hub-text);
}

.pj-section-title.pj-woman { color: #e91e63; }
.pj-section-title.pj-man { color: #2196f3; }

/* 버튼 그룹 */
.pj-btn-group {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.pj-btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.15s, box-shadow 0.15s;
    min-width: 120px;
    text-align: center;
}

.pj-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.pj-btn-primary {
    background: #e91e63;
    color: #fff;
}

.pj-btn-secondary {
    background: #f5f5f5;
    color: #333;
    border: 1px solid #ddd;
}

.pj-btn-rank {
    background: #fff;
    color: #555;
    border: 1px solid #ddd;
    min-width: 90px;
    padding: 10px 18px;
    font-size: 0.9rem;
}

/* 복구 상태 */
.pj-status {
    margin-top: 40px;
    padding: 24px;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid #e91e63;
}

.pj-status h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: #e91e63;
}

.pj-status p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 12px;
}

.pj-status ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pj-status li {
    padding: 4px 0;
    font-size: 0.85rem;
    color: #888;
}

.pj-status li::before {
    content: '⬜ ';
}

/* ===== SEO 섹션 ===== */
.seo-section {
    margin-top: 40px;
}
.seo-section h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 18px 0 6px;
    color: var(--hub-text);
}
.seo-section h3:first-of-type { margin-top: 0; }
.seo-section p {
    font-size: 0.88rem;
    color: var(--hub-text-light);
    line-height: 1.8;
    margin: 0 0 12px;
}

/* ===== FAQ ===== */
.faq-item {
    border-bottom: 1px solid var(--hub-border);
}
.faq-item:last-child { border-bottom: none; }
.faq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 14px 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--hub-text);
    cursor: pointer;
    background: none;
    border: none;
    text-align: left;
    gap: 12px;
    -webkit-tap-highlight-color: transparent;
}
.faq-arrow {
    font-size: 0.6rem;
    color: var(--hub-text-light);
    transition: transform 0.2s;
    flex-shrink: 0;
}
.faq-arrow.open { transform: rotate(180deg); }
.faq-a {
    padding: 0 0 14px;
    font-size: 0.85rem;
    color: var(--hub-text-light);
    line-height: 1.7;
}

/* ===== 모바일 최적화 ===== */
@media (max-width: 600px) {
    /* 네비바 슬림화 */
    .hub-navbar { height: 44px; }
    .hub-navbar-inner { padding: 0 12px; }
    .hub-navbar-brand { font-size: 1rem; }
    .hub-navbar-menu a { font-size: 0.75rem !important; margin-right: 4px !important; }

    /* 히어로 컴팩트 */
    .hub-hero { padding: 10px 0 6px; border-bottom: none; }
    .hub-hero-emoji { display: none; }
    .hub-hero h1 { font-size: 1.1rem; margin-bottom: 0; }
    .hub-hero p { font-size: 0.8rem; margin-top: 2px; color: #aaa; }

    /* 컨테이너 */
    .hub-container { padding: 8px 12px 24px; }

    /* 안내 문구 축소 */
    .pj-notice { padding: 6px 10px; margin-bottom: 10px; font-size: 0.75rem; }

    /* 섹션 간격 축소 */
    .pj-section { margin-bottom: 20px; }
    .pj-section-title { font-size: 1.3rem; margin-bottom: 10px; }

    /* 버튼 컴팩트 */
    .pj-btn { padding: 10px 16px; font-size: 0.9rem; min-width: 90px; }
    .pj-btn-group { gap: 8px; }

    /* 광고/위젯 간격 축소 */
    .hub-ad-block { margin: 16px 0; }

    /* SEO/FAQ 모바일 */
    .seo-section { margin-top: 24px; }
    .seo-section h3 { font-size: 0.88rem; margin: 14px 0 4px; }
    .seo-section p { font-size: 0.82rem; line-height: 1.7; }
    .faq-q { font-size: 0.85rem; padding: 12px 0; }
    .faq-a { font-size: 0.8rem; }

    /* 푸터 축소 */
    .site-footer { margin-top: 32px; }
    .site-footer-inner { padding: 18px 14px; }
}

/* 푸터 */
.site-footer {
    margin-top: 48px;
    border-top: 1px solid var(--hub-border);
    background: var(--hub-bg-light);
}
.site-footer-inner {
    max-width: 728px;
    margin: 0 auto;
    padding: 24px 20px;
    text-align: center;
}
.site-footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 12px;
}
.site-footer-links a {
    font-size: 0.82rem;
    color: var(--hub-text-light);
    text-decoration: none;
}
.site-footer-links a:hover {
    color: var(--hub-accent);
}
.site-footer-copy {
    font-size: 0.72rem;
    color: #aaa;
}

/* 텍스트 강조 3종 */
.txt-hl {
    background: linear-gradient(transparent 60%, #fff9c4 60%);
    padding: 0 2px;
    font-weight: 700;
}
.txt-b {
    font-weight: 800;
    color: #222;
}
.txt-ul {
    text-decoration: none;
    border-bottom: 2px solid #e91e63;
    padding-bottom: 2px;
}
