:root[data-theme="light"] {
    --bg-primary: #f5f7fa;
    --bg-card: #ffffff;
    --bg-navbar: #ffffff;
    --text-primary: #1a1a2e;
    --text-muted: #6b7280;
    --solid-divider: #6b728070;
    --border-color: #e5e7eb;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    --toggle-bg: #e0e7ff;
    --toggle-hover: #c7d2fe;
    --icon-color: #f59e0b;
    --accent: #6366f1;
    --text-shadow: rgba(46, 38, 68, 0.1);
}

:root[data-theme="dark"] {
    --bg-primary: #0f172a;
    --bg-card: #1e293b;
    --bg-navbar: #1e293b;
    --text-primary: #f1f5f9;
    --text-muted: #94a3b8;
    --solid-divider: #94a3b870;
    --border-color: #334155;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
    --toggle-bg: #1e3a5f;
    --toggle-hover: #1d4ed8;
    --icon-color: #818cf8;
    --accent: #818cf8;
    --text-shadow: rgb(255, 246, 182);
}








body {
    margin-top: 6rem;
    padding-right: 2rem;
    padding-left: 2rem;

}

.footer {
    margin-top: 3rem;
    padding-top: 1.5rem;
}











.card {
    width: 15rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: scale(1.07);

}


.card-content {
    padding-top: 0.8rem;
    padding-right: 0.5rem;
    padding-left: 0.5rem;
    padding-bottom: 0.8rem;
}

.card-image {
    width: 100%;
    height: 120px;

    border-radius: 10%;

    background-image: var(--background-img);
    object-fit: contain;
    background-size: 110%;
    background-position: center;


}

.title {
    font-size: 1.4rem;
}

.content {
    font-size: 1rem;
    justify-items: center;
    margin-top: 0.4rem;
    align-content: center;

}

.desc {
    margin-top: 0.4rem;
    margin-bottom: 1rem;
}

.races {
    margin-top: 0.4rem;
    justify-items: center;
}

.button {
    transform: scale(0.9);
    text-align: center;
    background-color: rgb(24, 26, 45);
    color: #fff;
    font-family: 'IsYun', 'IsYun', sans-serif !important;
    transition: transform 0.2s ease, text-shadow 0.25s ease;
}

.button:hover {
    text-align: center;
    text-shadow:
        0 0 5px #fff,
        0 0 10px #fff,
        0 0 20px #fff,
        0 0 40px #fff,
        0 0 80px #fff,
        0 0 90px #fff,
        0 0 100px #fff,
        0 0 150px #fff;
    background-color: rgb(24, 26, 45);
    color: #fff;
    transform: scale(1.0);
}









.card-reborn-universe {
    margin-top: -5rem;
}










.sitemap-wrap {
    position: relative;
    padding-left: 6rem;
    padding-right: 6rem;
}

/* SVG가 카드 위에 겹치지 않게 뒤에 배치 */
.sitemap-svg {
    justify-self: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.sitemap-grid {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5rem;
}

.sitemap-row {
    width: 100%;
    display: flex;
    justify-content: center;
}

.row-3,
.row-4 {
    justify-content: space-between;
    align-items: flex-start;
}

.sitemap-col {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.col-left {
    justify-content: flex-start;
}

.col-right {
    justify-content: flex-end;
}

.sitemap-card-wrap {
    width: 200px;
}













@media (max-width: 1023px) {

    body {
        padding-right: 0.8rem;
        padding-left: 0.8rem;
    }

    .card {
        width: 12rem;
    }

    .sitemap-wrap {
        padding-left: 1rem;
        padding-right: 1rem;
    }




}



@media (max-width: 768px) {

    .card-reborn-universe {
        margin-top: -10rem;
    }



}