@charset "utf-8";

/* ============================================================
   [그누보드5 완전 리셋 패턴] 
   rules.md 가이드 준수 (ID 특이성 보호)
   ============================================================ */
#tg-sticker-wrapper,
#tg-sticker-wrapper *,
#tg-sticker-wrapper *::before,
#tg-sticker-wrapper *::after {
    box-sizing: border-box !important;
    margin: 0; padding: 0; border: none;
    outline: none; text-decoration: none;
    list-style: none; background: none;
    font-style: normal;
    -webkit-font-smoothing: antialiased !important;
    word-break: keep-all;
}

#tg-sticker-wrapper h1, 
#tg-sticker-wrapper h2, 
#tg-sticker-wrapper h3, 
#tg-sticker-wrapper h4, 
#tg-sticker-wrapper h5, 
#tg-sticker-wrapper h6 { font-size: inherit; font-weight: inherit; color: inherit; }

#tg-sticker-wrapper p {
    margin-bottom: 14px !important;
    line-height: 1.8 !important;
}
#tg-sticker-wrapper p:last-child { margin-bottom: 0 !important; }

/* ============================================================
   [디자인 시스템] Sticker Joy (Violet/Amber)
   ============================================================ */
:root {
    --sticker-primary: #8b5cf6; /* Violet 500 */
    --sticker-primary-dark: #6d28d9;
    --sticker-secondary: #f59e0b; /* Amber 500 */
    --sticker-bg-light: #f5f3ff;
    --sticker-slate-900: #0f172a;
    --sticker-slate-800: #1e293b;
    --sticker-slate-100: #f1f5f9;
    --sticker-white: #ffffff;
    --sticker-radius: 32px;
}

#tg-sticker-wrapper {
    max-width: 1100px !important;
    margin: 30px auto !important;
    width: 100% !important;
    font-family: 'Pretendard', sans-serif !important;
    background-color: #fcfaff !important;
    color: var(--sticker-slate-800) !important;
    overflow: hidden !important;
}

#tg-sticker-wrapper strong { font-weight: 800 !important; color: var(--sticker-primary-dark) !important; }
#tg-sticker-wrapper mark {
    background: linear-gradient(120deg, #ede9fe 0%, #ddd6fe 100%) !important;
    color: var(--sticker-primary-dark) !important;
    font-weight: 800 !important;
    padding: 2px 8px !important;
    border-radius: 6px !important;
}

/* ============================================================
   [Hero Section]
   ============================================================ */
#tg-sticker-wrapper .tg-sticker-hero {
    background: linear-gradient(135deg, #4c1d95 0%, #7c3aed 100%) !important;
    padding: 120px 24px !important;
    text-align: center !important;
    position: relative !important;
    overflow: hidden !important;
}

#tg-sticker-wrapper .tg-sticker-hero::after {
    content: "" !important; position: absolute !important; bottom: -50px !important; left: -50px !important;
    width: 200px !important; height: 200px !important;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.2) 0%, transparent 70%) !important;
}

#tg-sticker-hero__inner {
    max-width: 900px !important;
    margin: 0 auto !important;
    position: relative !important;
    z-index: 2 !important;
}

#tg-sticker-wrapper .tg-sticker-hero__icon-group {
    display: flex !important; align-items: center !important; justify-content: center !important;
    gap: 15px !important; margin-bottom: 40px !important;
}

#tg-sticker-wrapper .tg-sticker-hero__icon-box {
    width: 70px !important; height: 70px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 22px !important;
    display: flex !important; align-items: center !important; justify-content: center !important;
    backdrop-filter: blur(8px) !important;
}

#tg-sticker-wrapper .tg-sticker-hero__badge {
    display: inline-flex !important; align-items: center !important; gap: 8px !important;
    background: rgba(139, 92, 246, 0.2) !important;
    color: #c4b5fd !important;
    border: 1px solid rgba(139, 92, 246, 0.3) !important;
    padding: 10px 24px !important; border-radius: 100px !important;
    font-size: 14px !important; font-weight: 900 !important;
    margin-bottom: 25px !important;
}

#tg-sticker-wrapper .tg-sticker-hero__title {
    font-size: 48px !important; font-weight: 950 !important; line-height: 1.2 !important;
    color: var(--sticker-white) !important; margin-bottom: 25px !important;
}

#tg-sticker-wrapper .tg-sticker-hero__title span { color: var(--sticker-secondary) !important; }

#tg-sticker-wrapper .tg-sticker-hero__desc {
    font-size: 20px !important; color: rgba(255, 255, 255, 0.8) !important;
    max-width: 700px !important; margin: 0 auto !important;
}

/* ============================================================
   [Main Content Sections]
   ============================================================ */
#tg-sticker-wrapper .tg-sticker-main {
    padding: 40px 20px !important;
    display: flex !important; flex-direction: column !important; gap: 50px !important;
}

#tg-sticker-wrapper .tg-sticker-section {
    background: var(--sticker-white) !important;
    padding: 60px 45px !important;
    border-radius: var(--sticker-radius) !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.02) !important;
}

