@charset "utf-8";

/* ============================================
   텔레그램 음성 대화 미니 프로필 가이드 (v1.0.0)
   접두사: tg-mini-
   테마: Social & Profile Blue (Sky Blue & Soft Slate)
============================================ */

:root {
    --mini-primary: #0088cc; /* Telegram Social Blue */
    --mini-primary-light: #e1f5fe;
    --mini-accent: #ffab40;  /* Profile Edit Amber */
    --mini-navy: #1c2b36;
    --mini-white: #ffffff;
    
    --mini-slate-900: #0f172a;
    --mini-slate-800: #1e293b;
    --mini-slate-600: #475569;
    --mini-slate-400: #94a3b8;
    --mini-slate-100: #f1f5f9;
    
    --mini-radius: 20px;
}

/* ============================================
   그누보드5 기존 CSS 충돌 방지용 완전 리셋
============================================ */
#tg-mini-wrapper,
#tg-mini-wrapper *,
#tg-mini-wrapper *::before,
#tg-mini-wrapper *::after {
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    outline: none !important;
    text-decoration: none !important;
    list-style: none !important;
    background: none !important;
    font-style: normal !important;
    -webkit-font-smoothing: antialiased !important;
    word-break: keep-all !important;
}

#tg-mini-wrapper h1, #tg-mini-wrapper h2, #tg-mini-wrapper h3,
#tg-mini-wrapper p, #tg-mini-wrapper span, #tg-mini-wrapper div {
    font-size: inherit !important;
    font-weight: inherit !important;
    color: inherit !important;
    line-height: inherit !important;
}

/* 래퍼 본체 */
#tg-mini-wrapper {
    max-width: 1100px !important;
    margin: 0 auto !important;
    width: 100% !important;
    font-family: 'Pretendard', sans-serif !important;
    background-color: #f8fbff !important;
    color: var(--mini-slate-800) !important;
    padding-bottom: 80px !important;
    overflow: hidden !important;
}

#tg-mini-wrapper strong {
    font-weight: 700 !important;
    color: var(--mini-primary) !important;
}

#tg-mini-wrapper p {
    margin-bottom: 16px !important;
    line-height: 1.8 !important;
    display: block !important;
}

#tg-mini-wrapper mark {
    background: linear-gradient(120deg, #e0f2fe 0%, #bae6fd 100%) !important;
    color: #0369a1 !important;
    font-weight: 700 !important;
    padding: 2px 8px !important;
    border-radius: 4px !important;
}

/* ============================================
   히어로 섹션
============================================ */
#tg-mini-wrapper .tg-mini-hero {
    background: linear-gradient(135deg, #0088cc 0%, #005580 100%) !important;
    padding: 110px 24px !important;
    text-align: center !important;
    position: relative !important;
    overflow: hidden !important;
}

#tg-mini-wrapper .tg-mini-hero::before {
    content: "\f2bd" !important; /* User Circle icon */
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
    position: absolute !important;
    font-size: 300px !important;
    color: rgba(255, 255, 255, 0.04) !important;
    bottom: -60px !important; right: -40px !important;
    transform: rotate(10deg) !important;
}

#tg-mini-wrapper .tg-mini-hero__inner {
    position: relative !important; z-index: 1 !important;
    display: flex !important; flex-direction: column !important; align-items: center !important;
}

#tg-mini-wrapper .tg-mini-hero__badge {
    display: inline-flex !important; align-items: center !important; gap: 8px !important;
    background: rgba(255, 255, 255, 0.15) !important;
    color: #fff !important;
    font-size: 14px !important; font-weight: 850 !important;
    padding: 10px 26px !important; border-radius: 100px !important;
    margin-bottom: 28px !important; border: 1px solid rgba(255, 255, 255, 0.25) !important;
    backdrop-filter: blur(10px) !important;
}

#tg-mini-wrapper .tg-mini-hero__title {
    font-size: 36px !important; font-weight: 950 !important; line-height: 1.3 !important;
    color: var(--mini-white) !important; margin-bottom: 24px !important;
    letter-spacing: -0.01em !important;
}

#tg-mini-wrapper .tg-mini-hero__desc {
    font-size: 19px !important; color: rgba(255, 255, 255, 0.9) !important;
    max-width: 720px !important;
}

#tg-mini-wrapper .tg-mini-hero__desc strong {
    color: #ffd740 !important; font-weight: 800 !important;
}

/* ============================================
   메인 콘텐츠
============================================ */
#tg-mini-wrapper .tg-mini-main {
    padding: 50px 24px !important;
    display: flex !important; flex-direction: column !important; gap: 50px !important;
}

