/* ========== Layout ========== */

.page-wrapper {
    width: 1280px;
    margin: 0 auto;
    position: relative;
}

.header-banner {
    width: 100%;
    height: 206px;
    overflow: hidden;
    position: relative;
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* ========== Community Cards ========== */

.community-cards {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    padding: 20px 100px 0 100px;
    position: relative;
    z-index: 10;
    margin-bottom: 20px;
}

.community-card {
    width: 100%;
    height: 260px;
    border-radius: 15px;
    background-size: 105%;
    background-position: center;
    position: relative;
    overflow: hidden;
    transition: background-size 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.community-card:hover {
    background-size: 125%;
}

.community-card:nth-child(1) {
    background-image: url(//img3.itemmania.com/new_images/game_community/346x260_sol.jpg);
}

.community-card:nth-child(2) {
    background-image: url(//img3.itemmania.com/new_images/game_community/346x260_lineageclassic.jpg);
}

.community-card:nth-child(3) {
    background-image: url(//img3.itemmania.com/new_images/game_community/346x260_aion2.jpg);
}

.card-overlay {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding-bottom: 30px;
    position: relative;
    transition: all 0.3s ease;
}

.community-card:first-child .card-overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.56) 100%);
}

.community-card:last-child .card-overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.62) 100%);
}

.card-title {
    color: white;
    font-size: 24px;
    font-weight: 600;
    line-height: 33.6px;
    margin-bottom: 20px;
    text-align: center;
}

.card-button {
    padding: 9px 27px;
    border-radius: 70px;
    border: 1px solid rgba(255, 255, 255, 0.20);
    background: rgba(0, 0, 0, 0.40);
    color: white;
    font-size: 16px;
    font-weight: 600;
    line-height: 22.4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.card-button:hover {
    background-color: rgba(78, 65, 219, 0.8);
    border-color: rgba(255, 255, 255, 0.6);
}

.new-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 54px;
    height: 24px;
    background-color: rgba(230, 43, 43, 0.8);
    border-radius: 15px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}


/* ========== Main Content ========== */

.main-content {
    display: flex;
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 0 100px 45px;
    flex-direction: column;
}

.column {
    display: flex;
    flex: 1;
    width: 100%;
    flex-direction: column;
}


/* ========== Column Header ========== */

.column-header {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 10px 5px;
}

.community-title {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    color: #000;
}

.community-title h2 {
    font-size: 22px;
    font-weight: 600;
    color: #000;
    line-height: 30.8px;
    margin: 0;
}

.community-title svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}


/* ========== Content List ========== */

.content-list {
    background-color: white;
    flex: 1;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);

}


/* ========== List Item ========== */

.content_center dl.community_list {
    width: 100%;
}

.content_center dl.community_list dt {
    display: flex;
    background-color: var(--color-bluegray1);
    border-radius: 8px;
}

.content_center dl.community_list dt span {
    font-size: 17px;
    font-weight: bold;
    text-align: center;
    line-height: 48px;
}

.content_center dl.community_list dd {
    cursor: pointer;
    display: flex;
    line-height: 80px;
    border-bottom: 1px solid var(--color-gray2);
}

.content_center dl.community_list dd:hover {
    background-color: #fafafa;
}

.content_center dl.community_list dd span {
    font-size: 15px;
    text-align: center;
    color: var(--color-gray8);
}

.content_center dl.community_list .list_category {
    width: 139px;
}

.content_center dl.community_list .list_subject {
    width: 507px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    color: var(--color-gray11);
}

.content_center dl.community_list dd .list_subject {
    text-align: left;
    font-size: 17px;
    font-weight: bold;
}

.content_center dl.community_list dd .list_subject.notice {
    color: #4e41db;
}

.content_center dl.community_list .list_reg_de {
    flex: 1;
}

.content_center dl.community_list .list_writer {
    flex: 1;
}

.content_center dl.community_list .list_count {
    flex: 1;
}

.content_center dl.community_list .list_recommend {
    flex: 1;
}

.content_center dl.community_list .list_subject span i {
    display: inline-block;
    vertical-align: text-top;
    margin: 0 7px 0 10px;
    width: 19px;
    height: 17px;
    background-image: url(//img3.itemmania.com/new_images/game_community/icon_list_comments.png)
}

/* ========== Responsive Design ========== */

@media (max-width: 1280px) {
    .page-wrapper {
        width: 100%;
    }

    .community-cards {
        padding: 0 50px;
        gap: 30px;
    }

    .main-content {
        padding: 0 50px;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .community-cards {
        grid-template-columns: 1fr;
        margin-bottom: 40px;
    }

    .main-content {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }

    .card-title {
        font-size: 20px;
    }

    .column-header h2 {
        font-size: 18px;
    }

    .list-item {
        padding: 16px 20px;
        min-height: 60px;
    }

    .item-row {
        gap: 12px;
    }

    .item-title {
        font-size: 14px;
    }

    .view-count,
    .date {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .community-cards {
        padding: 0 10px;
        margin-top: -80px;
        gap: 20px;
    }

    .main-content {
        padding: 0 10px;
    }

    .community-card {
        height: 200px;
    }

    .card-button {
        width: 90px;
        padding: 8px 20px;
        font-size: 14px;
    }

    .card-title {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .column-header h2 {
        font-size: 16px;
    }

    .list-item {
        padding: 12px 15px;
        min-height: 55px;
        flex-direction: column;
        align-items: flex-start;
    }

    .item-row {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 5px;
    }

    .item-title {
        font-size: 13px;
        line-height: 20px;
    }

    .view-count,
    .date {
        font-size: 12px;
    }
}


/* ========== Utility Classes ========== */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}