@charset "utf-8";

/* ============================================
   텔레그램 꿀팁 가이드 - 주제(Topics) 2.0 편
   접두사: tg-t233- (기존 사이트 오염 방지)
   컬러 톤: 인디고(Indigo) + 바이올렛(Violet)
   v1.0.0 - 초기 생성
============================================ */

/* ── CSS 변수 (디자인 토큰) ── */
:root {
    /* 주요 컬러: 인디고/바이올렛 계열 */
    --t233-primary:      #4f46e5;
    --t233-primary-dark: #3730a3;
    --t233-primary-deep: #1e1b4b;
    --t233-primary-light:#eef2ff;
    --t233-secondary:    #8b5cf6;
    --t233-accent:       #f59e0b; /* Amber for accent */

    /* 모노 슬레이트 */
    --t233-slate-900:    #0f172a;
    --t233-slate-700:    #334155;
    --t233-slate-500:    #64748b;
    --t233-slate-300:    #cbd5e1;
    --t233-slate-200:    #e2e8f0;
    --t233-slate-100:    #f1f5f9;
    --t233-bg:           #f8fafc;
    --t233-white:        #ffffff;

    /* 공통 */
    --t233-radius:       16px;
    --t233-shadow:       0 4px 20px rgba(79, 70, 229, 0.08);
}

/* ============================================
   그누보드5 완전 리셋 (CSS 충돌 방지)
============================================ */
#tg-t233-wrapper,
#tg-t233-wrapper * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: none;
    outline: none;
    text-decoration: none;
    list-style: none;
    background: none;
    font-style: normal;
}

#tg-t233-wrapper *::before,
#tg-t233-wrapper *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

#tg-t233-wrapper p {
    margin-bottom: 16px !important;
    line-height: 1.75 !important;
}

#tg-t233-wrapper p:last-child {
    margin-bottom: 0 !important;
}

#tg-t233-wrapper strong {
    font-weight: 700;
    color: var(--t233-slate-900);
}

#tg-t233-wrapper mark {
    background: linear-gradient(120deg, #e0e7ff 0%, #c7d2fe 100%);
    color: var(--t233-primary-dark);
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
}

/* ============================================
   래퍼 및 레이아웃
============================================ */
#tg-t233-wrapper.tg-t233-wrapper {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    font-family: 'Pretendard', -apple-system, sans-serif;
    color: var(--t233-slate-700);
    background-color: var(--t233-bg);
    line-height: 1.7;
    overflow: hidden;
    padding-bottom: 80px;
    text-align: left;
}

/* ============================================
   히어로 헤더
============================================ */
#tg-t233-wrapper .tg-t233-hero {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 40%, #4f46e5 100%) !important;
    color: var(--t233-white);
    padding: 64px 24px 72px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

#tg-t233-wrapper .tg-t233-hero::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
    top: -200px;
    right: -100px;
}

#tg-t233-wrapper .tg-t233-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--t233-white);
    font-size: 13px;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 100px;
    margin-bottom: 24px;
    backdrop-filter: blur(8px);
}

#tg-t233-wrapper .tg-t233-hero__title {
    font-size: 28px;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 18px;
}

#tg-t233-wrapper .tg-t233-hero__title span {
    color: #a5b4fc;
}

#tg-t233-wrapper .tg-t233-hero__desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   메인 콘텐츠 레이아웃
============================================ */
#tg-t233-wrapper .tg-t233-main {
    padding: 40px 20px 0;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* ============================================
   섹션 공통 스타일
============================================ */
#tg-t233-wrapper .tg-t233-section {
    background: var(--t233-white);
    padding: 32px 24px;
    border-radius: var(--t233-radius);
    box-shadow: var(--t233-shadow);
    border: 1px solid var(--t233-slate-100);
}

#tg-t233-wrapper .tg-t233-section__title {
    font-size: 20px;
    font-weight: 800;
    color: var(--t233-slate-900);
    margin-bottom: 24px !important;
    display: flex;
    align-items: center;
    gap: 12px;
}

#tg-t233-wrapper .tg-t233-section__title i {
    color: var(--t233-primary);
}

/* 도입부 */
#tg-t233-wrapper .tg-t233-intro {
    background: var(--t233-primary-light);
    border-left: 5px solid var(--t233-primary);
    padding: 28px;
    border-radius: 12px;
}