#tg-mini-wrapper .tg-mini-intro {
    background: var(--mini-white) !important;
    padding: 36px !important; border-radius: var(--mini-radius) !important;
    border-left: 8px solid var(--mini-primary) !important;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.04) !important;
}

#tg-mini-wrapper .tg-mini-section {
    background: var(--mini-white) !important;
    padding: 45px 35px !important; border-radius: var(--mini-radius) !important;
    border: 1px solid var(--mini-slate-100) !important;
}

#tg-mini-wrapper .tg-mini-section--dark {
    background: linear-gradient(135deg, #1c2b36 0%, #173e43 100%) !important;
    border-color: #2a4151 !important;
}

/* 다크 섹션 가독성 */
#tg-mini-wrapper .tg-mini-section--dark p { color: #cbd5e1 !important; }
#tg-mini-wrapper .tg-mini-section--dark strong { color: var(--mini-accent) !important; }

#tg-mini-wrapper .tg-mini-section__head {
    display: flex !important; align-items: center !important; gap: 18px !important;
    margin-bottom: 35px !important;
}

#tg-mini-wrapper .tg-mini-section__icon {
    width: 52px !important; height: 52px !important;
    background: var(--mini-primary-light) !important; color: var(--mini-primary) !important;
    border-radius: 14px !important; display: flex !important; align-items: center !important; justify-content: center !important;
    font-size: 22px !important;
}

#tg-mini-wrapper .tg-mini-section--dark .tg-mini-section__icon {
    background: rgba(255, 255, 255, 0.1) !important; color: var(--mini-accent) !important;
}

#tg-mini-wrapper .tg-mini-section__title {
    font-size: 26px !important; font-weight: 850 !important; color: var(--mini-navy) !important;
}

#tg-mini-wrapper .tg-mini-section--dark .tg-mini-section__title {
    color: var(--mini-white) !important;
}

/* ─── 카드 그리드 ─── */
#tg-mini-wrapper .tg-mini-grid {
    display: grid !important; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
    gap: 25px !important;
}

#tg-mini-wrapper .tg-mini-card {
    background: #fff !important; padding: 32px !important; border-radius: 20px !important;
    border: 1px solid #f1f5f9 !important; transition: all 0.4s ease !important;
}

#tg-mini-wrapper .tg-mini-card:hover {
    transform: translateY(-8px) !important; border-color: var(--mini-primary) !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05) !important;
}

#tg-mini-wrapper .tg-mini-card i {
    font-size: 32px !important; color: var(--mini-primary) !important; margin-bottom: 20px !important;
}

#tg-mini-wrapper .tg-mini-card h3 {
    font-size: 22px !important; font-weight: 900 !important; color: var(--mini-navy) !important; margin-bottom: 15px !important;
}

/* ─── 리스트 아이템 ─── */
#tg-mini-wrapper .tg-mini-list {
    display: flex !important; flex-direction: column !important; gap: 20px !important;
}

#tg-mini-wrapper .tg-mini-list-item {
    display: flex !important; align-items: flex-start !important; gap: 20px !important;
    padding: 24px !important; background: rgba(255, 255, 255, 0.05) !important;
    border-radius: 18px !important; border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

#tg-mini-wrapper .tg-mini-list-item__icon {
    width: 44px !important; height: 44px !important;
    background: rgba(255, 255, 255, 0.1) !important; color: var(--mini-accent) !important;
    border-radius: 12px !important; display: flex !important; align-items: center !important; justify-content: center !important;
    font-size: 20px !important; flex-shrink: 0 !important;
}

#tg-mini-wrapper .tg-mini-list-item__content h4 {
    font-size: 19px !important; font-weight: 850 !important; color: #fff !important; margin-bottom: 8px !important;
}

#tg-mini-wrapper .tg-mini-list-item__content p {
    font-size: 15px !important; color: #cbd5e1 !important; margin-bottom: 0 !important;
}

/* ─── 팁 박스 ─── */
#tg-mini-wrapper .tg-mini-tip {
    background: #f1f8ff !important; border: 1px solid #d1e9ff !important;
    padding: 30px !important; border-radius: 24px !important; position: relative !important;
}

#tg-mini-wrapper .tg-mini-tip::before {
    content: "\f0eb" !important; font-family: "Font Awesome 5 Free" !important; font-weight: 900 !important;
    position: absolute !important; right: 30px !important; top: 30px !important;
    font-size: 40px !important; color: rgba(0, 136, 204, 0.1) !important;
}

#tg-mini-wrapper .tg-mini-tip__badge {
    display: inline-block !important; background: var(--mini-primary) !important; color: #fff !important;
    padding: 4px 16px !important; border-radius: 100px !important; font-size: 13px !important; font-weight: 800 !important;
    margin-bottom: 16px !important;
}

