@charset "utf-8";

/* 내용관리 - 기능 준비중 */
#ctt {
    margin: 0;
    padding: 0;
    background: transparent;
}

.ctt_admin {
    text-align: right;
    display: none;
}

#ctt header h1 {
    position: absolute;
    font-size: 0;
    line-height: 0;
    overflow: hidden;
}

#ctt_con {
    padding: 0;
}

/* 레이아웃 */
.coming-soon {
    position: relative;
    min-height: calc(100vh - var(--header-height, 100px));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(180deg, #f7fafd 0%, #eef4f9 100%);
    padding: 80px 24px;
    box-sizing: border-box;
}

/* 배경 */
.cs-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.cs-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 146, 229, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 146, 229, 0.05) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 45%, #000 30%, transparent 100%);
    mask-image: radial-gradient(ellipse 70% 70% at 50% 45%, #000 30%, transparent 100%);
}

.cs-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: cs-drift 14s ease-in-out infinite alternate;
}

.cs-orb-1 {
    width: 480px;
    height: 480px;
    top: -160px;
    left: -120px;
    background: radial-gradient(circle, rgba(0, 146, 229, 0.45), transparent 70%);
}

.cs-orb-2 {
    width: 400px;
    height: 400px;
    bottom: -140px;
    right: -100px;
    background: radial-gradient(circle, rgba(64, 199, 255, 0.4), transparent 70%);
    animation-delay: -5s;
}

.cs-orb-3 {
    width: 260px;
    height: 260px;
    top: 40%;
    right: 18%;
    background: radial-gradient(circle, rgba(0, 87, 168, 0.25), transparent 70%);
    animation-delay: -9s;
}

@keyframes cs-drift {
    from {
        transform: translate(0, 0) scale(1);
    }
    to {
        transform: translate(50px, 30px) scale(1.12);
    }
}

/* 콘텐츠 */
.cs-inner {
    position: relative;
    max-width: 640px;
    text-align: center;
}

.cs-inner > * {
    opacity: 0;
    transform: translateY(18px);
    animation: cs-rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.cs-badge          { animation-delay: 0.05s; }
.cs-title          { animation-delay: 0.15s; }
.cs-desc           { animation-delay: 0.25s; }
.cs-progress       { animation-delay: 0.35s; }
.cs-actions        { animation-delay: 0.45s; }

@keyframes cs-rise {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cs-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 100px;
    background: rgba(0, 146, 229, 0.08);
    border: 1px solid rgba(0, 146, 229, 0.22);
    color: var(--main-color, #0092e5);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.cs-badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--main-color, #0092e5);
    animation: cs-pulse 1.6s ease-in-out infinite;
}

@keyframes cs-pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(0, 146, 229, 0.45);
    }
    50% {
        box-shadow: 0 0 0 7px rgba(0, 146, 229, 0);
    }
}

.cs-title {
    margin: 28px 0 0;
    font-size: 52px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #17202a;
}

.cs-desc {
    margin: 20px 0 0;
    font-size: 17px;
    line-height: 1.75;
    color: #5c6b7a;
}

/* 진행 바 */
.cs-progress {
    margin: 44px auto 0;
    max-width: 340px;
}

.cs-progress-track {
    height: 6px;
    border-radius: 100px;
    background: rgba(0, 146, 229, 0.12);
    overflow: hidden;
}

.cs-progress-bar {
    height: 100%;
    width: 40%;
    border-radius: 100px;
    background: linear-gradient(90deg, #0092e5, #40c7ff);
    animation: cs-indeterminate 1.8s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

@keyframes cs-indeterminate {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(350%);
    }
}

.cs-progress-label {
    display: block;
    margin-top: 12px;
    font-size: 13px;
    letter-spacing: 0.06em;
    color: #8595a5;
}

/* 버튼 */
.cs-actions {
    margin-top: 44px;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.cs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 170px;
    padding: 15px 30px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.cs-btn-primary {
    background: linear-gradient(135deg, #0092e5, #0072c6);
    color: #fff;
    box-shadow: 0 10px 24px -8px rgba(0, 146, 229, 0.55);
}

.cs-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px -8px rgba(0, 146, 229, 0.6);
    color: #fff;
}

.cs-btn-ghost {
    background: #fff;
    color: #3a4855;
    border: 1px solid #d7e0e8;
}

.cs-btn-ghost:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 146, 229, 0.45);
    color: var(--main-color, #0092e5);
    box-shadow: 0 10px 22px -12px rgba(23, 32, 42, 0.25);
}

/* 반응형 */
@media (max-width: 768px) {
    .coming-soon {
        padding: 64px 20px;
    }

    .cs-title {
        font-size: 34px;
    }

    .cs-desc {
        font-size: 15px;
    }

    .cs-br {
        display: none;
    }

    .cs-btn {
        min-width: 0;
        flex: 1 1 100%;
    }

    .cs-orb {
        filter: blur(60px);
    }
}

/* 모션 최소화 환경 */
@media (prefers-reduced-motion: reduce) {
    .cs-inner > * {
        animation: none;
        opacity: 1;
        transform: none;
    }

    .cs-orb,
    .cs-badge-dot,
    .cs-progress-bar {
        animation: none;
    }

    .cs-progress-bar {
        transform: none;
        width: 70%;
    }
}
