:root {
    --primary-color: #f1c40f;
    --text-dark: #111;
    --text-light: #666;
    --border-color: #ddd;
}

body {
    margin: 0; padding: 0;
    font-family: 'Pretendard', -apple-system, sans-serif;
    color: var(--text-dark);
    background-color: #f5f6f7;
    line-height: 1.7;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}

.terms-body {
    background: #fff;
    padding: 50px 60px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.tit {
    font-size: 26px; font-weight: 800;
    text-align: center; margin-bottom: 40px;
    color: #000; display: block;
}

dt:not(.tit) {
    font-size: 20px; margin: 50px 0 20px;
    font-weight: 700; color: #000;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 10px;
    display: flex; align-items: center;
}

dt:not(.tit)::before {
    content: ''; display: inline-block;
    width: 4px; height: 18px;
    background: var(--primary-color);
    margin-right: 12px; flex-shrink: 0;
}

.idt10 {
    margin: 0 0 8px 0 !important;
    padding: 0 !important;
    text-indent: 0 !important;
    display: block;
}

.idt20 {
    margin: 0 0 4px 0 !important;
    padding-left: 20px !important;
    text-indent: 0 !important;
    font-size: 14px; color: var(--text-light);
}

.terms-body table {
    width: 100%; border-collapse: collapse;
    margin: 20px 0; border-top: 2px solid #555;
    table-layout: fixed;
}

.terms-body th, .terms-body td {
    border: 1px solid #eee; padding: 12px 15px;
    font-size: 13.5px; line-height: 1.6;
}

.terms-body th {
    background-color: #fcfcfc; text-align: center; font-weight: 600;
}

.terms-body td {
    text-align: left;
    word-break: keep-all;
}

.last-date-info {
    margin-top: 50px !important;
    padding-top: 20px;
    border-top: 1px dashed #eee;
    text-align: right !important;
    font-size: 14px; color: #888;
}

.version-nav {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.btn-nav {
    display: inline-flex;
    align-items: center;
    padding: 12px 25px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 30px;
    color: #444;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.btn-nav:hover {
    border-color: var(--primary-color);
    background: #fffef0;
    transform: translateY(-1px);
}

.btn-nav .arrow { margin-right: 8px; color: var(--primary-color); font-weight: bold; }


/* -------------------------------------------------- */
/* 모바일 최적화 (768px 이하) */
@media screen and (max-width: 768px) {
    .container {
        padding: 10px 10px;
    }

    .terms-body {
        padding: 30px 20px;
        border-radius: 0;
    }

    .tit {
        font-size: 20px;
        margin-bottom: 30px;
    }

    dt:not(.tit) {
        font-size: 17px;
        margin: 35px 0 15px;
    }

    .terms-body table {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
    }

    .terms-body th, .terms-body td {
        padding: 10px 8px;
        font-size: 12px;
    }

    .btn-nav {
        width: 100%;
        justify-content: center;
        padding: 15px 0;
        font-size: 13px;
    }
}
