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

body {
    font-family: Arial, sans-serif;
    /*background-color: #2C1A40;*/
    color: white;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    background: linear-gradient(
            to bottom,
            #1a0554, #571c55, /* Ã¬Â²Â« Ã«Â²Ë†Ã¬Â§Â¸ ÃªÂ·Â¸Ã«ÂÂ¼Ã«ÂÂ°Ã¬ÂÂ´Ã¬â€¦Ëœ */ #571c55, #230449, /* Ã«â€˜Â Ã«Â²Ë†Ã¬Â§Â¸ ÃªÂ·Â¸Ã«ÂÂ¼Ã«ÂÂ°Ã¬ÂÂ´Ã¬â€¦Ëœ */ #230449, #2b0b32, /* Ã¬â€žÂ¸ Ã«Â²Ë†Ã¬Â§Â¸ ÃªÂ·Â¸Ã«ÂÂ¼Ã«ÂÂ°Ã¬ÂÂ´Ã¬â€¦Ëœ */ #2b0b32, #0f2b40, /* Ã«â€žÂ¤ Ã«Â²Ë†Ã¬Â§Â¸ ÃªÂ·Â¸Ã«ÂÂ¼Ã«ÂÂ°Ã¬ÂÂ´Ã¬â€¦Ëœ */ #0f2b40, #0c1d23 /* Ã«â€¹Â¤Ã¬â€žÂ¯ Ã«Â²Ë†Ã¬Â§Â¸ ÃªÂ·Â¸Ã«ÂÂ¼Ã«ÂÂ°Ã¬ÂÂ´Ã¬â€¦Ëœ */
    );
}

.pc-banner {
    background-color: rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 50%;
    transform: translate(0, -50%);
    border-radius: 20px;
    padding: 15px;
    text-align: center;
    display: grid;
    gap: 10px;
    margin-left: 20px;
    margin-right: 20px;
}

.pc-banner p img{
    width: 300px;
    cursor: pointer;
}

.pc-top-banner {
    max-width: 1024px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    margin-top: 90px;
}

.pc-top-banner img {
    width: 90%;
    margin-bottom: 30px;
}

.mobile-banner {
    display: none;
}


.wrap {
    max-width: 1024px;
    width: 100%;
}

.container {
    max-width: 1024px;
    padding: 20px;
    /* background-color: #2C1A40; */
    margin: 0 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.header {
    text-align: center;
    margin-bottom: 20px;
}

.header h1 {
    font-size: 18px;
    margin: 10px 0;
    text-align: left;
    font-weight: bold;
}

.header p {
    font-size: 11px;
    text-align: left;
    color: #9b8ba7
}

.ad-top {
    display: none;
}

.section {
    margin-top: 40px;
}

.site-title {
    position: relative;
    font-size: 26px;
    padding-bottom: 10px;
}

.site-title::before {
    content: '';
    position: absolute;
    bottom: -11px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent 0%, white 50%, transparent 100%);

}

.grid-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 27px;
}

.category {
    background-color: #3d274e;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid white;
    transition: transform 0.3s ease;
}

.category h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 1px; /* Ã¬Â¤â€˜Ã¬â€¢â„¢Ã¬â€”ÂÃ¬â€žÅ“Ã¬ÂËœ Ã¬â€žÂ  Ã«â€˜ÂÃªÂ»Ëœ */
    background: linear-gradient(to right, transparent 0%, white 50%, transparent 100%);
}

.category:hover {
    transform: scale(1.05);
}

.category h2 {
    margin-bottom: 10px;
    font-size: 18px;
    text-align: center;
    position: relative;
    padding-bottom: 11px;
}

.category ol {
    list-style-type: none;
}

.category ol li {
    margin-bottom: 5px;
    font-size: 12px;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #808080;
    padding: 5px 0;
    cursor: pointer;
    height: 40px;
    line-height: 40px;
    padding-bottom: 44px;
    text-align: left;
    position: relative;
}

.category ol li::before {
    content: "";
    position: absolute;
    right:0px;
    top: 50%;
    background-image: url("../images/화살표.png");
    width: 20px;
    height: 20px;
    background-size: 100%;
    transform: translate(0, -50%);
}

.category ol li:last-child {
    border: none;
}

.category .rank {
    font-weight: bold;
    position: relative;
    font-size: 14px;
    padding-left: 5px;
}

.category span {
    color:#E2E2E2;
}

.category .top {
    font-weight: bold;
}

.category .top.first .rank::before {
    content:"";
    position: absolute;
    left:0px;
    top:0px;
    width: 20px;
    height: 20px;
    background-image: url("../images/rank01.png");
    background-size: 100%;
    top: 10px;
}

.category .top.second .rank::before {
    content:"";
    position: absolute;
    left:0px;
    top:0px;
    width: 20px;
    height: 20px;
    background-image: url("../images/rank02.png");
    background-size: 100%;
    top: 10px;
}

.category .top.third .rank::before {
    content:"";
    position: absolute;
    left:0px;
    top:0px;
    width: 20px;
    height: 20px;
    background-image: url("../images/rank03.png");
    background-size: 100%;
    top: 10px;
}


.category .name {
    position: absolute;
    left: 40px;
    font-size: 14px;
}

.user-box {
    display: flex;
}

.user-box div {
    display: inline-block;
    width: 50%;
    text-align: center;
    border: 1px solid #fff;
    border-radius: 8px;
    padding-top: 10px;
    padding-bottom: 20px;
    background: #3d274e;
}

