/**
 * 플레이가이드 페이지 전용 스타일
 * 파일: public/products/nd/css/guide-play.css
 */

/* ========================================
   플레이가이드 콘텐츠
   ======================================== */
.guide-content {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    overflow: hidden;
}

.guide-header {
    padding: 30px 40px;
    background: #fafafa;
    border-bottom: 1px solid #e8e8e8;
}

.guide-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.guide-header p {
    font-size: 17px;
    color: #888;
    line-height: 1.6;
}

/* ========================================
   가이드 섹션
   ======================================== */
.guide-section {
    padding: 40px;
    border-bottom: 1px solid #f0f0f0;
}

.guide-section:last-child {
    border-bottom: none;
}

.guide-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.step-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #a07c20;
    background: rgba(223, 203, 150, 0.15);
    border: 1px solid rgba(223, 203, 150, 0.5);
    border-radius: 2px;
    flex-shrink: 0;
}

.step-badge::before {
    content: 'STEP';
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: #bba060;
}

.guide-section-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
}

.guide-section-desc {
    font-size: 17px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 24px;
}

/* ========================================
   가이드 이미지
   ======================================== */
.guide-image-wrapper {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e8e8e8;
    margin-bottom: 30px;
}

.guide-image {
    width: 100%;
    display: block;
}

/* ========================================
   정보 박스
   ======================================== */
.info-box {
    background: rgba(223, 203, 150, 0.1);
    border: 1px solid rgba(223, 203, 150, 0.4);
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 24px;
}

.info-box.info-box-mt {
    margin-top: 30px;
}

.info-box-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    color: #a07c20;
    margin-bottom: 12px;
}

.info-box-title svg {
    width: 20px;
    height: 20px;
}

.info-box-content {
    font-size: 16px;
    color: #555;
    line-height: 1.7;
}

/* ========================================
   스탯 그리드
   ======================================== */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.stat-card {
    background: #fafafa;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    padding: 20px;
    transition: all 0.3s;
}

.stat-card:hover {
    border-color: #DFCB96;
    transform: translateY(-2px);
}

.stat-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.stat-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #a07c20;
}

.stat-name {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
}

.stat-name-kr {
    font-size: 14px;
    color: #888;
    margin-left: 6px;
}

.stat-desc {
    font-size: 15px;
    color: #888;
    line-height: 1.6;
}

/* ========================================
   지역 그리드
   ======================================== */
.region-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.region-card {
    background: #fafafa;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    padding: 20px;
    transition: all 0.3s;
}

.region-card:hover {
    border-color: #DFCB96;
}

.region-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.region-name {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
}

.region-faction {
    font-size: 15px;
    color: #a07c20;
    background: rgba(223, 203, 150, 0.15);
    padding: 4px 10px;
    border-radius: 20px;
}

.region-desc {
    font-size: 15px;
    color: #888;
    line-height: 1.6;
}

.region-restriction {
    margin-top: 10px;
    font-size: 14px;
    color: #e05252;
}

.region-restriction.available {
    color: #3aaa6e;
}

/* ========================================
   NPC 리스트
   ======================================== */
.npc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 12px;
    margin-top: 20px;
}

.npc-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #fafafa;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 16px;
}

.npc-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
    border-radius: 8px;
    flex-shrink: 0;
}

.npc-icon svg {
    width: 18px;
    height: 18px;
    color: #a07c20;
}

.npc-info {
    flex: 1;
}

.npc-name {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.npc-desc {
    font-size: 14px;
    color: #888;
    line-height: 1.5;
}

/* ========================================
   특별 안내 박스
   ======================================== */
.notice-box {
    background: #fafafa;
    border-left: 4px solid #DFCB96;
    border-radius: 0 10px 10px 0;
    padding: 20px 24px;
    margin-top: 24px;
}

.notice-box-title {
    font-size: 17px;
    font-weight: 700;
    color: #a07c20;
    margin-bottom: 10px;
}

.notice-box-content {
    font-size: 16px;
    color: #555;
    line-height: 1.7;
}

.notice-box-content strong {
    color: #a07c20;
}

/* ========================================
   반응형 - 모바일 (768px 이하)
   ======================================== */
@media (max-width: 768px) {
    .guide-header {
        padding: 25px 20px;
    }

    .guide-header h3 {
        font-size: 20px;
    }

    .guide-header p {
        padding-left: 0;
        padding-right: 0;
    }

    .guide-section {
        padding: 25px 20px;
    }

    .guide-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .step-badge {
        font-size: 11px;
        padding: 4px 12px;
    }

    .guide-section-title {
        font-size: 18px;
    }

    .stat-grid,
    .region-grid,
    .npc-grid {
        grid-template-columns: 1fr;
    }
}