#tg-sticker-wrapper .tg-sticker-section--dark {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
    border: none !important;
}

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

#tg-sticker-wrapper .tg-sticker-section__icon {
    width: 60px !important; height: 60px !important;
    background: #f5f3ff !important; color: var(--sticker-primary) !important;
    border-radius: 18px !important; display: flex !important; align-items: center !important; justify-content: center !important;
}

#tg-sticker-wrapper .tg-sticker-section--dark .tg-sticker-section__icon {
    background: rgba(255, 255, 255, 0.05) !important; color: var(--sticker-secondary) !important;
}

#tg-sticker-wrapper .tg-sticker-section__title {
    font-size: 28px !important; font-weight: 900 !important; color: var(--sticker-slate-900) !important;
}

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

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

#tg-sticker-wrapper .tg-sticker-card {
    background: #fdfdfd !important; padding: 40px 30px !important; border-radius: 28px !important;
    border: 1px solid #f1f5f9 !important; text-align: center !important;
    transition: all 0.3s ease !important;
}

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

/* ─── 팁 박스 ─── */
#tg-sticker-wrapper .tg-sticker-tip {
    display: flex !important; gap: 20px !important; background: #fdf2f2 !important;
    padding: 30px !important; border-radius: 24px !important; border-left: 5px solid #f87171 !important;
    margin-top: 30px !important;
}

#tg-sticker-wrapper .tg-sticker-tip__icon { flex-shrink: 0 !important; }
#tg-sticker-wrapper .tg-sticker-tip__title { font-weight: 900 !important; color: #b91c1c !important; margin-bottom: 10px !important; display: block !important; }

/* ─── 절차 안내 ─── */
#tg-sticker-wrapper .tg-sticker-steps {
    display: flex !important; flex-direction: column !important; gap: 15px !important;
}

#tg-sticker-wrapper .tg-sticker-step {
    display: flex !important; align-items: center !important; gap: 20px !important;
    padding: 20px 30px !important; background: var(--sticker-slate-100) !important;
    border-radius: 20px !important;
}

#tg-sticker-wrapper .tg-sticker-step__num {
    width: 36px !important; height: 36px !important; background: var(--sticker-primary) !important;
    color: #fff !important; border-radius: 10px !important; display: flex !important;
    align-items: center !important; justify-content: center !important; font-weight: 900 !important;
}

/* ============================================================
   [Summary Section]
   ============================================================ */
#tg-sticker-wrapper .tg-sticker-summary {
    background: linear-gradient(135deg, #4c1d95 0%, #6d28d9 100%) !important;
    padding: 80px 40px !important; border-radius: 40px !important;
    text-align: center !important; color: #fff !important;
}

#tg-sticker-wrapper .tg-sticker-summary__title {
    font-size: 36px !important; font-weight: 900 !important; margin-bottom: 60px !important;
}

#tg-sticker-wrapper .tg-sticker-formula {
    display: flex !important; align-items: center !important; justify-content: center !important;
    gap: 25px !important; margin-bottom: 60px !important; flex-wrap: wrap !important;
}

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

#tg-sticker-wrapper .tg-sticker-formula__icon {
    width: 80px !important; height: 80px !important; background: rgba(255, 255, 255, 0.1) !important;
    border-radius: 24px !important; border: 1px solid rgba(255, 255, 255, 0.2) !important;
    display: flex !important; align-items: center !important; justify-content: center !important;
}

#tg-sticker-wrapper .tg-sticker-formula__icon--active {
    background: var(--sticker-secondary) !important; color: var(--sticker-slate-900) !important; 
    box-shadow: 0 0 30px rgba(245, 158, 11, 0.4) !important;
}

#tg-sticker-wrapper .tg-sticker-formula__text { font-size: 15px !important; font-weight: 850 !important; }

/* 체크리스트 */
#tg-sticker-wrapper .tg-sticker-checklist {
    text-align: left !important; display: inline-block !important;
    background: #fff !important; padding: 50px !important; border-radius: 32px !important;
    width: 100% !important; max-width: 850px !important;
}

#tg-sticker-wrapper .tg-sticker-checklist li {
    position: relative !important; padding-left: 45px !important; margin-bottom: 25px !important;
    color: var(--sticker-slate-800) !important; font-size: 18px !important;
}

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

#tg-sticker-wrapper .tg-sticker-footer {
    margin-top: 60px !important; font-size: 16px !important; opacity: 0.8 !important;
}
#tg-sticker-wrapper .tg-sticker-footer a { color: #fff !important; font-weight: 800 !important; text-decoration: underline !important; }

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

@media (max-width: 768px) {
    #tg-sticker-wrapper .tg-sticker-hero__title { font-size: 32px !important; }
    #tg-sticker-wrapper .tg-sticker-section { padding: 40px 25px !important; }
    #tg-sticker-wrapper .tg-sticker-checklist { padding: 30px !important; }
}