#tg-t233-wrapper .tg-t233-intro p {
    font-size: 15.5px;
    color: var(--t233-primary-dark);
}

/* ============================================
   피처 카드 그리드
============================================ */
#tg-t233-wrapper .tg-t233-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

#tg-t233-wrapper .tg-t233-card {
    background: var(--t233-slate-100);
    padding: 24px;
    border-radius: 14px;
    border: 1px solid var(--t233-slate-200);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

#tg-t233-wrapper .tg-t233-card:hover {
    background: var(--t233-white);
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(79, 70, 229, 0.1);
    border-color: var(--t233-primary-dark);
}

#tg-t233-wrapper .tg-t233-card__icon {
    width: 48px;
    height: 48px;
    background: var(--t233-primary);
    color: var(--t233-white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 16px;
}

#tg-t233-wrapper .tg-t233-card__title {
    font-size: 16px;
    font-weight: 700;
    color: var(--t233-slate-900);
    margin-bottom: 8px !important;
}

#tg-t233-wrapper .tg-t233-card__text {
    font-size: 14px;
    color: var(--t233-slate-500);
}

/* ============================================
   탭 인터페이스
============================================ */
#tg-t233-wrapper .tg-t233-tabs {
    display: flex;
    background: var(--t233-slate-100);
    padding: 6px;
    border-radius: 12px;
    margin-bottom: 24px;
}

#tg-t233-wrapper .tg-t233-tab {
    flex: 1;
    text-align: center;
    padding: 12px 0;
    font-size: 14px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--t233-slate-500);
}

#tg-t233-wrapper .tg-t233-tab--active {
    background: var(--t233-white);
    color: var(--t233-primary);
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}

#tg-t233-wrapper .tg-t233-tab-content {
    display: none;
    animation: tg-t233-in 0.4s ease forwards;
}

#tg-t233-wrapper .tg-t233-tab-content--active {
    display: block;
}

@keyframes tg-t233-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 스텝 리스트 */
#tg-t233-wrapper .tg-t233-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

#tg-t233-wrapper .tg-t233-step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

#tg-t233-wrapper .tg-t233-step__num {
    width: 26px;
    height: 26px;
    background: var(--t233-primary-light);
    color: var(--t233-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    flex-shrink: 0;
    margin-top: 2px;
}

#tg-t233-wrapper .tg-t233-step__text {
    font-size: 15px;
    color: var(--t233-slate-700);
}

/* ============================================
   꿀팁 리스트
============================================ */
#tg-t233-wrapper .tg-t233-tips-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

#tg-t233-wrapper .tg-t233-tip-item {
    display: flex;
    gap: 14px;
    padding: 18px;
    background: var(--t233-slate-100);
    border-radius: 12px;
    border: 1px dashed var(--t233-slate-300);
}

#tg-t233-wrapper .tg-t233-tip-item i {
    color: var(--t233-primary);
    font-size: 18px;
    margin-top: 3px;
}

/* ============================================
   마무리 섹션
============================================ */
#tg-t233-wrapper .tg-t233-section--summary {
    background: var(--t233-primary-deep) !important;
    color: var(--t233-white);
    text-align: center;
}

#tg-t233-wrapper .tg-t233-summary__title {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 24px !important;
    color: #a5b4fc;
}

#tg-t233-wrapper .tg-t233-summary__list {
    display: inline-flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
    max-width: 500px;
}

#tg-t233-wrapper .tg-t233-summary__list-item {
    display: flex;
    gap: 10px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
}

#tg-t233-wrapper .tg-t233-summary__list-item i {
    color: #f59e0b;
    margin-top: 4px;
}

/* ============================================
   애니메이션 효과
============================================ */
#tg-t233-wrapper .tg-t233-animate {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

#tg-t233-wrapper .tg-t233-animate--active {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   반응형 처리
============================================ */
@media (min-width: 640px) {
    #tg-t233-wrapper .tg-t233-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 960px) {
    #tg-t233-wrapper .tg-t233-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    #tg-t233-wrapper .tg-t233-hero {
        padding: 80px 48px 100px;
    }
    #tg-t233-wrapper .tg-t233-hero__title {
        font-size: 40px;
    }
    #tg-t233-wrapper .tg-t233-main {
        padding: 50px 60px 0;
    }
}
