:root {
    --bg-center: #15203d;
    --bg-edge: #03050c;
    --cyan: #00ffff;
    --blue: #0080ff;
    --text-main: #ffffff;
    --text-sub: #88aacc;
    --green: #00ff88;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    background: radial-gradient(circle at center, var(--bg-center) 0%, var(--bg-edge) 100%);
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, 'Helvetica Neue', 'Segoe UI', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    word-break: keep-all;
    overflow-x: hidden;
    overflow-y: auto;
}

/* 컨텐츠 수직/수평 중앙 정렬 */
.main-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    z-index: 1;
    padding: 20px 0;
}

.container {
    padding: 20px;
    max-width: 800px;
    width: 100%;
    text-align: center;
    animation: fadeIn 0.8s ease-out;
}

/* [핵심 1] 텔레그램 버튼 무조건 우측 하단 고정 - 모바일 퍼스트 기준 */
.tg-link {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: auto;
    z-index: 1000;
    transition: transform 0.3s ease;
    display: block;
}

.tg-img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.6));
}

.tg-link:hover {
    transform: scale(1.1);
}

/* 로고 및 서비스박스 */
.shield-img {
    width: 38vw;
    min-width: 110px;
    max-width: 160px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 20px rgba(0, 255, 255, 0.5));
    animation: float 4s ease-in-out infinite;
}

h1 {
    font-size: clamp(2rem, 9vw, 3.2rem);
    font-weight: 900;
    background: linear-gradient(to bottom, #fff, var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
}

.main-desc {
    font-size: clamp(0.95rem, 4vw, 1.35rem);
    color: var(--cyan);
    margin-bottom: 28px;
    font-weight: 700;
}

.service-list-box {
    text-align: left;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(0, 255, 255, 0.15);
    border-top: 3px solid var(--cyan);
    border-radius: 12px;
    padding: clamp(18px, 5vw, 45px);
}

ul {
    list-style: none;
    margin-top: 12px;
}

li {
    position: relative;
    padding: 9px 0 9px 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: clamp(0.9rem, 3.5vw, 1.1rem);
    color: var(--text-sub);
}

li::before {
    content: '✓';
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--green);
    font-weight: 900;
}

/* [핵심 2] 안내 문구 스타일 복구 */
.cta-text {
    margin-top: 22px;
    font-weight: 700;
    text-align: center;
    color: var(--cyan);
}

footer {
    padding: 24px 16px;
    font-size: 0.78rem;
    color: var(--text-sub);
    opacity: 0.4;
    text-align: center;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 태블릿 이상 (768px+) */
@media (min-width: 768px) {
    .tg-link {
        bottom: 32px;
        right: 32px;
        width: 80px;
    }

    .shield-img {
        width: 45vw;
        min-width: 140px;
        max-width: 180px;
        margin-bottom: 25px;
    }

    .container {
        padding: 20px;
    }

    .main-wrapper {
        padding: 20px 0;
    }
}

/* PC (1024px+) */
@media (min-width: 1024px) {
    .tg-link {
        bottom: 35px;
        right: 35px;
        width: 90px;
    }

    body {
        overflow: hidden;
        min-height: unset;
        height: 100vh;
    }

    .main-wrapper {
        padding: 0;
    }
}