/* 
 * 텔레그램 계정 자동 탈퇴 안내 전용 스타일
 * Root ID: #ag-telegram-self-destruct
 */

#ag-telegram-self-destruct {
    max-width: 1100px;
    margin: 30px auto !important;
    width: 100% !important;
    font-family: 'Pretendard', sans-serif !important;
    color: #1e293b !important;
    line-height: 1.8 !important;
    background-color: #ffffff !important;
    padding: 20px !important;
    box-sizing: border-box !important;
    border-radius: 40px !important;
    letter-spacing: -0.015em !important;
    overflow: hidden !important;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.04) !important;
}

/* 텍스트 컬러 보존 시스템 */
#ag-telegram-self-destruct p, 
#ag-telegram-self-destruct h1, 
#ag-telegram-self-destruct h2, 
#ag-telegram-self-destruct h3, 
#ag-telegram-self-destruct h4, 
#ag-telegram-self-destruct ul, 
#ag-telegram-self-destruct li,
#ag-telegram-self-destruct span,
#ag-telegram-self-destruct strong,
#ag-telegram-self-destruct i {
    margin: 0 !important;
    padding: 0 !important;
    color: inherit !important;
}

/* 헤더 - 크로노스 테마 (Celestial Purple & Amber) */
#ag-telegram-self-destruct .ag-header {
    text-align: center !important;
    margin-bottom: 70px !important;
    padding: 100px 20px !important;
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%) !important;
    border-radius: 35px !important;
    color: #ffffff !important;
    position: relative !important;
    overflow: hidden !important;
}

#ag-telegram-self-destruct .ag-clock-unit {
    width: 180px !important;
    height: 180px !important;
    margin: 0 auto 40px !important;
    position: relative !important;
}

#ag-telegram-self-destruct .ag-clock-face {
    width: 100% !important;
    height: 100% !important;
    border: 4px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
}

#ag-telegram-self-destruct .ag-clock-hand {
    position: absolute !important;
    background: #fbbf24 !important;
    transform-origin: bottom center !important;
    border-radius: 4px !important;
    bottom: 50% !important;
    left: calc(50% - 2px) !important;
}

#ag-telegram-self-destruct .ag-hand-hour { width: 4px !important; height: 35px !important; animation: ag-rotate 12s linear infinite !important; }
#ag-telegram-self-destruct .ag-hand-min { width: 3px !important; height: 55px !important; opacity: 0.6 !important; animation: ag-rotate 2s linear infinite !important; }

#ag-telegram-self-destruct .ag-sand-icon {
    font-size: 3rem !important;
    color: #fbbf24 !important;
    animation: ag-shimmer 2s infinite ease-in-out !important;
    z-index: 5 !important;
}

@keyframes ag-rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes ag-shimmer { 0%, 100% { opacity: 0.5; transform: scale(0.9); } 50% { opacity: 1; transform: scale(1.1); } }

#ag-telegram-self-destruct .ag-header__title {
    font-size: 2.8rem !important;
    font-weight: 900 !important;
    color: #ffffff !important;
    margin-bottom: 25px !important;
}

#ag-telegram-self-destruct .ag-header__subtitle {
    font-size: 1.35rem !important;
    color: #94a3b8 !important;
    max-width: 800px !important;
    margin: 0 auto !important;
}

/* 1. 코어 그리드 */
#ag-telegram-self-destruct .ag-section {
    margin-bottom: 80px !important;
}

#ag-telegram-self-destruct .ag-section__title {
    font-size: 1.9rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin-bottom: 40px !important;
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
}

#ag-telegram-self-destruct .ag-section__title i { color: #4338ca !important; }

#ag-telegram-self-destruct .ag-core-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
}

#ag-telegram-self-destruct .ag-core-card {
    background: #f8fafc !important;
    padding: 35px !important;
    border-radius: 30px !important;
    text-align: center !important;
    border: 1px solid #e2e8f0 !important;
}

#ag-telegram-self-destruct .ag-card-icon {
    font-size: 2.5rem !important;
    color: #4338ca !important;
    margin-bottom: 25px !important;
}

#ag-telegram-self-destruct .ag-core-card h4 { font-size: 1.25rem !important; font-weight: 800 !important; color: #1e293b !important; margin-bottom: 15px !important; }
#ag-telegram-self-destruct .ag-core-card p { font-size: 1rem !important; color: #64748b !important; }

#ag-telegram-self-destruct .ag-core-card--danger { border-color: #fca5a5 !important; background: #fff1f2 !important; }
#ag-telegram-self-destruct .ag-core-card--danger .ag-card-icon { color: #ef4444 !important; }