#tg-mini-wrapper .tg-mini-tip h4 {
    font-size: 20px !important; font-weight: 900 !important; color: var(--mini-navy) !important; margin-bottom: 12px !important;
}

#tg-mini-wrapper .tg-mini-tip p {
    color: var(--mini-slate-800) !important; font-size: 16px !important; margin-bottom: 14px !important;
}

#tg-mini-wrapper .tg-mini-tip-list {
    display: flex !important; flex-direction: column !important; gap: 10px !important;
}

#tg-mini-wrapper .tg-mini-tip-list li {
    position: relative !important; padding-left: 26px !important; font-size: 15px !important;
}

#tg-mini-wrapper .tg-mini-tip-list li::before {
    content: "\f00c" !important; font-family: "Font Awesome 5 Free" !important; font-weight: 900 !important;
    position: absolute !important; left: 0 !important; top: 3px !important; color: var(--mini-primary) !important;
}

/* ============================================
   결론 및 요약 (Summary 섹션)
============================================ */
#tg-mini-wrapper .tg-mini-summary {
    background: linear-gradient(135deg, #0088cc 0%, #004466 100%) !important;
    padding: 70px 30px !important; border-radius: 32px !important; text-align: center !important;
}

#tg-mini-wrapper .tg-mini-summary__title {
    font-size: 30px !important; font-weight: 950 !important; color: #fff !important; margin-bottom: 30px !important;
}

/* 요약 이포그래픽 */
#tg-mini-wrapper .tg-mini-summary__visual {
    display: flex !important; justify-content: center !important; align-items: center !important;
    gap: 20px !important; margin-bottom: 50px !important; flex-wrap: wrap !important;
}

#tg-mini-wrapper .tg-mini-summary__v-item {
    display: flex !important; flex-direction: column !important; align-items: center !important; gap: 12px !important;
}

#tg-mini-wrapper .tg-mini-summary__v-icon {
    width: 76px !important; height: 76px !important;
    background: rgba(255, 255, 255, 0.1) !important; border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 24px !important; display: flex !important; align-items: center !important; justify-content: center !important;
    font-size: 30px !important; color: #fff !important;
}

#tg-mini-wrapper .tg-mini-summary__v-icon--active {
    background: var(--mini-accent) !important; color: var(--mini-navy) !important;
    box-shadow: 0 15px 35px rgba(255, 171, 64, 0.3) !important; border-color: transparent !important;
}

#tg-mini-wrapper .tg-mini-summary__v-text { font-size: 15px !important; font-weight: 800 !important; color: #fff !important; }

#tg-mini-wrapper .tg-mini-summary__v-arrow {
    height: 76px !important; display: flex !important; align-items: center !important;
    padding-bottom: 28px !important; color: rgba(255,255,255,0.3) !important; font-size: 22px !important;
}

/* 체크리스트 */
#tg-mini-wrapper .tg-mini-summary__checklist {
    text-align: left !important; display: inline-block !important;
    background: #fff !important; padding: 45px !important;
    border-radius: 28px !important; width: 100% !important; max-width: 760px !important;
    box-shadow: 0 30px 70px rgba(0,0,0,0.2) !important;
}

#tg-mini-wrapper .tg-mini-summary__checklist li {
    position: relative !important; padding-left: 38px !important;
    margin-bottom: 22px !important; font-size: 17px !important; color: var(--mini-slate-800) !important;
}

#tg-mini-wrapper .tg-mini-summary__checklist li:last-child { margin-bottom: 0 !important; }

#tg-mini-wrapper .tg-mini-summary__checklist li::before {
    content: "\f058" !important; font-family: "Font Awesome 5 Free" !important; font-weight: 900 !important;
    position: absolute !important; left: 0 !important; top: 3px !important; color: var(--mini-primary) !important;
    font-size: 24px !important;
}

#tg-mini-wrapper .tg-mini-summary__footer {
    margin-top: 50px !important; font-size: 16px !important; color: rgba(255, 255, 255, 0.7) !important;
    line-height: 1.7 !important;
}

#tg-mini-wrapper .tg-mini-summary__footer strong {
    color: #ffd740 !important; font-weight: 900 !important;
}

/* 반응형 */
@media (max-width: 768px) {
    #tg-mini-wrapper .tg-mini-hero__title { font-size: 28px !important; }
    #tg-mini-wrapper .tg-mini-summary__visual { gap: 14px !important; }
}

/* 애니메이션 */
.tg-mini-motion {
    opacity: 0 !important; transform: translateY(30px) !important;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.tg-mini-motion.is-visible {
    opacity: 1 !important; transform: translateY(0) !important;
}