.user-box div:nth-child(1) {
    margin-right: 15px;
}

.user-box div:nth-child(2) {
    margin-left: 15px;
}

.user-box .user-tit {
    font-size: 12px;
    color: #d6c6e6;
    margin-top: 10px;
    position: relative;
}


.user-box .user-tit::after {
    content: '';
    position: absolute;
    bottom: -11px;
    left: 0;
    width: 100%;
    height: 1px; /* Ã¬Â¤â€˜Ã¬â€¢â„¢Ã¬â€”ÂÃ¬â€žÅ“Ã¬ÂËœ Ã¬â€žÂ  Ã«â€˜ÂÃªÂ»Ëœ */
    background: linear-gradient(to right, transparent 0%, white 50%, transparent 100%);
}

.user-box .user-caption {
    margin-top: 20px;
    font-size: 10px;
    color: #9378a8;
}

.user-box .user-count {
    margin-top: 5px;
    color: #f2c1f9
}

.item-link .content-box {
    text-align: center;
}

.item-link .content-box div {
    width: 24%;
    display: inline-block;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.item-link .content-box div:hover {
    transform: scale(1.05);
}

.item-link .content-box div img {
    width: 90%;
}

.item-banner {
    text-align: center;
}

.item-banner img {
    cursor: pointer;
    width: 100%;
}

.link-box {
    width: 100%;
    border: 1px solid #fff;
    border-radius: 8px;
    padding: 40px;
    background: linear-gradient(
            to right,
            #354851, #303b40);
    cursor: pointer;
    transition: transform 0.3s ease;
    height: 170px;
}

.link-box:hover {
    transform: scale(1.05);
}

.link-box img {
    width: 360px;
    height: 60px;
}

.link-box .sub-title {
    font-size: 8px;
    color: #9b8ba7;
    margin-top: 20px;
}

.content-box.sub-box {
    margin-top:20px
}

.link-box .main-title {
    font-size: 25px;
    margin-top: 20px;
}

.elfsight-app-470dd35b-63ca-4d0a-ab82-963f6f86d8d3 {
    display: inline-block;
}

.footer {
    font-size: 8px;
    color:#9b8ba7;
    text-align: center;
    margin-top: 10px;
    line-height: 11px;
    margin-bottom: 65px;
}

/* Mobile Styles */
/*@media (max-width: 768px) {*/
@media (max-width: 1023px) {
    body {
        flex-direction: column;
        align-items: center;
    }

    .container {
        margin: 30px 0;
    }

    .header {
        margin: 20px 0;
    }

    .ad-top {
        display: block;
        width: 100%;
        margin-bottom: 10px;
    }

    .grid-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .pc-banner {
        width: 100%;
        height: auto;
    }

    .pc-banner {
        display: none;
    }
    .banner-left,
    .banner-right {
        display: none;
    }

    .category {
        padding: 10px;
    }

    .category h2 {
        font-size: 16px;
    }

    .category ol li {
        font-size: 12px;
        line-height: 34px;
        padding-bottom: 42px;
    }

    .item-banner img {
        width: 100%;
    }

    .link-box img {
        /*width: 100%;*/
        max-width: 100%;
    }

    .link-box .main-title {
        margin-top:4px;
    }

    .user-box div:nth-child(1) {
        width: 100%;
    }

    .user-box div:nth-child(2) {
        display: none;
    }

    .mobile-banner {
        display: block;
        margin-top: 30px;
        margin-bottom: 20px;
    }
    .short-banner {
        display: flex;
        width: 90%;
        margin: 0 auto;
    }

    .short-banner img {
        width: 49%;
    }

    .mobile-banner .twin-banner {
        display: grid;
        gap: 10px
    }

    .mobile-banner .twin-banner img:nth-child(1){
        margin-right: 5px;
    }

    .mobile-banner .twin-banner img:nth-child(2){
        margin-left: 5px;
    }

    .mobile-banner .single-banner {
        display: grid;
        gap:10px;
        margin-top: 10px;
        width: 90%;
        margin: 10px auto 0;
    }

    .long-banner img {
        width: 100%;
    }

    .pc-top-banner {
        display: none;
    }

    /*.item-link .content-box {*/
    /*    display: flex;*/
    /*    overflow-x: auto; !* 가로 스크롤을 추가 *!*/
    /*    -webkit-overflow-scrolling: touch; !* iOS에서 부드러운 스크롤 *!*/
    /*    scroll-snap-type: x mandatory; !* 스크롤이 끝날 때 자동으로 요소가 맞춰지도록 설정 *!*/
    /*    gap: 10px; !* 요소 간의 간격 설정 *!*/
    /*    padding: 10px; !* 컨테이너 안쪽에 여백 추가 *!*/
    /*}*/
    /*.item-link .content-box div {*/
    /*    flex: 0 0 calc(33.33%); !* 요소 너비에서 간격을 뺀 크기 설정 *!*/
    /*    box-sizing: border-box;*/
    /*    scroll-snap-align: start; !* 스크롤이 끝날 때 이 요소가 보이도록 설정 *!*/
    /*    padding-bottom: 20px;*/
    /*}*/

    /*.item-link .content-box div img {*/
    /*    width: 100%;*/
    /*    height: auto;*/
    /*    display: block;*/
    /*}*/

    .item-link .content-box div:hover {
        transform: scale(1);
    }

    .category:hover {
        transform: scale(1);
    }

    .category ol li::before {
        display: none;
    }
}