/* 2. 세팅 모듈 */
#ag-telegram-self-destruct .ag-settings-box {
    background: #f1f5f9 !important;
    padding: 45px !important;
    border-radius: 35px !important;
}

#ag-telegram-self-destruct .ag-path-stepper {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 15px !important;
    margin-bottom: 50px !important;
    font-weight: 700 !important;
    color: #64748b !important;
}

#ag-telegram-self-destruct .ag-step--active { color: #4338ca !important; background: #ffffff !important; padding: 5px 15px !important; border-radius: 10px !important; box-shadow: 0 4px 10px rgba(0,0,0,0.05) !important; }

#ag-telegram-self-destruct .ag-time-options {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 15px !important;
}

#ag-telegram-self-destruct .ag-time-item {
    background: #ffffff !important;
    padding: 25px 15px !important;
    border-radius: 20px !important;
    text-align: center !important;
    border: 2px solid transparent !important;
    transition: all 0.3s ease !important;
}

#ag-telegram-self-destruct .ag-time-label { display: block !important; font-size: 0.8rem !important; color: #94a3b8 !important; margin-bottom: 10px !important; }
#ag-telegram-self-destruct .ag-time-value { font-size: 1.25rem !important; font-weight: 900 !important; color: #1e293b !important; }

#ag-telegram-self-destruct .ag-time-item--default { border-color: #4338ca !important; background: #eef2ff !important; }
#ag-telegram-self-destruct .ag-time-item--max { background: #1e293b !important; }
#ag-telegram-self-destruct .ag-time-item--max .ag-time-value { color: #ffffff !important; }

/* 3. 인포 리스트 */
#ag-telegram-self-destruct .ag-info-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
}

#ag-telegram-self-destruct .ag-info-item {
    display: flex !important;
    align-items: center !important;
    gap: 30px !important;
    background: #ffffff !important;
    padding: 25px 35px !important;
    border-radius: 25px !important;
    border: 1px solid #f1f5f9 !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02) !important;
}

#ag-telegram-self-destruct .ag-info-item__icon { width: 60px !important; height: 60px !important; background: #eef2ff !important; border-radius: 15px !important; display: flex !important; align-items: center !important; justify-content: center !important; font-size: 1.6rem !important; color: #4338ca !important; flex-shrink: 0 !important; }
#ag-telegram-self-destruct .ag-info-item__text strong { display: block !important; font-size: 1.2rem !important; color: #1e293b !important; margin-bottom: 5px !important; }
#ag-telegram-self-destruct .ag-info-item__text p { font-size: 1rem !important; color: #64748b !important; }

/* 팁 배너 */
#ag-telegram-self-destruct .ag-tip-section { margin-top: 40px !important; }
#ag-telegram-self-destruct .ag-tip-banner {
    background: #fffbeb !important;
    border-radius: 30px !important;
    padding: 40px !important;
    display: flex !important;
    align-items: center !important;
    gap: 35px !important;
    border: 1px solid #fef3c7 !important;
}

#ag-telegram-self-destruct .ag-tip-banner__visual { font-size: 3rem !important; color: #f59e0b !important; animation: ag-pulse 2s infinite !important; }
#ag-telegram-self-destruct .ag-tip-banner__content h4 { font-size: 1.4rem !important; font-weight: 800 !important; color: #92400e !important; margin-bottom: 10px !important; }
#ag-telegram-self-destruct .ag-tip-banner__content p { font-size: 1.1rem !important; color: #b45309 !important; }

@keyframes ag-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.15); } }

/* 푸터 */
#ag-telegram-self-destruct .ag-footer {
    text-align: center !important;
    padding: 60px 0 20px !important;
    border-top: 1px solid #f1f5f9 !important;
}

#ag-telegram-self-destruct .ag-footer__text a {
    color: #4338ca !important;
    text-decoration: none !important;
    font-weight: 700 !important;
}

/* 반응형 */
@media (max-width: 950px) {
    #ag-telegram-self-destruct .ag-core-grid { grid-template-columns: 1fr !important; }
    #ag-telegram-self-destruct .ag-time-options { grid-template-columns: 1fr 1fr !important; }
}

@media (max-width: 600px) {
    #ag-telegram-self-destruct .ag-header__title { font-size: 2.1rem !important; }
    #ag-telegram-self-destruct .ag-mobile-only { display: block !important; }
    #ag-telegram-self-destruct .ag-tip-banner { flex-direction: column !important; text-align: center !important; }
    #ag-telegram-self-destruct .ag-info-item { flex-direction: column !important; text-align: center !important; padding: 30px !important; }
}
@media (min-width: 601px) { #ag-telegram-self-destruct .ag-mobile-only { display: none !important; } }
