#guideModal {
    height: 100vh;
    width: 100vw;
}

#guideModal .modal-dialog {
    min-height: calc(100vh - 50px);
    min-width: calc(100vw - 50px);
    position: fixed;
    left: 25px;
    padding: 0;
}

#guideModal .modal-content {
    height: 100%;
    min-height: calc(100vh - 50px);
    min-width: calc(100vw - 50px);
    border-radius: 0;
    margin: 0;
    padding: 0;
    border: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0px 0px;
    gap: 10px;
    background: var(--bg-white);
    box-shadow: var(--box-shadow-default);
    border-radius: 16px;
}

#guideModal .modal-header .nav {
    width: 100%;
    height: var(--layout-header-height);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    background-color: var(--bg-primary);   
    border-radius: 0;
    padding: 0 20px;
}

#guideModal .modal-header {
    width: 100%;
    height: 150px;
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 20px;
    left: 0;
    padding: 0;
    gap: 5px;
    border-bottom: none;
}

#guideModal .guide-menu {
    display: flex;
    flex-direction: row;
    gap: 24px;
    list-style: none;
    padding: 0;
    margin: 0;
}

#guideModal .guide-menu li {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: 'Public Sans';
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 32px;
    color: var(--text-inactive);
    cursor: pointer;
}

#guideModal .guide-menu li.active {
    color: var(--text-active);
}

#guideModal .modal-body {
    width: 100%;
    height: 100%;
    margin-top: 150px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 0;
    overflow-y: auto;
}

#guideModal .modal-title {
    font-family: 'Public Sans';
    font-style: normal;
    font-weight: 700;
    font-size: 14px;
    line-height: 22px;
    color: var(--text-white);
}

#guideModal .close {
    color: var(--text-white);
    font-size: 16px;
    opacity: 0.8;
}

#guideModal .modal-footer {
    width: 100%;
    height: 60px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

#guideModal .modal-footer button {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0px 12px;
    gap: 8px;
    width: 244px;
    min-width: 64px;
    height: 36px;
    background: var(--bg-black);
    border-radius: 8px;
    font-family: 'Public Sans';
    font-style: normal;
    font-weight: 700;
    font-size: 14px;
    line-height: 24px;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--text-white);
    margin: 0px;
}

#guideModal #guide-content-container {
    width: 100%;
    height: 100%;
    max-height: calc(100vh - 190px - 100px);
    overflow-y: auto;
}

#guide-content-default {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 60px;
    padding-top: 40px;
    padding-bottom: 40px;
}

#guide-content-default .guide-icon {
    width: 240px;
    height: 100px;
}

#guide-content-default .guide-title-bold {
    font-family: 'Pretendard';
    font-style: normal;
    font-size: 64px;
    line-height: 96px;
    font-weight: 700;
    color: var(--text-active);
}

#guide-content-default .guide-title-normal {
    font-family: 'Pretendard';
    font-style: normal;
    font-size: 64px;
    line-height: 96px;
    color: var(--text-active);
}

#guide-content-default .guide-description {
    font-family: 'Pretendard';
    font-style: normal;
    font-weight: 700;
    font-size: 24px;
    line-height: 32px;
    color: var(--text-secondary);
}

#guide-content-signup .guide-image {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    width: 100%;
}
#guide-content-signup .guide-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

#guide-content-signup,
#guide-content-explore-ads,
#guide-content-promotion-methods,
#guide-content-earnings {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 40px;
    padding-bottom: 40px;
}

#guide-content-signup .guide-content-container,
#guide-content-explore-ads .guide-content-container,
#guide-content-promotion-methods .guide-content-container,
#guide-content-earnings .guide-content-container {
    max-width: 900px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 60px;
}

#guide-content-signup .guide-title,
#guide-content-explore-ads .guide-title,
#guide-content-promotion-methods .guide-title,
#guide-content-earnings .guide-title {
    font-family: 'Pretendard';
    font-style: normal;
    font-weight: 800;
    font-size: 48px;
    line-height: 32px;
    text-align: center;
    color: var(--text-active);
}

#guide-content-signup .guide-content,
#guide-content-explore-ads .guide-content,
#guide-content-promotion-methods .guide-content,
#guide-content-earnings .guide-content {
    font-family: 'Pretendard';
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    line-height: 32px;
    text-align: center;
    color: var(--text-primary);
}

#guide-content-explore-ads .guide-description,
#guide-content-promotion-methods .guide-description,
#guide-content-earnings .guide-description {
    font-family: 'Pretendard';
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    color: var(--text-description);
    text-align: start;
}

#guideModal .modal-navigation {
    position: absolute;
    top: calc(50% - 80px);
    right: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

#guideModal .nav-icon {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    cursor: pointer;
    border: none;
    transition: background 0.2s, box-shadow 0.2s;
    background: var(--bg-white);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
#guideModal .nav-icon:hover {
    background: var(--bg-primary);
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
#guideModal .nav-icon:active {
    background: var(--bg-primary);
    box-shadow: 0 2px 4px rgba(0,0,0,0.12);
}

@media (max-width: 768px) {
    #guideModal {
        width: 100vw;
        height: 100vh;
    }

    #guideModal .modal-dialog,
    #guideModal .modal-content {
        width: 100vw;
        height: 100vh;
        min-height: 100vh;
        border-radius: 0;
        left: 0;
        margin: 0;
        padding: 0;
        border:none;
    }

    #guide-content-default .guide-title-bold {
        font-size: 36px;
        line-height: 43px;
    }

    #guide-content-default .guide-title-normal {
        font-size: 18px;
        line-height: 21px;
        font-weight: 600;
    }

    #guide-content-default .guide-description {
        font-weight: 700;
        font-size: 10px;
        line-height: 14px;
    }

    #guide-content-signup .guide-image {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        width: 100%;
    }
    #guide-content-signup .guide-image img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    #guideModal #guide-content-container {
        max-height: calc(100vh - 190px - 30px);
    }

    #guide-content-signup .guide-content-container,
    #guide-content-explore-ads .guide-content-container,
    #guide-content-promotion-methods .guide-content-container,
    #guide-content-earnings .guide-content-container {
        padding: 0 20px;
        gap: 20px;
    }

    #guide-content-signup .guide-title,
    #guide-content-explore-ads .guide-title,
    #guide-content-promotion-methods .guide-title,
    #guide-content-earnings .guide-title {
        font-size: 24px;
        line-height: 32px;
    }

    #guide-content-signup .guide-content,
    #guide-content-explore-ads .guide-content,
    #guide-content-promotion-methods .guide-content,
    #guide-content-earnings .guide-content {
        font-size: 10px;
        line-height: 18px;
        color: var(--text-description);
    }

    #guide-content-explore-ads .guide-description,
    #guide-content-promotion-methods .guide-description,
    #guide-content-earnings .guide-description {
        font-size: 10px;
        line-height: 18px;
        color: var(--text-description);
    }
}
